/* ============================================================
   AOA体育 · 共享样式 /assets/site.css
   夜场看台：墨黑基底 + 夜灯青分区 + 荧光绿只标记数据
   ============================================================ */

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

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

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

ol, ul { padding: 0; list-style: none; }

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid #C8FF4D;
  outline-offset: 3px;
  border-radius: 1px;
}

::selection {
  background: #C8FF4D;
  color: #07110F;
}

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #07110F;
  --turf: #0E3B38;
  --turf-lit: #1F7A6E;
  --silver: #C3CBD0;
  --chalk: #F4F7F5;
  --ochre: #8C3A27;
  --ember: #E8803F;
  --fluoro: #C8FF4D;
  --wine: #4A1E2B;
  --paper: #EDE9E1;

  --line: rgba(195, 203, 208, 0.22);
  --line-strong: rgba(195, 203, 208, 0.46);
  --dim: rgba(195, 203, 208, 0.64);

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1280px;
  --header-h: 56px;
  --dock-h: 52px;

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

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Courier New", monospace;
}

/* ---------- 3. 中文排版基座 ---------- */
html { min-height: 100%; }

body {
  min-height: 100vh;
  padding-top: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 620px at 84% -10%, rgba(31, 122, 110, 0.28), transparent 62%),
    radial-gradient(880px 520px at -12% 34%, rgba(74, 30, 43, 0.34), transparent 66%),
    radial-gradient(700px 420px at 56% 108%, rgba(140, 58, 39, 0.22), transparent 70%);
  background-repeat: no-repeat;
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--chalk);
}

h1 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; }
h2 { font-size: clamp(26px, 3.2vw, 48px); }
h3 { font-size: clamp(19px, 2vw, 26px); letter-spacing: -0.02em; }
h4 { font-size: 17px; letter-spacing: 0; font-weight: 700; }

p { overflow-wrap: break-word; }
strong, b { font-weight: 700; color: var(--chalk); }
em { font-style: normal; color: var(--ember); }

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

.section {
  padding-block: clamp(52px, 8vw, 112px);
}

.surface-turf {
  background-color: var(--turf);
  color: var(--silver);
}

.surface-wine {
  background-color: var(--wine);
  color: var(--silver);
}

.surface-paper {
  background-color: var(--paper);
  color: #1B2422;
}

.surface-paper h1,
.surface-paper h2,
.surface-paper h3,
.surface-paper strong {
  color: #0B1412;
}

.surface-paper a { color: #7A2E1C; }

.grain {
  position: relative;
  isolation: isolate;
}

.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(244, 247, 245, 0.08) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.7;
}

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

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* ---------- 5. 排版组件 ---------- */
.display {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(44px, 8vw, 118px);
  color: var(--chalk);
}

.headline {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: clamp(26px, 3.2vw, 48px);
  color: var(--chalk);
}

.subhead {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(20px, 2.2vw, 32px);
  color: var(--chalk);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--fluoro);
  flex: 0 0 auto;
}

.index-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

.num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--fluoro);
}

.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.7;
  color: rgba(244, 247, 245, 0.88);
  max-width: 36em;
}

.prose {
  max-width: 36em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--silver);
}

.prose > * + * { margin-top: 1.05em; }

.prose h3 {
  margin-top: 1.9em;
  font-size: clamp(19px, 2vw, 24px);
}

.prose ul {
  list-style: none;
  padding-left: 0;
}

.prose ul > li {
  position: relative;
  padding-left: 20px;
}

.prose ul > li + li { margin-top: 0.5em; }

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

