/* ==========================================================================
   亚星体育 · 星云赛程 — /assets/site.css
   共享外壳：变量 / 重置 / 中文排版 / 页头 / 页脚 / 通用组件
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --void: #05070F;
  --deep-field: #0A1226;
  --panel: #111C38;
  --structure: #1E2C55;
  --text-primary: #F2F5FF;
  --text-secondary: #A9B6D9;
  --index-blue: #7E8DB8;
  --signal-cyan: #4DF0E0;
  --cyan-deep: #17A79E;
  --heat-orange: #FF6B2C;
  --nebula-violet: #7A5CFF;
  --pure-white: #FFFFFF;
  --ink-on-signal: #04121A;

  --font-display: 'Source Han Sans SC Light', 'Noto Sans SC', system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-emphasis: 'Source Han Sans SC Black', 'Noto Sans SC', system-ui, 'PingFang SC', sans-serif;
  --font-body: 'Source Han Sans SC Regular', 'Noto Sans SC', system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', 'Roboto Mono', ui-monospace, 'SFMono-Regular', monospace;

  --header-h: 88px;
  --header-h-compact: 64px;
  --shell-max: 1280px;
  --shell-pad: 24px;

  --radius-xl: 44px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-pill: 999px;

  --space-1: 8px;
  --space-2: 14px;
  --space-3: 24px;
  --space-4: 36px;
  --space-5: 60px;
  --space-6: 96px;
  --space-7: 140px;

  --ease-out: cubic-bezier(.22, .7, .24, 1);
}

/* ---------- 2. 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background-color: var(--void);
  background-image:
    radial-gradient(120% 80% at 12% -10%, rgba(122, 92, 255, .10), transparent 58%),
    radial-gradient(90% 70% at 92% 4%, rgba(77, 240, 224, .06), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

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

h1, h2, h3, h4, p, figure { margin: 0; }

hr { border: 0; height: 1px; background: var(--structure); margin: 0; }

::selection { background: rgba(77, 240, 224, .28); color: var(--pure-white); }

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

/* ---------- 3. 排版基元 ---------- */
.display-hero {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.2rem, 9vw, 8.5rem);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--pure-white);
  text-wrap: balance;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--text-primary);
  text-wrap: balance;
}

.em,
.prose strong {
  font-family: var(--font-emphasis);
  font-weight: 900;
  color: var(--pure-white);
  letter-spacing: .005em;
}

.lead {
  max-width: 32em;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.8;
  color: var(--text-secondary);
}

.index-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .22em;
  color: var(--index-blue);
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .22em;
  color: var(--index-blue);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 28px;
  height: 1px;
  background: var(--cyan-deep);
}

.data-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -.01em;
}

