/* ===========================================================
   多玩平台 / 共享样式表 /assets/site.css
   聚合面板体系：深墨蓝底 + 面板墨蓝层级 + 橙青对角 + 荧光黄绿通电点
   =========================================================== */

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

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

body,
h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

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

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

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

/* ---------- 2. 变量 ---------- */
:root {
  --c-base: #0B1220;
  --c-panel: #141E33;
  --c-line: #2A3A57;
  --c-orange: #FF6A2B;
  --c-cyan: #22D3E0;
  --c-lime: #C8FF3D;
  --c-text: #F2F5FA;
  --c-muted: #93A1BD;
  --c-surface: #E9EEF7;
  --c-orange-deep: #5E2410;
  --c-cyan-deep: #0E4A52;
  --grad: linear-gradient(120deg, #FF6A2B 0%, #22D3E0 100%);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Noto Sans Mono CJK SC",
    "Courier New", monospace;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "SimSun", Georgia, serif;

  --shell-max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-panel: 0 1px 0 rgba(255, 255, 255, .02), 0 24px 48px -34px rgba(0, 0, 0, .95);
  --ease: cubic-bezier(.22, .7, .3, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--c-base);
  background-image:
    radial-gradient(900px 620px at 88% -12%, rgba(34, 211, 224, .12), transparent 62%),
    radial-gradient(760px 520px at -6% 4%, rgba(255, 106, 43, .12), transparent 58%);
  background-repeat: no-repeat;
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

h1 { font-size: clamp(34px, 6.4vw, 76px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: clamp(18px, 2.1vw, 24px); }
h4 { font-size: 18px; }

p { text-wrap: pretty; }

::selection { background: var(--c-orange); color: #160B04; }

:focus-visible {
  outline: 2px solid var(--c-lime);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 4. 容器与网格 ---------- */
.shell {
  width: min(100% - var(--gutter) * 2, var(--shell-max));
  margin-inline: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

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

.stack { display: grid; gap: clamp(14px, 2vw, 22px); }
.cluster { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.section { padding-block: clamp(44px, 6.5vw, 92px); }
.section--tight { padding-block: clamp(26px, 4vw, 52px); }

/* ---------- 5. 顶部面板 ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 14px;
  z-index: 90;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--c-lime);
  color: #07130A;
  font-size: 13px;
  font-weight: 800;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 18, 32, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
}

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(42, 58, 87, .55);
  z-index: 70;
  pointer-events: none;
}
.read-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  transition: width .12s linear;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(8px, 1.6vw, 22px);
  min-height: 70px;
  padding-block: 10px;
  transition: min-height .2s var(--ease);
}
.site-header[data-shrink] .site-header__inner { min-height: 56px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 6px 10px 6px 6px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: border-color .18s var(--ease);
}
.brand:hover { border-color: var(--c-line); }

.brand__mark {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--grad);
  box-shadow: 0 0 0 1px rgba(242, 245, 250, .14), 0 0 22px -6px rgba(255, 106, 43, .85);
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(11, 18, 32, .6);
  border-radius: 2px;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.brand__line {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--c-muted);
  transition: opacity .2s var(--ease);
}
.site-header[data-shrink] .brand__line { opacity: 0; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 9px 13px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-panel);
  font-size: 13px;
  font-weight: 600;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.nav-toggle:hover { border-color: var(--c-cyan); }
.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-text);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-text);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle__label { font-family: var(--font-mono); letter-spacing: .06em; }

.cmdbar { display: flex; align-items: center; min-width: 0; }
.cmdbar__list { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }

.cmdbar__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  color: var(--c-muted);
  white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.cmdbar__link:hover { color: var(--c-text); border-color: var(--c-cyan); }

.cmdbar__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--c-cyan);
}

.cmdbar__link[aria-current="page"] {
  color: var(--c-text);
  font-weight: 600;
  background: rgba(20, 30, 51, .95);
  border-color: var(--c-line);
}
.cmdbar__link[aria-current="page"] .cmdbar__index { color: var(--c-lime); }
.cmdbar__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 3px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-orange);
}
.cmdbar__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-lime);
  box-shadow: 0 0 0 3px rgba(200, 255, 61, .16);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 13px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: rgba(20, 30, 51, .8);
  font-size: 12px;
  color: var(--c-muted);
  white-space: nowrap;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.status-chip:hover { border-color: var(--c-cyan); color: var(--c-text); }
.status-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-lime);
  box-shadow: 0 0 0 3px rgba(200, 255, 61, .16);
}
.status-chip__label { color: var(--c-text); font-weight: 600; }
.status-chip__meta { font-family: var(--font-mono); letter-spacing: .04em; }

/* ---------- 6. 页脚 ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 112px);
  padding-block: clamp(30px, 5vw, 56px);
  border-top: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(20, 30, 51, .72) 0%, rgba(11, 18, 32, 1) 78%);
}

.footer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: clamp(18px, 3vw, 30px);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.footer-brand .brand__mark { width: 22px; height: 22px; border-radius: 6px; }
.footer-brand .brand__mark::after { inset: 6px; }
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--c-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.footer-panel {
  padding: 16px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: rgba(20, 30, 51, .68);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.footer-panel:hover { border-color: var(--c-cyan); transform: translateY(-2px); }

.footer-panel__title { font-size: 13px; font-weight: 800; letter-spacing: .02em; margin-bottom: 8px; }
.footer-panel__meta {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--c-muted);
}
.footer-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-cyan);
}
.footer-panel__link::after { content: "→"; transition: transform .2s var(--ease); }
.footer-panel__link:hover::after { transform: translateX(3px); }

.footer-base {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 4vw, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--c-muted);
}
.footer-contact__sep { color: var(--c-line); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  font-size: 12px;
  color: var(--c-muted);
}
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal__link { border-bottom: 1px solid transparent; transition: color .18s var(--ease), border-color .18s var(--ease); }
.footer-legal__link:hover { color: var(--c-text); border-bottom-color: var(--c-cyan); }
.footer-icp { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; }
.footer-copyright { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 8px 13px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--c-muted);
  transition: border-color .18s var(--ease), color .18s var(--ease), transform .12s var(--ease);
}
.to-top::before { content: "↑"; font-family: var(--font-mono); }
.to-top:hover { border-color: var(--c-cyan); color: var(--c-text); }
.to-top:active { transform: translateY(2px); }

/* ---------- 7. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-panel);
  color: var(--c-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
    color .18s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(2px); }

.btn--primary { background: var(--c-orange); border-color: transparent; color: #1A0A02; }
.btn--primary:hover { background: var(--c-orange-deep); border-color: rgba(255, 106, 43, .5); color: var(--c-text); }

.btn--cyan { background: transparent; border-color: var(--c-cyan); color: var(--c-cyan); }
.btn--cyan:hover { background: var(--c-cyan-deep); color: var(--c-text); }

.btn--ghost { background: transparent; }
.btn--ghost:hover { border-color: var(--c-cyan); color: var(--c-cyan); }

/* ---------- 8. 面包屑 ---------- */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--c-muted);
}
.crumb__sep { color: var(--c-line); }
.crumb a { border-bottom: 1px solid transparent; transition: color .18s var(--ease), border-color .18s var(--ease); }
.crumb a:hover { color: var(--c-cyan); border-bottom-color: var(--c-cyan); }
.crumb [aria-current="page"] { color: var(--c-text); }

/* ---------- 9. 正文容器与引题 ---------- */
.prose { max-width: 36em; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.7em; font-size: clamp(22px, 2.6vw, 28px); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { display: grid; gap: 8px; padding-left: 1.1em; }
.prose ul li { list-style: none; position: relative; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: -1.1em;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--c-cyan);
}
.prose ol { list-style: decimal; }
.prose a { color: var(--c-cyan); border-bottom: 1px solid rgba(34, 211, 224, .4); }
.prose a:hover { border-bottom-color: var(--c-cyan); }
.prose strong { color: var(--c-text); font-weight: 800; }

.lead {
  max-width: 34em;
  padding-left: 16px;
  border-left: 2px solid var(--c-orange);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  color: var(--c-text);
}

/* ---------- 10. 面板 ---------- */
.panel {
  position: relative;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
  transition: border-color .2s var(--ease);
}
.panel:hover { border-color: rgba(34, 211, 224, .55); }

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-line);
}
.panel__title { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.panel__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--c-muted);
}
.panel__body { padding: clamp(16px, 2.4vw, 22px); }
.panel--flush .panel__body { padding: 0; }
.panel--tint { background: var(--c-surface); color: var(--c-base); border-color: rgba(242, 245, 250, .6); }
.panel--tint .panel__title,
.panel--tint .panel__body { color: var(--c-base); }
.panel--tint .panel__hint { color: #55617A; }
.panel--tint .panel__head { border-bottom-color: rgba(11, 18, 32, .14); }

.grad-bar { background: var(--grad); color: #160B04; }
.grad-bar .panel__title { color: #160B04; }
.grad-bar .panel__hint { color: rgba(22, 11, 4, .72); }

/* ---------- 11. 索引 / 标签 / 数字 ---------- */
.index-list { display: grid; }

.index-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 12px 4px;
  border-bottom: 1px dashed rgba(42, 58, 87, .9);
  transition: background-color .18s var(--ease);
}
.index-item:last-child { border-bottom: 0; }
.index-item:hover { background: rgba(34, 211, 224, .06); }

.index-item__no {
  min-width: 3.6em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--c-cyan);
}
.index-item__title { font-weight: 600; color: var(--c-text); }
.index-item__meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--c-muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--c-muted);
}
.tag--live { color: var(--c-lime); border-color: rgba(200, 255, 61, .42); background: rgba(200, 255, 61, .1); }
.tag--cyan { color: var(--c-cyan); border-color: rgba(34, 211, 224, .42); background: rgba(34, 211, 224, .1); }
.tag--orange { color: var(--c-orange); border-color: rgba(255, 106, 43, .46); background: rgba(255, 106, 43, .12); }

.metric {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--c-text);
}

