/* ============================================================
   易倍体育主站 · 共享样式 /assets/site.css
   夜场记分牌 + 技术蓝图网格
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 112px; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #05100D;
  --ink-deep: #0C1F1B;
  --graphite: #162824;
  --line: #33443F;
  --line-soft: rgba(51, 68, 63, 0.55);
  --muted: #8FA5A0;
  --paper: #EAF4F0;
  --cyan: #2BF0C8;
  --orange: #FF7A29;
  --cyan-soft: #0F3A32;
  --orange-soft: #3A2413;
  --crease: #C6D3CE;

  --font-display: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-body: var(--font-display);
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, "Noto Sans Mono CJK SC", monospace;

  --shell: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --header-offset: 98px;

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 8px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
}

/* ---------- 3. Base / 中文排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--paper);
  background:
    radial-gradient(1200px 620px at 84% -12%, rgba(43, 240, 200, 0.09), transparent 62%),
    radial-gradient(900px 520px at -5% 104%, rgba(255, 122, 41, 0.06), transparent 66%),
    var(--ink);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(51, 68, 63, 0.34) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(51, 68, 63, 0.34) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 78%);
  opacity: 0.7;
}

#main-content { position: relative; z-index: 1; padding-top: var(--header-offset); }
.site-header, .site-footer { position: relative; z-index: 2; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--paper);
}
h1 { font-size: clamp(40px, 7vw, 96px); }
h2 { font-size: clamp(24px, 3.4vw, 40px); }
h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
h4 { font-size: 17px; font-weight: 600; letter-spacing: 0; line-height: 1.4; }

p { max-width: 68ch; }
strong { font-weight: 600; color: var(--paper); }

a { transition: color 0.15s var(--ease), border-color 0.15s var(--ease), background 0.15s var(--ease); }
a:hover { color: var(--cyan); }

code, kbd, samp, .mono, time, .idx, .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: #042621;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}
.skip-link:focus, .skip-link:focus-visible { transform: none; color: #042621; }

/* ---------- 4. 布局：容器 / 12 栏网格 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.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-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

.split-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(18px, 2.4vw, 36px);
  align-items: start;
}
.split-hero__rail {
  border-left: 1px solid var(--line);
  padding-left: clamp(14px, 1.6vw, 22px);
}
.split-hero__main { min-width: 0; }

.cols { display: grid; gap: clamp(16px, 2vw, 28px); }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stack { display: grid; gap: 16px; }
.stack--lg { gap: clamp(22px, 3vw, 40px); }

.rule { height: 1px; border: 0; background: var(--line); }
.rule--soft { background: var(--line-soft); }

/* ---------- 5. 段落与索引 ---------- */
.section { padding-block: clamp(56px, 7vw, 110px); }
.section--tight { padding-block: clamp(34px, 4vw, 64px); }
.section--panel { background: linear-gradient(180deg, var(--ink-deep), rgba(12, 31, 27, 0.35)); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(24px, 3vw, 44px);
}
.section-head__title { margin: 0; }
.section-head__meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--cyan); }

.idx {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--paper); }
.note { font-size: 14px; line-height: 1.7; color: var(--muted); }

.text-cyan { color: var(--cyan); }
.text-orange { color: var(--orange); }
.text-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--graphite);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 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--primary { background: var(--cyan); color: #042621; border-color: var(--cyan); }
.btn--primary:hover { background: #5CF7D8; color: #042621; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--paper); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--line { background: transparent; border-color: rgba(43, 240, 200, 0.55); color: var(--cyan); }
.btn--line:hover { background: var(--cyan-soft); }
.btn--sm { padding: 10px 18px; font-size: 13px; }

/* ---------- 7. 筛选胶囊 / 标签 ---------- */
.chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(12, 31, 27, 0.68);
}
.chip {
  position: relative;
  padding: 9px 16px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.chip:hover { color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--cyan-soft); color: var(--cyan); }
.chip[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 1px;
  background: var(--cyan);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.4;
}
.tag--live { color: var(--cyan); border-color: rgba(43, 240, 200, 0.45); background: var(--cyan-soft); }
.tag--alert { color: var(--orange); border-color: rgba(255, 122, 41, 0.45); background: var(--orange-soft); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* ---------- 8. 面板 / 清单 / 表格 ---------- */
.panel {
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--graphite);
}
.panel--deep { background: var(--ink-deep); }
.panel--soft {
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, var(--ink-deep), rgba(22, 40, 36, 0.35));
}
.panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.panel__title { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: 0; }

.rows { list-style: none; border-top: 1px solid var(--line); }
.rows__item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 12px 14px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 0.12s linear;
}
.rows__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: transparent;
  transition: background 0.12s linear;
}
.rows__item:hover { background: var(--graphite); }
.rows__item:hover::before { background: var(--cyan); }
.rows__key { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.rows__val { font-family: var(--font-mono); font-size: 14px; font-variant-numeric: tabular-nums; color: var(--paper); }
.rows__val--alert { color: var(--orange); }

.data-table { width: 100%; font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.data-table caption {
  padding-bottom: 10px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
}
.data-table th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--graphite);
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: left;
  white-space: nowrap;
}
.data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper);
}
.data-table td:not(:first-child) { text-align: right; }
.data-table tbody tr:hover { background: var(--cyan-soft); }
.data-table tr[data-flag="diff"] { background: var(--orange-soft); }

