/* ============================================================
   /assets/site.css — 完美体育赛场 共享外壳
   夜战墨绿底 + 青柠强调 + 1px 精密栅格 / 比分牌信息条母题
   ============================================================ */

:root {
  --ink: #0A1310;
  --ink-2: #111C18;
  --line: #1E2E28;
  --lime: #C8FF3D;
  --lime-soft: #E9FFA8;
  --orange: #FF6A1F;
  --amber: #FFC24B;
  --red: #F2453D;
  --mint: #7FE7C4;
  --text: #F3F6F2;
  --muted: #9BAFA4;

  --rail: 88px;
  --header-h: 56px;
  --pad: clamp(16px, 4vw, 40px);
  --maxw: 1320px;
  --dur: 240ms;

  --font-display: "HarmonyOS Sans SC", "Noto Sans SC", "Source Han Sans SC",
    "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: var(--header-h);
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(to right, rgba(200, 255, 61, 0.035) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(to bottom, rgba(200, 255, 61, 0.035) 0 1px, transparent 1px 8px);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* ---------- 中文排版基线 ---------- */
p, li, dd, dt, td, th { word-break: break-word; }
.lede { max-width: 62ch; }

/* ============================================================
   1. 头部：手机顶部横条 / 桌面左侧 88px 框架柱
   ============================================================ */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  transform: translateY(-180%);
  background: var(--lime);
  color: #0A1310;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border-radius: 2px;
  transition: transform var(--dur) ease;
}
.skip-link:focus { transform: none; }

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
  background: rgba(30, 46, 40, 0.7);
}
.read-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--lime), var(--mint));
  box-shadow: 0 0 8px rgba(200, 255, 61, 0.55);
  transition: width 120ms linear;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
  padding: 0 16px;
}
.frame__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  min-width: 0;
}
.brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  background: var(--lime);
  color: #0A1310;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  border-radius: 2px;
}
.brand__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.2; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.brand__line {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: border-color var(--dur) ease, color var(--dur) ease;
}
.nav-toggle:hover { border-color: var(--lime); color: var(--lime); }
.nav-toggle__bars { display: flex; flex-direction: column; justify-content: center; gap: 3px; width: 16px; }
.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform var(--dur) ease, opacity var(--dur) ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
.nav-toggle__label { font-family: var(--font-mono); }

/* 导航（手机：下拉面板） */
.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 79;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 8px 0 18px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--dur) ease, transform var(--dur) ease, visibility var(--dur) ease;
}
.site-nav[data-open] { opacity: 1; visibility: visible; transform: none; }

.site-nav__list { display: flex; flex-direction: column; }
.site-nav__item { border-bottom: 1px solid var(--line); }
.site-nav__item:last-child { border-bottom: 0; }
.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: color var(--dur) ease, background var(--dur) ease;
}
.site-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background var(--dur) ease;
}
.site-nav__link:hover { color: var(--lime-soft); background: rgba(200, 255, 61, 0.05); }
.site-nav__link:focus-visible { outline-offset: -3px; }
.site-nav__link[aria-current="page"] { color: var(--lime); background: rgba(200, 255, 61, 0.07); }
.site-nav__link[aria-current="page"]::before { background: var(--lime); }
.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}
.site-nav__link[aria-current="page"] .site-nav__index { color: var(--lime); opacity: 1; }
.site-nav__label { font-weight: 600; }

.site-nav__foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 0;
}

