/* ============================================================
   奔驰宝马游戏站 · /assets/site.css
   全站共享：reset / 变量 / 中文排版 / 外壳 / 页脚 / 基础组件
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

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

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

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

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

input { font: inherit; }

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

table { border-collapse: collapse; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B0E13;
  --panel: #131A28;
  --panel-deep: #101725;
  --grid: #223044;
  --grid-soft: rgba(34, 48, 68, .55);

  --silver: #E9EDF2;
  --silver-mid: #93A0B0;
  --blue: #1F63D8;
  --pulse: #4DA3FF;
  --gold: #C9A65C;
  --gold-lt: #F0D9A6;
  --red: #E0453A;

  --rail-start: 96px;
  --rail-end: 96px;
  --status-h: 32px;
  --mobilebar-h: 56px;
  --dock-h: 52px;

  --font-display: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-index: Bahnschrift, Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-num: Oxanium, Bahnschrift, ui-monospace, "SFMono-Regular", Consolas, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --line: 1px solid var(--grid);
}

/* ---------- 3. 中文排版基座 ---------- */
body {
  background-color: var(--ink);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .01em;
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* 深墨赛道底：精密网格 + 斜向霓虹光带 */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background-image:
    repeating-linear-gradient(90deg, var(--grid-soft) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, var(--grid-soft) 0 1px, transparent 1px 24px);
  opacity: .34;
  -webkit-mask-image: radial-gradient(128% 108% at 50% -6%, #000 0%, rgba(0, 0, 0, .35) 58%, transparent 88%);
  mask-image: radial-gradient(128% 108% at 50% -6%, #000 0%, rgba(0, 0, 0, .35) 58%, transparent 88%);
}

body::after {
  background:
    radial-gradient(46% 38% at 3% 4%, rgba(31, 99, 216, .26), transparent 68%),
    radial-gradient(42% 34% at 99% 94%, rgba(201, 166, 92, .16), transparent 72%),
    linear-gradient(118deg, transparent 40%, rgba(77, 163, 255, .055) 50%, transparent 60%),
    linear-gradient(118deg, transparent 62%, rgba(201, 166, 92, .04) 72%, transparent 82%);
}

header, main, footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--pulse);
  outline-offset: 2px;
}

::selection {
  background: rgba(201, 166, 92, .3);
  color: #fff;
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 38px;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -220%);
  padding: 10px 20px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: .16em;
  transition: transform .2s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* ---------- 5. 顶部公示条 ---------- */
.status-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--status-h);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 14px;
  background: linear-gradient(90deg, rgba(19, 26, 40, .97), rgba(11, 14, 19, .97) 52%, rgba(19, 26, 40, .97));
  border-bottom: 1px solid var(--grid);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-index);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--silver-mid);
  white-space: nowrap;
  overflow: hidden;
}

.status-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-bar__item--mid { display: none; }

.status-bar__item--cta {
  color: var(--gold-lt);
  border-bottom: 1px solid rgba(201, 166, 92, .5);
  padding-bottom: 1px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.status-bar__item--cta:hover {
  color: #fff;
  border-bottom-color: var(--gold-lt);
}

.status-bar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 166, 92, .16);
  animation: dotPulse 2.8s var(--ease) infinite;
  flex: none;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .32; }
}

/* ---------- 6. 移动顶栏 ---------- */
.mobile-bar {
  position: fixed;
  top: var(--status-h);
  left: 0;
  right: 0;
  height: var(--mobilebar-h);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  background: rgba(11, 14, 19, .95);
  border-bottom: 1px solid var(--grid);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ---------- 7. 品牌铭牌 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--silver);
}

.brand__chip {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  background: linear-gradient(150deg, rgba(240, 217, 166, .18), rgba(31, 99, 216, .16) 70%);
  color: var(--gold-lt);
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}

.brand__chip--sm {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.brand__text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--silver);
}

.brand--bar .brand__text {
  font-size: 13px;
  letter-spacing: .16em;
}

/* ---------- 8. 导航开关 ---------- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--grid);
  color: var(--silver);
  font-family: var(--font-index);
  font-size: 11px;
  letter-spacing: .18em;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

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

.nav-toggle__bars {
  display: inline-grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(4px) 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(-4px) rotate(-45deg); }

/* ---------- 9. 左右边框栏 ---------- */
.rail {
  position: fixed;
  top: var(--status-h);
  bottom: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 18px 0 16px;
  background: linear-gradient(180deg, rgba(16, 23, 37, .86), rgba(11, 14, 19, .96));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.rail--start {
  left: 0;
  width: var(--rail-start);
  border-right: var(--line);
}

.rail--end {
  right: 0;
  width: var(--rail-end);
  border-left: var(--line);
  padding-top: 22px;
}

.rail__progress {
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-lt), var(--gold) 45%, var(--pulse));
  transform: scaleY(0);
  transform-origin: top center;
  pointer-events: none;
}

