/* ============================================================
   乐鱼赛场 · 共享外观层  /assets/site.css
   纵向叙事长卷 + 左侧比赛日指挥轨道
   ============================================================ */

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

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

ul, ol { list-style: none; }

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

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

a { color: inherit; }

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

/* ---------- 2. Tokens ---------- */
:root {
  --deep: #0B1F3A;
  --night: #061426;
  --cyan: #2CE5D2;
  --orange: #FF6A2B;
  --signal: #FFE24B;
  --violet: #1B1233;
  --white: #F4F7FA;
  --ink: #05070C;
  --mist: #A6B3C4;
  --mint: #D6F5F1;

  --rail: 96px;
  --bar-h: 64px;
  --pad: clamp(18px, 3.2vw, 56px);
  --gap: clamp(16px, 2.4vw, 32px);

  --font-narrow: 'Barlow Condensed', 'Oswald', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-serif: 'Noto Serif SC', 'Songti SC', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'SFMono-Regular', ui-monospace, monospace;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-color: 120ms;
  --t-move: 240ms;

  --radius-card: 16px 16px 16px 4px;
  --radius-panel: 22px 22px 22px 6px;
  --hairline: rgba(166, 179, 196, 0.18);
  --cyan-line: rgba(44, 229, 210, 0.22);
}

