/* ===========================================================
   九博体育 · 共享样式  /assets/site.css
   基调：青海湖蓝近单色 + 高原日落橙唯一强调
   形态：侧边轨道导航 + 纸张叠层 + 印刷边框 + 等宽索引
   =========================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

::selection { background: #FFD9BE; color: #0B0F14; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B0F14;
  --ink-2: #0F1E2E;
  --lake: #1B6FA8;
  --lake-deep: #0E4C78;
  --lake-soft: #7FB6D9;
  --print: #8A97A3;
  --snow: #F4F7F9;
  --sunset: #F26B21;
  --sunset-soft: #FFD9BE;
  --neon: #2BE0B7;

  --rail-w: 240px;
  --status-h: 44px;

  --paper: #FFFFFF;
  --ink-70: #3B4652;
  --ink-50: #55616D;

  --line: rgba(138, 151, 163, .42);
  --line-soft: rgba(138, 151, 163, .24);
  --line-dark: rgba(127, 182, 217, .24);

  --gap: 24px;
  --shadow-paper: 6px 6px 0 rgba(138, 151, 163, .22);
  --shadow-paper-hover: 8px 8px 0 rgba(242, 107, 33, .18);

  --ease: cubic-bezier(.22, .61, .36, 1);

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

/* ---------- 3. 基础排版 ---------- */
body {
  margin: 0;
  padding-top: var(--status-h);
  background: var(--snow);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

strong, b { font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--lake-deep);
  outline-offset: 2px;
}
.statusbar :focus-visible,
.rail :focus-visible,
.site-footer :focus-visible,
.band :focus-visible,
.band--navy :focus-visible {
  outline-color: var(--neon);
}

.mono,
.eyebrow,
.idx,
.tag,
.crumbs,
.sechead__idx,
.panel__index,
.stat__value,
.footer__legal,
.navtoggle__label,
.rail__head,
.rail__num,
.rail__note,
.statusbar__nowKey,
.statusbar__nowVal {
  font-family: var(--mono);
  letter-spacing: .08em;
}

/* ---------- 4. 跳转与容器 ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: -120px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--sunset);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  border-radius: 2px;
}
.skip-link:focus { top: calc(var(--status-h) + 10px); }

#main-content { display: block; }

.wrap {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}
.wrap--wide { width: min(100% - 40px, 1440px); }

.section { padding: 72px 0; }
.section--tight { padding: 44px 0; }

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.2em; }

/* ---------- 5. 头部：状态条 ---------- */
.site-header { position: relative; z-index: 90; }

.statusbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--status-h);
  z-index: 90;
  background: var(--ink);
  color: var(--snow);
  border-bottom: 1px solid var(--line-dark);
}

.statusbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 0 clamp(14px, 2.4vw, 28px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: none;
  padding: 6px 4px;
}
.brand__mark {
  position: relative;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--snow);
}
.brand__mark::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--sunset);
  vertical-align: 1px;
}
.brand__sig {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--lake-soft);
}

.statusbar__now {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  white-space: nowrap;
}
.statusbar__nowKey { font-size: 11px; color: var(--print); letter-spacing: .14em; }
.statusbar__nowVal { font-size: 12px; font-weight: 700; color: var(--neon); }

.quicknav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.quicknav__link {
  padding: 6px 12px;
  font-size: 13px;
  color: var(--snow);
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  transition: border-color .16s var(--ease), background-color .16s var(--ease), color .16s var(--ease);
}
.quicknav__link:hover {
  border-color: var(--sunset);
  background: rgba(242, 107, 33, .16);
  color: #fff;
}

.navtoggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 8px 10px;
  color: var(--snow);
  border: 1px solid var(--line-dark);
  border-radius: 2px;
}
.navtoggle__label { font-size: 11px; letter-spacing: .14em; }
.navtoggle__bars { display: grid; gap: 4px; width: 16px; }
.navtoggle__bars i {
  display: block;
  height: 2px;
  background: var(--snow);
  transition: transform .16s var(--ease), opacity .16s var(--ease);
}
[data-header][data-open="true"] .navtoggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
[data-header][data-open="true"] .navtoggle__bars i:nth-child(2) { opacity: 0; }
[data-header][data-open="true"] .navtoggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. 头部：滚动进度 ---------- */
.progress {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--status-h) - 3px);
  height: 3px;
  z-index: 88;
  background: rgba(127, 182, 217, .16);
  pointer-events: none;
}
.progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--sunset);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- 7. 头部：侧边轨道 ---------- */
.rail {
  position: fixed;
  top: var(--status-h);
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: 22px 0 18px;
  background: var(--ink);
  color: var(--snow);
  border-right: 1px solid var(--line-dark);
}

.rail__close {
  display: none;
  align-items: center;
  gap: 8px;
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  color: var(--snow);
  border: 1px solid var(--line-dark);
  border-radius: 2px;
}
.rail__closeLabel { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; }
.rail__closeMark { font-size: 16px; line-height: 1; color: var(--sunset); }

.rail__head {
  padding: 0 20px 12px;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--print);
}

.rail__list { display: flex; flex-direction: column; }

.rail__link {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #C9D6E2;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.rail__item + .rail__item .rail__link { border-top: 1px solid var(--line-dark); }

.rail__num { font-size: 11px; color: var(--print); }
.rail__label { min-width: 0; }

.rail__peek {
  position: absolute;
  left: 100%;
  top: 50%;
  z-index: 5;
  width: 96px;
  padding: 8px 10px;
  background: var(--sunset);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .06em;
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(-6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s linear;
  pointer-events: none;
}
.rail__link:hover .rail__peek,
.rail__link:focus-visible .rail__peek {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.rail__link:hover {
  background: rgba(27, 111, 168, .22);
  color: #fff;
}
.rail__link:hover .rail__num { color: var(--lake-soft); }

.rail__link[aria-current="page"] {
  background: rgba(27, 111, 168, .18);
  color: var(--snow);
  font-weight: 700;
}
.rail__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--sunset);
}
.rail__link[aria-current="page"] .rail__num { color: var(--sunset); }

.rail__quick { display: none; }
.rail__quickList { display: flex; flex-direction: column; gap: 6px; padding: 0 20px; }
.rail__quickLink {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  color: #C9D6E2;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
}
.rail__quickLink:hover { border-color: var(--sunset); color: #fff; }

.rail__foot {
  margin-top: auto;
  padding: 18px 20px 0;
  border-top: 1px solid var(--line-dark);
}
.rail__cta { width: 100%; justify-content: center; }
.rail__note {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .06em;
  color: var(--print);
}

.rail-scrim {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(11, 15, 20, .64);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s var(--ease), visibility .18s linear;
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: var(--snow);
}

.footer__inner {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
  padding: 60px 0 40px;
  display: grid;
  gap: 40px;
}

.footer__mark {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .06em;
}
.footer__sig {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--neon);
}
.footer__desc {
  margin-top: 14px;
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.85;
  color: #A9B7C4;
}
.footer__cta { margin-top: 22px; }

.footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.footer__coltitle {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--print);
}
.footer__links li + li { margin-top: 8px; }
.footer__links a {
  font-size: 15px;
  color: #C9D6E2;
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.footer__links a:hover { color: #fff; border-bottom-color: var(--sunset); }

.footer__contactList { display: grid; gap: 10px; }
.footer__contactList li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #C9D6E2;
  overflow-wrap: anywhere;
}
.footer__contactList .idx { font-size: 11px; color: var(--print); letter-spacing: .12em; }

.footer__base { border-top: 1px solid var(--line-dark); }
.footer__baseInner {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
  padding: 16px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: baseline;
}
.footer__legal { font-size: 12px; letter-spacing: .06em; color: #9BA9B6; }
.footer__small { font-size: 13px; color: var(--print); }

/* ---------- 9. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: background-color .16s var(--ease), border-color .16s var(--ease),
              color .16s var(--ease), transform .16s var(--ease);
}
.btn:hover { transform: translateY(-2px); border-color: var(--sunset); }

.btn--primary {
  background: var(--sunset);
  border-color: var(--sunset);
  color: var(--ink);
}
.btn--primary:hover { background: #FF823F; border-color: var(--ink); }

.btn--lake {
  background: var(--lake);
  border-color: var(--lake);
  color: #fff;
}
.btn--lake:hover { background: var(--lake-deep); border-color: var(--lake-deep); color: #fff; }

.btn--ghost {
  background: var(--paper);
  border-color: var(--print);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--sunset); }

.band .btn--ghost,
.band--navy .btn--ghost {
  background: transparent;
  border-color: var(--lake-soft);
  color: var(--snow);
}

/* ---------- 10. 栅格与留白 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.col-3, .col-4, .col-5, .col-6,
.col-7, .col-8, .col-9, .col-12 { grid-column: span 12; }

/* ---------- 11. 标题体系 ---------- */
.display {
  font-size: clamp(48px, 9vw, 132px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.02em;
}
.h1 {
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.018em;
}
.h2 {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.012em;
}
.h3 {
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 900;
  line-height: 1.3;
}
.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.85;
  color: var(--ink-70);
  max-width: 62ch;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--lake-deep);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--sunset);
}

