/* ============================================================
   ROR电竞站 · 共享样式 /assets/site.css
   视觉体系：夜间指挥舱 × 数据面板
   ============================================================ */

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

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

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: var(--rail-w);
  padding-top: var(--status-h);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

a {
  color: inherit;
  text-decoration: none;
}

i, em { font-style: normal; }

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

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #060B14;
  --ink-800: #0C1728;
  --ink-700: #142338;
  --line: #1E3350;
  --line-soft: rgba(30, 51, 80, .55);

  --text: #E9F0F8;
  --text-dim: #9AA8BE;

  --cyan: #38E1D4;
  --orange: #FF7A3D;
  --violet: #7A78A0;
  --green: #4BD08A;
  --amber: #F2C14E;

  --font-display: "Oswald", "Bebas Neue", "HarmonyOS Sans SC", "Source Han Sans SC",
                  "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
               Menlo, Consolas, "Liberation Mono", monospace;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC",
               "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  --rail-w: 88px;
  --status-h: 64px;
  --gutter: 40px;
  --gutter-sm: 20px;
  --shell-max: 1360px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 200ms;
}

/* ---------- 3. 中文排版基础 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.015em;
  color: var(--text);
}

p { text-wrap: pretty; }

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  transform: translateY(-240%);
  padding: 12px 20px;
  background: var(--cyan);
  color: #04121A;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  transition: transform 160ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 5. 外壳 ---------- */
.site-header {
  position: relative;
  z-index: 100;
}

/* ---------- 6. 左侧竖轨 / 移动抽屉 ---------- */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  z-index: 110;
  display: flex;
  flex-direction: column;
  background: var(--ink-900);
  border-right: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}

.rail__brand {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: var(--status-h);
  border-bottom: 1px solid var(--line);
}

.rail__brand-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .08em;
  color: var(--text);
}

.rail__brand-text {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
  letter-spacing: .18em;
  color: var(--violet);
}

.rail__nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

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

.rail__item { display: block; }

.rail__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 58px;
  padding: 8px 4px;
  color: var(--text-dim);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.rail__idx {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--violet);
  transition: color var(--dur) var(--ease);
}

.rail__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .04em;
}

.rail__link:hover {
  color: var(--text);
  background: linear-gradient(90deg, rgba(56, 225, 212, .08), transparent 78%);
}

.rail__link[aria-current="page"] {
  color: var(--text);
  background: linear-gradient(90deg, rgba(56, 225, 212, .16), transparent 82%);
}

.rail__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--cyan);
}

.rail__link[aria-current="page"] .rail__idx { color: var(--cyan); }

.rail__footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  padding: 16px 8px;
}

.rail__sync {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.rail__sync-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(75, 208, 138, .14);
}

.rail__sync-text {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--violet);
}

.rail__scrim { display: none; }

/* ---------- 7. 顶部状态条 ---------- */
.statusbar {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: var(--status-h);
  z-index: 100;
  background: rgba(6, 11, 20, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.statusbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  padding: 0 var(--gutter);
}

.statusbar__section {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.statusbar__pulse {
  position: relative;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: var(--cyan);
}

.statusbar__pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(56, 225, 212, .5);
  animation: pulse-ring 2.4s var(--ease) infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(.55); opacity: .95; }
  70%  { transform: scale(1.3);  opacity: 0; }
  100% { transform: scale(1.3);  opacity: 0; }
}

.statusbar__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: #04121A;
  background: var(--cyan);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.statusbar__cta::after {
  content: "→";
  font-size: 12px;
  line-height: 1;
}

.statusbar__cta:hover {
  background: var(--orange);
  color: #120600;
}

.site-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--orange));
  will-change: transform;
}

/* ---------- 8. 移动顶栏 ---------- */
.mobilebar { display: none; }

.mobilebar__brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.mobilebar__brand-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
  letter-spacing: .1em;
  color: var(--text);
}

.mobilebar__brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .16em;
  color: var(--violet);
}

.mobilebar__toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.mobilebar__toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.mobilebar__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
}

.mobilebar__bars i {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.mobilebar__toggle[aria-expanded="true"] .mobilebar__bars i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobilebar__toggle[aria-expanded="true"] .mobilebar__bars i:nth-child(2) {
  opacity: 0;
}

.mobilebar__toggle[aria-expanded="true"] .mobilebar__bars i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 76px) 0 0;
  color: var(--text-dim);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--text);
}

.footer__mark span {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--violet);
  vertical-align: middle;
}

.footer__statement {
  margin-top: 16px;
  max-width: 34ch;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  letter-spacing: .01em;
  color: var(--text);
}

.footer__sync {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-dim);
}

.footer__sync-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--green);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.footer__col { min-width: 0; }

.footer__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--violet);
}

.footer__heading::after {
  content: "";
  flex: 0 1 48px;
  height: 1px;
  background: var(--line);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__list--meta { gap: 14px; }

.footer__link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.footer__link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 13px;
  line-height: 1.7;
}

.footer__meta-key {
  flex: 0 0 48px;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--violet);
}

.footer__meta-value {
  color: var(--text-dim);
  word-break: break-word;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 0 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--violet);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer__dot {
  width: 3px;
  height: 3px;
  background: currentColor;
  opacity: .55;
}

.footer__address {
  max-width: 46ch;
  line-height: 1.7;
  color: var(--violet);
}

/* ---------- 10. 版式容器 ---------- */
.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(56px, 7vw, 104px);
  border-top: 1px solid var(--line);
}

.section--panel { background: var(--ink-800); }
.section--raised { background: var(--ink-700); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--flush { border-top: 0; }

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(28px, 3.5vw, 48px);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text);
}