/* ---------- 3. Base typography ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail); }
}

@media (max-width: 1023px) {
  body { padding-bottom: var(--bar-h); }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-narrow);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.04em;
  text-align: left;
}

h1 { font-size: clamp(30px, 4.4vw, 44px); }
h2 { font-size: clamp(22px, 2.8vw, 28px); }
h3 { font-size: clamp(18px, 2vw, 21px); }

.t-display {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0.03em;
}

.t-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.t-kicker {
  font-family: var(--font-narrow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.t-mono {
  font-family: var(--font-mono);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.t-lead { font-size: 18px; line-height: 1.8; }

.t-note { font-size: 13px; line-height: 1.7; color: #5B6B80; }

.t-note--dark { color: var(--mist); }

.band .t-note,
.card--dark .t-note,
.panel .t-note { color: var(--mist); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 4. Layout ---------- */
.shell {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.shell--wide { max-width: 1560px; }

.section { padding-block: clamp(48px, 7vw, 104px); }
.section--tight { padding-block: clamp(28px, 4vw, 56px); }

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

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

@media (max-width: 1023px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-4, .sp-5, .sp-6, .sp-7, .sp-8 { grid-column: span 6; }
}

@media (max-width: 720px) {
  .grid-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .sp-2, .sp-3, .sp-4, .sp-5, .sp-6, .sp-7, .sp-8, .sp-12 { grid-column: span 2; }
}

/* ---------- 5. Bands & section heads ---------- */
.band {
  position: relative;
  color: var(--white);
  background: linear-gradient(105deg, var(--deep) 0%, #102A4C 44%, var(--violet) 100%);
}

.band--night { background: linear-gradient(105deg, var(--night) 0%, #0A1B33 58%, var(--violet) 100%); }
.band--deep { background: var(--deep); }
.band--violet { background: var(--violet); }

.band--mint {
  background: var(--mint);
  color: var(--ink);
}

.sec-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.6vw, 24px);
}

.sec-head__num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  padding-top: 0.35em;
  flex: 0 0 auto;
}

.sec-head__title {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: 0.04em;
}

.sec-head__sub { font-size: 15px; line-height: 1.7; margin-top: 6px; }

.band .sec-head__sub { color: var(--mist); }
.band--mint .sec-head__sub { color: #2C4A48; }
.band--mint .sec-head__num { color: #0B6B62; }

/* ---------- 6. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.25;
  padding: 0.72em 1.3em;
  border-radius: 4px;
  border: 1px solid transparent;
  text-decoration: none;
  text-align: center;
  transition: background var(--t-color) var(--ease),
              color var(--t-color) var(--ease),
              border-color var(--t-color) var(--ease),
              transform var(--t-color) var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--orange); color: #1A0700; }
.btn--primary:hover { background: #FF8046; }

.btn--ghost { background: transparent; color: var(--white); border-color: var(--cyan-line); }
.btn--ghost:hover { color: var(--cyan); border-color: var(--cyan); }

.btn--dark { background: var(--deep); color: var(--white); }
.btn--dark:hover { background: #123061; }

.btn--block { display: flex; width: 100%; }
.btn--sm { font-size: 12px; padding: 0.55em 1em; }
.btn--lg { font-size: 16px; padding: 0.85em 1.6em; }

.on-light .btn--ghost,
.band--mint .btn--ghost,
.card .btn--ghost {
  color: var(--ink);
  border-color: rgba(5, 7, 12, 0.24);
}

.on-light .btn--ghost:hover,
.band--mint .btn--ghost:hover { color: var(--deep); border-color: var(--deep); }

.link {
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 31, 58, 0.28);
  transition: color var(--t-color) var(--ease),
              border-color var(--t-color) var(--ease),
              padding-left var(--t-color) var(--ease);
}

.link:hover {
  border-bottom-color: var(--cyan);
  padding-left: 2px;
}

.link--dark {
  color: var(--white);
  border-bottom-color: rgba(166, 179, 196, 0.36);
}

.link--dark:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

/* ---------- 7. Components ---------- */
.panel {
  position: relative;
  background: linear-gradient(158deg, var(--violet) 0%, #101A38 55%, var(--deep) 100%);
  color: var(--white);
  border: 1px solid var(--cyan-line);
  border-radius: var(--radius-panel);
  padding: clamp(18px, 2.6vw, 32px);
}

.panel--flat { background: var(--violet); }

.panel__label {
  font-family: var(--font-narrow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.panel__rule {
  height: 1px;
  border: 0;
  background: var(--hairline);
  margin: 14px 0;
}

.card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(5, 7, 12, 0.1);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius-card);
  padding: clamp(16px, 2.2vw, 26px);
  transition: border-color var(--t-color) var(--ease),
              transform var(--t-move) var(--ease);
}

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

.card--mint { background: var(--mint); }

.card--dark {
  background: var(--violet);
  color: var(--white);
  border-color: var(--cyan-line);
  border-top-color: var(--orange);
}

.card__title {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.card__meta {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 12px;
  color: #5B6B80;
}

.card--dark .card__meta { color: var(--mist); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--cyan-line);
  color: var(--cyan);
  background: rgba(44, 229, 210, 0.06);
  text-decoration: none;
  transition: color var(--t-color) var(--ease),
              border-color var(--t-color) var(--ease),
              background var(--t-color) var(--ease);
}

.tag:hover { border-color: var(--cyan); background: rgba(44, 229, 210, 0.14); }

.tag--orange {
  color: var(--orange);
  border-color: rgba(255, 106, 43, 0.42);
  background: rgba(255, 106, 43, 0.08);
}

.tag--orange:hover { border-color: var(--orange); background: rgba(255, 106, 43, 0.16); }

.tag--signal {
  color: var(--signal);
  border-color: rgba(255, 226, 75, 0.42);
  background: rgba(255, 226, 75, 0.08);
}

.tag--solid { background: var(--cyan); color: var(--night); border-color: var(--cyan); }

.tag--on-light {
  color: #0B5F58;
  border-color: rgba(11, 95, 88, 0.32);
  background: rgba(44, 229, 210, 0.2);
}

.tag--on-light:hover { background: rgba(44, 229, 210, 0.34); }

.score {
  display: flex;
  align-items: baseline;
  gap: 0.28em;
  font-family: var(--font-mono);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--signal);
}

.score--xl { font-size: clamp(48px, 7vw, 72px); }
.score--lg { font-size: clamp(38px, 5vw, 56px); }
.score--md { font-size: clamp(30px, 3.6vw, 40px); }
.score__sep { color: var(--mist); font-size: 0.55em; }

.score-block {
  display: block;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(150deg, #0D2547 0%, var(--violet) 100%);
  border: 1px solid var(--cyan-line);
  border-radius: var(--radius-panel);
  padding: clamp(16px, 2.2vw, 28px);
  transition: border-color var(--t-color) var(--ease),
              background var(--t-move) var(--ease);
}

.score-block:hover {
  border-color: var(--cyan);
  background: linear-gradient(150deg, #12305C 0%, #241748 100%);
}

.data-list { border-top: 1px solid var(--hairline); }

.data-list__row {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}

.data-list__key {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.data-list__val {
  font-family: var(--font-mono);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.band--mint .data-list,
.band--mint .data-list__row { border-color: rgba(5, 7, 12, 0.14); }
.band--mint .data-list__key { color: #4A5A63; }
.band--mint .data-list__val { color: var(--ink); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.breadcrumb a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-color) var(--ease), border-color var(--t-color) var(--ease);
}

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

.breadcrumb__sep { color: rgba(44, 229, 210, 0.5); }

.breadcrumb--light { color: #4A5768; }
.breadcrumb--light a:hover { color: var(--deep); border-bottom-color: var(--orange); }

.rule { height: 1px; border: 0; background: var(--hairline); }
.rule--solid { background: var(--cyan-line); }

/* ---------- 8. Image frames ---------- */
.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-card);
  background: linear-gradient(140deg, var(--deep) 0%, var(--violet) 100%);
}

.img-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 20, 38, 0) 42%, rgba(6, 20, 38, 0.74) 100%);
}

.img-frame--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(44, 229, 210, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 229, 210, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
}

.img-frame--plain::after { display: none; }

.img-frame__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px 18px;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--white);
}

.img-frame--1x1 { aspect-ratio: 1 / 1; }
.img-frame--4x3 { aspect-ratio: 4 / 3; }
.img-frame--3x2 { aspect-ratio: 3 / 2; }
.img-frame--16x9 { aspect-ratio: 16 / 9; }
.img-frame--16x7 { aspect-ratio: 16 / 7; }
.img-frame--3x4 { aspect-ratio: 3 / 4; }

/* ---------- 9. Header : 比赛日指挥轨道 ---------- */
.site-header { position: fixed; z-index: 90; }

@media (min-width: 1024px) {
  .site-header { inset: 0 auto 0 0; width: var(--rail); }
}

@media (max-width: 1023px) {
  .site-header { inset: auto 0 0 0; width: 100%; }
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 120;
  padding: 10px 18px;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 4px;
  transform: translateY(-240%);
  transition: transform var(--t-move) var(--ease);
}

.skip-link:focus { transform: translateY(0); }

@media (min-width: 1024px) {
  .skip-link { left: calc(var(--rail) + 8px); }
}

.rail {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0B1F3A 0%, #081729 58%, var(--night) 100%);
  border-right: 1px solid var(--cyan-line);
}

.rail__bar { display: block; }

.brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 22px 12px 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  transition: background var(--t-color) var(--ease);
}

