/* ==========================================================================
   问鼎娱乐 · 官方主站 共享样式 /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, address, dl, dt, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #0A1226;
  --ink-800: #121C36;
  --ink-700: #22304F;
  --cyan: #35E0D0;
  --gold: #F2B34B;
  --violet: #8A5CFF;
  --paper: #F3F6FC;
  --muted: #A8B4CC;
  --ok: #4ED08A;
  --warn: #FF7A6B;

  --bg: var(--ink-900);
  --surface: var(--ink-800);
  --surface-2: rgba(12, 20, 40, .92);
  --line: var(--ink-700);
  --text: var(--paper);
  --text-dim: var(--muted);

  --rail-w: 240px;
  --gutter: clamp(18px, 4.2vw, 40px);
  --stack: clamp(48px, 7vw, 96px);

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 20px;
  --fs-lg: 28px;
  --fs-xl: 44px;
  --fs-2xl: 72px;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "IBM Plex Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);

  color-scheme: dark;
}

/* 可选浅色纸面主题 */
body[data-theme="paper"] {
  --bg: #E9EEF7;
  --surface: #F6F8FC;
  --surface-2: rgba(255, 255, 255, .94);
  --line: #C6D2E5;
  --text: #0A1226;
  --text-dim: #4C5C7A;
  color-scheme: light;
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100%;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(34, 48, 79, .40) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 48, 79, .40) 1px, transparent 1px),
    radial-gradient(1100px 560px at 84% -8%, rgba(53, 224, 208, .10), transparent 66%),
    radial-gradient(900px 520px at 6% 10%, rgba(138, 92, 255, .10), transparent 72%);
  background-size: 24px 24px, 24px 24px, auto, auto;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  -webkit-font-smoothing: antialiased;
}

body[data-theme="paper"] {
  background-image:
    linear-gradient(rgba(150, 168, 196, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 168, 196, .35) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px;
  background-repeat: repeat, repeat;
}

::selection { background: var(--cyan); color: #04121C; }

/* ---------- 4. 排版基元 ---------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.16; letter-spacing: -.02em; color: var(--text); }
h1 { font-size: clamp(34px, 5.6vw, var(--fs-2xl)); }
h2 { font-size: clamp(26px, 3.4vw, var(--fs-xl)); }
h3 { font-size: clamp(19px, 2vw, var(--fs-lg)); }
h4 { font-size: var(--fs-md); }

p { max-width: 38em; }

.display {
  font-size: clamp(38px, 6.4vw, var(--fs-2xl));
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.03em;
}

.editorial { font-family: var(--font-serif); font-weight: 600; letter-spacing: 0; }

.lead { font-size: var(--fs-md); line-height: 1.7; color: #D6DEEE; max-width: 34em; }

.muted { color: var(--text-dim); }

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); flex: none; }

.chapter-no {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, var(--fs-xl));
  line-height: 1;
  letter-spacing: .04em;
  color: rgba(242, 179, 75, .55);
}

/* ---------- 5. 容器与网格 ---------- */
.shell {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(64px, 8vw, 120px);
}

.wrap { width: 100%; max-width: 1140px; }
.wrap--narrow { width: 100%; max-width: 760px; }

.section { padding-block: var(--stack); }

.section__band {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(53, 224, 208, .55), rgba(138, 92, 255, .40) 45%, transparent 100%);
}

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

.col-4, .col-6, .col-8 { grid-column: span 12; min-width: 0; }

/* ---------- 6. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #04121C;
  background: var(--cyan);
  border: 1px solid var(--cyan);
  transform: translateY(-160%);
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- 7. 滚动进度线 ---------- */
.scrollline {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  background: rgba(34, 48, 79, .6);
  pointer-events: none;
}
.scrollline__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: width .12s linear;
}

/* ---------- 8. 头部外壳 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 70;
  width: 100%;
  background: transparent;
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px var(--gutter);
  background: rgba(10, 18, 38, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.topbar__brand { display: inline-flex; align-items: center; gap: 10px; }

.topbar__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(242, 179, 75, .55);
  background: rgba(242, 179, 75, .07);
}

.topbar__name {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: var(--fs-base);
  font-weight: 800;
  letter-spacing: -.02em;
}
.topbar__name em {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-style: normal;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--text-dim);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: var(--fs-sm);
  letter-spacing: .04em;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-800);
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle:hover { border-color: rgba(53, 224, 208, .6); color: var(--cyan); }

.nav-toggle__bars { position: relative; width: 16px; height: 10px; flex: none; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform .24s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.site-head[data-open] .nav-toggle__bars::before { transform: translateY(4px) rotate(45deg); }
.site-head[data-open] .nav-toggle__bars::after { transform: translateY(-4px) rotate(-45deg); }

/* 移动端遮罩 */
.site-head[data-open]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(4, 8, 20, .68);
}

