/* ============================================================
   NG体育官网 · 共享样式 /assets/site.css
   夜间赛事数据面板体系
   ============================================================ */

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, p,
ul, ol, dl, dd, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a { color: inherit; }

[hidden] { display: none !important; }

/* ---------- 变量 ---------- */
:root {
  /* 色彩 */
  --ink: #081826;
  --ink-2: #102B40;
  --ink-3: #173C46;
  --cyan: #31F2D2;
  --orange: #FF6B3D;
  --paper: #F4EFE4;
  --ice: #DCEFF2;
  --steel: #6F8494;
  --mist: #A9C2D0;
  --yellow: #F7C948;

  --line: rgba(169, 194, 208, 0.2);
  --line-soft: rgba(169, 194, 208, 0.1);
  --line-cyan: rgba(49, 242, 210, 0.34);

  /* 字体 */
  --font-display: "Barlow Condensed", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* 结构 */
  --rail-w: 112px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
  --shadow: 0 22px 48px -30px rgba(0, 0, 0, 0.9);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 细网格底纹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(169, 194, 208, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(169, 194, 208, 0.055) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.12));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.12));
}

#main-content {
  position: relative;
  z-index: 1;
}

::selection {
  background: var(--cyan);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

/* ============================================================
   头部
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  background: var(--ink);
  border-bottom: 1px solid var(--line-cyan);
  box-shadow: 0 1px 0 rgba(49, 242, 210, 0.1), 0 26px 44px -38px #000;
}

.site-header__rail {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 12px;
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  border-right: 1px solid var(--line);
}

.site-header__rail::after {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(49, 242, 210, 0) 100%);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--paper);
  min-width: 0;
}

.brand__mark {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.1em;
  color: var(--paper);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.brand:hover .brand__mark { color: var(--orange); }

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
  min-height: 72px;
  padding: 12px clamp(14px, 2.4vw, 32px);
}

.site-header__meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--steel);
  white-space: nowrap;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(49, 242, 210, 0.6);
  animation: pulse-ring 2.6s var(--ease) infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(49, 242, 210, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(49, 242, 210, 0); }
  100% { box-shadow: 0 0 0 0 rgba(49, 242, 210, 0); }
}

/* ---------- 主导航 ---------- */
.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.site-nav__item { display: flex; }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 11px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: var(--mist);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}

.site-nav__link:hover {
  color: var(--paper);
  background: rgba(49, 242, 210, 0.07);
}

.site-nav__link:hover::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] {
  color: var(--ink);
  background: var(--cyan);
  font-weight: 700;
}

.site-nav__link[aria-current="page"]::after { display: none; }

/* ---------- 工具区 ---------- */
.site-header__tools {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.18s var(--ease),
              color 0.18s var(--ease),
              border-color 0.18s var(--ease),
              transform 0.18s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--solid {
  background: var(--orange);
  color: #08121b;
  border-color: var(--orange);
}

.btn--solid:hover {
  background: #ff8259;
  border-color: #ff8259;
}

.btn--search {
  color: var(--cyan);
  border-color: var(--line-cyan);
  background: rgba(49, 242, 210, 0.06);
}

.btn--search::before {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
  transform: rotate(45deg);
}

.btn--search:hover {
  background: rgba(49, 242, 210, 0.14);
  border-color: var(--cyan);
}

.btn--ghost {
  color: var(--ice);
  border-color: rgba(169, 194, 208, 0.38);
}

.btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* ---------- 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.18s var(--ease);
}

.nav-toggle:hover { background: rgba(49, 242, 210, 0.1); }

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.site-header[data-open="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle__bar:nth-child(2) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 滚动进度 ---------- */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
  background: rgba(49, 242, 210, 0.08);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  transform: scaleX(0);
  transform-origin: left center;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 8vw, 96px);
  padding-top: clamp(36px, 6vw, 72px);
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 62%);
  border-top: 1px solid var(--line-cyan);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(280px, 46%);
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.site-footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.5fr) minmax(0, 1.05fr);
  gap: clamp(24px, 3.4vw, 56px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.site-footer__brand .brand__mark { font-size: 32px; }

.site-footer__summary {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.site-footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--yellow);
  border: 1px solid rgba(247, 201, 72, 0.32);
  background: rgba(247, 201, 72, 0.08);
  border-radius: var(--radius);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px clamp(12px, 2vw, 28px);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--steel);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ice);
  text-decoration: none;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.contact-row__key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--steel);
  padding-top: 3px;
}

.contact-row__val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ice);
  word-break: break-word;
}

.site-footer__note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--steel);
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line-soft);
}

