/* =========================================================
   AO3阅读器 · 全站样式
   纯 HTML5 + CSS3 + 原生 JavaScript，无外部依赖
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --cream: #fcf3e9;
  --cream-deep: #f6e8d8;
  --paper: #fffaf4;
  --brown: #663300;
  --brown-hover: #804000;
  --brown-soft: #8a5a33;
  --teal: #114a49;
  --teal-soft: #1a5d5b;
  --green: #5eb473;
  --green-deep: #347c49;
  --yellow: #ffd200;
  --line: #e0e0e0;
  --line-warm: #ead8c6;
  --ink: #000000;
  --muted: #66513f;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 17px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --shadow-card: 0 3px 5px 3px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 14px 32px rgba(102, 51, 0, 0.14);
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-display: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
    "SimSun", serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: calc(var(--header-h) + 1px);
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 8% 3%, rgba(255, 210, 0, 0.14), transparent 28rem),
    radial-gradient(circle at 94% 9%, rgba(94, 180, 115, 0.1), transparent 26rem),
    radial-gradient(rgba(102, 51, 0, 0.045) 0.7px, transparent 0.7px);
  background-size: auto, auto, 19px 19px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--brown);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease),
    background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

a:hover {
  color: var(--brown-hover);
}

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

button {
  cursor: pointer;
}

::selection {
  background: var(--yellow);
  color: var(--brown);
}

:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

.section--teal :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--yellow);
}

hr {
  border: 0;
  border-top: 1px solid var(--line-warm);
  margin: 32px 0;
}

/* ---------- 3. 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--brown);
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--cream);
}

.no-copy {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--brown);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn svg {
  flex: none;
  width: 17px;
  height: 17px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(102, 51, 0, 0.16);
}

.btn-primary:hover {
  background: var(--brown-hover);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(102, 51, 0, 0.22);
}

.btn-secondary {
  border-color: var(--brown);
  background: transparent;
  color: var(--brown);
}

.btn-secondary:hover {
  background: var(--brown);
  color: var(--white);
}

.btn-yellow {
  background: var(--yellow);
  color: #2b1a0b;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.btn-yellow:hover {
  background: #ffe14d;
  color: #1d1105;
}

.btn-ghost {
  padding-inline: 4px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--brown);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(102, 51, 0, 0.07);
  color: var(--brown-hover);
  transform: translateX(2px);
}

.btn-sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  background: rgba(252, 243, 233, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

@supports (backdrop-filter: blur(10px)) {
  .site-header {
    background: rgba(252, 243, 233, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-warm);
  box-shadow: 0 8px 24px rgba(102, 51, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  margin-right: auto;
  color: var(--brown);
  text-decoration: none;
}

.brand:hover {
  color: var(--brown);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  box-shadow: 0 5px 12px rgba(102, 51, 0, 0.2);
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-7deg) scale(1.03);
  background: var(--brown-hover);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  color: var(--brown);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-sub {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  color: #3f2c1c;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(102, 51, 0, 0.07);
  color: var(--brown);
  transform: translateY(-2px);
}

.nav-link[aria-current="page"] {
  background: rgba(255, 210, 0, 0.26);
  color: var(--brown);
  font-weight: 800;
}

.header-cta {
  flex: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid var(--line-warm);
  border-radius: 50%;
  background: var(--paper);
  color: var(--brown);
}

.menu-toggle:hover {
  background: rgba(255, 210, 0, 0.18);
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -6px;
}

.menu-lines::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-lines::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* 移动端抽屉 */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(26, 14, 5, 0.38);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  width: min(88vw, 380px);
  padding: 26px 24px 32px;
  overflow-y: auto;
  background: var(--cream);
  box-shadow: -24px 0 60px rgba(26, 14, 5, 0.22);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.36s var(--ease), visibility 0.36s var(--ease);
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-warm);
}

.mobile-nav-top .brand-name {
  font-size: 19px;
}

.mobile-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-warm);
  border-radius: 50%;
  background: var(--paper);
  color: var(--brown);
  font-size: 24px;
  line-height: 1;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  margin: 10px 0 24px;
}

