/* =========================================================
   /assets/site.css
   乐宝体育官网 · 共享外壳与基础组件
   结构约定：桌面端 body 预留 --rail-w 左侧空间给固定导航轨道
   ========================================================= */

/* ---------- 01. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; }
ul[class], ol[class] { list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
:where(input, textarea, select) { font: inherit; }

/* ---------- 02. Tokens ---------- */
:root {
  --cream: #F5EFE3;
  --paper: #FFFCF6;
  --indigo: #14203A;
  --indigo-mid: #26385E;
  --whistle: #F0601C;
  --whistle-deep: #C24A12;
  --field: #2F6B4E;
  --moss: #7C9A6E;
  --neon: #E9FF57;
  --graphite: #34383E;
  --stone: #6C7076;
  --clay: #C06A45;
  --line: #D9D2C2;

  --cream-soft: rgba(245, 239, 227, .68);
  --cream-faint: rgba(245, 239, 227, .16);
  --ink-soft: rgba(52, 56, 62, .74);

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

  --rail-w: 264px;
  --wrap: 1180px;
  --pad: clamp(18px, 4vw, 56px);
  --gap: clamp(16px, 2.2vw, 28px);
  --r-lg: 28px;
  --r-md: 18px;
  --r-pill: 999px;
  --shadow-card: 0 1px 0 rgba(20, 32, 58, .04), 0 22px 44px -32px rgba(20, 32, 58, .5);
}

/* ---------- 03. 中文排版基线 ---------- */
body {
  background: var(--cream);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.012em;
  color: var(--indigo);
}
h1 { font-size: clamp(34px, 6vw, 64px); line-height: 1.06; }
h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; }
h3 { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.25; }
h4 { font-size: 20px; line-height: 1.4; }
p { line-height: 1.75; }
strong { font-weight: 700; }
small { font-size: 13px; }
::selection { background: var(--whistle); color: #12203a; }

#main-content { display: block; scroll-margin-top: 24px; }

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

/* ---------- 04. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 999;
  display: inline-block;
  padding: .62em 1.1em;
  border-radius: var(--r-pill);
  background: var(--neon);
  color: var(--indigo);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 05. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap--tight { max-width: 820px; }

.band { padding-block: clamp(36px, 6vw, 76px); }
.band--dark { background: var(--indigo); color: var(--cream); }
.band--dark h1, .band--dark h2, .band--dark h3 { color: var(--cream); }
.band--paper { background: var(--paper); }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--12 { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

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

/* ---------- 06. 标签 / 章节头 / 卡片 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--whistle-deep);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: currentColor;
  flex: 0 0 auto;
}
.band--dark .eyebrow { color: var(--moss); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 34px);
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.012em;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .28em .68em;
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--field);
  white-space: nowrap;
}
.tag--whistle { color: var(--whistle-deep); }
.tag--field { color: var(--field); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--shadow-card);
}
.card--dark {
  background: var(--indigo-mid);
  border-color: rgba(255, 252, 246, .14);
  color: var(--cream);
  box-shadow: none;
}
.card--dark h2, .card--dark h3, .card--dark h4 { color: var(--cream); }

/* ---------- 07. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .72em 1.25em;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease,
              border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--whistle {
  background: var(--whistle);
  color: #12203a;
  box-shadow: 0 12px 24px -16px rgba(240, 96, 28, .95);
}
.btn--whistle:hover { background: #ff7534; }

.btn--field { background: var(--field); color: var(--paper); }
.btn--field:hover { background: #3a8161; }

.btn--ink { background: var(--indigo); color: var(--cream); }
.btn--ink:hover { background: var(--indigo-mid); }

.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--graphite);
}
.btn--outline:hover { border-color: var(--whistle-deep); color: var(--whistle-deep); }

.btn--ghost {
  background: transparent;
  border-color: rgba(245, 239, 227, .32);
  color: var(--cream);
}
.btn--ghost:hover { border-color: var(--moss); color: var(--moss); }

.btn--sm { padding: .5em .95em; font-size: 13px; }

/* ---------- 08. 表格 / 数字 ---------- */
.dtable { width: 100%; font-size: 15px; line-height: 1.5; }
.dtable th, .dtable td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
.dtable thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  border-bottom: 1px solid var(--graphite);
  white-space: nowrap;
}
.dtable tbody tr { transition: background-color .16s ease; }
.dtable tbody tr:hover { background: rgba(240, 96, 28, .07); }
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.tnum { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- 09. 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: clamp(16px, 2.4vw, 26px);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .45em; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin-right: .45em;
  color: var(--line);
}
.breadcrumb a { color: var(--whistle-deep); border-bottom: 1px solid transparent; }
.breadcrumb a:hover { border-color: currentColor; }
.band--dark .breadcrumb { color: var(--cream-soft); }
.band--dark .breadcrumb a { color: var(--moss); }

