/* ==========================================================================
   浩瀚体育赛事 · 共享样式表 /assets/site.css
   夜场墨蓝底 + 荧光青绿路径 + 赛道橙状态 · 数据叙事型布局
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- 2. Variables ---------- */
:root {
  --ink-950: #070C18;
  --ink-900: #0E1730;
  --navy-700: #1B2748;
  --cyan-400: #22E6B8;
  --orange-500: #FF6A2B;
  --timer-white: #FFFFFF;
  --text-100: #E8EDF5;
  --grey-400: #93A0B8;
  --line-600: #5B6780;
  --teal-900: #0B3A38;

  --bg: var(--ink-950);
  --surface: var(--ink-900);
  --surface-2: var(--navy-700);
  --fg: var(--text-100);
  --fg-muted: var(--grey-400);
  --border: rgba(91, 103, 128, .40);
  --border-soft: rgba(91, 103, 128, .22);
  --accent: var(--cyan-400);
  --accent-2: var(--orange-500);

  --font-display: "HarmonyOS Sans SC Condensed", "Source Han Sans SC Narrow", "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 44px);
  --shell: 1240px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;
  --shadow: 0 16px 40px rgba(3, 7, 16, .55);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 116px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-950);
  background-image:
    radial-gradient(1200px 620px at 84% -8%, rgba(34, 230, 184, .10), transparent 62%),
    radial-gradient(900px 520px at 2% 6%, rgba(255, 106, 43, .075), transparent 60%),
    radial-gradient(rgba(147, 160, 184, .15) 1px, transparent 1.3px);
  background-size: cover, cover, 34px 34px;
  background-repeat: no-repeat, no-repeat, repeat;
  background-attachment: fixed, fixed, fixed;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .005em;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--timer-white);
}
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h4 { font-size: 1.0625rem; }
p { text-wrap: pretty; }
strong { font-weight: 700; color: var(--timer-white); }
::selection { background: rgba(34, 230, 184, .3); color: var(--timer-white); }