.brand:hover { background: rgba(44, 229, 210, 0.07); }

.brand__mark {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.15;
  color: var(--white);
}

.brand__sub {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.nav-toggle { display: none; }
.nav-toggle__text { font-family: var(--font-narrow); font-weight: 700; }
.nav-toggle__bars { display: block; }

.rail__body { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }

.rail__status {
  padding: 16px 12px 14px;
  background: rgba(27, 18, 51, 0.62);
  border-bottom: 1px solid var(--cyan-line);
}

.rail__status-label {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--mist);
}

.rail__round {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  color: var(--signal);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.rail__countdown {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--cyan);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.rail__tick {
  display: flex;
  gap: 6px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--mist);
}

.rail__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.rail__nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px 0; }

.rail__list { display: flex; flex-direction: column; }

.rail__item { display: block; }

.rail__link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 12px 11px 10px;
  text-decoration: none;
  color: var(--mist);
  border-left: 2px solid transparent;
  transition: color var(--t-color) var(--ease),
              border-color var(--t-color) var(--ease),
              background var(--t-color) var(--ease);
}

.rail__link:hover {
  color: var(--white);
  border-left-color: var(--cyan);
  background: rgba(44, 229, 210, 0.08);
}

.rail__link:hover .rail__label { transform: translateX(2px); }

.rail__link[aria-current="page"] {
  color: var(--white);
  border-left-color: var(--cyan);
  background: rgba(44, 229, 210, 0.12);
}

.rail__link[aria-current="page"] .rail__num { color: var(--orange); }

.rail__num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.rail__label {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: transform var(--t-color) var(--ease);
}

.rail__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--hairline);
}

.rail__actions .btn {
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 10px 6px;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.rail__progress { display: none; }

@media (min-width: 1024px) {
  .rail__progress {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: rgba(44, 229, 210, 0.12);
  }

  .rail__progress span {
    display: block;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--cyan), var(--orange));
    transition: height 120ms linear;
  }
}

