/* =========================================================
   LEYU赛事 · 共享站点样式 /assets/site.css
   母题：赛事数据仪表 + 运动轨迹（切角 / 斜线 / 轨道）
   ========================================================= */

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

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

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

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

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

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

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

table { border-collapse: collapse; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #05070B;
  --surface: #0D141C;
  --teal: #06302F;
  --indigo: #191046;
  --wine: #2B0F1A;
  --blue: #2F7BFF;
  --cyan: #70D6FF;
  --orange: #FF6B2C;
  --lime: #B8FF3D;
  --silver: #E9EFF6;
  --gray: #8C99A6;
  --line: #1E2A36;

  --rail-w: 96px;
  --content-max: 1200px;
  --gap-band: 48px;

  --font-display: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC",
    "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC",
    "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono",
    Menlo, monospace;

  --ease: 200ms cubic-bezier(0.2, 0.7, 0.3, 1);
  --ease-fast: 180ms cubic-bezier(0.2, 0.7, 0.3, 1);

  --cut: 22px;
  --cut-sm: 12px;
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 520px at 78% -6%, rgba(47, 123, 255, 0.15), transparent 72%),
    radial-gradient(760px 460px at 0% 104%, rgba(112, 214, 255, 0.08), transparent 72%);
  background-attachment: fixed;
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--silver);
}

h1 { font-size: clamp(32px, 5.2vw, 64px); }
h2 { font-size: clamp(26px, 3.4vw, 44px); }
h3 { font-size: clamp(21px, 2.2vw, 32px); }
h4 { font-size: clamp(18px, 1.6vw, 24px); }

p { line-height: 1.85; }

::selection {
  background: rgba(47, 123, 255, 0.42);
  color: #fff;
}

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

/* ---------- 4. 布局工具 ---------- */
.container {
  width: min(var(--content-max), 100% - var(--gap-band) * 2);
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.grid--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.stack > * + * { margin-top: 18px; }

.prose { max-width: 68ch; }

.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: #C7D2DE;
  max-width: 62ch;
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.label-rot {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--gray);
}

.slash-rule {
  height: 1px;
  border: 0;
  margin: 64px 0;
  background: linear-gradient(90deg, var(--blue), rgba(47, 123, 255, 0) 64%);
  transform: skewY(-1.2deg);
}

/* ---------- 5. 通用按钮与标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--silver);
  background: var(--surface);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: transform var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--orange);
  border-color: transparent;
  color: #0A0F16;
}

.btn--primary:hover { background: #FF8148; }

.btn--blue {
  background: var(--blue);
  border-color: transparent;
  color: #FFFFFF;
}

.btn--blue:hover { background: #4A8DFF; }

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

.btn--ghost:hover {
  border-color: var(--blue);
  color: #FFFFFF;
}

.chip,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: var(--cyan);
  background: rgba(47, 123, 255, 0.12);
  border: 1px solid rgba(47, 123, 255, 0.34);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.tag {
  color: var(--lime);
  background: rgba(184, 255, 61, 0.1);
  border-color: rgba(184, 255, 61, 0.34);
}

/* ---------- 6. 面板与章节头 ---------- */
.panel {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.panel:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 123, 255, 0.62);
  background: #101A24;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "num stat"
    "title stat"
    "note stat";
  gap: 6px 28px;
  align-items: start;
  padding: 22px 0 20px;
  margin-bottom: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.section-head__title {
  grid-area: title;
  font-size: clamp(23px, 2.6vw, 34px);
}

.section-head__note {
  grid-area: note;
  max-width: 56ch;
  font-size: 14px;
  color: var(--gray);
}

.section-head__stat {
  grid-area: stat;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
  text-align: right;
}

/* ---------- 7. 图片容器基础 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(47, 123, 255, 0.14), rgba(5, 7, 11, 0) 58%),
    var(--surface);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(5, 7, 11, 0) 38%, rgba(5, 7, 11, 0.78) 100%);
  pointer-events: none;
}

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

.media-frame__caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gray);
}

/* ---------- 8. 数据表与时间轴 ---------- */
.data-table {
  width: 100%;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}

