/* ============================================================
   天行体育 · 共享站点样式 /assets/site.css
   丹霞暗红赛道 + 奶油纸白面板 + 电子青 / 信号黄数据点色
   ============================================================ */

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

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

body { margin: 0; }

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

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

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

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

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

table { border-collapse: collapse; }

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

.site-header :where(a, button):focus-visible {
  outline-color: var(--signal);
}

/* ---------- 2. 变量 ---------- */
:root {
  --crimson: #7A1F1C;
  --crimson-deep: #5A1412;
  --ink: #241A16;
  --cream: #F6EFE4;
  --sand: #E8D9C3;
  --cyan: #0E8F86;
  --cyan-deep: #0A6A64;
  --signal: #E8A317;
  --line-red: #C24A3F;
  --stand: #6B6259;
  --night: #101C24;
  --grid: #D8C9B4;

  --rail-w: 236px;
  --page-max: 1180px;
  --radius: 2px;

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

  --ease: cubic-bezier(.22, .61, .36, 1);
  --progress: 0;
}

/* ---------- 3. 页面底座 ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(120% 70% at 100% 0%, rgba(232, 217, 195, .62) 0%, rgba(246, 239, 228, 0) 58%);
  -webkit-font-smoothing: antialiased;
  padding-left: var(--rail-w);
  min-height: 100vh;
}

/* ---------- 4. 标题与文本 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); }
h3 { font-size: 1.16rem; line-height: 1.35; }
h4 { font-size: 1rem; line-height: 1.4; }

.prose p { max-width: 68ch; margin-bottom: 1.05em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { margin: 2em 0 .7em; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose a {
  color: var(--cyan-deep);
  border-bottom: 1px solid rgba(14, 143, 134, .4);
}
.prose a:hover { border-bottom-color: var(--cyan-deep); }
.prose ul { display: grid; gap: .5rem; margin: 0 0 1.05em; max-width: 68ch; }
.prose li { padding-left: 1.1rem; position: relative; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: 8px;
  height: 2px;
  background: var(--line-red);
}

.num {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ---------- 5. 容器与网格 ---------- */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: clamp(18px, 3.6vw, 48px);
}

.grid { display: grid; gap: clamp(20px, 2.8vw, 38px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--46 { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
.grid--64 { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); }

/* ---------- 6. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 300;
  padding: .6em 1em;
  background: var(--signal);
  color: var(--ink);
  font-weight: 800;
  font-size: .85rem;
  border-radius: var(--radius);
  transform: translateY(-180%);
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 7. 左侧赛道头部 ---------- */
.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  padding: 26px 18px 20px;
  background-color: var(--crimson);
  background-image: repeating-linear-gradient(118deg, rgba(246, 239, 228, .055) 0 1px, transparent 1px 12px);
  color: var(--cream);
  border-right: 1px solid rgba(16, 28, 36, .35);
  z-index: 80;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.rail-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  pointer-events: none;
  background: rgba(0, 0, 0, .25);
}
.rail-progress::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 100%;
  background: var(--signal);
  transform: scaleY(var(--progress));
  transform-origin: top center;
}

.rail-top {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(246, 239, 228, .2);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: .62rem;
}

.brand-mark__glyph {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--signal);
  color: var(--crimson-deep);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1;
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-mark__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.brand-mark__sub {
  font-size: .66rem;
  letter-spacing: .18em;
  color: rgba(246, 239, 228, .6);
}

.rail-tagline {
  font-size: .8rem;
  line-height: 1.62;
  color: rgba(246, 239, 228, .72);
  max-width: 20ch;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .45rem .7rem;
  border: 1px solid rgba(246, 239, 228, .35);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  flex: 0 0 auto;
}
.nav-toggle:hover { background: rgba(0, 0, 0, .22); }

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 15px;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  background: var(--cream);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.site-header[data-open] .nav-toggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-top: 1.15rem;
  flex: 1 1 auto;
}

.nav-block { display: flex; flex-direction: column; }

.nav-eyebrow {
  font-size: .64rem;
  letter-spacing: .22em;
  font-weight: 700;
  color: rgba(246, 239, 228, .48);
  padding-left: 2px;
  margin-bottom: .55rem;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .6rem .5rem 1rem;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(246, 239, 228, .84);
  border-radius: var(--radius);
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--signal);
  transform: translateY(-50%);
  transition: height .18s var(--ease);
}
.nav-list a:hover {
  color: #fff;
  background: rgba(0, 0, 0, .2);
}
.nav-list a[aria-current="page"] {
  color: #fff;
  background: rgba(0, 0, 0, .26);
}
.nav-list a[aria-current="page"]::before { height: 1.15rem; }

.nav-list__no {
  font-family: var(--font-data);
  font-size: .66rem;
  color: rgba(246, 239, 228, .42);
}
.nav-list a[aria-current="page"] .nav-list__no { color: var(--signal); }

