/* ============================================================
   极速电竞站 — /assets/site.css
   共享外壳：reset / tokens / 排版 / 头部 / 页脚 / 通用组件
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

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

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.22;
}

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

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; width: 100%; }

::selection {
  background: #3AF2D2;
  color: #0B1F1A;
}

/* ---------- 2. design tokens ---------- */
:root {
  /* 夜看台色板 */
  --ink: #0B1F1A;
  --ink-deep: #081713;
  --grid: #123128;
  --cyan: #3AF2D2;
  --cyan-dim: #1E9C88;
  --amber: #FFA23A;
  --amber-dim: #B96A12;
  --paper: #F1F6F3;
  --muted: #93B0A6;
  --red: #FF5F55;
  --plate: #E9F0EB;

  /* 线 */
  --line: rgba(58, 242, 210, 0.16);
  --line-2: rgba(58, 242, 210, 0.42);
  --grid-line: rgba(30, 156, 136, 0.22);
  --line-amber: rgba(255, 162, 58, 0.38);

  /* 尺寸 */
  --pill: 999px;
  --shell: 1280px;
  --pad-x: clamp(16px, 4vw, 40px);
  --gap: clamp(12px, 2vw, 24px);
  --step: 8px;
  --header-h: 76px;

  /* 字体 */
  --font-display: "Oswald", "Barlow Condensed", "Arial Narrow", Impact, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --font-body: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.8, 0.3, 1);
}

/* ---------- 3. base ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image: repeating-linear-gradient(
    90deg,
    var(--grid-line) 0 1px,
    transparent 1px 64px
  );
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- 4. 无障碍 ---------- */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 200;
  padding: 12px 22px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* ---------- 5. 布局容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

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

.col-rail { grid-column: 1 / span 2; }
.col-main { grid-column: 3 / span 8; }
.col-side { grid-column: 11 / span 2; }

.section {
  padding-block: clamp(40px, 7vw, 96px);
  border-top: 1px solid var(--line);
}

.section--flush { border-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: clamp(12px, 2vw, 28px);
  margin-bottom: clamp(20px, 3vw, 40px);
}

.section-head__index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--cyan);
  white-space: nowrap;
}

.section-head__text { max-width: 62ch; }

.section-rule {
  height: 2px;
  border: 0;
  background: var(--cyan);
}

/* ---------- 6. 排版 ---------- */
.display-num {
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 132px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 54px);
  font-weight: 600;
  line-height: 1.22;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--paper);
}

.text-muted { color: var(--muted); }
.num-cyan { color: var(--cyan); }
.num-amber { color: var(--amber); }
.num-red { color: var(--red); }

.prose {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.62;
}

.prose > p + p { margin-top: 16px; }

.prose h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 32px);
  margin-top: 40px;
  margin-bottom: 12px;
}

.prose h3 {
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 8px;
}

.prose ul, .prose ol { margin-top: 12px; }

.prose li {
  position: relative;
  padding-left: 20px;
  margin-top: 8px;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

.prose a {
  border-bottom: 1px solid var(--line-2);
}

.prose a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ---------- 7. 按钮 / 标签 / 面包屑 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 120ms linear, color 120ms linear, background-color 120ms linear;
}

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

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

.btn--primary:hover {
  background: var(--cyan);
  color: var(--ink);
}

.btn--amber {
  border-color: var(--line-amber);
  color: var(--amber);
}

.btn--amber:hover {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--cyan { color: var(--cyan); border-color: var(--cyan); }
.tag--amber { color: var(--amber); border-color: var(--line-amber); }
.tag--red { color: var(--red); border-color: rgba(255, 95, 85, 0.5); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--cyan-dim); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--paper); }

