/* 《奥德赛》Vol.01 · 纸本人文杂志
 * 暖白纸、宋体、只用红与黑；严格网格，偶尔故意打破。
 */
:root {
  --paper: #f4eee3;
  --paper-2: #ebe3d4;
  --paper-3: #e1d7c5;
  --ink: #1d1915;
  --ink-2: #4b433a;
  --muted: #8b8073;
  --line: #d4c9b6;
  --red: #b42a2f;
  --red-soft: rgba(180, 42, 47, .14);

  --serif: "Songti SC", "STSongti-SC-Regular", "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "SimSun", serif;
  --display: "Didot", "Bodoni 72", "Bodoni MT", "Noto Serif Display", "Playfair Display", Georgia, serif;
  --hand: "Kaiti SC", "STKaiti", "KaiTi", "BiauKai", "Kaiti TC", cursive;
  --label: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* 纸纹 */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .38  0 0 0 0 .3  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
::selection { background: var(--red-soft); }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
em { font-style: normal; border-bottom: 1px solid var(--ink); }
[hidden] { display: none !important; }

.hand { font-family: var(--hand); color: var(--red); }
.link { color: var(--red); border-bottom: 1px solid currentColor; padding: 0 1px; font-size: inherit; }
.btn {
  display: inline-block; padding: 10px 22px; background: var(--ink); color: var(--paper);
  font-family: var(--label); font-size: 14px; letter-spacing: .12em; text-decoration: none;
  transition: background .2s;
}
.btn:hover { background: var(--red); }
.btn-ghost {
  display: inline-block; padding: 9px 18px; border: 1px solid var(--ink); font-family: var(--label);
  font-size: 13px; letter-spacing: .08em; text-decoration: none; transition: background .2s, color .2s;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.skip { font-family: var(--label); font-size: 12px; color: var(--muted); letter-spacing: .06em; border-bottom: 1px dotted; }
.skip:hover { color: var(--red); }

/* ───────── 顶栏 / 书签栏 / 页码 ───────── */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 48px;
  display: flex; align-items: center; gap: 18px; padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid transparent; transition: border-color .3s, transform .4s var(--ease);
  font-family: var(--label); font-size: 12px; letter-spacing: .14em;
}
.bar.on { border-bottom-color: var(--line); }
.bar.hide { transform: translateY(-100%); }
.bar-mast { font-family: var(--display); font-size: 18px; letter-spacing: .2em; text-decoration: none; }
.bar-mast span { font-family: var(--serif); font-size: 13px; letter-spacing: .3em; margin-left: 6px; }
.bar-issue { color: var(--muted); }
.bar-age { margin-left: auto; color: var(--red); font-family: var(--hand); font-size: 15px; letter-spacing: .02em; }
.bar-age + .bar-btn { margin-left: 0; }
.bar-btn { margin-left: auto; font-family: var(--label); font-size: 12px; letter-spacing: .3em; padding: 6px 0 6px 10px; }
.bar-btn:hover { color: var(--red); }

.rail {
  position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 22px; opacity: 0; transition: opacity .4s;
}
.rail.on { opacity: 1; }
.rail a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 13px; color: var(--muted); }
.rail i { display: block; width: 14px; height: 1px; background: currentColor; transition: width .3s var(--ease), background .3s; }
.rail span { opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s; white-space: nowrap; }
.rail:hover span, .rail a.on span { opacity: 1; transform: none; }
.rail a.on { color: var(--red); }
.rail a.on i { width: 30px; }
.rail a:hover { color: var(--ink); }

.folio {
  position: fixed; right: var(--gutter); bottom: 18px; z-index: 40;
  font-family: var(--display); font-size: 13px; letter-spacing: .2em; color: var(--muted);
  opacity: 0; transition: opacity .4s;
}
.folio.on { opacity: 1; }