/* ============================================================
   2. 通用按钮 / 复制
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--ink-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
  transition: background var(--dur) ease, border-color var(--dur) ease,
    color var(--dur) ease, transform var(--dur) ease;
}
.btn:hover { border-color: var(--lime); color: var(--lime-soft); }
.btn:active { transform: translateY(1px); }
.btn--lime { background: var(--lime); border-color: var(--lime); color: #0A1310; }
.btn--lime:hover { background: var(--lime-soft); border-color: var(--lime-soft); color: #0A1310; }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: rgba(200, 255, 61, 0.08); }
.btn--block { width: 100%; }
.btn--rail { padding: 10px 12px; font-size: 12px; letter-spacing: 0.06em; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: color var(--dur) ease, border-color var(--dur) ease;
}
.copy-btn:hover { color: var(--lime); border-color: var(--lime); }
.copy-btn.is-copied { color: var(--lime); border-color: var(--lime); background: rgba(200, 255, 61, 0.1); }

/* ============================================================
   3. 布局与章节节奏
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(40px, 6vw, 80px); }
.section__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--lime); }
.section-title {
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.06;
}
.lede { color: var(--muted); font-size: clamp(15px, 1.6vw, 17px); line-height: 1.75; }

/* 12 栏栅格 */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.span-3, .span-4, .span-6, .span-8, .span-12 { grid-column: span 12; min-width: 0; }

/* 面包屑 */
.breadcrumb { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted); }
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; color: var(--line); }
.breadcrumb__link { color: var(--muted); transition: color var(--dur) ease; }
.breadcrumb__link:hover { color: var(--lime-soft); }
.breadcrumb [aria-current="page"] { color: var(--lime); }

/* ============================================================
   4. 专题研究板组件
   ============================================================ */
/* 比分信息条 */
.score-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 16px 18px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: 2px;
}
.score-strip__main {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex: 1 1 220px;
  min-width: 0;
}
.score-strip__team {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.score-strip__score {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lime);
}
.score-strip__note { flex: 1 1 100%; font-size: 13px; color: var(--muted); }
.score-strip__aside { display: flex; flex-wrap: wrap; gap: 8px; }

/* 数据小卡 */
.data-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.data-card__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
}
.data-card__unit { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--mint); text-transform: uppercase; }
.data-card__note { font-size: 12.5px; line-height: 1.7; color: var(--muted); }

/* 密集索引 */
.index-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.index-list__item {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) ease;
}
.index-list__item:hover { background: rgba(200, 255, 61, 0.04); }
.index-list__bar { width: 4px; height: 28px; background: var(--orange); }
.index-list__title { font-size: 15px; font-weight: 600; }
.index-list__meta {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

/* 对比双卡 */
.compare-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.compare-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--ink-2); }
.compare-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.compare-card__title { font-size: 17px; font-weight: 700; line-height: 1.3; }
.compare-card__list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.compare-card__note { font-size: 12.5px; line-height: 1.7; color: var(--mint); }

/* 折叠说明条 */
.fold-note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--mint);
  border-radius: 2px;
  background: var(--ink-2);
}
.fold-note__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  color: var(--text);
}
.fold-note__summary::-webkit-details-marker { display: none; }
.fold-note__summary::after {
  content: "展开";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--lime);
}
.fold-note[open] .fold-note__summary::after { content: "收起"; }
.fold-note__body { padding: 0 16px 16px; font-size: 14px; line-height: 1.8; color: var(--muted); }

/* 联赛切换 */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.tabs__btn {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: color var(--dur) ease, border-color var(--dur) ease, background var(--dur) ease;
}
.tabs__btn:hover { color: var(--lime-soft); border-color: var(--line); }
.tabs__btn[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: #0A1310; font-weight: 700; }
.tabs__panel[hidden] { display: none; }

/* 状态标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.tag--lime { color: var(--lime); border-color: rgba(200, 255, 61, 0.4); background: rgba(200, 255, 61, 0.08); }
.tag--orange { color: var(--orange); border-color: rgba(255, 106, 31, 0.4); background: rgba(255, 106, 31, 0.08); }
.tag--amber { color: var(--amber); border-color: rgba(255, 194, 75, 0.4); background: rgba(255, 194, 75, 0.1); }
.tag--red { color: var(--red); border-color: rgba(242, 69, 61, 0.4); background: rgba(242, 69, 61, 0.1); }
.tag--mint { color: var(--mint); border-color: rgba(127, 231, 196, 0.4); background: rgba(127, 231, 196, 0.08); }

/* 图片容器基础规则（页面阶段放占位图） */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--ink-2);
  isolation: isolate;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(10, 19, 16, 0.22) 0 1px, transparent 1px 4px);
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame__caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lime-soft);
  text-shadow: 0 1px 6px rgba(10, 19, 16, 0.9);
}
.media-frame__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 2px 7px;
  background: var(--lime);
  color: #0A1310;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 1px;
}

