/* ============================================================
   华体会看台 · 共享样式 /assets/site.css
   夜场墨绿 + 荧光青记分牌 · 粗野主义边框与硬投影
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, 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%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
table { border-collapse: collapse; }

:root {
  --ink: #0B2A22;
  --turf: #123A2E;
  --cyan: #2FF3C9;
  --orange: #FF7A2F;
  --cream: #F4EFE2;
  --coal: #1C1512;
  --panel: #8FA3B8;
  --slate: #5A6B78;
  --amber: #FFC24B;
  --mist: #C9F5EA;
  --text: #E4F1EB;
  --text-dim: #9CB4AB;
  --void: #04140E;
  --shadow: 8px 8px 0 rgba(4, 20, 14, 0.62);
  --rail-w: 272px;
  --scorebar-h: 62px;
  --font-display: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --font-head: "PingFang SC", "Source Han Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "Roboto Mono", "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;
}

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

body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 560px at 82% -12%, rgba(47, 243, 201, 0.11), transparent 62%),
    radial-gradient(900px 520px at 4% 108%, rgba(255, 122, 47, 0.10), transparent 66%),
    var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.22; letter-spacing: 0.01em; }
h1 { font-family: var(--font-display); font-size: clamp(30px, 5vw, 52px); letter-spacing: -0.01em; }
h2 { font-size: clamp(23px, 3vw, 34px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
p { text-wrap: pretty; }

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

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

/* ---------- 布局工具 ---------- */
.wrap { width: min(100% - 32px, 1180px); margin-inline: auto; }
.wrap--narrow { max-width: 880px; }
.section { padding: 44px 0; }
.section--turf { background: linear-gradient(180deg, rgba(18, 58, 46, 0.92), rgba(11, 42, 34, 0.6)); border-block: 2px solid var(--coal); }
.section--paper { background: var(--cream); color: var(--coal); }
.section--paper h1, .section--paper h2, .section--paper h3 { color: var(--coal); }
.section--paper a { color: #8A3A12; }
.section--paper a:hover { color: var(--orange); }

.stack { display: flex; flex-direction: column; gap: 16px; }
.cluster { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.prose { max-width: 34em; font-size: 16px; line-height: 1.8; }
.prose p + p { margin-top: 1em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-top: 0.8em; }
.prose li + li { margin-top: 0.4em; }

.text-dim { color: var(--text-dim); }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
.label { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.num { font-family: var(--font-mono); font-weight: 700; letter-spacing: -0.02em; color: var(--cyan); text-shadow: 0 0 12px rgba(47, 243, 201, 0.42); }
.num--outline { color: transparent; -webkit-text-stroke: 1.5px var(--cyan); text-shadow: none; }
.hr-dash { height: 0; border: 0; border-top: 2px dashed rgba(201, 245, 234, 0.22); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  text-decoration: none; text-align: center;
  border: 2px solid var(--coal); border-radius: 2px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--primary { background: var(--orange); color: var(--coal); box-shadow: 4px 4px 0 rgba(4, 20, 14, 0.75); }
.btn--primary:hover { background: #FF9251; color: var(--coal); transform: translate(-1px, -1px); box-shadow: 6px 6px 0 rgba(4, 20, 14, 0.75); }
.btn--cyan { background: var(--cyan); color: var(--coal); box-shadow: 4px 4px 0 rgba(4, 20, 14, 0.75); }
.btn--cyan:hover { background: var(--mist); color: var(--coal); transform: translate(-1px, -1px); }
.btn--paper { background: var(--cream); color: var(--coal); box-shadow: 4px 4px 0 var(--coal); }
.btn--paper:hover { background: #fff; color: var(--coal); transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--coal); }
.btn--ghost { background: transparent; color: var(--mist); border-color: rgba(201, 245, 234, 0.45); box-shadow: none; }
.btn--ghost:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: 4px 4px 0 rgba(47, 243, 201, 0.22); }

/* ---------- 标签与筛选 ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 999px;
  color: var(--mist); background: rgba(201, 245, 234, 0.07);
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.tag--cyan { color: var(--cyan); }
.tag--orange { color: var(--orange); }
.tag--amber { color: var(--amber); }
.tag--slate { color: var(--panel); }
.tag:hover { background: rgba(47, 243, 201, 0.16); }
.tag.is-active, .tag[aria-pressed="true"] { background: var(--mist); border-color: var(--mist); color: var(--coal); }

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  background: var(--turf);
  border: 2px solid var(--coal);
  border-radius: 2px;
  box-shadow: var(--shadow);
  padding: 20px;
}
.card--panel { background: #0F3028; }
.card--paper { background: var(--cream); color: var(--coal); box-shadow: 8px 8px 0 var(--coal); }
.card--paper a { color: #8A3A12; }
.card--cut::after {
  content: ""; position: absolute; top: 0; right: 0; width: 26px; height: 26px;
  background: var(--ink);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
}
.card__label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.card__title { font-family: var(--font-head); font-weight: 800; font-size: 19px; line-height: 1.3; }
.card__text { font-size: 14.5px; line-height: 1.75; color: var(--text-dim); margin-top: 8px; }
.card--paper .card__text { color: #4A4038; }

/* ---------- 媒体容器 ---------- */
.media {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--coal);
  background: #0A241D;
  box-shadow: var(--shadow);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media__tag {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px 8px; background: rgba(4, 20, 14, 0.82); color: var(--cyan); border: 1px solid var(--cyan);
}
.media__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(4, 20, 14, 0.88));
  font-size: 12px; color: var(--mist);
}

/* ---------- 数据表 ---------- */
.data-table { width: 100%; font-size: 14px; }
.data-table th {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: left; color: var(--coal); background: var(--panel);
  padding: 10px 12px; border-bottom: 2px solid var(--coal);
}
.data-table td { padding: 10px 12px; border-bottom: 1px solid rgba(201, 245, 234, 0.14); }
.data-table tbody tr:hover { background: rgba(47, 243, 201, 0.07); }

/* ---------- 热区条 ---------- */
.heat-bar {
  position: relative; height: 10px;
  background: rgba(201, 245, 234, 0.12);
  border: 1px solid rgba(201, 245, 234, 0.22);
  overflow: hidden;
}
.heat-bar--lg { height: 16px; }
.heat-bar__fill {
  display: block; height: 100%; width: var(--v, 0%);
  background: linear-gradient(90deg, var(--cyan), var(--amber) 62%, var(--orange));
  transition: width 0.9s cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* ---------- 可展开内容组 ---------- */
.expand { background: var(--turf); border: 2px solid var(--coal); box-shadow: 6px 6px 0 rgba(4, 20, 14, 0.5); }
.expand + .expand { margin-top: 12px; }
.expand > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text);
}
.expand > summary::-webkit-details-marker { display: none; }
.expand > summary::after { content: "+"; font-family: var(--font-mono); font-size: 18px; line-height: 1; color: var(--cyan); }
.expand[open] > summary { border-bottom: 2px solid var(--coal); color: var(--cyan); }
.expand[open] > summary::after { content: "–"; }
.expand__body { padding: 16px; font-size: 15px; line-height: 1.8; color: var(--text-dim); }

/* ---------- 面包屑 ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.breadcrumbs a { color: var(--mist); text-decoration: none; border-bottom: 1px solid rgba(47, 243, 201, 0.4); }
.breadcrumbs a:hover { color: var(--cyan); border-color: var(--cyan); }
.breadcrumbs > span[aria-hidden="true"] { color: var(--slate); }

/* ---------- 显现与滚动进度 ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.7, 0.2, 1); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 120;
  height: 3px; width: var(--p, 0%);
  background: linear-gradient(90deg, var(--cyan), var(--amber) 60%, var(--orange));
  pointer-events: none;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: absolute; top: -80px; left: 12px; z-index: 200;
  padding: 10px 16px;
  background: var(--cyan); color: var(--coal);
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  text-decoration: none; border: 2px solid var(--coal); border-radius: 2px;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 12px; color: var(--coal); }

/* ============================================================
   页头：移动端吸顶条 + 左侧抽屉，桌面端固定侧边轨道
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #0C2E25, #08201A);
  border-bottom: 3px solid var(--coal);
  box-shadow: 0 6px 0 rgba(4, 20, 14, 0.35);
}
.site-header[data-open] { background: linear-gradient(180deg, #0E3529, #071C16); }

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: var(--text); }
.brand__mark {
  flex: none; display: grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--cyan); color: var(--coal);
  font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.02em;
  border: 2px solid var(--coal); box-shadow: 3px 3px 0 rgba(4, 20, 14, 0.72);
}
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 17px; letter-spacing: 0.04em; line-height: 1.25; }
.brand__tagline { font-size: 11px; letter-spacing: 0.1em; line-height: 1.5; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 9px 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 0.16em;
  color: var(--mist); border: 2px solid rgba(201, 245, 234, 0.5); border-radius: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.site-header[data-open] .nav-toggle { color: var(--cyan); border-color: var(--cyan); }
.nav-toggle__bars { position: relative; display: block; width: 18px; height: 2px; background: currentColor; transition: background-color 0.2s ease; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.site-header[data-open] .nav-toggle__bars { background: transparent; }
.site-header[data-open] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 90;
  width: min(86vw, 340px);
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px 18px calc(var(--scorebar-h) + 24px);
  background: linear-gradient(180deg, #0C2E25, #081E18);
  border-right: 3px solid var(--coal);
  box-shadow: 14px 0 0 rgba(4, 20, 14, 0.5);
  overflow-y: auto;
  transform: translateX(-104%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 0.7, 0.2, 1), visibility 0.3s ease;
}
.site-nav[data-open] { transform: translateX(0); visibility: visible; }
.site-nav__title {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--amber); padding-bottom: 8px; border-bottom: 1px dashed rgba(255, 194, 75, 0.4);
}
.site-nav__list { display: flex; flex-direction: column; gap: 6px; }
.site-nav__link {
  display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 10px;
  padding: 11px 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  color: var(--text); text-decoration: none;
  border: 2px solid transparent; border-radius: 2px;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.site-nav__link:hover { background: rgba(47, 243, 201, 0.09); border-color: rgba(47, 243, 201, 0.4); color: var(--mist); transform: translateX(2px); }
.site-nav__dot { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--slate); background: transparent; transition: background-color 0.18s ease, border-color 0.18s ease; }
.site-nav__link:hover .site-nav__dot { border-color: var(--cyan); background: var(--cyan); }
.site-nav__link[aria-current="page"] {
  background: var(--coal); color: var(--cyan); border-color: var(--cyan);
  box-shadow: 4px 4px 0 rgba(47, 243, 201, 0.22);
}
.site-nav__link[aria-current="page"] .site-nav__dot { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.site-nav__index { font-family: var(--font-mono); font-size: 11px; color: var(--slate); letter-spacing: 0.08em; }
.site-nav__link[aria-current="page"] .site-nav__index { color: var(--amber); }

.rail-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.rail-meta {
  font-size: 12px; line-height: 1.7; color: var(--text-dim);
  padding-left: 10px; border-left: 3px solid var(--orange);
}
.rail-meta__value { font-family: var(--font-mono); color: var(--amber); word-break: break-all; }

.nav-scrim {
  position: fixed; inset: 0; z-index: 85;
  background: rgba(4, 20, 14, 0.66);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.site-header[data-open] .nav-scrim { opacity: 1; visibility: visible; }

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: 56px;
  background: linear-gradient(180deg, #0A2620, #071A15);
  border-top: 3px solid var(--coal);
  color: var(--text);
  padding-bottom: calc(var(--scorebar-h) + 28px);
}
.footer-inner { width: min(100% - 32px, 1180px); margin-inline: auto; padding: 40px 0 26px; }
.footer-top { display: grid; gap: 28px; padding-bottom: 26px; border-bottom: 2px dashed rgba(201, 245, 234, 0.18); }
.footer-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-summary { max-width: 34em; font-size: 14px; line-height: 1.8; color: var(--text-dim); }
.footer-grid { display: grid; gap: 22px; }
.footer-col__title {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 10px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 14px; color: var(--text); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.footer-links a:hover { color: var(--amber); border-color: var(--amber); }

.footer-contact {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  padding: 22px 0;
  border-bottom: 2px dashed rgba(201, 245, 234, 0.18);
  font-size: 13px;
}
.footer-contact__item { display: inline-flex; align-items: baseline; gap: 8px; }
.footer-contact__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); }
.footer-contact__value { color: var(--mist); word-break: break-all; }
.footer-note { margin-top: 14px; font-size: 12px; line-height: 1.7; color: var(--slate); max-width: 46em; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between;
  padding-top: 18px;
  font-size: 12px; color: var(--slate);
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.footer-legal a { color: var(--text-dim); text-decoration: none; border-bottom: 1px solid transparent; }
.footer-legal a:hover { color: var(--cyan); border-color: var(--cyan); }
.footer-icp { font-family: var(--font-mono); letter-spacing: 0.04em; }
.footer-copy { font-family: var(--font-mono); letter-spacing: 0.04em; color: var(--slate); }

/* 底部常驻数据条 */
.score-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  min-height: var(--scorebar-h);
  display: flex; align-items: center; gap: 14px;
  padding: 8px 14px;
  background: linear-gradient(90deg, #0A2620, #123A2E 56%, #0B2A22);
  border-top: 3px solid var(--coal);
  box-shadow: 0 -6px 0 rgba(4, 20, 14, 0.35);
  overflow-x: auto;
}
.score-bar__team {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; color: var(--mist);
}
.score-bar__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
  animation: md-pulse 2.4s ease-in-out infinite;
}
@keyframes md-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.42; transform: scale(0.78); }
}
.score-bar__label {
  flex: none;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber);
}
.score-bar__series { display: flex; align-items: center; gap: 0; flex: none; }
.score-bar__item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 2px 10px; border-left: 1px solid rgba(201, 245, 234, 0.16);
}
.score-bar__item:first-child { border-left: 0; }
.score-bar__value {
  font-family: var(--font-mono); font-weight: 700; font-size: 17px; line-height: 1.1;
  color: var(--cyan); text-shadow: 0 0 10px rgba(47, 243, 201, 0.4);
}
.score-bar__meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--slate); }
.score-bar__link {
  margin-left: auto; flex: none;
  padding: 7px 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 0.06em;
  color: var(--coal); background: var(--orange); text-decoration: none;
  border: 2px solid var(--coal); box-shadow: 3px 3px 0 rgba(4, 20, 14, 0.6);
  transition: transform 0.16s ease, background-color 0.16s ease;
}
.score-bar__link:hover { background: #FF9251; color: var(--coal); transform: translate(-1px, -1px); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1023.98px) {
  body.nav-open { overflow: hidden; }
}