/* ---------- 9. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--graphite);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.05) brightness(0.92);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 16, 13, 0) 42%, rgba(5, 16, 13, 0.74));
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.media__cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: var(--crease);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

/* ---------- 10. 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 40ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 11. 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px var(--gutter) 0;
  transition: padding 0.15s var(--ease);
}
.header-shell {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  max-width: var(--shell);
  margin-inline: auto;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(12, 31, 27, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.site-header.is-condensed { padding-top: 8px; }
.site-header.is-condensed .header-shell {
  background: rgba(5, 16, 13, 0.94);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.48);
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  background: rgba(51, 68, 63, 0.4);
}
.scroll-meter__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: width 0.1s linear;
}

.brand { flex: 0 0 auto; min-width: 0; }
.brand__link { display: flex; align-items: center; gap: 12px; color: var(--paper); }
.brand__mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 3px);
  align-items: end;
  gap: 3px;
  height: 20px;
  flex: 0 0 auto;
}
.brand__mark span { display: block; width: 3px; border-radius: 1px; background: var(--cyan); }
.brand__mark span:nth-child(1) { height: 8px; opacity: 0.5; }
.brand__mark span:nth-child(2) { height: 14px; opacity: 0.75; }
.brand__mark span:nth-child(3) { height: 20px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
}

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.site-nav__link {
  display: block;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  color: var(--crease);
  font-size: 13.5px;
  line-height: 1.4;
  white-space: nowrap;
}
.site-nav__link:hover { background: var(--graphite); color: var(--paper); }
.site-nav__link[aria-current="page"] {
  background: var(--cyan-soft);
  color: var(--cyan);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(43, 240, 200, 0.35);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--graphite);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle__bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { transform: translateY(-2.75px) rotate(-45deg); }
.nav-toggle__label { line-height: 1; }

/* ---------- 12. 页脚 ---------- */
.site-footer {
  margin-top: clamp(48px, 6vw, 96px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-deep), var(--ink));
}
.footer-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 72px) var(--gutter) 26px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: clamp(24px, 3vw, 44px);
  border-bottom: 1px solid var(--line);
}
.footer-brand__name {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.footer-brand__line {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}
.footer-note { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }

.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 36px); }
.footer-col__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.footer-col__list { display: grid; gap: 4px; list-style: none; }
.footer-col__link {
  display: inline-block;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  color: var(--crease);
  font-size: 14.5px;
}
.footer-col__link:hover { color: var(--cyan); border-color: var(--cyan); }

.footer-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 36px);
  padding: clamp(20px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--line);
}
.footer-meta__item { display: grid; gap: 6px; padding-left: 14px; border-left: 1px solid var(--line); }
.footer-meta__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); }
.footer-meta__value {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper);
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-top: 20px;
}
.footer-legal { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
  list-style: none;
  font-size: 13px;
}
.footer-legal__links a { color: var(--crease); border-bottom: 1px solid transparent; }
.footer-legal__links a:hover { color: var(--cyan); border-color: var(--cyan); }

.to-top {
  position: fixed;
  right: var(--gutter);
  bottom: 24px;
  z-index: 90;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(12, 31, 27, 0.9);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s linear;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- 13. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.crumbs__item::after { content: "/"; margin-left: 10px; color: var(--line); }
.crumbs__item:last-child::after { content: ""; margin: 0; }
.crumbs__link { color: var(--muted); }
.crumbs__link:hover { color: var(--cyan); }
.crumbs__current { color: var(--paper); }

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1100px) {
  .site-nav__link { padding: 9px 11px; font-size: 13px; }
  .brand__sub { display: none; }
}

@media (max-width: 960px) {
  :root { --header-offset: 92px; }
  .split-hero { grid-template-columns: minmax(0, 1fr); }
  .split-hero__rail { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 16px; }

  .col-3, .col-8, .col-9 { grid-column: span 12; }
  .cols--3, .cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .header-shell { border-radius: var(--r-lg); padding: 10px 10px 10px 14px; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: calc(var(--header-offset) - 6px);
    left: var(--gutter);
    right: var(--gutter);
    margin: 0;
    max-height: calc(100vh - var(--header-offset) - 40px);
    overflow: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: rgba(12, 31, 27, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s linear;
  }
  .site-nav[data-open] { opacity: 1; visibility: visible; transform: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav__link { padding: 13px 14px; border-radius: var(--r-md); font-size: 15px; }

  body.is-nav-open { overflow: hidden; }

  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-meta { grid-template-columns: minmax(0, 1fr); }
  .footer-legal__links { margin-left: 0; }
}

@media (min-width: 641px) and (max-width: 960px) {
  .col-4, .col-6 { grid-column: span 6; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  :root { --header-offset: 88px; --gutter: 16px; }
  .grid { gap: 18px; }
  .cols--2, .cols--3, .cols--4 { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .header-cta { padding: 9px 13px; font-size: 12px; }
  .nav-toggle { padding: 9px 11px; }
  .nav-toggle__label { display: none; }
  .data-table { font-size: 12px; }
  .data-table th, .data-table td { padding: 10px 10px; }
  .to-top { right: 16px; bottom: 16px; }
}

/* ---------- 15. 无障碍 / 动效降级 ---------- */
@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;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .scroll-meter__bar { transition: none; }
}