@media (max-width: 1023px) {
  .rail {
    height: auto;
    flex-direction: column;
    border-right: 0;
    border-top: 1px solid var(--cyan-line);
    background: linear-gradient(180deg, #081729 0%, #0B1F3A 100%);
  }

  .rail__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: var(--bar-h);
    padding: 0 16px;
  }

  .brand {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    padding: 0;
    border-bottom: 0;
  }

  .brand__mark { font-size: 18px; letter-spacing: 0.06em; }
  .brand__sub { font-size: 11px; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid var(--cyan-line);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-narrow);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    transition: border-color var(--t-color) var(--ease), color var(--t-color) var(--ease);
  }

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

  .nav-toggle__bars {
    position: relative;
    width: 18px;
    height: 12px;
  }

  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    transition: transform var(--t-move) var(--ease), box-shadow var(--t-move) var(--ease);
  }

  .nav-toggle__bars::before { top: 0; box-shadow: 0 5px 0 currentColor; }
  .nav-toggle__bars::after { bottom: 0; }

  .site-header[data-open] .nav-toggle__bars::before {
    transform: translateY(5px) rotate(45deg);
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0);
  }

  .site-header[data-open] .nav-toggle__bars::after {
    transform: translateY(-5px) rotate(-45deg);
  }

  .rail__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    max-height: min(74vh, 560px);
    overflow-y: auto;
    background: linear-gradient(180deg, #061426 0%, #0B1F3A 100%);
    border-top: 1px solid var(--cyan-line);
    box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t-move) var(--ease),
                opacity var(--t-move) var(--ease),
                visibility var(--t-move) var(--ease);
  }

  .site-header[data-open] .rail__body {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .rail__status {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 14px;
    align-items: center;
    padding: 16px 18px;
  }

  .rail__status-label { grid-column: 1; }

  .rail__round,
  .rail__countdown {
    grid-column: 2;
    justify-self: start;
    margin: 0;
  }

  .rail__tick {
    grid-column: 1 / -1;
    margin-top: 8px;
    font-size: 12px;
    align-items: flex-start;
  }

  .rail__nav { padding: 0; flex: 0 0 auto; }

  .rail__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .rail__link {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    padding: 15px 18px;
    border-left: 0;
    border-bottom: 1px solid rgba(166, 179, 196, 0.12);
  }

  .rail__link:hover { border-left-color: transparent; }

  .rail__link[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--cyan);
    border-left-color: transparent;
  }

  .rail__label { font-size: 14px; }
  .rail__num { font-size: 11px; }

  .rail__actions {
    flex-direction: row;
    padding: 14px 18px 18px;
    border-top: 1px solid var(--hairline);
  }

  .rail__actions .btn { flex: 1 1 0; font-size: 13px; padding: 11px 8px; }
}

/* ---------- 10. Footer : 暗夜档案层 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
  border-top: 1px solid var(--cyan-line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -130px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 32% 32%, rgba(44, 229, 210, 0.22), rgba(44, 229, 210, 0) 64%);
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: -190px;
  left: -150px;
  width: 470px;
  height: 470px;
  pointer-events: none;
  border-radius: 46% 54% 62% 38% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 60% 40%, rgba(255, 106, 43, 0.16), rgba(255, 106, 43, 0) 66%);
}

.footer__inner { position: relative; z-index: 1; }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 2fr) minmax(0, 1.2fr);
  gap: clamp(24px, 3.4vw, 64px);
  padding: clamp(40px, 6vw, 84px) 0 clamp(28px, 4vw, 52px);
}

.footer__wordmark {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--white);
}

.footer__kicker {
  margin-top: 8px;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--cyan);
}

.footer__line {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.footer__note {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.7;
  color: #7F8DA1;
}

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

.footer__col { min-width: 0; }

.footer__coltitle {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--white);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--cyan-line);
}

.footer__list { display: grid; gap: 10px; }

.footer__link {
  display: inline-block;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-color) var(--ease),
              border-color var(--t-color) var(--ease),
              transform var(--t-color) var(--ease);
}

.footer__link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  transform: translateX(2px);
}

.footer__contact { min-width: 0; }
.footer__contact .footer__list { gap: 16px; }

.footer__key {
  display: block;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mist);
  margin-bottom: 4px;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: left;
  color: var(--white);
  padding: 2px 0;
  border-bottom: 1px dashed rgba(44, 229, 210, 0.45);
  transition: color var(--t-color) var(--ease), border-color var(--t-color) var(--ease);
}

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

.copy-btn[data-copied="true"] {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

.footer__val {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding: 22px 0 34px;
  border-top: 1px solid var(--hairline);
}

.footer__icp {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 12.5px;
  color: var(--mist);
}

.footer__copy { font-size: 12.5px; line-height: 1.7; color: #7F8DA1; }

.footer__legal-links { display: flex; flex-wrap: wrap; gap: 18px; }

.footer__legal-links a {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-color) var(--ease), border-color var(--t-color) var(--ease);
}

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

@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brandcol { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__legal { flex-direction: column; align-items: flex-start; }
}

/* ---------- 11. Motion / reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease) var(--reveal-delay, 0ms),
              transform 600ms var(--ease) var(--reveal-delay, 0ms);
}

.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* ---------- 12. Focus ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 3px;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.site-footer a:focus-visible,
.site-footer button:focus-visible { outline-offset: 3px; }

.band--mint :focus-visible,
.on-light :focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 2px;
}

/* ---------- 13. Reduced motion ---------- */
@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;
  }

  .js [data-reveal] { opacity: 1 !important; transform: none !important; }

  .skip-link { transition: none; }
}
