/* ============================================================
   赛事通安卓 · 共享站点样式  /assets/site.css
   深色赛场终端：ink 蓝黑基底 + signal-green 受控强调 + amber 事件色
   ============================================================ */

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

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

html.nav-open { overflow: hidden; }

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

ul, ol { list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

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

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

/* ---------- 2. 变量 ---------- */
:root {
  --ink-950: #04060B;
  --ink-900: #0A0F1A;
  --ink-800: #121A28;
  --slate-700: #1E2839;
  --slate-600: #2C384D;
  --fog-500: #6F7C90;
  --fog-200: #B9C4D2;
  --paper-050: #EEF2F7;
  --signal-green: #35F08C;
  --green-deep: #16A75F;
  --amber-400: #FF9330;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: var(--font-display);
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(20px, 4vw, 48px);
  --shell-max: 1360px;
  --radius: 2px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 0.18s;
  --dur: 0.24s;

  --glass-bg: rgba(18, 26, 40, 0.55);
  --glass-line: var(--slate-600);
}

/* ---------- 3. 基础排版（中文） ---------- */
body {
  background-color: var(--ink-950);
  color: var(--fog-200);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 赛场网格底纹：只在页面顶部显影 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to right,
    rgba(44, 56, 77, 0.5) 0 1px,
    transparent 1px 104px
  );
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 68%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 68%);
}

::selection { background: var(--signal-green); color: var(--ink-950); }

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--paper-050);
}

h2, .h2 {
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper-050);
}

h3, .h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--paper-050);
}

h4, .h4 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--fog-200);
}

p { line-height: 1.75; }

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

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.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;
}

/* ---------- 4. 布局容器与节奏 ---------- */
.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 9vw, 160px); }
.section--tight { padding-block: clamp(48px, 5vw, 88px); }

.prose { max-width: 34em; }

.lede {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.75;
  color: var(--fog-200);
  max-width: 34em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--fog-500);
}

.section-index {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--signal-green);
  font-variant-numeric: tabular-nums;
}

.divider {
  border: 0;
  border-top: 1px solid var(--slate-700);
  margin: 0;
}

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

.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-12 { grid-column: span 12; }

/* ---------- 5. 通用组件 ---------- */
.card {
  background: var(--ink-800);
  border: 1px solid var(--slate-700);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 32px);
}

.card--solid {
  background: var(--paper-050);
  border-color: var(--paper-050);
  color: var(--ink-950);
}
.card--solid h2, .card--solid h3, .card--solid .stat__value { color: var(--ink-950); }
.card--solid .stat__label, .card--solid .eyebrow { color: #4A5768; }

.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-panel { background: rgba(18, 26, 40, 0.94); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--slate-600);
  border-radius: var(--radius);
  background: transparent;
  color: var(--fog-200);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}

.btn--primary {
  background: var(--signal-green);
  border-color: var(--signal-green);
  color: var(--ink-950);
  font-weight: 700;
}
.btn--primary:hover { background: #2AD980; border-color: #2AD980; }

.btn--ghost { background: transparent; }
.btn--ghost:hover {
  background: rgba(44, 56, 77, 0.4);
  border-color: var(--fog-500);
  color: var(--paper-050);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--slate-600);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fog-200);
  white-space: nowrap;
}
.chip--live { border-color: var(--green-deep); color: var(--signal-green); }
.chip--review { border-color: var(--amber-400); color: var(--amber-400); }

.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  color: var(--paper-050);
  text-align: right;
}
.stat__label {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fog-500);
  text-align: right;
}
.stat--accent .stat__value { color: var(--signal-green); }
.stat--event .stat__value { color: var(--amber-400); }