.section-sub {
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dim);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 1px;
  background: var(--cyan);
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

/* ---------- 11. 正文 ---------- */
.prose {
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-dim);
}

.prose > * + * { margin-top: 1.15em; }

.prose__lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.75;
  color: var(--text);
}

.prose p { color: var(--text-dim); }
.prose strong { color: var(--text); font-weight: 700; }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
}

.prose a:hover { color: var(--orange); }

.prose ul,
.prose ol {
  list-style: disc;
  padding-left: 1.3em;
}

.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }

.prose h2,
.prose h3 {
  margin-top: 1.7em;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
}

/* ---------- 12. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  background: rgba(20, 35, 56, .62);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .08em;
  color: var(--text-dim);
  white-space: nowrap;
}

.tag--sync {
  color: var(--cyan);
  border-color: rgba(56, 225, 212, .42);
}

.tag--hot {
  color: var(--orange);
  border-color: rgba(255, 122, 61, .45);
}

.tag--warn {
  color: var(--amber);
  border-color: rgba(242, 193, 78, .45);
}

/* ---------- 13. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

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

.btn--primary {
  border-color: transparent;
  background: linear-gradient(115deg, var(--cyan), var(--orange));
  color: #04121A;
  font-weight: 700;
}

.btn--primary:hover {
  color: #120600;
  filter: brightness(1.1);
}

.btn--ghost {
  background: transparent;
  color: var(--text-dim);
}

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

.btn--sm {
  height: 34px;
  padding: 0 14px;
  font-size: 11px;
}

/* ---------- 14. 面包屑 ---------- */
.breadcrumb {
  background: var(--ink-900);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--violet);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--violet);
  opacity: .6;
}

.breadcrumb__link {
  color: var(--text-dim);
  transition: color var(--dur) var(--ease);
}

.breadcrumb__link:hover { color: var(--cyan); }

.breadcrumb__current { color: var(--text); }

/* ---------- 15. 折叠内容组（原生 details） ---------- */
.disclosure {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.disclosure__item {
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease);
}

.disclosure__item[open] { background: var(--ink-700); }

.disclosure__trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 18px;
  list-style: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}

.disclosure__trigger::-webkit-details-marker { display: none; }
.disclosure__trigger::marker { content: ""; }
.disclosure__trigger:hover { color: var(--cyan); }

.disclosure__q {
  flex: 1 1 auto;
  font-weight: 500;
}

.disclosure__status { flex: 0 0 auto; }

.disclosure__arrow {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease), margin-top var(--dur) var(--ease);
}

.disclosure__item[open] > .disclosure__trigger .disclosure__arrow {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.disclosure__panel {
  padding: 0 18px 22px;
  border-left: 2px solid transparent;
  transition: border-color var(--dur) var(--ease);
}

.disclosure__item[open] > .disclosure__panel {
  border-left-color: var(--cyan);
  padding-left: 20px;
}

.disclosure__body {
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-dim);
}

.disclosure__body > * + * { margin-top: 12px; }

/* ---------- 16. 媒体容器 ---------- */
.media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ink-700);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}

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

.media > img,
.media > picture,
.media > svg,
.media > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 11, 20, 0) 52%, rgba(6, 11, 20, .58) 100%),
    repeating-linear-gradient(90deg, rgba(30, 51, 80, .42) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(30, 51, 80, .30) 0 1px, transparent 1px 84px);
}

.media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .06em;
  color: var(--violet);
}

/* ---------- 17. 平板 ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
}

/* ---------- 18. 移动端 / 抽屉 ---------- */
@media (max-width: 960px) {
  :root { --gutter: var(--gutter-sm); }

  html { scroll-padding-top: 84px; }

  html.nav-open,
  html.nav-open body { overflow: hidden; }

  body {
    padding-left: 0;
    padding-top: 64px;
  }

  .statusbar { display: none; }

  .mobilebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    padding: 0 var(--gutter);
    z-index: 105;
    background: rgba(6, 11, 20, .94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }

  .rail {
    inset: 0 0 0 auto;
    width: min(320px, 86vw);
    border-right: 0;
    border-left: 1px solid var(--line);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 240ms var(--ease), visibility 0s linear 240ms;
  }

  .rail[data-open="true"] {
    visibility: visible;
    transform: translateX(0);
    transition: transform 240ms var(--ease), visibility 0s;
  }

  .rail__brand {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
    height: 64px;
    padding: 0 20px;
  }

  .rail__brand-mark { font-size: 17px; }
  .rail__brand-text { font-size: 10px; letter-spacing: .2em; }

  .rail__nav { padding: 12px 0; }

  .rail__link {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-height: 52px;
    padding: 0 20px;
  }

  .rail__idx { font-size: 10px; }
  .rail__label { font-size: 14px; }

  .rail__link[aria-current="page"]::before {
    top: 8px;
    bottom: 8px;
  }

  .rail__footer { padding: 16px 20px; }

  .rail__sync {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-align: left;
  }

  .rail__sync-text { font-size: 11px; }

  .rail__scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 104;
    background: rgba(4, 8, 14, .74);
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms var(--ease);
  }

  .rail__scrim[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ---------- 19. 窄屏 ---------- */
@media (max-width: 640px) {
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .section-head { margin-bottom: 24px; }
  .disclosure__trigger { padding: 16px 14px; gap: 12px; font-size: 15px; }
  .disclosure__panel { padding: 0 14px 18px; }
  .disclosure__item[open] > .disclosure__panel { padding-left: 16px; }
  .btn { height: 42px; padding: 0 18px; }
}

/* ---------- 20. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  html { scroll-behavior: auto; }
}