.mobile-nav nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(102, 51, 0, 0.12);
  color: #2f1d0e;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.mobile-nav nav a::after {
  content: "→";
  color: var(--brown-soft);
  font-weight: 400;
  transition: transform 0.2s var(--ease);
}

.mobile-nav nav a:hover {
  color: var(--brown);
}

.mobile-nav nav a:hover::after {
  transform: translateX(4px);
}

.mobile-note {
  margin: 22px 0 0;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(94, 180, 115, 0.1);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* ---------- 6. 首屏 ---------- */
.hero {
  position: relative;
  padding: clamp(42px, 6vw, 82px) 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 4%;
  left: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 0, 0.13), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-pill);
  background: rgba(255, 250, 244, 0.72);
  color: var(--brown);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(94, 180, 115, 0.16);
}

.hero h1 {
  max-width: 12em;
  text-wrap: balance;
  margin: 24px 0 22px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5.4vw, 4.55rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.025em;
}

.marker {
  position: relative;
  display: inline-block;
  z-index: 0;
  white-space: nowrap;
}

.marker::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.09em;
  z-index: -1;
  height: 0.32em;
  border-radius: 3px;
  background: var(--yellow);
  opacity: 0.82;
  transform: rotate(-1.2deg);
}

.hero-lead {
  max-width: 58ch;
  margin: 0 0 28px;
  color: #3c2b1d;
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
}

/* 首屏插画 */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
  isolation: isolate;
}

.hero-sun {
  position: absolute;
  top: 6px;
  right: 2%;
  z-index: -2;
  width: min(300px, 72%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffec8a, var(--yellow) 68%);
  opacity: 0.88;
  box-shadow: 0 0 0 22px rgba(255, 210, 0, 0.09);
}

.hero-ring {
  position: absolute;
  top: -10px;
  right: -8%;
  z-index: -1;
  width: min(360px, 84%);
  aspect-ratio: 1;
  border: 1px dashed rgba(102, 51, 0, 0.22);
  border-radius: 50%;
  animation: slow-spin 34s linear infinite;
}

.reading-slip {
  position: relative;
  z-index: 3;
  width: min(360px, 92%);
  margin: 0;
  padding: 31px 30px 28px;
  border: 1px solid rgba(102, 51, 0, 0.16);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 24px 54px rgba(102, 51, 0, 0.17);
  transform: rotate(2deg);
}

.reading-slip::before {
  content: "";
  position: absolute;
  inset: 11px;
  z-index: -1;
  border: 1px solid rgba(102, 51, 0, 0.08);
  border-radius: 11px;
  pointer-events: none;
}

.reading-slip::after {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 64px;
  height: 7px;
  border-radius: 0 0 5px 5px;
  background: var(--yellow);
}

