/* ============================================================
   欧博会馆 · 共享站点套件
   路径：/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: 24px;
}

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

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

img, svg, video { max-width: 100%; height: auto; }

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

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

/* ---------- 2. 设计令牌 ---------- */
:root {
  color-scheme: dark;

  --ink-900: #07111F;
  --ink-800: #0C1B2E;
  --ink-700: #13263D;
  --amber-400: #F2B84B;
  --cyan-400: #38E1D6;
  --coral-500: #FF6B5E;
  --mist-100: #E8EEF6;
  --slate-400: #8FA3B8;
  --line-500: #28405A;
  --success-400: #5BE3A6;

  --rail-w: 236px;
  --dock-w: 58px;
  --gutter: clamp(18px, 4vw, 56px);
  --page-max: 1220px;

  --font-display: "Oswald", "Barlow Condensed", "Arial Narrow",
                  "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace,
               SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

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

/* ---------- 3. 基础与中文排版 ---------- */
body {
  min-height: 100vh;
  background:
    radial-gradient(1180px 620px at 78% -10%, rgba(56, 225, 214, .09), transparent 62%),
    radial-gradient(900px 520px at 2% 102%, rgba(242, 184, 75, .065), transparent 60%),
    var(--ink-900);
  color: var(--mist-100);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(40, 64, 90, .22) 1px, transparent 1px);
  background-size: 96px 100%;
  opacity: .45;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.012em;
  color: var(--mist-100);
  font-stretch: condensed;
  text-wrap: balance;
}

h1 { font-size: clamp(31px, 4.2vw, 48px); }
h2 { font-size: clamp(23px, 2.9vw, 34px); font-weight: 600; }
h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; letter-spacing: .01em; }

p { text-wrap: pretty; }

strong { color: var(--mist-100); font-weight: 600; }

::selection { background: var(--amber-400); color: var(--ink-900); }

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

/* ---------- 4. 通用容器与栅格 ---------- */
.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(40px, 6vw, 84px); }
.section--tight { padding-block: clamp(26px, 3.5vw, 46px); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 26px;
  margin-bottom: clamp(22px, 3vw, 38px);
}

.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }

.grid--halves { grid-template-columns: 1fr; }
.grid--thirds { grid-template-columns: 1fr; }

@media (min-width: 760px) {
  .grid--halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--thirds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .grid--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap, 14px);
}

.rule {
  height: 1px;
  border: 0;
  background: var(--line-500);
  margin-block: clamp(22px, 3vw, 36px);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 5. 文本原子组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--amber-400);
}

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: .45em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-500);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--slate-400);
  background: rgba(19, 38, 61, .5);
}

.tag--live { color: var(--success-400); border-color: rgba(91, 227, 166, .42); }
.tag--alert { color: var(--coral-500); border-color: rgba(255, 107, 94, .42); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .045em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .22s var(--ease),
              color .22s var(--ease),
              border-color .22s var(--ease);
}

.btn--solid {
  background: var(--amber-400);
  color: var(--ink-900);
}
.btn--solid:hover,
.btn--solid:focus-visible { background: #FFC961; color: var(--ink-900); }

.btn--line {
  background: rgba(19, 38, 61, .55);
  border-color: var(--line-500);
  color: var(--mist-100);
}
.btn--line:hover,
.btn--line:focus-visible { border-color: var(--cyan-400); color: var(--cyan-400); }

.btn--alert {
  background: transparent;
  border-color: rgba(255, 107, 94, .55);
  color: var(--coral-500);
}
.btn--alert:hover,
.btn--alert:focus-visible { background: rgba(255, 107, 94, .13); color: var(--coral-500); }

.btn--sm { padding: 9px 15px; font-size: 13.5px; }

/* ---------- 7. 面板 ---------- */
.panel {
  background: var(--ink-800);
  border: 1px solid var(--line-500);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 32px);
}

.panel--flat { background: var(--ink-700); }

/* ---------- 8. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(20px, 2.4vw, 28px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--slate-400);
}

.breadcrumb a { color: var(--slate-400); }
.breadcrumb a:hover { color: var(--cyan-400); }
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-500);
}

/* ---------- 9. 图片容器基础规则 ---------- */
.figure {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-500);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ink-700), var(--ink-900));
  isolation: isolate;
}

.figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__ghost {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(115deg, transparent 0 37%, rgba(56, 225, 214, .17) 37% 39.4%, transparent 39.4%),
    linear-gradient(115deg, transparent 0 58%, rgba(242, 184, 75, .15) 58% 59.6%, transparent 59.6%),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(40, 64, 90, .55) 47px 48px);
  background-color: var(--ink-700);
}

.figure__scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(7, 17, 31, .9));
  pointer-events: none;
}

.figure__cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--mist-100);
}

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

/* ---------- 10. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 14px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--amber-400);
  color: var(--ink-900);
  font-weight: 600;
  font-size: 14px;
  border-radius: 2px;
  transition: top .18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { top: 12px; color: var(--ink-900); }

/* ---------- 11. 头部：左侧轨道 ---------- */
.site-header {
  position: relative;
  z-index: 70;
}