.rail__foot {
  margin-top: auto;
  writing-mode: vertical-rl;
  font-family: var(--font-index);
  font-size: 10px;
  letter-spacing: .24em;
  color: #5D6B7C;
}

.rail__label {
  writing-mode: vertical-rl;
  letter-spacing: .3em;
  color: #5D6B7C;
}

.rail__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rail__link {
  writing-mode: vertical-rl;
  padding: 5px 8px;
  border: 1px solid transparent;
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--silver-mid);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.rail__link:hover {
  color: var(--pulse);
  border-color: var(--blue);
}

.rail__btn {
  writing-mode: vertical-rl;
  padding: 13px 9px;
  border: 1px solid var(--gold);
  color: var(--gold-lt);
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: .22em;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.rail__btn:hover,
.rail__btn[aria-expanded="true"] {
  background: rgba(201, 166, 92, .14);
}

.to-top {
  margin-top: auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--grid);
  color: var(--silver-mid);
  font-family: var(--font-num);
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- 10. 主栏目（竖排索引） ---------- */
.site-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.site-nav__list a {
  display: block;
  writing-mode: vertical-rl;
  padding: 9px 10px;
  border: 1px solid transparent;
  font-family: var(--font-index);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--silver-mid);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.site-nav__list a:hover {
  color: var(--silver);
  border-color: var(--grid);
  background: rgba(19, 26, 40, .8);
}

.site-nav__list a[aria-current="page"] {
  color: var(--gold-lt);
  border-color: rgba(201, 166, 92, .55);
}

/* ---------- 11. 批次号面板 ---------- */
.batch-panel {
  position: fixed;
  top: calc(var(--status-h) + 18px);
  right: calc(var(--rail-end) + 18px);
  z-index: 95;
  width: min(326px, calc(100vw - 32px));
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--grid);
  border-top: 2px solid var(--gold);
  box-shadow: 0 26px 64px rgba(0, 0, 0, .58);
}

.batch-panel[hidden] { display: none; }

.batch-panel__title { display: block; margin-bottom: 14px; }

.batch-panel__label {
  display: block;
  margin-bottom: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--silver-mid);
}

.batch-panel__row {
  display: flex;
  gap: 8px;
}

.batch-panel__input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  background: var(--ink);
  border: 1px solid var(--grid);
  color: var(--silver);
  font-family: var(--font-num);
  font-size: 15px;
  letter-spacing: .08em;
}

.batch-panel__input::placeholder { color: rgba(147, 160, 176, .5); }
.batch-panel__input:focus { border-color: var(--blue); outline: none; }

.batch-panel__msg {
  min-height: 1.5em;
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--silver-mid);
}

.batch-panel__msg[data-state="ok"] { color: var(--gold-lt); }
.batch-panel__msg[data-state="err"] { color: var(--red); }

/* ---------- 12. 遮罩 ---------- */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 66;
  background: rgba(6, 9, 14, .74);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.nav-backdrop[hidden] { display: none; }

/* ---------- 13. 主内容偏移 ---------- */
@media (min-width: 1024px) {
  body {
    padding: var(--status-h) var(--rail-end) 0 var(--rail-start);
  }
  html { scroll-padding-top: 40px; }
}

@media (max-width: 1023px) {
  body {
    padding: calc(var(--status-h) + var(--mobilebar-h)) 0 var(--dock-h);
  }
  html { scroll-padding-top: 104px; }
}

/* ---------- 14. 通用容器与网格 ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section__index {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--gold);
}

.section__title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.14;
}

.section__title em {
  font-style: normal;
  font-weight: 900;
  background: linear-gradient(96deg, #E9EDF2 0%, #F0D9A6 55%, #C9A65C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gold-lt);
}

@supports (-webkit-background-clip: text) {
  .section__title em {
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.section__lead {
  max-width: 58ch;
  font-size: 17px;
  color: var(--silver-mid);
}

/* ---------- 15. 索引标签 / 标签 / 数字 ---------- */
.index-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-index);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--silver-mid);
}