.rail-actions {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.rail-action {
  display: block;
  padding: .5rem .7rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--cream);
  background: rgba(246, 239, 228, .1);
  border-left: 2px solid var(--signal);
  border-radius: var(--radius);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.rail-action:hover {
  background: rgba(246, 239, 228, .22);
  color: #fff;
}

.rail-foot {
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(246, 239, 228, .2);
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.rail-status {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .68rem;
  letter-spacing: .12em;
  color: rgba(246, 239, 228, .58);
}
.rail-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(14, 143, 134, .28);
}

.rail-cta {
  display: inline-block;
  padding: .58em .9em;
  background: var(--signal);
  color: var(--ink);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .02em;
  border-radius: var(--radius);
  text-align: center;
  transition: background-color .16s var(--ease);
}
.rail-cta:hover { background: #F3B62F; }

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(38px, 5vw, 66px) clamp(18px, 3.6vw, 48px) 26px;
  background: var(--night);
  color: rgba(246, 239, 228, .78);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background-color: var(--crimson);
  background-image: repeating-linear-gradient(90deg, transparent 0 24px, var(--signal) 24px 42px);
}

.footer-inner {
  max-width: var(--page-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.45fr);
  gap: clamp(28px, 4vw, 64px);
}

.footer-lead { display: flex; flex-direction: column; align-items: flex-start; }

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.01em;
  color: var(--cream);
}

.footer-service {
  margin-top: .55rem;
  font-size: .92rem;
  color: rgba(246, 239, 228, .62);
  max-width: 34ch;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1.2rem;
  padding: .68em 1.15em;
  background: var(--signal);
  color: var(--ink);
  font-weight: 800;
  font-size: .88rem;
  border-radius: var(--radius);
  transition: background-color .16s var(--ease);
}
.footer-cta:hover { background: #F3B62F; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 46px);
}

.footer-col__title {
  font-size: .66rem;
  letter-spacing: .2em;
  font-weight: 700;
  color: rgba(246, 239, 228, .5);
  padding-bottom: .65rem;
  border-bottom: 1px solid rgba(246, 239, 228, .16);
  margin-bottom: .9rem;
}

.footer-col ul {
  display: grid;
  gap: .58rem;
  font-size: .92rem;
}

.footer-col a {
  color: rgba(246, 239, 228, .84);
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.footer-col a:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

.footer-facts { line-height: 1.6; }
.footer-facts li { color: rgba(246, 239, 228, .84); }
.footer-facts__k {
  display: block;
  font-size: .64rem;
  letter-spacing: .16em;
  color: rgba(246, 239, 228, .46);
}

.footer-base {
  max-width: var(--page-max);
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 239, 228, .16);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  justify-content: space-between;
  align-items: baseline;
  font-size: .78rem;
  color: rgba(246, 239, 228, .55);
}
.footer-note { max-width: 52ch; }

/* ---------- 9. 页头与面包屑 ---------- */
.page-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: clamp(28px, 3.8vw, 52px);
  padding-bottom: clamp(24px, 3.2vw, 44px);
  border-bottom: 1px solid var(--grid);
}

.page-head__label {
  align-self: flex-start;
  min-width: 92px;
  padding-top: .55rem;
  border-top: 1px solid var(--ink);
  font-size: .68rem;
  letter-spacing: .2em;
  font-weight: 700;
  color: var(--stand);
}

.page-head__title { max-width: 24ch; }

.page-head__lead {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--stand);
  max-width: 58ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  color: var(--stand);
}
.breadcrumb a {
  color: var(--cyan-deep);
  border-bottom: 1px solid rgba(14, 143, 134, .35);
}
.breadcrumb a:hover { border-bottom-color: var(--cyan-deep); }
.breadcrumb__sep { color: var(--grid); }

/* ---------- 10. 按钮与标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .74em 1.3em;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.btn--sm { padding: .55em 1em; font-size: .85rem; }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: #F3B62F; }
.btn--cyan { background: var(--cyan); color: #fff; }
.btn--cyan:hover { background: var(--cyan-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .28em .6em;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  background: var(--sand);
  color: var(--ink);
  border-radius: var(--radius);
}
.tag--signal { background: var(--signal); }
.tag--cyan { background: var(--cyan); color: #fff; }
.tag--night { background: var(--night); color: var(--cream); }

/* ---------- 11. 数据块 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding-top: .8rem;
  border-top: 1px solid var(--grid);
}
.stat__value {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  align-self: flex-start;
}
.stat__label {
  font-size: .68rem;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--stand);
}

/* ---------- 12. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  background-color: var(--sand);
  background-image:
    linear-gradient(148deg, rgba(122, 31, 28, .16) 0%, rgba(232, 217, 195, 0) 58%),
    repeating-linear-gradient(90deg, rgba(36, 26, 22, .07) 0 1px, transparent 1px 34px);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: .34em .72em;
  background: var(--signal);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.media__caption {
  margin-top: .6rem;
  font-size: .78rem;
  color: var(--stand);
}

/* ---------- 13. 折叠面板 ---------- */
.fold {
  border-top: 1px solid var(--grid);
}
.fold:last-of-type { border-bottom: 1px solid var(--grid); }

