/* ============================================================
   爱游戏赛场 — /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 头部 / 页脚 / 基础组件
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

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

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

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

a { color: inherit; }

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

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

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B0D12;
  --panel: #1A120C;
  --cream: #F2E9DA;
  --flame: #E4572E;
  --blue: #2D6BFF;
  --pulse: #B9FF3B;
  --magenta: #FF3D8A;
  --gold: #E8C56B;
  --slate: #9AA3B8;
  --zone: #1B2333;

  --line-gold: rgba(232, 197, 107, 0.34);
  --line-soft: rgba(242, 233, 218, 0.10);
  --line-blue: rgba(45, 107, 255, 0.38);

  --rail-w: 88px;
  --bar-h: 38px;
  --maxw: 1280px;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo,
    Consolas, "Courier New", monospace;

  --radius-cut: 2px;
  --shadow-panel: 0 18px 42px -26px rgba(0, 0, 0, 0.92);
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

/* ---------- 3. 基础排版 ---------- */
html, body { background: var(--ink); }

body {
  min-height: 100vh;
  padding-top: var(--bar-h);
  padding-left: var(--rail-w);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--pulse); color: var(--ink); }

h1, h2, h3, h4 {
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p { text-wrap: pretty; }

strong, b { font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--pulse);
  outline-offset: 3px;
  border-radius: 1px;
}

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

/* ---------- 4. 排版工具类 ---------- */
.display-1 {
  font-size: clamp(2.6rem, 7.4vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 200;
}

.display-2 {
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 250;
}

.lede {
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.5vw, 1.35rem);
  line-height: 1.6;
  color: #D9D1C3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

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

.mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- 5. 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.grid { display: grid; gap: 28px; }
.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.section-rule {
  position: relative;
  height: 1px;
  margin: 64px 0;
  background: var(--line-gold);
}

.section-rule::after {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 64px;
  height: 7px;
  background: var(--flame);
  transform: skewX(-24deg);
}

/* ---------- 6. 面板 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 2.4vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-cut);
  box-shadow: var(--shadow-panel);
}

.panel--zone {
  background: var(--zone);
  border-color: var(--line-blue);
}

.panel--paper {
  background: var(--cream);
  color: #241A12;
  border-color: rgba(36, 26, 18, 0.28);
  box-shadow: 0 16px 36px -28px rgba(0, 0, 0, 0.9);
}

.panel--paper .eyebrow { color: #A8401E; }
.panel--paper .mono-label,
.panel--paper .stat-label { color: #6B5B4A; }

.panel--flat { box-shadow: none; }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-cut);
  background: transparent;
  color: var(--cream);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover { border-color: var(--pulse); color: var(--pulse); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--flame);
  border-color: var(--flame);
  color: #170C06;
  font-weight: 600;
}

.btn--primary:hover {
  background: var(--pulse);
  border-color: var(--pulse);
  color: #101408;
}

.btn--ghost {
  background: rgba(45, 107, 255, 0.14);
  border-color: rgba(45, 107, 255, 0.55);
  color: #CBD8FF;
}

.btn--ghost:hover {
  background: rgba(45, 107, 255, 0.26);
  border-color: var(--blue);
  color: #FFFFFF;
}

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

/* ---------- 8. 标签 / 状态点 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-cut);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.tag--live {
  border-color: rgba(185, 255, 59, 0.55);
  background: rgba(185, 255, 59, 0.08);
  color: var(--pulse);
}

.tag--event {
  border-color: rgba(255, 61, 138, 0.55);
  background: rgba(255, 61, 138, 0.08);
  color: var(--magenta);
}

.tag--index {
  border-color: rgba(232, 197, 107, 0.5);
  background: rgba(232, 197, 107, 0.07);
  color: var(--gold);
}

.pulse-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pulse);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(185, 255, 59, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(185, 255, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(185, 255, 59, 0); }
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--slate);
}

.breadcrumb a {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.breadcrumb a:hover {
  color: var(--cream);
  border-bottom-color: var(--gold);
}

.breadcrumb [aria-current="page"] { color: var(--gold); }

.breadcrumb-sep { color: rgba(154, 163, 184, 0.45); }

/* ---------- 10. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(142deg, var(--zone) 0%, var(--panel) 58%, #241812 100%);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-cut);
}

.media-frame img,
.media-frame svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 18, 0) 44%, rgba(11, 13, 18, 0.74) 100%);
  pointer-events: none;
}

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

.media-frame-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(242, 233, 218, 0.84);
}

/* ---------- 11. 数据带与数值块 ---------- */
.data-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.data-strip > * {
  flex: 1 1 180px;
  min-width: 0;
  padding: 18px 20px;
  background: var(--ink);
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--cream);
}