/* ---------- 12. 图片槽位（页面阶段放图） ---------- */
.figure {
  margin: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-panel);
}
.figure__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--c-base);
  background-image:
    linear-gradient(120deg, rgba(255, 106, 43, .34) 0%, rgba(34, 211, 224, .26) 100%),
    repeating-linear-gradient(90deg, rgba(147, 161, 189, .18) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, rgba(147, 161, 189, .14) 0 1px, transparent 1px 22px);
}
.figure__media img { width: 100%; height: 100%; object-fit: cover; }
.figure__media--wide { aspect-ratio: 21 / 9; }
.figure__media--square { aspect-ratio: 1 / 1; }
.figure__caption {
  padding: 10px 14px;
  border-top: 1px solid var(--c-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--c-muted);
}

/* ---------- 13. 装饰图形 ---------- */
.raster {
  background-image:
    repeating-linear-gradient(90deg, rgba(147, 161, 189, .16) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(0deg, rgba(147, 161, 189, .12) 0 1px, transparent 1px 20px);
}

.slab {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-panel);
}
.slab--orange { background: var(--c-orange); color: #1A0A02; border-color: transparent; }
.slab--cyan { background: var(--c-cyan); color: #05282C; border-color: transparent; }
.slab--grad { background: var(--grad); color: #160B04; border-color: transparent; }

.legend { display: flex; flex-wrap: wrap; gap: 14px; }
.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--c-muted);
}
.legend__swatch { width: 10px; height: 10px; border-radius: 3px; background: var(--c-cyan); }
.legend__swatch--orange { background: var(--c-orange); }
.legend__swatch--lime { background: var(--c-lime); }
.legend__swatch--line { background: var(--c-line); }

/* ---------- 14. 章节导轨与滚动高亮 ---------- */
.rail { position: sticky; top: 104px; align-self: start; }
.rail__list { display: grid; gap: 2px; }

.spy-link {
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  border-left: 2px solid var(--c-line);
  font-size: 13px;
  color: var(--c-muted);
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.spy-link:hover { color: var(--c-text); border-left-color: var(--c-cyan); }
.spy-link.is-current {
  color: var(--c-text);
  border-left-color: var(--c-orange);
  background: rgba(255, 106, 43, .1);
}

/* ---------- 15. 入场动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1024px) {
  .span-3, .span-4, .span-5 { grid-column: span 6; }
  .rail { position: static; }
}

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

  .site-header[data-open] .cmdbar {
    display: block;
    order: 5;
    width: 100%;
    margin: 6px 0 4px;
    padding: 10px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: rgba(11, 18, 32, .98);
  }

  .site-header[data-open] .cmdbar__list { flex-direction: column; gap: 8px; width: 100%; }
  .site-header[data-open] .cmdbar__item { width: 100%; }

  .site-header[data-open] .cmdbar__link {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    padding: 14px 14px;
    font-size: 15px;
    background: var(--c-panel);
    border-color: var(--c-line);
    color: var(--c-muted);
  }
  .site-header[data-open] .cmdbar__link[aria-current="page"] {
    color: var(--c-text);
    border-color: rgba(255, 106, 43, .5);
  }
  .site-header[data-open] .cmdbar__link[aria-current="page"]::after {
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    border-radius: 0 2px 2px 0;
  }
  .site-header[data-open] .cmdbar__link[aria-current="page"]::before { top: 50%; transform: translateY(-50%); right: 12px; }

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

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

@media (max-width: 720px) {
  body { font-size: 14px; }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 12; }
  h1 { font-size: clamp(30px, 9vw, 40px); }
  h2 { font-size: clamp(22px, 6.6vw, 30px); }
  .index-item__meta { margin-left: 0; width: 100%; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .to-top { margin-left: 0; }
  .brand__line { display: none; }
}

/* ---------- 17. 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .footer-panel:hover { transform: none; }
  .read-progress__bar { transition: none; }
}
