/* ==========================================================================
   万博地址指南 · 中文专区 — 共享样式 /assets/site.css
   技术蓝图网格 · 夜场数据流 · 玻璃层与实色层并置
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --ink: #070C18;              /* 深墨蓝基底 */
  --rail-bg: #0E1729;          /* 轨道层 */
  --panel: #16223A;            /* 实色内容层 */
  --line: #2B3A57;             /* 蓝图网格线 */
  --cyan: #25E1D4;             /* 荧光青 · 主品牌锚点 */
  --cyan-soft: #A6F2ED;        /* 浅青描边 */
  --orange: #FF9B3D;           /* 暖橙数据高亮 */
  --rose: #FF4E7C;             /* 玫红节点 */
  --text: #F3F6FB;             /* 近白正文 */
  --muted: #8D9CB8;            /* 说明牌灰蓝 */

  --rail-w: 76px;
  --rail-open: 248px;
  --bar-h: 68px;
  --maxw: 1320px;
  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(.2, .7, .3, 1);

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

/* ---------- 2. 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, canvas { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* 蓝图网格底纹（位于内容之下） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(43, 58, 87, .46) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43, 58, 87, .46) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(140% 92% at 50% 0%, #000 12%, rgba(0, 0, 0, .35) 62%, transparent 100%);
  mask-image: radial-gradient(140% 92% at 50% 0%, #000 12%, rgba(0, 0, 0, .35) 62%, transparent 100%);
}

.site-header, main, #main-content, .site-footer, .skip-link { position: relative; z-index: 1; }
.site-header { z-index: 70; }

/* ---------- 3. 焦点与无障碍 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -70px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cyan);
  color: #04121A;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: top .16s var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* ---------- 4. 中文排版 ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  font-stretch: 87%;
  letter-spacing: -.02em;
  line-height: 1.18;
}
h1 { font-size: clamp(38px, 5.2vw, 58px); font-weight: 900; line-height: 1.1; }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 22px; line-height: 1.35; font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }

p { max-width: 78ch; }
p + p { margin-top: 1.1em; }

strong, b { font-weight: 700; color: var(--text); }
small { font-size: 13px; color: var(--muted); }

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

.cap {
  font-size: 12.5px;
  letter-spacing: .18em;
  color: var(--muted);
}
.cap--vertical {
  writing-mode: vertical-rl;
  letter-spacing: .22em;
  text-transform: none;
}
.eyebrow {
  font-size: 12.5px;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
}

.prose {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(243, 246, 251, .86);
}
.prose a { color: var(--cyan-soft); text-decoration: underline; text-underline-offset: 3px; }
.prose h3 { margin-top: 1.6em; margin-bottom: .5em; }
.prose ul { list-style: none; margin: 1em 0; }
.prose li { position: relative; padding-left: 20px; margin-bottom: .5em; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

/* ---------- 5. 布局容器与网格 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}
.wrap--narrow { max-width: 880px; }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(24px, 3.4vw, 44px); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--asym { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--asym-rev { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }

.stack > * + * { margin-top: clamp(14px, 1.8vw, 22px); }

@media (max-width: 960px) {
  .grid--asym, .grid--asym-rev { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 6. 展区标题 ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.section-head__index {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  color: var(--cyan);
  padding-bottom: 4px;
}
.section-head__body { flex: 1 1 320px; min-width: 0; }
.section-head__body h2 { margin-bottom: 6px; }
.section-head__lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 64ch;
}

/* ---------- 7. 层：玻璃与实色 ---------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 28px);
  transition: transform .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease);
}
.panel:hover { transform: translateY(-2px); border-color: rgba(37, 225, 212, .38); }
.panel--flat:hover { transform: none; border-color: var(--line); }

.glass {
  background: rgba(14, 23, 41, .72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(43, 58, 87, .9);
  border-radius: var(--radius);
  padding: clamp(16px, 2.2vw, 24px);
}
.glass:hover { background: rgba(14, 23, 41, .86); }

/* ---------- 8. 按钮与胶囊 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04121A;
}
.btn--primary:hover { background: var(--cyan-soft); border-color: var(--cyan-soft); }

.btn--ghost { color: var(--muted); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn--chip {
  padding: 8px 16px;
  font-size: 14px;
  color: var(--muted);
}
.btn--chip:hover { border-color: var(--cyan); color: var(--cyan); }

.btn--block { width: 100%; }

/* ---------- 9. 标签、胶囊筛选、计数 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}
.tag--cyan { color: var(--cyan); border-color: rgba(37, 225, 212, .42); }
.tag--orange { color: var(--orange); border-color: rgba(255, 155, 61, .42); }
.tag--rose { color: var(--rose); border-color: rgba(255, 78, 124, .42); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 23, 41, .6);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.chip:hover { color: var(--text); border-color: rgba(37, 225, 212, .5); }
.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04121A;
}

.count {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--cyan);
}

/* ---------- 10. 表格 ---------- */
.data-table { font-size: 15px; }
.data-table caption {
  text-align: left;
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--muted);
  padding-bottom: 12px;
}
.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.data-table th {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--muted);
  white-space: nowrap;
}
.data-table td.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--cyan);
}
.data-table tbody tr:hover { background: rgba(37, 225, 212, .05); }
.data-table--orange td.num { color: var(--orange); }
.data-table--rose td.num { color: var(--rose); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 11. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 14% 8%, rgba(37, 225, 212, .16), transparent 58%),
    radial-gradient(90% 80% at 86% 92%, rgba(255, 155, 61, .12), transparent 62%),
    linear-gradient(160deg, #101B31 0%, #070C18 72%);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 50% 118%, transparent 56%, rgba(43, 58, 87, .95) 56.4%, rgba(43, 58, 87, .95) 57%, transparent 57.4%),
    repeating-linear-gradient(to right, rgba(43, 58, 87, .38) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(to bottom, rgba(43, 58, 87, .28) 0 1px, transparent 1px 48px);
  opacity: .8;
}
.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame__cap {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  padding: 9px 14px;
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--muted);
  background: rgba(7, 12, 24, .74);
  border-top-right-radius: var(--radius-sm);
}
.media-frame--orange { background: radial-gradient(120% 90% at 14% 8%, rgba(255, 155, 61, .18), transparent 58%), linear-gradient(160deg, #101B31 0%, #070C18 72%); }
.media-frame--rose { background: radial-gradient(120% 90% at 14% 8%, rgba(255, 78, 124, .16), transparent 58%), linear-gradient(160deg, #101B31 0%, #070C18 72%); }

/* ---------- 12. 面包屑 ---------- */
.breadcrumb {
  padding-top: clamp(16px, 2.4vw, 26px);
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--muted); transition: color .16s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- 13. 悬浮胶囊 ---------- */
.pod {
  position: fixed;
  right: clamp(12px, 2vw, 26px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pod__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(14, 23, 41, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease);
}
.pod__link:hover,
.pod__link:focus-visible {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04121A;
  transform: translateX(-2px);
}
@media (max-width: 999px) {
  .pod {
    top: auto;
    bottom: 16px;
    right: 16px;
    flex-direction: column-reverse;
    gap: 8px;
  }
  .pod__link { padding: 8px 14px; font-size: 13px; }
}

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

/* ---------- 15. 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  pointer-events: none;
  background: transparent;
}
.scroll-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--orange) 62%, var(--rose) 100%);
}

/* ==========================================================================
   16. 共享头部
   ========================================================================== */
.site-header { position: relative; z-index: 70; }

.header-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  min-height: var(--bar-h);
  padding: 10px clamp(14px, 3vw, 34px);
  background: rgba(14, 23, 41, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.site-header[data-scrolled="true"] .header-bar {
  border-bottom-color: rgba(37, 225, 212, .34);
  background: rgba(10, 17, 32, .9);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-right: auto;
}
.brand__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--cyan);
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cyan);
  background: rgba(37, 225, 212, .08);
}
.brand__text { display: block; min-width: 0; }
.brand__line {
  display: block;
  font-size: 17px;
  font-weight: 800;
  font-stretch: 87%;
  letter-spacing: -.01em;
  line-height: 1.25;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__tag {
  display: block;
  font-size: 12.5px;
  letter-spacing: .06em;
  line-height: 1.4;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-bar__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--muted);
}
.header-bar__ver {
  padding: 3px 9px;
  border: 1px solid rgba(37, 225, 212, .42);
  border-radius: var(--radius-sm);
  color: var(--cyan);
}
.header-bar__coord { color: var(--muted); }

.header-bar__actions { display: flex; align-items: center; gap: 10px; }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 34, 58, .72);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) 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(-6px) rotate(-45deg); }
.nav-toggle__text { letter-spacing: .04em; }