.surface-paper .prose { color: #242C29; }

/* ---------- 6. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(195, 203, 208, 0.6);
}

.crumbs li { display: inline-flex; align-items: center; gap: 8px; }

.crumbs li + li::before {
  content: "/";
  color: rgba(195, 203, 208, 0.34);
}

.crumbs a {
  color: inherit;
  transition: color 0.18s var(--ease);
}

.crumbs a:hover { color: var(--ember); }

.crumbs li[aria-current="page"] { color: var(--chalk); }

/* ---------- 7. 通用控件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 34px;
  padding: 0 16px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn--line {
  border: 1px solid rgba(195, 203, 208, 0.5);
  color: var(--chalk);
  background-color: transparent;
}

.btn--line:hover,
.btn--line:focus-visible {
  border-color: var(--ember);
  color: var(--ember);
  background-color: rgba(232, 128, 63, 0.1);
}

.btn--solid {
  background-color: var(--fluoro);
  color: var(--ink);
  font-weight: 700;
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background-color: #DCFF84;
  transform: translateY(-1px);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--silver);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  color: var(--ember);
  border-color: var(--ember);
  background-color: rgba(232, 128, 63, 0.1);
}

.search-icon { width: 16px; height: 16px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border: 1px solid rgba(232, 128, 63, 0.5);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  white-space: nowrap;
}

.tag--fluoro {
  border-color: rgba(200, 255, 77, 0.45);
  color: var(--fluoro);
}

.tag--turf {
  border-color: rgba(31, 122, 110, 0.7);
  color: #86CBBF;
}

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

/* ---------- 8. 框景与卡片 ---------- */
.frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: clamp(20px, 3vw, 40px);
  background-color: rgba(7, 17, 15, 0.34);
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.frame::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--fluoro);
  border-left: 1px solid var(--fluoro);
}

.frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid var(--fluoro);
  border-bottom: 1px solid var(--fluoro);
}

