/* ============================================================
   《高阶恋商》落地页 — 设计系统
   文艺 · 温暖 · 克制 · 书卷气
   ============================================================ */

/* ---------- 设计 token ---------- */
:root {
  /* 配色 */
  --paper:  #FCFBF8;   /* 米白底 */
  --paper-2:#F6F2EA;   /* 略深的纸色块 */
  --ink:    #2B2925;   /* 墨色（正文/标题） */
  --brown:  #9C7A54;   /* 主色 暖棕 */
  --brown-d:#85663F;   /* 暖棕加深（链接/强调） */
  --soft:   #8C8578;   /* 次要灰文字 */
  --hair:   #E3DCD0;   /* 细分隔线 */
  --sage:   #9DB39B;   /* 雾绿点缀 */
  --gold:   #CBB47C;   /* 旧金点缀 */
  --blush:  #C5A294;   /* 藕粉点缀 */

  /* 字体 */
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", serif;
  --sans:  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, system-ui, sans-serif;
  --kai:   "Kaiti SC", "STKaiti", "KaiTi", var(--serif);

  /* 节奏 */
  --maxw: 1080px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(54px, 8.5vw, 104px);

  --shadow-soft: 0 24px 60px -28px rgba(43,41,37,.32), 0 8px 24px -16px rgba(43,41,37,.18);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--ink); line-height: 1.25; margin: 0; }

