/* ==========================================================================
   绿茵体育 · /assets/site.css
   共享层：重置 / 变量 / 中文排版 / 侧边轨道头部 / 页脚 / 通用组件
   ========================================================================== */

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

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

body, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; }
[hidden] { display: none !important; }

/* ---------- 1. 变量 ---------- */
:root {
  --green-deep: #0B3B24;
  --green-pitch: #14603A;
  --lime: #C8FF3D;
  --char: #0E0F0D;
  --graphite: #1C1F1B;
  --white: #F2F5EF;
  --blue: #1E6FD9;
  --orange: #FF7A2F;
  --gray: #8A9187;
  --red: #D93A2B;

  --line: rgba(242, 245, 239, 0.14);
  --line-strong: rgba(242, 245, 239, 0.28);
  --lime-line: rgba(200, 255, 61, 0.3);

  --rail-w: 96px;
  --wrap: 1200px;
  --pad: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-sans: "Inter", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Roboto Mono", Menlo, Consolas, "Courier New", monospace;
}

/* ---------- 2. 基础排版 ---------- */
body {
  background: var(--char);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body[data-nav-open] { overflow: hidden; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(34px, 6vw, 64px); }
h2 { font-size: clamp(26px, 4vw, 42px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
h4 { font-size: 18px; }

p { max-width: 74ch; }

a { color: var(--lime); }
a:hover { color: var(--white); }

strong, b { font-weight: 700; color: var(--white); }

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

::selection { background: var(--lime); color: var(--char); }

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

/* ---------- 3. 工具类 ---------- */
.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;
}

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

.kicker {
  font-family: var(--font-cond);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 700;
}

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

.slant-band {
  display: block;
  height: 6px;
  background: var(--lime);
  transform: skewY(-1.1deg);
  transform-origin: left center;
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 10px;
  top: 10px;
  z-index: 130;
  transform: translateY(-180%);
  background: var(--lime);
  color: var(--char);
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s var(--ease);
}

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

/* ---------- 5. 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 120;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ==========================================================================
   6. 头部：侧边轨道（移动端为顶部条 + 全屏抽屉）
   ========================================================================== */
.site-rail {
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  background: var(--char);
  color: var(--white);
  border-bottom: 1px solid var(--lime-line);
}

.rail-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 10px 14px;
}

.rail-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rail-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
}

.rail-brand__mark { display: flex; gap: 2px; }

.rail-brand__mark span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--green-deep);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.rail-brand__mark span:first-child {
  background: var(--lime);
  color: var(--char);
}

.rail-brand__en {
  display: none;
  font-family: var(--font-cond);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

.rail-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gray);
  white-space: nowrap;
}

.rail-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(200, 255, 61, 0.16);
  animation: lvyin-pulse 2.6s var(--ease) infinite;
}

.rail-status__text { display: inline; }

@keyframes lvyin-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* 汉堡按钮 */
.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 50px;
  min-height: 44px;
  padding: 6px 0;
  border: 1px solid rgba(200, 255, 61, 0.4);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--lime);
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}

.nav-toggle__text {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gray);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 检索入口（移动端隐藏，功能移入抽屉外的索引面板） */
.rail-search { display: none; }
.rail-search__label { font-size: 11px; letter-spacing: 0.1em; }
.rail-search__hint {
  font-family: var(--font-cond);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--gray);
  text-transform: uppercase;
}

/* 导航抽屉 */
.rail-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 88px 20px 118px;
  background: var(--green-deep);
  background-image:
    linear-gradient(rgba(242, 245, 239, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 245, 239, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  overflow-y: auto;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.22s var(--ease), visibility 0.22s var(--ease);
}

.site-rail[data-open] .rail-nav {
  transform: translateX(0);
  visibility: visible;
}

.rail-nav__list { display: flex; flex-direction: column; }

.rail-nav__item { border-bottom: 1px solid rgba(242, 245, 239, 0.14); }

.rail-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 4px;
  color: var(--white);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}

.rail-nav__link:hover,
.rail-nav__link:focus-visible { color: var(--lime); }

.rail-nav__code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gray);
}

.rail-nav__label { display: block; }

.rail-nav__link[aria-current="page"] { color: var(--lime); }

.rail-nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  background: var(--lime);
}

/* 轨道底部 CTA */
.rail-tools { display: none; }
.rail-cta { width: 100%; }

.site-rail[data-open] .rail-tools {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  padding: 14px 20px;
  background: var(--green-deep);
  border-top: 1px solid var(--lime-line);
}

/* 快速索引面板 */
.quick-index {
  position: fixed;
  inset: 0;
  z-index: 110;
  padding: 26px 20px 40px;
  background: var(--graphite);
  border-left: 1px solid var(--lime-line);
  overflow-y: auto;
}

.quick-index__head {
  font-family: var(--font-cond);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}

.quick-index__list { display: flex; flex-direction: column; }

