/* ============================================================
   九体育赛场 · /assets/site.css
   共享层：reset / 变量 / 中文排版 / 头部 / 页脚 / 基础组件
   ============================================================ */

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

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

body {
  margin: 0;
  background-color: #F5F1EC;
  background-image:
    radial-gradient(1200px 620px at 10% -8%, rgba(178, 58, 46, 0.10), transparent 62%),
    radial-gradient(920px 540px at 98% 2%, rgba(14, 26, 43, 0.10), transparent 60%);
  background-repeat: no-repeat;
  color: #12161A;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid rgba(14, 26, 43, 0.12); margin: 32px 0; }

:focus-visible {
  outline: 3px solid #C6F32B;
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: #C6F32B;
  color: #0E1A2B;
}

/* ---------- 2. 变量 ---------- */
:root {
  --brick: #B23A2E;
  --brick-deep: #7E241C;
  --silver: #C9CDD2;
  --silver-dim: #8B939B;
  --lime: #C6F32B;
  --ink: #0E1A2B;
  --ink-soft: #16273D;
  --chalk: #F5F1EC;
  --timer-white: #FFFFFF;
  --carbon: #12161A;

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-xl: 44px;
  --radius-pill: 999px;

  --gutter: 26px;
  --shadow-soft: 0 22px 44px -30px rgba(14, 26, 43, 0.55);
  --shadow-lift: 0 30px 60px -34px rgba(14, 26, 43, 0.72);
  --hair: 1px solid rgba(14, 26, 43, 0.10);
}

/* ---------- 3. 排版 ---------- */
.title-xl {
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(2.3rem, 6.2vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.title-lg {
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.55rem, 3.6vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.title-md {
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.12rem, 2.1vw, 1.5rem);
  line-height: 1.28;
  letter-spacing: 0.005em;
}

.num {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Courier New", monospace;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.num--lime { color: #C6F32B; }

.num--xl {
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.text-dim { color: #8B939B; }
.text-mono {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Courier New", monospace;
  letter-spacing: 0.08em;
}

.prose { max-width: 68ch; font-size: 17px; line-height: 1.75; }
.prose p { margin-bottom: 1.05em; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { margin: 1.6em 0 0.6em; }

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

.eyebrow {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B23A2E;
}

.plate-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #8B939B;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: #B23A2E; color: #FFFFFF; }
.btn--primary:hover { background: #7E241C; }

.btn--lime { background: #C6F32B; color: #0E1A2B; }
.btn--lime:hover { background: #d8ff54; }

.btn--ghost {
  background: transparent;
  color: #12161A;
  border-color: rgba(14, 26, 43, 0.24);
}
.btn--ghost:hover { background: rgba(14, 26, 43, 0.06); }

.btn--on-dark {
  background: transparent;
  color: #F5F1EC;
  border-color: rgba(201, 205, 210, 0.42);
}
.btn--on-dark:hover { background: rgba(245, 241, 236, 0.10); }

.btn--sm { padding: 9px 17px; font-size: 13.5px; }

/* ---------- 6. 容器与网格 ---------- */
.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}
.container--wide { width: min(1340px, 100% - 32px); }
.container--narrow { width: min(760px, 100% - 40px); }

.grid { display: grid; gap: var(--gutter); }
.grid--split { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); }
.grid--halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--lanes { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* ---------- 7. 面板与展签 ---------- */
.panel {
  position: relative;
  padding: 28px;
  border: var(--hair);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}
.panel--dark {
  background: #16273D;
  color: #F5F1EC;
  border-color: rgba(201, 205, 210, 0.18);
}
.panel--dark .text-dim { color: rgba(245, 241, 236, 0.62); }
.panel--dark .plate-index { color: rgba(198, 243, 43, 0.75); }
.panel--brick {
  background: linear-gradient(150deg, #B23A2E, #7E241C);
  border-color: transparent;
  color: #FFFFFF;
}
.panel--flush { padding: 0; overflow: hidden; }
.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.stage-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid #C9CDD2;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: #8B939B;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.stage-tag--lime {
  background: #C6F32B;
  border-color: #C6F32B;
  color: #0E1A2B;
}
.stage-tag--brick {
  background: #B23A2E;
  border-color: transparent;
  color: #FFFFFF;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border: 1px solid #C9CDD2;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.6);
  color: #8B939B;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.tag:hover { border-color: #B23A2E; color: #7E241C; }

/* ---------- 8. 标签页 / 分道条 ---------- */
.lane-tabs { display: flex; flex-wrap: wrap; gap: 8px; }

.lane-tab {
  appearance: none;
  padding: 7px 15px;
  border: 1px solid rgba(14, 26, 43, 0.14);
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  color: #12161A;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lane-tab:hover { border-color: #B23A2E; color: #7E241C; }
.lane-tab[aria-selected="true"] {
  background: #0E1A2B;
  border-color: #0E1A2B;
  color: #C6F32B;
}

.track-lane {
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(14, 26, 43, 0.09);
  overflow: hidden;
}
.track-lane__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #B23A2E, #C6F32B);
}

/* ---------- 9. 图片容器基座 ---------- */
.figure { margin: 0; }

.figure__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(140deg, rgba(178, 58, 46, 0.22), rgba(14, 26, 43, 0.20)),
    #DED8D1;
}
.figure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure__media--wide { aspect-ratio: 21 / 9; }
.figure__media--tall { aspect-ratio: 3 / 4; }
.figure__media--lane { aspect-ratio: 4 / 5; border-radius: var(--radius-md); }

.figure__caption {
  margin-top: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #8B939B;
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #8B939B;
}
.breadcrumbs__link { color: inherit; }
.breadcrumbs__link:hover { color: #B23A2E; }
.breadcrumbs__sep { color: #C9CDD2; }

/* ---------- 11. 章节索引 ---------- */
.section-index {
  position: sticky;
  top: 128px;
  display: grid;
  gap: 2px;
  align-content: start;
}
.section-index__label {
  margin-bottom: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #8B939B;
}
.section-index__link {
  display: block;
  padding: 7px 12px;
  border-left: 2px solid rgba(14, 26, 43, 0.12);
  color: #8B939B;
  font-size: 14px;
  transition: color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}
.section-index__link:hover { color: #12161A; }
.section-index__link.is-active {
  padding-left: 16px;
  border-left-color: #B23A2E;
  color: #7E241C;
  font-weight: 600;
}

/* ---------- 12. 头部 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 18px;
  z-index: 200;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: #0E1A2B;
  color: #C6F32B;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 14px 0 0;
}

.site-header__spine {
  position: relative;
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
}

.nav-capsule {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px 10px 16px;
  border: var(--hair);
  border-radius: var(--radius-pill);
  background: rgba(245, 241, 236, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 16px 34px -24px rgba(14, 26, 43, 0.75);
  transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header[data-scrolled] .nav-capsule {
  padding: 6px 10px 6px 12px;
  background: rgba(245, 241, 236, 0.94);
  box-shadow: 0 18px 32px -26px rgba(14, 26, 43, 0.85);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: #12161A;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(140deg, #B23A2E, #7E241C 62%, #0E1A2B 140%);
  color: #FFFFFF;
  font-family: "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  transform: skewX(-4deg);
  transition: transform 0.3s ease;
}
.brand:hover .brand__mark { transform: skewX(0deg); }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-family: "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand__tagline {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #8B939B;
  white-space: nowrap;
}

/* 导航 */
.nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  display: block;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  color: #12161A;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav__link:hover {
  background: rgba(178, 58, 46, 0.10);
  color: #7E241C;
}
.nav__link[aria-current="page"] {
  background: #B23A2E;
  color: #FFFFFF;
  font-weight: 600;
}

/* 右侧状态区 */
.nav-capsule__side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}

.round-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: #0E1A2B;
  color: #C6F32B;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.round-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C6F32B;
  box-shadow: 0 0 0 3px rgba(198, 243, 43, 0.22);
  animation: chipPulse 2.6s ease-in-out infinite;
}
@keyframes chipPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(198, 243, 43, 0.22); }
  50% { box-shadow: 0 0 0 6px rgba(198, 243, 43, 0.08); }
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(14, 26, 43, 0.14);
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  color: #12161A;
  cursor: pointer;
}
.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;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* 阅读进度 */
.progress-rail {
  height: 3px;
  margin: 8px 30px 0;
  border-radius: var(--radius-pill);
  background: rgba(14, 26, 43, 0.10);
  overflow: hidden;
}
.progress-rail__fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #B23A2E 0%, #D8612D 46%, #C6F32B 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.12s linear;
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 88px;
  padding: 72px 0 34px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: #0E1A2B;
  color: #F5F1EC;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: -32% -12% auto -12%;
  height: 480px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 100% at 16% 0%, rgba(178, 58, 46, 0.55), transparent 68%),
    radial-gradient(46% 88% at 88% 10%, rgba(198, 243, 43, 0.14), transparent 70%);
  filter: blur(6px);
  animation: footerDrift 24s ease-in-out infinite alternate;
}
@keyframes footerDrift {
  from { transform: translate3d(-2%, 0, 0); }
  to { transform: translate3d(2%, 2%, 0); }
}

.footer__inner { position: relative; }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201, 205, 210, 0.18);
}

.footer__col { min-width: 0; }

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
}
.footer__brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(140deg, #B23A2E, #16273D);
  color: #FFFFFF;
  font-family: "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  transform: skewX(-4deg);
}
.footer__brand-name {
  font-family: "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.02em;
}
.footer__brand-sub {
  margin: 16px 0 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #C6F32B;
}

.footer__title {
  margin: 0 0 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 236, 0.55);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__link {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(245, 241, 236, 0.85);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer__link:hover {
  color: #C6F32B;
  border-bottom-color: #C6F32B;
}

.footer__text {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(245, 241, 236, 0.72);
}
.footer__text--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(198, 243, 43, 0.78);
}

.footer__cta { margin-top: 18px; }

.footer__bottom {
  display: grid;
  gap: 10px;
  padding-top: 26px;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(245, 241, 236, 0.6);
}
.footer__icp,
.footer__copy { white-space: nowrap; }
.footer__contact,
.footer__note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(245, 241, 236, 0.58);
}
.footer__note { color: rgba(245, 241, 236, 0.42); }

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-capsule { gap: 12px; }
  .nav__link { padding: 8px 10px; font-size: 13.5px; }
  .round-chip { display: none; }
  .grid--split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 110px; }

  .site-header { padding-top: 10px; }
  .site-header__spine { width: min(1180px, 100% - 24px); }
  .brand__tagline { display: none; }

  .nav { flex: 0 0 auto; margin-left: auto; }

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

  .nav__list {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 26px;
    background: rgba(14, 26, 43, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 28px 52px -24px rgba(14, 26, 43, 0.9);
    z-index: 10;
  }
  .nav[data-open] .nav__list { display: flex; }

  .nav__link {
    padding: 12px 16px;
    border-radius: 18px;
    color: #F5F1EC;
    font-size: 15px;
  }
  .nav__link:hover { background: rgba(245, 241, 236, 0.10); color: #FFFFFF; }
  .nav__link[aria-current="page"] { background: #B23A2E; color: #FFFFFF; }

  .progress-rail { margin-inline: 18px; }

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

  .section-index {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
  }
  .section-index__label { flex-basis: 100%; margin-bottom: 2px; }
  .section-index__link {
    padding: 6px 13px;
    border-left: 0;
    border: 1px solid rgba(14, 26, 43, 0.12);
    border-radius: var(--radius-pill);
    font-size: 13px;
  }
  .section-index__link.is-active {
    padding-left: 13px;
    background: #B23A2E;
    border-color: #B23A2E;
    color: #FFFFFF;
  }

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

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container,
  .container--wide,
  .container--narrow { width: calc(100% - 32px); }

  .panel { padding: 20px; border-radius: var(--radius-md); }
  .figure__media { border-radius: var(--radius-md); }

  .site-footer {
    margin-top: 64px;
    padding: 56px 0 28px;
    border-radius: 32px 32px 0 0;
  }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__legal { gap: 6px 16px; }
}

/* ---------- 15. 降低动效 ---------- */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .site-footer::before { animation: none; }
}