/* ---------- 排版工具类 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .42em;
  text-indent: .42em;
  color: var(--brown);
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}
.kai { font-family: var(--kai); }
.rule { width: 44px; height: 0; border: none; border-top: 1.5px solid var(--brown); margin: 22px 0; }
.rule.center { margin-inline: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .04em;
  padding: 14px 30px; border-radius: 999px;
  border: 1.5px solid var(--brown);
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.btn-primary { background: var(--brown); color: var(--paper); }
.btn-primary:hover { background: var(--brown-d); transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(156,122,84,.7); }
.btn-ghost { background: transparent; color: var(--brown-d); }
.btn-ghost:hover { background: rgba(156,122,84,.08); transform: translateY(-2px); }

/* *** pixel hero styles start (will be replaced below) *** */
.pixel-hero-PLACEHOLDER {
  --px-ink: #15182a;
  --px-line: #29263a;
  --px-night: #24284a;
  --px-violet: #5b3f8f;
  --px-blue: #39a7f2;
  --px-sky: #73d2ff;
  --px-orange: #ff9f2e;
  --px-gold: #ffd35a;
  --px-pink: #ff5f95;
  --px-green: #25c85b;
  --px-mint: #66d7b9;
  --px-cream: #fff1c8;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding-block: clamp(28px, 5vh, 56px) clamp(92px, 11vh, 118px);
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(255, 159, 46, .2), transparent 34%),
    radial-gradient(circle at 16% 16%, rgba(255, 95, 149, .22), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(57, 167, 242, .24), transparent 28%),
    linear-gradient(135deg, #111422 0%, #25204a 48%, #111827 100%);
}
.pixel-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 18px 18px;
}
.pixel-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0 72%, rgba(0,0,0,.34));
}
.pixel-wrap { position: relative; z-index: 1; }
.pixel-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}
@media (min-width: 940px) {
  .pixel-hero-grid { grid-template-columns: minmax(320px, .86fr) minmax(390px, 1fr); }
}
.pixel-copy { max-width: 560px; }
.pixel-copy .eyebrow { color: var(--px-gold); text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.pixel-copy .hero-title {
  color: #fff8dd;
  text-shadow: 0 4px 0 #442046, 0 12px 28px rgba(0,0,0,.34);
}
.pixel-tagline {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(28px, 6vw, 50px);
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 3px 0 rgba(21,24,42,.7);
}
.pixel-sub {
  max-width: 32em;
  margin: 18px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.9;
}
.pixel-btn {
  border-radius: 6px;
  box-shadow: 4px 4px 0 rgba(0,0,0,.32);
}
.pixel-hero .btn-primary {
  border-color: #3d1b37;
  background: linear-gradient(180deg, var(--px-pink), #d83d76);
  color: #fff;
}
.pixel-hero .btn-ghost {
  border-color: rgba(255,241,200,.72);
  color: #fff1c8;
  background: rgba(255,255,255,.08);
}
.book-peek {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 300px);
  margin-top: 26px;
  padding: 10px 12px;
  border: 2px solid rgba(255,241,200,.32);
  border-radius: 8px;
  background: rgba(21,24,42,.62);
  color: #fff1c8;
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(0,0,0,.28);
  text-align: left;
}
.book-peek img {
  width: 46px;
  height: 64px;
  object-fit: cover;
  border-radius: 3px;
  image-rendering: auto;
}
.book-peek strong,
.book-peek em { display: block; font-style: normal; }
.book-peek strong { font-size: 14px; letter-spacing: .08em; }
.book-peek em { margin-top: 2px; color: rgba(255,241,200,.68); font-size: 12px; }

.phone-stage {
  position: relative;
  width: min(100%, 420px);
  justify-self: center;
  border: 4px solid #0e1020;
  border-radius: 24px;
  background: #101322;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.1) inset,
    10px 12px 0 rgba(0,0,0,.32),
    0 32px 70px rgba(0,0,0,.38);
  overflow: hidden;
}
.phone-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.06) 50%, rgba(0,0,0,.04) 50%);
  background-size: 100% 4px;
  mix-blend-mode: soft-light;
  opacity: .45;
}
.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px 10px;
  border-bottom: 2px solid #0e1020;
  background: #1b1d31;
  color: rgba(255,255,255,.74);
  font-size: 11px;
  letter-spacing: .08em;
}
.phone-top strong { color: #fff1c8; font-size: 12px; letter-spacing: .12em; }
.pixel-hud {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #272442, #191a2b);
  border-bottom: 3px solid #0e1020;
}
.hud-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #fff8dd;
  font-size: 12px;
  line-height: 1;
}
.hud-track {
  height: 16px;
  padding: 3px;
  border: 2px solid #0e1020;
  background: #3b2f47;
  box-shadow: 2px 2px 0 rgba(0,0,0,.24) inset;
}
.hud-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff5f95, #ff9f2e);
  transition: width .35s ease;
}
.hud-track.safe i { background: linear-gradient(90deg, #39a7f2, #73d2ff); }
.hud-track.boundary i { background: linear-gradient(90deg, #25c85b, #66d7b9); }

.campus-scene {
  position: relative;
  height: clamp(336px, 58svh, 470px);
  overflow: hidden;
  image-rendering: pixelated;
  background: #59607c;
}
.pixel-sky {
  position: absolute;
  inset: 0 0 auto;
  height: 82px;
  background:
    radial-gradient(circle at 78% 36%, #ffe27a 0 14px, #ff9f2e 15px 22px, transparent 23px),
    linear-gradient(180deg, #ff9f7a, #73d2ff);
}
.scene-wall {
  position: absolute;
  left: 0;
  right: 0;
  top: 60px;
  height: 150px;
  border-top: 4px solid #313448;
  border-bottom: 4px solid #313448;
  background:
    linear-gradient(90deg, rgba(0,0,0,.16) 2px, transparent 2px) 0 0 / 54px 30px,
    linear-gradient(rgba(0,0,0,.18) 2px, transparent 2px) 0 0 / 100% 30px,
    #8790a5;
}
.window {
  position: absolute;
  top: 20px;
  width: 70px;
  height: 62px;
  border: 4px solid #25263a;
  background: linear-gradient(180deg, #80d8ff, #fff1c8);
  box-shadow: 4px 4px 0 rgba(0,0,0,.2);
}
.window::before,
.window::after {
  content: "";
  position: absolute;
  background: rgba(37,38,58,.65);
}
.window::before { left: 50%; top: 0; bottom: 0; width: 3px; }
.window::after { left: 0; right: 0; top: 50%; height: 3px; }
.window.w1 { left: 22px; }
.window.w2 { right: 26px; }
.notice-board {
  position: absolute;
  left: 118px;
  top: 16px;
  width: 116px;
  height: 82px;
  padding: 9px;
  border: 4px solid #5b311c;
  background: #ffcf5a;
  color: #29263a;
  box-shadow: 4px 4px 0 rgba(0,0,0,.18);
}
.notice-board b,
.notice-board i {
  display: block;
  font-style: normal;
  line-height: 1;
}
.notice-board b { margin-bottom: 7px; font-size: 13px; }
.notice-board i { margin-top: 5px; padding: 3px 5px; background: rgba(255,255,255,.55); font-size: 10px; }
.clock {
  position: absolute;
  right: 112px;
  top: 22px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 4px solid #29263a;
  border-radius: 50%;
  background: #fff1c8;
  color: #29263a;
  font-size: 9px;
  font-weight: 700;
}
.lockers {
  position: absolute;
  left: 0;
  right: 0;
  top: 198px;
  height: 68px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 4px solid #313448;
  border-bottom: 4px solid #313448;
}
.lockers span {
  position: relative;
  background: #4c73d9;
  border-right: 3px solid #263b86;
}
.lockers span:nth-child(2n) { background: #38a0e6; }
.lockers span::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 10px;
  width: 9px;
  height: 4px;
  background: #fff1c8;
}
.floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100% - 250px);
  min-height: 164px;
  background:
    linear-gradient(90deg, rgba(21,24,42,.24) 2px, transparent 2px) 0 0 / 62px 32px,
    linear-gradient(rgba(21,24,42,.3) 2px, transparent 2px) 0 0 / 100% 32px,
    #5f5568;
}
.floor span {
  position: absolute;
  width: 44px;
  height: 10px;
  background: rgba(255,255,255,.08);
}
.floor span:nth-child(1) { left: 22px; top: 28px; }
.floor span:nth-child(2) { left: 116px; top: 62px; }
.floor span:nth-child(3) { right: 50px; top: 28px; }
.floor span:nth-child(4) { right: 126px; top: 92px; }
.floor span:nth-child(5) { left: 44px; bottom: 34px; }
.floor span:nth-child(6) { right: 20px; bottom: 38px; }
.floor span:nth-child(7) { left: 188px; top: 26px; }
.floor span:nth-child(8) { right: 178px; bottom: 18px; }
.floor span:nth-child(9) { left: 18px; top: 112px; }
.floor span:nth-child(10) { left: 260px; top: 126px; }
.bag,
.drink {
  position: absolute;
  bottom: 76px;
  border: 3px solid #15182a;
  box-shadow: 3px 3px 0 rgba(0,0,0,.18);
}
.bag {
  left: 34px;
  width: 42px;
  height: 34px;
  background: #ff9f2e;
}
.bag::before {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: -12px;
  height: 14px;
  border: 3px solid #15182a;
  border-bottom: 0;
}
.drink {
  right: 36px;
  bottom: 90px;
  width: 18px;
  height: 30px;
  background: #66d7b9;
}
.drink::before {
  content: "";
  position: absolute;
  left: 4px;
  top: -16px;
  width: 4px;
  height: 18px;
  background: #fff1c8;
  transform: rotate(16deg);
}

.pixel-person {
  position: absolute;
  width: 32px;
  height: 58px;
  filter: drop-shadow(4px 6px 0 rgba(0,0,0,.22));
}
.pixel-person i { position: absolute; display: block; }
.pixel-person .head {
  left: 8px;
  top: 11px;
  width: 18px;
  height: 18px;
  border: 3px solid #15182a;
  background: #f1b989;
}
.pixel-person .hair {
  left: 5px;
  top: 5px;
  width: 24px;
  height: 14px;
  border: 3px solid #15182a;
  background: #1a1720;
  z-index: 2;
}
.pixel-person .body {
  left: 6px;
  top: 30px;
  width: 22px;
  height: 22px;
  border: 3px solid #15182a;
  background: #3f78ff;
}
.pixel-person .legs {
  left: 9px;
  top: 50px;
  width: 16px;
  height: 10px;
  border-left: 5px solid #15182a;
  border-right: 5px solid #15182a;
}
.hero-boy {
  left: 23%;
  bottom: 18px;
  transform: scale(1.18);
  animation: pixelIdle 1.4s steps(2) infinite;
}
.hero-boy .body { background: #2f3548; }
.hero-boy .phone {
  right: -3px;
  top: 29px;
  width: 9px;
  height: 14px;
  border: 2px solid #15182a;
  background: #73d2ff;
}
.hero-girl {
  right: 22%;
  bottom: 44px;
  transform: scale(1.16);
  animation: pixelIdle 1.8s steps(2) infinite;
}
.hero-girl .hair {
  width: 28px;
  height: 20px;
  border-radius: 0;
  background: #4d2a32;
}
.hero-girl .body { background: #ff5f95; }
.hero-girl.react-good { animation: pixelHappy .5s steps(2) 2; }
.hero-girl.react-bad { animation: pixelBack .45s steps(2) 2; }
.teacher {
  left: 6%;
  bottom: 142px;
  transform: scale(.86);
  opacity: .86;
}
.teacher .hair { background: #f0f0e8; }
.teacher .body { background: #5b3f8f; }
.classmate {
  bottom: 112px;
  transform: scale(.78);
  opacity: .82;
}
.classmate-a {
  left: -42px;
  animation: walkAcross 8s linear infinite;
}
.classmate-a .body { background: #25c85b; }
.classmate-b {
  right: -36px;
  animation: walkAcrossReverse 10s linear infinite;
}
.classmate-b .body { background: #ffd35a; }
.phone-bubble {
  position: absolute;
  left: 28%;
  bottom: 100px;
  max-width: 150px;
  padding: 8px 10px;
  border: 3px solid #15182a;
  background: #fff1c8;
  color: #15182a;
  font-size: 12px;
  line-height: 1.35;
  box-shadow: 4px 4px 0 rgba(0,0,0,.24);
}
.phone-bubble::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -11px;
  width: 12px;
  height: 12px;
  background: #fff1c8;
  border-right: 3px solid #15182a;
  border-bottom: 3px solid #15182a;
}
.dialogue-panel {
  padding: 14px;
  border-top: 3px solid #0e1020;
  background: #15182a;
}
.dialogue-speaker {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #ffd35a;
  font-size: 12px;
  letter-spacing: .08em;
}
.dialogue-speaker em { color: rgba(255,255,255,.48); font-style: normal; }
.dialogue-panel p {
  min-height: 4.8em;
  margin: 0;
  padding: 13px 14px;
  border: 3px solid #0e1020;
  background: #fff8dd;
  color: #15182a;
  font-size: 14px;
  line-height: 1.62;
}
.choice-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.choice-list button {
  width: 100%;
  padding: 11px 12px;
  border: 3px solid #0e1020;
  border-radius: 0;
  background: #2b315c;
  color: #fff;
  box-shadow: 3px 3px 0 rgba(0,0,0,.28);
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease;
}
.choice-list button:hover,
.choice-list button.active {
  transform: translate(-1px, -1px);
  background: #ff5f95;
}
.coach-strip {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 14px 16px;
  border-top: 3px solid #0e1020;
  background: linear-gradient(180deg, #272442, #1b1d31);
}
.coach-strip span {
  align-self: start;
  padding: 5px 6px;
  background: #ffd35a;
  color: #15182a;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}
.coach-strip p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  line-height: 1.55;
}
.pixel-scroll { color: rgba(255,255,255,.62); }
.pixel-scroll .line { background: linear-gradient(#ffd35a, transparent); }

@keyframes pixelIdle {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -2px; }
}
@keyframes pixelHappy {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}
@keyframes pixelBack {
  0%, 100% { translate: 0 0; }
  50% { translate: 5px 0; }
}
@keyframes walkAcross {
  from { transform: translateX(0) scale(.78); }
  to { transform: translateX(520px) scale(.78); }
}
@keyframes walkAcrossReverse {
  from { transform: translateX(0) scale(.78); }
  to { transform: translateX(-520px) scale(.78); }
}
@media (max-width: 939px) {
  .pixel-copy { text-align: left; }
  .pixel-copy .hero-title { font-size: clamp(56px, 16vw, 74px); }
  .phone-stage { order: -1; margin-top: 4px; }
  .pixel-hero-grid { gap: 28px; }
}
@media (max-width: 420px) {
  .pixel-hero { padding-top: 22px; }
  .phone-stage { width: calc(100vw - 30px); border-width: 3px; border-radius: 18px; }
  .campus-scene { height: 350px; }
  .notice-board { left: 104px; width: 104px; }
  .clock { display: none; }
  .hero-boy { left: 21%; }
  .hero-girl { right: 18%; }
  .dialogue-panel p { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-boy,
  .hero-girl,
  .classmate-a,
  .classmate-b { animation: none; }
}

/* ============================================================
   HERO 首屏 — 有留白·比原版大25%
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: clamp(88px, 12vh, 144px) clamp(52px, 8vh, 92px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 78% 22%, rgba(203,180,124,.15), transparent 70%),
    radial-gradient(55% 55% at 12% 88%, rgba(157,179,155,.11), transparent 70%);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 6vw, 64px);
  align-items: center;
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: .95fr 1.05fr; }
  .hero-cover { order: -1; }
  .hero-copy  { order:  1; }
}

.hero-copy .eyebrow { margin-bottom: 26px; }

/* 标题：原版基础放大约25% */
.hero-title {
  font-size: clamp(65px, 8.5vw, 96px);
  letter-spacing: .07em;
  line-height: 1.12;
  margin: 0 0 4px;
}
.hero-tagline {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 4vw, 36px);
  line-height: 1.65; color: var(--ink); margin: 28px 0 0;
}
.hero-tagline .em { color: var(--brown-d); font-weight: 700; }
.hero-sub {
  margin: 22px 0 0; color: var(--soft);
  font-size: clamp(15px, 1.5vw, 17px); line-height: 1.85; max-width: 30em;
}
.hero-author { margin-top: 14px; color: var(--soft); font-size: 14px; letter-spacing: .28em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* 封面：比原版大25%（360→450px） */
.hero-cover { position: relative; justify-self: center; max-width: 450px; width: 100%; }
.hero-cover img {
  border-radius: 4px 8px 8px 4px;
  box-shadow: var(--shadow-soft), -6px 0 20px -8px rgba(43,41,37,.22);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
}
.hero-cover:hover img { transform: translateY(-5px) scale(1.012); }
.hero-cover::after {
  content: ""; position: absolute; left: 0; top: 2%; bottom: 2%; width: 8px;
  background: linear-gradient(90deg, rgba(43,41,37,.16), transparent);
  border-radius: 4px 0 0 4px;
}
.cover-hint {
  text-align: center; margin-top: 16px;
  font-size: 12.5px; letter-spacing: .24em; color: var(--brown); opacity: .7;
  transition: opacity .25s;
}
.hero-cover:hover .cover-hint { opacity: 1; }

/* 向下滚动提示 */
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 1; color: var(--soft); font-size: 11px; letter-spacing: .3em;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: floaty 2.4s ease-in-out infinite;
}
.scroll-hint .line { width: 1px; height: 34px; background: linear-gradient(var(--brown), transparent); }
@keyframes floaty { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,6px);} }
/* 手机端加大底部留白，避免 scroll-hint 与 cover-hint 重叠 */
@media (max-width: 879px) {
  .hero { padding-bottom: clamp(100px, 14vh, 130px); }
}

/* ============================================================
   通用区块
   ============================================================ */
.section { padding-block: var(--section-y); position: relative; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 40rem; margin: 0 auto clamp(32px, 4.5vw, 48px); text-align: center; }
.section-head.left { text-align: left; margin-inline: 0; }
.section-title {
  font-size: clamp(28px, 5.4vw, 42px);
  letter-spacing: .04em;
  margin: 18px 0 0;
}
.section-head .eyebrow { display: inline-block; }
.section-intro { color: var(--soft); font-size: 16px; line-height: 1.9; margin: 18px 0 0; }

.prose p { margin: 0 0 1.25em; }
.prose p:last-child { margin-bottom: 0; }
.pullquote {
  font-family: var(--kai);
  font-size: clamp(20px, 3.8vw, 27px);
  line-height: 1.7;
  color: var(--brown-d);
  text-align: center;
  margin: clamp(36px, 6vw, 56px) auto;
  max-width: 24em;
  position: relative;
}
.pullquote::before, .pullquote::after { content: ""; display: block; width: 36px; height: 1.5px; background: var(--brown); margin: 18px auto; opacity: .6; }

/* ============================================================
   2 · 为什么写这本书（双栏：插画 + 短文）
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (min-width: 820px) { .why-grid { grid-template-columns: .9fr 1.1fr; } }
.why-art { justify-self: center; width: 100%; max-width: 380px; }
.why-copy .eyebrow { margin-bottom: 14px; }
.why-copy h2 { font-size: clamp(26px, 4.6vw, 36px); line-height: 1.35; margin-bottom: 22px; }
.why-copy .prose { font-size: 16.5px; color: #3a3631; }
.why-copy .pullquote { text-align: left; margin: 26px 0; max-width: none; }
.why-copy .pullquote::before { margin: 0 0 16px 0; }
.why-copy .pullquote::after { display: none; }

/* 简笔线条插画通用 */
.line-art { width: 100%; height: auto; display: block; }
.line-art .stroke { fill: none; stroke: var(--brown); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.line-art .thin { stroke-width: 2; opacity: .55; }
.line-art .sage  { stroke: var(--sage); }
.line-art .blush-fill { fill: var(--blush); stroke: none; }
.line-art .ink-dot { fill: var(--ink); stroke: none; }
.line-art .blush  { stroke: var(--blush); }
/* 轻微浮动 */
@keyframes artFloat { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-6px);} }
.art-float { animation: artFloat 5s ease-in-out infinite; transform-origin: center; }
@media (prefers-reduced-motion: reduce) { .art-float { animation: none; } }

/* 段落间的细线点缀（填白用） */
.spot-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: clamp(40px,7vw,72px) auto; color: var(--brown); opacity: .6; }
.spot-divider .dash { width: 60px; height: 1.5px; background: currentColor; }
.spot-divider svg { width: 26px; height: 26px; }

/* ============================================================
   3 · 五层恋商模型（招牌可视化）
   ============================================================ */
.layers-stack {
  display: flex; flex-direction: column-reverse; align-items: center;
  gap: 10px; max-width: 720px; margin: 0 auto;
}
.layer {
  position: relative; width: 100%;
  display: flex; align-items: center; gap: 16px;
  text-align: left; cursor: pointer;
  border: 1.5px solid var(--hair);
  background: var(--paper);
  border-radius: 12px;
  padding: 16px 22px;
  font-family: inherit; color: inherit;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
/* 由下而上逐级收窄（金字塔地基感） */
.layer[data-i="1"] { width: 100%; }
.layer[data-i="2"] { width: 92%; }
.layer[data-i="3"] { width: 84%; }
.layer[data-i="4"] { width: 76%; }
.layer[data-i="5"] { width: 68%; }
@media (max-width: 600px) { .layer { width: 100% !important; } }
.layer:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.layer.active {
  border-color: var(--brown);
  background: linear-gradient(180deg, rgba(156,122,84,.10), rgba(156,122,84,.04));
  box-shadow: var(--shadow-soft);
}
.layer-no {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 17px;
  color: var(--paper); background: var(--brown);
}
.layer.active .layer-no { background: var(--brown-d); }
.layer-name { font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: .04em; }
.layer-short { font-size: 13px; color: var(--soft); margin-top: 2px; }
.layer-aside {
  margin-left: auto; flex: none; font-size: 11px; letter-spacing: .2em;
  color: var(--brown); opacity: .65; writing-mode: vertical-rl;
}
@media (max-width: 600px) { .layer-aside { display: none; } }

.layer-detail {
  max-width: 720px; margin: 22px auto 0;
  border-left: 2px solid var(--brown);
  padding: 6px 0 6px 20px;
  min-height: 84px;
}
.layer-detail .ld-tag { font-size: 12px; letter-spacing: .22em; color: var(--brown); font-weight: 600; }
.layer-detail .ld-title { font-family: var(--serif); font-size: 20px; font-weight: 700; margin: 8px 0; }
.layer-detail .ld-body { color: #3a3631; font-size: 15.5px; line-height: 1.85; }
.layer-detail .ld-chap { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--soft); }
.stack-foot { text-align: center; color: var(--soft); font-size: 13px; letter-spacing: .12em; margin-top: 36px; }

/* ============================================================
   4 · 章节导览
   ============================================================ */
.chapter-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) { .chapter-grid { grid-template-columns: 1fr 1fr; } }
.chapter-card {
  position: relative; background: var(--paper);
  border: 1.5px solid var(--hair); border-radius: 14px;
  padding: 30px 28px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.chapter-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: rgba(156,122,84,.5); }
.chapter-no { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--gold); line-height: 1; }
.chapter-card h3 { font-size: 21px; margin: 10px 0 12px; letter-spacing: .03em; }
.chapter-hook { font-family: var(--kai); color: var(--brown-d); font-size: 16px; line-height: 1.7; }
.chapter-card.special { background: linear-gradient(180deg, rgba(157,179,155,.12), rgba(157,179,155,.04)); border-color: rgba(157,179,155,.5); }
.chapter-card.special .chapter-no { color: var(--sage); }
/* 章节卡可展开 */
.chapter-card { cursor: pointer; }
.chapter-toggle { position: absolute; top: 28px; right: 26px; color: var(--brown); font-size: 20px; line-height: 1; transition: transform .3s ease; opacity: .6; }
.chapter-card.open .chapter-toggle { transform: rotate(45deg); }
.chapter-detail { max-height: 0; overflow: hidden; transition: max-height .4s ease, margin .4s ease, opacity .4s ease; opacity: 0; }
.chapter-card.open .chapter-detail { max-height: 200px; margin-top: 16px; opacity: 1; }
.chapter-detail .ch-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; border-top: 1px solid var(--hair); }
.ch-tag { font-size: 12.5px; color: var(--brown-d); background: rgba(156,122,84,.09); border-radius: 999px; padding: 5px 13px; }
.chapter-card.special .ch-tag { background: rgba(157,179,155,.16); color: #5f7a5d; }

/* ============================================================
   交互 · 算算你的恋爱满意度
   ============================================================ */
.calc-wrap { max-width: 640px; margin: 0 auto; }
.calc-card {
  background: var(--paper); border: 1.5px solid var(--hair); border-radius: 18px;
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-soft);
  display: grid; gap: 26px; grid-template-columns: 1fr;
}
@media (min-width: 620px) { .calc-card { grid-template-columns: 150px 1fr; align-items: center; } }
.calc-face { justify-self: center; width: 130px; height: 130px; }
.calc-controls { display: flex; flex-direction: column; gap: 20px; }
.calc-row label { display: flex; justify-content: space-between; font-size: 14px; color: var(--soft); margin-bottom: 8px; }
.calc-row label b { color: var(--brown-d); font-weight: 700; }
.calc-row input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 999px; background: var(--hair); outline: none; }
.calc-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brown); cursor: pointer; box-shadow: 0 2px 8px rgba(156,122,84,.5); transition: transform .15s ease; }
.calc-row input[type=range]::-webkit-slider-thumb:active { transform: scale(1.15); }
.calc-row input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: none; border-radius: 50%; background: var(--brown); cursor: pointer; }
.calc-formula { text-align: center; font-family: var(--serif); font-size: 15px; color: var(--soft); margin-top: 4px; }
.calc-formula b { color: var(--brown-d); }
.calc-verdict { grid-column: 1 / -1; text-align: center; border-top: 1px solid var(--hair); padding-top: 22px; }
.calc-verdict .cv-title { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--ink); }
.calc-verdict .cv-note { font-size: 14.5px; color: var(--soft); margin-top: 8px; line-height: 1.8; }

/* ============================================================
   交互 · 情感负债自检
   ============================================================ */
.quiz-wrap { max-width: 600px; margin: 0 auto; }
.quiz-list { display: flex; flex-direction: column; gap: 12px; }
.quiz-item {
  display: flex; align-items: flex-start; gap: 14px; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--hair); border-radius: 14px;
  padding: 16px 20px; transition: border-color .25s ease, background .25s ease, transform .2s ease;
  font-size: 15.5px; line-height: 1.6;
}
.quiz-item:hover { transform: translateX(2px); border-color: rgba(156,122,84,.4); }
.quiz-item input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-box {
  flex: none; width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--brown);
  display: grid; place-items: center; margin-top: 1px; transition: background .2s ease;
}
.quiz-box::after { content: "✓"; color: var(--paper); font-size: 14px; opacity: 0; transform: scale(.5); transition: all .2s ease; }
.quiz-item.checked { border-color: var(--brown); background: rgba(156,122,84,.06); }
.quiz-item.checked .quiz-box { background: var(--brown); }
.quiz-item.checked .quiz-box::after { opacity: 1; transform: scale(1); }
.quiz-result {
  margin-top: 26px; text-align: center; border-radius: 14px; padding: 24px;
  background: rgba(156,122,84,.06); border: 1.5px dashed var(--brown);
  transition: all .3s ease;
}
.quiz-result .qr-count { font-family: var(--serif); font-size: 15px; color: var(--brown-d); letter-spacing: .1em; }
.quiz-result .qr-text { font-size: 16px; color: var(--ink); line-height: 1.85; margin-top: 10px; }
.quiz-result.level-2 { border-color: var(--gold); background: rgba(203,180,124,.1); }
.quiz-result.level-3 { border-color: var(--blush); background: rgba(197,162,148,.12); }