/* ---------- 10. 分段切换基础 ---------- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(20, 32, 58, .05);
}
.tabs__list [role="tab"] {
  padding: .52em 1.05em;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--stone);
  transition: background-color .2s ease, color .2s ease;
}
.tabs__list [role="tab"]:hover { color: var(--graphite); }
.tabs__list [role="tab"][aria-selected="true"] {
  background: var(--indigo);
  color: var(--cream);
}
.tabs__panel { padding-top: clamp(18px, 2.6vw, 28px); outline: none; }
.tabs__panel[hidden] { display: none; }

/* ---------- 11. 图片容器基础（供页面阶段放图） ---------- */
.media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  background: var(--indigo-mid);
}
.media > img,
.media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(245, 239, 227, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 227, .07) 1px, transparent 1px);
  background-size: 100% 32px, 32px 100%;
  opacity: .55;
  mix-blend-mode: screen;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media__cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: .36em .7em;
  border-radius: var(--r-pill);
  background: rgba(20, 32, 58, .78);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- 12. 入场显现钩子 ---------- */
.js-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.js-reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   13. 框架式导航轨道（移动优先）
   ========================================================= */
.site-rail {
  position: relative;
  z-index: 80;
  background: var(--indigo);
  color: var(--cream);
  border-bottom: 2px solid var(--indigo-mid);
}

.rail__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 12px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 13px var(--pad) 14px;
}

.rail__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1 1 auto;
  min-width: 0;
  color: inherit;
}
.rail__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--whistle);
  color: #12203a;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .16);
}
.rail__brand-text { display: block; min-width: 0; }
.rail__brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--cream);
  white-space: nowrap;
}
.rail__brand-tag {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, .52);
  white-space: nowrap;
}

.rail__signature {
  display: none;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(245, 239, 227, .52);
}

.rail__toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid rgba(245, 239, 227, .28);
  border-radius: var(--r-pill);
  background: var(--indigo-mid);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: background-color .2s ease, border-color .2s ease;
}
.rail__toggle:hover { background: #31476f; border-color: rgba(245, 239, 227, .5); }
.rail__toggle-text { line-height: 1; }
.rail__toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color .2s ease;
}
.rail__toggle-bars::before,
.rail__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .24s ease;
}
.rail__toggle-bars::before { top: -5px; }
.rail__toggle-bars::after { top: 5px; }
.site-rail[data-open="true"] .rail__toggle-bars { background: transparent; }
.site-rail[data-open="true"] .rail__toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.site-rail[data-open="true"] .rail__toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

.rail__nav {
  display: none;
  flex: 1 0 100%;
  order: 3;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--cream-faint);
}
.site-rail[data-open="true"] .rail__nav {
  display: block;
  animation: railNavIn .28s ease-out both;
}
@keyframes railNavIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
}
.nav-list__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 14px 11px 20px;
  border-radius: var(--r-pill);
  color: rgba(245, 239, 227, .84);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.nav-list__link::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: rgba(245, 239, 227, .3);
  transition: background-color .18s ease, box-shadow .18s ease;
}
.nav-list__link:hover { background: rgba(245, 239, 227, .08); color: #fff; }
.nav-list__link:hover::before { background: var(--whistle); }
.nav-list__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(245, 239, 227, .42);
  font-variant-numeric: tabular-nums;
}
.nav-list__label { min-width: 0; }
.nav-list__link[aria-current="page"] {
  background: var(--indigo-mid);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(240, 96, 28, .5);
}
.nav-list__link[aria-current="page"]::before {
  background: var(--whistle);
  box-shadow: 0 0 0 3px rgba(240, 96, 28, .22);
}
.nav-list__link[aria-current="page"] .nav-list__idx { color: var(--whistle); }