.slip-kicker {
  margin: 0 0 24px;
  color: var(--brown-soft);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.slip-quote {
  margin: 0;
  color: var(--brown);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.slip-rule {
  width: 54px;
  height: 2px;
  margin: 22px 0 16px;
  border-radius: 2px;
  background: var(--green);
}

.slip-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.slip-tag {
  display: inline-block;
  margin-top: 20px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(102, 51, 0, 0.08);
  color: var(--brown);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.art-books {
  position: absolute;
  left: 50%;
  bottom: -18px;
  z-index: 1;
  width: min(430px, 104%);
  transform: translateX(-52%);
  filter: drop-shadow(0 18px 18px rgba(102, 51, 0, 0.14));
}

.art-leaf {
  position: absolute;
  z-index: 2;
  color: var(--green);
}

.art-leaf--one {
  top: 30px;
  left: 2%;
  width: 62px;
  transform: rotate(-26deg);
}

.art-leaf--two {
  right: 0;
  bottom: 92px;
  width: 50px;
  color: var(--green-deep);
  transform: rotate(28deg);
}

.art-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-pill);
  background: var(--paper);
  box-shadow: 0 8px 20px rgba(102, 51, 0, 0.1);
  color: var(--brown);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.art-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.art-chip--one {
  top: 8px;
  left: -4px;
  transform: rotate(-4deg);
}

.art-chip--two {
  right: -6px;
  bottom: 56px;
  transform: rotate(3deg);
}

.art-chip--two::before {
  background: var(--yellow);
}

/* 首屏数据条 */
.hero-stats-wrap {
  padding-top: clamp(34px, 5vw, 58px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.72);
  box-shadow: var(--shadow-card);
}

.hero-stats li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  padding: 20px 26px;
  border-left: 1px solid var(--line-warm);
}

.hero-stats li:first-child {
  border-left: 0;
}

.hero-stats strong {
  color: var(--brown);
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 800;
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- 7. 区块通用 ---------- */
.section {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0;
}

.section--tight {
  padding: clamp(42px, 6vw, 68px) 0;
}

.section--paper {
  border-top: 1px solid rgba(102, 51, 0, 0.09);
  border-bottom: 1px solid rgba(102, 51, 0, 0.09);
  background: rgba(255, 250, 244, 0.62);
}

.section--teal {
  background: var(--teal);
  color: var(--cream);
  border: 0;
}

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

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  max-width: none;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 14px;
  color: var(--brown);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  flex: none;
  border-radius: 2px;
  background: var(--yellow);
}

.section-head h2 {
  margin: 0 0 13px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.3vw, 2.65rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.section-head p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.section--teal .section-kicker {
  color: var(--yellow);
}

.section--teal .section-head h2 {
  color: var(--cream);
}

.section--teal .section-head p {
  color: rgba(252, 243, 233, 0.78);
}

.section-action {
  flex: none;
  padding-bottom: 4px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brown);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(102, 51, 0, 0.28);
}

.text-link::after {
  content: "→";
  font-weight: 400;
  transition: transform 0.2s var(--ease);
}

.text-link:hover {
  color: var(--brown-hover);
  border-bottom-color: var(--brown-hover);
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* ---------- 8. 名词卡 ---------- */
.term-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.term-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.72);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.term-card::after {
  content: "";
  position: absolute;
  top: -28px;
  right: -28px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 210, 0, 0.14);
}

.term-index {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--brown-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.term-card h3 {
  margin: 0 0 9px;
  color: var(--brown);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.term-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.editor-note {
  margin-top: 22px;
  padding: 18px 22px;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(94, 180, 115, 0.09);
  color: #3b2a1b;
  font-size: 14px;
  line-height: 1.85;
}

.editor-note strong {
  color: var(--green-deep);
}

/* ---------- 9. 入口清单 ---------- */
.mirror-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.mirror-toolbar span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
}

.mirror-notice {
  display: flex;
  gap: 13px;
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 210, 0, 0.48);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 210, 0, 0.12);
  color: #3c2b1d;
  font-size: 13.5px;
  line-height: 1.8;
}

.mirror-notice strong {
  color: var(--brown);
}

.notice-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--brown);
  font-size: 12px;
  font-weight: 800;
}

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

.mirror-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.045);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.mirror-card:hover {
  border-color: rgba(102, 51, 0, 0.3);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.mirror-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mirror-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: rgba(102, 51, 0, 0.08);
  color: var(--brown);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.mirror-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(94, 180, 115, 0.12);
  color: var(--green-deep);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.4;
  text-align: right;
}

.mirror-card:nth-child(4n + 2) .mirror-tag,
.mirror-card:nth-child(4n + 3) .mirror-tag {
  background: rgba(255, 210, 0, 0.2);
  color: #6b4d06;
}

.mirror-domain {
  margin: 0 0 9px;
  color: var(--brown);
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.mirror-url {
  margin: 0 0 14px;
  padding: 9px 12px;
  overflow-wrap: anywhere;
  border: 1px dashed var(--line-warm);
  border-radius: var(--radius-sm);
  background: rgba(252, 243, 233, 0.88);
  color: #5c4634;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
}

.mirror-desc {
  flex: 1;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.82;
}

.mirror-go {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(102, 51, 0, 0.24);
  border-radius: var(--radius-pill);
  color: var(--brown);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.mirror-go span {
  font-weight: 400;
  transition: transform 0.2s var(--ease);
}

.mirror-go:hover {
  background: var(--brown);
  color: var(--cream);
  transform: translateX(2px);
}

.mirror-go:hover span {
  transform: translateX(3px);
}

.mirror-footnote {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-warm);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

/* ---------- 10. 三列信息卡 ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  position: relative;
  overflow: hidden;
  padding: 27px 24px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.72);
}

.info-card::after {
  content: "";
  position: absolute;
  top: -34px;
  right: -34px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 210, 0, 0.13);
}

.info-num {
  margin-bottom: 18px;
  color: rgba(102, 51, 0, 0.4);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.info-card h3 {
  margin: 0 0 10px;
  color: var(--brown);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

/* ---------- 11. 四步流程 ---------- */
.route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: route-step;
}

.route li {
  position: relative;
  padding: 24px 20px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-md);
  background: var(--paper);
  counter-increment: route-step;
}