/* ============================================================
   5 · 试读（可交互切换）
   ============================================================ */
.read-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.read-tab {
  font-family: var(--sans); font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  padding: 9px 10px; border-radius: 999px;
  border: 1.5px solid var(--hair); background: var(--paper); color: var(--soft);
  cursor: pointer; transition: all .25s ease;
}
.read-tab:hover { border-color: var(--brown); color: var(--brown-d); }
.read-tab.active { background: var(--brown); border-color: var(--brown); color: var(--paper); }
.read-panel {
  max-width: 680px; margin: 0 auto; display: none;
}
.read-panel.active { display: block; animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px);} to { opacity:1; transform:none; } }
.read-panel .pullquote { margin-top: 0; }
.read-panel .read-body {
  font-family: var(--serif); font-size: 17px; line-height: 2.05; color: #34302b;
  position: relative; overflow: hidden; transition: max-height .5s ease;
}
.read-body p { margin: 0 0 1.1em; }
.read-body.clamped { max-height: 9.6em; }
.read-body.clamped::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4.5em;
  background: linear-gradient(transparent, var(--paper));
}
.section-alt .read-body.clamped::after { background: linear-gradient(transparent, var(--paper-2)); }
.read-more {
  display: block; margin: 22px auto 0; background: none; border: none;
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--brown-d);
  letter-spacing: .06em; cursor: pointer; padding: 8px 16px;
}
.read-more:hover { text-decoration: underline; }
.read-from { text-align: center; color: var(--soft); font-size: 13px; margin-top: 18px; letter-spacing: .08em; }

