/* =========================================================
   三亿赛场 · 共享样式 /assets/site.css
   墨蓝底的夜间赛场档案系统：变更条 + 横向时间轴 + 主客场对照
   ========================================================= */

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

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

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

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

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

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

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

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

summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }

[hidden] { display: none !important; }

/* ---------- tokens ---------- */
:root {
  --ink-950: #0B1622;
  --ink-900: #122234;
  --ink-800: #16283C;
  --stone: #2A3646;
  --cyan: #22D3EE;
  --cyan-soft: #7FE9F7;
  --lime: #C8F53C;
  --home: #F59A4B;
  --away: #C4643C;
  --moss: #5A7A5A;
  --cream: #F2EFE6;

  --text: rgba(242, 239, 230, 0.78);
  --text-dim: rgba(242, 239, 230, 0.52);
  --text-faint: rgba(242, 239, 230, 0.34);

  --line-1: rgba(242, 239, 230, 0.10);
  --line-2: rgba(242, 239, 230, 0.18);
  --hair-cyan: rgba(34, 211, 238, 0.30);
  --hair-lime: rgba(200, 245, 60, 0.40);

  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", "Noto Sans SC",
    system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, "Courier New", monospace;
  --font-body: "Noto Sans SC", system-ui, -apple-system, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --shell: 1320px;
  --gutter: 24px;
  --shadow-1: 0 1px 0 rgba(0, 0, 0, 0.35), 0 12px 28px rgba(4, 10, 18, 0.35);
}

/* ---------- base ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--ink-950);
  background-image:
    radial-gradient(1100px 520px at 84% -12%, rgba(34, 211, 238, 0.09), transparent 62%),
    radial-gradient(760px 420px at -8% 8%, rgba(90, 122, 90, 0.10), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: var(--cream);
}

h1 { font-size: clamp(34px, 5.4vw, 66px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 24px); }

p { max-width: 34em; }

a { transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease; }

::selection { background: rgba(34, 211, 238, 0.28); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- utility ---------- */
.num,
.num * {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.annotation {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--text-dim);
}

.annotation--vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.28em;
  font-size: 11px;
  color: rgba(127, 233, 247, 0.6);
  border-left: 1px solid var(--line-1);
  padding-left: 10px;
}

.container {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -60px;
  z-index: 300;
  display: inline-block;
  padding: 10px 16px;
  background: var(--cyan);
  color: #06202A;
  font-weight: 700;
  font-size: 14px;
  border-radius: 2px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 10px;
  outline-color: var(--cream);
}

/* ---------- header shell ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--ink-900);
  border-bottom: 1px solid var(--hair-cyan);
  box-shadow: var(--shadow-1);
}

/* ---------- 变更条 ---------- */
.change-bar {
  position: relative;
  background: linear-gradient(90deg, #122234 0%, #0B1622 72%);
  border-bottom: 1px solid rgba(34, 211, 238, 0.16);
}

.change-bar__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.change-bar__badge {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lime);
  background: rgba(200, 245, 60, 0.08);
  border: 1px solid var(--hair-lime);
  border-radius: 2px;
  padding: 3px 8px;
  white-space: nowrap;
}

.change-bar__ticker {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  max-width: none;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
}

.change-bar__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 245, 60, 0.14);
  animation: changePulse 2.6s ease-in-out infinite;
}

@keyframes changePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200, 245, 60, 0.14); }
  50% { box-shadow: 0 0 0 7px rgba(200, 245, 60, 0.05); }
}

.change-bar__toggle {
  flex: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--hair-cyan);
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan-soft);
  cursor: pointer;
}

.change-bar__toggle:hover {
  color: var(--cream);
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.10);
}

.change-bar__chev {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.22s ease;
}

.change-bar[data-open] .change-bar__chev { transform: rotate(180deg); }

.change-panel {
  max-height: 0;
  overflow: hidden;
  background: rgba(11, 22, 34, 0.72);
  border-top: 1px solid transparent;
  transition: max-height 0.3s ease, border-color 0.3s ease;
}

