/* ==========================================================================
   星空体育 · 星图数据档案 — 共享样式 /assets/site.css
   深空底 / 轨道分屏 / 极细边界 / 星图数据
   ========================================================================== */

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

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

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { 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; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
input, select, textarea { font: inherit; }

/* ---------- 变量 ---------- */
:root {
  --deep-space: #060913;
  --navy-deck: #0C1226;
  --ice-line: #1E2740;
  --nebula: #6C4BF4;
  --cygnus: #34E0FF;
  --star-mist: #B9C6E4;
  --ink-white: #F2F5FF;
  --amber: #F5B841;
  --signal-red: #FF4D5E;
  --veil: rgba(185, 198, 228, 0.12);

  --font-display: 'Barlow Condensed', 'Oswald', 'Roboto Condensed', 'Helvetica Neue', system-ui, sans-serif;
  --font-head: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-body: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;

  --shell-max: 1280px;
  --gutter: clamp(18px, 4vw, 52px);
  --dur: 220ms;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 天幕：星点与星云辉光 ---------- */
body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background-color: var(--deep-space);
  color: var(--star-mist);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(900px 620px at 84% -8%, rgba(108, 75, 244, 0.24), transparent 70%),
    radial-gradient(760px 520px at 2% 108%, rgba(52, 224, 255, 0.10), transparent 72%);
  background-repeat: no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(1px 1px at 24px 32px, rgba(185, 198, 228, 0.60), transparent 55%),
    radial-gradient(1px 1px at 142px 96px, rgba(52, 224, 255, 0.45), transparent 55%),
    radial-gradient(1px 1px at 262px 188px, rgba(242, 245, 255, 0.50), transparent 55%),
    radial-gradient(1px 1px at 62px 252px, rgba(185, 198, 228, 0.40), transparent 55%),
    radial-gradient(1px 1px at 308px 42px, rgba(185, 198, 228, 0.35), transparent 55%);
  background-size: 340px 340px;
  background-repeat: repeat;
}

main { position: relative; z-index: 1; display: block; }

::selection { background: rgba(108, 75, 244, 0.45); color: var(--ink-white); }

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

/* ---------- 中文排版 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink-white);
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 5.4vw, 64px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 28px); }
h4 { font-size: clamp(17px, 1.6vw, 21px); }

p { text-wrap: pretty; }

[data-year] { font-variant-numeric: tabular-nums; }

/* ---------- 通用容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.stack > * + * { margin-top: 1rem; }

.drift { margin-top: var(--drift, 0); }

/* ---------- 分屏系统 ---------- */
.split {
  display: grid;
  gap: clamp(1.5rem, 3.4vw, 3.2rem);
  align-items: start;
}
.split--5-7 { grid-template-columns: 5fr 7fr; }
.split--7-5 { grid-template-columns: 7fr 5fr; }
.split--toc { grid-template-columns: minmax(180px, 3fr) 9fr; }

.orbit-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.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; }

/* ---------- 章节与文字 ---------- */
.section { padding: clamp(2.8rem, 7vw, 6rem) 0; }
.section--deck {
  background: var(--navy-deck);
  border-top: 1px solid var(--ice-line);
  border-bottom: 1px solid var(--ice-line);
}
.section__title { font-family: var(--font-head); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cygnus);
}

.lede {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.85;
  color: var(--star-mist);
  max-width: 46ch;
}

.prose { max-width: 66ch; color: var(--star-mist); }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--ink-white); font-weight: 700; }

/* ---------- 装饰：轨道轴与扫线 ---------- */
.orbit-axis { position: relative; }
.orbit-axis::before {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  top: var(--axis-top, 42%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nebula), var(--cygnus), transparent);
  opacity: 0.5;
  transform: rotate(-8deg);
  transform-origin: center;
  pointer-events: none;
}

.sweep { position: relative; overflow: hidden; }
.sweep::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(52, 224, 255, 0.45), transparent);
  transform: translateX(-130%);
}
.sweep.is-swept::after { animation: sweep-pass 900ms cubic-bezier(0.2, 0.7, 0.3, 1) 1; }

@keyframes sweep-pass {
  from { transform: translateX(-130%); }
  to { transform: translateX(430%); }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--ice-line);
  background: transparent;
  color: var(--ink-white);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn--primary {
  border-color: transparent;
  color: var(--ink-white);
  background-image: linear-gradient(115deg, var(--nebula), #2F6BF0 62%, var(--cygnus));
}
.btn--ghost { color: var(--star-mist); }
.btn--quiet { border-color: transparent; padding-left: 0; padding-right: 0; color: var(--cygnus); }

.btn:hover { transform: translateY(-1px); }
.btn--primary:hover { box-shadow: 0 8px 26px rgba(108, 75, 244, 0.35); }
.btn--ghost:hover { color: var(--ink-white); border-color: var(--cygnus); }
.btn--quiet:hover { color: var(--ink-white); }

/* ---------- 面包屑 ---------- */
.crumb {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--ice-line);
}
.crumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--star-mist);
}
.crumb__item { display: inline-flex; align-items: center; gap: 0.6rem; }
.crumb__item::after { content: "/"; color: var(--ice-line); }
.crumb__item:last-child::after { content: ""; }
.crumb__link:hover { color: var(--cygnus); }
.crumb__current { color: var(--ink-white); }