.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 75;
  display: flex;
  flex-direction: column;
  padding: 30px 24px 26px;
  background: linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 68%);
  border-right: 1px solid var(--line-500);
}

.rail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 44%;
  background: linear-gradient(180deg, var(--amber-400), rgba(242, 184, 75, 0));
}

/* 品牌 */
.brand {
  display: block;
  color: inherit;
  text-decoration: none;
}
.brand:hover { color: inherit; }

.brand__mark {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  line-height: 1;
  letter-spacing: .16em;
  color: var(--mist-100);
}

.brand__line {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  line-height: 1.6;
  color: var(--slate-400);
}

/* 移动按钮 */
.rail__toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line-500);
  border-radius: 2px;
  background: var(--ink-700);
  color: var(--mist-100);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
}

.rail__toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
  flex: none;
}
.rail__toggle-bars::before,
.rail__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .24s var(--ease), top .24s var(--ease);
}
.rail__toggle-bars::before { top: 0; }
.rail__toggle-bars::after { top: 8px; }

.rail[data-open="true"] .rail__toggle-bars::before { top: 4px; transform: rotate(45deg); }
.rail[data-open="true"] .rail__toggle-bars::after { top: 4px; transform: rotate(-45deg); }

/* 导航 */
.rail__nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  margin-top: 36px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-500) transparent;
}

.rail__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rail__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0 10px 16px;
  color: var(--slate-400);
  font-size: 15px;
  letter-spacing: .045em;
  text-decoration: none;
  transition: color .22s var(--ease), background-color .22s var(--ease);
}

.rail__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--amber-400);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .26s var(--ease), opacity .26s var(--ease);
  opacity: 0;
}

.rail__link:hover,
.rail__link:focus-visible {
  color: var(--mist-100);
  background: rgba(19, 38, 61, .55);
}
.rail__link:hover::before,
.rail__link:focus-visible::before { transform: scaleY(.6); opacity: .65; }

.rail__link[aria-current="page"] {
  color: var(--mist-100);
  background: rgba(19, 38, 61, .7);
}
.rail__link[aria-current="page"]::before { transform: scaleY(1); opacity: 1; }
.rail__link[aria-current="page"] .rail__idx { color: var(--amber-400); }

.rail__idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--line-500);
  flex: none;
  transition: color .22s var(--ease);
}
.rail__link:hover .rail__idx { color: var(--cyan-400); }

.rail__label { display: block; }

/* 轨道底部入口 */
.rail__foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-500);
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: none;
}

.rail__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--slate-400);
  margin-bottom: 2px;
}

.rail__cta {
  display: block;
  padding: 11px 14px;
  background: var(--amber-400);
  color: var(--ink-900);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: center;
  transition: background-color .22s var(--ease);
}
.rail__cta:hover,
.rail__cta:focus-visible { background: #FFC961; color: var(--ink-900); }

.rail__ghost {
  display: block;
  padding: 9px 14px;
  border: 1px solid var(--line-500);
  border-radius: 2px;
  color: var(--mist-100);
  font-size: 13.5px;
  letter-spacing: .06em;
  text-align: center;
  transition: border-color .22s var(--ease), color .22s var(--ease);
}
.rail__ghost:hover,
.rail__ghost:focus-visible { border-color: var(--cyan-400); color: var(--cyan-400); }

/* 滚动进度 */
.rail__progress {
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top center;
  background: linear-gradient(180deg, var(--amber-400), var(--cyan-400));
  pointer-events: none;
}

/* 抽屉遮罩 */
.nav-scrim {
  position: fixed;
  inset: 60px 0 0 0;
  z-index: 72;
  background: rgba(4, 9, 17, .66);
  backdrop-filter: blur(2px);
  border: 0;
  cursor: pointer;
}
.nav-scrim[hidden] { display: none; }

/* ---------- 12. 右侧服务坞 ---------- */
.dock {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 9px;
  min-width: 48px;
  background: rgba(12, 27, 46, .94);
  border: 1px solid var(--line-500);
  border-right: 0;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 18px 40px rgba(3, 8, 16, .5);
}

.dock__btn {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 15px 8px;
  border: 1px solid var(--line-500);
  border-radius: 2px;
  background: var(--ink-700);
  color: var(--mist-100);
  font-size: 12px;
  letter-spacing: .22em;
  text-decoration: none;
  text-align: center;
  transition: background-color .22s var(--ease),
              color .22s var(--ease),
              border-color .22s var(--ease);
}
.dock__btn:hover,
.dock__btn:focus-visible { border-color: var(--cyan-400); color: var(--cyan-400); }

.dock__btn--primary {
  background: var(--amber-400);
  border-color: var(--amber-400);
  color: var(--ink-900);
  font-weight: 600;
}
.dock__btn--primary:hover,
.dock__btn--primary:focus-visible {
  background: #FFC961;
  border-color: #FFC961;
  color: var(--ink-900);
}

/* ---------- 13. 页脚 ---------- */
.foot {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 8vw, 110px);
  background: var(--ink-800);
  border-top: 1px solid var(--line-500);
  overflow: hidden;
}