.data-table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gray);
  border-bottom: 1px solid var(--line);
}

.data-table td {
  padding: 13px 14px;
  color: var(--silver);
  border-bottom: 1px solid var(--line);
}

.data-table tbody tr { transition: background var(--ease-fast); }
.data-table tbody tr:hover { background: rgba(47, 123, 255, 0.1); }

.timeline {
  position: relative;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.timeline__item {
  position: relative;
  padding-bottom: 26px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--blue);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.breadcrumbs a {
  color: var(--gray);
  border-bottom: 1px solid transparent;
  transition: color var(--ease-fast), border-color var(--ease-fast);
}

.breadcrumbs a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.breadcrumbs__sep { color: rgba(140, 153, 166, 0.5); }

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

/* ---------- 10. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 220;
  padding: 11px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transform: translateY(-180%);
  transition: transform var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--silver);
  outline-offset: 3px;
}

/* ---------- 11. 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  width: var(--rail-w);
  background: linear-gradient(180deg, #080C12 0%, #05070B 44%, #070B11 100%);
  border-right: 1px solid var(--line);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: 3px;
  z-index: 130;
  pointer-events: none;
  background: rgba(30, 42, 54, 0.6);
}

.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 62%, var(--lime));
  transition: width 120ms linear;
}

.rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 20px 0 16px;
  overflow-y: auto;
  overflow-x: hidden;
}

.rail::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(140px 420px at 50% -60px, rgba(47, 123, 255, 0.2), transparent 72%);
}

.rail__edge {
  position: absolute;
  left: 7px;
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.34em;
  color: rgba(112, 214, 255, 0.4);
  pointer-events: none;
  user-select: none;
}

.rail__brand { flex: 0 0 auto; }

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 6px 4px;
  text-align: center;
  transition: opacity var(--ease-fast);
}

.brand:hover { opacity: 0.86; }

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #FFFFFF;
  background: linear-gradient(140deg, var(--blue), #1B4ECB);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%);
}

.brand__mark svg { width: 22px; height: 22px; }

.brand__name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--silver);
}

.brand__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--gray);
}

.rail__nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 0;
}

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

.navlist__item { position: relative; }

.navlink {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 11px 2px;
  color: var(--gray);
  border-left: 3px solid transparent;
  transition: color var(--ease-fast), background var(--ease-fast), border-color var(--ease-fast);
}

.navlink__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(140, 153, 166, 0.7);
  transition: color var(--ease-fast);
}

.navlink__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.navlink:hover {
  color: var(--silver);
  background: rgba(47, 123, 255, 0.09);
}

.navlink[aria-current="page"] {
  color: var(--silver);
  border-left-color: var(--blue);
  background: linear-gradient(90deg, rgba(47, 123, 255, 0.26), rgba(47, 123, 255, 0));
}

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

.rail__foot {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 8px;
}

.rail__cta {
  display: block;
  width: 100%;
  padding: 10px 2px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-align: center;
  color: #0A0F16;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background var(--ease-fast), transform var(--ease-fast);
}

.rail__cta:hover {
  background: #FF8148;
  transform: translateY(-2px);
}

.rail__contact {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray);
  border-bottom: 1px solid transparent;
  transition: color var(--ease-fast), border-color var(--ease-fast);
}

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

.rail__note {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.02em;
  color: rgba(140, 153, 166, 0.78);
}

.mobilebar { display: none; }

/* ---------- 12. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 96px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(13, 20, 28, 0.88), rgba(5, 7, 11, 1) 62%),
    var(--ink);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 32%, var(--orange) 56%, rgba(47, 123, 255, 0) 88%);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -110px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(112, 214, 255, 0.13);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}

.footer__top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 56px;
  padding: 72px 0 48px;
}

.footer__id { position: relative; }

.footer__brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--silver);
  transition: color var(--ease-fast);
}

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

.footer__claim {
  margin-top: 10px;
  max-width: 26ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}

.footer__mono {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--gray);
  word-break: break-word;
}

.footer__mono--small {
  margin-top: 18px;
  font-size: 11px;
  color: rgba(140, 153, 166, 0.78);
}

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

.footer__col { min-width: 0; }

.footer__title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--silver);
  border-bottom: 1px solid var(--line);
}

.footer__num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

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

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

.footer__link {
  position: relative;
  display: inline-block;
  font-size: 14px;
  color: var(--gray);
  transition: color var(--ease-fast);
}

.footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width var(--ease-fast);
}

.footer__link:hover { color: var(--silver); }
.footer__link:hover::after { width: 100%; }

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gray);
}

.footer__value {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.6;
  color: var(--silver);
  word-break: break-word;
}

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--gray);
  border-top: 1px solid var(--line);
}

.footer__tick { color: rgba(140, 153, 166, 0.78); }

/* ---------- 13. 显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 240ms ease, transform 240ms ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1180px) {
  :root { --gap-band: 36px; }
}

@media (max-width: 1024px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 56px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }
}

@media (max-width: 900px) {
  :root { --cut: 16px; --cut-sm: 10px; }

  body { padding-left: 0; }

  .container { width: calc(100% - 40px); }

  .site-header {
    position: sticky;
    top: 0;
    left: auto;
    bottom: auto;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: #070B11;
    z-index: 110;
  }

  .scroll-progress {
    left: 0;
    height: 3px;
    background: rgba(30, 42, 54, 0.5);
  }

  .mobilebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 62px;
    padding: 0 16px;
  }

  .brand--bar {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0;
    text-align: left;
  }

  .brand--bar .brand__mark { width: 30px; height: 30px; }
  .brand--bar .brand__mark svg { width: 17px; height: 17px; }
  .brand--bar .brand__name { font-size: 14px; letter-spacing: 0.04em; }

  .navtoggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--silver);
    border: 1px solid var(--line);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
    transition: color var(--ease-fast), border-color var(--ease-fast), background var(--ease-fast);
  }

  .navtoggle:hover { border-color: rgba(47, 123, 255, 0.7); }

  .navtoggle[aria-expanded="true"] {
    color: var(--cyan);
    border-color: var(--blue);
    background: rgba(47, 123, 255, 0.14);
  }

  .navtoggle__bars {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    width: 16px;
  }

  .navtoggle__bars span {
    display: block;
    height: 2px;
    background: currentColor;
    transition: transform var(--ease-fast), width var(--ease-fast);
  }

  .navtoggle__bars span:nth-child(2) { width: 70%; }

  .navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(2) { width: 0; }

  .navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .rail {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    max-height: calc(100dvh - 62px);
    align-items: stretch;
    gap: 16px;
    padding: 18px 20px 24px;
    overflow-y: auto;
    background: #070B11;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 44px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--ease-fast), transform var(--ease-fast), visibility var(--ease-fast);
  }

  .site-header[data-open] .rail {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .rail__brand,
  .rail__edge { display: none; }

  .rail__nav {
    display: block;
    width: 100%;
    padding: 0;
  }

  .navlist { flex-direction: column; gap: 0; }

  .navlink {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 4px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .navlink__label { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; }
  .navlink__num { font-size: 11px; }

  .navlink[aria-current="page"] {
    padding-left: 15px;
    border-left: 0;
    box-shadow: inset 3px 0 0 var(--blue);
    background: linear-gradient(90deg, rgba(47, 123, 255, 0.2), transparent 72%);
  }

  .rail__foot {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
  }

  .rail__cta {
    width: auto;
    padding: 12px 24px;
    font-size: 13px;
  }

  .rail__note { text-align: left; }

  .site-footer { margin-top: 72px; }
}

@media (max-width: 720px) {
  .grid--split,
  .grid--thirds { grid-template-columns: minmax(0, 1fr); }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "num"
      "title"
      "note"
      "stat";
    gap: 8px;
  }

  .section-head__stat { text-align: left; }
}

@media (max-width: 560px) {
  body { font-size: 15px; line-height: 1.9; }

  .container { width: calc(100% - 28px); }

  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer__top { padding: 44px 0 32px; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
  }

  .btn { padding: 12px 20px; font-size: 14px; }
  .panel { padding: 20px; }
  .slash-rule { margin: 44px 0; }
}

/* ---------- 15. 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .scroll-progress__bar { transition: none; }
}