/* ---------- 标签与状态 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.6rem;
  border: 1px solid var(--ice-line);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--star-mist);
}
.tag--cyan { color: var(--cygnus); border-color: rgba(52, 224, 255, 0.35); background: rgba(52, 224, 255, 0.07); }
.tag--amber { color: var(--amber); border-color: rgba(245, 184, 65, 0.40); background: rgba(245, 184, 65, 0.08); }
.tag--red { color: var(--ink-white); border-color: var(--signal-red); background: rgba(255, 77, 94, 0.16); }

.state {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--star-mist);
}
.state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cygnus);
}
.state--archived::before { background: var(--cygnus); box-shadow: 0 0 8px rgba(52, 224, 255, 0.6); }
.state--pending::before { background: var(--amber); }
.state--review::before { background: var(--signal-red); }

/* ---------- 统计锚点 ---------- */
.stat { display: flex; flex-direction: column; gap: 0.45rem; }
.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--ink-white);
  font-variant-numeric: tabular-nums;
}
.stat__unit {
  font-size: 0.34em;
  margin-left: 0.28em;
  letter-spacing: 0.12em;
  color: var(--star-mist);
}
.stat__label {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--star-mist);
}

/* ---------- 面板 ---------- */
.panel {
  background: var(--navy-deck);
  border: 1px solid var(--ice-line);
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
}
.panel--veil { background-image: linear-gradient(160deg, var(--veil), transparent 62%); }
.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.7rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--ice-line);
}
.panel__title { font-family: var(--font-head); font-size: 17px; letter-spacing: 0.04em; color: var(--ink-white); }
.panel__meta { font-family: var(--font-head); font-size: 13px; letter-spacing: 0.1em; color: var(--star-mist); }

/* ---------- 表格 ---------- */
.table-scroll {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--ice-line);
  -webkit-overflow-scrolling: touch;
}
.data-table { width: 100%; min-width: 660px; font-size: 15px; }
.data-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0.75rem 1rem;
  background: var(--navy-deck);
  border-bottom: 1px solid var(--ice-line);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--star-mist);
  text-align: left;
  white-space: nowrap;
}
.data-table tbody td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(30, 39, 64, 0.75);
  color: var(--ink-white);
}
.data-table tbody tr:nth-child(odd) td { background: var(--deep-space); }
.data-table tbody tr:nth-child(even) td { background: #0A1122; }
.data-table tbody tr:hover td { background: #131C36; }
.data-table th:first-child,
.data-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: 1px 0 0 var(--ice-line);
}
.data-table thead th:first-child { z-index: 3; }

.num {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--cygnus);
  font-variant-numeric: tabular-nums;
}

.table-hint {
  display: none;
  margin-top: 0.55rem;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--star-mist);
}

/* ---------- 图片容器 ---------- */
.figure { display: flex; flex-direction: column; gap: 0.7rem; }
.figure__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--ice-line);
  background-color: #080D1A;
  background-image: linear-gradient(140deg, rgba(108, 75, 244, 0.22), rgba(6, 9, 19, 0.10) 46%, rgba(52, 224, 255, 0.14));
}
.figure__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) brightness(0.82);
}
.figure__media--16x9 { aspect-ratio: 16 / 9; }
.figure__media--4x3 { aspect-ratio: 4 / 3; }
.figure__media--1x1 { aspect-ratio: 1 / 1; }
.figure__media--pitch { aspect-ratio: 21 / 9; }
.figure__media--pitch::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
  background-image:
    repeating-linear-gradient(90deg, rgba(185, 198, 228, 0.14) 0 1px, transparent 1px 12.5%),
    repeating-linear-gradient(0deg, rgba(185, 198, 228, 0.10) 0 1px, transparent 1px 25%),
    linear-gradient(90deg, transparent 49.6%, rgba(52, 224, 255, 0.65) 49.6%, rgba(52, 224, 255, 0.65) 50.4%, transparent 50.4%);
}
.figure__caption { font-size: 13px; color: var(--star-mist); letter-spacing: 0.04em; }