.breadcrumbs {
  padding-block: 16px;
  font-size: 13px;
  color: var(--fog-500);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before {
  content: "/";
  color: var(--slate-600);
  font-family: var(--font-mono);
}
.breadcrumbs a { color: var(--fog-200); }
.breadcrumbs a:hover { color: var(--signal-green); }
.breadcrumbs [aria-current="page"] { color: var(--fog-500); }

/* 时间轴基础（页面可继续扩展） */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 0; bottom: 0;
  width: 1px;
  background: var(--slate-700);
}
.timeline__item { position: relative; padding-block: 16px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -28px; top: 24px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink-800);
  border: 1px solid var(--slate-600);
}
.timeline__item--active::before {
  background: var(--signal-green);
  border-color: var(--signal-green);
  box-shadow: 0 0 0 4px rgba(53, 240, 140, 0.16);
}

/* ---------- 6. 分段切换（同级内容归类） ---------- */
.tabs { margin-block: 24px; }

.tabs__list {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--slate-600);
  overflow-x: auto;
}

.tabs__tab {
  position: relative;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  background: transparent;
  color: var(--fog-500);
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.tabs__tab:hover { color: var(--fog-200); background: rgba(44, 56, 77, 0.35); }
.tabs__tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: transparent;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--dur) var(--ease), background-color var(--dur-fast) var(--ease);
}
.tabs__tab[aria-selected="true"] { color: var(--paper-050); }
.tabs__tab[aria-selected="true"]::after {
  background: var(--signal-green);
  transform: scaleX(1);
}

.tabs__panel { padding-top: clamp(20px, 3vw, 32px); }
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-anim { animation: panel-wipe var(--dur) var(--ease) both; }

@keyframes panel-wipe {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 7. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--slate-700);
  border-radius: var(--radius);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media-frame--glass {
  background: var(--glass-bg);
  border-color: var(--glass-line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.media-frame--contain img { object-fit: contain; }
.media-frame--empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 24px;
  color: var(--fog-500);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: center;
}
.media-frame__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 16px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--paper-050);
  background: linear-gradient(to top, rgba(4, 6, 11, 0.88), rgba(4, 6, 11, 0));
}

.ratio-21x9 { aspect-ratio: 21 / 9; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-1x1 { aspect-ratio: 1 / 1; }

/* ---------- 8. 显现动效 ---------- */
[data-reveal] {
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
html.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}
html.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 9. 头部：命令栏 ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--paper-050);
  color: var(--ink-950);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 6, 11, 0.92);
  border-bottom: 1px solid var(--slate-700);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: #05070D; }
}

.status-strip {
  background: var(--ink-950);
  border-bottom: 1px solid var(--slate-700);
}
.status-strip__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 6px var(--gutter);
  font-size: 12px;
  line-height: 1.6;
  color: var(--fog-500);
}
.status-strip__item { display: inline-flex; align-items: center; gap: 8px; }
.status-strip__item--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal-green);
  box-shadow: 0 0 0 3px rgba(53, 240, 140, 0.16);
  animation: status-pulse 2.4s var(--ease) infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.cmdbar { position: relative; }
.cmdbar__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  min-height: 68px;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding-block: 8px;
}
.brand__mark {
  position: relative;
  width: 20px; height: 20px;
  flex: 0 0 auto;
  background: var(--ink-800);
  border: 1px solid var(--slate-600);
  border-radius: var(--radius);
}
.brand__mark::after {
  content: "";
  position: absolute;
  left: 3px; right: 3px; bottom: 3px;
  height: 3px;
  background: var(--signal-green);
}
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__line {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--paper-050);
  transition: color var(--dur-fast) var(--ease);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: var(--fog-500);
}
.brand:hover .brand__line { color: var(--signal-green); }

