/* =========================================================
   爱体育官方版 — 共享样式 /assets/site.css
   深空黑基底 · 荧光绿数据强调 · 侧边轨道 · 非对称编辑部版式
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B0F0E;
  --panel: #1C2321;
  --lime: #C6FF3D;
  --blue: #3DDCFF;
  --orange: #FF7A2F;
  --moss: #6F8F6A;
  --clay: #B5704F;
  --cream: #F2F0E6;
  --mist: #9AA5A0;

  --line: rgba(242, 240, 230, 0.12);
  --line-soft: rgba(242, 240, 230, 0.06);
  --line-strong: rgba(198, 255, 61, 0.42);

  --rail-w: 88px;
  --topbar-h: 60px;
  --strip-h: 48px;
  --maxw: 1400px;

  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(0.22, 0.75, 0.28, 1);
  --shear: -6deg;
}

/* ---------- 3. 文档与中文排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 14% -12%, rgba(198, 255, 61, 0.09), transparent 44%),
    radial-gradient(circle at 92% 6%, rgba(61, 220, 255, 0.07), transparent 40%);
  background-repeat: no-repeat;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  padding-top: var(--strip-h);
  padding-bottom: 104px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(242, 240, 230, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 240, 230, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
}

p { max-width: 38em; }
strong { font-weight: 700; color: var(--cream); }

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

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 8px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 8px; }

/* ---------- 5. 头部外壳 ---------- */
.site-header { position: relative; z-index: 60; }

/* 阅读进度 */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 90;
  pointer-events: none;
  background: transparent;
}
.progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lime) 0%, var(--blue) 100%);
  transition: width 0.12s linear;
}

/* 移动遮罩 */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(5, 8, 7, 0.74);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s var(--ease), visibility 0.24s var(--ease);
}

/* ---------- 6. 侧边轨道 ---------- */
.rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 70;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 24px 0 22px;
  background: linear-gradient(180deg, #111715 0%, #0B0F0E 62%);
  border-right: 1px solid var(--line);
  overflow-y: auto;
}
.rail::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 34%;
  background: linear-gradient(180deg, var(--lime), transparent);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand__glyph {
  width: 10px; height: 10px;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(198, 255, 61, 0.14);
}
.brand__name {
  writing-mode: vertical-rl;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--cream);
  line-height: 1;
}

.nav {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 100%;
}
.nav__item { display: flex; }
.nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  padding: 9px 6px;
  color: var(--mist);
  border-left: 2px solid transparent;
  transition: color 0.22s var(--ease), background-color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.nav__link:hover { color: var(--cream); background: rgba(242, 240, 230, 0.04); }
.nav__link[aria-current="page"] {
  color: var(--lime);
  background: rgba(198, 255, 61, 0.08);
  border-left-color: var(--lime);
}
.nav__idx {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--moss);
}
.nav__link[aria-current="page"] .nav__idx { color: var(--lime); }
.nav__text {
  max-width: 74px;
  font-size: 12px;
  line-height: 1.32;
  letter-spacing: 0.02em;
  text-align: center;
}

.rail__meta {
  margin-top: auto;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--moss);
  opacity: 0.85;
}

/* ---------- 7. 移动顶栏 ---------- */
.topbar { display: none; }
.topbar__brand {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cream);
  white-space: nowrap;
}
.topbar__domain {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--moss);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 8px 13px;
  border: 1px solid var(--line);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.nav-toggle:hover { border-color: var(--lime); color: var(--lime); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--lime);
  transition: transform 0.24s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }
.site-header[data-nav-open="true"] .nav-toggle__bars::before { transform: translateY(4px) rotate(45deg); }
.site-header[data-nav-open="true"] .nav-toggle__bars::after { transform: translateY(-4px) rotate(-45deg); }