/* ---------- 章节目录 ---------- */
.toc { position: sticky; top: 6rem; font-family: var(--font-head); font-size: 14px; }
.toc__title {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--star-mist);
  margin-bottom: 0.9rem;
}
.toc__list { display: flex; flex-direction: column; border-left: 1px solid var(--ice-line); }
.toc__link {
  position: relative;
  display: block;
  padding: 0.4rem 0 0.4rem 0.9rem;
  color: var(--star-mist);
  transition: color var(--dur) var(--ease);
}
.toc__link::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--cygnus);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--dur) var(--ease);
}
.toc__link:hover { color: var(--ink-white); }
.toc__link[aria-current="true"] { color: var(--ink-white); }
.toc__link[aria-current="true"]::before { transform: scaleY(1); }

/* ---------- 显现 ---------- */
.reveal--armed {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.reveal--armed.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   页头：居中刊头 + 栏目轨道 + 口径细带
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--deep-space);
  border-bottom: 1px solid var(--ice-line);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-condensed { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5); }

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 60;
  padding: 0.7rem 1.1rem;
  background: var(--cygnus);
  color: #04121A;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transform: translateY(-140%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  display: block;
  width: 100%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--nebula), var(--cygnus));
  transform: scaleX(0);
  transform-origin: left center;
}

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

.masthead__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0 1rem;
}

.masthead__utility {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-self: start;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--star-mist);
}
.masthead__utility a {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ice-line);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.masthead__utility a:hover { color: var(--cygnus); border-color: var(--cygnus); }

.masthead__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  justify-self: center;
  text-align: center;
}
.masthead__mark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: 0.16em;
  line-height: 1.1;
  color: var(--ink-white);
}
.masthead__mark::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: var(--cygnus);
  box-shadow: 0 0 12px var(--cygnus);
}
.masthead__sub {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--star-mist);
}

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-self: end;
}
.masthead__motto {
  display: none;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--star-mist);
  white-space: nowrap;
}
.masthead__cta { letter-spacing: 0.14em; }

.masthead__navrow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-top: 1px solid var(--ice-line);
}
.masthead__nav {
  display: flex;
  justify-content: center;
  width: 100%;
}
.nav-orbit {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}
.nav-orbit__item { display: flex; }
.nav-orbit__item + .nav-orbit__item { border-left: 1px solid var(--ice-line); }
.nav-orbit__link {
  position: relative;
  display: block;
  padding: 0.9rem 1.4rem;
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--star-mist);
  transition: color var(--dur) var(--ease);
}
.nav-orbit__link::after {
  content: "";
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 0.55rem;
  height: 1px;
  background: linear-gradient(90deg, var(--cygnus), var(--nebula));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.nav-orbit__link:hover { color: var(--ink-white); }
.nav-orbit__link:hover::after,
.nav-orbit__link[aria-current="page"]::after { transform: scaleX(1); }
.nav-orbit__link[aria-current="page"] { color: var(--ink-white); }
.nav-orbit__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--cygnus);
  box-shadow: 0 0 10px var(--cygnus);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--ice-line);
  color: var(--star-mist);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.16em;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav-toggle:hover { color: var(--ink-white); border-color: var(--cygnus); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--ice-line);
  background: linear-gradient(90deg, rgba(12, 18, 38, 0.9), rgba(6, 9, 19, 0.72) 60%, rgba(12, 18, 38, 0.9));
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 42s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding: 0.55rem 1.1rem;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--star-mist);
  white-space: nowrap;
}
.ticker__item::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cygnus);
  opacity: 0.85;
  box-shadow: 0 0 8px var(--cygnus);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 折叠态：品牌在左、口径缩写与栏目在右 */
.site-header.is-condensed .masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.4rem);
}
.site-header.is-condensed .masthead__top {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.85rem 0;
}
.site-header.is-condensed .masthead__utility { display: none; }
.site-header.is-condensed .masthead__brand {
  flex-direction: row;
  align-items: baseline;
  gap: 0.7rem;
  text-align: left;
}
.site-header.is-condensed .masthead__mark { font-size: 20px; letter-spacing: 0.14em; }
.site-header.is-condensed .masthead__mark::before { width: 6px; height: 6px; margin-right: 0.5rem; }
.site-header.is-condensed .masthead__sub { display: none; }
.site-header.is-condensed .masthead__motto { display: inline-block; }
.site-header.is-condensed .masthead__cta { display: none; }
.site-header.is-condensed .masthead__navrow {
  flex: 1 1 auto;
  justify-content: flex-end;
  border-top: 0;
}
.site-header.is-condensed .masthead__nav { justify-content: flex-end; }
.site-header.is-condensed .ticker { display: none; }