.card {
  position: relative;
  display: block;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background-color: var(--turf);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.card:hover,
.card:focus-within {
  border-color: var(--ember);
  transform: translateY(-2px);
}

.card--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

/* ---------- 9. 横向看台带 ---------- */
.band {
  position: relative;
}

.band-track {
  display: flex;
  gap: clamp(12px, 1.6vw, 18px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: 4px 16px;
  padding-inline: 0;
  -webkit-overflow-scrolling: touch;
}

.band-track::-webkit-scrollbar { height: 2px; }
.band-track::-webkit-scrollbar-thumb { background: var(--turf-lit); }
.band-track { scrollbar-width: thin; scrollbar-color: var(--turf-lit) transparent; }

.band-item {
  flex: 0 0 clamp(260px, 32vw, 360px);
  scroll-snap-align: start;
}

.band-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.band-label::before {
  content: "";
  width: 2px;
  height: 12px;
  background: var(--turf-lit);
}

/* ---------- 10. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background-color: var(--turf);
  background-image: linear-gradient(152deg, #12433F 0%, #07110F 76%);
  isolation: isolate;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.9) brightness(0.94);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(244, 247, 245, 0.1) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.45;
  mix-blend-mode: overlay;
}

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

.media__cap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--chalk);
  background-image: linear-gradient(transparent, rgba(7, 17, 15, 0.88));
}

/* ---------- 11. 折叠问答 ---------- */
.fold {
  border-top: 1px solid var(--line);
}

.fold-trigger {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 17px 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--chalk);
  transition: color 0.18s var(--ease);
}

.fold-trigger::before {
  content: "";
  flex: 0 0 auto;
  width: 3px;
  height: 14px;
  margin-top: 0.45em;
  background: var(--fluoro);
  transition: background-color 0.18s var(--ease);
}

.fold-trigger::after {
  content: "+";
  margin-left: auto;
  padding-left: 12px;
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1;
  color: var(--ember);
}

.fold[data-open="true"] .fold-trigger::after { content: "\2013"; }

.fold-trigger:hover,
.fold-trigger:focus-visible { color: var(--ember); }

.fold-panel {
  height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: height 0.22s var(--ease), visibility 0s linear 0.22s;
}

.fold[data-open="true"] .fold-panel {
  visibility: visible;
  transition: height 0.22s var(--ease);
}

.fold-panel-inner {
  max-width: 36em;
  padding: 0 0 20px 17px;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(195, 203, 208, 0.84);
}

/* ---------- 12. 数据点 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1;
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--fluoro);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- 13. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 300;
  padding: 10px 18px;
  background-color: var(--fluoro);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  border-radius: 2px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus-visible,
.skip-link:focus { top: 12px; }

/* ============================================================
   14. 头部命令栏
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background-color: rgba(7, 17, 15, 0.94);
  border-bottom: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: height 0.22s var(--ease), background-color 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.site-header[data-shrink="true"] {
  --header-h: 44px;
  background-color: rgba(7, 17, 15, 0.98);
  border-bottom-color: var(--line-strong);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background-image: linear-gradient(90deg, #1F7A6E 0%, #C8FF4D 100%);
  pointer-events: none;
  z-index: 2;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 28px);
  height: 100%;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  color: var(--chalk);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(195, 203, 208, 0.42);
  border-radius: 2px;
  color: var(--fluoro);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  border-color: var(--ember);
  color: var(--ember);
}

.whistle-icon { width: 20px; height: 20px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--chalk);
}

.brand-sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(195, 203, 208, 0.55);
  white-space: nowrap;
}

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

.cmd-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.cmd-item { display: block; }

.cmd-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  height: var(--header-h);
  padding: 0 12px;
  align-items: center;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: rgba(195, 203, 208, 0.78);
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.cmd-link::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 2px;
  height: 15px;
  background-color: var(--fluoro);
  transform: translateY(-50%) scaleY(0);
  transform-origin: center;
  transition: transform 0.18s var(--ease);
}

.cmd-link[aria-current="page"] {
  color: var(--chalk);
  font-weight: 700;
}

.cmd-link[aria-current="page"]::before {
  transform: translateY(-50%) scaleY(1);
}

.cmd-link:hover { color: var(--chalk); }

.cmd-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(195, 203, 208, 0.42);
  transition: color 0.18s var(--ease);
}

.cmd-link:hover .cmd-num { color: var(--fluoro); }

.cmd-label { position: relative; display: inline-block; }

.cmd-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background-color: var(--ember);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s var(--ease);
}

.cmd-link:hover .cmd-label::after,
.cmd-link:focus-visible .cmd-label::after {
  transform: scaleX(1);
}

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

.header-cta { height: 32px; }

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--chalk);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--ember);
  color: var(--ember);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 11px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background-color: currentColor;
  transition: transform 0.2s var(--ease), top 0.2s var(--ease),
    bottom 0.2s var(--ease);
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }

.site-header[data-open="true"] .nav-toggle-bars::before {
  top: 4.75px;
  transform: rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle-bars::after {
  bottom: 4.75px;
  transform: rotate(-45deg);
}

/* ---------- 15. 移动端底部窄条 ---------- */
.dock { display: none; }

/* ============================================================
   16. 页脚
   ============================================================ */
.site-footer {
  position: relative;
  background-color: var(--turf);
  background-image: radial-gradient(900px 420px at 12% 0%, rgba(31, 122, 110, 0.22), transparent 68%);
  color: rgba(195, 203, 208, 0.86);
}

.footer-rule {
  height: 2px;
  background-color: var(--fluoro);
}

.footer-inner {
  display: grid;
  gap: clamp(26px, 3.6vw, 52px);
  padding-block: clamp(40px, 5vw, 72px) clamp(28px, 3.4vw, 48px);
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 40px);
  padding-bottom: clamp(22px, 3vw, 36px);
  border-bottom: 1px solid rgba(195, 203, 208, 0.16);
}

.footer-tagline {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.16;
  font-size: clamp(20px, 2.6vw, 32px);
  color: var(--chalk);
}

.footer-note {
  margin-top: 10px;
  max-width: 32em;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(195, 203, 208, 0.66);
}

.footer-coords {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(200, 255, 77, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.footer-col { min-width: 0; }

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--chalk);
}