@media (min-width: 560px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  body { font-size: 17px; }
  .wrap { width: min(100% - 48px, 1180px); }
  .section { padding: 60px 0; }
  .site-nav { width: min(62vw, 380px); }
  .footer-top { grid-template-columns: minmax(240px, 1fr) minmax(0, 1.45fr); gap: 36px; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  :root { --scorebar-h: 66px; }

  .site-header {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: var(--rail-w);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 26px 20px calc(var(--scorebar-h) + 26px);
    border-bottom: 0; border-right: 3px solid var(--coal);
    box-shadow: 10px 0 0 rgba(4, 20, 14, 0.35);
    overflow: hidden;
  }
  .site-header::after {
    content: ""; position: absolute; top: 0; right: 0; width: 4px; height: 100%;
    background: linear-gradient(180deg, transparent, var(--cyan) 34%, var(--orange) 66%, transparent);
    opacity: 0.5; pointer-events: none;
  }
  .brand__mark { width: 44px; height: 44px; font-size: 14px; }
  .brand__name { font-size: 19px; }
  .nav-toggle { display: none; }
  .nav-scrim { display: none; }

  .site-nav {
    position: static; transform: none; visibility: visible;
    width: auto; height: auto; max-height: none;
    margin-top: 22px; padding: 0;
    background: transparent; border-right: 0; box-shadow: none;
    overflow: visible;
    flex: 1 1 auto;
  }
  .site-nav__list { gap: 4px; }
  .site-nav__link { font-size: 15px; }

  main, #main-content, .site-footer { margin-left: var(--rail-w); }
  .score-bar { left: var(--rail-w); }
  .scroll-progress { left: var(--rail-w); }
  .footer-inner { padding-top: 52px; }
}

@media (min-width: 1280px) {
  :root { --rail-w: 296px; }
}

/* ---------- 动效与可访问性 ---------- */
@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;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