/* ---------- 8. 赛区标签带 ---------- */
.region-strip {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  z-index: 55;
  height: var(--strip-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  background: rgba(28, 35, 33, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.region-strip__label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--lime);
}
.region-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.region-tabs::-webkit-scrollbar { display: none; }
.region-tab {
  flex: 0 0 auto;
  padding: 5px 13px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.region-tab:hover { color: var(--blue); border-color: var(--blue); }
.region-tab[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  font-weight: 700;
}

/* 赛区筛选协议：页面为卡片加 data-region-item="east|south|west|north|central|coastal" */
html[data-active-region] [data-region-item] { display: none; }
html[data-active-region="east"] [data-region-item="east"],
html[data-active-region="south"] [data-region-item="south"],
html[data-active-region="west"] [data-region-item="west"],
html[data-active-region="north"] [data-region-item="north"],
html[data-active-region="central"] [data-region-item="central"],
html[data-active-region="coastal"] [data-region-item="coastal"] { display: block; }

/* ---------- 9. 悬浮比分条 ---------- */
.scorebar {
  position: fixed;
  z-index: 68;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(28, 35, 33, 0.95);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}
.scorebar::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--line-strong);
}
.scorebar__body {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.scorebar__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange);
  white-space: nowrap;
}
.scorebar__dot {
  width: 6px; height: 6px;
  background: var(--orange);
  animation: pulse 1.6s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}
.scorebar__score {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.scorebar__team { font-size: 12px; color: var(--mist); letter-spacing: 0.04em; }
.scorebar__num {
  font-size: 22px;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  text-shadow: 0 0 18px rgba(198, 255, 61, 0.35);
}
.scorebar__sep { color: var(--moss); font-size: 16px; }
.scorebar__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--moss);
  white-space: nowrap;
}
.scorebar__toggle {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.scorebar__toggle:hover { color: var(--lime); border-color: var(--lime); }
.scorebar__toggle-closed { display: none; }
.scorebar[data-collapsed="true"] .scorebar__body { display: none; }
.scorebar[data-collapsed="true"] .scorebar__toggle-open { display: none; }
.scorebar[data-collapsed="true"] .scorebar__toggle-closed { display: inline; }
.scorebar[data-collapsed="true"] .scorebar__toggle { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 700; }

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28, 35, 33, 0.65) 0%, rgba(11, 15, 14, 1) 78%);
}
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: grid;
  gap: 40px;
}
.footer-brand__logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cream);
}
.footer-brand__domain {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--moss);
}
.footer-brand__lede {
  margin-top: 16px;
  max-width: 22em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--lime);
}
.footer-col__list { display: grid; gap: 9px; }
.footer-col__link {
  font-size: 14px;
  color: var(--mist);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.footer-col__link:hover { color: var(--cream); padding-left: 4px; }
.footer-col__list--meta { gap: 8px; }
.footer-col__meta {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
  word-break: break-word;
}
.footer-col__meta strong {
  display: inline-block;
  min-width: 4.4em;
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--moss);
  font-weight: 400;
}
.site-footer__bottom { border-top: 1px solid var(--line); }
.site-footer__bottom-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.footer-legal {
  max-width: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--moss);
}
.footer-legal-list { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal__link {
  font-size: 12px;
  color: var(--mist);
  transition: color 0.2s var(--ease);
}
.footer-legal__link:hover { color: var(--blue); }

/* ---------- 11. 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 860px; }

.grid { display: grid; gap: 28px; }

.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.section:first-of-type { border-top: 0; }
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  margin-bottom: 28px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}

/* ---------- 12. 标题与数字 ---------- */
.display {
  display: inline-block;
  font-weight: 900;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  transform: skewX(var(--shear)) scaleX(1.04);
  transform-origin: 0 60%;
}
.h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.32;
}
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- 13. 面板 / 分节标记 ---------- */
.panel {
  position: relative;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.panel--shear {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 0 100%);
}
.panel--quiet {
  background: rgba(28, 35, 33, 0.45);
  border-color: var(--line-soft);
}
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}
.tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--lime);
}
.anchor-list { display: grid; gap: 10px; }
.anchor-list__link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--mist);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.anchor-list__link:hover { color: var(--blue); border-color: var(--blue); }

