/* =========================================================
   奔驰宝马游戏 · Site Kit — assets/site.css
   夜间车库 × 霓虹赛道 · 数据叙事外壳
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, hr { 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; }
a { color: inherit; text-decoration: none; }
hr { border: 0; }

:root {
  --ink-000: #05080C;
  --ink-100: #0B1420;
  --ink-200: #1B2733;
  --silver: #C9D3DC;
  --ice: #6CC8FF;
  --neon: #2EF2D2;
  --gold: #D9B96E;
  --mist: #F3F7FA;
  --slate: #8FA0B0;
  --alert: #FF7A4D;

  --hair: rgba(201, 211, 220, .14);
  --hair-strong: rgba(201, 211, 220, .34);

  --metal: linear-gradient(112deg, #5D6A76 0%, #C9D3DC 26%, #F3F7FA 48%, #9EAAB6 66%, #48545F 100%);
  --speed: linear-gradient(100deg, #2EF2D2 0%, #6CC8FF 62%, #A9DFFF 100%);
  --glow-ice: 0 0 0 1px rgba(108, 200, 255, .45), 0 16px 34px -22px rgba(108, 200, 255, .75);

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-num: "Rajdhani", "DIN Alternate", "Eurostile", "Arial Narrow", var(--font-mono);

  --container: 1240px;
  --gutter: clamp(16px, 4.2vw, 56px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 860px) {
  :root { --header-h: 62px; }
}

html { background: var(--ink-000); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  min-height: 100vh;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .01em;
  background:
    radial-gradient(1200px 620px at 78% -14%, rgba(108, 200, 255, .10), transparent 62%),
    radial-gradient(960px 540px at 4% 2%, rgba(46, 242, 210, .07), transparent 60%),
    var(--ink-000);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ice); color: var(--ink-000); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--mist);
}
h1 { font-size: clamp(44px, 8vw, 120px); line-height: 1.02; }
h2 { font-size: clamp(28px, 4vw, 56px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }
p { color: rgba(243, 247, 250, .84); }

#main-content { display: block; }
#main-content:focus-visible { outline: 2px solid var(--neon); outline-offset: -6px; }

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

/* ---------- 工具类 ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--slate);
}
.num {
  font-family: var(--font-num);
  font-weight: 700;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.metal {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.rule {
  height: 1px;
  background: linear-gradient(90deg, var(--hair-strong), rgba(201, 211, 220, 0));
  margin-block: clamp(20px, 3vw, 36px);
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--ink-000);
  background: var(--speed);
  border-radius: 2px;
  transform: translateY(-180%);
  transition: transform .25s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--mist);
  outline-offset: 2px;
}

/* =========================================================
   头部：仪表盘横梁
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(5, 8, 12, .78) 0%, rgba(5, 8, 12, .18) 70%, rgba(5, 8, 12, 0) 100%);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header[data-scrolled="true"] {
  background: linear-gradient(180deg, rgba(11, 20, 32, .97) 0%, rgba(11, 20, 32, .93) 100%);
  box-shadow: inset 0 -1px 0 var(--hair-strong), 0 22px 48px -34px rgba(0, 0, 0, .95);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--neon) 0%, var(--ice) 55%, var(--gold) 100%);
  opacity: .92;
  pointer-events: none;
  transition: transform .12s linear;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 40px);
  width: 100%;
  max-width: var(--container);
  min-height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
  padding-block: 8px;
}
.brand-index {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--slate);
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: .06em;
  color: var(--mist);
  transition: color .25s var(--ease);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--ice);
  opacity: .82;
}
.brand:hover .brand-name,
.brand:focus-visible .brand-name {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- 导航：横向轨道 ---------- */
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  margin-left: auto;
  min-width: 0;
}
.nav-track {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 24px);
  min-width: 0;
  counter-reset: nav;
}
.nav-track > li {
  counter-increment: nav;
  flex: 0 0 auto;
}
.nav-track > li > a {
  position: relative;
  display: block;
  padding: 10px 2px 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(243, 247, 250, .76);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav-track > li > a::before {
  content: counter(nav, decimal-leading-zero);
  display: inline-block;
  margin-right: 7px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: rgba(143, 160, 176, .62);
  transition: color .25s var(--ease);
}
.nav-track > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  background: linear-gradient(90deg, var(--neon), var(--ice));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .32s var(--ease), height .2s var(--ease);
}
.nav-track > li > a:hover,
.nav-track > li > a:focus-visible { color: var(--mist); }
.nav-track > li > a:hover::before,
.nav-track > li > a:focus-visible::before { color: var(--ice); }
.nav-track > li > a:hover::after,
.nav-track > li > a:focus-visible::after { transform: scaleX(1); }