.stat-value--flame { color: var(--flame); }
.stat-value--pulse { color: var(--pulse); }

.stat-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--slate);
}

/* ---------- 12. 显现动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 13. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--pulse);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius-cut);
}

.skip-link:focus {
  left: 8px;
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

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

.status-bar {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--bar-h);
  padding: 0 20px;
  background: var(--panel);
  border-bottom: 1px solid var(--line-gold);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.status-track {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.status-live { color: var(--cream); }
.status-live b { color: var(--pulse); font-size: 13px; }

.status-note { color: var(--slate); }
.status-note b { color: var(--gold); }

.status-roll { color: rgba(154, 163, 184, 0.74); }

.status-sep { color: rgba(154, 163, 184, 0.38); }

.status-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border: 1px solid var(--flame);
  border-radius: 999px;
  background: rgba(228, 87, 46, 0.14);
  color: #FFD6C6;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.status-cta:hover {
  background: var(--flame);
  color: #170C06;
}

/* ---------- 15. 头部：侧边轨道 ---------- */
.rail {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--rail-w);
  padding: 12px 0 16px;
  background: linear-gradient(180deg, #14171F 0%, #0B0D12 100%);
  border-right: 1px solid var(--line-gold);
}

.rail-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 0 12px;
  text-decoration: none;
}

.rail-brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-cut);
  background: var(--flame);
  color: #170C06;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.rail-brand-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.rail-nav {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  padding: 6px 0;
}

.rail-nav::-webkit-scrollbar { width: 0; }

.rail-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.rail-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 11px 4px;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.rail-link:hover,
.rail-link:focus-visible {
  color: var(--cream);
  background: rgba(45, 107, 255, 0.16);
}

.rail-link[aria-current="page"] {
  color: var(--cream);
  background: rgba(228, 87, 46, 0.10);
}

.rail-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 2px;
  background: var(--flame);
}

.rail-index {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--gold);
  opacity: 0.78;
}

.rail-label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.18em;
}

.rail-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
}

.rail-foot-line {
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, transparent, var(--gold));
}

.rail-foot-text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.rail-progress {
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--pulse) 0%, var(--blue) 100%);
  transition: height 0.1s linear;
}

/* ---------- 16. 头部：移动抽屉把手 ---------- */
.nav-handle {
  display: none;
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 95;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--panel);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 0.12em;
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.9);
}

.nav-handle-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}

.nav-handle-bars i {
  display: block;
  height: 1.5px;
  background: var(--pulse);
  border-radius: 1px;
}

.nav-handle[aria-expanded="true"] { border-color: var(--pulse); }

/* ---------- 17. 头部：跨设备续看角标 ---------- */
.resume-badge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--zone);
  border: 1px solid var(--line-blue);
  border-radius: var(--radius-cut);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  box-shadow: 0 14px 32px -18px rgba(0, 0, 0, 0.9);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.resume-badge:hover {
  border-color: var(--blue);
  background: #202B41;
}

.resume-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(45, 107, 255, 0.22);
}