/* ============================================================
   6 · 适合谁 / 你会得到
   ============================================================ */
.two-col { display: grid; gap: clamp(36px, 6vw, 64px); grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; } }
.col-card h3 { font-size: 22px; margin-bottom: 8px; }
.col-card .col-sub { color: var(--soft); font-size: 14px; margin-bottom: 22px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--hair);
  font-size: 16px; line-height: 1.7;
}
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 19px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--brown);
}
.col-card.sage .check-list li::before { background: var(--sage); }

/* ============================================================
   7 · 作者
   ============================================================ */
.author-grid { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: 1fr; align-items: center; max-width: 880px; margin: 0 auto; }
@media (min-width: 720px) { .author-grid { grid-template-columns: 220px 1fr; } }
.author-photo {
  width: 100%; max-width: 280px; margin-inline: auto;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 32px -8px rgba(43,41,37,.22);
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-bio h3 { font-size: 26px; letter-spacing: .06em; }
.author-bio .role { color: var(--brown); font-size: 14px; letter-spacing: .2em; margin: 8px 0 18px; }
.author-bio p { color: #3a3631; font-size: 16.5px; line-height: 1.95; margin: 0 0 1em; }

/* ============================================================
   8 · CTA
   ============================================================ */
.cta { background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.cta-cards { display: grid; gap: 20px; grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; }
@media (min-width: 720px) { .cta-cards { grid-template-columns: 1fr 1fr; } }
.cta-card {
  background: var(--paper); border: 1.5px solid var(--hair); border-radius: 16px;
  padding: 34px 30px; text-align: center;
}
.cta-card.primary { border-color: var(--brown); box-shadow: var(--shadow-soft); }
.cta-card h3 { font-size: 20px; margin-bottom: 6px; }
.cta-card .cta-desc { color: var(--soft); font-size: 14px; line-height: 1.7; margin-bottom: 22px; }
.qr-wrap { margin: 0 auto 20px; text-align: center; }
.qr-img {
  width: 180px; height: 180px; object-fit: cover;
  border-radius: 12px; display: block; margin: 0 auto;
  box-shadow: 0 4px 16px -4px rgba(43,41,37,.16);
}
.qr-id {
  margin-top: 10px; font-size: 13px; color: var(--soft);
  letter-spacing: .06em; user-select: all;
}
.cta-form { display: flex; flex-direction: column; gap: 12px; max-width: 360px; margin: 0 auto; }
.cta-form input {
  font-family: var(--sans); font-size: 15px; padding: 14px 18px;
  border: 1.5px solid var(--hair); border-radius: 999px; background: var(--paper); color: var(--ink);
  outline: none; transition: border-color .25s ease;
}
.cta-form input:focus { border-color: var(--brown); }
.cta-form .btn { justify-content: center; }
.form-note { font-size: 12px; color: var(--soft); margin-top: 6px; }
.cta-buy { grid-column: 1 / -1; text-align: center; margin-top: 8px; }
.btn-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.cta-buy .tag { display: block; font-size: 12px; color: var(--soft); letter-spacing: .12em; margin-top: 10px; }

/* ============================================================
   9 · 页脚
   ============================================================ */
.foot { background: var(--ink); color: #d8d2c8; padding-block: clamp(48px, 8vw, 72px); text-align: center; }
.foot .foot-title { font-family: var(--serif); font-size: 24px; color: var(--paper); letter-spacing: .12em; }
.foot .foot-tag { font-family: var(--kai); font-size: 15px; color: var(--gold); margin: 14px 0 26px; }
.foot .foot-meta { font-size: 12.5px; line-height: 2; color: #9a948a; letter-spacing: .04em; }
.foot a { color: #c9c2b6; border-bottom: 1px solid rgba(201,194,182,.4); }

/* ============================================================
   书籍翻页阅读器
   ============================================================ */
.bookr-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(43,41,37,.78);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 3vw, 32px);
  opacity: 0;
  /* visibility 才能级联到子元素，阻止子元素拦截底层点击 */
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
  backdrop-filter: blur(3px);
}
.bookr-overlay.open { opacity: 1; visibility: visible; }

.bookr {
  position: relative;
  width: min(540px, 100%);
  height: min(720px, 92vh);
  background: var(--paper);
  border-radius: 2px 8px 8px 2px;
  display: flex; flex-direction: column;
  box-shadow:
    -4px 0 14px rgba(0,0,0,.18),
    0 40px 80px -16px rgba(0,0,0,.65),
    6px 3px 0 rgba(0,0,0,.10),
    11px 6px 0 rgba(0,0,0,.07),
    16px 10px 0 rgba(0,0,0,.04);
  overflow: hidden;
}
/* 书脊 */
.bookr::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px;
  background: linear-gradient(90deg, rgba(43,41,37,.22) 0%, rgba(43,41,37,.08) 60%, transparent 100%);
  z-index: 2; pointer-events: none;
}
.bookr-close {
  position: absolute; top: 12px; right: 14px; z-index: 10;
  background: none; border: none; font-size: 24px; line-height: 1;
  color: var(--soft); cursor: pointer; padding: 6px; border-radius: 50%;
  transition: background .2s, color .2s;
}
.bookr-close:hover { background: rgba(43,41,37,.08); color: var(--ink); }

.bookr-pages { flex: 1; position: relative; overflow: hidden; }

.bookr-page {
  position: absolute; inset: 0;
  padding: clamp(24px, 5vw, 50px) clamp(28px, 6vw, 62px) 16px;
  overflow-y: auto;
  opacity: 0; pointer-events: none;
  transition: opacity .32s ease, transform .32s cubic-bezier(.2,.7,.2,1);
}
.bookr-page.active { opacity: 1; pointer-events: all; transform: translateX(0) !important; }
.bookr-page.from-right { transform: translateX(56px); }
.bookr-page.from-left  { transform: translateX(-56px); }
.bookr-page.to-left    { transform: translateX(-56px); opacity: 0; }
.bookr-page.to-right   { transform: translateX(56px); opacity: 0; }

.bookr-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px 16px; border-top: 1px solid var(--hair); flex-shrink: 0;
}
.bookr-btn {
  background: none; border: 1.5px solid var(--hair); border-radius: 50%;
  width: 38px; height: 38px; cursor: pointer; font-size: 20px; color: var(--brown);
  display: grid; place-items: center;
  transition: border-color .2s, background .2s, transform .15s;
}
.bookr-btn:hover { border-color: var(--brown); background: rgba(156,122,84,.08); transform: scale(1.08); }
.bookr-btn:disabled { opacity: .25; cursor: default; transform: none; }
.bookr-progress {
  font-family: var(--serif); font-size: 13px; color: var(--soft); letter-spacing: .12em;
  display: flex; align-items: center; gap: 8px;
}
.bookr-dots { display: flex; gap: 5px; }
.bookr-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--hair);
  transition: background .25s, transform .25s;
}
.bookr-dot.active { background: var(--brown); transform: scale(1.25); }