.rail__foot {
  display: none;
  flex: 1 0 100%;
  order: 4;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-faint);
}
.site-rail[data-open="true"] .rail__foot { display: flex; }
.rail__cta { flex: 1 1 auto; }
.rail__quick {
  font-size: 13px;
  font-weight: 700;
  color: rgba(245, 239, 227, .8);
  border-bottom: 1px dashed rgba(245, 239, 227, .38);
  padding-bottom: 1px;
  transition: color .18s ease, border-color .18s ease;
}
.rail__quick:hover { color: #fff; border-color: var(--whistle); }

.rail__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(245, 239, 227, .12);
  overflow: hidden;
}
.rail__progress-bar {
  display: block;
  width: calc(var(--p, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--whistle), #ff9a5c);
}

/* =========================================================
   14. 页脚
   ========================================================= */
.site-foot {
  position: relative;
  margin-top: clamp(56px, 9vw, 110px);
  background: var(--indigo);
  color: var(--cream);
  padding-block: clamp(38px, 6vw, 68px) 0;
}
.site-foot::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: rgba(245, 239, 227, .18);
}
.site-foot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 5px;
  background: var(--whistle);
}

.foot__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.foot__top {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  grid-template-columns: 1fr;
}

.foot__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--indigo-mid);
  border: 1px solid rgba(124, 154, 110, .45);
  color: var(--neon);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.foot__name {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em;
  color: var(--cream);
}
.foot__tag {
  margin-top: 8px;
  max-width: 26em;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(245, 239, 227, .6);
}
.foot__stamp {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(124, 154, 110, .95);
}

.foot__nav {
  display: grid;
  gap: clamp(20px, 3vw, 38px);
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.foot__col-title {
  margin-bottom: 13px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--moss);
}
.foot__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}
.foot__list a {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(245, 239, 227, .8);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .18s ease, border-color .18s ease;
}
.foot__list a:hover { color: #fff; border-color: var(--whistle); }

.foot__contact {
  display: grid;
  gap: 16px 30px;
  grid-template-columns: repeat(auto-fit, minmax(198px, 1fr));
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: clamp(20px, 3vw, 30px);
  border-top: 1px solid rgba(245, 239, 227, .16);
}
.foot__contact-item { min-width: 0; }
.foot__contact-label {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, .44);
}
.foot__contact-value {
  display: block;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(245, 239, 227, .9);
  word-break: break-word;
}
.foot__contact-value--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.foot__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(24px, 3.4vw, 36px);
  padding-block: 18px 24px;
  border-top: 1px solid rgba(245, 239, 227, .16);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: rgba(245, 239, 227, .54);
}
.foot__legal-line { margin: 0; }

/* =========================================================
   15. 平板微调
   ========================================================= */
@media (min-width: 720px) {
  .foot__top { grid-template-columns: minmax(200px, 1fr) 2fr; }
  .rail__brand-name { font-size: 21px; }
}

/* =========================================================
   16. 桌面端：固定左侧轨道 + 内容让位
   ========================================================= */
@media (min-width: 1024px) {
  body {
    padding-left: var(--rail-w);
  }

  .site-rail {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-w);
    height: 100vh;
    border-bottom: 0;
    border-right: 1px solid rgba(20, 32, 58, .55);
    overflow: hidden;
  }

  .rail__inner {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 26px 20px 22px;
  }

  .rail__brand { flex: 0 0 auto; align-items: flex-start; gap: 12px; }
  .rail__mark { width: 44px; height: 44px; font-size: 22px; }
  .rail__brand-name { font-size: 20px; }
  .rail__brand-tag { font-size: 9.5px; }

  .rail__signature {
    display: block;
    flex: 0 0 auto;
    margin-top: 22px;
    padding-left: 2px;
    font-size: 12px;
    line-height: 1.7;
    color: rgba(245, 239, 227, .5);
  }

  .rail__toggle { display: none; }

  .site-rail .rail__nav {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    order: 0;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--cream-faint);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .site-rail[data-open="true"] .rail__nav { animation: none; }

  .site-rail .rail__foot {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    order: 0;
    margin-top: 18px;
    padding-top: 18px;
  }
  .site-rail .rail__cta { flex: 0 0 auto; width: 100%; }
  .rail__quick { text-align: center; }

  .rail__progress {
    left: auto;
    top: 0;
    bottom: 0;
    right: 0;
    width: 3px;
    height: auto;
    background: rgba(245, 239, 227, .1);
  }
  .rail__progress-bar {
    width: 100%;
    height: calc(var(--p, 0) * 100%);
    background: linear-gradient(180deg, #ff9a5c, var(--whistle));
  }

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

/* =========================================================
   17. 动效降级
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .skip-link { transition: none; }
  .js-reveal { opacity: 1; transform: none; transition: none; }
  .site-rail[data-open="true"] .rail__nav { animation: none; }
  .rail__progress-bar { transition: none; }
}