.display-1 { font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1.02; letter-spacing: -.02em; font-weight: 800; color: var(--timer-white); }
.page-title { font-family: var(--font-display); font-size: clamp(2.25rem, 4.6vw, 3rem); line-height: 1.06; letter-spacing: -.02em; color: var(--timer-white); }
.section-title { font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.15; color: var(--timer-white); }
.lede { font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.75; color: var(--grey-400); max-width: 62ch; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan-400);
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.mono-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.divider { height: 1px; border: 0; background: linear-gradient(90deg, transparent, rgba(91, 103, 128, .55) 22%, rgba(91, 103, 128, .55) 78%, transparent); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
#main-content { display: block; scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- 4. 容器与网格 ---------- */
.container { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { position: relative; padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(28px, 4vw, 52px); }
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--asym { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
@media (max-width: 1100px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--asym { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 5. 跳过链接 ---------- */
.skip-link {
  position: fixed; top: 10px; left: 12px; z-index: 200;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--cyan-400); color: #04211A; font-weight: 700; font-size: 14px;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 6. 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  padding: 10px var(--gutter);
  background: rgba(7, 12, 24, .84);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid rgba(91, 103, 128, .28);
  transition: padding .24s var(--ease), background .24s var(--ease);
}
.site-header.is-condensed { padding-top: 6px; padding-bottom: 6px; background: rgba(7, 12, 24, .95); }
.site-header__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: rgba(91, 103, 128, .22); overflow: hidden; pointer-events: none;
}
.site-header__progress-bar {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cyan-400), var(--orange-500));
}
.site-header__grid {
  max-width: var(--shell); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 12px; min-height: 46px;
}
.site-header__utility {
  max-width: var(--shell); margin: 8px auto 0;
  display: flex; align-items: center; gap: 10px;
}

/* 导航浮岛 */
.nav-island { grid-column: 1; grid-row: 1; min-width: 0; }
.nav-island__list {
  display: flex; align-items: center; gap: 2px;
  padding: 5px; border-radius: var(--r-pill);
  background: rgba(14, 23, 48, .88);
  border: 1px solid rgba(91, 103, 128, .36);
  box-shadow: var(--shadow);
}
.nav-island__link {
  display: block; padding: 8px 15px; border-radius: var(--r-pill);
  font-size: 14px; line-height: 1.4; color: var(--grey-400); white-space: nowrap;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-island__link:hover { color: var(--text-100); background: rgba(27, 39, 72, .95); }
.nav-island__link[aria-current="page"] {
  color: #04211A; background: var(--cyan-400); font-weight: 700;
}
.nav-island__link[aria-current="page"]:hover { color: #04211A; background: #4ff3cb; }

/* 品牌浮岛 */
.brand-island {
  grid-column: 2; grid-row: 1; justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 15px 6px 7px; border-radius: var(--r-pill);
  background: rgba(14, 23, 48, .88);
  border: 1px solid rgba(91, 103, 128, .36);
  box-shadow: var(--shadow);
  transition: border-color .2s var(--ease);
}
.brand-island:hover { border-color: rgba(34, 230, 184, .55); }
.brand-island__mark {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 10px;
  background: linear-gradient(150deg, var(--cyan-400), #0d8f76 58%, #103c6b);
}
.brand-island__mark::after {
  content: ""; position: absolute; right: 5px; bottom: 5px;
  width: 9px; height: 9px; border-radius: 2px; background: var(--orange-500);
}
.brand-island__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-island__name { font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: .01em; color: var(--timer-white); }
.brand-island__line { font-size: 11px; letter-spacing: .09em; color: var(--grey-400); }
.brand-island--footer { box-shadow: none; background: rgba(14, 23, 48, .72); }

/* 移动菜单按钮 */
.nav-toggle {
  grid-column: 1; grid-row: 1; justify-self: start;
  display: none; align-items: center; gap: 9px;
  padding: 9px 16px 9px 13px; border-radius: var(--r-pill);
  border: 1px solid rgba(91, 103, 128, .42);
  background: rgba(14, 23, 48, .92); color: var(--text-100); font-size: 13.5px;
  transition: border-color .2s var(--ease);
}
.nav-toggle:hover { border-color: rgba(34, 230, 184, .6); }
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 3px; }
.nav-toggle__bars i { display: block; width: 15px; height: 2px; border-radius: 2px; background: var(--cyan-400); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle__label { letter-spacing: .06em; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 检索入口与状态点 */
.search-pill {
  flex: 1 1 auto; min-width: 0; max-width: 430px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: var(--r-pill);
  border: 1px dashed rgba(91, 103, 128, .55);
  background: rgba(14, 23, 48, .62);
  color: var(--grey-400); font-size: 13.5px;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.search-pill:hover { border-color: var(--cyan-400); color: var(--text-100); background: rgba(27, 39, 72, .8); }
.search-pill__icon { position: relative; flex: none; width: 13px; height: 13px; border: 2px solid currentColor; border-radius: 50%; }
.search-pill__icon::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 7px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.search-pill__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-dot {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: 12.5px; letter-spacing: .04em; color: var(--cyan-400);
  background: rgba(11, 58, 56, .62); border: 1px solid rgba(34, 230, 184, .32);
}
.status-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 3px rgba(34, 230, 184, .18); }
.status-dot.is-pulse i { animation: pulseDot .7s var(--ease) 1; }
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 230, 184, .55); }
  100% { box-shadow: 0 0 0 10px rgba(34, 230, 184, 0); }
}

/* 页头响应式：胶囊导航折叠为底部横向滚动条 */
@media (max-width: 1100px) {
  .nav-island__link { padding: 8px 11px; font-size: 13.5px; }
  .search-pill { max-width: 340px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-island {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    transform: translateY(150%); opacity: 0; visibility: hidden;
    transition: transform .28s var(--ease), opacity .22s var(--ease), visibility .28s linear;
  }
  .nav-island[data-open] { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-island__list {
    flex-wrap: nowrap; gap: 6px; padding: 8px;
    overflow-x: auto; scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .nav-island__list::-webkit-scrollbar { height: 4px; }
  .nav-island__list::-webkit-scrollbar-thumb { background: rgba(34, 230, 184, .4); border-radius: 4px; }
  .nav-island__link { padding: 10px 16px; font-size: 14.5px; scroll-snap-align: center; }
  .site-header__utility { flex-wrap: wrap; }
  .brand-island__line { display: none; }
}
@media (max-width: 640px) {
  .search-pill { flex: 1 1 100%; max-width: none; }
  .status-dot { display: none; }
  .btn--app { padding: 9px 15px; font-size: 13px; }
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 14px; font-weight: 700; line-height: 1.3; white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--cyan-400); color: #04211A; }
.btn--primary:hover { background: #4ff3cb; }
.btn--ghost { border-color: var(--border); color: var(--text-100); background: rgba(14, 23, 48, .6); }
.btn--ghost:hover { border-color: var(--cyan-400); color: var(--cyan-400); }
.btn--app { background: var(--orange-500); color: #220B02; flex: none; }
.btn--app:hover { background: #ff8351; }
.btn--subscribe { background: rgba(27, 39, 72, .9); border-color: var(--border); color: var(--text-100); }
.btn--subscribe:hover { border-color: var(--orange-500); color: #ffb08c; }
.btn--subscribe[data-subscribed="true"] {
  background: rgba(11, 58, 56, .85); border-color: rgba(34, 230, 184, .5); color: var(--cyan-400);
}
.btn--subscribe.is-pulse { animation: pulseDot .7s var(--ease) 1; }

/* ---------- 8. 通用内容组件 ---------- */
/* 编号章节 */
.chapter { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(14px, 3vw, 34px); align-items: start; }
.chapter__num {
  font-family: var(--font-mono); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1;
  color: rgba(34, 230, 184, .2);
  -webkit-text-stroke: 1px rgba(34, 230, 184, .55);
  transition: color .28s var(--ease);
}
[data-section].is-active .chapter__num { color: var(--cyan-400); -webkit-text-stroke-color: var(--cyan-400); }
.chapter__body { min-width: 0; }
@media (max-width: 620px) { .chapter { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* 卡片 */
.card {
  position: relative;
  padding: clamp(16px, 2.4vw, 26px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(27, 39, 72, .92), rgba(14, 23, 48, .92));
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { border-color: rgba(34, 230, 184, .42); }
.card--ghost { background: rgba(14, 23, 48, .6); }
.card--cut { clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); border-radius: var(--r-lg) 0 var(--r-lg) var(--r-lg); }
.card__label { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-400); }
.card__value { font-family: var(--font-mono); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--timer-white); line-height: 1.15; }

/* 数据矩阵 */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--r-md); overflow: hidden; }
.stat { padding: 16px 18px; background: rgba(14, 23, 48, .82); }
.stat__value { font-family: var(--font-mono); font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.1; color: var(--timer-white); font-variant-numeric: tabular-nums; }
.stat__unit { font-size: .55em; margin-left: 4px; color: var(--grey-400); }
.stat__label { margin-top: 6px; font-size: 12.5px; letter-spacing: .08em; color: var(--grey-400); }

/* 时间轴 */
.timeline { position: relative; padding-left: 6px; }
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, var(--cyan-400), rgba(91, 103, 128, .3));
}
.timeline__item { position: relative; padding: 0 0 22px 40px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__node {
  position: absolute; left: 0; top: .45em; width: 23px; height: 23px; border-radius: 50%;
  border: 1px solid var(--line-600); background: var(--ink-900);
}
.timeline__item--live .timeline__node { border-color: var(--orange-500); box-shadow: 0 0 0 4px rgba(255, 106, 43, .16); }
.timeline__time { font-family: var(--font-mono); font-size: 14px; color: var(--cyan-400); font-variant-numeric: tabular-nums; }
.timeline__body { margin-top: 2px; }

/* 筛选胶囊 */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.chips::-webkit-scrollbar { height: 4px; }
.chips::-webkit-scrollbar-thumb { background: rgba(91, 103, 128, .5); border-radius: 4px; }
.chip {
  flex: none; padding: 7px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: rgba(14, 23, 48, .6);
  font-size: 13.5px; color: var(--grey-400); white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.chip:hover { color: var(--text-100); border-color: var(--line-600); }
.chip[aria-pressed="true"], .chip.is-active {
  color: var(--cyan-400); border-color: var(--cyan-400); background: rgba(34, 230, 184, .13);
}

/* 数据表 */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: rgba(14, 23, 48, .72); }
.data-table { width: 100%; min-width: 520px; font-size: 14px; line-height: 1.6; }
.data-table th {
  position: sticky; top: 0; z-index: 1;
  padding: 12px 14px; text-align: left; white-space: nowrap;
  background: #101A33; color: var(--grey-400);
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border-soft); color: var(--text-100); }
.data-table tbody tr:nth-child(odd) { background: rgba(27, 39, 72, .42); }
.data-table tbody tr:hover { background: rgba(34, 230, 184, .08); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--timer-white); }

/* 折叠问答 */
.accordion { border: 1px solid var(--border); border-radius: var(--r-md); background: rgba(14, 23, 48, .66); overflow: hidden; }
.accordion + .accordion { margin-top: 10px; }
.accordion summary { display: flex; align-items: center; gap: 12px; padding: 15px 18px; font-weight: 700; color: var(--text-100); cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; margin-left: auto; font-family: var(--font-mono); font-size: 16px; color: var(--cyan-400); }
.accordion[open] summary::after { content: "–"; }
.accordion[open] summary { border-bottom: 1px solid var(--border-soft); }
.accordion__body { padding: 14px 18px 18px; font-size: 15px; line-height: 1.75; color: var(--grey-400); }

/* 图片容器（页面阶段放 <img> 占位） */
.media {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--border);
  background: linear-gradient(150deg, #16224a, #0a1128);
  aspect-ratio: 16 / 9;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(34, 230, 184, .12), transparent 42%, rgba(255, 106, 43, .1));
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media__badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  padding: 5px 12px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  color: var(--cyan-400); background: rgba(7, 12, 24, .78); border: 1px solid rgba(34, 230, 184, .35);
}

/* 面包屑 */
.breadcrumbs { font-size: 12.5px; letter-spacing: .04em; color: var(--grey-400); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line-600); }
.breadcrumbs a:hover { color: var(--cyan-400); }
.breadcrumbs [aria-current="page"] { color: var(--text-100); }

/* 长文正文 */
.prose { max-width: 72ch; }
.prose p + p { margin-top: 1em; }
.prose h2 { margin: 2em 0 .6em; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose ul, .prose ol { margin-top: .8em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--cyan-400); border-bottom: 1px solid rgba(34, 230, 184, .4); }

/* 左侧章节轨道 */
.scroll-rail {
  position: fixed; left: clamp(8px, 1.2vw, 20px); top: 50%; transform: translateY(-50%);
  z-index: 40; display: none; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-rail__tick {
  display: block; width: 2px; height: 16px; border-radius: 2px;
  background: rgba(91, 103, 128, .5);
  transition: height .24s var(--ease), background-color .24s var(--ease), box-shadow .24s var(--ease);
}
.scroll-rail__tick.is-active { height: 28px; background: var(--cyan-400); box-shadow: 0 0 0 3px rgba(34, 230, 184, .14); }
@media (min-width: 1300px) { .scroll-rail { display: flex; } }

/* 滚动显现 */
.has-reveal [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .42s var(--ease), transform .42s var(--ease); }
.has-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 84px);
  padding: clamp(36px, 5vw, 64px) 0 26px;
  background: linear-gradient(180deg, rgba(14, 23, 48, .5), rgba(7, 12, 24, .97));
  border-top: 1px solid rgba(91, 103, 128, .32);
}
.site-footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 230, 184, .5) 16%, rgba(255, 106, 43, .45) 74%, transparent);
}
.site-footer__inner {
  max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: clamp(24px, 4vw, 56px);
}
.site-footer__lead { min-width: 0; }
.site-footer__tag { margin-top: 16px; max-width: 34ch; font-size: 14.5px; color: var(--grey-400); }
.site-footer__contact { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--text-100); }
.site-footer__contact-item { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer__label { flex: none; min-width: 62px; font-family: var(--font-body); font-size: 12.5px; letter-spacing: .06em; color: var(--grey-400); }
.site-footer__note { margin-top: 14px; max-width: 46ch; font-size: 12.5px; line-height: 1.7; color: var(--grey-400); }
.site-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.site-footer__col { min-width: 0; }
.site-footer__col-title { margin-bottom: 14px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; color: var(--cyan-400); }
.site-footer__links { display: flex; flex-direction: column; gap: 9px; }
.site-footer__link { display: inline-block; font-size: 14px; line-height: 1.6; color: var(--grey-400); transition: color .18s var(--ease), transform .18s var(--ease); }
.site-footer__link:hover { color: var(--cyan-400); transform: translateX(3px); }
.site-footer__legal {
  max-width: var(--shell); margin: clamp(24px, 3vw, 40px) auto 0;
  padding: 18px var(--gutter) 0;
  border-top: 1px solid rgba(91, 103, 128, .24);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 12.5px; color: var(--grey-400);
}
.site-footer__legal-line { font-family: var(--font-mono); letter-spacing: .02em; }
@media (max-width: 900px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .site-footer__legal { flex-direction: column; }
}

/* ---------- 10. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .has-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
  .scroll-rail__tick { transition: none; }
}