.change-bar[data-open] .change-panel {
  max-height: 900px;
  border-top-color: rgba(34, 211, 238, 0.16);
}

.change-panel__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--gutter) 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 26px;
}

.change-panel__group {
  border-left: 1px solid var(--stone);
  padding-left: 14px;
}

.change-panel__title {
  max-width: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cream);
  margin-bottom: 8px;
}

.change-item {
  max-width: none;
  display: flex;
  gap: 8px;
  padding: 4px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

.change-item__status {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lime);
  border-left: 2px solid var(--lime);
  padding-left: 6px;
  align-self: flex-start;
  margin-top: 3px;
}

/* ---------- masthead ---------- */
.masthead {
  background: linear-gradient(180deg, rgba(18, 34, 52, 0.98), rgba(11, 22, 34, 0.96));
}

.masthead__inner {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: none;
}

.brand__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--cream);
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 2px;
}

.brand__dot { color: var(--cyan); margin: 0 4px; }

.brand__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-faint);
}

.site-nav { margin-left: 10px; }

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 2px solid transparent;
}

.site-nav__link::before {
  content: attr(data-index);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(127, 233, 247, 0.5);
}

.site-nav__link:hover {
  color: var(--cream);
  border-bottom-color: rgba(34, 211, 238, 0.6);
  background: rgba(34, 211, 238, 0.06);
}

.site-nav__link[aria-current="page"] {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}

.utility {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.utility__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 5px 10px;
  border: 1px solid var(--line-1);
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.utility__btn:hover {
  transform: translateY(-2px);
  border-color: var(--hair-cyan);
}

.utility__btn[aria-pressed="true"] {
  border-color: var(--hair-lime);
  background: rgba(200, 245, 60, 0.08);
}

.utility__btn[aria-pressed="true"] .utility__label { color: var(--lime); }

.utility__label {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text);
}

.utility__note {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  color: var(--text-faint);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn--cta {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #06202A;
  font-weight: 700;
}

.btn--cta:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--hair-cyan);
  color: var(--cyan-soft);
}

.btn--ghost:hover {
  background: rgba(34, 211, 238, 0.10);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ---------- mobile nav toggle ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  cursor: pointer;
  color: var(--text);
  font-size: 13px;
}

.nav-toggle:hover { border-color: var(--cyan); color: var(--cream); }

.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2px;
  height: 2px;
  background: currentColor;
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(242, 239, 230, 0.06);
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  transition: transform 0.12s linear;
}

/* ---------- page frame ---------- */
.page { padding: 40px 0 84px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.breadcrumb__item { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb__sep { color: var(--stone); }

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

.col-main { grid-column: 1 / span 7; min-width: 0; }
.col-aside { grid-column: 9 / span 3; min-width: 0; }
.col-wide { grid-column: 1 / -1; min-width: 0; }

.section { padding: 56px 0; }
.section--tint { background: var(--ink-900); }
.section--split {
  background: linear-gradient(90deg, rgba(245, 154, 75, 0.07), rgba(11, 22, 34, 0) 46%,
    rgba(196, 100, 60, 0.07) 54%, rgba(11, 22, 34, 0));
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-1);
  margin-bottom: 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.display-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--cream);
  position: relative;
  padding-bottom: 14px;
}

.display-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 84px;
  height: 2px;
  background: var(--cyan);
}

.lede {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  max-width: 34em;
}

.rule {
  height: 1px;
  border: 0;
  margin: 32px 0;
  background: var(--line-1);
}

.rule--cyan { background: linear-gradient(90deg, var(--cyan), transparent 70%); }