/* ---------- 18. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 96px;
  padding: 56px 0 28px;
  background: var(--panel);
  border-top: 1px solid var(--line-gold);
  color: var(--cream);
}

.footer-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 44px;
}

.footer-col { min-width: 0; }

.footer-wordmark {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 250;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--cream);
}

.footer-line {
  margin-top: 12px;
  font-size: 14.5px;
  color: rgba(242, 233, 218, 0.78);
}

.footer-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.footer-head {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-list {
  display: grid;
  gap: 10px;
}

.footer-list a {
  font-size: 15px;
  color: rgba(242, 233, 218, 0.86);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-list a:hover {
  color: var(--pulse);
  border-bottom-color: var(--pulse);
}

.footer-list--plain li {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(242, 233, 218, 0.82);
  word-break: break-word;
}

.footer-sub {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 9px 16px;
  border: 1px solid var(--flame);
  border-radius: var(--radius-cut);
  background: rgba(228, 87, 46, 0.14);
  color: #FFD6C6;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.footer-sub:hover {
  background: var(--flame);
  color: #170C06;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 197, 107, 0.2);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.footer-icp { color: var(--slate); }

.footer-copy { color: rgba(242, 233, 218, 0.7); }

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

.footer-legal a {
  color: rgba(242, 233, 218, 0.8);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-legal a:hover {
  color: var(--pulse);
  border-bottom-color: var(--pulse);
}

.footer-legal-sep { color: rgba(154, 163, 184, 0.4); }

/* ---------- 19. 响应式：平板 ---------- */
@media (max-width: 1100px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { gap: 34px; }
}

@media (max-width: 980px) {
  .grid--7-5,
  .grid--8-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 20. 响应式：移动 ---------- */
@media (max-width: 900px) {
  :root {
    --rail-w: 0px;
    --bar-h: 34px;
  }

  body {
    padding-left: 0;
    padding-top: var(--bar-h);
    padding-bottom: 86px;
  }

  .status-bar {
    left: 0;
    gap: 10px;
    padding: 0 14px;
    font-size: 11px;
  }

  .status-roll,
  .status-roll-sep { display: none; }

  .status-cta {
    padding: 4px 11px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .rail {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 80vh;
    padding: 16px 16px 26px;
    border-right: 0;
    border-top: 1px solid var(--gold);
    border-radius: 2px 2px 0 0;
    transform: translateY(101%);
    transition: transform 0.32s var(--ease);
    box-shadow: 0 -20px 46px -12px rgba(0, 0, 0, 0.85);
    z-index: 90;
  }

  .rail[data-open="true"] { transform: translateY(0); }

  .rail-brand {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--line-soft);
  }

  .rail-brand-mark { width: 32px; height: 32px; font-size: 14px; }

  .rail-brand-text { letter-spacing: 0.14em; }

  .rail-nav {
    width: 100%;
    overflow-y: auto;
    padding: 14px 0 0;
  }

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

  .rail-link {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(232, 197, 107, 0.24);
    background: rgba(255, 255, 255, 0.02);
  }

  .rail-link[aria-current="page"] {
    border-color: var(--flame);
    background: rgba(228, 87, 46, 0.14);
  }

  .rail-link[aria-current="page"]::before { display: none; }

  .rail-label {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    font-size: 14px;
    letter-spacing: 0.06em;
  }

  .rail-index { font-size: 11px; }

  .rail-foot,
  .rail-progress { display: none; }

  .nav-handle { display: inline-flex; }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 88;
    background: rgba(11, 13, 18, 0.66);
  }

  .resume-badge {
    right: 12px;
    bottom: 16px;
    padding: 9px 12px;
    font-size: 11.5px;
  }

  .container,
  .footer-inner { padding: 0 20px; }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .site-footer { margin-top: 68px; padding-top: 40px; }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 32px;
  }

  .section-rule { margin: 44px 0; }
}

@media (max-width: 520px) {
  .status-track { gap: 8px; }

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

  .data-strip > * { flex: 1 1 100%; }

  .resume-text { max-width: 4.5em; }
}

/* ---------- 21. 无障碍：减少动态 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