/* ---------- 9. 轨道 / 抽屉导航 ---------- */
.rail {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 75;
  display: flex;
  flex-direction: column;
  width: min(86vw, 340px);
  padding: 24px var(--gutter) 40px;
  background: linear-gradient(180deg, #0D1731 0%, var(--ink-900) 100%);
  border-left: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(103%);
  transition: transform .3s var(--ease);
  visibility: hidden;
}
.site-head[data-open] .rail { transform: none; visibility: visible; }

.rail__inner { display: flex; flex-direction: column; gap: 24px; flex: 1; min-height: 0; }

.rail__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.rail__block { min-width: 0; }

/* 品牌锁定 */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.brand-lockup__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(242, 179, 75, .5);
  background: linear-gradient(140deg, rgba(242, 179, 75, .12), rgba(53, 224, 208, .06));
}

.brand-lockup__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.brand-lockup__name {
  font-size: var(--fs-base);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.3;
}

.brand-lockup__sub {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  color: var(--text-dim);
  line-height: 1.5;
}

/* 索引列表 */
.rail__list { counter-reset: nav 0; display: flex; flex-direction: column; }

.rail__item { counter-increment: nav; }

.rail__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 12px;
  font-size: 15px;
  color: var(--text-dim);
  border-left: 2px solid transparent;
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), padding-left .2s var(--ease);
}
.rail__link::before {
  content: counter(nav, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  color: var(--gold);
  opacity: .7;
  transition: opacity .2s var(--ease);
}
.rail__link:hover {
  color: var(--text);
  background: rgba(243, 246, 252, .05);
  border-left-color: var(--ink-700);
  padding-left: 16px;
}
.rail__link:hover::before { opacity: 1; }
.rail__link:focus-visible {
  color: var(--text);
  background: rgba(53, 224, 208, .10);
}
.rail__link[aria-current="page"] {
  color: var(--paper);
  font-weight: 600;
  border-left-color: var(--cyan);
  background: linear-gradient(90deg, rgba(53, 224, 208, .16), rgba(53, 224, 208, 0) 82%);
}
.rail__link[aria-current="page"]::before { color: var(--cyan); opacity: 1; }

/* 快捷入口 chips */
.rail__chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
  border: 1px solid var(--line);
  background: rgba(243, 246, 252, .02);
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.chip::before { content: ""; width: 5px; height: 5px; flex: none; background: var(--gold); }
.chip:hover {
  color: var(--gold);
  border-color: rgba(242, 179, 75, .6);
  background: rgba(242, 179, 75, .08);
}

.rail__cta { margin-top: 4px; }

.rail__meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rail__meta-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; max-width: none; }
.rail__meta-key { font-size: 13px; color: var(--text-dim); }
.rail__meta .mono { color: var(--cyan); }

/* ---------- 10. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .02em;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.btn--primary {
  color: #04121C;
  background: linear-gradient(120deg, var(--cyan), #26BCC6);
  border-color: rgba(53, 224, 208, .8);
}
.btn--primary:hover { transform: translateY(-2px); background: linear-gradient(120deg, #57F0E2, var(--cyan)); }

.btn--ghost { color: var(--text); border-color: var(--line); background: rgba(243, 246, 252, .03); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--cyan); color: var(--cyan); }

.btn--gold { color: var(--gold); border-color: rgba(242, 179, 75, .55); background: rgba(242, 179, 75, .07); }
.btn--gold:hover { transform: translateY(-2px); border-color: var(--gold); background: rgba(242, 179, 75, .14); }

.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 11. 面板与卡片 ---------- */
.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 28px);
  background: linear-gradient(180deg, rgba(18, 28, 54, .92), var(--surface-2));
  border: 1px solid var(--line);
  transition: transform .22s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease);
}
.panel:hover { transform: translateY(-4px); border-color: rgba(53, 224, 208, .55); }
.panel--flat:hover { transform: none; }

.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel__title { font-size: var(--fs-md); font-weight: 700; letter-spacing: -.01em; }
.panel__body { display: flex; flex-direction: column; gap: 10px; }
.panel__body p { color: #CBD5E6; }
.panel__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- 12. 数据与标签 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(18, 28, 54, .6);
}
.stat__value {
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  letter-spacing: .02em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 13px; color: var(--text-dim); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  background: rgba(243, 246, 252, .02);
}
.tag--cyan { color: var(--cyan); border-color: rgba(53, 224, 208, .42); background: rgba(53, 224, 208, .07); }
.tag--gold { color: var(--gold); border-color: rgba(242, 179, 75, .42); background: rgba(242, 179, 75, .07); }
.tag--violet { color: #B79CFF; border-color: rgba(138, 92, 255, .48); background: rgba(138, 92, 255, .10); }

/* ---------- 13. 面包屑 ---------- */
.crumbs { margin-bottom: 22px; }
.crumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  color: var(--text-dim);
}
.crumbs__item + .crumbs__item::before { content: "/"; color: var(--line); }
.crumbs__link { color: var(--text-dim); border-bottom: 1px solid rgba(242, 179, 75, .35); transition: color .2s var(--ease), border-color .2s var(--ease); }
.crumbs__link:hover { color: var(--gold); border-bottom-color: var(--gold); }
.crumbs__item[aria-current="page"] { color: var(--paper); }

