/* ============================================================
   半岛体育 · 共享样式 /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, h6,
p, figure, blockquote, dl, dd, ol, ul {
  margin: 0;
}

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

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

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

button {
  background: none;
  border: 0;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

table {
  border-collapse: collapse;
}

/* ---------- 2. tokens ---------- */
:root {
  --navy-900: #0A1633;
  --navy-800: #12224D;
  --navy-700: #1B2C60;
  --orange: #FF6B1A;
  --orange-soft: #FFA24B;
  --neon: #3DFFA2;
  --cyan: #24D3EE;
  --violet: #7B5CFF;
  --white: #F4F7FF;
  --mute: #B9C6E4;
  --line: #6C7BA6;
  --line-soft: rgba(108, 123, 166, 0.34);
  --line-faint: rgba(108, 123, 166, 0.18);

  --radius: 14px;
  --cut: 18px;
  --wrap: 1320px;
  --ink: #0A1633;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100%;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(1180px 620px at 78% -10%, rgba(36, 211, 238, 0.10), transparent 62%),
    radial-gradient(920px 560px at -8% 16%, rgba(123, 92, 255, 0.10), transparent 60%),
    radial-gradient(900px 520px at 50% 108%, rgba(255, 107, 26, 0.07), transparent 65%);
  background-repeat: no-repeat;
  color: var(--mute);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.02;
}

h2 { font-size: clamp(1.7rem, 3.6vw, 2.85rem); }

h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

strong, b { color: var(--white); font-weight: 700; }

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

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

/* ---------- 4. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.site-main {
  display: block;
  padding-top: clamp(112px, 14vw, 156px);
  padding-bottom: clamp(24px, 4vw, 56px);
}

#main-content { scroll-margin-top: 130px; }

.section { padding-block: clamp(60px, 9vw, 138px); }

.section--tight { padding-block: clamp(32px, 5vw, 68px); }

/* ---------- 5. 章节 / 刻度轨道 ---------- */
.chapter {
  position: relative;
  padding-left: clamp(44px, 5.5vw, 84px);
}

.chapter__index {
  position: absolute;
  left: 0;
  top: -0.15em;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--line);
  font-variant-numeric: tabular-nums;
}

.chapter__rail {
  position: absolute;
  left: 7px;
  top: 2.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: linear-gradient(180deg, var(--line-soft), rgba(108, 123, 166, 0));
}

.chapter__rail::after {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  background: var(--orange);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ---------- 6. 标题组 ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin-bottom: 0.9em;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--orange);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(28px, 4vw, 56px);
}

.section-head__title { margin: 0 0 0.45em; }

.section-head__text {
  margin: 0;
  max-width: 62ch;
  color: var(--mute);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
  color: var(--white);
}

.note {
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--line);
}

/* ---------- 7. 面板 ---------- */
.panel {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(27, 44, 96, 0.92), rgba(18, 34, 77, 0.5));
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.panel:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.panel--cut {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--orange-soft);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line-soft);
  color: var(--white);
  background: rgba(10, 22, 51, 0.35);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn--link {
  padding: 0 0 0.15em;
  border: 0;
  border-bottom: 1px solid var(--orange);
  border-radius: 0;
  background: none;
  color: var(--white);
}

.btn--link:hover { color: var(--orange); }

/* ---------- 9. 标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.3em 0.85em;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(18, 34, 77, 0.6);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.chip--live {
  color: var(--neon);
  border-color: rgba(61, 255, 162, 0.4);
}

.chip--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  animation: pulse 2.4s var(--ease) infinite;
}

.chip--away {
  color: var(--violet);
  border-color: rgba(123, 92, 255, 0.45);
}

/* ---------- 10. 数据数值 ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: clamp(16px, 2.6vw, 34px);
}

.stat { min-width: 0; }

.stat__value {
  display: block;
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.stat--cyan .stat__value { color: var(--cyan); }
.stat--neon .stat__value { color: var(--neon); }

.stat__label {
  display: block;
  margin-top: 0.7em;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- 11. 宽幅数据带 / 斜向色带 ---------- */
