/* ============================================================
   合乐体育 · 全站共享样式 /assets/site.css
   构图原型：侧边导览式赛事控制台（品牌轨道 + 框景内容窗口）
   ============================================================ */

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

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

body {
  margin: 0;
  background-color: #050B1C;
  color: #EAF2FF;
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a {
  color: var(--cyan);
  text-decoration: none;
}

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

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

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

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

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #050B1C;
  --ink-800: #0B1734;
  --ink-700: #14234C;
  --cyan: #26E1FF;
  --lava: #FF5B22;
  --pulse: #C8FF4D;
  --ice: #EAF2FF;
  --mist: #93A7CB;
  --rule: #263A66;
  --violet: #6C5CE7;

  --header-h: 88px;
  --header-h-sm: 56px;
  --shell: 1320px;
  --gutter: clamp(18px, 3vw, 40px);

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "JetBrains Mono", "IBM Plex Mono", "Courier New", monospace;

  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-20: 20px;
  --fs-28: 28px;
  --fs-40: 40px;
  --fs-56: 56px;
  --fs-80: 80px;

  --ease: cubic-bezier(.22, .7, .3, 1);
  --radius: 6px;
}

/* ---------- 3. 焦点与可访问性 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 3px;
}

#main-content { scroll-margin-top: calc(var(--header-h) + 12px); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--cyan);
  color: var(--ink-900);
  font-size: var(--fs-14);
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 12px 30px -14px rgba(38, 225, 255, .9);
  transition: transform .2s var(--ease);
}

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

/* ---------- 4. 排版工具 ---------- */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: .02em;
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--rule);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.prose {
  max-width: 68ch;
  font-size: var(--fs-16);
  line-height: 1.75;
  color: var(--ice);
}

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

.prose h2 {
  font-size: var(--fs-28);
  margin-top: 1.9em;
}

.prose h3 {
  font-size: var(--fs-20);
  margin-top: 1.6em;
}

.prose p,
.prose li { color: #D4E0F5; }

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(38, 225, 255, .4);
}

.prose strong { color: var(--ice); font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-12);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------- 5. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}

.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--8-3 { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------- 6. 章节头 ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 1.6vw, 20px);
  padding-bottom: 14px;
  margin-bottom: clamp(20px, 3vw, 34px);
  border-bottom: 1px solid var(--rule);
}

.section-head__index {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-12);
  letter-spacing: .18em;
  color: var(--lava);
  flex: none;
}

.section-head__title {
  font-size: clamp(var(--fs-20), 2.4vw, var(--fs-28));
  color: var(--ice);
}

.section-head__aside {
  margin-left: auto;
  font-size: var(--fs-12);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist);
  text-align: right;
}

/* ---------- 7. 框景与面板 ---------- */
.frame {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 35, 76, .5), rgba(11, 23, 52, .42));
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--cyan);
  pointer-events: none;
}

.frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.panel {
  position: relative;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 35, 76, .62), rgba(11, 23, 52, .5));
  box-shadow: inset 0 1px 0 rgba(234, 242, 255, .04);
}

.panel--flat {
  background: rgba(11, 23, 52, .6);
  box-shadow: none;
}

