/* ============================================================
   星空赛场 · 共享样式 /assets/site.css
   深空蓝黑底 + 电光青数据 + 荧光橙行动 + 星尘紫星云
   ============================================================ */

/* ---------- 01 设计令牌 ---------- */
:root {
  --void: #05070F;
  --night: #0B1224;
  --slate: #141D33;
  --orbit: #243452;
  --cyan: #35E6E0;
  --cyan-mist: #9BF3EF;
  --orange: #FF7A2F;
  --violet: #8B6BFF;
  --mist: #C8D3E8;
  --muted: #7C8AA6;
  --bright: #F2F6FF;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --pill: 999px;

  --gutter: 24px;
  --maxw: 1180px;
  --rail-w: 88px;

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

  --font-head: "HarmonyOS Sans SC", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- 02 重置与基础排版 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #05070F;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--mist);
  background-color: var(--void);
  background-image:
    radial-gradient(900px 620px at 80% -12%, rgba(139, 107, 255, .18), transparent 66%),
    radial-gradient(720px 520px at 6% 10%, rgba(53, 230, 224, .10), transparent 62%),
    radial-gradient(1100px 760px at 50% 112%, rgba(255, 122, 47, .07), transparent 62%);
  font-family: var(--font-body);
  font-size: clamp(16px, 0.35vw + 14.5px, 17.5px);
  line-height: 1.75;
  letter-spacing: .01em;
}

@media (min-width: 960px) {
  body { background-attachment: fixed; }
}

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--bright);
}

h1 { font-size: clamp(38px, 6vw, 72px); }
h2 { font-size: clamp(28px, 3.6vw, 52px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); }

p { margin: 0 0 1.15em; }

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color .15s var(--ease);
}

a:hover { color: var(--cyan-mist); }

::selection {
  background: rgba(53, 230, 224, .28);
  color: var(--bright);
}

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

/* ---------- 03 容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 34px);
}

/* ---------- 04 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--pill);
  background: var(--cyan);
  color: #04101A;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: #04101A;
}

/* ---------- 05 刊头外壳 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 7, 15, .84);
  border-bottom: 1px solid rgba(36, 52, 82, .9);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}

.site-header[data-scrolled="true"] {
  background: rgba(5, 7, 15, .95);
  box-shadow: 0 22px 46px -30px rgba(0, 0, 0, .95);
}

/* ---------- 06 阅读进度 ---------- */
.read-progress {
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: rgba(36, 52, 82, .55);
  overflow: hidden;
  pointer-events: none;
}

.read-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-mist) 62%, var(--violet));
}

/* ---------- 07 居中刊头 ---------- */
.masthead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-block: 24px 14px;
  transition: padding .25s var(--ease);
}

.masthead__brand {
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.masthead__logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: .14em;
  text-indent: .14em;
  color: var(--bright);
  background: linear-gradient(180deg, #FFFFFF, #A9BADA);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(53, 230, 224, .16));
  transition: font-size .25s var(--ease);
}

.masthead__tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  color: var(--muted);
  white-space: nowrap;
}

.masthead__tagline::before,
.masthead__tagline::after {
  content: "";
  width: 22px;
  height: 1px;
}

.masthead__tagline::before { background: linear-gradient(90deg, transparent, var(--orbit)); }
.masthead__tagline::after { background: linear-gradient(90deg, var(--orbit), transparent); }

.masthead__actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- 08 联赛轨道开关 ---------- */
.rail-toggle {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px 10px 13px;
  border: 1px solid var(--orbit);
  border-radius: var(--pill);
  background: rgba(20, 29, 51, .7);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}

.rail-toggle:hover {
  border-color: var(--cyan);
  color: var(--bright);
  background: rgba(53, 230, 224, .08);
}

.rail-toggle__glyph {
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) 0 0 / 14px 1.5px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 0 6px / 9px 1.5px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 0 12px / 14px 1.5px no-repeat;
}

/* ---------- 09 胶囊按钮 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s var(--ease), border-color .15s var(--ease),
              background .15s var(--ease), color .15s var(--ease);
}

.pill--ghost {
  border-color: var(--orbit);
  background: rgba(11, 18, 36, .6);
  color: var(--mist);
}

.pill--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan-mist);
  background: rgba(53, 230, 224, .08);
}

.pill--accent {
  background: var(--orange);
  color: #160800;
  box-shadow: 0 12px 28px -16px rgba(255, 122, 47, .95);
}

.pill--accent:hover {
  background: #FF9155;
  color: #160800;
  transform: translateY(-1px);
}

/* ---------- 10 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--orbit);
  border-radius: var(--pill);
  background: rgba(20, 29, 51, .7);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s var(--ease), color .15s var(--ease);
}

.nav-toggle:hover { border-color: var(--cyan); color: var(--bright); }

.nav-toggle__bars {
  position: relative;
  flex: none;
  width: 16px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--cyan);
  transition: transform .2s var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] {
  border-color: var(--cyan);
  color: var(--bright);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-4px) rotate(-45deg); }

/* ---------- 11 栏目导航 ---------- */
.site-nav {
  border-top: 1px solid rgba(36, 52, 82, .55);
  background: linear-gradient(180deg, rgba(11, 18, 36, .55), rgba(5, 7, 15, 0));
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.6vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 14px 4px 16px;
  color: var(--mist);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: translateX(-50%);
  opacity: 0;
  transition: width .2s var(--ease), opacity .2s var(--ease);
}