.route li::before {
  content: "0" counter(route-step);
  display: inline-block;
  margin-bottom: 25px;
  color: var(--brown-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.route li::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -17px;
  color: rgba(102, 51, 0, 0.38);
  font-size: 18px;
  transform: translateY(-50%);
}

.route li:last-child::after {
  display: none;
}

.route h3 {
  margin: 0 0 8px;
  color: var(--brown);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.route p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- 12. 阅读方法 ---------- */
.reading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 20px;
  align-items: stretch;
}

.reading-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.reading-card h3 {
  margin: 0 0 12px;
  color: var(--brown);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.45;
}

.reading-card > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-top: 1px solid rgba(102, 51, 0, 0.09);
  color: #3c2b1d;
  font-size: 14px;
  line-height: 1.8;
}

.clean-list li:first-child {
  border-top: 0;
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.tag-cloud span {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(102, 51, 0, 0.07);
  color: var(--brown);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
}

.reading-grid .quote-panel {
  grid-column: 1 / -1;
}

.quote-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-md);
  background: var(--yellow);
  color: #2b1a0b;
}

.quote-panel::after {
  content: "“";
  position: absolute;
  top: -34px;
  right: 12px;
  color: rgba(102, 51, 0, 0.13);
  font-family: var(--font-display);
  font-size: 180px;
  line-height: 1;
}

.quote-panel blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.quote-panel p {
  position: relative;
  z-index: 1;
  margin: 26px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.7;
}

.quote-panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

/* ---------- 13. 安全区 ---------- */
.safety-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.safety-lead h2 {
  margin: 0 0 16px;
  color: var(--cream);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.safety-lead p {
  margin: 0 0 22px;
  color: rgba(252, 243, 233, 0.78);
  font-size: 15px;
  line-height: 1.9;
}

.safety-callout {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 210, 0, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(255, 210, 0, 0.1);
  color: rgba(252, 243, 233, 0.9);
  font-size: 13px;
  line-height: 1.8;
}

.safety-callout strong {
  color: var(--yellow);
}

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

.safety-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(252, 243, 233, 0.16);
  border-radius: 14px;
  background: rgba(252, 243, 233, 0.055);
}

