/* ==========================================================================
   伟德看台 · CN 体育数据  /assets/site.css
   共享层：重置 / 变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

:root {
  /* 品牌色 */
  --ink: #0B0D10;
  --red: #7A1020;
  --sub-red: #4A0A14;
  --signal: #C41E33;
  --cyan: #4FE3D0;
  --amber: #E8A33D;
  --moss: #6F7A52;
  --terracotta: #A9553C;
  --stone: #3A3F45;
  --paper: #F2EDE4;
  --grey-ink: #C9CDD2;
  --deep-cyan: #0F6B66;

  /* 结构 */
  --maxw: 1360px;
  --maxw-wide: 1560px;
  --gutter: 6vw;
  --r-organic: 24px;
  --r-organic-sm: 16px;
  --line-stone: rgba(58, 63, 69, 0.85);
  --line-soft: rgba(58, 63, 69, 0.5);
  --line-paper: rgba(242, 237, 228, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* 字体 */
  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--grey-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

::selection { background: var(--cyan); color: var(--ink); }

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

/* --- 文本工具 ------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.18s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ==========================================================================
   排版
   ========================================================================== */
.display-1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 9vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.02em;
}
.display-2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.display-3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.heading-sm {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.005em;
}
.lede {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
  max-width: 62ch;
}
.prose { max-width: 68ch; line-height: 1.75; }
.prose p + p { margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 1em 0; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--amber { color: var(--amber); }
.eyebrow--moss { color: var(--moss); }
.eyebrow--stone { color: var(--stone); }

.footnote {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  line-height: 1.75;
  color: rgba(201, 205, 210, 0.78);
}
.section--paper .footnote { color: var(--stone); }

.link-inline {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.link-inline:hover { color: var(--signal); text-decoration-thickness: 2px; }
.section--ink .link-inline,
.section--red .link-inline,
.section--subred .link-inline { color: var(--cyan); }

.rule { height: 1px; border: 0; margin: 0; background: var(--line-stone); }
.section--paper .rule { background: rgba(58, 63, 69, 0.28); }

/* 中文与数字混排：数字走等宽并留出 0.12em 间隙 */
.num, .data-anchor__value, .track__value, .index-list__num, .card__index {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.num { padding: 0 0.12em; }

/* ==========================================================================
   版心 / 分区 / 网格
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }
.container--wide { max-width: var(--maxw-wide); }

.section {
  position: relative;
  padding-block: clamp(56px, 8vw, 120px);
}
.section--ink { background: var(--ink); color: var(--grey-ink); }
.section--red { background: var(--red); color: var(--paper); }
.section--subred { background: var(--sub-red); color: var(--paper); }
.section--paper { background: var(--paper); color: #22262B; }
.section--top { padding-top: calc(96px + clamp(40px, 6vw, 88px)); }

.section--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(58, 63, 69, 0.4) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(to bottom, rgba(58, 63, 69, 0.28) 0 1px, transparent 1px 88px);
}
.section--grid > .container { position: relative; z-index: 1; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn--signal { background: var(--signal); color: var(--paper); }
.btn--signal:hover { background: #D8273D; transform: translateY(-1px); }
.btn--cyan { background: var(--cyan); color: var(--ink); }
.btn--cyan:hover { background: #7BF0E1; transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: rgba(242, 237, 228, 0.34); color: var(--paper); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--ink { background: transparent; border-color: var(--stone); color: #22262B; }
.btn--ink:hover { background: #22262B; color: var(--paper); border-color: #22262B; }
.btn--sm { padding: 9px 15px; font-size: 13px; }

/* ==========================================================================
   面包屑
   ========================================================================== */
.breadcrumbs { padding-block: 18px 0; }
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs__link { color: rgba(201, 205, 210, 0.75); text-decoration: none; }
.breadcrumbs__link:hover { color: var(--cyan); }
.breadcrumbs__sep { color: var(--stone); }
.breadcrumbs__current { color: var(--paper); }
.breadcrumbs--on-paper .breadcrumbs__link { color: rgba(58, 63, 69, 0.8); }
.breadcrumbs--on-paper .breadcrumbs__link:hover { color: var(--signal); }
.breadcrumbs--on-paper .breadcrumbs__sep { color: rgba(58, 63, 69, 0.45); }
.breadcrumbs--on-paper .breadcrumbs__current { color: #22262B; }

/* ==========================================================================
   数据锚点
   ========================================================================== */
.data-anchor {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
}
.data-anchor__value {
  font-size: clamp(42px, 7vw, 104px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.data-anchor__unit {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  opacity: 0.82;
}
.data-anchor__label {
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 42ch;
  opacity: 0.82;
}
.data-anchor--cyan { color: var(--cyan); }
.data-anchor--amber { color: var(--amber); }
.data-anchor--moss { color: var(--moss); }
.section--paper .data-anchor--cyan { color: var(--deep-cyan); }
.section--paper .data-anchor--amber { color: #B8760F; }

/* ==========================================================================
   卡片 / 标签
   ========================================================================== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.2vw, 28px);
  background: rgba(242, 237, 228, 0.035);
  border: 1px solid var(--line-stone);
  border-radius: var(--r-organic);
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease),
              background-color 0.22s var(--ease);
}
.card:hover { border-color: rgba(79, 227, 208, 0.5); transform: translateY(-2px); }
.card--paper { background: var(--paper); border-color: rgba(58, 63, 69, 0.28); color: #22262B; }
.card--paper:hover { border-color: var(--deep-cyan); }
.card--red { background: var(--red); border-color: rgba(196, 30, 51, 0.6); color: var(--paper); }
.card--flat:hover { transform: none; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__index {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}
.card--paper .card__index { color: var(--deep-cyan); }
.card__title {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.4;
}
.card__body { font-size: 14.5px; line-height: 1.75; opacity: 0.88; }
.card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.72;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  background: rgba(79, 227, 208, 0.08);
}
.tag--amber { color: var(--amber); background: rgba(232, 163, 61, 0.09); }
.tag--moss { color: var(--moss); background: rgba(111, 122, 82, 0.16); }
.tag--terracotta { color: var(--terracotta); background: rgba(169, 85, 60, 0.14); }
.tag--signal { color: var(--signal); background: rgba(196, 30, 51, 0.12); }
.section--paper .tag--moss { color: #4F5A34; }

/* ==========================================================================
   折叠组
   ========================================================================== */
.accordion { border-top: 1px solid var(--line-stone); }
.accordion__item { border-bottom: 1px solid var(--line-stone); }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: clamp(15.5px, 1.4vw, 18px);
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: color 0.18s var(--ease);
}
.accordion__trigger:hover { color: var(--cyan); }
.accordion__icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: currentColor;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.accordion__icon::before { left: 0; right: 0; top: 8.4px; height: 1.25px; }
.accordion__icon::after {
  top: 0; bottom: 0; left: 8.4px; width: 1.25px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.accordion__trigger[aria-expanded="true"] .accordion__icon::after {
  transform: scaleY(0);
  opacity: 0;
}
.accordion__panel { padding: 0 0 22px; max-width: 68ch; font-size: 15px; line-height: 1.8; opacity: 0.88; }
.section--paper .accordion,
.section--paper .accordion__item { border-color: rgba(58, 63, 69, 0.25); }
.section--paper .accordion__trigger:hover { color: var(--deep-cyan); }

/* ==========================================================================
   标签页
   ========================================================================== */
.tabs { display: flex; flex-direction: column; gap: 26px; }
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-stone);
}
.tabs__tab {
  padding: 8px 15px;
  background: none;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  opacity: 0.7;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), opacity 0.18s var(--ease);
}
.tabs__tab:hover { opacity: 1; border-color: rgba(79, 227, 208, 0.45); }
.tabs__tab[aria-selected="true"] { background: var(--signal); color: var(--paper); opacity: 1; }

/* ==========================================================================
   进度条 / 主客拆分条
   ========================================================================== */
.track { display: grid; gap: 8px; }
.track__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.track__bar {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(58, 63, 69, 0.55);
  overflow: hidden;
}
.track__fill {
  display: block;
  width: var(--fill, 0%);
  height: 100%;
  border-radius: 999px;
  background: var(--cyan);
  transition: width 0.6s var(--ease);
}
.track--amber .track__fill { background: var(--amber); }
.track--moss .track__fill { background: var(--moss); }
.track--signal .track__fill { background: var(--signal); }
.track__value { font-size: 12px; }

.split-bar { display: grid; gap: 8px; }
.split-bar__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; }
.split-bar__rail {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(58, 63, 69, 0.5);
}
.split-bar__seg { height: 100%; }
.split-bar__seg--home { background: var(--signal); }
.split-bar__seg--away { background: var(--moss); }
.split-bar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   时间轴
   ========================================================================== */
.timeline {
  display: grid;
  border-left: 1px solid var(--line-stone);
}
.timeline__item { position: relative; padding: 0 0 28px 26px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(79, 227, 208, 0.15);
}
.timeline__item--amber::before { background: var(--amber); box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.15); }
.timeline__item--muted::before { background: var(--stone); box-shadow: none; }
.timeline__stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}
.timeline__item--amber .timeline__stamp { color: var(--amber); }
.timeline__item--muted .timeline__stamp { color: var(--grey-ink); }
.timeline__title { margin: 6px 0 4px; font-size: 16px; font-weight: 600; }
.timeline__text { font-size: 14px; line-height: 1.7; opacity: 0.84; }
.section--paper .timeline { border-left-color: rgba(58, 63, 69, 0.25); }

/* ==========================================================================
   索引列表
   ========================================================================== */
.index-list { border-top: 1px solid var(--line-stone); }
.index-list__item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-stone);
  text-decoration: none;
  transition: background-color 0.18s var(--ease), padding-left 0.18s var(--ease);
}
a.index-list__item:hover { background: rgba(79, 227, 208, 0.06); padding-left: 10px; }
.index-list__num { font-size: 12px; letter-spacing: 0.14em; color: var(--cyan); }
.index-list__title { font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; }
.index-list__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; opacity: 0.7; }
.section--paper .index-list,
.section--paper .index-list__item { border-color: rgba(58, 63, 69, 0.24); }