.cmdbar__nav { flex: 1 1 auto; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-list__item { display: flex; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 44px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--fog-200);
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.nav-link__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fog-500);
  font-variant-numeric: tabular-nums;
  transition: color var(--dur-fast) var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--signal-green);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--dur) var(--ease);
}
.nav-link:hover { color: var(--paper-050); background: rgba(44, 56, 77, 0.35); }
.nav-link:hover .nav-link__idx { color: var(--fog-200); }
.nav-link[aria-current="page"] { color: var(--paper-050); }
.nav-link[aria-current="page"] .nav-link__idx { color: var(--signal-green); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.cmdbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid var(--slate-600);
  border-radius: var(--radius);
  color: var(--fog-200);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease);
}
.nav-toggle:hover { border-color: var(--fog-500); color: var(--paper-050); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  transition: background-color var(--dur-fast) var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle__text { font-size: 13px; letter-spacing: 0.04em; }

.site-header[data-open="true"] .nav-toggle__bars { background: transparent; }
.site-header[data-open="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
.site-header[data-open="true"] .nav-toggle { border-color: var(--signal-green); color: var(--signal-green); }

.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  width: 100%; height: 100%;
  background: var(--signal-green);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.12s linear;
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 8vw, 120px);
  background: var(--ink-950);
  border-top: 1px solid var(--slate-600);
}
.site-footer__inner {
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(28px, 4vw, 40px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.footer-brand { grid-column: span 4; }
.footer-col { grid-column: span 2; }

.footer-brand__line {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--paper-050);
}
.footer-brand__sub {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--signal-green);
}
.footer-brand__desc {
  margin-top: 16px;
  max-width: 30em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--fog-500);
}
.footer-brand__tag {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fog-500);
}

.footer-col__title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--fog-500);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  position: relative;
  display: inline-block;
  font-size: 14px;
  color: var(--fog-200);
  transition: color var(--dur-fast) var(--ease), padding-left var(--dur) var(--ease);
}
.footer-links a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 1px;
  background: var(--signal-green);
  transition: width var(--dur) var(--ease);
}
.footer-links a:hover { color: var(--signal-green); padding-left: 16px; }
.footer-links a:hover::before { width: 10px; }

.footer-contact {
  margin-top: clamp(32px, 4vw, 56px);
  padding: clamp(20px, 2.6vw, 32px);
}
.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 32px;
  margin-top: 16px;
}
.contact-list__term {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fog-500);
}
.contact-list__value {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper-050);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--slate-700);
  font-size: 13px;
  color: var(--fog-500);
}
.footer-bottom__legal {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.footer-bottom__note {
  flex: 1 1 320px;
  max-width: 60ch;
  font-size: 12px;
  line-height: 1.7;
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--slate-600);
  border-radius: var(--radius);
  color: var(--fog-500);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  opacity: 0.6;
  transition: border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              opacity var(--dur-fast) var(--ease);
}
.to-top::before { content: "↑"; font-size: 14px; line-height: 1; }
.to-top:hover { border-color: var(--signal-green); color: var(--signal-green); opacity: 1; }
.to-top[data-visible="true"] { opacity: 1; color: var(--fog-200); }

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1280px) {
  .nav-link { padding: 12px 10px; }
  .nav-link::after { left: 10px; right: 10px; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  .cmdbar__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    padding: 16px var(--gutter) 32px;
    background: rgba(4, 6, 11, 0.98);
    border-bottom: 1px solid var(--slate-600);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease),
                transform var(--dur) var(--ease),
                visibility var(--dur) var(--ease);
  }
  .site-header[data-open="true"] .cmdbar__nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    justify-content: flex-start;
    min-height: 56px;
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--slate-700);
  }
  .nav-link::after { left: 0; right: auto; bottom: 0; width: 56px; }
  .nav-link:hover { background: transparent; }

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

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

@media (max-width: 640px) {
  body { font-size: 16px; }

  .status-strip__item--mono { display: none; }

  .cmdbar__inner { min-height: 62px; gap: 10px; }
  .cmdbar__cta { padding: 10px 12px; font-size: 13px; }
  .nav-toggle__text { display: none; }
  .nav-toggle { padding: 10px; }

  .col-3, .col-4, .col-5, .col-6 { grid-column: span 12; }

  .ratio-21x9 { aspect-ratio: 16 / 9; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .brand__sub { display: none; }
}

/* ---------- 12. 动效退化 ---------- */
@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;
  }

  html.js-ready [data-reveal],
  html.js-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  .tabs__panel.is-anim { animation: none; }
  .scroll-progress__bar { transition: none; }
}