/* ---------- 8. 头部：悬浮胶囊浮岛 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 10px clamp(10px, 3vw, 24px) 0;
}

.header-shell {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  padding: 9px 12px 9px 18px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  transition: padding 180ms linear, border-color 180ms linear, background-color 180ms linear;
}

.site-header[data-scrolled] .header-shell {
  padding-block: 5px;
  border-color: var(--line-2);
  background: var(--ink-deep);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand__mark {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 1px solid var(--cyan);
}

.brand__mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--cyan);
}

.brand__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  bottom: -5px;
  width: 1px;
  background: var(--amber);
  transform: translateX(-50%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.brand__line {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: opacity 180ms linear;
}

.site-header[data-scrolled] .brand__line { opacity: 0; }

/* 导航 */
.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav-list a {
  display: block;
  padding: 8px 11px;
  border-radius: var(--pill);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 120ms linear, background-color 120ms linear, box-shadow 120ms linear;
}

.nav-list a:hover {
  color: var(--paper);
  background: var(--grid);
}

.nav-list a[aria-current="page"] {
  color: var(--cyan);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-2);
}

/* 头部动作 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid var(--cyan);
  border-radius: var(--pill);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  white-space: nowrap;
  transition: background-color 120ms linear, color 120ms linear;
}

.header-cta:hover {
  background: var(--cyan);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars i {
  display: block;
  height: 1px;
  background: var(--cyan);
  transition: transform 140ms linear, opacity 140ms linear;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* 滚动进度 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  background: transparent;
  pointer-events: none;
}

.scroll-progress__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--cyan);
  transition: width 100ms linear;
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 120px);
  background: var(--ink-deep);
  border-top: 2px solid var(--cyan);
  color: var(--muted);
  font-size: 15px;
}

.footer-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 72px) var(--pad-x) clamp(28px, 3vw, 44px);
  display: grid;
  gap: clamp(28px, 4vw, 52px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.footer-brand { display: grid; gap: 12px; }

.brand--footer .brand__name { font-size: 17px; }

.footer-brand__note {
  color: var(--cyan-dim);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.footer-brand__text {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.6;
  border-left: 1px solid var(--line-amber);
  padding-left: 12px;
}

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

.footer-col {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-col__text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact {
  border-top: 1px solid var(--line);
  padding-top: clamp(18px, 2.4vw, 28px);
  display: grid;
  gap: 8px;
}

.footer-contact__label {
  color: var(--cyan-dim);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.footer-contact__item {
  font-size: 14px;
  color: var(--paper);
  word-break: break-word;
}

.footer-contact__item .mono {
  display: inline-block;
  min-width: 56px;
  margin-right: 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.footer-contact__note {
  max-width: 78ch;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: clamp(18px, 2.4vw, 28px);
  display: grid;
  gap: 12px;
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-legal__links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: color 120ms linear, border-color 120ms linear;
}

.footer-legal__links a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer-disclaimer {
  max-width: 82ch;
  font-size: 13px;
  line-height: 1.6;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 12px;
  color: var(--cyan-dim);
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--ink);
  border: 1px solid var(--cyan);
  border-radius: var(--pill);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms linear, visibility 180ms linear, background-color 120ms linear;
}

.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  background: var(--cyan);
  color: var(--ink);
}

.to-top__arrow { font-size: 13px; line-height: 1; }

/* ---------- 10. 通用内容组件 ---------- */
/* 比分牌数字带 */
.scoreboard {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: clamp(8px, 1.5vw, 22px);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.02em;
}

.scoreboard__num {
  font-size: clamp(44px, 9vw, 132px);
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.scoreboard__num--amber { color: var(--amber); }
.scoreboard__num--red { color: var(--red); }

.scoreboard__sep {
  font-size: clamp(24px, 4vw, 48px);
  color: var(--cyan-dim);
}

.scoreboard__unit {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 呼吸带 */
.breath {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(20px, 5vw, 64px);
  padding-block: clamp(20px, 3vw, 36px);
  border-top: 2px solid var(--cyan);
  border-bottom: 1px solid var(--line);
}

.breath__item { display: grid; gap: 6px; }

.breath__value {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.breath__value--amber { color: var(--amber); }

.breath__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 数据表 */
.data-table {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.data-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
}

.data-table th {
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}

.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--grid-line);
  color: var(--paper);
}

.data-table tbody tr { transition: background-color 100ms linear; }
.data-table tbody tr:hover { background: var(--grid); }
.data-table .is-num { text-align: right; }
.data-table .is-down { color: var(--red); }
.data-table .is-up { color: var(--cyan); }

/* 条形 */
.bar {
  display: block;
  position: relative;
  width: 100%;
  height: 6px;
  background: var(--grid);
  overflow: hidden;
}

.bar__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--cyan);
  transition: width 400ms var(--ease);
}

