/* 界碑与灯塔 · 样式
 * 羊皮纸色，灰绿、灰蓝、柔金、一点玫瑰色。
 * iPhone：不用 SVG mask/filter、不用大块 backdrop-filter。字体只用系统自带。
 */
:root {
  --paper: #f5eedd;
  --paper-2: #ece2ca;
  --card: #fffaf0;
  --ink: #3a3530;
  --ink-2: #625a50;
  --muted: #968c7e;
  --line: #ddd0b5;
  --line-2: #c9b996;
  --gold: #a9853a;
  --gold-l: #efdfb2;
  --rose: #b26f69;
  --rose-l: #f3dcd6;
  --blue: #557a90;
  --blue-l: #d9e6ee;
  --green: #66845a;
  --green-l: #dfe9d3;
  --wine: #8c3d3b;
  --z-in: #6f8f5f;
  --z-fence: #b58b33;
  --z-out: #6c8396;
  --shadow: 0 1px 2px rgba(80, 60, 30, .08), 0 6px 18px rgba(80, 60, 30, .10);
  --shadow-lg: 0 2px 4px rgba(80, 60, 30, .10), 0 16px 40px rgba(80, 60, 30, .18);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --kai: "Kaiti SC", "STKaiti", "KaiTi", "BiauKai", "Noto Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --r: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font: 16px/1.7 var(--sans);
  background: var(--paper);
  background-image: radial-gradient(ellipse at 20% 0%, rgba(255, 250, 235, .9), rgba(255, 250, 235, 0) 60%),
    radial-gradient(ellipse at 100% 100%, rgba(225, 208, 170, .35), rgba(225, 208, 170, 0) 55%);
  background-attachment: fixed;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: .02em; margin: 0; }
p { margin: .4em 0; }
.small { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }
.center { text-align: center; }
.em { color: var(--rose); }
.note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ---------- 按钮 ---------- */
.btn {
  border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 600; letter-spacing: .04em;
  transition: transform .15s, box-shadow .15s, background .15s; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(#5f8296, #4c6d81); color: #fff; box-shadow: 0 2px 0 #3c5768, 0 6px 14px rgba(60, 87, 104, .25); }
.btn.primary:hover { background: linear-gradient(#668aa0, #52758a); }
.btn.ghost { background: var(--card); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--ink); }
.btn.sm { padding: 7px 16px; font-size: 14px; }
.btn.wide { width: 100%; margin-top: 14px; }
.btn[disabled] { opacity: .4; cursor: default; }
.link { background: none; border: 0; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.chip {
  border: 0; border-radius: 999px; padding: 6px 14px; font-size: 14px; background: var(--card);
  box-shadow: inset 0 0 0 1.2px var(--line-2); color: var(--ink-2); margin: 3px 6px 3px 0; text-align: left;
}
.chip.on { background: var(--blue-l); box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; }

/* ---------- 输入 ---------- */
.inp {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; background: #fffdf7; padding: 10px 12px;
  font: 16px/1.6 var(--sans); color: var(--ink); resize: vertical; transition: border-color .15s, box-shadow .15s;
}
.inp:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(85, 122, 144, .15); }
.inp::placeholder { color: #b5aa98; }
.inp.sm { padding: 6px 10px; font-size: 15px; }
.lab { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 14px 0 6px; }
.err { color: var(--wine); font-size: 14px; min-height: 1.2em; flex: 1; text-align: center; }
.err.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.tpl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 6px; }
.tpl-t { font-family: var(--serif); font-weight: 700; color: var(--ink); }
.tpl > .inp { flex: 1 1 220px; }
.form > .inp, .form-card > .inp { margin-bottom: 4px; }

/* ---------- 顶栏 ---------- */
.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  padding: 10px max(16px, env(safe-area-inset-left)); background: rgba(245, 238, 221, .96);
  border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.brand b { font-family: var(--serif); font-size: 19px; letter-spacing: .08em; }
.brand span { font-family: var(--kai); font-size: 14px; color: var(--muted); }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a { text-decoration: none; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; font-size: 15px; }
.topnav a.on { background: var(--paper-2); color: var(--ink); font-weight: 600; }
.me { border: 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 999px; padding: 5px 12px; font-size: 14px; margin-left: 6px; }
@media (max-width: 520px) { .brand span { display: none; } }

.main { padding: 0 16px 60px; }
.page { max-width: 1080px; margin: 0 auto; padding-top: 20px; }
.h-title { font-size: 26px; margin: 6px 0 14px; }

/* ---------- 对话 ---------- */
.say { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; }
.say .face { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--paper-2);
  box-shadow: 0 0 0 2.5px #fff, 0 0 0 4px var(--tone, var(--line-2)), 0 3px 8px rgba(0, 0, 0, .12); }
.say .noface { display: grid; place-items: center; font-family: var(--kai); font-size: 22px; color: var(--ink-2); }
.say .bubble { position: relative; background: var(--card); border-radius: 4px 16px 16px 16px; padding: 8px 14px 10px;
  box-shadow: var(--shadow); max-width: 640px; border: 1px solid rgba(0, 0, 0, .04); }
.say .who { font-size: 12.5px; font-weight: 700; color: var(--tone, var(--ink-2)); letter-spacing: .06em; }
.say .line { font-family: var(--kai); font-size: 18px; line-height: 1.65; color: var(--ink); }
.say.right { flex-direction: row-reverse; }
.say.right .bubble { border-radius: 16px 4px 16px 16px; }
.imagined { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 600; padding: 0 7px; border-radius: 999px;
  background: var(--paper-2); color: var(--muted); letter-spacing: .1em; vertical-align: 1px; }
.tone-rose { --tone: var(--rose); }
.tone-blue { --tone: var(--blue); }
.tone-green { --tone: var(--green); }
.tone-wine { --tone: var(--wine); }
.tone-ink { --tone: var(--gold); }

/* ---------- 登录 ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; position: relative; overflow: hidden; }
.login-scene { position: fixed; inset: 0; background: center/cover no-repeat; }
.login-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(40, 30, 20, .15), rgba(40, 30, 20, .45)); }
.login-card { position: relative; width: min(440px, 100%); background: rgba(255, 250, 240, .97); border-radius: 22px; padding: 28px 26px 22px; box-shadow: var(--shadow-lg); }
.brand-big { display: flex; align-items: baseline; gap: 10px; justify-content: center; }
.brand-big .b1 { font-family: var(--serif); font-size: 32px; font-weight: 700; letter-spacing: .12em; }
.brand-big .b2 { font-family: var(--serif); font-size: 16px; color: var(--gold); letter-spacing: .2em; }
.motto { text-align: center; font-family: var(--kai); color: var(--ink-2); font-size: 17px; letter-spacing: .3em; margin: 2px 0 10px; }
.who-list { margin-top: 16px; border-top: 1px dashed var(--line-2); padding-top: 10px; }

/* ---------- 地图 ---------- */
.map-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; box-shadow: var(--shadow-lg); }
.map { position: relative; aspect-ratio: 16 / 9; background: center/100% 100% no-repeat; min-width: 760px; border-radius: 18px; }
.mk { position: absolute; transform: translate(-50%, -50%); border: 0; background: none; padding: 0; display: flex; align-items: center; -webkit-tap-highlight-color: transparent; }
.mk-dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--gold), 0 2px 6px rgba(0, 0, 0, .35); flex: none; }
.mk-tag { position: absolute; left: 24px; white-space: nowrap; background: rgba(255, 250, 238, .95); border-radius: 8px; padding: 2px 10px 2px 6px;
  font-family: var(--serif); font-weight: 700; font-size: 14px; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); color: var(--ink); }