/* 侧边轨道导航 */
.rail {
  position: relative;
  z-index: 3;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 12px;
  background: rgba(14, 23, 41, .84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: width .22s var(--ease), transform .26s var(--ease), visibility .26s var(--ease);
}

.rail__stamp {
  margin: 0 auto;
  writing-mode: vertical-rl;
  font-size: 12.5px;
  letter-spacing: .22em;
  color: var(--line);
  transition: color .18s var(--ease);
}
.rail:hover .rail__stamp,
.rail:focus-within .rail__stamp { color: var(--muted); }

.rail__list { display: flex; flex-direction: column; gap: 4px; }

.rail__link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  transition: color .16s var(--ease), background-color .16s var(--ease), border-color .16s var(--ease);
}
.rail__link:hover,
.rail__link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
}
.rail__link[aria-current="page"] {
  color: var(--text);
  background: rgba(37, 225, 212, .10);
  border-color: rgba(37, 225, 212, .38);
}
.rail__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  border-radius: 0 3px 3px 0;
  background: var(--cyan);
}
.rail__idx {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--line);
  transition: color .16s var(--ease);
}
.rail__link:hover .rail__idx { color: var(--muted); }
.rail__link[aria-current="page"] .rail__idx { color: var(--cyan); }

.rail__label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .14s var(--ease), transform .18s var(--ease);
}
.rail__plate {
  grid-column: 1 / -1;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .18s var(--ease), max-height .18s var(--ease);
}

