/* ==========================================================================
   LOL押注正规平台 · 共享外壳样式 /assets/site.css
   深空雷达 · 双层信息导航 · 近单色 + 单一亮色
   ========================================================================== */

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

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

body {
  margin: 0;
  min-height: 100%;
  background: transparent;
  color: #E9EEFA;
  font-family: "HarmonyOS Sans SC", "Inter Tight", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 64px;
  padding-left: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1.2em; max-width: 68ch; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid #26375F; margin: 0; }
main { display: block; }

/* ---------- 2. Design tokens ---------- */
:root {
  /* 色彩 */
  --ink-void: #060A17;
  --ink-night: #0C142B;
  --ink-glass: #1A2440;
  --ink-line: #26375F;
  --cyan: #34E5D4;
  --violet: #7B5CFF;
  --amber: #FF8A3D;
  --paper: #E9EEFA;
  --muted: #93A2C4;
  --dim: #5A6A92;
  --ok: #3ED598;

  --text: #E9EEFA;
  --text-soft: rgba(233, 238, 250, 0.78);

  /* 度量 */
  --rail-w: 272px;
  --header-h: 64px;
  --shell-max: 1320px;
  --gutter: clamp(18px, 4vw, 48px);
  --radius: 14px;
  --radius-sm: 10px;

  /* 字体族 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC",
    "STSong", "SimSun", Georgia, serif;
  --font-ui: "HarmonyOS Sans SC", "Inter Tight", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, "Courier New", monospace;

  /* 动效 */
  --t-fast: 160ms;
  --t-mid: 260ms;
}

/* ---------- 3. 背景层：径向霓虹 + 自转扫描扇形 ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 760px at 80% -8%, rgba(123, 92, 255, 0.20), transparent 62%),
    radial-gradient(880px 680px at 4% 6%, rgba(52, 229, 212, 0.10), transparent 60%),
    radial-gradient(1400px 1000px at 50% 118%, rgba(12, 20, 43, 0.92), transparent 72%),
    linear-gradient(180deg, #060A17 0%, #0C142B 46%, #060A17 100%);
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  top: 46%;
  left: 62%;
  width: min(180vw, 1800px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    rgba(52, 229, 212, 0.11) 0deg,
    rgba(52, 229, 212, 0.04) 26deg,
    rgba(52, 229, 212, 0) 58deg,
    rgba(52, 229, 212, 0) 360deg
  );
  -webkit-mask-image: radial-gradient(closest-side, rgba(0, 0, 0, 0.9), transparent 78%);
  mask-image: radial-gradient(closest-side, rgba(0, 0, 0, 0.9), transparent 78%);
  animation: radar-spin 12s linear infinite;
}

@keyframes radar-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 移动端抽屉打开时暂停扫描 */
@media (max-width: 1023.98px) {
  body.nav-open::after { animation-play-state: paused; }
  body.nav-open { overflow: hidden; }
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  background: var(--cyan);
  color: #04131A;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transform: translateY(-220%);
  transition: transform var(--t-fast) ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 5. 焦点可见 ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   6. 页头 —— 桌面端左侧雷达竖栏 / 移动端顶部条 + 抽屉
   ========================================================================== */
.site-header {
  position: fixed;
  z-index: 80;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(12, 20, 43, 0.97) 0%, rgba(6, 10, 23, 0.99) 100%);
  border-bottom: 1px solid var(--ink-line);
}

/* --- 6.1 移动端：顶部横条 --- */
@media (max-width: 1023.98px) {
  .site-header {
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
  }
  .rail-scroll {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 0 clamp(14px, 4vw, 26px);
  }
  .brand-sub { display: none; }
  .brand-name { font-size: 0.98rem; }
  .brand-mark { width: 30px; height: 30px; }
  .rail-status,
  .rail-foot { display: none; }
}

/* --- 6.2 桌面端：左侧固定雷达面板 --- */
@media (min-width: 1024px) {
  body {
    padding-top: 0;
    padding-left: var(--rail-w);
  }
  .site-header {
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--rail-w);
    display: flex;
    flex-direction: column;
    border-bottom: 0;
    border-right: 1px solid var(--ink-line);
  }
  .rail-scroll {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 26px 20px 22px;
    scrollbar-width: thin;
    scrollbar-color: var(--ink-line) transparent;
  }
  .rail-scroll::-webkit-scrollbar { width: 6px; }
  .rail-scroll::-webkit-scrollbar-thumb {
    background: var(--ink-line);
    border-radius: 3px;
  }
  .rail-head {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(38, 55, 95, 0.75);
  }
  .rail-status { margin: 18px 0 0; }
  .primary-nav { margin-top: 26px; }
  .rail-foot { margin-top: auto; padding-top: 18px; }
}