.fold__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem .2rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.fold__trigger::-webkit-details-marker { display: none; }
.fold__trigger::marker { content: ""; }

.fold__sign {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  position: relative;
}
.fold__sign::before,
.fold__sign::after {
  content: "";
  position: absolute;
  background: var(--line-red);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.fold__sign::before { left: 0; top: 6px; width: 14px; height: 2px; }
.fold__sign::after { left: 6px; top: 0; width: 2px; height: 14px; }
.fold[open] .fold__sign::before { background: var(--signal); }
.fold[open] .fold__sign::after { transform: scaleY(0); }

.fold[open] > .fold__trigger { color: var(--cyan-deep); }

.fold__panel {
  padding: 0;
  font-size: .95rem;
}
.fold[open] .fold__panel {
  background: var(--night);
  color: rgba(246, 239, 228, .84);
  padding: 1.1rem 1.15rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.fold__panel p { max-width: 68ch; }
.fold__panel a {
  color: var(--signal);
  border-bottom: 1px solid rgba(232, 163, 23, .45);
}
.fold__panel a:hover { border-bottom-color: var(--signal); }

/* ---------- 14. 数据表 ---------- */
.data-table {
  width: 100%;
  font-size: .92rem;
}
.data-table th,
.data-table td {
  padding: .72rem .8rem;
  text-align: left;
  border-bottom: 1px solid var(--grid);
  vertical-align: baseline;
}
.data-table th {
  font-size: .68rem;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--stand);
  border-bottom-color: var(--ink);
}
.data-table td .num { font-variant-numeric: tabular-nums; }
.data-table tbody tr {
  transition: box-shadow .16s var(--ease), background-color .16s var(--ease);
}
.data-table tbody tr:hover {
  box-shadow: inset 3px 0 0 var(--line-red);
  background: rgba(232, 217, 195, .5);
}

/* ---------- 15. 显现动效 ---------- */
html[data-anim="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
}
html[data-anim="on"] [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
html[data-anim="on"] [data-reveal].is-in .stat__value {
  animation: tx-num-settle .75s var(--ease) both;
}
@keyframes tx-num-settle {
  0% {
    background-color: var(--signal);
    color: var(--ink);
    padding-inline: .1em;
  }
  100% {
    background-color: transparent;
    color: inherit;
    padding-inline: 0;
  }
}

/* ---------- 16. 平板 ---------- */
@media (max-width: 1100px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--46,
  .grid--64 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 17. 移动端 ---------- */
@media (max-width: 900px) {
  body { padding-left: 0; }

  .site-header {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    inset: auto;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    padding: 10px 16px;
    overflow: visible;
    background-image: none;
    box-shadow: 0 1px 0 rgba(16, 28, 36, .4), 0 6px 18px rgba(16, 28, 36, .14);
  }

  .rail-progress { display: none; }

  .rail-top {
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    gap: .65rem;
    min-width: 0;
    padding: 0;
    border-bottom: 0;
  }

  .brand-mark__glyph { width: 32px; height: 32px; font-size: .95rem; }
  .brand-mark__name { font-size: .95rem; }
  .brand-mark__sub { font-size: .6rem; letter-spacing: .14em; }
  .rail-tagline { display: none; }

  .nav-toggle { display: inline-flex; }
  .nav-toggle__label { display: none; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    gap: .4rem;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: var(--crimson-deep);
    border-top: 1px solid rgba(246, 239, 228, .16);
    transition: max-height .26s var(--ease), visibility .26s linear, padding .26s var(--ease);
  }

  .site-header[data-open] .site-nav {
    max-height: 78vh;
    overflow-y: auto;
    overflow-x: hidden;
    visibility: visible;
    padding: 14px 16px 22px;
  }

  .nav-eyebrow { padding-top: .9rem; }

  .nav-list {
    flex-direction: row;
    gap: .4rem;
    overflow-x: auto;
    padding-bottom: .5rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .nav-list li { flex: 0 0 auto; scroll-snap-align: start; }
  .nav-list a {
    white-space: nowrap;
    padding: .5rem .85rem;
    background: rgba(0, 0, 0, .18);
  }
  .nav-list a::before { display: none; }
  .nav-list a[aria-current="page"] {
    background: var(--signal);
    color: var(--ink);
  }
  .nav-list a[aria-current="page"] .nav-list__no { color: var(--crimson-deep); }
  .nav-list__no { font-size: .62rem; }

  .rail-actions { flex-direction: row; flex-wrap: wrap; }
  .rail-action { flex: 1 1 auto; text-align: center; }

  .rail-foot { display: none; }
}

/* ---------- 18. 小屏 ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }

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

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

  .footer-base { flex-direction: column; align-items: flex-start; }

  .data-table { font-size: .85rem; }
  .data-table th,
  .data-table td { padding: .6rem .5rem; }
}

/* ---------- 19. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html[data-anim="on"] [data-reveal],
  html[data-anim="on"] [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}