.safety-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 210, 0, 0.16);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.safety-list h3 {
  margin: 0 0 5px;
  color: var(--cream);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.safety-list p {
  margin: 0;
  color: rgba(252, 243, 233, 0.7);
  font-size: 13px;
  line-height: 1.75;
}

/* ---------- 14. FAQ 折叠 ---------- */
.faq-list {
  display: grid;
  gap: 11px;
  max-width: 920px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line-warm);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq-item[open] {
  border-color: rgba(102, 51, 0, 0.28);
  box-shadow: 0 8px 22px rgba(102, 51, 0, 0.06);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  color: #2c1b0d;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--brown);
}

.faq-plus {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: rgba(102, 51, 0, 0.08);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--brown);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-plus {
  background: var(--brown);
}

.faq-item[open] .faq-plus::before,
.faq-item[open] .faq-plus::after {
  background: var(--cream);
}

.faq-item[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.faq-answer p {
  margin: 0 0 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(102, 51, 0, 0.09);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 10px 0;
  padding-left: 1.25em;
}

.faq-answer li {
  margin: 6px 0;
}

.faq-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 22px;
}

/* ---------- 15. 编辑手记 / 相关阅读 ---------- */
.note-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 4vw, 46px);
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.note-panel h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.note-panel .note-intro {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.note-body p {
  margin: 0 0 14px;
  color: #3c2b1d;
  font-size: 14.5px;
  line-height: 1.9;
}

.note-body ul {
  margin: 0 0 18px;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.note-body li {
  margin: 6px 0;
}

.note-body .note-link {
  margin: 14px 0 0;
}

.update-stamp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(94, 180, 115, 0.1);
  color: var(--green-deep);
  font-size: 11.5px;
  font-weight: 700;
}

.update-stamp::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

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

.related-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.74);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.related-card:hover {
  border-color: rgba(102, 51, 0, 0.28);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.related-kicker {
  margin: 0 0 16px;
  color: var(--brown-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.related-card h3 {
  margin: 0 0 9px;
  color: var(--brown);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}

.related-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.related-more {
  margin-top: 18px;
  color: var(--brown);
  font-size: 13px;
  font-weight: 800;
}

.related-more::after {
  content: " →";
  font-weight: 400;
}

/* ---------- 16. 内页通用 ---------- */
.page-hero {
  padding: clamp(26px, 4vw, 42px) 0 clamp(30px, 4vw, 46px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.breadcrumb a {
  color: var(--brown);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .sep {
  color: rgba(102, 51, 0, 0.35);
}

.page-hero h1 {
  max-width: 22em;
  text-wrap: balance;
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.page-lead {
  max-width: 72ch;
  margin: 0 0 20px;
  color: #3c2b1d;
  font-size: 16.5px;
  line-height: 1.9;
}

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

.page-meta li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-pill);
  background: rgba(255, 250, 244, 0.7);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
  padding-bottom: clamp(56px, 8vw, 90px);
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 20px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.76);
}

.toc-title {
  margin: 0 0 12px;
  color: var(--brown);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.toc nav {
  display: flex;
  flex-direction: column;
}

.toc a {
  display: block;
  padding: 8px 0;
  border-top: 1px solid rgba(102, 51, 0, 0.09);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  text-decoration: none;
}

.toc a:hover {
  color: var(--brown);
  padding-left: 3px;
}

.toc-card {
  margin-top: 20px;
  padding: 17px;
  border-radius: var(--radius-sm);
  background: rgba(255, 210, 0, 0.17);
}

.toc-card p {
  margin: 0 0 6px;
  color: #4a3511;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.toc-card strong {
  display: block;
  color: var(--brown);
  font-size: 14px;
  line-height: 1.6;
}

.toc-card small {
  display: block;
  margin-top: 6px;
  color: #5e4b27;
  font-size: 11px;
  line-height: 1.65;
}

.article {
  min-width: 0;
  max-width: 800px;
  color: #1c1209;
  font-size: 16px;
  line-height: 1.95;
}

.article > p {
  margin: 0 0 18px;
}

.article h2 {
  scroll-margin-top: calc(var(--header-h) + 24px);
  margin: 54px 0 17px;
  padding-top: 18px;
  border-top: 1px solid var(--line-warm);
  color: var(--brown);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.article h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article h3 {
  margin: 30px 0 10px;
  color: #2c1b0d;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.article p {
  margin: 0 0 18px;
}

.article ul,
.article ol {
  margin: 0 0 20px;
  padding-left: 1.35em;
}

.article li {
  margin: 8px 0;
}

.article li::marker {
  color: var(--brown-soft);
}

.article strong {
  color: #2a190b;
}

.article a {
  color: var(--brown);
  text-decoration: underline;
  text-decoration-color: rgba(102, 51, 0, 0.38);
}

.article a:hover {
  color: var(--brown-hover);
  text-decoration-color: var(--brown-hover);
}

.article blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 210, 0, 0.12);
  color: #3c2b1d;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.75;
}

.article blockquote p:last-child {
  margin-bottom: 0;
}

.callout {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid rgba(94, 180, 115, 0.28);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(94, 180, 115, 0.09);
  color: #2e3c2c;
  font-size: 14px;
  line-height: 1.85;
}

.callout--warn {
  border-color: rgba(255, 210, 0, 0.5);
  border-left-color: var(--yellow);
  background: rgba(255, 210, 0, 0.12);
  color: #43300f;
}

.callout--neutral {
  border-color: rgba(102, 51, 0, 0.16);
  border-left-color: var(--brown);
  background: rgba(255, 250, 244, 0.8);
  color: #3c2b1d;
}

.callout strong {
  color: inherit;
}

.callout p {
  margin: 0 0 8px;
}

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

.table-wrap {
  margin: 22px 0 26px;
  overflow-x: auto;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-sm);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.75;
}

.data-table caption {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-warm);
  color: var(--brown);
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(102, 51, 0, 0.09);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: rgba(102, 51, 0, 0.055);
  color: var(--brown);
  font-weight: 800;
  white-space: nowrap;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.checklist {
  margin: 22px 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.checklist li {
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 46px;
  border-top: 1px solid rgba(102, 51, 0, 0.09);
  color: #3c2b1d;
  font-size: 14px;
  line-height: 1.8;
}

.checklist li:first-child {
  border-top: 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 17px;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--green);
  border-radius: 4px;
  background: rgba(94, 180, 115, 0.1);
}

.checklist li::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 21px;
  width: 6px;
  height: 4px;
  border-left: 2px solid var(--green-deep);
  border-bottom: 2px solid var(--green-deep);
  transform: rotate(-45deg);
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin: 34px 0 0;
  padding: 24px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-md);
  background: rgba(255, 210, 0, 0.13);
}

.article-cta h2 {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  font-size: 19px;
}

.article-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.article-cta .btn {
  flex: none;
}

.article-updated {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line-warm);
  color: var(--muted);
  font-size: 12px;
}