/* --- 6.3 品牌署名 --- */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--ink-line);
  background: radial-gradient(circle at 50% 50%, rgba(52, 229, 212, 0.20), transparent 72%);
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(52, 229, 212, 0.45);
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(52, 229, 212, 0.85);
  animation: radar-pulse 3.4s ease-in-out infinite;
}

@keyframes radar-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

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

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--paper);
}

.brand-sub {
  display: block;
  margin-top: 3px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--muted);
}

/* --- 6.4 状态带 --- */
.rail-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding: 10px 12px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-sm);
  background: rgba(26, 36, 64, 0.5);
  font-size: 0.68rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0;
  max-width: none;
}

.status-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(62, 213, 152, 0.9);
}

.status-item { white-space: nowrap; }
.status-sep { color: var(--dim); }

/* --- 6.5 移动导航按钮 --- */
.nav-toggle {
  display: none;
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-sm);
  background: rgba(26, 36, 64, 0.55);
  cursor: pointer;
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease;
}
.nav-toggle:hover { border-color: rgba(52, 229, 212, 0.55); }

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 20px;
  height: 14px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform var(--t-fast) ease, opacity var(--t-fast) ease;
}

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

@media (max-width: 1023.98px) {
  .nav-toggle { display: inline-flex; }

  .site-header[data-open="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }
  .site-header[data-open="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .site-header[data-open="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }
  .site-header[data-open="true"] .nav-toggle {
    border-color: rgba(52, 229, 212, 0.6);
  }
}

/* --- 6.6 主导航 --- */
.primary-nav { display: block; }

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

.nav-item { display: block; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: color var(--t-fast) ease, background var(--t-fast) ease,
    border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.nav-link:hover {
  color: var(--paper);
  background: rgba(26, 36, 64, 0.62);
  border-color: var(--ink-line);
  box-shadow: inset 0 0 0 1px rgba(52, 229, 212, 0.16);
}

.nav-index {
  flex: none;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--dim);
  transition: color var(--t-mid) ease, text-shadow var(--t-mid) ease;
}

.nav-label { min-width: 0; }

.nav-link[aria-current="page"] {
  color: var(--paper);
  border-color: rgba(52, 229, 212, 0.28);
  background: linear-gradient(90deg, rgba(52, 229, 212, 0.16), rgba(52, 229, 212, 0) 92%);
}
.nav-link[aria-current="page"] .nav-index {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(52, 229, 212, 0.55);
}
.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 18px;
  margin-top: -9px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(52, 229, 212, 0.8);
}

/* --- 6.7 移动端抽屉 --- */
@media (max-width: 1023.98px) {
  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px var(--gutter) 56px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: linear-gradient(180deg, rgba(12, 20, 43, 0.985) 0%, rgba(6, 10, 23, 0.995) 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--t-mid) ease, transform var(--t-mid) ease,
      visibility var(--t-mid) ease;
  }
  .site-header[data-open="true"] .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-list { gap: 4px; }
  .nav-link {
    padding: 15px 14px;
    font-size: 1rem;
    border-color: rgba(38, 55, 95, 0.6);
    background: rgba(26, 36, 64, 0.35);
  }
  .nav-index { font-size: 0.72rem; }
}

/* --- 6.8 底部入口 --- */
.rail-foot {
  border-top: 1px solid var(--ink-line);
  padding-top: 16px;
}

.rail-latest {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color var(--t-fast) ease;
}
.rail-latest::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(52, 229, 212, 0.8);
}
.rail-latest:hover { color: var(--paper); }

/* --- 6.9 阅读进度条 --- */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
  background: rgba(38, 55, 95, 0.55);
  opacity: 0;
  transition: opacity var(--t-mid) ease;
}
.read-progress[data-visible="true"] { opacity: 1; }

.read-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--violet) 100%);
  box-shadow: 0 0 12px rgba(52, 229, 212, 0.6);
}

/* ==========================================================================
   7. 页脚
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(64px, 10vw, 140px);
  border-top: 1px solid var(--ink-line);
  background: linear-gradient(180deg, rgba(12, 20, 43, 0.76) 0%, rgba(6, 10, 23, 0.99) 100%);
}

.footer-shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 84px) var(--gutter) 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(26px, 4vw, 56px);
  padding-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--ink-line);
}

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

.footer-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
  max-width: none;
}

.footer-mark {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(52, 229, 212, 0.8);
}

.footer-sub {
  margin: 0;
  max-width: 34ch;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 1.75;
  color: var(--muted);
}

.footer-col-title {
  margin: 0 0 14px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  display: inline-block;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t-fast) ease, transform var(--t-fast) ease;
}
.footer-link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 24px;
}

.footer-contact,
.footer-legal,
.footer-update,
.footer-copy {
  margin: 0;
  max-width: 86ch;
}

.footer-contact {
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--muted);
}

.footer-legal {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.footer-update {
  font-size: 0.78rem;
  line-height: 1.75;
  color: var(--muted);
}

.footer-copy {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--dim);
}

/* ==========================================================================
   8. 通用布局与组件
   ========================================================================== */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.shell--wide { max-width: 1560px; }