.site-footer__copy {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.site-footer__icp { color: var(--mist); }

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.legal-links .footer-link {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.legal-links .footer-link:hover { color: var(--cyan); }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 70;
  padding: 11px 15px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--cyan);
  border: 0;
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.9);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.to-top:hover {
  transform: translateY(-2px);
  background: #6ff8e2;
}

/* ============================================================
   通用组件
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.shell {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--orange);
}

.display {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.h-lg {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.h-md {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.lead {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
  color: var(--mist);
  max-width: 62ch;
}

.muted { color: var(--steel); }

.divider {
  height: 1px;
  border: 0;
  margin: clamp(28px, 5vw, 56px) 0;
  background: linear-gradient(90deg, var(--cyan), rgba(169, 194, 208, 0.16) 42%, transparent);
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}

.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.panel {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.6vw, 32px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(49, 242, 210, 0.1);
  border: 1px solid rgba(49, 242, 210, 0.28);
  border-radius: var(--radius);
}

.tag--warm {
  color: var(--yellow);
  background: rgba(247, 201, 72, 0.1);
  border-color: rgba(247, 201, 72, 0.3);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--mist);
  opacity: 0.45;
}

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.breadcrumb a:hover { color: var(--cyan); }

.breadcrumb [aria-current="page"] { color: var(--paper); }

/* ---------- 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  background:
    linear-gradient(135deg, rgba(23, 60, 70, 0.9), rgba(16, 43, 64, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(49, 242, 210, 0.12), transparent 46%, rgba(8, 24, 38, 0.55));
  opacity: 0.55;
}

.media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--1x1  { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }

.media__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: var(--cyan);
  border-radius: var(--radius);
}

/* ---------- 长文 ---------- */
.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.78;
  color: var(--ice);
}

.prose > * + * { margin-top: 1em; }

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-top: 1.9em;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--paper);
  margin-top: 1.6em;
}

.prose p { max-width: 68ch; }

.prose ul,
.prose ol {
  padding-left: 1.3em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li + li { margin-top: 0.42em; }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover { color: var(--paper); }

.prose strong {
  color: var(--paper);
  font-weight: 700;
}

.prose blockquote {
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--orange);
  color: var(--mist);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  background: rgba(49, 242, 210, 0.1);
  color: var(--cyan);
  border-radius: var(--radius);
}

/* ---------- 显现协议 ---------- */
[data-reveal] {
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

.reveal-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1320px) {
  .site-header__meta { display: none; }
}

@media (max-width: 1119px) {
  .nav-toggle { display: inline-flex; }

  .site-header__bar { min-height: 68px; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 12px clamp(14px, 3vw, 24px) 20px;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line-cyan);
    box-shadow: var(--shadow);
  }

  .site-header[data-open="true"] .site-nav { display: block; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
  }

  .site-nav__link {
    width: 100%;
    padding: 13px 14px;
    font-size: 16px;
    border-left: 2px solid transparent;
  }

  .site-nav__link::after { display: none; }

  .site-nav__link[aria-current="page"] {
    color: var(--cyan);
    background: rgba(49, 242, 210, 0.1);
    border-left-color: var(--cyan);
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .site-footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }

  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .col-3,
  .col-4 { grid-column: span 3; }

  .col-6,
  .col-8 { grid-column: span 6; }

  .site-footer__nav { gap: 20px 16px; }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: minmax(0, 1fr); }

  .site-header__rail {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-header__rail::after {
    left: 14px;
    right: auto;
    top: auto;
    bottom: 0;
    width: min(140px, 42%);
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), rgba(49, 242, 210, 0));
  }

  .brand {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .brand__mark { font-size: 22px; }

  .brand__name { font-size: 12px; letter-spacing: 0.12em; }

  .brand__sub { font-size: 9px; }

  .site-header__bar {
    padding: 10px 14px;
    min-height: 60px;
  }

  .btn--search { display: none; }

  .btn { padding: 9px 13px; font-size: 13px; }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__base {
    flex-direction: column;
    align-items: flex-start;
  }

  .to-top {
    right: 12px;
    bottom: 12px;
    padding: 10px 13px;
    font-size: 10px;
  }
}

@media (max-width: 600px) {
  .grid--12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .col-3,
  .col-4,
  .col-6,
  .col-8,
  .col-12 { grid-column: span 2; }

  .breadcrumb { font-size: 11px; }

  .legal-links { gap: 6px 14px; }
}

@media (max-width: 420px) {
  .brand__sub { display: none; }
  .site-footer__nav { grid-template-columns: minmax(0, 1fr); }
  .contact-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---------- 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .pulse {
    animation: none;
    box-shadow: 0 0 0 2px rgba(49, 242, 210, 0.28);
  }

  .reveal-ready [data-reveal],
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .btn:hover,
  .footer-link:hover,
  .to-top:hover {
    transform: none;
  }
}
