/* ==========================================================================
   九游体育看台 · 共享样式 /assets/site.css
   夜场墨绿底 + 荧光青柠记分牌 + 侧边品牌轨
   ========================================================================== */

:root {
  --night: #05231C;
  --pitch: #0B3A2E;
  --moss: #14513E;
  --lime: #C8FA4B;
  --lime-2: #9BD32F;
  --warn: #FF6A3D;
  --indigo: #2E2A5E;
  --wine: #70283A;
  --paper: #F4F1E6;
  --ink: #121C18;
  --line: #7E9A8C;

  --rail-w: 264px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell-max: 1180px;

  --font-display: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", "STSong", serif;
  --font-label: "Oswald", "Arial Narrow", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--night);
  background-image: radial-gradient(rgba(200, 250, 75, 0.055) 1px, transparent 1.2px);
  background-size: 24px 24px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
button { font: inherit; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- 容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 56px);
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 14px;
  top: -70px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--night);
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ==========================================================================
   页头 / 品牌轨
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: transparent;
  transition: background-color 0.26s ease, box-shadow 0.26s ease;
}

.site-header.is-scrolled,
.site-header[data-open] {
  background-color: #05231C;
  box-shadow: 0 1px 0 rgba(200, 250, 75, 0.16), 0 26px 46px -36px rgba(0, 0, 0, 0.95);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(18px, 4vw, 40px) 14px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
}

.brand__mark {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--lime), var(--lime-2));
  box-shadow: inset 0 0 0 1px rgba(5, 35, 28, 0.35);
}
.brand__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--night);
  transform: translate(-50%, -50%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand__name {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
}
.brand__tag {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--line);
}

/* 移动开关 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(200, 250, 75, 0.1);
  border: 1px solid rgba(200, 250, 75, 0.42);
  color: var(--lime);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.nav-toggle:hover { background: rgba(200, 250, 75, 0.18); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

/* 栏目导航 */
.rail-nav {
  display: none;
  flex: 1 0 100%;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(200, 250, 75, 0.16);
}
.site-header[data-open] .rail-nav { display: block; }

.rail-nav__list {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.rail-nav__list::-webkit-scrollbar { height: 4px; }
.rail-nav__list::-webkit-scrollbar-thumb { background: rgba(200, 250, 75, 0.3); border-radius: 4px; }

.nav-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(126, 154, 140, 0.32);
  background: rgba(244, 241, 230, 0.06);
  color: rgba(244, 241, 230, 0.9);
  font-family: var(--font-label);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.nav-link:hover {
  color: var(--lime);
  border-color: rgba(200, 250, 75, 0.5);
  background: rgba(200, 250, 75, 0.1);
}
.nav-link[aria-current="page"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--night);
}

/* 页头 CTA */
.header-actions { display: none; }

/* 轨道进度 */
.rail-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  display: none;
  background: rgba(200, 250, 75, 0.12);
}
.rail-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lime);
  transition: width 0.12s linear;
}

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--primary {
  background: var(--lime);
  color: var(--night);
}
.btn--primary:hover { background: var(--lime-2); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(200, 250, 75, 0.45);
}
.btn--ghost:hover {
  color: var(--lime);
  border-color: var(--lime);
  background: rgba(200, 250, 75, 0.1);
}

.btn--block { width: 100%; }

/* ==========================================================================
   排版
   ========================================================================== */
.display-xl {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(46px, 8.5vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

.lede {
  max-width: 34em;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.8;
  color: rgba(244, 241, 230, 0.82);
}

.label {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}

/* 等宽数字 */
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  color: var(--lime);
}
.stat__label {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--line);
}

/* ==========================================================================
   卡片
   ========================================================================== */
.card {
  position: relative;
  padding: clamp(20px, 2.6vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 250, 75, 0.18);
  background: linear-gradient(160deg, rgba(20, 81, 62, 0.92), rgba(5, 35, 28, 0.97));
  transition: border-color 0.18s ease;
}
.card:hover { border-color: rgba(200, 250, 75, 0.44); }

.card--archive { padding-left: clamp(26px, 3vw, 38px); }
.card--archive::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 5px;
  border-radius: 0 5px 5px 0;
  background: var(--lime);
}