/* --- 8.1 按钮 --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: rgba(26, 36, 64, 0.6);
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease,
    color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.btn:hover {
  color: var(--cyan);
  border-color: rgba(52, 229, 212, 0.5);
  box-shadow: inset 0 0 0 1px rgba(52, 229, 212, 0.2);
}

.btn--primary {
  border-color: rgba(52, 229, 212, 0.45);
  background: linear-gradient(120deg, rgba(52, 229, 212, 0.2) 0%, rgba(123, 92, 255, 0.2) 100%);
}

.btn--ghost { background: transparent; }

/* --- 8.2 筛选标签 --- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: rgba(26, 36, 64, 0.45);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease,
    background var(--t-fast) ease;
}
.chip:hover { color: var(--paper); border-color: rgba(52, 229, 212, 0.4); }
.chip[aria-pressed="true"],
.chip.is-active {
  color: var(--cyan);
  border-color: rgba(52, 229, 212, 0.55);
  background: rgba(52, 229, 212, 0.1);
}

/* --- 8.3 面板 --- */
.panel {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(26, 36, 64, 0.62) 0%, rgba(12, 20, 43, 0.74) 100%);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.panel:hover {
  border-color: rgba(52, 229, 212, 0.35);
  box-shadow: inset 0 0 0 1px rgba(52, 229, 212, 0.12);
}

.panel--glass {
  background: rgba(26, 36, 64, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* --- 8.4 导语标签 --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(52, 229, 212, 0));
}

/* --- 8.5 面包屑 --- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before {
  content: "/";
  color: var(--dim);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}
.breadcrumb a:hover { color: var(--cyan); }

/* --- 8.6 长文 --- */
.prose { max-width: 76ch; }
.prose p { color: var(--text-soft); }
.prose h2,
.prose h3 { margin: 1.7em 0 0.6em; color: var(--paper); }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); }
.prose h3 { font-size: 1.1rem; letter-spacing: 0.02em; }
.prose ul,
.prose ol { margin: 0 0 1.2em; padding-left: 1.3em; color: var(--text-soft); }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(52, 229, 212, 0.35); }
.prose a:hover { border-bottom-color: var(--cyan); }

/* --- 8.7 12 列非对称网格 --- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

/* --- 8.8 数据数字 --- */
.numeral {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(2.2rem, 8vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-shadow: 0 0 12px rgba(52, 229, 212, 0.35);
}

.numeral--sm {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-shadow: 0 0 8px rgba(52, 229, 212, 0.25);
}

/* --- 8.9 章节标记与滚动高亮 --- */
.section-mark {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--dim);
  transition: color 450ms ease, text-shadow 450ms ease;
}

.section-rule {
  display: block;
  height: 1px;
  width: 100%;
  margin: 14px 0 22px;
  background: linear-gradient(90deg, var(--ink-line), rgba(38, 55, 95, 0));
  transform-origin: 0 50%;
  transition: background 450ms ease;
}

[data-section].is-current .section-mark {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(52, 229, 212, 0.45);
}
[data-section].is-current .section-rule {
  background: linear-gradient(90deg, var(--cyan), rgba(52, 229, 212, 0));
}

/* --- 8.10 图片容器（页面阶段放置占位） --- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(26, 36, 64, 0.9) 0%, rgba(6, 10, 23, 0.95) 100%);
}

.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.92) hue-rotate(-8deg);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(52, 229, 212, 0.07) 0%, rgba(52, 229, 212, 0) 42%),
    repeating-linear-gradient(
      180deg,
      rgba(233, 238, 250, 0.045) 0 1px,
      rgba(233, 238, 250, 0) 1px 4px
    );
}

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

.media-frame-caption {
  margin: 8px 0 0;
  max-width: 68ch;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* ==========================================================================
   9. 响应式：平板 / 手机
   ========================================================================== */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; line-height: 1.8; }

  .grid-12 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .grid-12 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .numeral { font-size: clamp(2rem, 13vw, 3.4rem); }
  .read-progress { height: 2px; }
}

/* ==========================================================================
   10. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .brand-mark::after { animation: none; }
  .read-progress { transition: none; }

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