.sechead {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}
.sechead__idx {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--lake-deep);
}
.sechead__lead {
  max-width: 60ch;
  font-size: 17px;
  color: var(--ink-70);
}

/* ---------- 12. 研究板组件 ---------- */
.panel {
  position: relative;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-paper);
  transition: transform .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.panel::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 34px;
  height: 34px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  pointer-events: none;
}
.panel:hover {
  transform: translateY(-2px);
  border-color: var(--sunset);
  box-shadow: var(--shadow-paper-hover);
}
.panel__index {
  display: inline-block;
  padding: 2px 7px;
  font-size: 11px;
  color: var(--print);
  border: 1px solid var(--line);
}
.panel__title {
  margin-top: 14px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
}
.panel__lead {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-70);
}

.ruleblock {
  padding: 16px 18px;
  background: var(--sunset-soft);
  border-left: 3px solid var(--sunset);
  color: var(--ink);
}
.ruleblock__title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--ink);
}
.ruleblock p { margin-top: 6px; color: var(--ink); font-size: 15px; }

/* ---------- 13. 数据、步骤、标签 ---------- */
.stat {
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}
.stat__value {
  display: block;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--lake-deep);
}
.stat__unit { margin-left: 6px; font-size: 12px; color: var(--print); }
.stat__label { margin-top: 8px; font-size: 13px; color: var(--ink-50); }

.steps { display: grid; gap: 20px; counter-reset: jbs-step; }
.steps > li {
  position: relative;
  padding-left: 46px;
  min-height: 28px;
}
.steps > li::before {
  counter-increment: jbs-step;
  content: counter(jbs-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink);
  border: 1px solid var(--print);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  font-size: 11px;
  letter-spacing: .08em;
  color: #3E4A56;
  background: var(--snow);
  border: 1px solid var(--print);
  border-radius: 2px;
}
.tag--live { color: var(--lake-deep); border-color: var(--lake-soft); background: rgba(127, 182, 217, .18); }
.tag--rule { color: #8A3A0C; border-color: var(--sunset); background: var(--sunset-soft); }

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lake);
}
.dot--neon {
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(43, 224, 183, .2);
}