.data-band {
  padding-block: clamp(30px, 4.4vw, 60px);
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(96deg, rgba(27, 44, 96, 0.88), rgba(10, 22, 51, 0.25));
}

.slash-band {
  height: 2px;
  margin-block: clamp(36px, 6vw, 76px);
  background: repeating-linear-gradient(100deg, var(--orange) 0 26px, transparent 26px 54px);
  opacity: 0.8;
}

/* ---------- 12. 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(27, 44, 96, 0.95), rgba(10, 22, 51, 0.9));
}

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

.media-frame--cut {
  border-radius: 0;
  clip-path: polygon(0 var(--cut), var(--cut) 0, 100% 0, 100% 100%, 0 100%);
}

.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 0.35em 0.85em;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(10, 22, 51, 0.82);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--white);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 22, 51, 0) 46%, rgba(10, 22, 51, 0.62));
}

/* ---------- 13. 面包屑 ---------- */
.breadcrumb {
  margin-bottom: 1.6em;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--line);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5em;
  color: var(--line-soft);
}

.breadcrumb a { color: var(--mute); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--white); }

/* ---------- 14. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 320;
  padding: 0.75em 1.25em;
  border-radius: 0 0 10px 10px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus { top: 0; }

/* ---------- 15. 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 220;
  background: var(--line-faint);
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--orange), var(--neon));
  transition: transform 0.12s linear;
}

/* ---------- 16. 头部：悬浮胶囊浮岛 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 18px clamp(12px, 3vw, 32px) 0;
  pointer-events: none;
}

.nav-island {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(18, 34, 77, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 46px rgba(4, 10, 26, 0.55);
  pointer-events: auto;
  transition: padding 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--white);
}

.nav-brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(140deg, var(--orange), var(--orange-soft));
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  clip-path: polygon(24% 0, 100% 0, 100% 76%, 76% 100%, 0 100%, 0 24%);
}

.nav-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-brand__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-brand__tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--line);
}

.nav-current {
  display: none;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  white-space: nowrap;
}

.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding-right: clamp(8px, 1.6vw, 20px);
  border-right: 1px solid var(--line-soft);
  font-size: 12px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.nav-live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  animation: pulse 2.2s var(--ease) infinite;
}

.nav-live__label {
  color: var(--white);
  font-weight: 700;
}

.nav-live__meta { color: var(--line); }

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

.main-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  pointer-events: auto;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav__link {
  display: inline-block;
  padding: 0.55em 1.05em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mute);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.main-nav__link:hover {
  color: var(--white);
  border-color: var(--cyan);
}

.main-nav__link[aria-current="page"] {
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(10, 22, 51, 0.5);
  transition: border-color 0.2s var(--ease);
}

.nav-search:hover,
.nav-search:focus-within { border-color: var(--cyan); }

.nav-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nav-search__input {
  width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  opacity: 0;
  transition: width 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-search__input::placeholder { color: var(--line); }
.nav-search__input:focus { outline: none; }

.nav-search:hover .nav-search__input,
.nav-search:focus-within .nav-search__input {
  width: 168px;
  padding-block: 6px;
  opacity: 1;
}

.nav-search__go {
  display: inline-flex;
  align-items: center;
  padding: 0.42em 0.95em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--navy-700);
  color: var(--mute);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.nav-search__go:hover {
  color: var(--white);
  border-color: var(--cyan);
  background: var(--navy-800);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(10, 22, 51, 0.55);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease);
}

/* 收缩态（滚动 120px 后，桌面） */
.site-header[data-shrink="true"] .nav-live,
.site-header[data-shrink="true"] .nav-brand__tag { display: none; }

.site-header[data-shrink="true"] .nav-island {
  padding-block: 7px;
  background: rgba(18, 34, 77, 0.95);
}

.site-header[data-shrink="true"] .main-nav__link {
  padding: 0.45em 0.82em;
  font-size: 14px;
}