.nav-track > li > a[aria-current="page"] { color: var(--mist); font-weight: 700; }
.nav-track > li > a[aria-current="page"]::before { color: var(--neon); }
.nav-track > li > a[aria-current="page"]::after {
  transform: scaleX(1);
  height: 2px;
  box-shadow: 0 0 10px rgba(46, 242, 210, .72);
}

.nav-utility {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: clamp(12px, 2vw, 24px);
  border-left: 1px solid var(--hair);
}
.nav-utility .btn {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}
.util-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--slate);
  padding: 8px 10px;
  border: 1px solid var(--hair);
  border-radius: 2px;
  white-space: nowrap;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.util-copy:hover,
.util-copy:focus-visible {
  color: var(--ice);
  border-color: rgba(108, 200, 255, .55);
  background: rgba(108, 200, 255, .08);
}
.util-copy[data-copied="true"] {
  color: var(--neon);
  border-color: rgba(46, 242, 210, .6);
}

/* ---------- 移动菜单按钮 ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 10px 14px;
  border: 1px solid var(--hair-strong);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--silver);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.nav-toggle-lines {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-toggle-lines span {
  display: block;
  height: 1px;
  background: var(--silver);
  transition: transform .3s var(--ease), background .3s var(--ease);
}

/* =========================================================
   通用按钮
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: transform .25s var(--ease), color .25s var(--ease),
              background .3s var(--ease), border-color .25s var(--ease),
              box-shadow .3s var(--ease);
}
.btn-primary {
  background: var(--speed);
  color: #04121A;
  box-shadow: 0 0 0 1px rgba(46, 242, 210, .3), 0 16px 32px -22px rgba(46, 242, 210, .95);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(46, 242, 210, .62), 0 22px 38px -20px rgba(46, 242, 210, .95);
}
.btn-ghost {
  background: rgba(201, 211, 220, .05);
  border-color: var(--hair-strong);
  color: var(--silver);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--mist);
  border-color: rgba(108, 200, 255, .6);
  background: rgba(108, 200, 255, .1);
}
.btn[data-copied="true"] {
  color: var(--neon);
  border-color: rgba(46, 242, 210, .65);
  background: rgba(46, 242, 210, .1);
}

/* =========================================================
   页面骨架 / 连续画布
   ========================================================= */
.page-shell {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.page-offset { padding-top: calc(var(--header-h) + clamp(26px, 4vw, 58px)); }

.section {
  position: relative;
  padding-block: clamp(40px, 6vw, 88px);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  padding-bottom: 20px;
  margin-bottom: clamp(22px, 3vw, 40px);
  border-bottom: 1px solid var(--hair);
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--neon);
}
.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--mist);
}
.lede {
  max-width: 42ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: var(--slate);
}