.prose p { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin: 1.4em 0 0.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose strong { color: var(--cream); font-weight: 700; }

/* ---------- tags ---------- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: rgba(11, 22, 34, 0.55);
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    background-color 0.18s ease;
}

.tag:hover {
  transform: translateY(-2px);
  border-color: var(--hair-cyan);
  color: var(--cream);
}

.tag[aria-pressed="true"],
.tag--active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}

.tag--moss {
  border-color: rgba(90, 122, 90, 0.7);
  color: #A6C1A6;
}

.tag--lime {
  border-color: var(--hair-lime);
  color: var(--lime);
}

/* ---------- status ---------- */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.status-chip--change { color: var(--lime); background: rgba(200, 245, 60, 0.07); }
.status-chip--live { color: var(--cyan); background: rgba(34, 211, 238, 0.07); }

/* ---------- index list ---------- */
.index-list { border-top: 1px solid var(--line-1); }

.index-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-1);
  transition: background-color 0.18s ease, padding-left 0.18s ease;
}

.index-item:hover {
  background: rgba(34, 211, 238, 0.05);
  padding-left: 10px;
}

.index-item__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.index-item__body { min-width: 0; }
.index-item__body > * + * { margin-top: 6px; }

.index-item__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  white-space: nowrap;
}

/* ---------- panels & cards ---------- */
.panel {
  background: rgba(18, 34, 52, 0.72);
  border: 1px solid var(--line-1);
  border-radius: 3px;
  padding: 20px 22px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.30);
}

.panel--flat {
  background: transparent;
  border-color: var(--line-1);
  box-shadow: none;
}

.card {
  background: rgba(18, 34, 52, 0.55);
  border: 1px solid var(--line-1);
  border-radius: 3px;
  padding: 18px 18px 20px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.45);
}

/* ---------- 主客场左右对照 ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  border: 1px solid var(--line-1);
  border-radius: 3px;
  overflow: hidden;
}

.split__side { padding: 20px 22px; }

.split__side--home {
  background: linear-gradient(180deg, rgba(245, 154, 75, 0.12), rgba(245, 154, 75, 0.02));
  box-shadow: inset 3px 0 0 0 var(--home);
}

.split__side--away {
  background: linear-gradient(180deg, rgba(196, 100, 60, 0.12), rgba(196, 100, 60, 0.02));
  box-shadow: inset -3px 0 0 0 var(--away);
}

.split__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}

.split__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  margin-top: 6px;
}

.split__side--home .split__value { color: var(--home); }
.split__side--away .split__value { color: var(--away); }

.split__diff {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: rgba(11, 22, 34, 0.9);
  border-left: 1px solid var(--line-1);
  border-right: 1px solid var(--line-1);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--lime);
}

/* ---------- 横向时间轴 ---------- */
.timeline {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 26px 4px 30px;
  border-top: 1px solid var(--line-1);
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.timeline::-webkit-scrollbar { height: 6px; }
.timeline::-webkit-scrollbar-track { background: var(--stone); }
.timeline::-webkit-scrollbar-thumb { background: var(--cyan); }

.timeline__item {
  position: relative;
  flex: 0 0 240px;
  scroll-snap-align: start;
  padding-top: 24px;
  min-width: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: -20px;
  height: 1px;
  background: var(--stone);
}

.timeline__node {
  position: absolute;
  top: 1px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-950);
  border: 2px solid var(--cyan-soft);
}

.timeline__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.timeline__title {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.2;
  color: var(--cream);
  margin-top: 5px;
}

.timeline__item p { font-size: 13px; color: var(--text-dim); margin-top: 6px; }

/* ---------- 折叠分组 ---------- */
.acc { border-bottom: 1px solid var(--line-1); }

.acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-size: 15px;
  color: var(--cream);
}

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

.acc__head::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  color: var(--cyan);
}

details[open] > .acc__head::after { content: "–"; }