.quick-banner {
  position: fixed; top: 48px; left: 0; right: 0; z-index: 49; text-align: center;
  padding: 6px; background: var(--ink); color: var(--paper); font-family: var(--label); font-size: 12px; letter-spacing: .1em;
}
.quick-banner button { color: #f1b9b3; margin-left: 10px; letter-spacing: .1em; }
body.quick section:not([data-quick]):not(.cover), body.quick #features, body.quick .colophon { display: none; }

/* ───────── 通用版块 ───────── */
main > section, .feature { position: relative; padding: clamp(80px, 12vh, 140px) var(--gutter); }
.sec-head { max-width: var(--max); margin: 0 auto clamp(36px, 6vh, 64px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.sec-kick {
  grid-column: 1 / -1; font-family: var(--label); font-size: 12px; letter-spacing: .32em; color: var(--red);
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--ink);
}
.sec-head h2 { grid-column: 1 / 10; font-size: clamp(30px, 4.2vw, 58px); line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
.sec-head h2 b { color: var(--red); font-family: var(--display); font-weight: 400; }
.sec-dek { grid-column: 1 / 8; margin-top: 16px; color: var(--ink-2); font-size: 1.05em; }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ───────── 封面 ───────── */
.cover {
  min-height: 100svh; padding-top: 72px !important; padding-bottom: 40px !important;
  display: grid; grid-template-rows: auto auto 1fr auto auto; overflow: hidden;
}
.cover-top {
  display: flex; justify-content: space-between; font-family: var(--label); font-size: 11px; letter-spacing: .24em;
  color: var(--ink-2); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 8px 0;
}
.cover-mast { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; line-height: .82; margin-top: 10px; }
.mast-en {
  font-family: var(--display); font-weight: 400; font-size: clamp(76px, 17.5vw, 290px); letter-spacing: -.035em;
  margin-left: -.04em; animation: mastIn 1.4s var(--ease) both;
}
.mast-zh {
  writing-mode: vertical-rl; font-size: clamp(26px, 3.6vw, 54px); letter-spacing: .3em; color: var(--red); font-weight: 700;
  margin-top: .3em; animation: fade 1.6s .4s both;
}
@keyframes mastIn { from { opacity: 0; letter-spacing: .08em; } to { opacity: 1; } }
@keyframes fade { from { opacity: 0; } }

.cover-body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-content: center; padding: 3vh 0; }
.cover-kicker { grid-column: 1 / 5; font-size: 15px; color: var(--ink-2); border-left: 2px solid var(--red); padding-left: 14px; align-self: end; }
.cover-line {
  grid-column: 5 / 13; font-size: clamp(40px, 6.6vw, 104px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em;
}
.cover-line b {
  font-family: var(--display); font-weight: 400; color: var(--red); font-size: 1.25em; display: inline-block; min-width: 1.15em;
  text-align: center; transition: transform .3s var(--ease);
}
.cover-line b.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: translateY(-8px) scale(1.06); } }
.cover-sample {
  grid-column: 5 / 13; margin-top: 18px; min-height: 3.6em; font-size: clamp(16px, 1.4vw, 20px); color: var(--ink-2);
  transition: opacity .4s;
}
.cover-sample.fade { opacity: 0; }
.cover-sample b { color: var(--ink); font-weight: 700; margin-right: .4em; }

.ruler-wrap { position: relative; padding-top: 58px; }
.ruler-hint { position: absolute; top: 0; left: 0; font-size: 18px; transform: rotate(-1.5deg); transition: opacity .5s; }
.ruler-hint.gone { opacity: 0; }
.ruler {
  position: relative; height: 84px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  cursor: ew-resize; touch-action: none; user-select: none; outline: none;
}
.ruler:focus-visible { box-shadow: 0 0 0 2px var(--red); }
.ruler-ticks { position: absolute; inset: 0; }
.ruler-ticks i { position: absolute; top: 0; width: 1px; height: 14px; background: var(--ink); }
.ruler-ticks i.m { height: 26px; }
.ruler-ticks i.l { height: 38px; }
.ruler-ticks span {
  position: absolute; top: 44px; transform: translateX(-50%); font-family: var(--display); font-size: 14px; color: var(--ink-2);
}
.ruler-needle {
  position: absolute; top: -10px; bottom: -10px; width: 2px; background: var(--red); left: 0; transform: translateX(-1px);
  transition: left .12s linear;
}
.ruler.drag .ruler-needle { transition: none; }
.ruler-needle span {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-family: var(--display); font-size: 18px; color: var(--red);
}
.ruler-needle::after {
  content: ""; position: absolute; bottom: -6px; left: 50%; width: 12px; height: 12px; background: var(--red);
  transform: translateX(-50%) rotate(45deg);
}
.cover-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; font-family: var(--label); font-size: 13px; letter-spacing: .14em; }
.cover-next { text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.cover-next:hover { color: var(--red); border-color: var(--red); }
.cover-quick { color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.cover-quick:hover { color: var(--red); }
.cover-lines {
  display: flex; gap: 28px; flex-wrap: wrap; margin-top: 22px; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted); letter-spacing: .08em;
}

/* ───────── 幕间页（撕纸） ───────── */
.act {
  min-height: 86vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper); text-align: center; overflow: hidden;
}
.act-flap {
  position: absolute; inset: -2px -2px 0; background: var(--paper); z-index: 2;
  clip-path: polygon(0 0, 100% 0, 100% 96%, 96% 98%, 92% 95.5%, 88% 98.5%, 83% 96%, 79% 99%, 74% 96.5%, 69% 98%, 64% 95.5%, 60% 98.5%, 55% 96%, 50% 99%, 46% 96%, 41% 98.5%, 36% 95.5%, 31% 98%, 27% 96%, 22% 99%, 17% 96.5%, 12% 98.5%, 8% 95.5%, 4% 98%, 0 96%);
  transform-origin: 20% 0; transition: transform 1.3s var(--ease), opacity 1.3s;
}
.act.torn .act-flap { transform: translateY(-104%) rotate(-3deg); }
.act-no { font-family: var(--display); font-size: clamp(90px, 16vw, 220px); line-height: 1; color: var(--red); }
.act-title { font-size: clamp(40px, 6vw, 84px); letter-spacing: .4em; margin: 6px 0 0 .4em; font-weight: 700; }
.act-q { margin-top: 26px; font-size: 18px; color: #c9bfae; }

/* ───────── 卷首语 ───────── */
.editor { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.editor .sec-head { grid-column: 1 / -1; width: 100%; }
.editor-body { grid-column: 3 / 9; font-size: 1.12em; }
.editor-body p + p { margin-top: 1.1em; }
.editor-body .sign { text-align: right; color: var(--ink-2); margin-top: 2em; }
.editor-side { grid-column: 10 / 13; align-self: start; padding-top: 6px; }
.editor-side p { font-size: 17px; line-height: 1.6; transform: rotate(-1deg); }
.dropcap::first-letter {
  float: left; font-family: var(--display); font-size: 5.2em; line-height: .82; margin: .08em .12em 0 0; color: var(--red);
}

/* ───────── 同龄对照 ───────── */
.same-list { list-style: none; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 64px; }
.same-list li {
  display: grid; grid-template-columns: 84px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line);
  cursor: pointer; transition: background .2s;
}
.same-list li:hover .same-who { color: var(--red); }
.same-age { font-family: var(--display); font-size: 54px; line-height: 1; color: var(--ink); }
.same-age.exact { color: var(--red); }
.same-who { font-weight: 700; font-size: 18px; transition: color .2s; }
.same-who small { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 8px; font-family: var(--label); letter-spacing: .06em; }
.same-what { color: var(--ink-2); margin-top: 2px; }
.same-foot { max-width: var(--max); margin: 28px auto 0; font-size: 13px; color: var(--muted); font-family: var(--label); letter-spacing: .04em; }
.same-empty { grid-column: 1 / -1; color: var(--ink-2); }

/* ───────── 匿名档案 ───────── */
.file-row { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.file {
  position: relative; background: #e7d6b6; padding: 54px 26px 28px; min-height: 380px;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 18px 30px -22px rgba(60,40,10,.45);
  transform: rotate(var(--r, 0deg)); transition: transform .5s var(--ease);
}
.file:hover { transform: rotate(0deg) translateY(-4px); }
.file::before {
  content: ""; position: absolute; top: -16px; left: 22px; width: 110px; height: 18px; background: #e7d6b6;
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}
.file-no { position: absolute; top: 16px; left: 26px; font-family: var(--label); font-size: 11px; letter-spacing: .24em; color: #7a6440; }
.file-stamp {
  position: absolute; top: 14px; right: 18px; border: 2px solid var(--red); color: var(--red); padding: 2px 8px;
  font-family: var(--label); font-size: 11px; letter-spacing: .3em; transform: rotate(6deg); opacity: .8;
}
.file-age { font-family: var(--display); font-size: 64px; line-height: 1; }
.file-age small { font-family: var(--serif); font-size: 16px; margin-left: 4px; }
.file-text { margin-top: 14px; font-size: 16.5px; line-height: 1.8; color: #3a2f20; }
.file-seal {
  position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: #dcc8a3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border-top: 1px dashed #a88d5f; cursor: grab; touch-action: none; user-select: none;
  transition: transform .7s var(--ease), opacity .7s;
}
.file-seal::before {
  content: "机密 · 未拆封"; font-family: var(--label); font-size: 12px; letter-spacing: .4em; color: var(--red);
  border: 1.5px solid var(--red); padding: 4px 10px;
}
.file-seal .hand { font-size: 16px; }
.file-seal .bar-fill { position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); }
.file.open .file-seal { transform: translateY(110%) rotate(4deg); opacity: 0; pointer-events: none; }
.file-who {
  position: absolute; left: 26px; right: 26px; bottom: 26px; opacity: 0; transform: translateY(10px);
  transition: opacity .6s .25s, transform .6s .25s var(--ease);
}
.file.open .file-who { opacity: 1; transform: none; }
.file-who b { display: block; font-size: 30px; line-height: 1.2; }
.file-who span { font-family: var(--label); font-size: 12px; letter-spacing: .1em; color: #7a6440; }
.file-who a { display: inline-block; margin-top: 8px; color: var(--red); font-size: 14px; text-decoration: none; border-bottom: 1px solid; }
.file-who a.plain { color: #7a6440; border: 0; }

/* ───────── 弯路地图 ───────── */
.map-wrap { position: relative; max-width: var(--max); margin: 0 auto; }
.map-svg { display: block; width: 100%; height: auto; overflow: visible; }
.map-svg .axis text { font-family: var(--display); font-size: 12px; fill: var(--muted); }
.map-svg .axis line { stroke: var(--line); }
.map-svg .you line { stroke: var(--red); stroke-dasharray: 3 4; }
.map-svg .you text { font-family: var(--hand); font-size: 15px; fill: var(--red); }
.map-svg .p { cursor: pointer; }
.map-svg .p .hit { stroke: transparent; stroke-width: 18; fill: none; }
.map-svg .p .pre { stroke: var(--muted); stroke-width: 1; fill: none; }
.map-svg .p .lost { stroke: var(--red); stroke-width: 1.3; fill: none; }
.map-svg .p .post { stroke: var(--ink); stroke-width: 2.2; fill: none; }
.map-svg .p .turn { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.map-svg .p text { font-family: var(--serif); font-size: 13px; fill: var(--ink-2); }
.map-svg .p text.feat { font-weight: 700; fill: var(--ink); }
.map-svg .p .star { fill: var(--red); }
.map-svg .p .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.map-svg.drawn .p .draw { animation: draw 2.2s var(--ease) forwards; animation-delay: var(--d); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.map-svg.focus .p { opacity: .18; transition: opacity .25s; }
.map-svg.focus .p.hl { opacity: 1; }
.map-svg .p.hl .post { stroke-width: 3; }
.map-card {
  position: absolute; right: 0; top: 0; width: 300px; background: var(--paper); border: 1px solid var(--ink);
  padding: 20px 22px; box-shadow: 8px 8px 0 var(--paper-3); z-index: 3; font-size: 14.5px; line-height: 1.7;
}
.map-card h3 { font-size: 22px; }
.map-card h3 small { font-family: var(--label); font-size: 11px; color: var(--muted); letter-spacing: .1em; margin-left: 6px; font-weight: 400; }
.map-card .tag { font-family: var(--label); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.map-card ol { list-style: none; margin: 12px 0; }
.map-card li { display: grid; grid-template-columns: 44px 1fr; padding: 4px 0; border-top: 1px dotted var(--line); }
.map-card li b { font-family: var(--display); font-weight: 400; }
.map-card li.low b, .map-card li.low { color: var(--red); }
.map-card .src { font-size: 12px; color: var(--muted); }
.map-card .x { position: absolute; top: 8px; right: 12px; font-size: 18px; color: var(--muted); }
.map-card .go { display: inline-block; margin-top: 10px; color: var(--red); text-decoration: none; border-bottom: 1px solid; }
.map-legend { max-width: var(--max); margin: 18px auto 0; display: flex; gap: 26px; flex-wrap: wrap; font-family: var(--label); font-size: 12px; color: var(--ink-2); letter-spacing: .06em; }
.map-legend i { display: inline-block; width: 22px; height: 0; vertical-align: middle; margin-right: 8px; }
.lg-lost { border-top: 1.5px solid var(--red); }
.lg-turn { border-top: 2.5px solid var(--ink); }
.lg-you { border-top: 1.5px dashed var(--red); }
.lg-feat { width: 7px !important; height: 7px !important; background: var(--red); border-radius: 50%; }

/* ───────── 特稿 ───────── */
.feature { border-top: 1px solid var(--ink); }
.feature:nth-of-type(even) { background: var(--paper-2); }
.f-hero { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.f-portrait {
  grid-column: 1 / 6; aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--paper-3);
  background-image: radial-gradient(rgba(29,25,21,.55) .9px, transparent 1.3px); background-size: 5px 5px;
}
.f-portrait b {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: clamp(160px, 26vw, 360px); font-weight: 900; color: var(--ink); line-height: 1;
  mix-blend-mode: multiply; transform: translateY(4%);
}
.f-portrait .yr {
  position: absolute; left: 14px; bottom: 10px; font-family: var(--display); font-size: 14px; letter-spacing: .2em; color: var(--paper);
  background: var(--ink); padding: 2px 8px;
}
.f-portrait figcaption { position: absolute; right: 12px; bottom: 10px; font-family: var(--label); font-size: 10px; color: var(--ink-2); letter-spacing: .08em; }
.f-head { grid-column: 7 / 13; padding-bottom: 6px; }
.feature.flip .f-portrait { grid-column: 8 / 13; grid-row: 1; }
.feature.flip .f-head { grid-column: 1 / 7; grid-row: 1; }
.f-no { font-family: var(--display); font-size: 15px; letter-spacing: .3em; color: var(--red); }
.f-no::after { content: ""; display: inline-block; width: 60px; height: 1px; background: var(--red); vertical-align: middle; margin-left: 12px; }
.f-title { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.16; margin: 16px 0 18px; font-weight: 900; letter-spacing: -.02em; }
.f-dek { font-size: 1.15em; color: var(--ink-2); max-width: 26em; }
.f-meta { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--ink); display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--label); font-size: 12px; letter-spacing: .08em; color: var(--ink-2); }
.f-meta b { font-family: var(--serif); font-size: 16px; color: var(--ink); letter-spacing: 0; }

.f-body { max-width: var(--max); margin: clamp(56px, 9vh, 96px) auto 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.f-age { grid-column: 1 / 4; position: relative; }
.f-age-in { position: sticky; top: 28vh; text-align: right; padding-right: 10px; }
.f-age-num { font-family: var(--display); font-size: clamp(90px, 11vw, 168px); line-height: .9; display: block; transition: color .4s; }
.f-age-num.flip { animation: tick .35s var(--ease); }
@keyframes tick { 0% { transform: translateY(-10px); opacity: .2; } 100% { transform: none; opacity: 1; } }
.f-age-lab { font-size: 14px; color: var(--muted); letter-spacing: .2em; }
.f-age-yr { display: block; font-family: var(--display); font-size: 14px; color: var(--muted); letter-spacing: .2em; margin-top: 10px; }
.f-age-you { display: block; margin-top: 6px; font-size: 16px; opacity: 0; transition: opacity .3s; }
.f-age.is-you .f-age-num { color: var(--red); }
.f-age.is-you .f-age-you { opacity: 1; }
.f-text { grid-column: 4 / 10; font-size: 1.08em; }
.f-text p { margin-bottom: 1.25em; }
.f-text > p:first-child:not(.num)::first-letter {
  float: left; font-size: 3.6em; line-height: 1; margin: .06em .1em 0 0; font-weight: 900; color: var(--red);
}
.f-text p.num:first-child .lead-yr { font-family: var(--display); font-size: 2.6em; line-height: .9; color: var(--red); float: left; margin: .05em .14em 0 0; letter-spacing: -.02em; }
.f-text p.now { color: var(--ink); }
.f-text p:not(.now) { color: var(--ink-2); }
.f-side { grid-column: 10 / 13; font-size: 13px; color: var(--muted); font-family: var(--label); letter-spacing: .04em; line-height: 1.7; }
.f-side .src { position: sticky; top: 30vh; border-top: 1px solid var(--line); padding-top: 10px; }
.f-side .src b { display: block; color: var(--ink-2); font-weight: 600; margin-bottom: 4px; letter-spacing: .2em; font-size: 11px; }

.w-block { max-width: var(--max); margin: clamp(40px, 7vh, 72px) auto; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 28px 0 32px; }
.w-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.w-kick { font-family: var(--label); font-size: 11px; letter-spacing: .32em; color: var(--muted); }
.w-hint { font-size: 18px; }

.stop { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.stop-card { grid-column: 4 / 10; perspective: 1400px; cursor: pointer; }
.stop-in { position: relative; min-height: 190px; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.stop-card.on .stop-in { transform: rotateY(180deg); }
.stop-face {
  position: absolute; inset: 0; backface-visibility: hidden; padding: 28px 30px; border: 1px solid var(--ink);
  display: flex; flex-direction: column; justify-content: center; background: var(--paper);
}
.feature:nth-of-type(even) .stop-face { background: var(--paper-2); }
.stop-face small { font-family: var(--label); font-size: 11px; letter-spacing: .3em; color: var(--red); margin-bottom: 10px; }
.stop-face p { font-size: 22px; line-height: 1.5; font-weight: 700; }
.stop-face .hand { margin-top: 12px; font-size: 16px; }
.stop-back { transform: rotateY(180deg); background: var(--ink) !important; color: var(--paper); }
.stop-back p { font-weight: 400; font-size: 19px; }
.f-next { max-width: var(--max); margin: 56px auto 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--label); font-size: 13px; letter-spacing: .1em; }
.f-next a { text-decoration: none; }
.f-next a b { font-family: var(--serif); font-size: 20px; margin-left: 8px; letter-spacing: 0; }
.f-next a:hover b { color: var(--red); }

/* 红笔 */
mark.pen-mark {
  background: linear-gradient(transparent 62%, rgba(180,42,47,.28) 62%, rgba(180,42,47,.28) 90%, transparent 90%);
  color: inherit; cursor: pointer;
}
.pen {
  position: absolute; z-index: 60; background: var(--red); color: #fff7ef; padding: 6px 14px 7px; font-family: var(--hand);
  font-size: 15px; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); transform: translate(-50%, -120%);
}
.pen::after { content: ""; position: absolute; left: 50%; bottom: -5px; border: 5px solid transparent; border-top-color: var(--red); border-bottom: 0; transform: translateX(-50%); }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 70; background: var(--ink); color: var(--paper);
  padding: 8px 18px; font-family: var(--label); font-size: 13px; letter-spacing: .06em;
}

/* ───────── 招牌互动 ───────── */
/* 01 转让启事 */
.w-classified { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ad {
  background: #faf6ee; border: 1px solid var(--ink); padding: 26px 28px; position: relative;
  font-size: 15px; line-height: 1.75; box-shadow: 6px 6px 0 var(--paper-3);
}
.ad h4 { font-size: 34px; letter-spacing: .5em; text-align: center; border-bottom: 3px double var(--ink); padding-bottom: 6px; margin-bottom: 14px; }
.ad dl { display: grid; grid-template-columns: 4.5em 1fr; row-gap: 4px; }
.ad dt { color: var(--muted); }
.ad .tel { margin-top: 14px; text-align: right; font-family: var(--label); font-size: 12px; color: var(--muted); }
.ad .stamp {
  position: absolute; border: 2.5px solid var(--red); color: var(--red); padding: 4px 12px; font-size: 18px; font-weight: 700;
  letter-spacing: .2em; opacity: 0; transform: scale(1.8) rotate(var(--r)); transition: opacity .25s, transform .35s var(--ease); background: rgba(250,246,238,.6);
}
.ad .stamp.on { opacity: .88; transform: scale(1) rotate(var(--r)); }
.buyers { list-style: none; }
.buyers li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; opacity: .25; transition: opacity .4s; }
.buyers li.on { opacity: 1; }
.buyers li span:last-child { color: var(--red); font-family: var(--hand); font-size: 17px; }
.w-end { margin-top: 20px; font-size: 18px; opacity: 0; transform: translateY(8px); transition: opacity .6s, transform .6s var(--ease); }
.w-end.on { opacity: 1; transform: none; }
.w-end b { color: var(--red); }

/* 02 股价 */
.ticker { position: relative; }
.ticker svg { width: 100%; height: auto; display: block; overflow: visible; touch-action: none; cursor: ew-resize; }
.ticker .grid line { stroke: var(--line); }
.ticker .grid text { font-family: var(--display); font-size: 11px; fill: var(--muted); }
.ticker .ln { fill: none; stroke: var(--ink); stroke-width: 2; }
.ticker .ln-done { fill: none; stroke: var(--red); stroke-width: 2.4; }
.ticker .cur line { stroke: var(--red); stroke-dasharray: 2 3; }
.ticker .cur circle { fill: var(--red); }
.ticker-read { display: grid; grid-template-columns: 180px 1fr; gap: 24px; margin-top: 16px; align-items: baseline; }
.ticker-read b { font-family: var(--display); font-size: 48px; font-weight: 400; line-height: 1; }
.ticker-read b.low { color: var(--red); }
.ticker-read small { display: block; font-family: var(--label); font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.ticker-note { font-size: 17px; min-height: 3.4em; }

/* 西蒙斯 · 噪声里的信号 */
.signal svg { width: 100%; height: auto; display: block; background: #15120f; }
.sg-axis { stroke: #3b342d; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.sg-noise { fill: none; stroke: #b9ad9b; stroke-width: 1.3; stroke-linejoin: round; transition: stroke .3s; vector-effect: non-scaling-stroke; }
.signal.dip .sg-noise { stroke: #ff6b62; }
.sg-sig { fill: none; stroke: var(--red); stroke-width: 3; opacity: 0; transition: opacity .3s; vector-effect: non-scaling-stroke; }
.sg-read { display: grid; grid-template-columns: 220px 1fr; gap: 24px; margin: 16px 0 18px; align-items: baseline; }
.sg-read b { font-family: var(--display); font-size: 56px; font-weight: 400; line-height: 1; }
.signal.dip .sg-read b { color: var(--red); }
.sg-read small { display: block; margin-top: 4px; font-family: var(--label); font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
.sg-read small i { font-style: normal; color: var(--ink); }
.sg-note { font-size: 17px; min-height: 3.4em; }
.sg-hold { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; min-width: 168px; transition: transform .15s, background .2s; }
.sg-hold.on { transform: scale(.96); background: var(--red); }
.sg-hold:disabled { background: var(--ink-2); cursor: default; }
.sg-tip { margin-left: 16px; font-size: 16px; color: var(--ink-2); }
.sg-fine { margin-top: 10px; font-size: 12px; color: var(--muted); font-family: var(--label); }

/* 达利欧 · 押上全部 */
.ai-brief { font-size: 18px; max-width: 34em; margin-bottom: 18px; }
.ai-conf { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.ai-conf label { font-family: var(--label); font-size: 12px; letter-spacing: .14em; color: var(--ink-2); }
.ai-conf input[type=range] { flex: 1; min-width: 180px; max-width: 420px; accent-color: var(--red); }
.ai-pct b { font-family: var(--display); font-size: 40px; font-weight: 400; color: var(--red); line-height: 1; }
.ai-pct i { font-style: normal; margin-left: 10px; font-size: 15px; color: var(--ink-2); }
.allin svg { width: 100%; height: auto; display: block; overflow: visible; }
.allin .grid line { stroke: var(--line); }
.allin .grid text { font-family: var(--display); font-size: 12px; fill: var(--muted); }
.ai-mine { fill: none; stroke: var(--red); stroke-width: 2.2; stroke-dasharray: 6 6; }
.ai-mine-t, .ai-real-t { font-family: var(--hand); font-size: 20px; }
.ai-mine-t { fill: var(--red); }
.ai-real-t { fill: var(--ink); transition: opacity .6s; }
.ai-real { fill: none; stroke: var(--ink); stroke-width: 3; }
.ai-dot { fill: var(--ink); }
.allin.going .ai-dot { fill: var(--red); }
.ai-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: 14px; }
.ai-read b { font-family: var(--display); font-size: 52px; font-weight: 400; line-height: 1; }
.ai-read small { display: block; font-family: var(--label); font-size: 11.5px; color: var(--muted); letter-spacing: .06em; margin-top: 4px; }
.ai-read small i { font-style: normal; color: var(--ink); }
.ai-desks { display: grid; grid-template-columns: repeat(9, 26px); gap: 6px; align-items: end; }
.ai-desks i { height: 30px; background: var(--ink); position: relative; transition: opacity .5s, transform .5s var(--ease); }
.ai-desks i::before { content: ""; position: absolute; left: 50%; top: -12px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: inherit; }
.ai-desks i.me { background: var(--red); }
.ai-desks i.gone { opacity: .12; transform: translateY(6px); }
.ai-desks span { grid-column: 1 / -1; font-family: var(--label); font-size: 11px; color: var(--muted); letter-spacing: .1em; margin-top: 4px; }
.ai-note { font-size: 18px; min-height: 3.2em; margin: 14px 0 10px; }
.ai-go:disabled { background: var(--ink-2); cursor: default; }
.allin .w-end p + p { margin-top: 6px; }
.allin.narrow .grid text { font-size: 18px; }
.allin.narrow .ai-mine-t, .allin.narrow .ai-real-t { font-size: 26px; }

/* 03 简历翻面 */
.w-resume { perspective: 1600px; max-width: 640px; margin: 0 auto; cursor: pointer; }
.resume-in { position: relative; height: 380px; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.w-resume.on .resume-in { transform: rotateY(180deg); }
.resume-face { position: absolute; inset: 0; backface-visibility: hidden; background: #fbf8f2; border: 1px solid var(--line); padding: 30px 34px; box-shadow: 0 20px 40px -30px rgba(0,0,0,.4); }
.resume-face h4 { font-size: 30px; }
.resume-face .r-sub { font-family: var(--label); font-size: 12px; color: var(--muted); letter-spacing: .14em; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.resume-face ul { list-style: none; }
.resume-face li { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; padding: 8px 0; border-bottom: 1px dotted var(--line); font-size: 15px; }
.resume-face li b { font-family: var(--display); font-weight: 400; }
.resume-face li i { font-style: normal; font-size: 13px; color: var(--muted); }
.resume-back { transform: rotateY(180deg); }
.resume-back h4 { color: var(--red); }
.resume-back li i { color: var(--red); font-family: var(--hand); font-size: 15px; }
.resume-face .hand { position: absolute; bottom: 16px; right: 22px; font-size: 16px; }

/* 04 投资人 */
.stamps { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.inv { aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line); background: #faf6ee; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 8px; font-family: var(--label); font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.inv b { font-family: var(--display); font-size: 20px; color: var(--ink-2); font-weight: 400; }
.inv .s {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 18px; font-weight: 900; color: var(--red);
  opacity: 0; transform: scale(1.8) rotate(-12deg); transition: opacity .2s, transform .3s var(--ease);
}
.inv .s::before { content: ""; position: absolute; width: 74%; height: 38%; border: 2px solid var(--red); }
.inv.no .s { opacity: .85; transform: scale(1) rotate(-12deg); }
.inv.yes { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.inv.yes b { color: var(--paper); }
.inv.yes .s { color: #f1c4bf; opacity: 1; transform: scale(1) rotate(-6deg); }
.inv.yes .s::before { border-color: #f1c4bf; }
.stamps-ctrl { margin-top: 20px; display: flex; gap: 18px; align-items: center; }
.stamps-ctrl span { font-family: var(--display); font-size: 28px; }

/* 05 进度条清零 */
.restart { max-width: 760px; margin: 0 auto; }
.rs-lab { display: flex; justify-content: space-between; font-family: var(--label); font-size: 12px; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 8px; }
.rs-lab b { font-family: var(--serif); font-size: 18px; color: var(--ink); letter-spacing: 0; }
.rs-bar { height: 34px; border: 1.5px solid var(--ink); position: relative; overflow: hidden; }
.rs-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: repeating-linear-gradient(135deg, var(--ink) 0 6px, #3a332b 6px 12px); transition: width .6s var(--ease); }
.rs-fill.zero { transition: width 1.2s cubic-bezier(.7,0,.2,1); }
.rs-fill.new { background: var(--red); }
.rs-yrs { display: flex; justify-content: space-between; font-family: var(--display); font-size: 12px; color: var(--muted); margin-top: 6px; }
.rs-ctrl { margin-top: 22px; display: flex; gap: 16px; align-items: center; }
.rs-msg { font-size: 17px; }

/* 06 撕日历 */
.cal-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.cal { position: relative; width: 240px; height: 280px; cursor: pointer; user-select: none; }
.cal::before { content: ""; position: absolute; top: -12px; left: 20px; right: 20px; height: 14px; background: var(--ink); }
.cal-page {
  position: absolute; inset: 0; background: #fbf8f2; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 2px 0 var(--paper-3), 0 4px 0 #d7ccb8; transform-origin: 50% 0; transition: transform .7s var(--ease), opacity .7s;
}
.cal-page small { font-family: var(--label); font-size: 12px; letter-spacing: .3em; color: var(--muted); }
.cal-page b { font-family: var(--display); font-size: 120px; line-height: 1; font-weight: 400; }
.cal-page span { font-size: 14px; color: var(--ink-2); }
.cal-page.red b { color: var(--red); }
.cal-page.gone { transform: translateY(40px) rotate(14deg); opacity: 0; pointer-events: none; }
.cal-page.final { background: var(--ink); color: var(--paper); }
.cal-page.final b { font-size: 54px; color: var(--paper); }
.cal-page.final span { color: #d8cdb9; }
.cal-note { font-size: 19px; line-height: 1.7; min-height: 5em; }
.cal-note small { display: block; font-family: var(--label); font-size: 11px; letter-spacing: .26em; color: var(--muted); margin-bottom: 8px; }

/* 07 还债 */
.debt { text-align: center; padding: 18px 0 6px; }
.debt-num { font-family: var(--display); font-size: clamp(48px, 9vw, 128px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.debt-num small { font-family: var(--serif); font-size: .26em; margin-left: .2em; letter-spacing: 0; }
.debt-lab { font-family: var(--label); font-size: 12px; letter-spacing: .3em; color: var(--muted); margin-top: 10px; }
.debt-track { margin: 28px auto 0; max-width: 680px; height: 4px; background: var(--line); position: relative; }
.debt-track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--red); width: 0; }
.debt-yrs { max-width: 680px; margin: 8px auto 0; display: flex; justify-content: space-between; font-family: var(--display); font-size: 12px; color: var(--muted); }
.debt-stamp {
  display: inline-block; margin-top: 22px; border: 3px solid var(--red); color: var(--red); padding: 6px 18px; font-size: 22px; font-weight: 900; letter-spacing: .4em;
  transform: rotate(-6deg) scale(1.6); opacity: 0; transition: opacity .3s, transform .4s var(--ease);
}
.debt-stamp.on { opacity: .9; transform: rotate(-6deg) scale(1); }
.debt-scroll { height: 140vh; position: relative; }
.debt-stick { position: sticky; top: 22vh; }

/* 08 刮开 */
.scratch { position: relative; max-width: 820px; margin: 0 auto; aspect-ratio: 16 / 7; background: var(--ink); color: var(--paper); overflow: hidden; }
.scratch-under { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.scratch-under small { font-family: var(--label); font-size: 12px; letter-spacing: .3em; color: #c9bfae; }
.scratch-under b { font-size: clamp(26px, 3.6vw, 46px); line-height: 1.35; margin-top: 10px; }
.scratch-under b em { color: #f1a49c; border: 0; font-style: normal; }
.scratch canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; transition: opacity .8s; }
.scratch canvas.done { opacity: 0; pointer-events: none; }

/* 09 声音 */
.sound { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.vinyl {
  width: 240px; height: 240px; border-radius: 50%; position: relative; cursor: pointer;
  background: repeating-radial-gradient(circle, #1c1814 0 2px, #2a241e 2px 4px);
  box-shadow: 0 18px 30px -18px rgba(0,0,0,.6);
}
.vinyl::after {
  content: "PETER CAT"; position: absolute; inset: 34%; border-radius: 50%; background: var(--red); color: #f6e6d7;
  display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 12px; letter-spacing: .14em;
}
.vinyl.on { animation: spin 3.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sound-txt p { font-size: 18px; }
.sound-txt .btn-ghost { margin-top: 16px; }
.sound-txt small { display: block; margin-top: 12px; font-family: var(--label); font-size: 11px; color: var(--muted); letter-spacing: .06em; }

/* 10 连点 */
.dots { position: relative; }
.dots svg { width: 100%; height: auto; display: block; overflow: visible; }
.dots .d { cursor: pointer; }
.dots .d circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; transition: fill .3s; }
.dots .d.on circle { fill: var(--red); stroke: var(--red); }
.dots .d.next circle { stroke: var(--red); stroke-width: 2.5; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { stroke-opacity: .3; } }
.dots .d text { font-family: var(--serif); font-size: 14px; fill: var(--ink); }
.dots .d text.y { font-family: var(--display); font-size: 12px; fill: var(--muted); }
.dots .link-ln { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; }
.dots-note { margin-top: 12px; font-size: 18px; min-height: 2em; }

/* ───────── 人生比例尺 ───────── */
.scale-list { max-width: var(--max); margin: 0 auto; }
.sc-row { display: grid; grid-template-columns: 120px 1fr 190px; gap: 20px; align-items: center; padding: 9px 0; border-bottom: 1px dotted var(--line); }
.sc-name { font-weight: 700; font-size: 15px; text-align: right; }
.sc-bar { position: relative; height: 12px; }
.sc-life { position: absolute; left: 0; top: 5px; height: 2px; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.sc-lost { position: absolute; top: 0; height: 12px; background: var(--red); opacity: 0; transition: opacity .6s .9s; }
.sc-end { position: absolute; top: 1px; width: 1px; height: 10px; background: var(--ink); }
.scale-list.in .sc-life { transform: scaleX(1); }
.scale-list.in .sc-lost { opacity: 1; }
.sc-txt { font-family: var(--label); font-size: 12px; color: var(--ink-2); letter-spacing: .04em; }
.sc-txt b { font-family: var(--display); font-size: 18px; color: var(--red); font-weight: 400; margin-right: 4px; }
.sc-row.you { border-top: 2px solid var(--ink); border-bottom: 0; margin-top: 14px; padding-top: 16px; }
.sc-row.you .sc-name { color: var(--red); font-family: var(--hand); font-size: 20px; font-weight: 400; }
.sc-row.you .sc-life { background: var(--red); }
.sc-row.you .sc-rest { position: absolute; top: 5px; height: 0; border-top: 2px dashed var(--muted); }
.sc-row.you .sc-here { position: absolute; top: -26px; transform: translateX(-50%); font-family: var(--hand); color: var(--red); font-size: 15px; white-space: nowrap; }
.scale-axis { display: grid; grid-template-columns: 120px 1fr 190px; gap: 20px; margin-top: 6px; }
.scale-axis div { display: flex; justify-content: space-between; font-family: var(--display); font-size: 11px; color: var(--muted); }
.scale-say { max-width: var(--max); margin: 34px auto 0; font-size: 20px; line-height: 1.6; }
.scale-say b { color: var(--red); }

/* ───────── 排行榜 ───────── */
.rank-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.rank-col h3 { font-size: 22px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.rank-col h3 small { display: block; font-family: var(--label); font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: .08em; margin-top: 2px; }
.rank-col ol { list-style: none; counter-reset: r; }
.rank-col li { counter-increment: r; display: grid; grid-template-columns: 34px 1fr 92px; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rank-col li::before { content: counter(r, decimal-leading-zero); font-family: var(--display); color: var(--muted); font-size: 14px; }
.rank-col li:first-child::before { color: var(--red); }
.rank-col .rk-who b { font-size: 17px; }
.rank-col .rk-who span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.rank-col .rk-n { font-family: var(--display); font-size: 34px; text-align: right; line-height: 1; }
.rank-col .rk-n small { font-family: var(--serif); font-size: 13px; margin-left: 2px; }
.rank-col li:first-child .rk-n { color: var(--red); }

/* ───────── 时空错位 ───────── */
.today-row { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.td { padding: 24px 22px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 210px; display: flex; flex-direction: column; }
.td:nth-child(4n) { border-right: 0; }
.td-who { font-family: var(--label); font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.td-who b { font-family: var(--display); color: var(--red); font-size: 30px; font-weight: 400; margin-right: 6px; letter-spacing: 0; }
.td-line { margin-top: 14px; font-size: 17px; line-height: 1.7; flex: 1; }
.td-real { margin-top: 12px; font-size: 13px; color: var(--ink-2); border-top: 1px dotted var(--line); padding-top: 8px; }

/* ───────── 拒信墙 ───────── */
.wall-board {
  position: relative; max-width: var(--max); margin: 0 auto; height: 760px; overflow: hidden;
  background: #d9ccb4; box-shadow: inset 0 0 0 1px #c2b294, inset 0 30px 60px -40px rgba(0,0,0,.25);
}
.wall-behind {
  position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px 26px;
  padding: 60px; text-align: center; font-size: clamp(22px, 2.6vw, 34px); font-weight: 900; color: var(--ink); line-height: 1.4;
}
.wall-behind p { width: 100%; font-family: var(--label); font-weight: 400; font-size: 13px; letter-spacing: .3em; color: var(--red); margin-bottom: 10px; }
.wall-behind span { white-space: nowrap; }
.note {
  position: absolute; width: 196px; padding: 18px 16px 14px; background: #fbf7ee; font-size: 14.5px; line-height: 1.6; color: var(--ink);
  box-shadow: 0 10px 18px -12px rgba(40,28,10,.55); cursor: grab; touch-action: none; user-select: none;
  transition: transform .9s var(--ease), opacity .9s;
}
.note::before { content: ""; position: absolute; top: -9px; left: 50%; width: 64px; height: 18px; transform: translateX(-50%) rotate(-3deg); background: rgba(232,214,170,.82); }
.note.drag { cursor: grabbing; transition: none; z-index: 30; box-shadow: 0 22px 30px -14px rgba(40,28,10,.6); }
.note .n-sign { margin-top: 8px; font-family: var(--hand); color: var(--red); font-size: 14px; text-align: right; }
.note.fall { opacity: 0; }
.wall-ctrl { max-width: var(--max); margin: 18px auto 0; display: flex; gap: 14px; }

/* ───────── 平行人生 ───────── */
.par-form { max-width: var(--max); margin: 0 auto 30px; display: flex; flex-wrap: wrap; gap: 14px 34px; font-size: 17px; }
.par-form input, .par-form select {
  border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; padding: 2px 4px; margin: 0 4px; color: var(--red);
  font-family: var(--display); font-size: 20px; width: 3.2em; text-align: center; outline: none;
}
.par-form select { font-family: var(--serif); font-size: 17px; width: auto; text-align: left; }
.par-chart { max-width: var(--max); margin: 0 auto; }
.par-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.par-chart .ax text { font-family: var(--display); font-size: 11px; fill: var(--muted); }
.par-chart .ax line { stroke: var(--line); }
.par-chart .tl { stroke: var(--ink); stroke-width: 1.5; }
.par-chart .tl.you { stroke: var(--red); }
.par-chart .ev circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.par-chart .ev.low circle { fill: var(--red); stroke: var(--red); }
.par-chart .ev.you circle { stroke: var(--red); }
.par-chart .ev text { font-family: var(--serif); font-size: 12.5px; fill: var(--ink-2); }
.par-chart .lab { font-family: var(--serif); font-weight: 700; font-size: 15px; fill: var(--ink); }
.par-chart .lab.you { fill: var(--red); }
.par-chart .now line { stroke: var(--red); stroke-dasharray: 3 4; }
.par-chart .now text { font-family: var(--hand); fill: var(--red); font-size: 15px; }
.par-say { max-width: var(--max); margin: 26px auto 0; font-size: 20px; line-height: 1.7; }
.par-say b { color: var(--red); }
.par-say span { display: block; }

/* ───────── 测验 ───────── */
.quiz-box { max-width: 860px; margin: 0 auto; min-height: 460px; position: relative; }
.qz { animation: qin .6s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateX(30px); } }
.qz-step { font-family: var(--label); font-size: 12px; letter-spacing: .3em; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.qz-step i { display: inline-block; width: 22px; height: 2px; background: var(--line); }
.qz-step i.on { background: var(--red); }
.qz h3 { font-size: clamp(24px, 3vw, 36px); margin: 18px 0 22px; line-height: 1.35; }
.qz ol { list-style: none; counter-reset: q; }
.qz li { counter-increment: q; }
.qz li button {
  width: 100%; text-align: left; display: grid; grid-template-columns: 40px 1fr; padding: 13px 4px; border-top: 1px solid var(--line);
  font-size: 18px; transition: padding .3s var(--ease), color .2s;
}
.qz li button::before { content: counter(q, upper-alpha); font-family: var(--display); color: var(--muted); }
.qz li button:hover { padding-left: 14px; color: var(--red); }
.qz li button:hover::before { color: var(--red); }
.qz li button.pick { color: var(--red); background: linear-gradient(transparent 62%, var(--red-soft) 62%); }
.qz-res { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; animation: qin .7s var(--ease); }
.qz-card { background: var(--ink); color: var(--paper); padding: 34px 32px; position: relative; }
.qz-card small { font-family: var(--label); font-size: 11px; letter-spacing: .3em; color: #c9bfae; }
.qz-card h3 { font-size: 34px; margin: 10px 0 4px; }
.qz-card .who { font-family: var(--display); font-size: 15px; letter-spacing: .14em; color: #f1a49c; }
.qz-card p { margin-top: 16px; font-size: 17px; line-height: 1.8; }
.qz-card .also { margin-top: 18px; padding-top: 12px; border-top: 1px solid #5b5249; font-size: 13px; color: #c9bfae; font-family: var(--label); letter-spacing: .04em; }
.qz-act { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.qz-act p { color: var(--ink-2); }

/* ───────── 写信 ───────── */
.letter-to { max-width: var(--max); margin: 0 auto 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.letter-to button {
  padding: 10px 16px; border: 1px solid var(--line); font-size: 15px; transition: all .2s; background: transparent;
}
.letter-to button[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.letter-to button:hover { border-color: var(--ink); }
.letter-stage { max-width: 760px; margin: 0 auto; position: relative; min-height: 460px; }
.paper {
  background: #fbf8f1; padding: 40px 48px 34px; box-shadow: 0 24px 40px -30px rgba(40,28,10,.5);
  background-image: repeating-linear-gradient(transparent 0 35px, #e3d9c6 35px 36px); background-position: 0 72px; line-height: 36px;
  transition: transform .9s var(--ease), opacity .9s;
}
.paper .to { font-family: var(--hand); font-size: 22px; color: var(--ink); }
.paper textarea { width: 100%; min-height: 216px; border: 0; background: transparent; resize: vertical; outline: none; font-family: var(--hand); font-size: 20px; line-height: 36px; color: var(--ink); }
.paper .from { text-align: right; font-family: var(--hand); font-size: 18px; color: var(--ink-2); }
.paper-ctrl { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.paper.sent { transform: translateY(-30px) scale(.6) rotate(-4deg); opacity: 0; }
.envelope {
  position: absolute; left: 50%; top: 40%; width: 300px; height: 180px; transform: translate(-50%, -50%); background: #e5d4b3;
  box-shadow: 0 20px 30px -20px rgba(40,28,10,.6); animation: env 2.2s var(--ease) forwards;
}
.envelope::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom right, transparent 49.5%, #d4bf97 50%) left / 50% 100% no-repeat, linear-gradient(to bottom left, transparent 49.5%, #d4bf97 50%) right / 50% 100% no-repeat; }
.envelope b {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--red);
  color: #f6e6d7; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 22px; font-weight: 400;
  box-shadow: 0 2px 0 #8e1f23;
}
@keyframes env { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.8); } 25% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 75% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(140%, -80%) rotate(18deg) scale(.6); } }
.reply { animation: qin .9s var(--ease); background: #fbf8f1; padding: 40px 48px; box-shadow: 0 24px 40px -30px rgba(40,28,10,.5); border-top: 4px solid var(--red); }
.reply small { font-family: var(--label); font-size: 11px; letter-spacing: .3em; color: var(--red); }
.reply .note-top { margin-top: 8px; font-size: 14px; color: var(--ink-2); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.reply blockquote { margin: 22px 0 0; font-size: 21px; line-height: 1.7; font-weight: 700; }
.reply blockquote cite { display: block; margin-top: 6px; font-style: normal; font-weight: 400; font-family: var(--label); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.reply .yours { margin-top: 26px; padding-top: 14px; border-top: 1px dotted var(--line); font-family: var(--hand); color: var(--ink-2); font-size: 15px; }
.reply .again { margin-top: 18px; }

/* ───────── 划线汇总 ───────── */
.marks-list { max-width: 860px; margin: 0 auto; list-style: none; }
.marks-list li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 18px; }
.marks-list q { font-size: 20px; line-height: 1.6; quotes: "「" "」"; }
.marks-list q::before, .marks-list q::after { color: var(--red); }
.marks-list .m-who { font-family: var(--label); font-size: 12px; color: var(--muted); letter-spacing: .08em; white-space: nowrap; }
.marks-list button { color: var(--muted); font-family: var(--label); font-size: 12px; }
.marks-list button:hover { color: var(--red); }
.marks-empty { color: var(--ink-2); font-size: 17px; border-top: 1px solid var(--line); padding-top: 18px !important; display: block !important; }

/* ───────── 封底生成器 ───────── */
.back-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
.back-form label { display: block; font-family: var(--label); font-size: 12px; letter-spacing: .14em; color: var(--ink-2); margin-bottom: 26px; }
.back-form input, .back-form textarea {
  display: block; width: 100%; margin-top: 8px; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; padding: 6px 2px;
  font-family: var(--serif); font-size: 22px; line-height: 1.5; letter-spacing: 0; color: var(--ink); outline: none; resize: none;
}
.back-form textarea { border: 1.5px solid var(--ink); padding: 12px 14px; }
.back-form input:focus, .back-form textarea:focus { border-color: var(--red); }
.back-count { text-align: right; font-family: var(--display); font-size: 12px; color: var(--muted); margin-top: -18px; margin-bottom: 20px; }
.back-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.back-preview { position: relative; }
.back-preview canvas { width: 100%; height: auto; display: block; box-shadow: 0 30px 50px -30px rgba(40,28,10,.6), 0 0 0 1px var(--line); transform: rotate(1.2deg); background: var(--paper); }

/* 封底 · 你的最低点 */
.low-in { display: grid; grid-template-columns: 2fr 3fr; gap: 20px; }
.low-in input { font-family: var(--display) !important; font-size: 44px !important; color: var(--red); }
.low-in .low-u input { font-family: var(--serif) !important; font-size: 26px !important; color: var(--ink); padding-top: 18px !important; }
.low-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 26px; }
.low-chips button { font-family: var(--serif); font-size: 13.5px; padding: 4px 10px; border: 1px solid var(--line); color: var(--ink-2); border-radius: 999px; transition: border-color .2s, color .2s; }
.low-chips button:hover { border-color: var(--red); color: var(--red); }
.low-priv { margin-top: 14px; font-family: var(--label); font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.low-photo { margin: -4px 0 26px; padding: 14px; border: 1.5px dashed var(--line); transition: border-color .2s, background .2s; }
.low-photo.over { border-color: var(--red); background: rgba(180,42,47,.05); }
.low-photo.has { border-style: solid; }
.lp-lab { display: block; font-family: var(--label); font-size: 12px; letter-spacing: .14em; color: var(--ink-2); margin-bottom: 10px; }
.lp-row { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.lp-thumb { width: 64px; height: 64px; background: #15120f; background-image: radial-gradient(rgba(244,238,227,.35) 1px, transparent 1.4px); background-size: 6px 6px; overflow: hidden; }
.lp-thumb canvas { width: 100%; height: 100%; display: block; filter: grayscale(1) contrast(1.2); }
.back-form .lp-pick { display: inline-flex; margin: 0; font-size: 13px; letter-spacing: .06em; color: var(--ink); cursor: pointer; }
.lp-pick:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
#lowDel { margin-left: 12px; font-size: 13px; }
.lp-tip { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.back-form .lp-pos { margin: 12px 0 0; display: flex; align-items: center; gap: 12px; }
.back-form .lp-pos input { flex: 1; margin: 0; border: 0; padding: 0; accent-color: var(--red); }
.low-match { max-width: var(--max); margin: 56px auto 0; border-top: 2px solid var(--ink); padding-top: 22px; }
.lm-head span { font-family: var(--label); font-size: 12px; letter-spacing: .32em; color: var(--red); }
.lm-head h3 { font-size: clamp(24px, 2.6vw, 34px); margin: 8px 0 22px; }
.lm-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lm-list li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.lm-list .ph { width: 96px; height: 120px; }
.lm-empty { display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 900; color: var(--ink-2); }
.lm-n { display: block; font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; color: var(--ink); }
.lm-n.exact { color: var(--red); }
.lm-n small { font-family: var(--serif); font-size: 15px; font-weight: 700; margin-left: 6px; color: var(--ink); }
.lm-who { margin-top: 8px; font-family: var(--label); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.lm-who b { font-family: var(--serif); font-size: 16px; color: var(--ink); margin-right: 8px; letter-spacing: 0; }
.lm-t { margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.lm-list .link { margin-top: 6px; font-size: 13px; }
.lm-say { margin-top: 26px; font-size: 18px; color: var(--red); }
.lm-none { color: var(--ink-2); }

/* ───────── 版权页 ───────── */
.colophon { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-top: 2px solid var(--ink); padding-top: 40px !important; padding-bottom: 80px !important; font-size: 14px; color: var(--ink-2); }
.colophon h3 { font-family: var(--label); font-size: 12px; letter-spacing: .3em; color: var(--ink); margin-bottom: 10px; }

/* ───────── 目录页 ───────── */
.toc { position: fixed; inset: 0; z-index: 80; background: rgba(29,25,21,.35); display: flex; justify-content: flex-end; animation: fade .3s; }
.toc-page {
  width: min(760px, 100%); height: 100%; overflow-y: auto; background: var(--paper); padding: 28px clamp(24px, 5vw, 56px) 60px; position: relative;
  animation: slide .5s var(--ease);
}
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.toc-page header { display: flex; justify-content: space-between; font-family: var(--label); font-size: 12px; letter-spacing: .2em; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.toc-page header button:hover { color: var(--red); }
.toc-page h2 { font-family: var(--display); font-weight: 400; font-size: 84px; line-height: 1; margin: 28px 0 18px; letter-spacing: -.02em; }
.toc-page ol { list-style: none; position: relative; z-index: 1; }
.toc-page li a { display: grid; grid-template-columns: 54px 1fr 48px; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s var(--ease); }
.toc-page li a:hover { padding-left: 8px; }
.toc-page li a:hover .t-title { color: var(--red); }
.toc-page .t-no { font-family: var(--display); font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.toc-page .t-title { font-size: 18px; font-weight: 700; transition: color .2s; }
.toc-page .t-title small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-2); }
.toc-page .t-pg { font-family: var(--display); text-align: right; color: var(--ink-2); }
.toc-page li.act-row a { border-bottom: 1px solid var(--ink); padding-top: 26px; }
.toc-page li.act-row .t-title { font-size: 13px; font-family: var(--label); letter-spacing: .3em; color: var(--red); font-weight: 400; }
.toc-photo {
  position: fixed; right: calc(min(760px, 100vw) - 230px); top: 120px; width: 210px; height: 260px; pointer-events: none; opacity: 0;
  background: var(--paper-3); background-image: radial-gradient(rgba(29,25,21,.55) .9px, transparent 1.3px); background-size: 5px 5px;
  display: flex; align-items: center; justify-content: center; font-size: 160px; font-weight: 900; transition: opacity .25s, transform .4s var(--ease);
  transform: rotate(-3deg) translateY(10px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); z-index: 2;
}
.toc-photo.on { opacity: 1; transform: rotate(-3deg); }

/* ───────── 今日迷路签 ───────── */
.lot { position: fixed; inset: 0; z-index: 90; background: rgba(29,25,21,.55); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .4s; }
.lot-card {
  width: min(380px, 100%); background: var(--paper); padding: 34px 32px 28px; position: relative; text-align: center;
  outline: 1px solid var(--red); outline-offset: -10px; box-shadow: 0 40px 60px -30px rgba(0,0,0,.6); animation: lotIn .8s var(--ease);
}
@keyframes lotIn { from { transform: translateY(40px) rotate(-3deg); opacity: 0; } }
.lot-card small { font-family: var(--label); font-size: 11px; letter-spacing: .4em; color: var(--red); }
.lot-card .lot-date { font-family: var(--display); font-size: 13px; color: var(--muted); letter-spacing: .2em; margin-top: 4px; }
.lot-card .lot-age { font-family: var(--display); font-size: 96px; line-height: 1; margin-top: 20px; color: var(--red); }
.lot-card .lot-age span { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-left: 4px; }
.lot-card h3 { font-size: 24px; margin-top: 4px; }
.lot-card p { margin-top: 12px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.lot-card .lot-then { margin-top: 14px; padding-top: 12px; border-top: 1px dotted var(--line); font-size: 14px; color: var(--ink-2); }
.lot-card .lot-btns { display: flex; justify-content: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ═════════ 第二版：照片 ═════════ */
/* 统一的印刷感处理：黑白、提高对比、叠一层网点和纸色 */
.ph { position: relative; overflow: hidden; background: var(--paper-3); margin: 0; }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.18) brightness(1.02); mix-blend-mode: multiply; }
.ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(29,25,21,.22) .7px, transparent 1.1px); background-size: 3px 3px; mix-blend-mode: multiply; opacity: .55;
}
.ph.red img { filter: grayscale(1) contrast(1.3) brightness(1.05); }
.ph.red::before { content: ""; position: absolute; inset: 0; background: var(--red); mix-blend-mode: screen; z-index: 1; pointer-events: none; }
.ph-cap { font-family: var(--label); font-size: 11px; color: var(--muted); letter-spacing: .04em; line-height: 1.6; margin-top: 8px; }
.ph-cap b { color: var(--ink-2); font-weight: 600; margin-right: 6px; }

/* 封面胶片条 */
.film { margin-top: 22px; background: var(--ink); padding: 14px 0; overflow: hidden; position: relative; }
.film::before, .film::after {
  content: ""; position: absolute; left: 0; right: 0; height: 7px; z-index: 2;
  background: repeating-linear-gradient(90deg, transparent 0 8px, var(--paper-3) 8px 18px, transparent 18px 26px);
}
.film::before { top: 3px; } .film::after { bottom: 3px; }
.film-track { display: flex; gap: 6px; width: max-content; animation: filmRoll 90s linear infinite; }
.film:hover .film-track { animation-play-state: paused; }
@keyframes filmRoll { to { transform: translateX(-50%); } }
.frame { position: relative; width: 92px; height: 112px; flex: none; cursor: pointer; }
.frame .ph { width: 100%; height: 100%; background: #3a332b; }
.frame .ph img { mix-blend-mode: normal; filter: grayscale(1) contrast(1.1) brightness(.92); }
.frame span {
  position: absolute; left: 4px; bottom: 3px; z-index: 3; font-family: var(--display); font-size: 22px; color: #fff5ec; line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
.frame small { position: absolute; left: 5px; top: 4px; z-index: 3; font-family: var(--label); font-size: 10px; color: #f0e6d8; letter-spacing: .04em; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.frame.on { outline: 3px solid var(--red); outline-offset: -3px; }
.frame.on span { color: #ff8c84; }
.cover-sample { display: flex; gap: 16px; align-items: center; }
.cover-sample .ph { width: 64px; height: 78px; flex: none; }
.cover-sample.noimg .ph { display: none; }

/* 同龄对照缩略图 */
.same-list li { grid-template-columns: 84px 1fr 66px; }
.same-thumb { width: 66px; height: 80px; }
.same-thumb.empty { display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 900; color: var(--ink-2); }

/* 匿名档案：揭开后，照片钉上来 */
.file-photo {
  position: absolute; right: 18px; top: 40px; width: 120px; height: 150px; z-index: 2; opacity: 0;
  transform: translateY(-18px) rotate(8deg) scale(1.1); transition: opacity .5s .2s, transform .7s .2s var(--ease);
  box-shadow: 0 10px 18px -10px rgba(40,28,10,.6); border: 5px solid #faf6ee;
}
.file-photo .ph { width: 100%; height: 100%; }
.file-photo::before {
  content: ""; position: absolute; top: -14px; left: 40px; width: 14px; height: 34px; z-index: 3;
  border: 2px solid #8c8c8c; border-radius: 8px; background: transparent;
}
.file.open .file-photo { opacity: 1; transform: rotate(4deg); }
.file.open .file-text { opacity: .35; transition: opacity .5s; }

/* 地图档案卡 */
.map-card .ph { height: 180px; margin: -20px -22px 14px; }
.map-card .ph-cap { margin: -8px 0 10px; }

/* 特稿：最低点整页 */
.f-low {
  position: relative; margin: calc(-1 * clamp(80px, 12vh, 140px)) calc(-1 * var(--gutter)) clamp(70px, 10vh, 120px);
  min-height: 92vh; background: #15120f; color: var(--paper); overflow: hidden;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end;
  padding: 0 var(--gutter) clamp(48px, 8vh, 96px);
}
.f-low .ph { position: absolute; inset: 0; background: #15120f; opacity: .34; }
.f-low .ph img { mix-blend-mode: luminosity; filter: grayscale(1) contrast(1.35) brightness(.8); }
.f-low .ph::after { opacity: .9; background-image: radial-gradient(rgba(0,0,0,.6) .8px, transparent 1.2px); }
.f-low-in { position: relative; z-index: 2; grid-column: 1 / 13; max-width: var(--max); width: 100%; margin: 0 auto; }
.f-low-kick { font-family: var(--label); font-size: 12px; letter-spacing: .4em; color: #d8a19b; }
.f-low-kick b { color: var(--paper); font-weight: 400; margin-left: 14px; letter-spacing: .2em; }
.f-low-num {
  font-family: var(--display); font-size: clamp(150px, 30vw, 460px); line-height: .8; color: var(--red); letter-spacing: -.04em;
  margin: 18px 0 8px -.04em; display: flex; align-items: baseline; gap: .1em;
}
.f-low-num small { font-family: var(--serif); font-size: .14em; color: var(--paper); letter-spacing: 0; font-weight: 700; }
.f-low-line { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.55; max-width: 24em; font-weight: 700; }
.f-low-who { margin-top: 22px; font-family: var(--label); font-size: 13px; letter-spacing: .14em; color: #b9ad9b; }
.f-low-down { margin-top: 30px; font-family: var(--hand); color: #d8a19b; font-size: 17px; }
.f-low-cr { position: absolute; right: var(--gutter); bottom: 14px; z-index: 2; font-family: var(--label); font-size: 10.5px; letter-spacing: .06em; color: #8a7f70; text-align: right; }

/* 特稿：真实照片 / 当时与后来 */
.f-portrait.has-ph { background: none; }
.f-portrait.has-ph b { display: none; }
.f-portrait .ph { position: absolute; inset: 0; }
.f-portrait .yr { z-index: 4; }
.f-portrait figcaption { z-index: 4; }
.cmp { position: absolute; inset: 0; touch-action: pan-y; cursor: ew-resize; user-select: none; }
.cmp .ph { position: absolute; inset: 0; }
.cmp .cmp-then { clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); z-index: 2; }
.cmp-bar { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--red); z-index: 3; transform: translateX(-1px); }
.cmp-bar::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: #fff5ec; font-family: var(--display); font-size: 18px; display: flex; align-items: center; justify-content: center; letter-spacing: .1em;
}
.cmp-lab { position: absolute; top: 12px; z-index: 4; font-family: var(--label); font-size: 11px; letter-spacing: .24em; color: var(--paper); background: var(--ink); padding: 3px 8px; }
.cmp-lab.l { left: 12px; background: var(--red); }
.cmp-lab.r { right: 12px; }
.f-hero .f-portrait, .f-hero .f-head { grid-row: 1; }
.f-hero .ph-cap { grid-column: 1 / 6; grid-row: 2; }
.feature.flip .f-hero .ph-cap { grid-column: 8 / 13; }
.f-cap-then { margin-top: 10px; font-size: 15px; color: var(--ink-2); border-left: 2px solid var(--red); padding-left: 10px; letter-spacing: 0; font-family: var(--serif); }
.f-portrait.has-ph > .ph { position: absolute; inset: 0; }
.f-portrait.has-ph > .ph img, .cmp .ph img { height: 100%; }
.map-card .x { z-index: 5; width: 28px; height: 28px; background: var(--paper); border-radius: 50%; top: 10px; right: 10px; }

/* 正文里的插图、低谷段落、引语 */
.f-inline { float: right; width: 44%; margin: 6px 0 18px 26px; }
.f-inline .ph { aspect-ratio: 4 / 5; }
.f-inline .ph-cap { font-size: 12px; }
.f-text p.low { color: var(--ink) !important; font-weight: 700; font-size: 1.12em; position: relative; }
.f-text p.low::before { content: ""; position: absolute; left: -22px; top: .55em; width: 10px; height: 10px; background: var(--red); border-radius: 50%; }
.f-pull { clear: both; margin: 34px 0 40px; padding: 26px 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.f-text .f-pull p { margin: 0; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.4; font-weight: 900; color: var(--red); }
.f-pull p::before { content: "「"; } .f-pull p::after { content: "」"; }
.f-pull cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--label); font-size: 12px; color: var(--ink-2); letter-spacing: .1em; }

/* 底片墙 */
.contact-sheet {
  max-width: var(--max); margin: 0 auto; background: #1a1612; padding: 22px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px 10px;
  box-shadow: 0 30px 50px -36px rgba(0,0,0,.7);
}
.cs { perspective: 900px; cursor: pointer; }
.cs-in { position: relative; aspect-ratio: 4 / 5; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.cs.on .cs-in { transform: rotateY(180deg); }
.cs-face { position: absolute; inset: 0; backface-visibility: hidden; overflow: hidden; }
.cs-face .ph { width: 100%; height: 100%; background: #3a332b; }
.cs-face .ph img { mix-blend-mode: normal; filter: grayscale(1) contrast(1.15) brightness(.9); transition: filter .4s; }
.cs:hover .cs-face .ph img { filter: grayscale(.2) contrast(1.05); }
.cs-age { position: absolute; left: 6px; bottom: 2px; z-index: 3; font-family: var(--display); font-size: 34px; line-height: 1; color: #ff6b62; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.cs-empty { display: flex; align-items: center; justify-content: center; font-size: 56px; font-weight: 900; color: #6e6357; background: #2a241e; height: 100%; }
.cs-back { transform: rotateY(180deg); background: var(--paper); color: var(--ink); padding: 10px; font-size: 12.5px; line-height: 1.55; display: flex; flex-direction: column; }
.cs-back b { font-size: 14px; }
.cs-back span { color: var(--red); font-family: var(--display); font-size: 13px; }
.cs-back p { margin-top: 4px; flex: 1; overflow: hidden; }
.cs-back q { display: block; margin-top: 4px; font-family: var(--hand); color: var(--red); font-size: 12.5px; quotes: "「" "」"; }
.cs-name { margin-top: 6px; font-family: var(--label); font-size: 11px; color: #c9bfae; letter-spacing: .06em; display: flex; justify-content: space-between; }
.cs-name i { font-style: normal; color: #7d7265; }

/* 目录照片、迷路签照片 */
.toc-photo.has { font-size: 0; }
.toc-photo .ph { width: 100%; height: 100%; }
.lot-card .ph { width: 110px; height: 132px; margin: 16px auto 0; transform: rotate(-2deg); border: 5px solid #fbf8f1; box-shadow: 0 8px 16px -10px rgba(0,0,0,.5); }
.lot-card .lot-age { margin-top: 10px; }

/* 图片来源 */
.colophon .credits { grid-column: 1 / -1; order: 3; }
.credits ol { list-style: none; columns: 3; column-gap: 32px; margin-top: 10px; font-size: 11.5px; line-height: 1.6; }
.credits li { break-inside: avoid; padding: 3px 0; border-bottom: 1px dotted var(--line); }
.credits li b { color: var(--ink); }
.credits a { color: var(--ink-2); }

/* ───────── 手机 ───────── */
@media (max-width: 860px) {
  .rail { display: none; }
  .bar-issue { display: none; }
  .sec-head h2, .sec-dek { grid-column: 1 / -1; }
  .cover-body { grid-template-columns: 1fr; }
  .cover-kicker, .cover-line, .cover-sample { grid-column: 1; }
  .cover-kicker { margin-bottom: 18px; }
  .cover-lines { display: none; }
  .editor-body, .editor-side { grid-column: 1 / -1; }
  .editor-side { margin-top: 28px; }
  .same-list { grid-template-columns: 1fr; }
  .same-list li { grid-template-columns: 64px 1fr; }
  .same-age { font-size: 40px; }
  .file-row { grid-template-columns: 1fr; }
  .map-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .map-svg { min-width: 860px; }
  .map-card { position: fixed; left: 12px; right: 12px; bottom: 12px; top: auto; width: auto; max-height: 60vh; overflow-y: auto; z-index: 60; }
  .f-hero { grid-template-columns: 1fr; }
  .f-portrait, .f-head, .feature.flip .f-portrait, .feature.flip .f-head { grid-column: 1; grid-row: auto; }
  .f-portrait { aspect-ratio: 16 / 10; margin-bottom: 24px; }
  .f-body { grid-template-columns: 1fr; }
  .f-age { grid-column: 1; position: sticky; top: 48px; z-index: 5; margin: 0 calc(-1 * var(--gutter)) 16px; }
  .f-age-in { position: static; display: flex; align-items: baseline; gap: 10px; text-align: left; padding: 8px var(--gutter); background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom: 1px solid var(--line); }
  .feature:nth-of-type(even) .f-age-in { background: color-mix(in srgb, var(--paper-2) 92%, transparent); }
  .f-age-num { font-size: 40px; }
  .f-age-yr, .f-age-you { margin: 0; }
  .f-text, .f-side { grid-column: 1; }
  .f-side .src { position: static; }
  .stop-card { grid-column: 1 / -1; }
  .w-head { flex-direction: column; gap: 4px; }
  .w-classified, .cal-wrap, .sound, .qz-res, .back-grid, .rank-grid, .colophon { grid-template-columns: 1fr; gap: 28px; }
  .cal { margin: 0 auto; }
  .vinyl { margin: 0 auto; width: 200px; height: 200px; }
  .stamps { grid-template-columns: repeat(4, 1fr); }
  .ticker-read { grid-template-columns: 1fr; gap: 6px; }
  .sg-read { grid-template-columns: 1fr; gap: 6px; }
  .signal svg { height: 190px; }
  .lm-list { grid-template-columns: 1fr; gap: 20px; }
  .ai-desks { grid-template-columns: repeat(9, 1fr); width: 100%; }
  .ai-pct b { font-size: 32px; }
  .sg-tip { display: block; margin: 10px 0 0; }
  .scratch { aspect-ratio: 4 / 3; }
  .resume-in { height: 440px; }
  .resume-face { padding: 24px 20px; }
  .resume-face li { grid-template-columns: 50px 1fr; }
  .resume-face li i { grid-column: 2; }
  .sc-row, .scale-axis { grid-template-columns: 64px 1fr; gap: 10px; }
  .sc-txt { grid-column: 2; }
  .scale-axis > :last-child { display: none; }
  .sc-name { font-size: 13px; }
  .today-row { grid-template-columns: 1fr 1fr; }
  .td:nth-child(4n) { border-right: 1px solid var(--line); }
  .td:nth-child(2n) { border-right: 0; }
  .note { width: 150px; font-size: 13px; padding: 14px 12px 10px; }
  .cover-mast { flex-direction: column; gap: 6px; }
  .mast-en { font-size: 18.4vw; }
  .mast-zh { writing-mode: horizontal-tb; font-size: 18px; letter-spacing: .8em; margin-top: 0; }
  .cover-body { align-content: start; padding-top: 5vh; }
  .same-list li { grid-template-columns: 56px 1fr 52px; }
  .same-thumb { width: 52px; height: 64px; }
  .file-photo { width: 92px; height: 116px; right: 12px; }
  .f-low { min-height: 78vh; }
  .f-low-num { font-size: 42vw; }
  .f-hero .ph-cap, .feature.flip .f-hero .ph-cap { grid-column: 1; grid-row: auto; margin: -14px 0 22px; }
  .f-hero .f-portrait, .f-hero .f-head { grid-row: auto; }
  .f-inline { width: 52%; margin-left: 16px; }
  .f-portrait { aspect-ratio: 4 / 5 !important; }
  .f-text p.low::before { left: -14px; width: 7px; height: 7px; }
  .contact-sheet { grid-template-columns: repeat(3, 1fr); padding: 12px; gap: 10px 8px; }
  .credits ol { columns: 1; }
  .frame { width: 74px; height: 92px; }
  .par-chart { overflow-x: auto; }
  .par-chart svg { min-width: 760px; }
  .paper, .reply { padding: 30px 22px; }
  .toc-photo { display: none; }
  .toc-page h2 { font-size: 56px; }
}
@media (max-width: 520px) {
  .today-row { grid-template-columns: 1fr; }
  .td { border-right: 0 !important; min-height: 0; }
  .cover-top span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