/* ---------- 17. 页脚 ---------- */
.site-footer {
  margin-top: clamp(64px, 9vw, 140px);
  padding: clamp(48px, 7vw, 92px) 0 28px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(18, 34, 77, 0.72), var(--navy-900));
}

.footer-inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 3.5vw, 56px);
}

.footer-block {
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.footer-block__label {
  display: block;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.footer-brand {
  margin-bottom: 0.35em;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.footer-tagline {
  margin-bottom: 1.3em;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mute);
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.72em 1.35em;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-cta:hover {
  background: var(--orange-soft);
  color: var(--ink);
  transform: translateY(-2px);
}

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

.footer-link {
  display: inline-block;
  border-bottom: 1px solid transparent;
  color: var(--mute);
  font-size: 15px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact__item {
  display: grid;
  gap: 2px;
  font-size: 14px;
  color: var(--white);
  word-break: break-word;
}

.footer-contact__key {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--line);
}

.footer-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--line);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(32px, 5vw, 60px);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--line);
}

.footer-legal p { margin: 0; }

/* ---------- 18. 显现动画协议 ---------- */
[data-reveal].is-in {
  animation: reveal 0.6s var(--ease) both;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1180px) {
  .nav-live__meta,
  .nav-brand__tag { display: none; }

  .nav-live { border-right: 0; padding-right: 0; }

  .main-nav__link {
    padding: 0.5em 0.75em;
    font-size: 14px;
  }

  .nav-search:hover .nav-search__input,
  .nav-search:focus-within .nav-search__input { width: 128px; }
}

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  body { padding-bottom: 96px; }

  .site-main { padding-top: clamp(30px, 8vw, 64px); }

  .site-header {
    top: auto;
    bottom: 0;
    padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .nav-island {
    gap: 10px;
    padding: 10px 12px;
    border-radius: 24px;
    background: rgba(18, 34, 77, 0.96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 -14px 40px rgba(4, 10, 26, 0.6);
  }

  .nav-brand__tag,
  .nav-live__meta,
  .site-header[data-shrink="true"] .nav-current { display: none; }

  .site-header[data-shrink="true"] .nav-live { display: inline-flex; }
  .site-header[data-shrink="true"] .nav-island { background: rgba(18, 34, 77, 0.96); }

  .nav-live {
    border-right: 0;
    padding-right: 0;
    letter-spacing: 0.08em;
  }

  .nav-live__label { font-size: 12px; }

  .nav-toggle { display: flex; }

  .nav-search { padding-left: 10px; }
  .nav-search__label,
  .nav-search__input { display: none; }

  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: block;
    max-height: 84vh;
    overflow: auto;
    padding: clamp(26px, 7vw, 40px) clamp(18px, 5vw, 32px) 122px;
    border-top: 1px solid var(--line-soft);
    border-radius: 26px 26px 0 0;
    background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
    transform: translateY(105%);
    visibility: hidden;
    transition: transform 0.34s var(--ease), visibility 0.34s var(--ease);
  }

  .site-header[data-open] .main-nav {
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .main-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em 1.15em;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: rgba(10, 22, 51, 0.5);
    font-size: 17px;
  }

  .main-nav__link::after {
    content: "→";
    color: var(--line);
  }

  .main-nav__link[aria-current="page"] {
    border-color: var(--orange);
    background: var(--orange);
    color: var(--ink);
  }

  .main-nav__link[aria-current="page"]::after { color: var(--ink); }

  .site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 85;
    background: rgba(6, 13, 32, 0.72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .site-header[data-open]::after {
    opacity: 1;
    visibility: visible;
  }

  .chapter { padding-left: 38px; }
  .chapter__rail { left: 6px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .footer-grid { grid-template-columns: 1fr; }

  .footer-legal { flex-direction: column; }

  .stat-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}

/* ---------- 20. 减弱动效 ---------- */
@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-progress__bar { transition: none; }
}