.card--indigo { background: linear-gradient(160deg, rgba(46, 42, 94, 0.95), rgba(5, 35, 28, 0.97)); }
.card--wine { background: linear-gradient(160deg, rgba(112, 40, 58, 0.95), rgba(5, 35, 28, 0.97)); }
.card--paper {
  background: var(--paper);
  color: var(--ink);
  border-color: rgba(18, 28, 24, 0.14);
}

.card__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.3;
  color: inherit;
}
.card__meta {
  margin-top: 10px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--line);
}
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* ==========================================================================
   标签 / 胶囊
   ========================================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(200, 250, 75, 0.3);
  background: rgba(200, 250, 75, 0.12);
  color: var(--lime);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.tag--live {
  background: var(--warn);
  border-color: var(--warn);
  color: var(--night);
}
.tag--idle {
  background: rgba(244, 241, 230, 0.1);
  border-color: rgba(126, 154, 140, 0.42);
  color: rgba(244, 241, 230, 0.82);
}
.tag--archive {
  background: rgba(46, 42, 94, 0.85);
  border-color: rgba(126, 154, 140, 0.42);
  color: var(--paper);
}

/* ==========================================================================
   时间轴
   ========================================================================== */
.timeline {
  list-style: none;
  margin: 0;
  padding: 4px 0 0 26px;
  border-left: 1px solid rgba(200, 250, 75, 0.24);
}
.timeline__item {
  position: relative;
  padding: 0 0 30px 20px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 9px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--night);
  border: 2px solid var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 250, 75, 0.12);
}

/* ==========================================================================
   手风琴
   ========================================================================== */
.accordion { border-top: 1px solid rgba(126, 154, 140, 0.28); }
.accordion__item { border-bottom: 1px solid rgba(126, 154, 140, 0.28); }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 4px;
  border: 0;
  background: none;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease;
}
.accordion__trigger:hover { color: var(--lime); }
.accordion__trigger::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--lime);
  transition: transform 0.18s ease;
}
.accordion__item.is-open .accordion__trigger::after { transform: rotate(45deg); }

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.26s ease;
}
.accordion__item.is-open .accordion__panel { max-height: 900px; }
.accordion__panel-inner {
  padding: 0 4px 22px;
  max-width: 34em;
  color: rgba(244, 241, 230, 0.8);
  line-height: 1.85;
}

/* ==========================================================================
   筛选 / 搜索
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(126, 154, 140, 0.36);
  background: rgba(244, 241, 230, 0.06);
  color: rgba(244, 241, 230, 0.82);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.filter-chip:hover { border-color: rgba(200, 250, 75, 0.5); color: var(--lime); }
.filter-chip[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--night);
}

.search-field {
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(126, 154, 140, 0.36);
  background: rgba(244, 241, 230, 0.06);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.18s ease;
}
.search-field::placeholder { color: rgba(126, 154, 140, 0.9); }
.search-field:focus { border-color: var(--lime); }

/* ==========================================================================
   图片容器
   ========================================================================== */
.figure {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 250, 75, 0.18);
  background-color: var(--moss);
  background-image:
    linear-gradient(150deg, rgba(20, 81, 62, 0.92), rgba(5, 35, 28, 0.96)),
    radial-gradient(rgba(200, 250, 75, 0.14) 1px, transparent 1.2px);
  background-size: auto, 18px 18px;
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure--wide { aspect-ratio: 16 / 9; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure--square { aspect-ratio: 1 / 1; }
.figure--band { aspect-ratio: 32 / 9; }

.figure__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px 20px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 250, 75, 0.78);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(200, 250, 75, 0.05) 0 2px,
    transparent 2px 14px
  );
}