/* ============================================================
   5. 页脚
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--text);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 64px) var(--pad) clamp(28px, 4vw, 44px);
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.footer__line { font-size: 13.5px; line-height: 1.7; color: var(--muted); max-width: 34ch; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.6;
}
.footer__contact-key {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--mint);
}
.footer__contact-value { color: var(--text); word-break: break-all; }

.footer__col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.footer__list { display: flex; flex-direction: column; gap: 9px; }
.footer__link {
  display: inline-block;
  font-size: 13.5px;
  color: var(--muted);
  transition: color var(--dur) ease;
}
.footer__link:hover { color: var(--lime); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 16px var(--pad) 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.footer__meta { display: inline-flex; align-items: center; gap: 6px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* ============================================================
   6. 动效协议
   ============================================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur) ease, transform var(--dur) ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   7. 响应式：平板
   ============================================================ */
@media (min-width: 720px) {
  .span-3 { grid-column: span 6; }
  .span-4 { grid-column: span 6; }
  .span-6 { grid-column: span 12; }
  .span-8 { grid-column: span 12; }
  .grid { gap: 18px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .compare-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .score-strip__note { flex: 1 1 60%; }
  .site-nav__foot { flex-direction: row; }
  .site-nav__foot .btn { flex: 1 1 0; }
}

/* ============================================================
   8. 响应式：桌面 —— 左侧 88px 框架导航柱
   ============================================================ */
@media (min-width: 1024px) {
  body { padding-top: 0; padding-left: var(--rail); }

  .read-progress { left: var(--rail); }
  .skip-link { left: calc(var(--rail) + 8px); }

  .site-header {
    top: 0;
    right: auto;
    bottom: 0;
    width: var(--rail);
    border-bottom: 0;
    border-right: 1px solid var(--line);
    background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  }
  .frame {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 18px;
    height: 100%;
    padding: 18px 0 14px;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .frame::-webkit-scrollbar { width: 0; height: 0; }
  .frame__brand { flex-direction: column; gap: 14px; }
  .site-header .brand { flex-direction: column; gap: 12px; width: 100%; justify-content: center; }
  .site-header .brand__text { align-items: center; }
  .site-header .brand__name {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 13px;
    letter-spacing: 0.16em;
    line-height: 1;
    white-space: normal;
  }
  .site-header .brand__line { display: none; }
  .site-header .brand__mark { width: 34px; height: 34px; font-size: 16px; }
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    border-bottom: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .site-nav__list { gap: 2px; }
  .site-nav__item { border-bottom: 0; }
  .site-nav__link {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 12px 4px;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    text-align: center;
  }
  .site-nav__link::before { width: 3px; }
  .site-nav__label { line-height: 1.35; }
  .site-nav__foot { margin-top: auto; padding: 14px 6px 0; flex-direction: column; }
  .site-nav__foot .btn { flex: 0 0 auto; }
  .btn--rail { font-size: 11px; padding: 8px 2px; letter-spacing: 0.04em; line-height: 1.4; }

  .span-3 { grid-column: span 3; }
  .span-4 { grid-column: span 4; }
  .span-6 { grid-column: span 6; }
  .span-8 { grid-column: span 8; }
  .span-12 { grid-column: span 12; }
  .grid { gap: 20px; }

  .footer__grid { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
  .footer__brand { grid-column: auto; }
}

@media (min-width: 1280px) {
  .frame { padding-top: 22px; }
  .site-nav__link { padding: 14px 4px; font-size: 13px; }
}

/* ============================================================
   9. 可访问性降级
   ============================================================ */
@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;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .read-progress__bar { transition: none; }
}