.foot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(40, 64, 90, .3) 0 1px, transparent 1px 104px);
  opacity: .5;
}

.foot__inner {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: clamp(40px, 5vw, 72px) var(--gutter) 0;
}

.foot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3vw, 44px);
  padding-bottom: clamp(32px, 4vw, 54px);
  border-bottom: 1px solid var(--line-500);
}

@media (min-width: 720px) {
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1040px) {
  .foot__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3.4fr);
  }
}

.foot__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

.foot__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .16em;
  line-height: 1.1;
  color: var(--mist-100);
}

.foot__line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--cyan-400);
}

.foot__summary {
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--slate-400);
}

.foot__cta { margin-top: 6px; }

.foot__col { display: flex; flex-direction: column; gap: 12px; }

.foot__title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber-400);
}

.foot__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot__list a {
  font-size: 15px;
  color: rgba(232, 238, 246, .86);
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color .2s var(--ease);
}
.foot__list a:hover,
.foot__list a:focus-visible { color: var(--cyan-400); text-decoration: underline; }

.foot__contact { display: flex; flex-direction: column; gap: 11px; }

.foot__row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.65;
}

.foot__row--addr { align-items: flex-start; }

.foot__key {
  flex: 0 0 44px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--cyan-400);
  padding-top: 3px;
}

.foot__val {
  color: var(--slate-400);
  word-break: break-word;
}

.foot__note {
  margin-top: 4px;
  padding-left: 10px;
  border-left: 2px solid rgba(255, 107, 94, .55);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate-400);
  max-width: 36ch;
}

.foot__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
  padding: 22px 0 clamp(26px, 4vw, 40px);
}

.foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot__legal a {
  font-size: 13.5px;
  color: var(--slate-400);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.foot__legal a:hover,
.foot__legal a:focus-visible { color: var(--cyan-400); }

.foot__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--slate-400);
}

.foot__icp { color: var(--slate-400); }

/* ---------- 14. 桌面端内容避让 ---------- */
@media (min-width: 961px) {
  body {
    padding-left: var(--rail-w);
    padding-right: var(--dock-w);
  }
}

@media (min-width: 961px) and (max-width: 1180px) {
  :root { --rail-w: 200px; }
  .brand__mark { font-size: 22px; }
  .rail { padding: 26px 18px 22px; }
}

/* ---------- 15. 平板 / 移动端 ---------- */
@media (max-width: 960px) {
  html { scroll-padding-top: 78px; }

  body {
    padding-top: 60px;
    padding-bottom: 66px;
    font-size: 16.5px;
    line-height: 1.72;
  }

  body::before { opacity: .28; background-size: 76px 100%; }

  body.is-nav-open { overflow: hidden; }

  .rail {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 60px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line-500);
    background: rgba(7, 17, 31, .95);
    backdrop-filter: blur(10px);
  }

  .rail::before { display: none; }

  .brand__mark { font-size: 19px; letter-spacing: .14em; }
  .brand__line { display: none; }

  .rail__toggle { display: inline-flex; }

  .rail__nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    margin-top: 0;
    max-height: calc(100vh - 60px);
    max-height: calc(100dvh - 60px);
    overflow-y: auto;
    display: none;
    flex: none;
    padding: 16px 18px 26px;
    background: var(--ink-800);
    border-bottom: 1px solid var(--line-500);
    box-shadow: 0 22px 48px rgba(3, 8, 16, .6);
  }

  .rail[data-open="true"] .rail__nav { display: block; }

  .rail__list { gap: 0; }

  .rail__link {
    padding: 14px 0 14px 16px;
    font-size: 16px;
    border-bottom: 1px solid rgba(40, 64, 90, .65);
  }

  .rail__link::before { top: 10px; bottom: 10px; }

  .rail__foot {
    margin-top: 22px;
    padding-top: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .rail__meta { flex: 0 0 100%; margin-bottom: 6px; }

  .rail__cta, .rail__ghost { flex: 1 1 130px; }

  .rail__progress { display: none; }

  .dock {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: row;
    gap: 10px;
    min-width: 0;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
    border: 1px solid var(--line-500);
    border-width: 1px 0 0 0;
    border-radius: 0;
    background: rgba(7, 17, 31, .96);
    backdrop-filter: blur(10px);
  }

  .dock__btn {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    flex: 1 1 0;
    padding: 11px 10px;
    font-size: 13px;
    letter-spacing: .1em;
  }

  .nav-scrim { display: block; }

  .foot { margin-top: 46px; }
  .foot__base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .brand__mark { font-size: 17px; letter-spacing: .1em; }
  .dock__btn { font-size: 12.5px; padding: 10px 6px; }
}

/* ---------- 16. 动效与降级 ---------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .62s var(--ease), transform .62s var(--ease);
}

.reveal-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