.prose {
  max-width: 38em;
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.prose > * + * { margin-top: 1.15em; }

.prose h2 {
  margin-top: 2.2em;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  line-height: 1.25;
  color: var(--text-primary);
}

.prose h3 {
  margin-top: 1.8em;
  font-family: var(--font-emphasis);
  font-weight: 900;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.prose a {
  color: var(--signal-cyan);
  border-bottom: 1px solid rgba(77, 240, 224, .38);
}

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

.prose ul,
.prose ol { padding-left: 1.15em; }

.prose li + li { margin-top: .45em; }

.prose ul li { list-style: none; position: relative; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: -1.1em;
  top: .78em;
  width: 6px;
  height: 1px;
  background: var(--cyan-deep);
}

.prose ol { list-style: decimal; }

.prose code {
  font-family: var(--font-mono);
  font-size: .92em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--panel);
  border: 1px solid var(--structure);
  color: var(--signal-cyan);
}

/* ---------- 4. 布局骨架 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

#main-content { padding-top: var(--header-h); }

.section { padding-block: clamp(56px, 8vw, 140px); }

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

.section--deep {
  background-color: var(--deep-field);
  border-top: 1px solid var(--structure);
  border-bottom: 1px solid var(--structure);
  background-image: radial-gradient(90% 120% at 88% 0%, rgba(122, 92, 255, .13), transparent 62%);
  background-repeat: no-repeat;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}

.grid-asym {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.slant-divider {
  position: relative;
  height: clamp(28px, 5vw, 56px);
  overflow: hidden;
}

.slant-divider::before {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  top: 50%;
  height: 1px;
  transform: skewY(-1.4deg);
  background: linear-gradient(90deg, transparent, var(--structure) 12%, var(--cyan-deep) 50%, var(--structure) 88%, transparent);
  opacity: .8;
}

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--signal-cyan);
  color: var(--ink-on-signal);
  font-family: var(--font-emphasis);
  font-weight: 900;
  font-size: .9375rem;
  transform: translateY(-180%);
  transition: transform .18s var(--ease-out);
}

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

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}

.btn--signal {
  background: var(--signal-cyan);
  color: var(--ink-on-signal);
  font-family: var(--font-emphasis);
  font-weight: 900;
}

.btn--signal:hover { background: #7CF6EA; }

.btn--ghost {
  border-color: var(--structure);
  color: var(--text-primary);
  background: rgba(17, 28, 56, .5);
}

.btn--ghost:hover {
  border-color: var(--cyan-deep);
  color: var(--signal-cyan);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--signal-cyan);
  font-size: .9375rem;
  border-bottom: 1px solid rgba(77, 240, 224, .3);
  padding-bottom: 2px;
  transition: border-color .12s ease;
}

.link-arrow::after {
  content: "→";
  font-family: var(--font-mono);
  transition: transform .12s ease;
}

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

.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- 7. 页头 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  border-bottom: 1px solid transparent;
  background-color: transparent;
  transition: background-color .32s var(--ease-out), border-color .32s var(--ease-out);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -1px 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity .3s ease;
  background:
    radial-gradient(70% 220% at 8% -80%, rgba(122, 92, 255, .30), transparent 62%),
    radial-gradient(60% 200% at 84% -90%, rgba(77, 240, 224, .16), transparent 64%);
}

.site-header[data-scrolled] {
  background-color: rgba(5, 7, 15, .94);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--structure);
}

.site-header[data-scrolled]::before { opacity: 0; }

.header-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 44px);
  transition: height .32s var(--ease-out);
}

.site-header[data-scrolled] .header-inner { height: var(--header-h-compact); }

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--structure);
  background:
    radial-gradient(circle at 50% 50%, var(--signal-cyan) 0 12%, rgba(77, 240, 224, .18) 13% 30%, transparent 32%),
    radial-gradient(circle at 34% 30%, rgba(122, 92, 255, .55), transparent 70%);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(126, 141, 184, .45);
  transform: rotate(-18deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-name {
  font-family: var(--font-emphasis);
  font-weight: 900;
  font-size: 1.0625rem;
  letter-spacing: .04em;
  color: var(--text-primary);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--index-blue);
}

.site-nav { margin-inline-start: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.8vw, 26px);
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: .9375rem;
  letter-spacing: .02em;
  color: var(--text-secondary);
  transition: color .12s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--signal-cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s var(--ease-out);
}

.nav-list a:hover { color: var(--text-primary); }

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-list a[aria-current="page"] { color: var(--signal-cyan); }

.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta { min-height: 42px; padding: 0 18px; font-size: .9375rem; }

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--structure);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  transition: border-color .12s ease;
}

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

.nav-toggle-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s var(--ease-out), opacity .2s ease;
}

.nav-toggle-bar:nth-child(1) { transform: translate(-50%, -6px); }
.nav-toggle-bar:nth-child(2) { transform: translate(-50%, 0); }
.nav-toggle-bar:nth-child(3) { transform: translate(-50%, 6px); }

.site-header[data-open] .nav-toggle { border-color: var(--signal-cyan); color: var(--signal-cyan); }

.site-header[data-open] .nav-toggle-bar:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.site-header[data-open] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle-bar:nth-child(3) { transform: translate(-50%, 0) rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  opacity: .7;
}

.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--signal-cyan) 62%, var(--nebula-violet));
  transition: transform .12s linear;
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-6);
  background-color: var(--deep-field);
  border-top: 1px solid var(--structure);
  color: var(--text-secondary);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto -20%;
  height: 460px;
  pointer-events: none;
  background:
    radial-gradient(58% 100% at 18% 0%, rgba(122, 92, 255, .20), transparent 72%),
    radial-gradient(48% 100% at 86% 0%, rgba(77, 240, 224, .10), transparent 74%);
}

.footer-shell {
  position: relative;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 96px) var(--shell-pad) 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(0, 2.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.brand--footer { margin-bottom: 18px; }

.footer-closing {
  max-width: 22em;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--index-blue);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.footer-col__title {
  margin-bottom: 16px;
  font-family: var(--font-emphasis);
  font-weight: 900;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .2em;
  color: var(--signal-cyan);
}

.footer-links li + li { margin-top: 2px; }

.footer-links a {
  display: inline-block;
  padding: 5px 0;
  font-size: .9375rem;
  color: var(--text-secondary);
  transition: color .12s ease;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] { color: var(--signal-cyan); }

.footer-contact {
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--structure);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
}

.footer-contact__item {
  font-family: var(--font-mono);
  font-size: .875rem;
  letter-spacing: .03em;
  color: var(--text-secondary);
}

.footer-contact__note {
  flex: 1 1 100%;
  max-width: 66ch;
  font-size: .875rem;
  line-height: 1.75;
  color: var(--index-blue);
}

.footer-base {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--structure);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.footer-base__item {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--index-blue);
}

.footer-base__spacer { flex: 1 1 auto; }

/* ---------- 9. 通用组件 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--index-blue);
}

.breadcrumbs a { transition: color .12s ease; }

.breadcrumbs a:hover { color: var(--signal-cyan); }

.breadcrumbs__sep {
  color: var(--structure);
  user-select: none;
}

.panel,
.data-card {
  position: relative;
  background-color: var(--panel);
  border: 1px solid var(--structure);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
}

.panel--flush { padding: clamp(16px, 2.4vw, 24px); }

.panel--wide { border-radius: var(--radius-xl); }

.data-card { overflow: hidden; }

.data-card::before {
  content: "";
  position: absolute;
  left: clamp(20px, 3vw, 32px);
  right: clamp(20px, 3vw, 32px);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--signal-cyan), transparent 70%);
  opacity: .7;
}

.data-card__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.3;
  color: var(--text-primary);
}

.data-card__meta {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--index-blue);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--text-primary);
}

.stat__value--signal { color: var(--signal-cyan); }

.stat__value--warn { color: var(--heat-orange); }

.stat__label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--index-blue);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--cyan-deep);
  border-radius: var(--radius-pill);
  background: rgba(23, 167, 158, .16);
  color: var(--signal-cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .08em;
  white-space: nowrap;
}

.badge--warn {
  border-color: var(--heat-orange);
  background: rgba(255, 107, 44, .14);
  color: var(--heat-orange);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--index-blue);
  vertical-align: middle;
}

.status-dot--ok {
  background: var(--signal-cyan);
  box-shadow: 0 0 0 3px rgba(77, 240, 224, .16);
}

.status-dot--warn {
  background: var(--heat-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 44, .16);
}

.note {
  border-left: 2px solid var(--cyan-deep);
  padding: 4px 0 4px 18px;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.note--warn { border-left-color: var(--heat-orange); }

/* 分段控件（ARIA tablist） */
.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--structure);
  border-radius: var(--radius-pill);
  background-color: var(--deep-field);
}