/* ---------- 网格 ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.split { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1.12fr .88fr; align-items: start; }
}

/* ---------- 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
}
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: rgba(201, 211, 220, .3); }
.crumbs a { color: var(--silver); transition: color .25s var(--ease); }
.crumbs a:hover,
.crumbs a:focus-visible { color: var(--ice); }
.crumbs [aria-current="page"] { color: var(--ice); }

/* ---------- 面板：纸张叠层 + 印刷边框 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--hair);
  border-radius: 2px;
  background: linear-gradient(160deg, rgba(27, 39, 51, .92) 0%, rgba(11, 20, 32, .94) 100%);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.panel::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 211, 220, .06);
  pointer-events: none;
}
.panel:hover {
  border-color: rgba(108, 200, 255, .42);
  box-shadow: 0 24px 50px -38px rgba(0, 0, 0, .95);
}
.panel--flat { background: transparent; }
.panel--gold { border-color: rgba(217, 185, 110, .42); }
.panel--gold::before { border-color: rgba(217, 185, 110, .16); }

/* ---------- 标签 / 状态点 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid var(--hair-strong);
  border-radius: 2px;
  background: rgba(201, 211, 220, .05);
}
.tag--ice { color: var(--ice); border-color: rgba(108, 200, 255, .45); background: rgba(108, 200, 255, .08); }
.tag--neon { color: var(--neon); border-color: rgba(46, 242, 210, .45); background: rgba(46, 242, 210, .08); }
.tag--gold { color: var(--gold); border-color: rgba(217, 185, 110, .45); background: rgba(217, 185, 110, .08); }
.tag--alert { color: var(--alert); border-color: rgba(255, 122, 77, .45); background: rgba(255, 122, 77, .08); }

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(46, 242, 210, .16);
  vertical-align: middle;
}
.dot--gold { background: var(--gold); box-shadow: 0 0 0 3px rgba(217, 185, 110, .16); }
.dot--alert { background: var(--alert); box-shadow: 0 0 0 3px rgba(255, 122, 77, .16); }

/* ---------- 图片容器基础规则（页面阶段放入 <img>） ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 2px;
  isolation: isolate;
  background:
    repeating-linear-gradient(90deg, rgba(201, 211, 220, .05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(201, 211, 220, .04) 0 1px, transparent 1px 46px),
    linear-gradient(150deg, #101C29 0%, #0B1420 46%, #05080C 100%);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(158deg, rgba(108, 200, 255, .14) 0%, transparent 42%, rgba(46, 242, 210, .12) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.05);
  position: relative;
  z-index: 1;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--band { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--hero { aspect-ratio: 4 / 5; }
.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--slate);
}

/* =========================================================
   页脚：叠层铭牌
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  overflow: hidden;
  border-top: 1px solid var(--hair-strong);
  background: linear-gradient(180deg, #0B1420 0%, #070C13 56%, #05080C 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 36%, rgba(108, 200, 255, .07) 52%, transparent 66%),
    radial-gradient(760px 340px at 88% 0%, rgba(46, 242, 210, .10), transparent 72%);
  pointer-events: none;
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 211, 220, .34) 20%, rgba(46, 242, 210, .4) 50%, rgba(201, 211, 220, .34) 80%, transparent);
}

.footer-ghost {
  position: absolute;
  right: -6px;
  bottom: -22px;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(64px, 14vw, 190px);
  line-height: .8;
  letter-spacing: .02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 211, 220, .09);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(42px, 6vw, 78px) var(--gutter) clamp(20px, 3vw, 30px);
}

.footer-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-brand {
  margin-top: 12px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(19px, 2.3vw, 26px);
  line-height: 1.36;
  letter-spacing: .02em;
  color: var(--mist);
  max-width: 22ch;
}
.footer-brand-divider { color: var(--ice); }
.footer-note {
  margin-top: 14px;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--slate);
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.footer-title {
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--slate);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 18px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(243, 247, 250, .8);
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer-links a::before {
  content: "";
  width: 10px;
  height: 1px;
  background: var(--slate);
  transition: width .25s var(--ease), background .25s var(--ease);
}
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--mist); transform: translateX(2px); }
.footer-links a:hover::before,
.footer-links a:focus-visible::before { width: 18px; background: var(--neon); }

.footer-contact-list li {
  padding: 9px 0;
  border-bottom: 1px dashed rgba(201, 211, 220, .1);
}
.footer-contact-list li:last-child { border-bottom: 0; }
.footer-meta {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--slate);
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--ice);
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.footer-copy:hover,
.footer-copy:focus-visible { color: var(--mist); border-bottom-color: var(--neon); }
.footer-copy[data-copied="true"] { color: var(--neon); }
.footer-address {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: clamp(24px, 4vw, 42px);
  padding-top: 18px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--slate);
}
.footer-legal-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--slate);
  font-size: 11px;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}
.footer-legal-links a {
  color: var(--silver);
  transition: color .25s var(--ease);
}
.footer-legal-links a:hover,
.footer-legal-links a:focus-visible { color: var(--neon); }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--silver);
  border: 1px solid var(--hair);
  border-radius: 2px;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.to-top:hover,
.to-top:focus-visible {
  color: var(--neon);
  border-color: rgba(46, 242, 210, .55);
  background: rgba(46, 242, 210, .08);
}

.copy-status {
  grid-column: 1 / -1;
  min-height: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--neon);
}

/* =========================================================
   响应式：平板 / 手机
   ========================================================= */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: block;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 18px var(--gutter) 26px;
    background: linear-gradient(180deg, #0B1420 0%, #070D15 100%);
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair-strong);
    box-shadow: 0 44px 64px -42px rgba(0, 0, 0, .98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    pointer-events: none;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s var(--ease);
  }
  .site-header[data-open="true"] { background: #0B1420; box-shadow: inset 0 -1px 0 var(--hair-strong); }
  .site-header[data-open="true"] .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-header[data-open="true"] .nav-toggle {
    color: var(--ink-000);
    background: var(--speed);
    border-color: transparent;
  }
  .site-header[data-open="true"] .nav-toggle-lines span { background: var(--ink-000); }
  .site-header[data-open="true"] .nav-toggle-lines span:first-child { transform: translateY(2.5px) rotate(45deg); }
  .site-header[data-open="true"] .nav-toggle-lines span:last-child { transform: translateY(-2.5px) rotate(-45deg); }

  .nav-track {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 200, 255, .4) transparent;
  }
  .nav-track::-webkit-scrollbar { height: 3px; }
  .nav-track::-webkit-scrollbar-thumb { background: rgba(108, 200, 255, .38); }
  .nav-track > li {
    scroll-snap-align: start;
    border: 1px solid var(--hair);
    border-radius: 2px;
    background: rgba(201, 211, 220, .03);
  }
  .nav-track > li > a {
    min-width: 138px;
    padding: 12px 14px 14px;
    font-size: 15px;
  }
  .nav-track > li > a::after { bottom: 0; height: 2px; }
  .nav-track > li > a[aria-current="page"] {
    background: rgba(108, 200, 255, .09);
    border-radius: 2px;
  }

  .nav-utility {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 6px;
    padding-top: 16px;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--hair);
  }
  .nav-utility .btn,
  .nav-utility .util-copy { width: 100%; min-height: 44px; }
  .util-copy { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 960px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-lead { grid-column: 1 / -1; }
  .footer-brand { max-width: none; }
  .footer-note { max-width: 52ch; }
}

@media (max-width: 640px) {
  .brand-name { font-size: 16px; letter-spacing: .04em; }
  .brand-sub { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .footer-ghost { font-size: 92px; bottom: -12px; opacity: .7; }
  .section-head { align-items: flex-start; }
  .lede { max-width: none; }
}

@media (max-width: 420px) {
  .footer-links { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .footer-legal-links .to-top { width: auto; }
}

/* ---------- 无障碍：动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .nav-track { scroll-snap-type: none; }
  .site-header[data-scrolled="true"] { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