/* ---------- 8. 标签与筛选 chip ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(5, 11, 28, .6);
  color: var(--mist);
  font-size: var(--fs-12);
  letter-spacing: .08em;
  line-height: 1.6;
  white-space: nowrap;
}

.tag--cyan { color: var(--cyan); border-color: rgba(38, 225, 255, .45); background: rgba(38, 225, 255, .1); }
.tag--lava { color: #FFBFA6; border-color: rgba(255, 91, 34, .5); background: rgba(255, 91, 34, .13); }
.tag--pulse { color: #E6FFB0; border-color: rgba(200, 255, 77, .45); background: rgba(200, 255, 77, .12); }
.tag--violet { color: #C0B7FF; border-color: rgba(108, 92, 231, .55); background: rgba(108, 92, 231, .16); }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 255, 77, .55); }
  50% { box-shadow: 0 0 0 7px rgba(200, 255, 77, 0); }
}

.tag--live { animation: pulse-glow 1.2s var(--ease) 3; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(20, 35, 76, .55);
  color: var(--mist);
  font-size: var(--fs-14);
  line-height: 1.4;
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}

.chip:hover {
  color: var(--ice);
  border-color: rgba(38, 225, 255, .5);
  background: rgba(38, 225, 255, .1);
}

.chip[aria-pressed="true"],
.chip[aria-selected="true"] {
  color: var(--ink-900);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
}

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}

.btn--solid {
  background: linear-gradient(135deg, var(--lava), #FF8A3D);
  color: #180602;
  box-shadow: 0 0 0 1px rgba(255, 91, 34, .45), 0 12px 26px -16px rgba(255, 91, 34, .95);
}

.btn--solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 145, 90, .85), 0 16px 32px -16px rgba(255, 91, 34, 1);
}

.btn--ghost {
  background: rgba(20, 35, 76, .5);
  border-color: var(--rule);
  color: var(--ice);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(38, 225, 255, .1);
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: var(--fs-12);
  letter-spacing: .12em;
  color: var(--mist);
}

.breadcrumb__item { color: var(--mist); }
.breadcrumb__item a { color: var(--mist); }
.breadcrumb__item a:hover { color: var(--cyan); }
.breadcrumb__sep { color: var(--rule); }
.breadcrumb__current { color: var(--ice); }

/* ---------- 11. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(38, 225, 255, .14), transparent 62%),
    linear-gradient(150deg, #0D1B3C 0%, #061024 58%, #0A1A38 100%);
  isolation: isolate;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    repeating-linear-gradient(90deg, rgba(38, 225, 255, .09) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(38, 225, 255, .06) 0 1px, transparent 1px 44px);
}

.media > img,
.media > picture > img,
.media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 16px 12px;
  font-size: var(--fs-12);
  letter-spacing: .1em;
  color: var(--ice);
  background: linear-gradient(180deg, rgba(5, 11, 28, 0), rgba(5, 11, 28, .92));
}

/* ---------- 12. 进入显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

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

/* ============================================================
   13. 站点头部
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(12, 24, 54, .97) 0%, rgba(5, 11, 28, .94) 100%);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(38, 58, 102, .9) 0 1px, transparent 1px 16px);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .9), transparent 26%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .9), transparent 26%);
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 30px);
  width: 100%;
  max-width: 1800px;
  margin-inline: auto;
  min-height: var(--header-h);
  padding-right: clamp(14px, 2.4vw, 36px);
  transition: min-height .22s var(--ease);
}

/* 品牌轨道 */
.brand-rail {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  padding-left: clamp(14px, 2.4vw, 36px);
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ice);
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid rgba(38, 225, 255, .75);
  border-radius: 4px;
  color: var(--cyan);
  font-size: var(--fs-20);
  font-weight: 800;
  line-height: 1;
  background: radial-gradient(circle at 30% 20%, rgba(38, 225, 255, .22), transparent 72%);
  box-shadow: inset 0 0 0 1px rgba(38, 225, 255, .12), 0 0 20px -8px rgba(38, 225, 255, .9);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}

.brand:hover .brand__mark {
  background: radial-gradient(circle at 30% 20%, rgba(38, 225, 255, .4), transparent 72%);
  box-shadow: inset 0 0 0 1px rgba(38, 225, 255, .25), 0 0 26px -6px rgba(38, 225, 255, 1);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: var(--fs-20);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ice);
}

.brand__kicker {
  font-size: var(--fs-12);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist);
}

.rail-divider {
  width: 1px;
  height: 34px;
  flex: none;
  background: linear-gradient(180deg, transparent, var(--rule) 30%, var(--rule) 70%, transparent);
}

.rail-ticker {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: none;
  padding: 5px 12px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: rgba(20, 35, 76, .55);
}

.rail-ticker__label {
  font-size: var(--fs-12);
  letter-spacing: .14em;
  color: var(--mist);
  white-space: nowrap;
}

.rail-ticker__value {
  font-size: var(--fs-20);
  font-weight: 700;
  color: var(--lava);
  line-height: 1;
}

.zone-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 3px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(5, 11, 28, .6);
}

.zone-chip {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: var(--fs-14);
  line-height: 1.5;
  color: var(--mist);
  cursor: pointer;
  transition: color .18s var(--ease), background .18s var(--ease);
}

.zone-chip:hover {
  color: var(--ice);
  background: rgba(38, 225, 255, .12);
}

.zone-chip[aria-pressed="true"] {
  color: var(--ink-900);
  background: var(--cyan);
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(38, 225, 255, .45), 0 0 18px -6px rgba(38, 225, 255, .95);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--ice);
  font-size: var(--fs-14);
  font-weight: 700;
  cursor: pointer;
  background: rgba(20, 35, 76, .5);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

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

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background .2s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), top .2s var(--ease);
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.nav-toggle__text { letter-spacing: .12em; }

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 28px);
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, .6vw, 8px);
  flex-wrap: nowrap;
}