.mk-tag i { font-style: normal; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 11px; margin-right: 5px; font-family: var(--sans); }
.mk-left .mk-tag { left: auto; right: 24px; }
.mk.locked .mk-dot { background: #d8d2c6; box-shadow: 0 0 0 3px #a59d90, 0 2px 4px rgba(0, 0, 0, .25); }
.mk.locked .mk-tag { color: #8f8677; background: rgba(250, 245, 235, .82); }
.mk.locked .mk-tag i { background: #aaa192; }
.mk.camp .mk-dot { background: var(--rose-l); box-shadow: 0 0 0 3px var(--rose), 0 2px 6px rgba(0, 0, 0, .3); }
.mk.next .mk-dot, .mk.open .mk-dot { background: #fff6d8; animation: glow 1.8s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 3px var(--gold), 0 0 0 6px rgba(255, 225, 140, .55), 0 0 18px 6px rgba(255, 220, 120, .55); }
  50% { box-shadow: 0 0 0 3px var(--gold), 0 0 0 11px rgba(255, 225, 140, .25), 0 0 30px 12px rgba(255, 220, 120, .7); } }
.mk.done .mk-dot { background: var(--wine); box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(0, 0, 0, .3); }
.mk-stamp { position: absolute; left: -8px; top: -58px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--kai); font-size: 15px; font-weight: 700; color: var(--wine); transform: rotate(-14deg); background: rgba(255, 245, 240, .6);
  box-shadow: inset 0 0 0 2.5px var(--wine), inset 0 0 0 5px rgba(255, 245, 240, .6), inset 0 0 0 6px var(--wine); opacity: .92; }
.map-swipe { display: none; font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 6px; }
@media (max-width: 780px) { .map-swipe { display: block; } }
.map-bar { display: grid; grid-template-columns: 1fr auto; gap: 14px; margin-top: 16px; align-items: stretch; }
.next, .topic-chip { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 14px; }
.next { justify-content: space-between; }
.next-t { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.topic-chip img { width: 74px; height: 42px; object-fit: cover; border-radius: 6px; }
.topic-chip b { display: block; font-size: 15px; }
.topic-chip span { font-size: 13px; color: var(--muted); }
.toolbelt { margin-top: 16px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 18px 14px; }
.tb-t { font-family: var(--serif); font-weight: 700; margin-bottom: 6px; }
.tb-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.tool { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tool img, .tool-empty { width: 54px; height: 54px; object-fit: contain; }
.tool-empty { border-radius: 50%; border: 1.5px dashed var(--line-2); background: rgba(236, 226, 202, .4); }
.tool-n { font-size: 12px; color: var(--muted); white-space: nowrap; }
.tool.got .tool-n { color: var(--ink); font-weight: 600; }
.tool.got img { animation: pop .6s cubic-bezier(.3, 1.6, .5, 1); }
@media (max-width: 720px) {
  .map-bar { grid-template-columns: 1fr; }
  .next { flex-direction: column; align-items: flex-start; }
  .tb-row { grid-template-columns: repeat(4, 1fr); row-gap: 12px; }
}

/* ---------- 选题 ---------- */
.postcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 22px 0 8px; }
.postcard { position: relative; border: 0; padding: 10px 10px 14px; background: #fffdf6; border-radius: 6px; box-shadow: var(--shadow-lg); text-align: left; transition: transform .2s; }
.postcard:nth-child(1) { transform: rotate(-1.4deg); }
.postcard:nth-child(2) { transform: rotate(.8deg); }
.postcard:nth-child(3) { transform: rotate(-.6deg); }
.postcard:hover { transform: rotate(0) translateY(-4px); }
.pc-img { aspect-ratio: 16 / 10; background: center/cover no-repeat; border-radius: 3px; position: relative; }
.pc-k { position: absolute; top: 8px; right: 8px; width: 36px; height: 44px; display: grid; place-items: center; background: #fffaf0; color: var(--wine);
  font-family: var(--serif); font-weight: 700; font-size: 20px; border-radius: 2px; box-shadow: 0 0 0 3px #fffaf0, 0 0 0 4px var(--wine); }
.pc-body { padding: 10px 4px 0; }
.pc-body b { font-family: var(--serif); font-size: 19px; display: block; }
.pc-body span { color: var(--ink-2); font-size: 14px; }
.pc-mine { position: absolute; left: 18px; top: 18px; background: var(--wine); color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.postcard.chosen { box-shadow: 0 0 0 3px var(--gold), var(--shadow-lg); }
.pc-open .pc-big { aspect-ratio: 16 / 9; background: center/cover; border-radius: 12px; }
.pc-say { margin-top: -38px; padding: 0 10px; position: relative; }
.qbox { background: var(--paper); border-left: 4px solid var(--gold); padding: 10px 14px; border-radius: 4px 10px 10px 4px; font-family: var(--serif); font-size: 17px; line-height: 1.8; margin: 12px 0; }
.qbox.small { font-size: 15px; }
.qk { font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .1em; }
@media (max-width: 720px) { .postcards { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- 弹窗、提示 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(40, 30, 20, .45); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .25s; overflow-y: auto; }
.modal.on { opacity: 1; }
.modal-card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--card); border-radius: 20px; padding: 24px 22px 22px; box-shadow: var(--shadow-lg); transform: translateY(10px); transition: transform .25s; }
.modal.on .modal-card { transform: none; }
.modal-card.wide { width: min(760px, 100%); }
.modal-card h2 { font-size: 22px; margin-bottom: 4px; }
.x { position: absolute; top: 10px; right: 12px; border: 0; background: var(--paper-2); width: 34px; height: 34px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--ink-2); z-index: 2; }
.x.sm { position: static; width: 26px; height: 26px; font-size: 16px; flex: none; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 200; background: #3f3a33; color: #fbf4e4;
  padding: 10px 18px; border-radius: 14px; font-size: 15px; max-width: min(92vw, 520px); box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .3s, transform .3s; text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.v0 { text-align: left; }
.v0-stamp { width: 74px; float: right; margin: -6px 26px 0 10px; transform: rotate(8deg); }
.sure { display: flex; align-items: center; gap: 12px; }
.sure input { flex: 1; accent-color: var(--blue); }
.sure-v { font-family: var(--serif); font-size: 22px; font-weight: 700; width: 3ch; text-align: right; }

/* ---------- 第 2 站外框 ---------- */
body[data-route="s2"] .main { padding-bottom: 0; }
.s2-page { padding-top: 0; }
.s-head { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px 0; background: rgba(245, 238, 221, .97); border-bottom: 1px solid var(--line); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.back { border: 0; background: none; color: var(--ink-2); font-size: 15px; padding: 4px 6px; }
.s-name { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.s-name b { font-family: var(--serif); font-size: 17px; }
.s-name span { font-size: 13px; color: var(--gold); font-weight: 600; }
.clock { display: flex; align-items: center; gap: 6px; background: var(--card); border-radius: 999px; padding: 5px 12px 5px 8px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-variant-numeric: tabular-nums; font-weight: 700; min-width: 86px; justify-content: center; }
.clock.empty { visibility: hidden; }
.clock-i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink-2); position: relative; }
.clock-i::after { content: ""; position: absolute; left: 7px; top: 3px; width: 2px; height: 6px; background: var(--ink-2); border-radius: 1px; }
.clock.low { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold); }
.clock.over { box-shadow: inset 0 0 0 1.5px var(--wine); color: var(--wine); }
.steps { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.st { flex: none; border: 0; background: transparent; border-radius: 999px; padding: 5px 12px; display: flex; align-items: center; gap: 6px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.st span { font-family: var(--serif); font-weight: 700; }
.st em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.st.cur { background: var(--ink); color: #fff; box-shadow: none; }
.st.cur em { color: #e6dcc6; }
.st.done { background: var(--green-l); box-shadow: inset 0 0 0 1px #c3d3b3; }
.st.lock { opacity: .45; cursor: default; }
.brief { background: var(--card); border-radius: var(--r); padding: 14px 18px 12px; box-shadow: var(--shadow); margin-top: 10px; }
.brief h2 { font-size: 21px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.brief .min { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--muted); }
.brief-row { display: flex; gap: 10px; margin-top: 6px; align-items: baseline; }
.bk { flex: none; font-size: 12.5px; font-weight: 700; color: var(--blue); background: var(--blue-l); padding: 1px 9px; border-radius: 6px; }
.brief-row + .brief-row .bk { color: var(--rose); background: var(--rose-l); }
.cells { display: flex; gap: 4px; margin-top: 12px; }
.cell { flex: 1; font-size: 11.5px; color: var(--muted); border-top: 3px solid var(--line); padding-top: 4px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell i { font-style: normal; font-weight: 700; margin-right: 2px; }
.cell.past { border-color: var(--green); color: var(--ink-2); }
.cell.now { border-color: var(--gold); color: var(--ink); font-weight: 700; }
@media (max-width: 600px) { .cell { font-size: 0; } .cell i { font-size: 11px; } .cell.now { font-size: 11.5px; flex: 3; } }
.cell-title { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 700; font-size: 18px; margin: 22px 0 6px; }
.cell-title i { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 14px; font-family: var(--sans); }
.screen-host { min-height: 40vh; }
.scr { animation: fadein .35s ease; }
@keyframes fadein { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.s-nav { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 12px; margin: 26px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(245, 238, 221, .97); border-top: 1px solid var(--line); }
.s-nav .err { position: absolute; left: 0; right: 0; bottom: 100%; padding: 6px 16px; pointer-events: none; }
.s-nav .err:not(:empty) { background: #fbeee9; border-top: 1px solid var(--rose-l); }
.s-nav > span:first-child, .s-nav > .btn.ghost { margin-right: auto; }
.stuck { border: 0; background: none; color: var(--rose); font-size: 14px; font-weight: 600; padding: 8px 10px; border-radius: 999px; }
.stuck:hover { background: var(--rose-l); }
.form, .form-card { margin-top: 8px; }
.duo { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: end; }
.duo-fig { width: 130px; max-height: 340px; object-fit: contain; object-position: bottom; }
@media (max-width: 600px) { .duo { grid-template-columns: 1fr; } .duo-fig { display: none; } }

/* 场景横幅 */
.world { position: relative; border-radius: 16px; overflow: hidden; margin: 6px 0 16px; box-shadow: var(--shadow); min-height: 170px; }
.world-img { position: absolute; inset: 0; background: center 40%/cover no-repeat; }
.world::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 25, 20, .45), rgba(30, 25, 20, .05) 70%); pointer-events: none; }
.world-say { position: relative; z-index: 2; padding: 34px 16px 12px; max-width: 640px; }
.world-tag { position: absolute; z-index: 2; top: 10px; left: 14px; font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .12em; background: rgba(30, 25, 20, .45); padding: 2px 10px; border-radius: 999px; }
.say.on-img .bubble { background: rgba(255, 250, 240, .96); }

.hero { position: relative; aspect-ratio: 16 / 8; max-height: 62vh; width: 100%; border-radius: 18px; background: center/cover no-repeat; box-shadow: var(--shadow-lg); margin-top: 14px; overflow: hidden; }
.hero-fig { position: absolute; left: 3%; bottom: 0; height: 94%; width: auto; max-width: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.hero-say { position: absolute; left: 24%; right: 3%; bottom: 6%; }
@media (max-width: 600px) { .hero { aspect-ratio: 4 / 3; } .hero-fig { height: 80%; left: -4%; } .hero-say { left: 30%; right: 2%; bottom: 3%; } .hero-say .say .face { display: none; } }
.keycard { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0; margin: 18px 0; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.kc-l { padding: 16px 18px; }
.kc-q { font-family: var(--serif); font-size: 16.5px; line-height: 1.8; margin-top: 4px; }
.kc-r { padding: 16px 18px; background: linear-gradient(#f4ebd4, #efe3c6); border-left: 1px dashed var(--line-2); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.kc-word { font-family: var(--kai); font-size: 40px; font-weight: 700; color: var(--wine); line-height: 1.2; }
@media (max-width: 720px) { .keycard { grid-template-columns: 1fr; } .kc-r { border-left: 0; border-top: 1px dashed var(--line-2); } }
.bring { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 18px; }
.bring-t { font-family: var(--serif); font-weight: 700; font-size: 17px; }
.bring ol { margin: 6px 0 6px; padding-left: 1.4em; }
.warn { margin-top: 16px; background: var(--rose-l); border-radius: var(--r); padding: 6px 16px 14px; }

/* 示范：先不标色 */
.demo-box { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 20px; font-size: 16.5px; }
.demo-box > p { margin: .5em 0; }
.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 2px; }
.demo-notes { display: none; background: #fbf5e6; border: 1px dashed var(--line-2); border-radius: var(--r); padding: 12px 18px; }
.demo-box.marked + .demo-bar + .demo-notes { display: block; animation: fadein .3s; }
.demo-notes ol { margin: 8px 0 2px; padding-left: 1.3em; }
.demo-notes li { margin: 4px 0; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; }
.lg { font-size: 12.5px; padding: 1px 10px; border-radius: 6px; }
.k { transition: background .3s, box-shadow .3s; border-radius: 3px; padding: 0 1px; }
.marked .k-src, .lg.k-src, .marked .k-case, .lg.k-case, .marked .k-head, .lg.k-head { background: var(--blue-l); box-shadow: 0 2px 0 var(--blue); }
.marked .k-old, .lg.k-old, .marked .k-judge, .lg.k-judge, .marked .k-inc, .lg.k-inc { background: var(--green-l); box-shadow: 0 2px 0 var(--green); }
.marked .k-ans, .lg.k-ans, .marked .k-why, .lg.k-why, .marked .k-chg, .lg.k-chg { background: var(--gold-l); box-shadow: 0 2px 0 var(--gold); }
.marked .k-split, .lg.k-split, .marked .k-exc, .lg.k-exc, .marked .k-v1, .lg.k-v1 { background: var(--rose-l); box-shadow: 0 2px 0 var(--rose); }
.marked .k-line, .lg.k-line { background: #e9dff1; box-shadow: 0 2px 0 #8b73a0; }
.marked .linkcard { box-shadow: 0 0 0 2px var(--rose); }

/* 判断对象 */
.ask { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 16px; margin: 4px 0 12px; position: sticky; top: 64px; z-index: 15; box-shadow: var(--shadow); }
.ask-k { font-size: 12px; letter-spacing: .12em; background: var(--gold); color: #fff; padding: 1px 9px; border-radius: 6px; font-weight: 700; }
.ask-q { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: .03em; }

/* 原野 */
.field-wrap { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) {
  .board-main { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(250px, 1fr); gap: 18px; align-items: start; }
  .board-side { position: sticky; top: 130px; }
  .board-side .board-hint { margin-top: 0; }
  .board-side .tray { flex-direction: column; flex-wrap: nowrap; }
  .board-side .case { flex: none; max-width: none; }
  .board-side .zbtn { flex: 1 1 100%; }
}
.field { position: relative; aspect-ratio: 16 / 9; background: url(../img/t03-field.webp) center/100% 100% no-repeat; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.field-tag { position: absolute; transform: translate(-50%, -50%); background: rgba(255, 250, 238, .9); border-radius: 10px; padding: 2px 10px; font-size: 12px; color: var(--ink-2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15); white-space: nowrap; pointer-events: none; transition: transform .15s, box-shadow .15s; display: flex; gap: 6px; align-items: baseline; }
.field-tag b { font-family: var(--serif); font-size: 15px; }
.t-in { left: 50%; top: 47%; } .t-in b { color: var(--z-in); }
.t-fence { left: 26.3%; top: 33.2%; } .t-fence b { color: var(--z-fence); }
.t-out { left: 80%; top: 88%; } .t-out b { color: var(--z-out); }
.field[data-hover="in"] .t-in, .field[data-hover="fence"] .t-fence, .field[data-hover="out"] .t-out { transform: translate(-50%, -50%) scale(1.25); box-shadow: 0 0 0 3px #fff, 0 4px 14px rgba(0, 0, 0, .3); }
.field[data-hover="in"] .t-in { background: var(--green-l); }
.field[data-hover="fence"] .t-fence { background: var(--gold-l); }
.field[data-hover="out"] .t-out { background: var(--blue-l); }
.tokens { position: absolute; inset: 0; }
.token { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid #fff; color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .35); touch-action: none; padding: 0; transition: box-shadow .15s; }
@media (max-width: 600px) { .token { width: 28px; height: 28px; font-size: 13px; border-width: 2px; } .field-tag { font-size: 10.5px; padding: 1px 7px; } .field-tag b { font-size: 13px; } }
.token.z-in { background: var(--z-in); } .token.z-fence { background: var(--z-fence); } .token.z-out { background: var(--z-out); }
.token.sel { box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 0 0 7px var(--ink); }
.token.dragging { opacity: .35; }
.board-hint { font-size: 13px; color: var(--muted); margin: 10px 2px 6px; }
.tray { display: flex; flex-wrap: wrap; gap: 10px; min-height: 40px; }
.case { position: relative; flex: 1 1 200px; max-width: 320px; min-height: 92px; padding: 24px 18px 16px 44px; background: url(../img/paper-case.webp) center/100% 100% no-repeat;
  font-family: var(--serif); font-size: 15.5px; line-height: 1.6; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; filter: drop-shadow(0 3px 4px rgba(80, 60, 30, .18)); transition: transform .15s; }
.case:hover { transform: translateY(-2px) rotate(-.5deg); }
.case.sel { transform: translateY(-3px); filter: drop-shadow(0 0 0 var(--ink)) drop-shadow(0 6px 8px rgba(80, 60, 30, .3)); }
.case.sel::after { content: "已选中"; position: absolute; right: 12px; bottom: 6px; font-family: var(--sans); font-size: 11px; color: #fff; background: var(--ink); padding: 0 8px; border-radius: 999px; }
.case.dragging { opacity: .35; }
.case .num { position: absolute; left: 14px; top: 26px; }
.num { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 12px/1 var(--sans); margin-right: 6px; flex: none; }
.mine { display: inline-block; margin-left: 6px; font: 600 11px/1.6 var(--sans); color: var(--rose); background: var(--rose-l); border-radius: 999px; padding: 0 7px; vertical-align: 2px; }
.star { color: var(--gold); margin: 0 4px; }
.tray.empty { display: block; }
.tray-done { font-size: 13.5px; color: var(--green); background: var(--green-l); border-radius: 10px; padding: 8px 14px; }
.drag-ghost { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; max-width: 240px; background: #fffaf0; border-radius: 10px; padding: 8px 12px; font-family: var(--serif); font-size: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3); border: 2px solid var(--line-2); }
.drag-ghost[data-zone="in"] { border-color: var(--z-in); } .drag-ghost[data-zone="fence"] { border-color: var(--z-fence); } .drag-ghost[data-zone="out"] { border-color: var(--z-out); }
.zone-btns { display: flex; gap: 8px; margin: 12px 0 4px; flex-wrap: wrap; }
.zbtn { flex: 1 1 120px; border: 0; border-radius: 10px; padding: 8px 10px; font-size: 14px; background: var(--card); box-shadow: inset 0 0 0 1.2px var(--line); color: var(--muted); transition: all .15s; }
.zone-btns.live .zbtn { color: #fff; box-shadow: none; }
.zone-btns.live .z-in { background: var(--z-in); } .zone-btns.live .z-fence { background: var(--z-fence); } .zone-btns.live .z-out { background: var(--z-out); }
.placed { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.prow { background: var(--card); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); border-left: 5px solid var(--line); transition: background .4s; }
.prow.z-in { border-left-color: var(--z-in); } .prow.z-fence { border-left-color: var(--z-fence); } .prow.z-out { border-left-color: var(--z-out); }
.prow.flash { background: #fff4d6; }
.prow-head { display: flex; align-items: flex-start; gap: 6px; }
.prow-text { flex: 1; font-family: var(--serif); font-size: 15.5px; }
.zpill { border: 0; font-size: 12.5px; font-weight: 700; color: #fff; border-radius: 999px; padding: 1px 10px; flex: none; margin-left: 6px; }
.zpill.z-in { background: var(--z-in); } .zpill.z-fence { background: var(--z-fence); } .zpill.z-out { background: var(--z-out); }
.reason { margin: 6px 0 0 28px; }
.after { margin-top: 16px; }
.after > .btn { display: block; margin: 0 auto; }
.pair-t { font-family: var(--serif); font-weight: 700; font-size: 17px; margin-top: 6px; padding-left: 10px; border-left: 4px solid var(--gold); }
.hardlist { background: var(--card); border-radius: var(--r); padding: 12px 16px; margin-top: 12px; box-shadow: var(--shadow); }
.hardlist ul { list-style: none; margin: 6px 0 0; padding: 0; }
.hardlist li { padding: 5px 0; border-bottom: 1px dashed var(--line); font-family: var(--serif); }
.hardlist li:last-child { border: 0; }
.hard { display: block; margin-left: 28px; font-family: var(--sans); font-size: 13.5px; color: var(--rose); }
.allpairs { display: grid; gap: 8px; margin: 10px 0; }
.ap { background: var(--card); border-radius: 10px; padding: 8px 12px; box-shadow: var(--shadow); }
.ap-t { font-family: var(--serif); }
.ap-r { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.ap-r .tone-blue { color: var(--blue); } .ap-r .tone-green { color: var(--green); }
.linebox { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 4px 16px 12px; margin-top: 18px; }

/* 转盘 */
.howto { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 16px; }
.howto-t { font-family: var(--serif); font-weight: 700; font-size: 17px; }
.mini-demo { margin-top: 6px; font-family: var(--serif); font-size: 15px; }
.mini-demo p { margin: 4px 0; }
.mini-demo mark { background: var(--gold-l); box-shadow: 0 2px 0 var(--gold); color: inherit; }
.tagx { display: inline-block; font: 700 11.5px/1.7 var(--sans); background: var(--paper-2); color: var(--ink-2); border-radius: 6px; padding: 0 8px; margin-right: 8px; }
.wheel-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin: 6px 0 4px; }
.wheel { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wheel-box { position: relative; width: 236px; height: 236px; }
.wheel-disc { position: absolute; inset: 8px; border-radius: 50%; transition: transform .9s cubic-bezier(.2, .9, .25, 1);
  background: conic-gradient(from -30deg, #f4e7c8 0 60deg, #e7ecdc 60deg 120deg, #f4e7c8 120deg 180deg, #e2eaee 180deg 240deg, #f4e7c8 240deg 300deg, #f1dfdb 300deg 360deg);
  box-shadow: 0 0 0 6px #fffaf0, 0 0 0 8px var(--line-2), 0 10px 22px rgba(80, 60, 30, .2); }
.wheel-disc::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(from -30deg, rgba(150, 130, 100, .55) 0 .6deg, transparent .6deg 60deg); }
.wheel-l { position: absolute; inset: 0; pointer-events: none; }
.wheel-b { position: absolute; left: 50%; top: 7%; transform: translateX(-50%); pointer-events: auto; border: 0; background: none; font-family: var(--serif); font-weight: 700; font-size: 13.5px;
  color: var(--ink-2); padding: 6px 2px; width: 84px; line-height: 1.25; transition: transform .9s cubic-bezier(.2, .9, .25, 1), color .2s; }
.wheel-l.on .wheel-b { color: var(--wine); }
.wheel-pin { position: absolute; left: 50%; top: -6px; transform: translateX(-50%); z-index: 3; width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 18px solid var(--wine);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.wheel-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; background: #fffaf0; display: grid; place-items: center;
  font-family: var(--kai); font-size: 14px; color: var(--ink-2); box-shadow: 0 0 0 2px var(--line-2), 0 3px 8px rgba(0, 0, 0, .12); z-index: 2; text-align: center; }
.wheel-side { flex: 1 1 240px; }
.cond-hint { font-family: var(--kai); font-size: 18px; min-height: 2em; background: #fbf5e6; border-radius: 10px; padding: 10px 14px; border: 1px dashed var(--line-2); }
.cond-hint:empty::before { content: "转盘上挑一条，这里会出现一个提醒。"; color: var(--muted); font-size: 15px; }
.mods { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.modcard { display: flex; gap: 8px; align-items: flex-start; background: var(--card); border-radius: 10px; padding: 10px 12px; box-shadow: var(--shadow); font-family: var(--serif); }
.modcard > div { flex: 1; }
.modcard .small { font-family: var(--sans); }

/* 定义卡 */
.defcard { position: relative; background: #fbf6ea; border-radius: 12px; padding: 16px 18px 14px; box-shadow: inset 0 0 0 1px #d8cdb5, inset 0 0 0 6px #fbf6ea, inset 0 0 0 7px #a9b8c0, var(--shadow); }
.defcard.empty { display: grid; place-items: center; color: var(--muted); min-height: 120px; }
.dc-t { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.dc-head { font-family: var(--serif); font-size: 17px; font-weight: 700; margin: 6px 0 8px; line-height: 1.7; }
.defcard dl { margin: 0; }
.defcard dt { font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-top: 6px; }
.defcard dd { margin: 0; font-family: var(--serif); }
.dc-link { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.linkcard { display: inline-block; background: #fff; border-radius: 8px; padding: 1px 10px; font-family: var(--serif); box-shadow: 0 0 0 1px var(--line-2); transition: box-shadow .3s; }
.defcard.before { opacity: .92; }
.defcard.after { box-shadow: inset 0 0 0 1px #d8cdb5, inset 0 0 0 6px #fbf6ea, inset 0 0 0 7px var(--green), var(--shadow); }
.defcard.after .dc-t { color: var(--green); }
.linkchips .chip { display: flex; align-items: center; gap: 4px; width: 100%; border-radius: 10px; font-family: var(--serif); }
.linkchips .chip .zpill { margin-left: auto; }
.linkchips .chip.on { background: var(--rose-l); box-shadow: inset 0 0 0 1.5px var(--rose); }
.remind { background: #f0e8f4; border-radius: 10px; padding: 8px 14px; margin-bottom: 12px; font-size: 14.5px; }
.sbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .sbs { grid-template-columns: 1fr; } }
.vrow { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.vrow p { font-family: var(--serif); font-size: 16px; margin: 0; }
.vrow .form { flex: 1; margin: 0; }
.vv { position: relative; flex: none; width: 54px; height: 54px; }
.vv img { width: 54px; height: 54px; }
.vv span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff6dc; font: 700 16px/1 var(--serif); text-shadow: 0 1px 1px rgba(0, 0, 0, .4); }
.v1box { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 6px 16px 14px; margin-top: 16px; }
.v1box .vrow.v1 { align-items: flex-start; }
.mydef { background: #fbf6ea; border-radius: 10px; padding: 8px 14px; box-shadow: inset 0 0 0 1px #d8cdb5; font-family: var(--serif); }
.mydef b { display: block; }

/* 反例卡 */
.cx-host { margin-top: 10px; }
.cxcard { position: relative; max-width: 560px; margin: 6px auto 10px; padding: 34px 30px 22px 30px; background: url(../img/paper-evid.webp) center/100% 100% no-repeat; filter: drop-shadow(0 6px 8px rgba(80, 60, 30, .2)); transform: rotate(-.6deg); }
.cx-k { font-size: 12.5px; font-weight: 700; color: var(--green); letter-spacing: .1em; }
.cx-t { font-family: var(--serif); font-size: 18px; line-height: 2; margin-top: 2px; }
.cx-tag { position: absolute; right: 26px; top: 14px; font-size: 11px; color: var(--muted); background: rgba(255, 255, 255, .7); padding: 0 8px; border-radius: 999px; }
.q { font-weight: 600; margin: 12px 0 4px; }
.cx-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.cx-dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dot.on { background: var(--green); }
.dot.cur { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink-2); }

/* 自评 */
.checks { display: flex; flex-direction: column; gap: 10px; }
.check { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); cursor: pointer; transition: background .2s; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { flex: none; width: 26px; height: 26px; border-radius: 7px; box-shadow: inset 0 0 0 2px var(--line-2); background: #fff; position: relative; transition: all .2s; }
.check.on { background: #f3f7ee; }
.check.on .box { background: var(--green); box-shadow: none; }
.check.on .box::after { content: ""; position: absolute; left: 9px; top: 4px; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.check input:focus-visible + .box { box-shadow: inset 0 0 0 2px var(--line-2), 0 0 0 3px rgba(85, 122, 144, .35); }
.ct { font-size: 16px; }

/* 收尾 */
.hero.end { display: grid; place-items: center; aspect-ratio: 16 / 9; }
.hero.end::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255, 245, 210, .35), rgba(40, 30, 20, .25)); }
.engrave { position: relative; z-index: 2; width: min(300px, 62%); animation: rise 1s cubic-bezier(.2, .9, .3, 1.1); }
.engrave img { width: 100%; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .35)); }
.engrave-t { position: absolute; left: 19%; right: 17%; top: 22%; bottom: 14%; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden;
  font-family: var(--kai); font-weight: 700; font-size: clamp(12px, 2.4vw, 19px); line-height: 1.6; color: rgba(55, 50, 45, .88); text-shadow: 0 1px 0 rgba(255, 255, 255, .45), 0 -1px 0 rgba(0, 0, 0, .15); }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.9); } to { opacity: 1; transform: none; } }
.rewards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.reward { display: flex; gap: 14px; align-items: center; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; }
.reward > img { width: 64px; height: 64px; object-fit: contain; }
.pop { animation: pop .8s .6s both cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(0) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
.stampwrap { position: relative; flex: none; width: 70px; height: 70px; }
.stampwrap img { width: 70px; height: 70px; }
.stampwrap span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff6dc; font: 700 20px/1 var(--serif); text-shadow: 0 1px 1px rgba(0, 0, 0, .4); animation: fadein .3s 1.6s both; }
.stampin { animation: stamp .6s 1.1s both cubic-bezier(.5, 0, .7, 1.4); }
@keyframes stamp { from { transform: scale(2.4) rotate(-12deg); opacity: 0; } 70% { opacity: 1; } to { transform: none; opacity: 1; } }
.end-btns { display: flex; gap: 12px; justify-content: center; margin: 22px 0 40px; flex-wrap: wrap; }
@media (max-width: 600px) { .rewards { grid-template-columns: 1fr; } .engrave { width: 70%; } }

/* ---------- 手账 ---------- */
.j-cover { display: flex; align-items: center; gap: 16px; }
.j-cover img { width: 76px; transform: rotate(-6deg); }
.jstamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0 20px; }
.jstamp { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 12px; text-align: center; }
.js-img { position: relative; width: 84px; height: 84px; margin: 0 auto 6px; }
.js-img img { width: 84px; height: 84px; }
.jstamp:not(.on) .js-img img { opacity: .28; }
.js-v { position: absolute; inset: 0; display: grid; place-items: center; color: #fff6dc; font: 700 22px/1 var(--serif); text-shadow: 0 1px 1px rgba(0, 0, 0, .4); }
.jstamp:not(.on) .js-v { color: var(--muted); text-shadow: none; }
.js-l { font-family: var(--serif); font-weight: 700; }
.js-text { font-size: 13px; color: var(--ink-2); margin-top: 4px; text-align: left; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.js-text.muted { text-align: center; color: var(--muted); }
@media (max-width: 720px) { .jstamps { grid-template-columns: repeat(2, 1fr); } }
.jsec { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 18px; margin-bottom: 14px; }
.jsec h3 { font-size: 17px; margin-bottom: 6px; }
.quote { font-family: var(--serif); font-size: 16.5px; border-left: 3px solid var(--gold); padding-left: 12px; }
.jzones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jz { border-radius: 10px; padding: 8px 12px; background: #fbf7ee; border-top: 4px solid var(--line); }
.jz.z-in { border-top-color: var(--z-in); } .jz.z-fence { border-top-color: var(--z-fence); } .jz.z-out { border-top-color: var(--z-out); }
.jz-t { font-family: var(--serif); font-weight: 700; }
.jz ul { margin: 4px 0 0; padding-left: 1.1em; font-family: var(--serif); font-size: 15px; }
.jz li { margin: 4px 0; }
@media (max-width: 720px) { .jzones { grid-template-columns: 1fr; } }
.line { font-family: var(--serif); margin-top: 10px; }
.fq .ans { margin: -4px 0 12px 62px; font-family: var(--serif); }
.times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tm { background: #fbf7ee; border-radius: 10px; padding: 8px 12px; display: flex; flex-direction: column; }
@media (max-width: 600px) { .times { grid-template-columns: repeat(2, 1fr); } }
.j-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 20px 0; }

/* ---------- 四色透镜的颜色 ---------- */
.c-blue { --c: #4f7a96; --cl: #dce8f0; }
.c-green { --c: #5c8752; --cl: #e1ecd6; }
.c-red { --c: #ad5249; --cl: #f5ddd8; }
.c-gold { --c: #a9832a; --cl: #f4e7c1; }
.marked .k-fact, .lg.k-fact { background: #dce8f0; box-shadow: 0 2px 0 #4f7a96; }
.marked .k-concept, .lg.k-concept { background: #e1ecd6; box-shadow: 0 2px 0 #5c8752; }
.marked .k-value, .lg.k-value { background: #f5ddd8; box-shadow: 0 2px 0 #ad5249; }
.marked .k-action, .lg.k-action { background: #f4e7c1; box-shadow: 0 2px 0 #a9832a; }
.marked .k-sure, .lg.k-sure, .marked .k-clash, .lg.k-clash { background: #e9dff1; box-shadow: 0 2px 0 #8b73a0; }
.marked .k-a, .lg.k-a { background: var(--blue-l); box-shadow: 0 2px 0 var(--blue); }
.marked .k-b, .lg.k-b { background: var(--green-l); box-shadow: 0 2px 0 var(--green); }
.right { text-align: right; }

/* ---------- 第 1 站 ---------- */
.hero.cross { background-position: center 60%; }
.lensfan { position: absolute; right: 3%; top: 6%; display: flex; flex-direction: column; gap: 6px; width: min(330px, 46%); z-index: 2; }
.lf-lens { position: absolute; left: -96px; top: 18px; width: 92px; animation: lensIn 1s cubic-bezier(.3, 1.5, .5, 1) both; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .3)); }
@keyframes lensIn { from { opacity: 0; transform: rotate(-90deg) scale(.4); } to { opacity: 1; transform: none; } }
.lf-ray { background: rgba(255, 250, 240, .94); border-left: 5px solid var(--c); border-radius: 4px 10px 10px 4px; padding: 3px 10px; box-shadow: 0 3px 8px rgba(0, 0, 0, .15);
  font-size: 12.5px; color: var(--ink-2); animation: rayIn .6s calc(.7s + var(--i) * .35s) cubic-bezier(.2, .9, .3, 1.2) both; }
.lf-ray b { font-family: var(--serif); font-size: 15px; color: var(--c); margin-right: 8px; }
@keyframes rayIn { from { opacity: 0; transform: translateX(-30px) scaleX(.6); transform-origin: left; } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .lensfan { width: 44%; right: 2%; top: 4%; gap: 4px; } .lf-ray span { display: none; } .lf-lens { width: 60px; left: -64px; top: 6px; } }
.paper { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; background: #f3ecdc; border: 1px dashed var(--line-2); border-radius: var(--r); padding: 12px 16px; }
.v0demo { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 18px; }
.suredemo { margin-top: 8px; font-size: 15px; }
.count { font-size: 12.5px; color: var(--muted); }
.lensdemo { margin: 0; padding-left: 1.4em; font-family: var(--serif); font-size: 16.5px; }
.lensdemo li { margin: 8px 0; }
.layer-tag { display: none; margin-left: 8px; font: 700 12px/1.7 var(--sans); color: #fff; background: var(--c); padding: 0 9px; border-radius: 999px; vertical-align: 2px; }
.marked .layer-tag { display: inline-block; }
.lensgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .lensgrid { grid-template-columns: 1fr; } }
.lenscard { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 14px; border-top: 5px solid var(--c); }
.lc-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lc-head b { font-family: var(--serif); font-size: 18px; color: var(--c); }
.lc-dot { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--c) 60%); box-shadow: 0 0 0 2px var(--cl); align-self: center; }
.lc-eg { font-size: 13px; color: var(--muted); margin: 4px 0 8px; font-family: var(--serif); }
.rulers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
@media (max-width: 720px) { .rulers { grid-template-columns: 1fr; } }
.ruler { position: relative; background: linear-gradient(#f5e9cb, #ead9b0); border-radius: 8px; padding: 10px 12px 10px 44px; font-family: var(--serif); font-weight: 700; box-shadow: var(--shadow);
  background-image: repeating-linear-gradient(90deg, rgba(120, 90, 40, .35) 0 1px, transparent 1px 12px), linear-gradient(#f5e9cb, #ead9b0); background-size: 100% 7px, 100% 100%; background-repeat: no-repeat; }
.ruler i { position: absolute; left: 12px; top: 12px; font-style: normal; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 12px/1 var(--sans); }
.ruler .small { display: block; font-family: var(--sans); font-weight: 500; }
.filterdemo { list-style: none; margin: 0; padding: 0; }
.filterdemo li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-family: var(--serif); font-size: 16px; }
.filterdemo li:last-child { border: 0; }
.fq-q { transition: color .3s; background: linear-gradient(var(--wine), var(--wine)) 0 55%/0 2px no-repeat; transition: background-size .5s, color .3s; }
.marked .strike-me .fq-q { background-size: 100% 2px; color: var(--muted); }
.fq-r { display: none; gap: 4px; }
.marked .fq-r { display: flex; }
.rv { font: 600 12px/1.8 var(--sans); background: var(--paper-2); border-radius: 6px; padding: 0 7px; }
.fq-why { display: none; grid-column: 1 / -1; font: 13px/1.5 var(--sans); color: var(--wine); }
.marked .fq-why { display: block; }
.marked .keep-me .fq-why { color: var(--green); }
.pickcount { position: sticky; top: 66px; z-index: 5; display: inline-block; margin: 6px 0 10px; background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 14px; font-weight: 700; font-size: 14px; }
.pickcount.full { background: var(--green); }
.qpick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 720px) { .qpick { grid-template-columns: 1fr; } }
.qcard { display: flex; gap: 10px; align-items: flex-start; text-align: left; border: 0; background: var(--card); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); transition: box-shadow .15s, background .15s; }
.qcard.on { background: #f3f7ee; box-shadow: inset 0 0 0 2px var(--green), var(--shadow); }
.qc-box { flex: none; width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--line-2); background: #fff; position: relative; margin-top: 2px; }
.qcard.on .qc-box { background: var(--green); box-shadow: none; }
.qcard.on .qc-box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.qc-body { display: flex; flex-direction: column; gap: 3px; }
.qc-q, .cp-q { font-family: var(--serif); font-size: 16px; }
.qtag { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.lensdot { font: 700 11.5px/1.7 var(--sans); color: #fff; background: var(--c); border-radius: 999px; padding: 0 8px; }
.byw { font: 600 11.5px/1.7 var(--sans); color: var(--tone); background: var(--paper-2); border-radius: 999px; padding: 0 8px; }
.qtag .mine { margin-left: 0; vertical-align: 0; }
.measure { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.mrow { background: var(--card); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); border-left: 5px solid var(--line); transition: background .3s; }
.mrow.in { border-left-color: var(--green); }
.mrow.out { border-left-color: var(--wine); background: #faf4f1; }
.mr-q { display: flex; flex-direction: column; gap: 3px; }
.mr-text { font-family: var(--serif); font-size: 16.5px; background: linear-gradient(var(--wine), var(--wine)) 0 55%/0 2px no-repeat; transition: background-size .5s, color .3s; align-self: flex-start; }
.mrow.out .mr-text { background-size: 100% 2px; color: var(--muted); }
.mr-rulers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
@media (max-width: 720px) { .mr-rulers { grid-template-columns: 1fr; } }
.mr-r { background: #fbf7ee; border-radius: 8px; padding: 6px 10px; }
.mr-rq { display: block; font-size: 13px; color: var(--ink-2); }
.yn .chip { padding: 3px 14px; }
.mr-res { margin-top: 8px; display: flex; gap: 10px; align-items: center; font-size: 14px; }
.mrow.out .mr-res b { color: var(--wine); }
.mrow.in .mr-res b { color: var(--green); }
.mr-edit { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.mr-edit .inp { flex: 1 1 220px; }
.hardline { font-family: var(--serif); font-size: 17.5px; line-height: 1.9; margin: 0; }
.corelist { display: flex; flex-direction: column; gap: 10px; margin: 8px 0; }
.corepick { display: flex; align-items: flex-start; gap: 12px; background: var(--card); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); cursor: pointer; }
.corepick input { position: absolute; opacity: 0; pointer-events: none; }
.corepick .box { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); background: #fff; margin-top: 3px; transition: all .2s; }
.corepick.on { background: #f3f7ee; box-shadow: inset 0 0 0 2px var(--green), var(--shadow); }
.corepick.on .box { box-shadow: inset 0 0 0 7px var(--green); }
.corepick > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.signpost { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; animation: rise 1s cubic-bezier(.2, .9, .3, 1.1); width: min(460px, 78%); }
.sp-board { position: relative; width: 100%; padding: 16px 40px 16px 22px; color: #fbf0d8; text-align: left;
  background: repeating-linear-gradient(176deg, rgba(0, 0, 0, .07) 0 2px, transparent 2px 9px), linear-gradient(#93623a, #6e4426);
  clip-path: polygon(0 0, 91% 0, 100% 50%, 91% 100%, 0 100%); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35)); }
.sp-k { display: block; font: 700 12px/1.6 var(--sans); letter-spacing: .2em; color: #f0d9a8; }
.sp-q { display: block; font-family: var(--kai); font-weight: 700; font-size: clamp(15px, 2.4vw, 21px); line-height: 1.55; text-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
.sp-pole { width: 18px; height: 120px; background: linear-gradient(90deg, #5d3a20, #84583a 50%, #5d3a20); border-radius: 3px; box-shadow: 0 8px 10px rgba(0, 0, 0, .3); }
@media (max-width: 600px) { .sp-pole { height: 50px; } }
.hw { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 18px 16px; margin-top: 16px; border-top: 4px solid var(--gold); }
.hw-t { font-family: var(--serif); font-weight: 700; font-size: 17px; }

/* ---------- 序章 ---------- */
.pro { position: fixed; inset: 0; z-index: 60; background: #16120e; overflow: hidden; color: #fff; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.pro-bg { position: absolute; inset: -3%; background: center/cover no-repeat; opacity: 0; transition: opacity 1.6s ease; }
.pro-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20, 15, 10, 0) 45%, rgba(20, 15, 10, .55)); }
.s-tent .pro-bg { opacity: 1; animation: kb 40s linear both; }
.s-journal .pro-bg { opacity: .22; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.1); } }
.pro-glow { position: absolute; left: 50%; top: 14%; width: 46vmin; height: 46vmin; transform: translate(-50%, -50%); border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 214, 130, .55), rgba(255, 190, 90, .18) 40%, rgba(255, 190, 90, 0) 70%); transition: opacity 2s; }
.s-tent .pro-glow { opacity: 1; animation: flicker 3.2s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 40% { transform: translate(-50%, -50%) scale(1.06); } 60% { transform: translate(-50%, -50%) scale(.97); } }
.pro-figs { position: absolute; left: 0; right: 0; bottom: 0; height: 80vh; pointer-events: none; }
.pro-fig { position: absolute; bottom: -2vh; height: 100%; width: auto; max-width: none; opacity: 0; transition: opacity 1s ease, transform 1.1s cubic-bezier(.2, .8, .3, 1); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); }
.f-xingsi { left: 4%; transform: translateX(-60px); }
.f-wenjin { right: 30%; transform: translateX(80px); }
.f-tashan { right: 5%; transform: translateX(80px); }
.s-tent .f-xingsi, .s-wenjin .f-wenjin, .s-tashan .f-tashan { opacity: 1; transform: none; }
.s-wenjin .f-xingsi, .s-tashan .f-xingsi, .s-tashan .f-wenjin { opacity: .85; }
.s-both .f-xingsi, .s-both .f-wenjin, .s-both .f-tashan { opacity: 1; }
@media (max-width: 700px) {
  .pro-figs { height: 58vh; bottom: 120px; }
  .f-xingsi { left: -8%; } .f-wenjin { right: 22%; } .f-tashan { right: -8%; }
}
.pro-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; pointer-events: none; }
.pro-motto { display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--kai); font-size: clamp(30px, 7vw, 52px); letter-spacing: .45em; color: #f4e6c4; padding-left: .45em; }
.pro-motto span { opacity: 0; animation: inkIn 1.4s ease both; }
.pro-motto span:nth-child(2) { animation-delay: 1.1s; }
@keyframes inkIn { from { opacity: 0; transform: translateY(10px); letter-spacing: .7em; } to { opacity: 1; transform: none; } }
.pro-name { font-family: var(--serif); font-size: 16px; letter-spacing: .4em; color: #c9a45c; opacity: 0; animation: fadein 1.2s 2.4s both; }
.pro-talk { position: absolute; left: 50%; bottom: 100px; transform: translateX(-50%); width: min(760px, 92vw); z-index: 5; }
.pro-talk .say { animation: fadein .5s ease both; margin: 0; }
.pro-talk .bubble { max-width: none; flex: 1; }
.pro-say .line { font-size: clamp(17px, 2.4vw, 21px); }
.pro-src { margin: 8px 0 0 64px; font-family: var(--kai); font-size: 14px; color: #ead9b4; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); animation: fadein .6s .5s both; }
.pro-skip { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; z-index: 6; border: 0; background: rgba(255, 255, 255, .14); color: #f4ead6; border-radius: 999px; padding: 6px 16px; font-size: 14px; }
.pro-bar { position: absolute; right: 20px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 6; }
.pro-book { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pro-book img { width: min(240px, 52vw); animation: bookIn 1.2s cubic-bezier(.2, .9, .3, 1.1) both; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); }
@keyframes bookIn { from { opacity: 0; transform: translateY(40px) rotate(-24deg) scale(.5); } to { opacity: 1; transform: rotate(-5deg); } }
.pro-bookname { font-family: var(--kai); font-size: clamp(24px, 5vw, 34px); color: #f6e9ca; clip-path: inset(0 100% 0 0); animation: write 1.8s .9s steps(24, end) forwards; display: flex; align-items: baseline; gap: 6px; }
.pro-bookname .small { color: #e6d3aa; font-size: 18px; font-family: var(--kai); }
@keyframes write { to { clip-path: inset(0 0 0 0); } }
.pro-stamps { display: flex; gap: 14px; margin-top: 4px; }
.pro-stamp { position: relative; width: 64px; height: 64px; animation: stamp .55s calc(2.6s + var(--j) * .35s) both cubic-bezier(.5, 0, .7, 1.4); }
.pro-stamp img { width: 64px; height: 64px; }
.pro-stamp span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 17px/1 var(--serif); color: #fff6dc; text-shadow: 0 1px 1px rgba(0, 0, 0, .4); }
.s-journal .pro-talk, .s-map .pro-talk { bottom: 92px; }
.pro-mapwrap { position: absolute; inset: 0; display: grid; place-items: center; }
.pro-map { position: relative; width: min(96vw, 160vh); aspect-ratio: 16 / 9; background: center/100% 100% no-repeat; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); animation: zoomOut 2.8s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes zoomOut { from { transform: scale(3.2); opacity: .2; } 30% { opacity: 1; } to { transform: scale(1); } }
.pro-mk { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; animation: pop .5s calc(2.6s + var(--j) * .22s) both cubic-bezier(.3, 1.6, .5, 1); }
.pro-dot { width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--gold), 0 2px 6px rgba(0, 0, 0, .35); }
.pro-tag { position: absolute; left: 20px; white-space: nowrap; background: rgba(255, 250, 238, .95); color: var(--ink); border-radius: 7px; padding: 1px 8px; font: 700 12.5px/1.6 var(--serif); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.pro-mk.first .pro-dot { background: #fff6d8; animation: glow 1.8s 5s ease-in-out infinite; }
@media (max-width: 700px) { .pro-tag { font-size: 10.5px; left: 16px; padding: 0 5px; } .pro-dot { width: 10px; height: 10px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.replay { text-align: right; margin-top: 6px; font-size: 13.5px; }
.jlens { list-style: none; padding: 0; margin: 0; font-family: var(--serif); }
.jlens li { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.jlens .lensdot { margin-right: 8px; }
.jzones.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .jzones.two { grid-template-columns: 1fr; } }
.s-journal .pro-center { align-content: start; padding-top: max(6vh, 40px); gap: 10px; }
.s-journal .pro-book img { width: min(220px, 48vw, 30vh); }
.s-journal .pro-stamp, .s-journal .pro-stamp img { width: min(64px, 9vh); height: min(64px, 9vh); }
.jstamps-t { margin: 18px 0 -6px; font-family: var(--serif); color: var(--ink-2); }

/* ---------- 方案 A：各站开场、收尾的场景铺满屏幕 ---------- */
.st-page .hero { width: 100vw; margin-left: calc(50% - 50vw); margin-top: 10px; border-radius: 0; box-shadow: none;
  aspect-ratio: auto; height: calc(100vh - 200px); height: calc(100svh - 200px); min-height: 400px; max-height: none; }
.st-page .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20, 15, 10, 0) 55%, rgba(20, 15, 10, .35)); pointer-events: none; }
.st-page .hero-fig { height: 88%; left: max(2%, calc(50% - 560px)); }
.st-page .hero-say { left: max(22%, calc(50% - 330px)); right: max(3%, calc(50% - 560px)); bottom: 6%; z-index: 2; }
.st-page .hero.end { display: grid; place-items: center; height: calc(100vh - 108px); height: calc(100svh - 108px); }
@media (max-width: 600px) { .st-page .hero { height: calc(100svh - 170px); } .st-page .hero-fig { height: 62%; bottom: 120px; left: -6%; } .st-page .hero-say { left: 3%; right: 3%; bottom: 3%; } }

/* ---------- 选题明信片上的人物 ---------- */
.pc-fig { position: absolute; right: 6%; bottom: -4%; height: 92%; width: auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); transition: transform .3s; }
.postcard:hover .pc-fig { transform: translateY(-4px); }
.pc-k { z-index: 2; }
.pc-img { overflow: hidden; }

/* ---------- 题目全屏介绍 ---------- */
.sto { position: fixed; inset: 0; z-index: 70; background: #15110d; color: #fff; overflow: hidden; opacity: 0; transition: opacity .5s; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sto.on { opacity: 1; }
.sto-bg { position: absolute; inset: -3%; background: center/cover no-repeat; animation: kb 50s linear both; }
.sto-shade { position: absolute; inset: 0; background: linear-gradient(rgba(15, 10, 6, .45), rgba(15, 10, 6, 0) 22%, rgba(15, 10, 6, 0) 50%, rgba(15, 10, 6, .6)); transition: background .6s; pointer-events: none; }
.sto.done .sto-shade { background: rgba(15, 10, 6, .55); }
.sto-figs { position: absolute; left: 0; right: 0; bottom: 0; height: 82vh; pointer-events: none; }
.sto-fig { position: absolute; bottom: -2vh; height: 100%; width: auto; max-width: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); transition: opacity .7s, transform 1s cubic-bezier(.2, .8, .3, 1); }
.sto-x { left: max(2%, calc(50% - 620px)); opacity: 0; transform: translateX(-60px); }
.sto-c { right: max(3%, calc(50% - 620px)); opacity: 0; transform: translateX(70px); }
.sto.on .sto-x { opacity: 1; transform: none; transition-delay: .3s; }
.sto.met .sto-c { opacity: 1; transform: none; }
.sto.speak-c .sto-x { opacity: .55; }
.sto.speak-x.met .sto-c { opacity: .6; }
.sto.done .sto-fig { opacity: .35; }
.sto-top { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; align-items: center; gap: 16px; padding: max(14px, env(safe-area-inset-top)) 16px 10px; }
.sto-title { display: flex; flex-direction: column; line-height: 1.3; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.sto-title b { font-family: var(--serif); font-size: 20px; letter-spacing: .1em; }
.sto-title span { font-size: 13px; color: #ead9b4; }
.sto-dots { flex: 1; display: flex; gap: 5px; justify-content: center; }
.sto-dots i { width: 22px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .25); transition: background .3s; }
.sto-dots i.past { background: rgba(240, 215, 160, .7); }
.sto-dots i.now { background: #f4e2b5; }
.sto-skip, .sto-close { border: 0; background: rgba(255, 255, 255, .14); color: #f4ead6; border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.sto-close { width: 34px; height: 34px; padding: 0; font-size: 20px; line-height: 1; }
.sto-talk { position: absolute; left: 50%; bottom: 100px; transform: translateX(-50%); width: min(780px, 92vw); z-index: 5; }
.sto.done .sto-talk { display: none; }
.sto-talk .say { margin: 0; animation: fadein .45s ease both; }
.sto-talk .bubble { max-width: none; flex: 1; }
.sto-say .line { font-size: clamp(17px, 2.3vw, 21px); line-height: 1.75; }
.sto-bar { position: absolute; right: 20px; left: 20px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 6; display: flex; justify-content: flex-end; gap: 10px; }
.sto-back { background: rgba(255, 250, 240, .9); }
.sto.done .sto-bar { display: none; }
.sto-final { position: absolute; inset: 0; z-index: 5; display: none; place-items: center; padding: 70px 16px 24px; cursor: default; }
.sto.done .sto-final { display: grid; }
.sto-card { width: min(640px, 100%); max-height: 100%; overflow-y: auto; background: rgba(255, 250, 240, .97); color: var(--ink); border-radius: 18px; padding: 22px 24px 18px; box-shadow: var(--shadow-lg); animation: rise .6s cubic-bezier(.2, .9, .3, 1.1) both; }
.sto-q { font-family: var(--serif); font-size: clamp(17px, 2.4vw, 21px); line-height: 1.85; margin: 6px 0 12px; }
.sto-src { font-size: 13px; color: var(--muted); margin-top: 4px; }
.sto-note { margin-top: 10px; font-size: 13.5px; color: var(--wine); background: var(--rose-l); border-radius: 8px; padding: 6px 10px; }
.sto-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 16px; }
@media (max-width: 700px) {
  .sto-figs { height: 56vh; bottom: 150px; }
  .sto-x { left: -10%; } .sto-c { right: -8%; }
  .sto-dots { display: none; }
  .sto-title { flex: 1; }
  .sto-talk { bottom: 84px; }
}
.sto.done .sto-skip { visibility: hidden; }
.say.right .bubble { text-align: left; } .say.right .who { text-align: right; }

/* ---------- 第 3 站 · 旧档案馆 ---------- */
.marked .k-claim, .lg.k-claim, .marked .k-src, .lg.k-src { background: var(--blue-l); box-shadow: 0 2px 0 var(--blue); }
.marked .k-evidence, .lg.k-evidence, .marked .k-shows, .lg.k-shows { background: var(--green-l); box-shadow: 0 2px 0 var(--green); }
.marked .k-link, .lg.k-link, .marked .k-bias, .lg.k-bias { background: var(--gold-l); box-shadow: 0 2px 0 var(--gold); }
.marked .k-hidden, .lg.k-hidden, .marked .k-cannot, .lg.k-cannot, .marked .k-who, .lg.k-who { background: var(--rose-l); box-shadow: 0 2px 0 var(--rose); }
.hero-glass { position: absolute; right: 8%; top: 10%; width: min(150px, 18%); z-index: 2; transform: rotate(18deg); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35)); animation: lensIn 1.1s .3s cubic-bezier(.3, 1.5, .5, 1) both; }
.kc-view { font-family: var(--serif); font-size: 16px; line-height: 1.7; color: var(--ink); }
.argcard { background: #fbf6ea; border-radius: 10px; padding: 12px 16px; box-shadow: inset 0 0 0 1px #d8cdb5; font-family: var(--serif); font-size: 16.5px; }
.argcard.big { font-size: 18px; padding: 16px 20px; box-shadow: inset 0 0 0 1px #d8cdb5, var(--shadow); }
.argcard p { margin: 4px 0 0; }
.ac-k { font: 700 12px/1.6 var(--sans); letter-spacing: .12em; color: var(--gold); }
.holes { margin-top: 10px; font-family: var(--serif); }
.holes ol { margin: 4px 0 0; padding-left: 1.4em; }
.refbox { margin-top: 16px; }
.refbox > .btn { display: block; margin: 0 auto; }
.ref-t { font-family: var(--serif); font-weight: 700; margin-bottom: 8px; }
.reflist { display: flex; flex-direction: column; gap: 8px; }
.setcard { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.sc-row { display: grid; grid-template-columns: 170px 1fr; border-bottom: 1px dashed var(--line); }
.sc-row:last-child { border: 0; }
.sc-k { padding: 12px 14px; background: #f6efdf; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.sc-v { padding: 10px 14px; font-family: var(--serif); font-size: 16px; }
.sc-v .chips { margin-top: 4px; }
@media (max-width: 600px) { .sc-row { grid-template-columns: 1fr; } .sc-k { padding: 8px 14px 4px; } }
.evcard { position: relative; background: #f7f3e6; border-radius: 6px; padding: 20px 20px 14px; box-shadow: 0 2px 4px rgba(80, 60, 30, .12), 0 10px 22px rgba(80, 60, 30, .14);
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(110, 130, 140, .22) 31px 32px); }
.evcard::before { content: ""; position: absolute; top: -12px; right: 28px; width: 18px; height: 44px; border: 3px solid #b39150; border-bottom: 0; border-radius: 10px 10px 0 0; }
.evcard.demo { transform: rotate(-.4deg); }
.ev-t { font: 700 12.5px/1.6 var(--sans); letter-spacing: .12em; color: var(--green); margin-bottom: 4px; }
.ev-row { padding: 6px 0; }
.ev-k { font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 3px; }
.ev-v { font-family: var(--serif); font-size: 16px; }
.ev-row.must { margin: 4px -10px; padding: 6px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--rose); background: rgba(255, 240, 236, .6); }
.req { margin-left: 8px; font: 700 11px/1.6 var(--sans); color: #fff; background: var(--rose); border-radius: 999px; padding: 0 7px; }
.arch { display: grid; grid-template-columns: 300px 1fr; gap: 18px; align-items: start; }
@media (max-width: 820px) { .arch { grid-template-columns: 1fr; } }
.shelf { background: linear-gradient(#6f4a2c, #5a3a22); border-radius: 12px; padding: 12px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 8px; position: sticky; top: 76px; }
.shelf-t { color: #f3e2bd; font-family: var(--serif); font-weight: 700; letter-spacing: .1em; padding: 0 4px; }
.shelf > .small { color: #e7d4ad; padding: 0 4px; }
.drawer { position: relative; display: flex; flex-direction: column; gap: 2px; text-align: left; border: 0; border-radius: 6px; padding: 10px 12px 10px 36px;
  background: linear-gradient(#f2e6c9, #e5d4ac); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12), 0 2px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.drawer:hover { transform: translateX(4px); }
.dr-h { position: absolute; left: 12px; top: 14px; width: 14px; height: 6px; border-radius: 3px; background: #a07b3c; box-shadow: 0 1px 0 #fff8; }
.drawer b { font-family: var(--serif); font-size: 14.5px; }
.dr-g { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 820px) { .shelf { position: static; } }
.evtabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.evtab { border: 0; border-radius: 999px; padding: 5px 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; }
.evtab.on { background: var(--ink); color: #fff; box-shadow: none; }
.evtab.done:not(.on) { background: var(--green-l); }
.evtab .small { color: inherit; opacity: .7; margin-left: 4px; }
.linkrow { margin: 8px 0; }
.lr-k { font: 700 12.5px/1.6 var(--sans); color: var(--ink-2); }
.linkrow p { margin: 2px 0; font-family: var(--serif); }
.linklist { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.linkitem { background: var(--card); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); }
.li-k { font-family: var(--serif); font-weight: 700; }
.li-claim, .li-link { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }
.li-claim b { color: var(--ink); font-family: var(--serif); }
.starpick { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-2); cursor: pointer; width: fit-content; font-size: 14px; color: var(--ink-2); background: #fff; }
.starpick input { position: absolute; opacity: 0; pointer-events: none; }
.star-b { color: var(--line-2); font-size: 18px; line-height: 1; transition: color .2s, transform .2s; }
.starpick.on { box-shadow: inset 0 0 0 1.5px var(--gold); background: #fff7e2; color: var(--ink); font-weight: 600; }
.starpick.on .star-b { color: var(--gold); transform: scale(1.25); }
.starpick.demo { margin-top: 12px; }
.pinned { position: relative; z-index: 2; width: min(460px, 80%); animation: rise 1s cubic-bezier(.2, .9, .3, 1.1); }
.pin-card { display: flex; flex-direction: column; gap: 6px; padding: 26px 26px 20px; background: #f7f3e6; transform: rotate(-2deg); border-radius: 4px;
  background-image: repeating-linear-gradient(transparent 0 29px, rgba(110, 130, 140, .25) 29px 30px); box-shadow: 0 14px 28px rgba(0, 0, 0, .35); }
.pin-k { font: 700 12.5px/1.6 var(--sans); color: var(--gold); letter-spacing: .1em; }
.pin-t { font-family: var(--kai); font-size: clamp(16px, 2.3vw, 20px); line-height: 1.6; color: var(--ink); }
.pin-who { font-size: 14px; color: var(--rose); }
.pin-glass { position: absolute; right: -40px; bottom: -36px; width: 120px; transform: rotate(-24deg); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35)); animation: pop .8s .9s both cubic-bezier(.3, 1.6, .5, 1); }
@media (max-width: 600px) { .pin-glass { width: 80px; right: -10px; bottom: -40px; } }
.jcards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; } @media (max-width: 720px) { .jcards { grid-template-columns: 1fr; } }

/* ---------- 第 4 站 · 镜湖 ---------- */
.marked .k-stance, .lg.k-stance, .marked .k-opp, .lg.k-opp, .marked .k-cond, .lg.k-cond { background: var(--blue-l); box-shadow: 0 2px 0 var(--blue); }
.marked .k-reason, .lg.k-reason, .marked .k-reply, .lg.k-reply, .marked .k-notfor, .lg.k-notfor { background: var(--green-l); box-shadow: 0 2px 0 var(--green); }
.marked .k-change, .lg.k-change { background: var(--rose-l); box-shadow: 0 2px 0 var(--rose); }
.is-reflection { transform: scaleY(-1); opacity: .28; pointer-events: none; }
.lake-mirror { position: absolute; right: 7%; top: 9%; width: min(120px, 15%); z-index: 2; animation: lensIn 1.1s .3s cubic-bezier(.3, 1.5, .5, 1) both; }
.lake-mirror img { filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)); transform: rotate(-10deg); }
.lake-figs { position: absolute; right: 22%; top: 18%; height: 38%; display: flex; flex-direction: column; align-items: center; z-index: 1; opacity: .85; }
.lake-fig { height: 100%; width: auto; max-width: none; }
.lake-fig.is-reflection { opacity: .22; margin-top: -2px; }
@media (max-width: 600px) { .lake-figs { display: none; } }
.demo-box .only-marked { display: none; }
.demo-box.marked .only-marked { display: block; }
.demo-box.marked span.only-marked { display: inline-block; }
.twoways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .twoways { grid-template-columns: 1fr; } }
.way { background: #fbf6ea; border-radius: 10px; padding: 12px 16px; box-shadow: inset 0 0 0 1px #d8cdb5; }
.way-k { font: 700 12.5px/1.6 var(--sans); color: var(--ink-2); letter-spacing: .1em; }
.way-tag { margin-left: 8px; color: #fff; border-radius: 999px; padding: 0 8px; letter-spacing: 0; }
.way-tag.fake { background: var(--muted); } .way-tag.real { background: var(--green); }
.way p { font-family: var(--serif); font-size: 16.5px; margin: 6px 0; }
.way-prob { font-size: 13.5px; color: var(--wine); }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0; }
@media (max-width: 600px) { .sides { grid-template-columns: 1fr; } }
.sidecard { border: 0; text-align: left; background: var(--card); border-radius: 12px; padding: 12px 16px; box-shadow: inset 0 0 0 1.5px var(--line-2), var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.sidecard.on { box-shadow: inset 0 0 0 2px var(--blue), var(--shadow); background: #eef4f7; }
.sd-k { font-size: 12.5px; color: var(--muted); }
.sidecard b { font-family: var(--serif); font-size: 17px; }
.oppline { font-family: var(--serif); color: var(--wine); margin: 4px 2px 10px; min-height: 1.4em; }
.restate .rs-k { font: 700 12.5px/1.6 var(--sans); color: var(--ink-2); margin-top: 6px; }
.restate p { font-family: var(--serif); margin: 2px 0 6px; }
.signed { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding: 8px 14px; border-radius: 10px; background: #fbf5e6; border: 1px dashed var(--line-2); }
.sig-k { font-size: 13px; color: var(--muted); }
.sig { font-family: var(--kai); font-size: 20px; color: var(--blue); transform: rotate(-2deg); display: inline-block; }
.signed.self { margin-top: 12px; }
.mirrorbox { margin-top: 18px; }
.mirrorbox > .btn { display: block; margin: 0 auto; }
.mirror-frame { position: relative; border-radius: 120px / 40px; padding: 26px 36px; text-align: center; color: #33424c;
  background: radial-gradient(ellipse at 30% 25%, #ffffff, #e3ecf1 45%, #c8d6de); box-shadow: 0 0 0 6px #d9c49a, 0 0 0 8px #a98b52, 0 12px 26px rgba(60, 70, 80, .25); }
.mf-k { font: 700 12.5px/1.6 var(--sans); color: #5a6c78; letter-spacing: .08em; }
.mf-t { font-family: var(--serif); font-size: 16.5px; line-height: 1.85; margin: 6px 0 0; text-align: left; }
@media (max-width: 600px) { .mirror-frame { border-radius: 60px / 24px; padding: 20px 20px; } }
.ratebox { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 4px 16px 14px; margin-top: 14px; }
.scores { display: flex; gap: 8px; margin: 4px 0 6px; }
.score { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 700 17px/1 var(--serif); color: var(--ink-2); }
.score.on { background: var(--blue); color: #fff; box-shadow: none; }
.rewrite { margin-top: 10px; }
.resps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 10px; }
@media (max-width: 700px) { .resps { grid-template-columns: 1fr; } }
.resp { border: 0; text-align: left; background: var(--card); border-radius: 12px; padding: 10px 14px; box-shadow: inset 0 0 0 1.5px var(--line-2); display: flex; flex-direction: column; gap: 3px; }
.resp.on { box-shadow: inset 0 0 0 2px var(--green); background: #f3f7ee; }
.resp b { font-family: var(--serif); font-size: 15.5px; }
.rp-eg { font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.para { font-family: var(--serif); font-size: 16.5px; line-height: 1.9; }
.changeif { font-family: var(--serif); margin: 10px 0 0 66px; }
.v2form .tpl { margin: 8px 0; }
.lakecard { display: flex; flex-direction: column; gap: 6px; width: min(560px, 86vw); padding: 20px 24px; border-radius: 14px; background: rgba(255, 250, 240, .95); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); text-align: left; }
.lc-k { font: 700 12.5px/1.6 var(--sans); color: var(--blue); letter-spacing: .1em; }
.lc-t { font-family: var(--kai); font-size: clamp(16px, 2.3vw, 20px); line-height: 1.65; color: var(--ink); }
.lc-c { font-size: 14px; color: var(--ink-2); }
.reflect { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; animation: rise 1s cubic-bezier(.2, .9, .3, 1.1); }
.reflect > .is-reflection { margin-top: 6px; opacity: .2; box-shadow: none; }
.end-reflect { margin-top: 6%; }

/* ---------- 第 5 站 · 石桥谷 ---------- */
.marked .k-link, .lg.k-link, .marked .k-gist, .lg.k-gist { background: var(--gold-l); box-shadow: 0 2px 0 var(--gold); }
.hero-bridge { position: absolute; right: 6%; top: 10%; width: min(200px, 22%); z-index: 2; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)); animation: lensIn 1.1s .3s cubic-bezier(.3, 1.5, .5, 1) both; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .twocol { grid-template-columns: 1fr; } }
.col { background: #fbf6ea; border-radius: 10px; padding: 12px 16px; box-shadow: inset 0 0 0 1px #d8cdb5; }
.col-k { font: 700 12.5px/1.6 var(--sans); color: var(--ink-2); letter-spacing: .1em; }
.col-tag { margin-left: 8px; color: #fff; border-radius: 999px; padding: 0 8px; letter-spacing: 0; }
.col-tag.side { background: var(--muted); } .col-tag.push { background: var(--green); }
.col ol { margin: 6px 0 0; padding-left: 1.4em; font-family: var(--serif); font-size: 15.5px; }
.col li { margin: 5px 0; }
.col li.hardrow { color: var(--wine); }
.kinds { display: flex; flex-wrap: wrap; }
/* 石墩和桥 */
.chain { display: flex; flex-direction: column; align-items: stretch; max-width: 720px; margin: 8px auto 0; }
.pier { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px 12px 14px; border-radius: 14px;
  background: linear-gradient(#efe7d6, #e2d7c0); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .08), 0 3px 8px rgba(80, 60, 30, .16);
 }
.pier.hard { box-shadow: inset 0 0 0 2px var(--gold), inset 0 -4px 0 rgba(0, 0, 0, .08), 0 3px 8px rgba(80, 60, 30, .16); }
.pier-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #6e6457; color: #fff; font: 700 14px/1 var(--serif); margin-top: 2px; }
.pier-b { flex: 1; font-family: var(--serif); font-size: 16px; }
.pier-b .inp { font-family: var(--serif); }
.pier-line { margin: 2px 0; }
.pier-tools { display: flex; gap: 10px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.starbtn { border: 0; background: none; font-size: 13.5px; color: var(--muted); padding: 2px 0; }
.starbtn.on { color: var(--gold); font-weight: 700; }
.hardtag { display: inline-block; font: 700 12px/1.6 var(--sans); color: #fff; background: var(--gold); border-radius: 999px; padding: 0 8px; margin: 0 6px 4px 0; }
.bridge { position: relative; display: flex; flex-direction: column; align-items: center; padding: 8px 0 10px; }
.br-arch { width: 110px; height: 30px; border: 6px solid #9a8a72; border-bottom: 0; border-radius: 60px 60px 0 0; background: transparent; }
.bridge.good .br-arch { border-color: #8f7f66; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35); }
.bridge.none .br-arch { border-style: dashed; border-color: var(--line-2); }
.bridge.weak .br-arch { border-color: var(--wine); border-style: dashed; transform: rotate(-4deg); opacity: .7; }
.br-word { margin-top: -4px; font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--ink); background: var(--paper); padding: 0 10px; border-radius: 999px; }
.bridge.none .br-word { color: var(--muted); font-weight: 500; font-size: 13px; }
.bridge.weak .br-word { color: var(--wine); }
.br-note { font-size: 12.5px; color: var(--wine); margin-top: 2px; }
.br-pick, .br-judge { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 4px; margin-top: 6px; max-width: 520px; }
.br-judge .inp { margin-top: 4px; }
.chip.sm { padding: 3px 12px; font-size: 13.5px; }
.chip.weakchip { color: var(--wine); }
.chip.weakchip.on { background: var(--rose-l); box-shadow: inset 0 0 0 1.5px var(--wine); }
.addpier { align-self: center; margin-top: 14px; }
/* 专注写作 */
body.focusing { overflow: hidden; }
.focus { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: 300px 1fr; background: #f3ecdb; animation: fadein .3s; }
.fm-side { overflow-y: auto; padding: 20px 18px; background: #eae0c8; border-right: 1px solid var(--line-2); }
.fm-t { font-family: var(--serif); font-weight: 700; margin-bottom: 10px; color: var(--ink-2); }
.fm-m { background: #fbf6ea; border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; box-shadow: inset 0 0 0 1px #d8cdb5; }
.fm-m b { font-size: 12.5px; color: var(--blue); }
.fm-m p { margin: 2px 0 0; font-family: var(--serif); font-size: 14.5px; line-height: 1.7; }
.fm-main { display: flex; flex-direction: column; padding: 16px 24px 24px; min-width: 0; }
.fm-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.fm-bar b { font-family: var(--serif); font-size: 18px; flex: 1; }
.fm-clock { font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 700; }
.fm-ta { flex: 1; width: 100%; border: 0; border-radius: 12px; padding: 22px 26px; resize: none; font: 19px/2 var(--serif); color: var(--ink);
  background: #fffdf7; box-shadow: inset 0 0 0 1px var(--line), 0 6px 18px rgba(80, 60, 30, .08); background-image: repeating-linear-gradient(transparent 0 37px, rgba(110, 130, 140, .16) 37px 38px); background-attachment: local; }
.fm-ta:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--blue), 0 6px 18px rgba(80, 60, 30, .08); }
@media (max-width: 760px) { .focus { grid-template-columns: 1fr; grid-template-rows: auto 1fr; } .fm-side { max-height: 32vh; border-right: 0; border-bottom: 1px solid var(--line-2); padding: 12px 14px; } .fm-main { padding: 12px 14px; } .fm-ta { font-size: 17px; padding: 14px 16px; } }
.focus-call { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 4px 16px 12px; margin-bottom: 12px; }
.firstlines { font-family: var(--serif); padding-left: 1.4em; margin: 0; }
.firstlines li { margin: 4px 0; }
.gist { margin-top: 12px; }
.gs-k { font: 700 12.5px/1.6 var(--sans); color: var(--ink-2); }
.gist p { font-family: var(--serif); font-size: 17px; margin: 2px 0; }
/* 收尾：横跨山谷的一排石墩 */
.span-row { position: relative; z-index: 2; display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 0; max-width: 86%; padding: 18px 22px; border-radius: 16px; background: rgba(255, 250, 240, .88); box-shadow: 0 14px 30px rgba(0, 0, 0, .28); animation: rise 1s cubic-bezier(.2, .9, .3, 1.1); }
.sr-st { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font: 700 18px/1 var(--serif); color: #fff; background: #6e6457; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2); }
.sr-st.hard { background: var(--gold); }
.sr-br { position: relative; min-width: 58px; padding: 0 6px; height: 46px; display: flex; align-items: flex-start; justify-content: center; font: 700 13px/1 var(--serif); color: var(--ink-2); padding-top: 0; margin-top: -10px; }
.sr-br::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 14px; border: 4px solid #8f7f66; border-bottom: 0; border-radius: 30px 30px 0 0; }
.sr-br.broken { color: var(--wine); }
.sr-br.broken::after { border-color: var(--wine); border-style: dashed; }
.reward-n { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font: 700 28px/1 var(--serif); color: #fff; background: #6e6457; flex: none; }
.rules { margin: 4px 0 8px; padding-left: 1.3em; font-size: 14px; color: var(--ink-2); }
.joutline { padding-left: 1.4em; font-family: var(--serif); }
.joutline li { margin: 6px 0; }
.joutline li.hard { color: var(--ink); }
.draft { white-space: pre-wrap; font-family: var(--serif); font-size: 15.5px; line-height: 1.9; max-height: 420px; overflow-y: auto; background: #fbf7ee; border-radius: 10px; padding: 12px 16px; }

/* ---------- 第 6 站 · 守望塔 ---------- */
.marked .k-hit, .lg.k-hit, .marked .k-how, .lg.k-how { background: var(--gold-l); box-shadow: 0 2px 0 var(--gold); }
.marked .k-restate, .lg.k-restate, .marked .k-v3, .lg.k-v3 { background: var(--blue-l); box-shadow: 0 2px 0 var(--blue); }
.hero-scale { position: absolute; right: 6%; top: 8%; width: min(150px, 17%); z-index: 2; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)); animation: lensIn 1.1s .3s cubic-bezier(.3, 1.5, .5, 1) both; }
.tower-readers { position: absolute; right: 18%; bottom: 0; height: 62%; display: flex; gap: 0; z-index: 1; }
.tower-readers img { height: 100%; width: auto; max-width: none; margin-left: -4%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)); }
@media (max-width: 700px) { .tower-readers { display: none; } }
.rules { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 16px; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.rules-t { font-family: var(--serif); font-weight: 700; }
.rules .check { box-shadow: none; background: #fbf7ee; }
.readers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
@media (max-width: 700px) { .readers { grid-template-columns: 1fr; } }
.reader { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 14px; }
.reader img { width: 52px; height: 52px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--line-2); }
.reader b { font-family: var(--serif); }
.reader ul { margin: 4px 0 0; padding-left: 1.1em; font-size: 14px; color: var(--ink-2); }
.deckbox { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 16px 14px; margin-top: 14px; }
.deck-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.deck-head img { width: 44px; height: 44px; border-radius: 50%; }
.deck-head b { font-family: var(--serif); font-size: 17px; margin-right: 8px; }
.deck-head span { font-size: 13px; color: var(--muted); }
.deck { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 820px) { .deck { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .deck { grid-template-columns: 1fr; } }
.qcard2 { border: 0; text-align: left; border-radius: 10px; padding: 10px 12px; background: #fbf7ee; box-shadow: inset 0 0 0 1.2px var(--line); display: flex; flex-direction: column; gap: 3px; transition: transform .15s; }
.qcard2:hover { transform: translateY(-2px); }
.qcard2.on { background: #fff4d6; box-shadow: inset 0 0 0 2px var(--gold); }
.qcard2.own { background: #fff; box-shadow: inset 0 0 0 1.2px dashed var(--line-2); border: 1.2px dashed var(--line-2); }
.qk2 { font: 700 11px/1.6 var(--sans); color: var(--muted); }
.qq { font-family: var(--serif); font-size: 15px; line-height: 1.6; }
.hitbox { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 4px; }
.mk6 { margin-left: 8px; font: 700 11.5px/1.7 var(--sans); color: #fff; border-radius: 999px; padding: 0 8px; }
.mk6.go { background: var(--green); } .mk6.repeat { background: var(--wine); }
.flgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; margin-top: 10px; }
@media (max-width: 820px) { .flgrid { grid-template-columns: 1fr; } }
.firsts { display: flex; flex-direction: column; gap: 8px; }
.fl { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); border-left: 5px solid var(--line); }
.fl.m-go { border-left-color: var(--green); } .fl.m-repeat, .fl.m-break { border-left-color: var(--wine); }
.fl-b { flex: 1; } .fl-b p { margin: 2px 0 4px; font-family: var(--serif); font-size: 16px; }
.oldoutline { background: #fbf6ea; border-radius: 12px; padding: 10px 14px; box-shadow: inset 0 0 0 1px #d8cdb5; position: sticky; top: 76px; }
.oldoutline ol { margin: 4px 0 0; padding-left: 1.3em; font-family: var(--serif); font-size: 14.5px; color: var(--ink-2); }
.plan { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.plan-h { display: grid; grid-template-columns: 1.2fr .7fr 1.3fr; background: #f1e8d3; font: 700 13px/1.6 var(--sans); color: var(--ink-2); }
.plan-h span { padding: 8px 12px; }
.plan-r { display: grid; grid-template-columns: 1.2fr .7fr 1.3fr; border-top: 1px dashed var(--line); }
.pc { padding: 10px 12px; font-family: var(--serif); font-size: 15px; }
.pc-k { display: none; font: 700 12px/1.6 var(--sans); color: var(--muted); }
@media (max-width: 700px) { .plan-h { display: none; } .plan-r { grid-template-columns: 1fr; } .pc-k { display: block; } .pc { padding: 6px 14px; } }
.towercard { position: relative; z-index: 2; width: min(600px, 88%); background: rgba(255, 250, 240, .95); border-radius: 14px; padding: 16px 20px; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); display: flex; flex-direction: column; gap: 10px; animation: rise 1s cubic-bezier(.2, .9, .3, 1.1); }
.tc-k { font: 700 12.5px/1.6 var(--sans); color: var(--gold); letter-spacing: .1em; }
.tc-row { display: flex; gap: 10px; align-items: flex-start; }
.tc-row img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.tc-row b { display: block; font-family: var(--serif); font-size: 15.5px; }
.tc-row span { font-family: var(--kai); font-size: 15.5px; color: var(--ink-2); }
.tower-scale { position: absolute; right: 8%; bottom: 12%; width: min(130px, 16%); z-index: 2; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35)); animation: pop .8s .8s both cubic-bezier(.3, 1.6, .5, 1); }
.ailog { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 18px 16px; margin-top: 16px; border-top: 4px solid var(--blue); }
.ai-t { font-family: var(--serif); font-weight: 700; font-size: 17px; }
.ai-list { padding-left: 1.3em; font-size: 14.5px; }
.ai-list li { margin: 8px 0; }
.ai-new { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 4px; }
.ai-new .btn { margin-top: 8px; }
.check.noai { margin-top: 12px; box-shadow: none; background: #fbf7ee; }

/* ---------- 登录、同步、演示模式 ---------- */
.booting { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--ink-2); font-family: var(--serif); }
.booting img { width: 90px; animation: pop 1s both; }
.inp.code { font: 700 26px/1.2 var(--serif); letter-spacing: .4em; text-align: center; }
.demo-code { margin: 10px 0 0; background: #fff4d6; border: 1px dashed var(--gold); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.demo-code b { font-size: 20px; letter-spacing: .2em; color: var(--wine); }
.demo-box2 { margin-top: 16px; background: #f3ecdc; border: 1px dashed var(--line-2); border-radius: 10px; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.demo-box2 b { font-size: 13px; color: var(--wine); letter-spacing: .1em; }
.login-card .link { display: block; margin: 8px auto 0; }
.sync { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 6px; vertical-align: 1px; }
.sync.off { background: var(--gold); }
.badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--wine); color: #fff; font: 700 11px/1 var(--sans); margin-left: 4px; vertical-align: 1px; }
.badge[hidden] { display: none; }

/* ---------- 同学互审 ---------- */
.rv-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.rv-tabs a { text-decoration: none; color: var(--ink-2); padding: 6px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--card); }
.rv-tabs a.on { background: var(--ink); color: #fff; box-shadow: none; }
.rv-empty { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; text-align: center; color: var(--muted); margin-top: 12px; }
.rv-card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 18px 16px; margin-top: 14px; }
.rv-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.rv-head img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.rv-head > div { flex: 1; display: flex; flex-direction: column; }
.rv-head b { font-family: var(--serif); font-size: 16.5px; }
.rv-badge { flex: none; font: 700 12px/1.6 var(--sans); padding: 1px 10px; border-radius: 999px; color: #fff; background: var(--muted); }
.rv-badge.s-ask { background: var(--gold); } .rv-badge.s-confirm { background: var(--blue); } .rv-badge.s-done { background: var(--green); } .rv-badge.s-wait { background: var(--muted); } .rv-badge.s-late { background: var(--wine); }
.rv-rules { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.rv-rules span { font-size: 12.5px; background: #f6efdf; border-radius: 999px; padding: 2px 10px; color: var(--ink-2); }
.rv-role { background: #fbf6ea; border-radius: 10px; padding: 8px 12px; box-shadow: inset 0 0 0 1px #d8cdb5; font-size: 14px; margin-bottom: 8px; }
.rv-role ul { margin: 4px 0 0; padding-left: 1.2em; }
.rv-draft { max-height: 460px; overflow-y: auto; border-radius: 10px; background: #fffdf7; box-shadow: inset 0 0 0 1px var(--line); padding: 6px; margin: 6px 0 4px; }
.rv-p { display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; transition: background .15s; }
.rv-p:hover { background: #f8f2e3; }
.rv-p.on { background: #fff4d6; box-shadow: inset 3px 0 0 var(--gold); }
.rv-pn { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #6e6457; color: #fff; font: 700 12px/1 var(--sans); margin-top: 4px; }
.rv-p.on .rv-pn { background: var(--gold); }
.rv-p p { margin: 0; font-family: var(--serif); font-size: 15.5px; line-height: 1.9; }
.rv-note { background: #f3ecdc; border-radius: 8px; padding: 6px 12px; font-size: 14px; margin: 6px 0; }
.rv-qa { margin-top: 10px; }
.rv-k { font: 700 12.5px/1.6 var(--sans); color: var(--ink-2); }
.rv-qa p { margin: 2px 0; font-family: var(--serif); font-size: 16px; }
.rv-q { font-size: 17px !important; }
.rv-confirm { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.rv-rate { margin: 4px 0 8px; }
.rv-submit { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 16px; margin-bottom: 6px; }
.peerbox { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 18px 16px; margin-top: 16px; border-top: 4px solid var(--green); }
.end-btns.left { justify-content: flex-start; margin: 10px 0 6px; }
.ainote { border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 4px; }

/* ---------- 老师页面 ---------- */
.teacher-page .jsec h3 { margin-bottom: 4px; }
.t-add { display: grid; grid-template-columns: 1fr 220px; gap: 10px; margin: 8px 0 12px; align-items: start; }
.t-add > div { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 600px) { .t-add { grid-template-columns: 1fr; } }
.t-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; display: block; overflow-x: auto; }
.t-table th { text-align: left; font-weight: 700; color: var(--ink-2); background: #f3ecdc; padding: 6px 10px; white-space: nowrap; }
.t-table td { padding: 6px 10px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.t-table .ok { color: var(--green); } .t-table .mid { color: var(--gold); font-weight: 700; } .t-table .muted { color: var(--muted); }
.t-st { text-align: center; }
.t-act { white-space: nowrap; }
.t-q { max-width: 320px; font-family: var(--serif); }
.link.danger { color: var(--wine); }
.t-sub { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 6px 0 10px; font-size: 14px; }
.t-sub .chip { cursor: default; }
.t-preview { margin: 8px 0; }
.t-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.t-row .inp { width: 70px; }

/* ---------- 第 7 站 · 灯塔 ---------- */
.hero-lamp { position: absolute; right: 9%; top: 8%; width: min(110px, 13%); z-index: 2; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)); animation: lensIn 1.1s .3s cubic-bezier(.3, 1.5, .5, 1) both; }
.lh-glow { position: absolute; right: 4%; top: 0; width: 34vmin; height: 34vmin; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(255, 222, 140, .55), rgba(255, 200, 100, .15) 45%, rgba(255, 200, 100, 0) 70%); animation: flicker 3.4s ease-in-out infinite; opacity: .5; }
.readlist { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.rd { display: flex; gap: 10px; background: var(--card); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); border-left: 5px solid var(--line); }
.rd.marked { border-left-color: var(--gold); }
.rd.weak { border-left-color: var(--wine); background: #fbf3ef; }
.rd-b { flex: 1; } .rd-b p { margin: 0 0 4px; font-family: var(--serif); font-size: 15.5px; line-height: 1.9; }
.closed { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #3f3a33; color: #f6ecd6; border-radius: 12px; padding: 10px 16px; margin-bottom: 12px; }
.cl-i { font-family: var(--serif); font-weight: 700; }
.closed .small { color: #e2d4b6; }
.rewrite-grid { display: grid; grid-template-columns: 280px 1fr; gap: 16px; align-items: start; }
.rw-side { display: flex; flex-direction: column; gap: 0; }
@media (max-width: 760px) { .rewrite-grid { grid-template-columns: 1fr; } }
.oldend { background: #fbf6ea; border-radius: 10px; padding: 8px 14px; box-shadow: inset 0 0 0 1px #d8cdb5; margin-bottom: 8px; }
.oldend p { margin: 2px 0; font-family: var(--serif); color: var(--ink-2); }
.fixrow { display: flex; gap: 10px; align-items: baseline; margin: 6px 0; }
.fx-k { flex: none; font: 700 12px/1.7 var(--sans); background: var(--paper-2); border-radius: 6px; padding: 0 8px; color: var(--ink-2); }
.fixrow p { margin: 0; font-family: var(--serif); }
.finalgrid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; margin-top: 8px; }
@media (max-width: 860px) { .finalgrid { grid-template-columns: 1fr; } }
.finalta { font: 16px/2 var(--serif); }
.scanbox { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 10px 14px; position: sticky; top: 76px; max-height: 80vh; overflow-y: auto; }
.scan-t { font-family: var(--serif); font-weight: 700; margin: 6px 0; }
.hit { border-radius: 10px; padding: 6px 10px; background: #fbf7ee; margin-bottom: 8px; border-left: 4px solid var(--gold); }
.hit.done { border-left-color: var(--green); }
.hit p { margin: 0 0 4px; font-family: var(--serif); font-size: 14.5px; }
.hit mark { background: var(--gold-l); box-shadow: 0 2px 0 var(--gold); color: inherit; }
.checks.facts .check { padding: 6px 10px; box-shadow: none; background: #fbf7ee; }
.checks.facts .ct { font-size: 14px; font-family: var(--serif); }
.subchecks { display: flex; flex-direction: column; gap: 6px; }
.subrow { display: grid; grid-template-columns: 26px 1fr auto 30px; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #fbf7ee; }
.subrow.ok { background: #f3f7ee; } .subrow.miss { background: #fbf0ec; }
.sub-n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #6e6457; color: #fff; font: 700 12px/1 var(--sans); }
.sub-name { font-family: var(--serif); }
.sub-st { font-size: 13px; color: var(--ink-2); text-align: right; }
.sub-mk { font-weight: 700; text-align: center; }
.subrow.ok .sub-mk { color: var(--green); } .subrow.miss .sub-mk { color: var(--wine); font-size: 13px; }
@media (max-width: 600px) { .subrow { grid-template-columns: 26px 1fr 30px; } .sub-st { grid-column: 2 / 4; text-align: left; } }
.rubric { list-style: none; margin: 0; padding: 0; }
.rubric li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-family: var(--serif); }
.rubric b { flex: none; color: var(--gold); }
.lamp-wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lamp-big { width: min(150px, 30vw); filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .35)); opacity: .75; transition: opacity .6s; }
.lamp-t { font-family: var(--kai); font-size: clamp(20px, 3vw, 28px); color: #fff8e6; text-shadow: 0 2px 8px rgba(0, 0, 0, .55); }
.hero.lighthouse.lit .lamp-big { opacity: 1; animation: pop .8s both cubic-bezier(.3, 1.6, .5, 1); }
.hero.lighthouse.lit .lh-glow { right: auto; left: 50%; top: 50%; width: 70vmin; height: 70vmin; transform: translate(-50%, -50%); opacity: 1; animation: litglow 3s ease-in-out infinite; }
@keyframes litglow { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.draft.tall { max-height: 60vh; }

.hero.lighthouse.lit .lh-glow { background: radial-gradient(circle, rgba(255, 226, 150, .85), rgba(255, 205, 110, .35) 40%, rgba(255, 200, 100, 0) 70%); }

/* ---------- 回望台 · 复盘（2026-11-23） ---------- */
/* T15 画好以前，用地图右上角（回望台在那里）放大当场景 */
.hero.rv-hero { background-size: 230% auto; background-position: 96% 0%; }
.hero.rv-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 248, 228, .05), rgba(60, 45, 30, .28)); pointer-events: none; }
.hero-journal { position: absolute; right: 7%; top: 9%; width: min(140px, 16%); z-index: 2; transform: rotate(-8deg); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)); animation: lensIn 1.1s .3s cubic-bezier(.3, 1.5, .5, 1) both; }
.st-page .hero.end.rv-hero::after { background: radial-gradient(ellipse at center, rgba(255, 245, 210, .45), rgba(40, 30, 20, .35)); }
.book-big { width: min(170px, 34vw); filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .35)); transition: transform .8s; }
.hero.rv-hero.closed-book .book-big { animation: pop .8s both cubic-bezier(.3, 1.6, .5, 1); }

/* 老师的反馈单 */
.fb-sheet { position: relative; background: #fffaf0; border-radius: var(--r); padding: 16px 20px 14px; margin: 12px 0 16px;
  box-shadow: inset 0 0 0 1px #d8cdb5, inset 0 0 0 6px #fffaf0, inset 0 0 0 7px var(--gold-l), var(--shadow); }
.fb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line-2); padding-bottom: 8px; margin-bottom: 10px; }
.fb-head > b { font-family: var(--kai); font-size: 21px; letter-spacing: .08em; color: var(--ink); }
.fb-total { font-family: var(--serif); color: var(--ink-2); }
.fb-total b { font-size: 24px; color: var(--wine); }
.fb-dims { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.fb-dim { background: #fbf4e3; border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; }
.fb-q { font-size: 12.5px; line-height: 1.5; color: var(--ink-2); flex: 1; }
.fb-sc b { font: 700 22px/1 var(--serif); color: var(--ink); }
.fb-sc span { font-size: 12.5px; color: var(--muted); }
.fb-basis { font-size: 12.5px; line-height: 1.5; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 4px; }
@media (max-width: 760px) { .fb-dims { grid-template-columns: 1fr 1fr; } }
.fb-row { margin-top: 12px; padding: 8px 12px 6px; border-radius: 10px; border-left: 5px solid var(--line-2); background: #fbf6ea; }
.fb-row p { margin: 2px 0 4px; font-family: var(--serif); line-height: 1.8; }
.fb-row .fb-quote { font-family: var(--kai); font-size: 16.5px; }
.fb-k { font: 700 12.5px/1.6 var(--sans); color: var(--ink-2); }
.fb-row.best { border-left-color: var(--green); } .fb-row.best .fb-k { color: var(--green); }
.fb-row.fix { border-left-color: var(--wine); } .fb-row.fix .fb-k { color: var(--wine); }
.fb-row.ask { border-left-color: var(--blue); } .fb-row.ask .fb-k { color: var(--blue); }
.fb-row.solo { margin: 0 0 14px; box-shadow: var(--shadow); background: var(--card); }
.teacher-track { margin-top: 10px; }

/* 一直没开口的人：只有声音 */
.voice-card { position: relative; margin: 12px 0 14px; padding: 18px 22px 14px; border-radius: var(--r); color: #f2e8d2;
  background: radial-gradient(ellipse at 20% 0%, rgba(255, 230, 170, .10), rgba(255, 230, 170, 0) 55%), linear-gradient(160deg, #2e2f39, #45404f 60%, #3a3442); box-shadow: var(--shadow-lg); }
.vc-who { font: 700 14px/1.6 var(--sans); color: #e6d3a8; letter-spacing: .06em; }
.vc-who .imagined { background: rgba(255, 255, 255, .12); color: #f2e8d2; }
.vc-lines p { margin: 10px 0 0; font-family: var(--kai); font-size: clamp(16.5px, 2.2vw, 19px); line-height: 1.85; opacity: 0; animation: vcIn 1s ease-out forwards; }
.vc-src { margin-top: 12px; font-size: 12px; color: #b9ad97; }
@keyframes vcIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vc-lines p { animation: none; opacity: 1; } }
.chips.pick { align-items: center; gap: 6px; margin-bottom: 8px; }
.finalpeek { margin: 0 0 12px; background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 8px 14px; }
.finalpeek summary { cursor: pointer; font-weight: 700; color: var(--blue); padding: 4px 0; }
.finalpeek .readlist { max-height: 46vh; overflow-y: auto; padding-bottom: 6px; }
.finalpeek .rd { box-shadow: none; background: #fbf7ee; }

/* 四次看法、确定程度 */
.trail { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 4px 16px 14px; }
.trail .vrow { align-items: flex-start; }
.trail .vrow p { font-size: 15.5px; line-height: 1.75; }
.sbars { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 10px 16px; }
.sbar { display: grid; grid-template-columns: 70px 1fr 36px; gap: 10px; align-items: center; font-size: 14px; }
.sb-track { height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.sb-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-l), var(--gold)); }
.sbar b { text-align: right; font-family: var(--serif); }

/* 带走的工具 */
.toolpick { gap: 6px; }
.chip.tchip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 4px; }
.chip.tchip img { width: 28px; height: 28px; object-fit: contain; }
.takeaway { display: flex; gap: 14px; align-items: center; }
.takeaway img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.takeaway p { margin: 2px 0 0; font-family: var(--serif); }

/* 老师写反馈单 */
.modal-card.wide:has(.note-ed) { width: min(1120px, 100%); }
.nt-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; margin-top: 8px; }
.nt-l, .nt-r { max-height: 64vh; overflow-y: auto; padding-right: 4px; }
.nt-text .rd { box-shadow: none; background: #fbf7ee; }
.nt-text .chip { margin-top: 2px; }
.nt-k { font: 700 13px/1.6 var(--sans); color: var(--ink-2); margin: 12px 0 4px; display: flex; justify-content: space-between; }
.nt-k:first-child { margin-top: 0; }
.nt-total b { color: var(--wine); font-family: var(--serif); font-size: 16px; }
.nt-dim { display: grid; grid-template-columns: 82px 64px 30px 1fr; gap: 6px; align-items: center; margin-bottom: 6px; }
.nt-dn { font-size: 14px; }
.inp.score { padding: 6px 8px; text-align: center; font: 700 16px/1.2 var(--serif); }
.nt-r .inp { font-size: 14.5px; }
@media (max-width: 860px) { .nt-grid { grid-template-columns: 1fr; } .nt-l, .nt-r { max-height: none; } .nt-dim { grid-template-columns: 82px 64px 30px; } .nt-dim .inp:last-child { grid-column: 1 / -1; } }

/* ---------- 老师诊断页（2026-11-23） ---------- */
.dg-tabs { flex-wrap: wrap; justify-content: center; margin: 4px 0 16px; }
.dg-table td { vertical-align: top; }
.dg-hot { color: var(--wine); font-weight: 700; }
.dg-bar { display: inline-block; vertical-align: middle; width: 70px; height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.dg-bar i { display: block; height: 100%; border-radius: 999px; background: var(--green); }
.dg-bar.warm i { background: linear-gradient(90deg, var(--gold-l), var(--wine)); }
.dg-un summary { cursor: pointer; color: var(--wine); font-weight: 700; }
.dg-un ul { margin: 4px 0 0; padding-left: 1.2em; font-size: 13px; white-space: normal; min-width: 200px; }
.dg-ai { display: block; margin: 14px auto 0; }
.dg-who { gap: 6px; margin-bottom: 12px; }
.dg-sel { max-width: 420px; margin: 6px 0 10px; }
.dg-q p { margin: 0 0 6px; font-family: var(--serif); color: var(--blue); }
.dg-words { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.dg-easy { margin-top: 10px; } .dg-easy summary { cursor: pointer; color: var(--ink-2); font-size: 14px; }