/* 页面内容排版 */
.bp-eyebrow { font-size: 11.5px; letter-spacing: .42em; color: var(--brown); font-weight: 600; margin-bottom: 20px; display: block; }
.bp-rule { width: 36px; height: 0; border: none; border-top: 1.5px solid var(--brown); margin: 20px 0; }

/* 封面页 */
.bp-cover { text-align: center; padding-top: clamp(20px, 5vh, 50px); }
.bp-cover .bk-title { font-family: var(--serif); font-size: clamp(36px, 8vw, 56px); letter-spacing: .14em; color: var(--ink); line-height: 1.15; }
.bp-cover .bk-sub { font-family: var(--kai); font-size: 15px; color: var(--soft); line-height: 1.85; margin: 22px 0 0; }
.bp-cover .bk-author { font-size: 13px; letter-spacing: .32em; color: var(--soft); margin-top: 18px; }
.bp-cover .bk-deco { width: 44px; border-top: 1.5px solid var(--brown); margin: 22px auto; }

/* 目录页 */
.bp-toc-list { list-style: none; padding: 0; margin: 0; }
.bp-toc-item { display: flex; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--hair); gap: 8px; }
.bp-toc-item .ti-num { color: var(--brown); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; min-width: 36px; flex: none; }
.bp-toc-item .ti-name { font-family: var(--serif); font-size: 14.5px; flex: 1; }
.bp-toc-item .ti-dots { flex: 1; border-bottom: 1px dotted var(--hair); margin: 0 6px 3px; min-width: 12px; }
.bp-toc-item .ti-pg { color: var(--soft); font-size: 12px; flex: none; }