/* ---------- 17. FAQ 页面 ---------- */
.faq-page {
  max-width: 960px;
  padding-bottom: clamp(56px, 8vw, 90px);
}

.faq-group {
  margin-bottom: 34px;
}

.faq-group > h2 {
  margin: 0 0 14px;
  color: var(--brown);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.45;
}

.faq-group > h2 .faq-count {
  display: inline-block;
  margin-left: 9px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(102, 51, 0, 0.08);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: middle;
}

.faq-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.faq-help p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.faq-help strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brown);
  font-size: 17px;
}

/* ---------- 18. 关于页 ---------- */
.about-layout {
  max-width: 900px;
  padding-bottom: clamp(56px, 8vw, 90px);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 30px;
}

.about-card {
  padding: 22px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.about-card h3 {
  margin: 0 0 8px;
  color: var(--brown);
  font-size: 16px;
  font-weight: 800;
}

.about-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.about-list {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.about-list li {
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 42px;
  border-top: 1px solid rgba(102, 51, 0, 0.09);
  color: #3c2b1d;
  font-size: 14px;
  line-height: 1.8;
}

.about-list li:first-child {
  border-top: 0;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  top: 14px;
  left: 18px;
  color: var(--green-deep);
  font-weight: 800;
}

.update-table td:first-child {
  white-space: nowrap;
  color: var(--brown);
  font-weight: 700;
}

/* ---------- 19. 跳转确认页 ---------- */
.jump-main {
  min-height: 62vh;
  padding: clamp(30px, 5vw, 54px) 0 clamp(54px, 8vw, 88px);
}

.jump-shell {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(26px, 5vw, 50px);
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(102, 51, 0, 0.1);
}

.jump-shell::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255, 210, 0, 0.18);
  pointer-events: none;
}

.jump-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(94, 180, 115, 0.12);
  color: var(--green-deep);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.jump-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.jump-title {
  position: relative;
  text-wrap: balance;
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.jump-lead {
  position: relative;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.jump-target {
  position: relative;
  margin: 0 0 24px;
  padding: 22px;
  border: 1px dashed rgba(102, 51, 0, 0.35);
  border-radius: var(--radius-md);
  background: rgba(252, 243, 233, 0.92);
}

.target-label {
  margin: 0 0 7px;
  color: var(--brown-soft);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.target-domain {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  color: var(--brown);
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 3.4vw, 1.8rem);
  font-weight: 700;
  line-height: 1.45;
}

.target-url {
  margin: 0;
  overflow-wrap: anywhere;
  color: #5c4634;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
}

.jump-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 26px;
}

.jump-actions .btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.jump-note {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 210, 0, 0.12);
  color: #43300f;
  font-size: 12.5px;
  line-height: 1.8;
}

.jump-tips {
  padding-top: 22px;
  border-top: 1px solid var(--line-warm);
}