/* ==========================================================================
   页脚：轨道缝合线 + 五列网格 + 落款
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(3rem, 6vw, 6rem);
  background: var(--navy-deck);
  border-top: 1px solid var(--ice-line);
  color: var(--star-mist);
  font-size: 15px;
}
.site-footer__axis {
  position: absolute;
  left: -5%;
  right: -5%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nebula), var(--cygnus), transparent);
  opacity: 0.55;
  transform: rotate(-1.2deg);
  transform-origin: left center;
  pointer-events: none;
}
.site-footer__inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 4rem) var(--gutter) clamp(1.2rem, 2vw, 2rem);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.7fr) repeat(3, minmax(130px, 1fr)) minmax(230px, 1.5fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
}

.site-footer__brandcol { min-width: 0; }
.site-footer__mark {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-white);
}
.site-footer__sub {
  margin-top: 0.35rem;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--star-mist);
}
.site-footer__desc {
  margin-top: 1rem;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--star-mist);
}
.site-footer__cross {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.cross-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--ice-line);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--star-mist);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cross-link::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cygnus);
}
.cross-link:hover { color: var(--ink-white); border-color: var(--cygnus); }

.footer-col { min-width: 0; }
.footer-col__title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-white);
  margin-bottom: 0.9rem;
}
.footer-col__list { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-link {
  font-size: 14px;
  color: var(--star-mist);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer-link:hover { color: var(--cygnus); border-color: rgba(52, 224, 255, 0.5); }

.footer-contact { min-width: 0; }
.footer-contact__list { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-contact__row {
  display: grid;
  grid-template-columns: 5.2em 1fr;
  gap: 0.6rem;
  align-items: baseline;
}
.footer-contact__row dt {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--star-mist);
  opacity: 0.85;
}
.footer-contact__row dd {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-white);
  word-break: break-word;
}
.footer-contact__note {
  margin-top: 0.9rem;
  font-size: 13px;
  line-height: 1.75;
  color: var(--star-mist);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  justify-content: space-between;
  margin-top: clamp(1.8rem, 4vw, 3rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--ice-line);
}
.legal-text {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--star-mist);
}

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 32px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: rgba(12, 18, 38, 0.94);
  border: 1px solid var(--ice-line);
  color: var(--star-mist);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.16em;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.to-top:hover { color: var(--ink-white); border-color: var(--cygnus); transform: translateY(-2px); }
.to-top[hidden] { display: none; }
.to-top__arrow { color: var(--cygnus); font-size: 13px; line-height: 1; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brandcol { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .split--5-7,
  .split--7-5,
  .split--toc { grid-template-columns: 1fr; }
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: 1 / -1; }
  .toc { position: static; }

  .masthead__top {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 0 0.7rem;
  }
  .masthead__utility { display: none; }
  .masthead__brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-items: flex-start;
    text-align: left;
  }
  .masthead__mark { font-size: 20px; letter-spacing: 0.12em; }
  .masthead__mark::before { width: 6px; height: 6px; margin-right: 0.5rem; }
  .masthead__sub { font-size: 11px; letter-spacing: 0.18em; }
  .masthead__actions { grid-column: 2; grid-row: 1; justify-self: end; }
  .masthead__motto { display: none; }
  .masthead__cta { padding: 0.55rem 0.8rem; font-size: 11px; letter-spacing: 0.12em; }

  .masthead__navrow { flex-direction: column; align-items: stretch; }
  .nav-toggle { display: inline-flex; align-self: flex-end; margin: 0.35rem 0; }
  .masthead__nav { display: none; width: 100%; }
  .masthead__nav[data-open] { display: block; padding-bottom: 0.6rem; }
  .nav-orbit { flex-direction: column; align-items: stretch; }
  .nav-orbit__item + .nav-orbit__item { border-left: 0; border-top: 1px solid var(--ice-line); }
  .nav-orbit__link { padding: 0.85rem 0.2rem; font-size: 16px; }
  .nav-orbit__link::after { left: 0.2rem; right: 50%; }
  .nav-orbit__link[aria-current="page"]::before { left: auto; right: 0.2rem; margin-left: 0; }

  .ticker { display: none; }

  .site-header.is-condensed .masthead { display: block; }
  .site-header.is-condensed .masthead__top {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 0.9rem 0 0.7rem;
  }
  .site-header.is-condensed .masthead__brand {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .site-header.is-condensed .masthead__mark { font-size: 20px; }
  .site-header.is-condensed .masthead__sub { display: block; }
  .site-header.is-condensed .masthead__cta { display: inline-flex; }
  .site-header.is-condensed .masthead__navrow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    border-top: 1px solid var(--ice-line);
  }
  .site-header.is-condensed .masthead__nav { justify-content: flex-start; }

  .table-hint { display: block; }
  .data-table { min-width: 560px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .site-footer__legal { flex-direction: column; }
  .footer-contact__row { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* ==========================================================================
   动效降级
   ========================================================================== */
@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;
  }
  .ticker__track { animation: none; }
  .sweep::after { display: none; }
  .reveal--armed { opacity: 1; transform: none; }
  .to-top:hover,
  .btn:hover { transform: none; }
}