.quick-index__item { border-bottom: 1px solid var(--line); }

.quick-index__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: baseline;
  padding: 14px 4px;
  color: var(--white);
  text-decoration: none;
}

.quick-index__link:hover { color: var(--lime); background: rgba(200, 255, 61, 0.06); }

.quick-index__code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray);
}

.quick-index__name { font-size: 16px; font-weight: 700; }

.quick-index__en {
  grid-column: 2;
  font-family: var(--font-cond);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gray);
}

.quick-index__link[aria-current="page"] .quick-index__name { color: var(--lime); }

/* ==========================================================================
   7. 页脚
   ========================================================================== */
.site-foot {
  position: relative;
  background: var(--green-deep);
  color: var(--white);
  border-top: 1px solid var(--lime-line);
}

.site-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(242, 245, 239, 0.05) 0 1px, transparent 1px 84px);
  pointer-events: none;
}

.foot-top {
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--pad) clamp(28px, 4vw, 44px);
}

.foot-brand { max-width: 42ch; }

.foot-brand__mark { display: block; text-decoration: none; }

.foot-brand__cn {
  display: block;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--white);
}

.foot-brand__en {
  display: block;
  margin-top: 6px;
  font-family: var(--font-cond);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--lime);
}

.foot-brand__note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(242, 245, 239, 0.74);
  max-width: 34ch;
}

.foot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 20px;
}

.foot-col__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--lime);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.foot-col__list { display: flex; flex-direction: column; }

.foot-col__item { display: block; }

.foot-col__link {
  display: inline-block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(242, 245, 239, 0.8);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.foot-col__link:hover,
.foot-col__link:focus-visible {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.foot-col__list--info { gap: 12px; }

.foot-info__item { display: block; }

.foot-info__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gray);
}

.foot-info__value {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--white);
  word-break: break-word;
  font-variant-numeric: tabular-nums;
}

.foot-cta { margin-top: 16px; }

.foot-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px var(--pad) 30px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--gray);
}

.foot-bottom__note { max-width: 46ch; color: rgba(242, 245, 239, 0.66); }

.foot-bottom__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }

.foot-icp { color: var(--gray); }

.foot-copy { color: rgba(242, 245, 239, 0.66); font-variant-numeric: tabular-nums; }

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--char);
  color: var(--lime);
  border: 1px solid var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.to-top:hover { background: var(--lime); color: var(--char); }

/* ==========================================================================
   8. 通用布局与组件
   ========================================================================== */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}

.wrap--narrow { max-width: 820px; }

.section {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0;
}

.section--tight { padding-top: clamp(26px, 4vw, 44px); }
.section--dark { background: var(--char); }
.section--pitch { background: var(--green-deep); }
.section--graphite { background: var(--graphite); }
.section--light { background: var(--white); color: var(--char); }
.section--light .section__lead { color: rgba(14, 15, 13, 0.72); }

.section--grid {
  background-image:
    linear-gradient(rgba(242, 245, 239, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 245, 239, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
}

.section--light.section--grid {
  background-image:
    linear-gradient(rgba(14, 15, 13, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 15, 13, 0.07) 1px, transparent 1px);
}

.section__head { max-width: 62ch; margin-bottom: clamp(22px, 3vw, 36px); }

.section__code {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

.section__title { margin-bottom: 14px; }

.section__lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: rgba(242, 245, 239, 0.76);
  max-width: 62ch;
}

/* 栅格 */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.col-3, .col-4, .col-6, .col-8, .col-9, .col-12 { grid-column: span 12; }

@media (min-width: 720px) {
  .col-3 { grid-column: span 4; }
  .col-4 { grid-column: span 6; }
  .col-6 { grid-column: span 6; }
}

@media (min-width: 1080px) {
  .col-3 { grid-column: span 3; }
  .col-4 { grid-column: span 4; }
  .col-6 { grid-column: span 6; }
  .col-8 { grid-column: span 8; }
  .col-9 { grid-column: span 9; }
}

/* 面板 */
.panel {
  background: var(--graphite);
  border-top: 2px solid var(--lime);
  padding: clamp(18px, 2.4vw, 28px);
}

.panel--flat { border-top-color: var(--line-strong); }
.panel--pitch { background: var(--green-deep); border-top-color: var(--lime); }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  background: var(--lime);
  color: var(--char);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn:hover { background: var(--white); color: var(--char); }

.btn--lime { background: var(--lime); color: var(--char); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(200, 255, 61, 0.08);
  border-color: var(--lime);
  color: var(--lime);
}

/* 面包屑 */
.breadcrumb {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--gray);
  font-family: var(--font-mono);
}

.breadcrumb__link { color: var(--white); text-decoration: none; }
.breadcrumb__link:hover { color: var(--lime); }
.breadcrumb__current { color: var(--lime); }

/* 数据锚点 */
.data-figure { display: block; }

.data-figure__value {
  display: block;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.data-figure__value--lime { color: var(--lime); }

.data-figure__unit {
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-left: 0.25em;
}

.data-figure__label {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

/* 展览说明牌 */
.placard {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.placard--lime { border-color: var(--lime); color: var(--lime); }

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  background: rgba(14, 15, 13, 0.35);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--white);
}

.tag--lime { border-color: var(--lime); color: var(--lime); }
.tag--blue { border-color: var(--blue); }
.tag--blue::before { content: ""; width: 6px; height: 6px; background: var(--blue); }
.tag--orange { border-color: var(--orange); }
.tag--orange::before { content: ""; width: 6px; height: 6px; background: var(--orange); }

/* 分段控件 */
.segmented {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--line-strong);
  background: var(--graphite);
}

.segmented__btn {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 12px 16px;
  border-right: 1px solid var(--line-strong);
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.segmented__btn:last-child { border-right: 0; }

.segmented__btn:hover { background: rgba(200, 255, 61, 0.1); color: var(--lime); }

.segmented__btn[aria-selected="true"] {
  background: var(--lime);
  color: var(--char);
}

/* 表格 */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

.datatable {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.datatable th,
.datatable td {
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

.datatable thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--graphite);
  color: var(--lime);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.datatable th:first-child,
.datatable td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--graphite);
}

.datatable tbody tr:hover td { background: rgba(200, 255, 61, 0.06); }

/* 图片容器 */
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  border: 1px solid var(--line);
}