/* ---------- 14. 深色分区 ---------- */
.band { background: var(--ink); color: var(--snow); }
.band--navy { background: var(--ink-2); color: var(--snow); }
.band .h1, .band .h2, .band .h3, .band .display,
.band--navy .h1, .band--navy .h2, .band--navy .h3, .band--navy .display { color: var(--snow); }
.band .lead, .band--navy .lead { color: #B9C7D4; }
.band .sechead, .band--navy .sechead { border-top-color: rgba(127, 182, 217, .5); }
.band .sechead__idx, .band--navy .sechead__idx { color: var(--lake-soft); }
.band .sechead__lead, .band--navy .sechead__lead { color: #B9C7D4; }
.band .stat, .band--navy .stat { border-top-color: var(--lake-soft); }
.band .stat__value, .band--navy .stat__value { color: var(--snow); }
.band .stat__label, .band--navy .stat__label { color: #A9B7C4; }
.band .ruleblock {
  background: rgba(242, 107, 33, .16);
  border-left-color: var(--sunset);
  color: var(--snow);
}
.band .ruleblock__title, .band .ruleblock p { color: var(--snow); }
.band .panel, .band--navy .panel {
  background: rgba(244, 247, 249, .05);
  border-color: var(--line-dark);
  box-shadow: 6px 6px 0 rgba(11, 15, 20, .5);
}
.band .panel::before, .band--navy .panel::before { border-top-color: var(--lake-soft); border-left-color: var(--lake-soft); }
.band .panel__title, .band--navy .panel__title { color: var(--snow); }
.band .panel__lead, .band--navy .panel__lead { color: #A9B7C4; }
.band .steps > li::before, .band--navy .steps > li::before {
  color: var(--snow);
  border-color: var(--lake-soft);
}

/* ---------- 15. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media__tag {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--snow);
  background: var(--ink);
}
.media__cap {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-50);
}
.media-slot {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--lake-soft);
  background-image: linear-gradient(135deg, rgba(27, 111, 168, .35), rgba(11, 15, 20, .9) 68%);
}

/* ---------- 16. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-50);
}
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "/"; color: var(--print); }
.crumbs a:hover { color: var(--lake-deep); }

/* ---------- 17. 显现动效 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 18. 响应式 ---------- */
@media (min-width: 640px) {
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .section { padding: 96px 0; }
  .section--tight { padding: 56px 0; }
  .col-3 { grid-column: span 3; }
  .col-4 { grid-column: span 4; }
  .col-5 { grid-column: span 5; }
  .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; }
  .col-8 { grid-column: span 8; }
  .col-9 { grid-column: span 9; }
  .footer__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr); gap: 48px; }
  .footer__contact { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  #main-content { padding-left: var(--rail-w); }
  .site-footer { padding-left: var(--rail-w); }
  .rail-scrim { display: none; }
  .section { padding: 112px 0; }
  .footer__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.7fr) minmax(0, 1fr); padding: 72px 0 48px; }
  .footer__contact { grid-column: auto; }
}

@media (max-width: 1023px) {
  :root { --status-h: 56px; }

  .statusbar__now,
  .quicknav { display: none; }
  .navtoggle { display: inline-flex; }

  .rail {
    top: 0;
    bottom: 0;
    width: 86%;
    max-width: 340px;
    z-index: 85;
    padding-top: 58px;
    overflow-y: auto;
    transform: translateX(-102%);
    transition: transform .2s var(--ease);
  }
  [data-header][data-open="true"] .rail { transform: translateX(0); }
  .rail__close { display: inline-flex; }
  .rail__quick { display: block; margin-top: 22px; }
  .rail__peek { display: none; }
  .rail__foot { margin-top: 26px; }

  .rail-scrim { z-index: 82; }
  [data-header][data-open="true"] .rail-scrim { opacity: 1; visibility: visible; }
  body.is-nav-open { overflow: hidden; }
}

@media (max-width: 479px) {
  .brand__sig { display: none; }
  .wrap, .wrap--wide,
  .footer__inner, .footer__baseInner { width: min(100% - 32px, 1240px); }
  .panel { padding: 18px; }
  .footer__contactList li { grid-template-columns: 46px 1fr; }
}

@media (max-height: 660px) and (min-width: 1024px) {
  .rail { overflow-y: auto; }
  .rail__peek { display: none; }
}

/* ---------- 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;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .panel:hover,
  .btn:hover { transform: none; }
}