.index-label--outline {
  padding: 5px 10px;
  border: 1px solid var(--grid);
}

.index-label--gold { color: var(--gold); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--grid);
  background: rgba(19, 26, 40, .6);
  font-family: var(--font-index);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--silver-mid);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.tag--gold { border-color: rgba(201, 166, 92, .55); color: var(--gold); }
.tag--gold:hover { border-color: var(--gold-lt); color: var(--gold-lt); }
.tag--blue { border-color: rgba(31, 99, 216, .6); color: var(--pulse); }
.tag--alert { border-color: rgba(224, 69, 58, .6); color: var(--red); }

.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.num--gold {
  color: var(--gold);
  font-weight: 600;
}

/* ---------- 16. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-family: var(--font-index);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .16em;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.btn:hover { background: #2A70E6; border-color: #2A70E6; }

.btn--ghost {
  background: transparent;
  border-color: var(--grid);
  color: var(--silver);
}

.btn--ghost:hover {
  background: rgba(201, 166, 92, .08);
  border-color: var(--gold);
  color: var(--gold-lt);
}

.btn--gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-lt);
}

.btn--gold:hover {
  background: rgba(201, 166, 92, .12);
  border-color: var(--gold-lt);
}

/* ---------- 17. 面板 / 提示 / 正文 ---------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--grid);
  padding: clamp(20px, 3vw, 32px);
}

.panel--gold { border-top: 2px solid var(--gold); }

.note {
  padding: 16px 20px;
  border-left: 2px solid var(--gold);
  background: rgba(19, 26, 40, .72);
  font-size: 15px;
  color: var(--silver-mid);
}

.prose {
  max-width: 68ch;
  color: #D3DAE4;
}

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

.prose h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.28;
  margin-top: 2em;
  color: var(--silver);
}

.prose h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 1.6em;
  color: var(--silver);
}

.prose ul,
.prose ol { padding-left: 1.5em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .5em; }
.prose strong { color: var(--gold-lt); font-weight: 700; }

.prose a {
  color: var(--pulse);
  border-bottom: 1px solid rgba(77, 163, 255, .4);
}

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

.prose code {
  padding: 2px 6px;
  background: rgba(34, 48, 68, .7);
  font-family: var(--font-num);
  font-size: .92em;
  color: var(--gold-lt);
}

/* ---------- 18. 表格 ---------- */
.spec-table {
  width: 100%;
  font-size: 15px;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--grid);
  text-align: left;
  vertical-align: top;
}

.spec-table thead th {
  font-family: var(--font-index);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--silver-mid);
  border-bottom-color: rgba(34, 48, 68, .9);
}

.spec-table tbody tr:hover { background: rgba(19, 26, 40, .6); }

/* ---------- 19. 面包屑 ---------- */
.breadcrumbs {
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--silver-mid);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__list li + li::before {
  content: "/";
  color: var(--grid);
}

.breadcrumbs a { color: var(--silver-mid); }
.breadcrumbs a:hover { color: var(--pulse); }

/* ---------- 20. 图片容器基础规则 ---------- */
.figure {
  margin: 0;
  display: grid;
  gap: 12px;
}

.figure__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #131A28 0%, #0B0E13 58%, #101725 100%);
  border: 1px solid var(--grid);
  overflow: hidden;
}

.figure__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(34, 48, 68, .45) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(34, 48, 68, .45) 0 1px, transparent 1px 32px);
  opacity: .45;
  mix-blend-mode: screen;
}

.figure__frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.figure__frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure--wide .figure__frame { aspect-ratio: 21 / 9; }
.figure--tall .figure__frame { aspect-ratio: 3 / 4; }
.figure--square .figure__frame { aspect-ratio: 1 / 1; }

.figure__caption {
  font-family: var(--font-index);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--silver-mid);
}

/* ---------- 21. 显现 ---------- */
.reveal {
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}

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

/* ---------- 22. 页脚 ---------- */
.site-footer {
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--grid);
  background: linear-gradient(180deg, rgba(19, 26, 40, .55), rgba(11, 14, 19, .94));
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) 24px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr);
  gap: 32px 24px;
  border-bottom: 1px solid var(--grid);
}

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

.footer-brand__name {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--silver);
}

.footer-brand__meta {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--silver-mid);
}

.footer-col {
  padding-left: 20px;
  border-left: 1px solid var(--grid);
}

.footer-col__title { display: block; }

.footer-col__list {
  display: grid;
  gap: 11px;
  margin-top: 16px;
}