.jump-tips h2 {
  margin: 0 0 10px;
  color: var(--brown);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.jump-tips ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.jump-tips li {
  margin: 6px 0;
}

.jump-back {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.jump-error {
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid rgba(128, 64, 0, 0.22);
  border-left: 4px solid var(--brown);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(102, 51, 0, 0.06);
  color: #3c2b1d;
  font-size: 14px;
  line-height: 1.8;
}

.jump-note--noscript {
  margin-top: 20px;
}

.jump-status {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 20. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--brown);
  color: var(--cream);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 210, 0, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: 8%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 210, 0, 0.06);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 38px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(252, 243, 233, 0.18);
}

.footer-brand .brand {
  margin: 0 0 18px;
}

.footer-brand .brand-mark {
  background: var(--cream);
  color: var(--brown);
  box-shadow: none;
}

.footer-brand .brand-name {
  color: var(--cream);
}

.footer-brand .brand-sub {
  color: rgba(252, 243, 233, 0.58);
}

.footer-desc {
  max-width: 44ch;
  margin: 0 0 16px;
  color: rgba(252, 243, 233, 0.7);
  font-size: 13px;
  line-height: 1.85;
}

.footer-meta {
  margin: 0;
  color: rgba(252, 243, 233, 0.52);
  font-size: 11.5px;
  line-height: 1.75;
}

.footer-title {
  margin: 4px 0 14px;
  color: var(--yellow);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-col a {
  display: inline-block;
  padding: 5px 0;
  color: rgba(252, 243, 233, 0.78);
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--yellow);
  transform: translateX(2px);
}

.footer-col p {
  margin: 0 0 7px;
  color: rgba(252, 243, 233, 0.66);
  font-size: 12px;
  line-height: 1.75;
}

.footer-col .footer-strong {
  color: var(--cream);
  font-weight: 700;
}

.ad-slot {
  margin: 26px 0 0;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.ad-slot:empty {
  display: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  color: rgba(252, 243, 233, 0.5);
  font-size: 11px;
  line-height: 1.8;
}

.footer-bottom p {
  margin: 0;
  overflow-wrap: anywhere;
}

.footer-bottom a {
  color: rgba(252, 243, 233, 0.7);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--yellow);
}

/* ---------- 21. 返回顶部 / 提示 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(102, 51, 0, 0.15);
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  box-shadow: 0 8px 20px rgba(102, 51, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease),
    transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--brown-hover);
  transform: translateY(-3px);
}

.to-top svg {
  width: 19px;
  height: 19px;
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 140;
  max-width: calc(100vw - 36px);
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background: var(--teal);
  color: var(--cream);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- 22. 动画 ---------- */
@keyframes slow-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@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-behavior: auto !important;
  }
}