.footer-col-title::before {
  content: "";
  width: 2px;
  height: 12px;
  flex: 0 0 auto;
  background-color: var(--fluoro);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-link {
  position: relative;
  display: inline-block;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(195, 203, 208, 0.82);
  transition: color 0.18s var(--ease);
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background-color: var(--ember);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s var(--ease);
}

.footer-link:hover,
.footer-link:focus-visible { color: var(--ember); }

.footer-link:hover::after,
.footer-link:focus-visible::after { transform: scaleX(1); }

.footer-item {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(195, 203, 208, 0.6);
}

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

.footer-contact-item {
  display: grid;
  gap: 2px;
}

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(195, 203, 208, 0.5);
}

.footer-contact-value {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--chalk);
  overflow-wrap: break-word;
}

.footer-contact-value--data {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.footer-meta {
  background-color: var(--wine);
  border-top: 1px solid rgba(195, 203, 208, 0.14);
}

.footer-meta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 15px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(244, 247, 245, 0.72);
}

.footer-copy { font-size: 11.5px; }

.footer-legal {
  color: rgba(200, 255, 77, 0.72);
  letter-spacing: 0.08em;
}

/* ============================================================
   17. 响应式
   ============================================================ */
@media (max-width: 1180px) {
  .cmd-link { padding: 0 9px; font-size: 13px; }
  .header-cta { padding: 0 12px; font-size: 12.5px; }
}

@media (max-width: 1040px) {
  .brand-sub { display: none; }
  .cmd-num { display: none; }
}

@media (max-width: 960px) {
  .site-header { --header-h: 44px; }

  body {
    padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
  }

  .header-inner { gap: 10px; }

  .brand-mark { width: 30px; height: 30px; }

  .header-cta { display: none; }

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

  .cmd-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 90;
    display: block;
    max-height: calc(100dvh - var(--header-h) - var(--dock-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background-color: #05100E;
    background-image: linear-gradient(180deg, #07110F 0%, #05100E 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-strong);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
      visibility 0s linear 0.2s;
  }

  .site-header[data-open="true"] .cmd-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }

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

  .cmd-item + .cmd-item { border-top: 1px solid rgba(195, 203, 208, 0.12); }

  .cmd-link {
    display: flex;
    width: 100%;
    height: auto;
    padding: 15px 0 15px 20px;
    font-size: 16px;
  }

  .cmd-link::before {
    left: 0;
    height: 18px;
  }

  .cmd-num {
    display: inline-block;
    font-size: 11px;
    min-width: 2.4em;
    color: rgba(195, 203, 208, 0.5);
  }

  .cmd-label::after { display: none; }

  .dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: var(--dock-h);
    padding-bottom: env(safe-area-inset-bottom);
    background-color: rgba(7, 17, 15, 0.97);
    border-top: 1px solid var(--line-strong);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .dock-link,
  .dock-top {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--dock-h);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: rgba(195, 203, 208, 0.82);
    border-left: 1px solid rgba(195, 203, 208, 0.12);
    transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
  }

  .dock-link:first-child { border-left: 0; }

  .dock-link:hover,
  .dock-link:focus-visible,
  .dock-top:hover,
  .dock-top:focus-visible {
    color: var(--chalk);
    background-color: rgba(31, 122, 110, 0.22);
  }

  .dock-top {
    width: 100%;
    font-weight: 600;
    color: var(--fluoro);
  }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { align-items: flex-start; }
}

@media (max-width: 820px) {
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 12; }
  .prose { max-width: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta-inner { flex-direction: column; align-items: flex-start; }
  .footer-coords { gap: 10px; font-size: 10px; }
  .band-item { flex-basis: 82vw; }
  .fold-trigger { font-size: 15.5px; }
}

/* ---------- 18. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .card:hover,
  .card:focus-within,
  .btn--solid:hover { transform: none; }
}