.footer-col__list a {
  font-size: 14px;
  color: var(--silver-mid);
  transition: color .2s var(--ease);
}

.footer-col__list a:hover { color: var(--gold-lt); }

.footer-tags {
  padding-left: 20px;
  border-left: 1px solid var(--grid);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-tags__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-base {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 44px;
  display: grid;
  gap: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--silver-mid);
}

.footer-base__legal,
.footer-base__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}

.footer-base__legal a {
  color: var(--silver-mid);
  border-bottom: 1px solid var(--grid);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.footer-base__legal a:hover {
  color: var(--pulse);
  border-bottom-color: var(--pulse);
}

.footer-base__icp {
  font-family: var(--font-num);
  letter-spacing: .06em;
  color: #5D6B7C;
}

.footer-base__note {
  max-width: 68ch;
  color: #6E7C8D;
}

.footer-base__copy {
  font-family: var(--font-index);
  font-size: 11px;
  letter-spacing: .16em;
  color: #5D6B7C;
}

/* ============================================================
   响应式
   ============================================================ */

@media (min-width: 1024px) {
  .status-bar__item--mid { display: inline-flex; }
}

@media (max-width: 1023px) {
  .mobile-bar { display: flex; }

  .rail--end {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: var(--dock-h);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px;
    border-left: 0;
    border-top: 1px solid var(--grid);
    background: rgba(11, 14, 19, .96);
    z-index: 80;
  }

  .rail--end .rail__label,
  .rail--end .to-top { display: none; }

  .rail__stack {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  .rail__link,
  .rail__btn {
    writing-mode: horizontal-tb;
    padding: 8px 10px;
    font-size: 11.5px;
    letter-spacing: .1em;
  }

  .rail__btn { border-color: rgba(201, 166, 92, .6); }

  .rail--start {
    top: auto;
    left: 0;
    right: 0;
    bottom: var(--dock-h);
    width: auto;
    max-height: calc(100vh - 140px);
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 26px 20px 30px;
    border-right: 0;
    border-top: 1px solid var(--gold);
    background: linear-gradient(180deg, #101725 0%, #0B0E13 100%);
    overflow-y: auto;
    transform: translateY(101%);
    visibility: hidden;
    transition: transform .34s var(--ease), visibility .34s var(--ease);
    z-index: 85;
  }

  .rail--start[data-open] {
    transform: translateY(0);
    visibility: visible;
  }

  .rail--start .brand--rail { flex-direction: row; }

  .brand--rail .brand__text {
    writing-mode: horizontal-tb;
    font-size: 15px;
    letter-spacing: .2em;
  }

  .rail__progress { display: none; }
  .rail__foot {
    writing-mode: horizontal-tb;
    margin-top: 8px;
    letter-spacing: .2em;
  }

  .site-nav { align-items: stretch; }

  .site-nav__list {
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list a {
    writing-mode: horizontal-tb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 4px;
    border: 0;
    border-bottom: 1px solid var(--grid);
    font-size: 15px;
    letter-spacing: .12em;
    color: var(--silver);
  }

  .site-nav__list a::after {
    content: "→";
    font-family: var(--font-num);
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 0;
  }

  .site-nav__list a:hover,
  .site-nav__list a[aria-current="page"] {
    background: rgba(201, 166, 92, .05);
    border-bottom-color: rgba(201, 166, 92, .5);
    color: var(--gold-lt);
  }
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col,
  .footer-tags { padding-left: 16px; }
}

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

  .status-bar { font-size: 10.5px; letter-spacing: .1em; }
  .status-bar__item--mid { display: none; }

  .container { padding: 0 16px; }
  .footer-grid { padding-left: 16px; padding-right: 16px; }
  .footer-base { padding-left: 16px; padding-right: 16px; }
}

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

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

  .footer-col,
  .footer-tags {
    padding-left: 0;
    border-left: 0;
    padding-top: 18px;
    border-top: 1px solid var(--grid);
  }

  .status-bar__item--live { flex: 1 1 auto; }
  .status-bar__item--cta { flex: none; }

  .section__lead { font-size: 16px; }
}

/* ---------- 减少动态效果 ---------- */
@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 .reveal {
    opacity: 1;
    transform: none;
  }

  .status-bar__dot { animation: none; }
}

@media print {
  .status-bar,
  .mobile-bar,
  .rail,
  .batch-panel,
  .nav-backdrop,
  .skip-link { display: none !important; }
  body { padding: 0; }
}