.acc__body {
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.acc__body > * + * { margin-top: 10px; }

/* ---------- 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-1);
  border-radius: 3px;
  background: linear-gradient(140deg, #16283C 0%, #0B1622 58%, #122234 100%);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(34, 211, 238, 0.06) 0 1px,
    transparent 1px 14px
  );
}

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.media__index {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan-soft);
  background: rgba(11, 22, 34, 0.72);
  border: 1px solid var(--hair-cyan);
  border-radius: 2px;
  padding: 2px 6px;
}

.media__caption {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  margin-top: 80px;
  background: var(--ink-900);
  border-top: 1px solid var(--hair-cyan);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--lime) 38%, transparent 78%);
}

.footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px var(--gutter) 34px;
  display: grid;
  grid-template-columns: 1.2fr 2.4fr 1.4fr;
  gap: 40px;
}

.footer__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--cream);
  max-width: none;
}

.footer__tag {
  margin-top: 8px;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  color: var(--cyan);
}

.footer__note {
  margin-top: 14px;
  max-width: 26em;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-dim);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer__col-title {
  max-width: none;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  color: var(--text-faint);
}

.footer__list li + li { margin-top: 10px; }

.footer__list a {
  font-size: 14px;
  color: var(--text);
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.footer__list a:hover {
  color: var(--cyan);
  padding-left: 6px;
}

.footer__contact {
  border-left: 1px solid var(--line-1);
  padding-left: 24px;
}

.footer__contact-item + .footer__contact-item { margin-top: 16px; }

.footer__contact-label {
  max-width: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}

.footer__contact-value {
  max-width: none;
  margin-top: 4px;
  font-size: 14px;
  color: var(--cream);
  word-break: break-word;
}

.footer__base { border-top: 1px solid var(--line-1); }

.footer__base-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--gutter) 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.footer__copy { color: var(--text-dim); }
.footer__icp { color: var(--moss); }
.footer__domain { color: var(--text-faint); }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1180px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .footer__contact {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line-1);
    padding-left: 0;
    padding-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
  }
  .footer__contact-item + .footer__contact-item { margin-top: 0; }
}

@media (max-width: 1024px) {
  html { scroll-padding-top: 120px; }

  .nav-toggle { display: inline-flex; margin-left: auto; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    margin-left: 0;
    padding: 10px var(--gutter) 18px;
    max-height: 72vh;
    overflow-y: auto;
    background: var(--ink-900);
    border-top: 1px solid var(--hair-cyan);
    border-bottom: 1px solid var(--stone);
    box-shadow: 0 18px 34px rgba(4, 10, 18, 0.55);
  }

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

  .site-nav__list { flex-direction: column; gap: 0; }

  .site-nav__link {
    display: flex;
    padding: 13px 10px;
    font-size: 15px;
    border-bottom: 1px solid rgba(42, 54, 70, 0.7);
    border-left: 2px solid transparent;
  }

  .site-nav__link[aria-current="page"] {
    border-left-color: var(--cyan);
    border-bottom-color: rgba(42, 54, 70, 0.7);
    background: rgba(34, 211, 238, 0.07);
  }

  .utility { margin-left: 0; }

  .change-panel__inner { grid-template-columns: 1fr; gap: 16px; }

  .grid-12 { grid-template-columns: 1fr; gap: 28px; }
  .col-main,
  .col-aside,
  .col-wide { grid-column: 1 / -1; }

  .split { grid-template-columns: 1fr; }
  .split__diff {
    padding: 10px 16px;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line-1);
    border-bottom: 1px solid var(--line-1);
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }

  body { font-size: 16px; }

  .change-bar__inner { gap: 10px; padding: 9px var(--gutter); }
  .change-bar__ticker { flex-basis: 100%; order: 3; }
  .change-bar__toggle { margin-left: auto; }

  .masthead__inner { gap: 10px 12px; padding: 10px var(--gutter) 12px; }

  .utility {
    flex: 1 1 100%;
    order: 4;
  }

  .utility__btn { flex: 1 1 0; align-items: center; }

  .btn--cta { order: 3; }

  .footer__inner { grid-template-columns: 1fr; padding-top: 44px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__contact { grid-template-columns: 1fr; }
  .footer__base-inner { flex-direction: column; gap: 6px; padding-bottom: 22px; }

  .timeline__item { flex-basis: 200px; }
  .split__value { font-size: 28px; }
}

@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr; }
  .brand__mark { font-size: 18px; }
  .nav-toggle__text { display: none; }
}

/* ---------- 动效克己 ---------- */
@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;
  }

  .utility__btn:hover,
  .btn:hover,
  .card:hover,
  .tag:hover {
    transform: none;
  }
}