.nav-item { display: flex; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 12px;
  border-radius: 4px;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--mist);
  white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--ease);
}

.nav-link:hover {
  color: var(--ice);
  background: rgba(38, 225, 255, .08);
}

.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--ink-900);
  background: var(--cyan);
  font-weight: 700;
  box-shadow: 0 0 22px -10px rgba(38, 225, 255, 1);
}

.nav-link[aria-current="page"]::after { transform: scaleX(0); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

/* 阅读进度 */
.header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--lava));
  box-shadow: 0 0 14px -2px rgba(38, 225, 255, .8);
  pointer-events: none;
}

/* 压缩态 */
[data-header][data-compact="true"] .header-inner { min-height: var(--header-h-sm); }
[data-header][data-compact="true"] .brand__mark { width: 34px; height: 34px; font-size: var(--fs-16); }
[data-header][data-compact="true"] .brand__name { font-size: var(--fs-16); }
[data-header][data-compact="true"] .brand__kicker { display: none; }
[data-header][data-compact="true"] .rail-ticker { padding: 3px 10px; }
[data-header][data-compact="true"] .rail-ticker__value { font-size: var(--fs-16); }
[data-header][data-compact="true"] .nav-link { padding-block: 6px; font-size: var(--fs-14); }
[data-header][data-compact="true"] .btn { padding: 8px 14px; }

/* ============================================================
   14. 站点页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(11, 23, 52, .92) 0%, rgba(5, 11, 28, 1) 62%);
  color: var(--mist);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 14px);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(120px, 1fr));
  gap: clamp(24px, 3vw, 52px);
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(28px, 3.4vw, 44px);
}

.footer-brand { min-width: 0; }

.brand--footer { margin-bottom: 0; }

.footer-brand__note {
  margin-top: 16px;
  max-width: 32ch;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: var(--mist);
}

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: var(--fs-14);
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--ice);
}

.footer-col__title::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 1px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(38, 225, 255, .95);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  display: inline-block;
  font-size: var(--fs-14);
  color: var(--mist);
  transition: color .18s var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(20px, 2.4vw, 30px) var(--gutter) clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--rule);
  font-size: var(--fs-14);
  color: var(--mist);
}

.footer-meta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
}

.footer-meta__row--quiet { color: #7E92B8; }

.footer-meta__copy { margin: 0; }

.footer-meta__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.footer-meta__item { line-height: 1.7; }

/* ============================================================
   15. 响应式
   ============================================================ */
@media (max-width: 1180px) {
  .header-inner { padding-right: 18px; }
  .brand-rail { gap: 12px; padding-left: 18px; }
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px clamp(18px, 4vw, 34px) 30px;
    max-height: calc(100vh - var(--header-h-sm));
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(11, 23, 52, .99), rgba(5, 11, 28, .99));
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s linear;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-item { width: 100%; }

  .nav-link {
    display: block;
    width: 100%;
    padding: 14px 8px;
    font-size: var(--fs-16);
    border-bottom: 1px solid rgba(38, 58, 102, .55);
    border-radius: 0;
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    background: rgba(38, 225, 255, .14);
    color: var(--cyan);
    box-shadow: inset 3px 0 0 var(--cyan);
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 22px;
  }

  .nav-actions .btn { width: 100%; padding: 13px 18px; }

  [data-header][data-compact="true"] .nav-link { font-size: var(--fs-16); padding-block: 14px; }
}

@media (max-width: 1024px) {
  .grid--7-5,
  .grid--8-3,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .rail-ticker,
  .rail-divider { display: none; }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }

  .zone-switch { display: none; }
  .brand__kicker { display: none; }
  .brand-rail { padding-left: 14px; gap: 10px; }
  .header-inner { padding-right: 14px; }
  .brand__mark { width: 36px; height: 36px; font-size: var(--fs-16); }
  .brand__name { font-size: var(--fs-16); }
  .section-head { flex-wrap: wrap; }
  .section-head__aside { margin-left: 0; width: 100%; text-align: left; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-meta__row { gap: 8px 16px; }
}

/* ============================================================
   16. 降低动效偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .tag--live {
    animation: none !important;
    box-shadow: 0 0 0 1px rgba(200, 255, 77, .6);
  }

  .header-progress { transition: none; }
}