.site-nav__link:hover { color: var(--cyan-mist); }
.site-nav__link:hover::after { width: 60%; opacity: .45; }

.site-nav__link[aria-current="page"] { color: var(--bright); }
.site-nav__link[aria-current="page"]::after { width: 100%; opacity: 1; }

/* ---------- 12 刊头收缩态 ---------- */
.site-header[data-scrolled="true"] .masthead { padding-block: 12px 8px; }
.site-header[data-scrolled="true"] .masthead__logo { font-size: clamp(20px, 2.2vw, 26px); }
.site-header[data-scrolled="true"] .masthead__tagline { display: none; }
.site-header[data-scrolled="true"] .site-nav__link { padding-block: 10px 12px; font-size: 13.5px; }

/* ---------- 13 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  padding-top: clamp(46px, 6vw, 76px);
  border-top: 1px solid var(--orbit);
  background-color: var(--night);
  background-image:
    radial-gradient(820px 420px at 10% 0%, rgba(139, 107, 255, .16), transparent 70%),
    radial-gradient(700px 380px at 88% 8%, rgba(53, 230, 224, .09), transparent 72%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 58px);
}

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

.footer-col--brand { display: flex; flex-direction: column; }

.footer-brand {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: .12em;
  color: var(--bright);
  text-decoration: none;
  align-self: flex-start;
}

.footer-brand:hover { color: var(--cyan-mist); }

.footer-tagline {
  margin: 14px 0 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--muted);
  line-height: 1.9;
}

.footer-icp {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-heading::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--cyan);
  opacity: .7;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-link {
  color: var(--mist);
  font-size: 14.5px;
  text-decoration: none;
}

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

.footer-leagues {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-league {
  padding: 6px 12px;
  border: 1px solid rgba(36, 52, 82, .95);
  border-radius: var(--pill);
  background: rgba(20, 29, 51, .55);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
}

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

.footer-contact__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--muted);
}

.footer-contact__value {
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer-contact__value:first-of-type { color: var(--cyan-mist); }

.copy-btn {
  align-self: flex-start;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--orbit);
  border-radius: var(--pill);
  background: rgba(53, 230, 224, .06);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}

.copy-btn:hover {
  border-color: var(--cyan);
  background: rgba(53, 230, 224, .14);
  color: var(--cyan-mist);
}

.copy-status {
  margin: 10px 0 0;
  min-height: 1.3em;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--cyan-mist);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 20px 26px;
  border-top: 1px solid rgba(36, 52, 82, .85);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal .footer-link {
  font-size: 13px;
  color: var(--muted);
}

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

.footer-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- 14 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s var(--ease), background .15s var(--ease),
              border-color .15s var(--ease), color .15s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: #160800;
  box-shadow: 0 16px 34px -20px rgba(255, 122, 47, .95);
}

.btn--primary:hover { background: #FF9155; color: #160800; transform: translateY(-2px); }

.btn--ghost {
  border-color: var(--orbit);
  background: rgba(20, 29, 51, .5);
  color: var(--mist);
}

.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan-mist); }

.btn--quiet {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cyan);
}

.btn--quiet:hover { color: var(--cyan-mist); }

/* ---------- 15 框景容器 ---------- */
.frame {
  position: relative;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--orbit);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(20, 29, 51, .74), rgba(11, 18, 36, .92));
  overflow: hidden;
}

.frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  --tick: 14px;
  opacity: .6;
  background:
    linear-gradient(var(--cyan), var(--cyan)) 0 0 / var(--tick) 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 0 0 / 1px var(--tick) no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 0 / var(--tick) 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 0 / 1px var(--tick) no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 0 100% / var(--tick) 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 0 100% / 1px var(--tick) no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 100% / var(--tick) 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 100% / 1px var(--tick) no-repeat;
}

/* ---------- 16 展签标签 ---------- */
.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.label-tag__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 20px;
  padding: 0 6px;
  border: 1px solid rgba(53, 230, 224, .45);
  border-radius: 6px;
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

/* ---------- 17 Bento 栅格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--orbit);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20, 29, 51, .88), rgba(11, 18, 36, .94));
  transition: transform .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 230, 224, .55);
  box-shadow: 0 26px 54px -36px rgba(53, 230, 224, .8);
}

/* ---------- 18 图片容器 ---------- */
.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--orbit);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 28% 18%, rgba(139, 107, 255, .30), rgba(5, 7, 15, .96) 72%),
    var(--void);
}