/* ==========================================================================
   图片容器基础（页面阶段放入 <img class="media-frame__img">）
   ========================================================================== */
.media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line-stone);
  border-radius: var(--r-organic);
  background: var(--ink);
  isolation: isolate;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(58, 63, 69, 0.4) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(to bottom, rgba(58, 63, 69, 0.3) 0 1px, transparent 1px 56px);
}
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--3x4 { aspect-ratio: 3 / 4; }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame__inner { position: absolute; inset: 0; }
.media-frame__img { width: 100%; height: 100%; object-fit: cover; }
.media-frame__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 11px 16px;
  background: rgba(11, 13, 16, 0.84);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--grey-ink);
}

/* ==========================================================================
   显现动画
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   头部
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  background: rgba(11, 13, 16, 0.32);
  transition: background-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line-paper);
  opacity: 0;
  transition: opacity 0.18s var(--ease);
}
.site-header.is-solid {
  background: var(--red);
  box-shadow: 0 12px 32px rgba(11, 13, 16, 0.34);
}
.site-header.is-solid::after { opacity: 1; }
.site-header[data-open="true"] { background: var(--red); }

.scroll-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 2;
  background: rgba(58, 63, 69, 0.55);
  pointer-events: none;
}
.scroll-progress__bar { display: block; width: 0; height: 100%; background: var(--cyan); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  width: 100%;
  max-width: var(--maxw-wide);
  min-height: 84px;
  margin-inline: auto;
  padding: 14px var(--gutter);
  transition: min-height 0.18s var(--ease), padding 0.18s var(--ease);
}
.site-header.is-solid .site-header__inner { min-height: 78px; padding-block: 10px; }

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--paper);
  text-decoration: none;
}
.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1.25px solid var(--cyan);
  border-radius: 7px;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--signal);
  border-radius: 3px;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.01em;
}
.brand-line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(201, 205, 210, 0.85);
}

.season-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 5px 12px;
  border: 1px solid rgba(79, 227, 208, 0.42);
  border-radius: 999px;
  background: rgba(79, 227, 208, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.season-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.site-nav { margin-left: auto; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  counter-reset: navidx;
}
.site-nav__item { counter-increment: navidx; }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(242, 237, 228, 0.78);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.site-nav__link::before {
  content: counter(navidx, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  opacity: 0.75;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ease);
}
.site-nav__link:hover { color: var(--paper); background: rgba(242, 237, 228, 0.06); }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: var(--paper); }
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"]::before { color: var(--amber); opacity: 1; }

.nav-panel__meta { display: none; }

.header-utils {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.util-link {
  padding: 8px 12px;
  border: 1px solid rgba(242, 237, 228, 0.22);
  border-radius: 999px;
  color: rgba(201, 205, 210, 0.9);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
}
.util-link:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }

.nav-toggle {
  position: relative;
  display: none;
  flex: 0 0 auto;
  width: 46px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  background: rgba(242, 237, 228, 0.06);
  border: 1px solid rgba(242, 237, 228, 0.24);
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); }
.nav-toggle__bar {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 15px; }
.nav-toggle__bar:nth-child(2) { top: 20.4px; }
.nav-toggle__bar:nth-child(3) { top: 25.8px; }
.site-header[data-open="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(5.4px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-5.4px) rotate(-45deg); }

@media (max-width: 1279px) {
  .season-badge { display: none; }
}
@media (max-width: 1189px) {
  .header-utils .util-link { display: none; }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 28px;
  background: var(--ink);
  color: rgba(201, 205, 210, 0.86);
  border-top: 1px solid var(--line-soft);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(58, 63, 69, 0.55) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(to bottom, rgba(58, 63, 69, 0.35) 0 1px, transparent 1px 88px);
  opacity: 0.5;
}
.site-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(30px, 4vw, 54px);
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand__mark {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1.25px solid var(--cyan);
  border-radius: 8px;
}
.footer-brand__mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--signal);
  border-radius: 3px;
}
.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--paper);
  letter-spacing: 0.01em;
}
.footer-brand__line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}
.footer-brand__desc {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
}

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}
.footer-col__title::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--cyan);
}
.footer-list { display: grid; gap: 9px; margin-top: 14px; }
.footer-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: rgba(201, 205, 210, 0.86);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-link:hover { color: var(--paper); border-bottom-color: var(--signal); }
.footer-col__note { margin-top: 14px; font-size: 14px; line-height: 1.78; }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px 32px;
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-row { display: grid; gap: 6px; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}
.contact-value { color: var(--paper); font-size: 15px; font-weight: 500; letter-spacing: 0.01em; }
.footer-contact__note {
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(201, 205, 210, 0.72);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  font-size: 12.5px;
}
.footer-legal {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: rgba(201, 205, 210, 0.72);
}
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal__link {
  color: rgba(201, 205, 210, 0.86);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-legal__link:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.footer-signature { color: rgba(201, 205, 210, 0.72); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1023px) {
  body.is-nav-open { overflow: hidden; }

  .nav-toggle { display: block; }

  .site-header__inner { min-height: 72px; padding-block: 12px; }
  .site-header.is-solid .site-header__inner { min-height: 68px; }

  .header-utils { display: none; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    padding: 10px var(--gutter) 24px;
    background: var(--sub-red);
    border-top: 1px solid rgba(79, 227, 208, 0.2);
    border-bottom: 1px solid var(--line-stone);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .site-header[data-open="true"] .site-nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__item { width: 100%; }
  .site-nav__link {
    width: 100%;
    padding: 15px 4px;
    border-bottom: 1px solid rgba(58, 63, 69, 0.7);
    border-radius: 0;
    font-size: 17px;
  }
  .site-nav__link::after { left: 4px; right: auto; width: 56px; bottom: 9px; }
  .site-nav__link:hover { background: rgba(242, 237, 228, 0.05); }

  .nav-panel__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed rgba(79, 227, 208, 0.3);
  }
  .nav-panel__link {
    color: rgba(201, 205, 210, 0.9);
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-decoration: none;
    border-bottom: 1px solid rgba(79, 227, 208, 0.4);
    padding-bottom: 2px;
  }
  .nav-panel__link:hover { color: var(--cyan); }
  .nav-panel__cta { margin-left: auto; }

  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }

  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
  .col-1, .col-2, .col-3, .col-4 { grid-column: span 3; }
  .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { grid-column: span 6; }
}

@media (max-width: 767px) {
  :root { --gutter: 5vw; --r-organic: 20px; }

  .site-header__inner { min-height: 66px; padding-block: 11px; }
  .site-header.is-solid .site-header__inner { min-height: 62px; }
  .brand-name { font-size: 17px; }
  .brand-line { font-size: 9.5px; letter-spacing: 0.12em; }
  .site-nav { max-height: calc(100dvh - 66px); }

  .section--top { padding-top: calc(88px + 40px); }

  .index-list__item { grid-template-columns: 44px 1fr; row-gap: 6px; }
  .index-list__meta { grid-column: 2 / -1; }

  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { grid-column: span 2; }

  .data-anchor__value { font-size: clamp(40px, 13vw, 64px); }
  .media-frame { border-radius: var(--r-organic-sm); }
}

/* ==========================================================================
   动效可及性
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.12s !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
  .btn:hover { transform: none; }
  .track__fill { transition: none; }
}