.segmented [role="tab"] {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: .9375rem;
  color: var(--text-secondary);
  transition: background-color .18s ease, color .18s ease;
}

.segmented [role="tab"]:hover { color: var(--text-primary); }

.segmented [role="tab"][aria-selected="true"] {
  background: var(--signal-cyan);
  color: var(--ink-on-signal);
  font-family: var(--font-emphasis);
  font-weight: 900;
}

[role="tabpanel"][hidden] { display: none; }

.pill-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-filter__item {
  padding: 7px 16px;
  border: 1px solid var(--structure);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: .875rem;
  letter-spacing: .04em;
  color: var(--text-secondary);
  transition: border-color .12s ease, color .12s ease, background-color .12s ease;
}

.pill-filter__item:hover {
  border-color: var(--cyan-deep);
  color: var(--text-primary);
}

.pill-filter__item[aria-pressed="true"] {
  background: rgba(77, 240, 224, .12);
  border-color: var(--signal-cyan);
  color: var(--signal-cyan);
}

/* 图片容器 */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--structure);
  border-radius: var(--radius-lg);
  background-color: var(--deep-field);
  background-image:
    radial-gradient(120% 120% at 16% 6%, rgba(122, 92, 255, .26), transparent 58%),
    radial-gradient(120% 120% at 86% 94%, rgba(77, 240, 224, .14), transparent 60%);
  background-repeat: no-repeat;
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(165deg, rgba(122, 92, 255, .16), transparent 44%, rgba(5, 7, 15, .46));
}

.media-frame--21x9 { aspect-ratio: 21 / 9; }
.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__caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--text-secondary);
}

/* 渐显 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .42s var(--ease-out), transform .42s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: block;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 16px var(--shell-pad) 30px;
    background-color: rgba(10, 18, 38, .98);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--structure);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s;
  }

  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 15px 4px;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--structure);
  }

  .nav-list a::after { display: none; }

  .nav-list li:last-child a { border-bottom: 0; }

  .grid-asym { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }

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

@media (max-width: 720px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .segmented { display: flex; width: 100%; border-radius: var(--radius-md); }

  .segmented [role="tab"] { flex: 1 1 auto; text-align: center; }
}

@media (max-width: 560px) {
  :root { --shell-pad: 20px; }

  body { font-size: 16px; }

  .header-cta { display: none; }

  .footer-columns { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 11. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