.media-frame > img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(155, 243, 239, .22) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: .32;
  mix-blend-mode: screen;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 15, .08), rgba(5, 7, 15, .80)),
    radial-gradient(62% 62% at 50% 50%, transparent 54%, rgba(53, 230, 224, .12) 100%);
}

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

.media-frame__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 18px 18px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--cyan-mist);
  background: linear-gradient(0deg, rgba(5, 7, 15, .88), transparent);
}

/* ---------- 19 联赛轨道 ---------- */
.league-rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 55;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: var(--rail-w);
  padding: 108px 0 24px;
  border-right: 1px solid var(--orbit);
  background: rgba(5, 7, 15, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform .25s var(--ease);
}

.league-rail__list {
  display: grid;
  gap: 6px;
  justify-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 100%;
  overflow-y: auto;
}

.league-rail__link {
  display: block;
  padding: 12px 8px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-decoration: none;
  transition: color .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease);
}

.league-rail__link:hover {
  border-color: var(--orbit);
  color: var(--cyan-mist);
}

.league-rail__link[aria-current] {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--void);
  box-shadow: 0 0 0 4px rgba(53, 230, 224, .12);
}

@media (min-width: 1180px) {
  body.has-rail { padding-left: var(--rail-w); }
  .league-rail { display: flex; }
  html[data-rail-collapsed="true"] body.has-rail { padding-left: 0; }
  html[data-rail-collapsed="true"] .league-rail { transform: translateX(-100%); }
}

/* ---------- 20 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(20px, 3vw, 32px);
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--muted);
}

.breadcrumb__link { color: var(--muted); }
.breadcrumb__link:hover { color: var(--cyan); }
.breadcrumb__sep { color: var(--orbit); }
.breadcrumb__current { color: var(--cyan-mist); }

/* ---------- 21 叙事与数据 ---------- */
.prose {
  max-width: 36em;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--mist);
}

.prose > p:last-child { margin-bottom: 0; }

.prose h3 { margin-top: 1.6em; }

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

/* ---------- 22 章节 ---------- */
.section { padding-block: clamp(44px, 7vw, 96px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.section-head__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -.02em;
  color: var(--bright);
}

.page-body { padding-top: clamp(26px, 4vw, 56px); }

/* ---------- 23 响应式 ---------- */
@media (max-width: 1080px) {
  .span-3, .span-4 { grid-column: span 6; }
  .span-8 { grid-column: span 12; }
}

@media (max-width: 900px) {
  .rail-toggle { display: none; }

  .masthead {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    padding-block: 14px 10px;
  }

  .masthead__brand {
    grid-column: 1;
    justify-self: start;
    align-items: flex-start;
  }

  .masthead__logo { font-size: clamp(22px, 5.6vw, 28px); letter-spacing: .1em; text-indent: .1em; }
  .masthead__tagline { display: none; }

  .masthead__actions {
    grid-column: 2;
    justify-self: end;
    gap: 8px;
  }

  .masthead__actions .pill--ghost { display: none; }
  .masthead__actions .pill { padding: 9px 14px; font-size: 13px; }

  .nav-toggle { display: inline-flex; grid-column: 3; }

  .site-nav {
    display: none;
    border-top: 1px solid var(--orbit);
    background:
      radial-gradient(620px 320px at 82% 0%, rgba(139, 107, 255, .18), transparent 72%),
      var(--night);
  }

  .site-nav[data-open="true"] { display: block; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 6px 14px;
  }

  .site-nav__list li { border-bottom: 1px solid rgba(36, 52, 82, .65); }
  .site-nav__list li:last-child { border-bottom: 0; }

  .site-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 4px;
    font-size: 16px;
  }

  .site-nav__link::after {
    left: auto;
    right: 4px;
    top: 50%;
    bottom: auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
  }

  .site-nav__link[aria-current="page"] { color: var(--cyan); }
  .site-nav__link[aria-current="page"]::after { width: 6px; opacity: 1; }
  .site-nav__link:hover::after { width: 6px; opacity: .4; }

  .site-header[data-scrolled="true"] .site-nav__link { font-size: 15px; padding-block: 15px; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--brand { grid-column: 1 / -1; }

  .span-3, .span-4, .span-6, .span-8 { grid-column: span 12; }
  .grid { gap: 18px; }
}

@media (max-width: 560px) {
  .masthead__actions { display: none; }
  .masthead { grid-template-columns: minmax(0, 1fr) auto; }
  .nav-toggle { grid-column: 2; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-copy { order: -1; }

  .frame { border-radius: var(--radius-lg); padding: 20px 18px; }
  .frame::before { inset: 10px; --tick: 10px; }
  .btn { width: 100%; }
}

/* ---------- 24 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .card:hover,
  .pill--accent:hover,
  .btn--primary:hover { transform: none; }
}