/* ---------- 14. 图像容器（页面阶段放置 img / 内联 svg） ---------- */
.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(53, 224, 208, .10), rgba(138, 92, 255, .12)),
    var(--ink-800);
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(34, 48, 79, .85) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 48, 79, .85) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .55;
  pointer-events: none;
}
.media-frame > img,
.media-frame > svg,
.media-frame > picture { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

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

.media-frame__cap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .03em;
  color: var(--muted);
  background: linear-gradient(0deg, rgba(6, 11, 24, .92), rgba(6, 11, 24, 0));
}

/* ---------- 15. 数据表格 ---------- */
.data-table { font-size: 15px; text-align: left; }
.data-table th,
.data-table td { padding: 11px 14px; border: 1px solid var(--line); vertical-align: top; }
.data-table th {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--gold);
  background: rgba(18, 28, 54, .8);
}
.data-table td { color: #CBD5E6; }
.data-table--zebra tbody tr:nth-child(even) { background: rgba(18, 28, 54, .45); }

/* ---------- 16. 页脚 ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-800) 0%, #070D1C 100%);
}

.site-foot__inner {
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(40px, 5vw, 72px) var(--gutter) 28px;
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr;
}

.foot-brand { display: flex; flex-direction: column; gap: 10px; }

.foot-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: var(--fs-md);
  font-weight: 800;
  letter-spacing: -.02em;
}
.foot-lockup__sub {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--gold);
}

.foot-tagline { font-family: var(--font-serif); font-size: var(--fs-md); color: #CBD5E6; letter-spacing: .02em; }
.foot-note { font-size: var(--fs-sm); color: var(--text-dim); max-width: 34em; }
.foot-note .mono { font-size: var(--fs-xs); color: var(--cyan); }

.foot-cols { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

.foot-col { min-width: 0; }
.foot-col__title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.foot-col__list { display: flex; flex-direction: column; gap: 8px; }

.foot-link { font-size: 15px; color: var(--text-dim); transition: color .2s var(--ease), padding-left .2s var(--ease); }
.foot-link:hover { color: var(--cyan); padding-left: 5px; }

.foot-contact {
  display: grid;
  gap: 8px;
  font-style: normal;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.foot-contact__row { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-sm); color: #CBD5E6; max-width: none; }
.foot-contact__label {
  flex: none;
  min-width: 72px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .08em;
  color: var(--text-dim);
  padding-top: 2px;
}
.foot-contact .mono { color: var(--cyan); }

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
}
.foot-legal .mono { font-size: var(--fs-xs); color: var(--text-dim); }
.foot-legal__copy { max-width: none; }

/* ---------- 17. 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 18. 焦点 ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- 19. 平板 ---------- */
@media (min-width: 768px) {
  .col-4 { grid-column: span 4; }
  .col-6 { grid-column: span 6; }
  .col-8 { grid-column: span 8; }

  .site-foot__inner { grid-template-columns: 1.15fr 2fr; gap: 42px; }
  .foot-brand { grid-column: 1; }
  .foot-cols { grid-column: 2; }
  .foot-contact { grid-column: 1 / -1; }
  .foot-legal { grid-column: 1 / -1; }
}

/* ---------- 20. 桌面：常驻侧轨 ---------- */
@media (min-width: 1024px) {
  .scrollline { left: var(--rail-w); }

  .site-head {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--rail-w);
    z-index: 70;
    background: linear-gradient(180deg, #0D1731 0%, #0A1226 62%, #080E1E 100%);
    border-right: 1px solid var(--line);
  }

  .topbar { display: none; }
  .site-head[data-open]::after { content: none; }

  .rail {
    position: static;
    width: auto;
    height: 100%;
    transform: none;
    visibility: visible;
    border-left: 0;
    padding: 26px 20px 24px;
    background: transparent;
    overflow-y: auto;
  }

  .rail__inner { gap: 22px; }

  .rail__link { font-size: 14px; padding: 8px 10px; }

  .site-foot { margin-left: var(--rail-w); }

  .shell {
    margin-left: var(--rail-w);
    max-width: none;
    padding-left: clamp(32px, 5vw, 88px);
    padding-right: clamp(32px, 5vw, 88px);
  }

  .site-foot__inner {
    margin-left: var(--rail-w);
    max-width: none;
    padding-left: clamp(32px, 5vw, 88px);
    padding-right: clamp(32px, 5vw, 88px);
    grid-template-columns: 1fr 1.6fr 1.2fr;
    gap: 48px;
  }
  .foot-brand { grid-column: 1; }
  .foot-cols { grid-column: 2; }
  .foot-contact { grid-column: 3; border-top: 0; padding-top: 0; }
  .foot-legal { grid-column: 1 / -1; }
}

/* ---------- 21. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .panel:hover,
  .btn:hover,
  .foot-link:hover { transform: none; }
  .scrollline__bar { transition: none; }
}