.rail:hover,
.rail:focus-within { width: var(--rail-open); }
.rail:hover .rail__label,
.rail:focus-within .rail__label {
  opacity: 1;
  transform: none;
  transition-delay: .06s;
}
.rail:hover .rail__plate,
.rail:focus-within .rail__plate {
  opacity: .92;
  max-height: 26px;
  transition-delay: .08s;
}

.rail__cta { display: none; }

.rail__foot {
  margin-top: auto;
  text-align: center;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--line);
}

/* ---------- 17. 头部响应式 ---------- */
@media (min-width: 1000px) {
  body { padding-left: var(--rail-w); }
  .rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 3;
  }
  .rail:hover { box-shadow: 24px 0 60px -30px rgba(0, 0, 0, .9); }
}

@media (max-width: 1180px) {
  .header-bar__meta { display: none; }
}

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

  .rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    padding: 22px 16px 20px;
    background: rgba(14, 23, 41, .96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-right: 1px solid var(--line);
    overflow-y: auto;
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform .26s var(--ease), visibility .26s var(--ease);
    box-shadow: 30px 0 80px -40px rgba(0, 0, 0, .95);
  }
  .rail[data-open] { transform: none; visibility: visible; }

  .rail__stamp {
    writing-mode: horizontal-tb;
    margin: 0;
    font-size: 12.5px;
    letter-spacing: .28em;
    color: var(--muted);
  }
  .rail__list { margin-top: 6px; }
  .rail__link { padding: 13px 14px; }
  .rail__label,
  .rail__plate {
    opacity: 1;
    transform: none;
    max-height: none;
    overflow: visible;
  }
  .rail__plate { color: var(--muted); }
  .rail__cta {
    display: inline-flex;
    margin-top: auto;
  }
  .rail__foot { display: none; }

  .site-header[data-nav-open]::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2;
    background: rgba(7, 12, 24, .68);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 860px) {
  .header-bar__actions { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .brand__tag { display: none; }
  .brand__line { font-size: 15.5px; }
  .brand__mark { width: 34px; height: 34px; font-size: 12px; }
}

/* ==========================================================================
   18. 共享页脚
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 8vw, 120px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 10% 0%, rgba(37, 225, 212, .07), transparent 56%),
    radial-gradient(70% 100% at 90% 18%, rgba(255, 155, 61, .06), transparent 62%),
    var(--rail-bg);
  color: var(--text);
}

.footer__inner { padding-top: clamp(36px, 5vw, 64px); }

.footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(130px, 1fr));
  gap: clamp(24px, 3.4vw, 52px);
  padding-bottom: clamp(26px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.footer__brand { min-width: 0; }
.brand--footer { margin-right: 0; margin-bottom: 14px; }
.footer__note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 34ch;
}
.footer__ver {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: .16em;
  color: rgba(141, 156, 184, .7);
}

.footer__col-title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer__list li + li { margin-top: 10px; }
.footer__list a {
  font-size: 15px;
  color: rgba(243, 246, 251, .78);
  transition: color .16s var(--ease);
}
.footer__list a:hover { color: var(--cyan); }

.footer__contact {
  display: grid;
  gap: 12px;
  padding-block: clamp(22px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}
.footer__contact-title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--muted);
}
.footer__contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
}
.footer__contact-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  min-width: 0;
}
.footer__k {
  flex: 0 0 auto;
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--cyan);
}
.footer__v {
  font-size: 15px;
  color: var(--text);
  word-break: break-word;
}
.footer__contact-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 72ch;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 20px clamp(24px, 3vw, 34px);
  font-size: 13px;
  color: var(--muted);
}
.footer__icp { letter-spacing: .08em; }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__contact-item { flex-direction: column; gap: 2px; }
  .footer__contact-list { gap: 14px; }
}

/* ==========================================================================
   19. 减少动态偏好
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .panel:hover { transform: none; }
  .btn:hover { transform: none; }
  .pod__link:hover { transform: none; }
}