/* 正文页 */
.bp-chapter-title { font-family: var(--serif); font-size: clamp(20px, 4.2vw, 27px); line-height: 1.35; margin-bottom: 6px; }
.bp-body { font-family: var(--serif); font-size: 15px; line-height: 2.05; color: #3a3631; }
.bp-body p { margin: 0 0 .9em; }
.bp-pull {
  font-family: var(--kai); font-size: 16px; color: var(--brown-d); line-height: 1.8;
  border-left: 2px solid var(--brown); padding: 10px 0 10px 16px; margin: 18px 0;
}
.bp-sections { list-style: none; padding: 0; margin: 18px 0 0; }
.bp-sections li { display: flex; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--hair); font-size: 14px; }
.bp-sections .sn { color: var(--brown); font-size: 12px; font-weight: 700; min-width: 28px; }
.bp-summary { background: rgba(156,122,84,.07); border-left: 2px solid var(--brown); padding: 14px 16px; margin-top: 18px; border-radius: 0 6px 6px 0; }
.bp-summary .sm-h { font-size: 11px; letter-spacing: .32em; color: var(--brown); font-weight: 700; margin-bottom: 10px; }
.bp-summary ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bp-summary li { font-size: 13.5px; line-height: 1.65; color: #3a3631; display: flex; gap: 8px; }
.bp-summary li::before { content: "·"; color: var(--brown); }
.bp-pgnum { text-align: center; font-size: 12px; color: var(--hair); margin-top: 20px; letter-spacing: .1em; }

/* ---------- 截图自检模式 ---------- */
.cap .hero { min-height: auto; }
.cap .reveal { opacity: 1 !important; transform: none !important; }
.cap .scroll-hint { display: none; }

/* ---------- 进场动效 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint { animation: none; }
  html { scroll-behavior: auto; }
}