/* ---------- 23. 响应式 ---------- */
@media (max-width: 1080px) {
  .site-nav {
    gap: 0;
  }

  .nav-link {
    padding-inline: 9px;
    font-size: 13px;
  }

  .header-inner {
    gap: 16px;
  }

  .brand-name {
    font-size: 19px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
  }

  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .site-nav,
  .header-cta {
    display: none;
  }

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

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

  .hero h1 {
    max-width: 14em;
  }

  .hero-art {
    width: min(540px, 100%);
    min-height: 420px;
    margin: 0 auto;
  }

  .hero-lead {
    max-width: 65ch;
  }

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

  .safety-grid {
    gap: 32px;
  }

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

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .toc {
    position: static;
    order: -1;
  }

  .toc nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .toc-card {
    display: none;
  }

  .article {
    max-width: none;
  }

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

  .footer-grid > :last-child {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 66px;
  }

  .container {
    padding-inline: 18px;
  }

  .header-inner {
    min-height: var(--header-h);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-mark svg {
    width: 23px;
    height: 23px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-sub {
    font-size: 8px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(2.2rem, 9.2vw, 3.4rem);
  }

  .hero-lead {
    font-size: 15.5px;
    line-height: 1.85;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-points {
    gap: 7px 16px;
    margin-top: 20px;
    font-size: 12px;
  }

  .hero-art {
    min-height: 350px;
  }

  .hero-sun {
    width: 230px;
  }

  .hero-ring {
    width: 280px;
  }

  .reading-slip {
    width: min(330px, 92%);
    padding: 26px 24px 23px;
  }

  .slip-kicker {
    margin-bottom: 18px;
  }

  .slip-quote {
    font-size: 25px;
  }

  .slip-note {
    font-size: 12px;
  }

  .art-chip {
    padding: 7px 11px;
    font-size: 10.5px;
  }

  .art-chip--one {
    top: 8px;
    left: -2px;
  }

  .art-chip--two {
    right: -2px;
    bottom: 42px;
  }

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

  .hero-stats li {
    padding: 15px 18px;
    border-top: 1px solid var(--line-warm);
    border-left: 0;
  }

  .hero-stats li:first-child {
    border-top: 0;
  }

  .hero-stats strong {
    font-size: 28px;
  }

  .section {
    padding: 48px 0;
  }

  .section--tight {
    padding: 38px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head--row {
    display: block;
  }

  .section-action {
    margin-top: 14px;
    padding: 0;
  }

  .term-grid,
  .cards-3,
  .related-grid,
  .mirror-grid,
  .route,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .term-card,
  .info-card,
  .mirror-card,
  .route li {
    padding: 21px 19px;
  }

  .route li::after {
    display: none;
  }

  .route li::before {
    margin-bottom: 14px;
  }

  .mirror-grid {
    gap: 14px;
  }

  .mirror-domain {
    font-size: 17px;
  }

  .mirror-notice {
    align-items: flex-start;
    padding: 14px 15px;
    font-size: 12.5px;
  }

  .faq-item summary {
    padding: 16px 17px;
    font-size: 14.5px;
  }

  .faq-answer {
    padding: 0 17px 18px;
    font-size: 13.5px;
  }

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

  .page-hero {
    padding-top: 22px;
  }

  .breadcrumb {
    margin-bottom: 18px;
  }

  .page-hero h1 {
    font-size: clamp(1.95rem, 8vw, 2.65rem);
  }

  .page-lead {
    font-size: 15px;
  }

  .article {
    font-size: 15.5px;
    line-height: 1.9;
  }

  .article h2 {
    margin-top: 42px;
    font-size: 21px;
  }

  .article h3 {
    font-size: 17px;
  }

  .toc {
    padding: 16px;
  }

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

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

  .article-cta .btn {
    width: 100%;
  }

  .faq-group > h2 {
    font-size: 21px;
  }

  .faq-help {
    display: block;
    padding: 20px;
  }

  .faq-help .btn {
    margin-top: 14px;
    width: 100%;
  }

  .jump-shell {
    padding: 25px 19px;
    border-radius: var(--radius-md);
  }

  .jump-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .jump-actions .btn {
    width: 100%;
  }

  .footer-inner {
    padding-top: 42px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 28px;
  }

  .footer-bottom {
    display: block;
    padding-top: 18px;
  }

  .footer-bottom p + p {
    margin-top: 7px;
  }

  .to-top {
    right: 15px;
    bottom: 15px;
    width: 43px;
    height: 43px;
  }

  .copy-toast {
    bottom: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 16px;
  }

  .brand-sub {
    display: none;
  }

  .hero-art {
    min-height: 320px;
  }

  .hero-sun {
    width: 200px;
  }

  .hero-ring {
    width: 240px;
  }

  .reading-slip {
    padding: 22px 20px 20px;
  }

  .slip-quote {
    font-size: 22px;
  }

  .slip-note {
    line-height: 1.7;
  }

  .art-chip--one {
    top: 6px;
  }

  .art-chip--two {
    bottom: 28px;
  }

  .art-books {
    bottom: -10px;
  }

  .section-head h2 {
    font-size: 27px;
  }

  .mirror-top {
    margin-bottom: 11px;
  }

  .mirror-index {
    width: 34px;
    height: 34px;
  }

  .mirror-url {
    font-size: 10.5px;
  }

  .hero-stats span {
    font-size: 12px;
  }

  .quote-panel blockquote {
    font-size: 22px;
  }

  .update-stamp {
    font-size: 10.5px;
  }

  .page-meta li {
    font-size: 10.5px;
  }
}