/* 数据指标 */
.stat { display: grid; gap: 6px; }
.stat__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}
.stat__label {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* ---------- 14. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn--primary { background: var(--lime); color: var(--ink); }
.btn--primary:hover { background: #d8ff74; transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--cream); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--quiet {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--lime);
  font-size: 14px;
}
.btn--quiet:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- 15. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb__item::after { content: "/"; color: var(--moss); }
.breadcrumb__item:last-child::after { display: none; }
.breadcrumb__item a { color: var(--mist); }
.breadcrumb__item a:hover { color: var(--blue); }

/* ---------- 16. 长文 ---------- */
.prose {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.8;
  color: #E6E4DA;
}
.prose p + p { margin-top: 1.1em; }
.prose h2 { margin: 2em 0 0.7em; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.3; color: var(--cream); }
.prose h3 { margin: 1.6em 0 0.5em; font-size: 19px; font-weight: 700; color: var(--cream); }
.prose ul, .prose ol { margin: 1em 0; padding-left: 1.2em; }
.prose li { list-style: none; position: relative; padding-left: 1em; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 8px; height: 1px; background: var(--moss); }
.prose a { color: var(--blue); border-bottom: 1px solid rgba(61, 220, 255, 0.35); }
.prose a:hover { color: var(--lime); border-color: var(--lime); }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 2px 6px;
  background: rgba(28, 35, 33, 0.9);
  border: 1px solid var(--line-soft);
  color: var(--lime);
}

/* ---------- 17. 图片容器基础（供页面阶段放图） ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #171E1C 0%, #0B0F0E 100%);
  border: 1px solid var(--line);
}
.media img,
.media picture,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.92);
}
.media--21x9 { aspect-ratio: 21 / 9; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media__cap {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* ---------- 18. 显现动效协议 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 19. 响应式 ---------- */
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .grid { gap: 32px; }
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
  .grid--12 { grid-template-columns: repeat(12, 1fr); }
  .col-2 { grid-column: span 2; }
  .col-3 { grid-column: span 3; }
  .col-4 { grid-column: span 4; }
  .col-5 { grid-column: span 5; }
  .col-7 { grid-column: span 7; }
  .col-8 { grid-column: span 8; }
  .col-12 { grid-column: span 12; }
  .site-footer__inner { grid-template-columns: minmax(220px, 1fr) 3fr; gap: 56px; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .scorebar { left: calc(var(--rail-w) + 18px); bottom: 18px; }
  .nav-scrim { display: none; }
}

@media (max-width: 1023px) {
  body { padding-top: calc(var(--topbar-h) + var(--strip-h)); }

  .topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 10px;
    height: var(--topbar-h);
    padding: 0 14px;
    background: rgba(11, 15, 14, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }

  .rail {
    width: min(320px, 84vw);
    align-items: stretch;
    padding: 22px 16px 26px;
    transform: translateX(-100%);
    visibility: hidden;
    border-right: 1px solid var(--line);
    transition: transform 0.28s var(--ease), visibility 0.28s var(--ease);
  }
  .site-header[data-nav-open="true"] .rail { transform: translateX(0); visibility: visible; }
  .brand { flex-direction: row; align-items: center; gap: 10px; }
  .brand__name { writing-mode: horizontal-tb; letter-spacing: 0.14em; }
  .nav { justify-content: flex-start; }
  .nav__list { gap: 2px; }
  .nav__link {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 10px;
  }
  .nav__text { max-width: none; font-size: 15px; text-align: left; }
  .nav__idx { font-size: 11px; }
  .rail__meta { writing-mode: horizontal-tb; margin-top: 24px; letter-spacing: 0.12em; }

  .region-strip { left: 0; top: var(--topbar-h); padding: 0 12px; gap: 10px; }
  .scorebar { left: 12px; right: 12px; bottom: 12px; }
  .scorebar::before { display: none; }
  .scorebar__body { flex-direction: column; align-items: flex-start; gap: 6px; }
  .scorebar__meta { display: none; }
}

@media (max-width: 640px) {
  .scorebar__team { font-size: 11px; }
  .scorebar__num { font-size: 18px; }
  .footer-col__meta strong { min-width: 4em; }
}

@media (max-width: 420px) {
  .topbar__domain { display: none; }
  .region-strip__label { display: none; }
}

/* ---------- 20. 无障碍与动效偏好 ---------- */
@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; }
  .scorebar__dot { animation: none; }
  .btn--primary:hover { transform: none; }
  .footer-col__link:hover { padding-left: 0; }
}