.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--3x4 { aspect-ratio: 3 / 4; }
.media-frame--21x9 { aspect-ratio: 21 / 9; }

.media-frame--pitch::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(200, 255, 61, 0.06) 0 22px, transparent 22px 44px);
  pointer-events: none;
}

.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__tag {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 4px 10px;
  background: var(--lime);
  color: var(--char);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px;
  font-size: 13px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(14, 15, 13, 0.88));
}

/* 显现动效 */
html[data-motion-ready="true"] [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

html[data-motion-ready="true"] [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   9. 平板
   ========================================================================== */
@media (min-width: 720px) {
  :root { --pad: 32px; }

  .foot-top { grid-template-columns: minmax(220px, 1fr) 2.2fr; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-index { width: 420px; left: auto; right: 0; inset: 0 0 0 auto; }
}

/* ==========================================================================
   10. 桌面：固定左侧轨道
   ========================================================================== */
@media (min-width: 960px) {
  body { padding-left: var(--rail-w); }

  .scroll-progress { left: var(--rail-w); }

  .site-rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--rail-w);
    height: 100vh;
    border-bottom: 0;
    border-right: 1px solid var(--lime-line);
  }

  .site-rail::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(242, 245, 239, 0.05) 1px, transparent 1px);
    background-size: 100% 32px;
    pointer-events: none;
  }

  .rail-inner {
    position: relative;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    height: 100%;
    min-height: 0;
    padding: 18px 6px 14px;
  }

  .rail-head {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .rail-brand { flex-direction: column; gap: 6px; }

  .rail-brand__mark {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }

  .rail-brand__mark span { width: 23px; height: 23px; }

  .rail-brand__en { display: block; text-align: center; }

  .rail-status { flex-direction: column; gap: 8px; }

  .rail-status__text {
    writing-mode: vertical-rl;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .nav-toggle { display: none; }

  .rail-search {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
    padding: 8px 4px;
    border: 1px solid rgba(200, 255, 61, 0.34);
    color: var(--white);
    cursor: pointer;
  }

  .rail-search:hover { border-color: var(--lime); color: var(--lime); }

  .rail-nav {
    position: static;
    inset: auto;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    background: transparent;
    background-image: none;
    overflow-y: auto;
    overflow-x: hidden;
    transform: none;
    visibility: visible;
    transition: none;
    scrollbar-width: thin;
  }

  .site-rail[data-open] .rail-nav { transform: none; }

  .rail-nav__item { border-bottom: 1px solid rgba(242, 245, 239, 0.1); }

  .rail-nav__link {
    display: block;
    padding: 9px 4px 9px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.02em;
  }

  .rail-nav__code { display: block; margin-bottom: 2px; font-size: 9px; }

  .rail-nav__link[aria-current="page"] {
    background: linear-gradient(90deg, rgba(200, 255, 61, 0.18), transparent);
  }

  .rail-nav__link[aria-current="page"]::before {
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 3px;
  }

  .rail-tools {
    display: block;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .rail-cta {
    width: 100%;
    padding: 10px 4px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .quick-index {
    left: var(--rail-w);
    right: auto;
    width: 340px;
    inset: 0 auto 0 var(--rail-w);
  }

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

  .foot-top { grid-template-columns: minmax(240px, 1fr) 2.6fr; }
}

/* ==========================================================================
   11. 动效偏好
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .rail-status__dot { animation: none; }

  html[data-motion-ready="true"] [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