.bar--amber .bar__fill { background: var(--amber); }
.bar--dim .bar__fill { background: var(--cyan-dim); }

/* 赛季时间轴 */
.timeline {
  position: relative;
  padding-left: 18px;
  border-left: 1px solid var(--grid-line);
}

.timeline li {
  position: relative;
  padding: 6px 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 14px;
  width: 9px;
  height: 1px;
  background: var(--cyan);
}

.timeline__season {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.timeline a { display: block; }
.timeline a:hover .timeline__season { color: var(--cyan); }

/* 章节目录 */
.section-nav {
  position: sticky;
  top: 104px;
  align-self: start;
}

.section-nav__title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-nav a {
  display: block;
  padding: 7px 10px;
  border-left: 2px solid var(--grid-line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: color 120ms linear, border-color 120ms linear;
}

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

.section-nav a[data-active] {
  color: var(--cyan);
  border-left-color: var(--cyan);
}

/* 筛选 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-chip {
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 120ms linear, border-color 120ms linear;
}

.filter-chip:hover { color: var(--paper); border-color: var(--cyan-dim); }

.filter-chip[aria-pressed="true"] {
  color: var(--cyan);
  border-color: var(--cyan);
}

.filter-empty {
  padding: 28px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.filter-empty[hidden] { display: none; }

/* 图片容器 */
.media-figure { margin: 0; }

.media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--grid);
  border: 1px solid var(--grid-line);
  aspect-ratio: 4 / 3;
}

.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media-figure figcaption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* 反白数据分区 */
.plate {
  background: var(--plate);
  color: var(--ink);
  padding: clamp(20px, 3vw, 36px);
  border-radius: 2px;
}

.plate .eyebrow,
.plate .text-muted { color: #4A6459; }

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1000px) {
  :root { --header-h: 68px; }

  .header-shell { padding: 8px 10px 8px 14px; }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    background: var(--grid);
    border: 1px solid var(--line-2);
    border-radius: 6px;
  }

  .site-nav[data-open] { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    padding: 12px 14px;
    border-radius: 0;
    border-left: 2px solid transparent;
    font-size: 14px;
  }

  .nav-list a:hover { background: rgba(58, 242, 210, 0.06); }

  .nav-list a[aria-current="page"] {
    box-shadow: none;
    border-left-color: var(--cyan);
    background: rgba(58, 242, 210, 0.06);
  }

  .nav-toggle { display: inline-flex; }

  .grid-12 { display: block; }

  .col-rail, .col-main, .col-side {
    grid-column: auto;
    width: 100%;
  }

  .col-rail, .col-main { margin-bottom: var(--gap); }

  .section-nav {
    position: static;
    margin-bottom: 20px;
  }

  .section-nav a { display: inline-block; border-left: 0; border-bottom: 2px solid var(--grid-line); }

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

@media (max-width: 720px) {
  .site-header[data-scrolled] .brand__line { opacity: 1; }

  .brand__name { font-size: 14px; }

  .header-cta {
    padding: 8px 12px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .header-actions { gap: 6px; }

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

  .breath { gap: 20px; }

  .data-table { font-size: 12px; }

  .data-table th,
  .data-table td { padding: 9px 8px; }

  .to-top__label { display: none; }

  .to-top { padding: 12px 14px; }
}

@media (max-width: 420px) {
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 8px 10px; }
}

/* ---------- 12. 降低动效 ---------- */
@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;
  }

  .bar__fill,
  .scroll-progress__fill { transition: none; }
}