/* ==========================================================================
   栅格
   ========================================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.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-12 { grid-column: span 12; }

/* ==========================================================================
   面包屑 / 正文 / 表格
   ========================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--line);
}
.breadcrumb a {
  color: rgba(244, 241, 230, 0.72);
  text-decoration: none;
  transition: color 0.18s ease;
}
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb li + li::before {
  content: "/";
  margin: 0 10px;
  color: rgba(126, 154, 140, 0.6);
}

.prose {
  max-width: 34em;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(244, 241, 230, 0.86);
}
.prose p { margin: 0 0 1.4em; }
.prose h2,
.prose h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.28;
  color: var(--paper);
}
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin: 1.9em 0 0.6em; }
.prose h3 { font-size: clamp(20px, 2.2vw, 26px); margin: 1.6em 0 0.5em; }
.prose ul,
.prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--lime); text-underline-offset: 3px; }

.prose--paper {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  max-width: none;
}
.prose--paper h2,
.prose--paper h3 { color: var(--ink); }
.prose--paper a { color: #14513E; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.data-table th {
  padding: 12px 14px;
  background: var(--moss);
  color: var(--lime);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: left;
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(126, 154, 140, 0.22);
  color: rgba(244, 241, 230, 0.86);
}
.data-table .num { color: var(--paper); }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 10vw, 140px);
  padding: clamp(48px, 7vw, 84px) 0 34px;
  border-top: 1px solid rgba(200, 250, 75, 0.16);
  background-color: var(--night);
  background-image: linear-gradient(180deg, rgba(11, 58, 46, 0.62), rgba(5, 35, 28, 0) 72%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px 28px;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  color: var(--paper);
}
.footer-brand__line {
  margin-top: 8px;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--line);
}
.footer-badge {
  display: inline-flex;
  margin-top: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(200, 250, 75, 0.34);
  background: rgba(200, 250, 75, 0.1);
  color: var(--lime);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.footer-col__heading {
  margin-bottom: 14px;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(244, 241, 230, 0.72);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-links a:hover { color: var(--lime); }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: baseline;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(126, 154, 140, 0.26);
  font-size: 13px;
  color: var(--line);
}
.footer-contact { color: rgba(244, 241, 230, 0.8); }
.footer-legal,
.footer-updated,
.footer-copy { font-family: var(--font-label); letter-spacing: 0.05em; }
.footer-copy { color: rgba(126, 154, 140, 0.95); }

/* ==========================================================================
   滚动显现
   ========================================================================== */
body[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
}
body[data-reveal-ready] [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .site-header {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: var(--rail-w);
    border-right: 1px solid rgba(200, 250, 75, 0.14);
    background-color: var(--night);
    background-image:
      linear-gradient(180deg, rgba(11, 58, 46, 0.92), rgba(5, 35, 28, 1) 64%),
      radial-gradient(rgba(200, 250, 75, 0.09) 1px, transparent 1.2px);
    background-size: auto, 24px 24px;
    box-shadow: none;
    transition: none;
  }

  .site-header__inner {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    height: 100%;
    gap: 0;
    padding: 34px 24px 26px;
  }

  .brand { align-items: flex-start; }
  .brand__mark { flex-basis: 38px; width: 38px; height: 38px; border-radius: 12px; }
  .brand__name { font-size: 18px; }

  .nav-toggle { display: none; }

  .rail-nav {
    display: block;
    flex: 1 1 auto;
    margin-top: 30px;
    padding-top: 22px;
    overflow-y: auto;
    border-top: 1px solid rgba(200, 250, 75, 0.14);
  }
  .rail-nav__list {
    flex-direction: column;
    gap: 2px;
    padding: 0;
    overflow: visible;
  }

  .nav-link {
    position: relative;
    display: flex;
    width: 100%;
    padding: 11px 12px 11px 20px;
    border-radius: 12px;
    border-color: transparent;
    background: transparent;
    color: rgba(244, 241, 230, 0.78);
    font-size: 15px;
    white-space: normal;
  }
  .nav-link::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 3px;
    height: 20px;
    border-radius: 2px;
    background: var(--lime);
    transform: translateY(-50%) scaleY(0);
    transform-origin: center;
    transition: transform 0.2s var(--ease);
  }
  .nav-link:hover { background: rgba(200, 250, 75, 0.08); }
  .nav-link[aria-current="page"] {
    background: rgba(200, 250, 75, 0.1);
    color: var(--lime);
    border-color: transparent;
  }
  .nav-link[aria-current="page"]::before { transform: translateY(-50%) scaleY(1); }

  .header-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(200, 250, 75, 0.14);
  }

  .rail-progress { display: block; }

  #main-content,
  .site-footer { margin-left: var(--rail-w); }

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

@media (min-width: 1280px) {
  :root { --rail-w: 288px; }
}

@media (max-width: 899px) {
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8 { grid-column: span 12; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand__tag { display: none; }
  .footer-meta { flex-direction: column; gap: 6px; }
}

/* ==========================================================================
   动效偏好
   ========================================================================== */
@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;
  }
  body[data-reveal-ready] [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition-delay: 0ms !important;
  }
  .rail-progress > span { transition: none; }
}
