@charset "utf-8";
/* =========================================================
   世界线变动率 · 交互版 v2 —— "Chronometric Editorial"
   夜色观测室（β）→ 纸面（α）→ Steins;Gate（SG）
   ========================================================= */
:root {
  --paper: #F2EFE8; --paper-2: #E9E5DC; --paper-3: #DDD8CD; --card: #FBF9F4;
  --ink: #121316; --ink-2: #34363C; --ink-3: #6A6C73; --ink-4: #9D9EA1;
  --rule: rgba(18,19,22,.14); --rule-2: rgba(18,19,22,.07);
  --night: #0B0B0E; --night-2: #131318; --night-3: #1D1E24;
  --fog: #EEEAE2; --fog-2: rgba(238,234,226,.68); --fog-3: rgba(238,234,226,.4); --fog-rule: rgba(238,234,226,.14);
  --beta: #E5452F; --alpha: #2E5BFF; --omega: #E9A400; --sg: #12A27F;
  --beta-l: #FF6B53; --alpha-l: #7391FF; --omega-l: #FFC64D; --sg-l: #43E2B9;
  --hot: var(--beta); --fc: var(--beta);
  --f-disp: "SG Display", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SG Math", serif;
  --f-serif: "SG Serif", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SG Math", serif;
  --f-sans: "Archivo Variable", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", "SG Math", sans-serif;
  --f-num: "Instrument Serif", "Times New Roman", "SG Math", serif;
  --f-dial: var(--f-num);
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "SG Math", monospace;
  --math: "SG Math", "STIX Two Math", "Cambria Math", math, serif;
  --serif: var(--f-serif);
  --ease: cubic-bezier(.2,.7,.1,1); --ease-io: cubic-bezier(.65,0,.35,1); --spring: cubic-bezier(.34,1.5,.64,1);
  --wrap: 1320px; --pad: clamp(20px, 4.4vw, 64px); --gut: clamp(14px, 2vw, 24px);
}
[data-f="α"], .f-a { --fc: var(--alpha); --fcl: var(--alpha-l); }
[data-f="β"], .f-b { --fc: var(--beta); --fcl: var(--beta-l); }
[data-f="Ω"], .f-o { --fc: var(--omega); --fcl: var(--omega-l); }
[data-f="SG"], .f-s { --fc: var(--sg); --fcl: var(--sg-l); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
h1, h2, h3, .g-title { text-wrap: balance; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 16px/1.85 var(--f-sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--hot) 28%, transparent); }
:focus-visible { outline: 2px solid var(--fc); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
sup { font-size: .68em; line-height: 0; vertical-align: .55em; }
sub { font-size: .7em; line-height: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 16px; }

/* —— 文字工具 —— */
.lab { font: 600 11px/1.35 var(--f-sans); font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase; }
.v { font-family: var(--f-num); font-style: italic; font-size: 1.12em; letter-spacing: .01em; padding-right: .04em; }
.m { font-family: var(--math); font-style: normal; font-size: 1.06em; line-height: 1; }
.nw { white-space: nowrap; }
.small { font-size: 13.5px; color: var(--ink-3); line-height: 1.8; }

/* —— 按钮 —— */
.btn { --b: currentColor; display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 600 14.5px/1 var(--f-sans); letter-spacing: .02em; cursor: pointer; white-space: nowrap; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s var(--ease), border-color .3s; }
.btn i { font-style: normal; display: inline-block; transition: transform .45s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .38; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-light { background: var(--fog); color: var(--night); }
.btn-light:hover { box-shadow: 0 14px 34px -14px rgba(238,234,226,.6); }
.btn-line { border-color: color-mix(in srgb, currentColor 32%, transparent); background: transparent; }
.btn-line:hover { border-color: currentColor; }
.btn-hot { background: var(--hot); color: #fff; box-shadow: 0 12px 30px -14px color-mix(in srgb, var(--hot) 80%, transparent); }
.btn-hot:hover { box-shadow: 0 18px 38px -14px color-mix(in srgb, var(--hot) 90%, transparent); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line.btn-ink { background: transparent; color: var(--ink); border-color: rgba(18,19,22,.3); }
.ibtn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); background: transparent; cursor: pointer; font: 400 18px/1 var(--f-sans); transition: border-color .3s, background .3s; }
.ibtn:hover { border-color: currentColor; background: color-mix(in srgb, currentColor 8%, transparent); }
.ibtn[disabled] { opacity: .3; cursor: default; }
/* 实体按键 */
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 12px; border: 0; cursor: pointer; font: 500 13.5px/1.2 var(--f-sans); color: var(--ink); white-space: nowrap;
  background: linear-gradient(180deg, #FCFAF6, #E8E3D9); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0,0,0,.07), 0 1px 0 rgba(0,0,0,.12), 0 6px 14px -8px rgba(30,24,12,.35); transition: transform .12s, box-shadow .2s, background .25s, color .25s; }
.chip:hover { background: linear-gradient(180deg, #fff, #ECE8DF); }
.chip:active, .chip.press { transform: translateY(2px); box-shadow: inset 0 1px 3px rgba(0,0,0,.18), 0 0 0 rgba(0,0,0,0); }
.chip.on { background: linear-gradient(180deg, #2A2B30, #141518); color: var(--paper); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 0 rgba(0,0,0,.3), 0 6px 14px -8px rgba(0,0,0,.6); }
.chip-hot { background: linear-gradient(180deg, #F46A50, #D9391F); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.12), 0 1px 0 rgba(120,20,0,.4), 0 8px 18px -8px rgba(217,57,31,.7); }
.chip-hot:hover { background: linear-gradient(180deg, #FF7A60, #E2432A); }
.chip-ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(18,19,22,.16); }
.chip-ghost:hover { background: rgba(255,255,255,.5); }
.chip-night { color: var(--fog); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.chip-night:hover { background: rgba(255,255,255,.12); }
.chip[disabled] { opacity: .4; cursor: not-allowed; }
.tgl { font: 600 .92em/1 var(--f-sans); color: var(--hot); background: color-mix(in srgb, var(--hot) 9%, transparent); border: 1px solid color-mix(in srgb, var(--hot) 35%, transparent); border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: background .25s, color .25s; vertical-align: 1px; }
.tgl:hover { background: color-mix(in srgb, var(--hot) 16%, transparent); }
.tgl[aria-pressed="true"] { background: var(--hot); color: #fff; }

/* =========================================================
   顶栏
   ========================================================= */
.bar { position: fixed; inset: 0 0 auto; z-index: 60; height: 64px; display: flex; align-items: center; gap: 20px; padding: 0 var(--pad); color: var(--fog); transition: color .45s, background-color .45s, box-shadow .45s; }
.bar[data-tone="paper"] { color: var(--ink); }
.bar.scrolled[data-tone="night"] { background: rgba(11,11,14,.62); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.bar.scrolled[data-tone="paper"] { background: rgba(242,239,232,.8); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 1px 0 var(--rule); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.mark { width: 30px; height: 30px; overflow: visible; }
.mk-o { fill: currentColor; }
.mk-a, .mk-b { fill: none; stroke-width: 1.7; stroke-linecap: round; }
.mk-a { stroke: currentColor; }
.mk-b { stroke: var(--fc); transition: stroke .5s; }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; }
.brand-t b { font: 900 14.5px/1.15 var(--f-disp); letter-spacing: .02em; }
.brand-t em { font: 600 9.5px/1.4 var(--f-sans); font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; font-style: normal; opacity: .55; }
.nav { margin: 0 auto; display: flex; gap: 2px; }
.nav a { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 11px; border-radius: 999px; font: 500 13px/1 var(--f-sans); opacity: .66; transition: opacity .25s, background .25s; }
.nav a i { font: italic 400 13px/1 var(--f-num); opacity: .7; }
.nav a:hover, .nav a.on { opacity: 1; background: color-mix(in srgb, currentColor 9%, transparent); }
.bar-r { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.nav + .bar-r { margin-left: 0; }
.hud { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 20%, transparent); font: 500 12.5px/1 var(--f-mono); font-variant-numeric: tabular-nums; cursor: default; }
.hud-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fc) 26%, transparent); transition: background .5s, box-shadow .5s; }
.hud-v { min-width: 6.4ch; display: inline-block; }
.hud-f { font: italic 400 15px/1 var(--f-num); color: var(--fc); transition: color .5s; min-width: 1.2em; }
.hud.tick .hud-v { animation: hudTick .5s var(--ease); }
@keyframes hudTick { 0% { opacity: .2; filter: blur(2px); } 100% { opacity: 1; filter: none; } }
.bar-cta { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; font: 600 13px/1 var(--f-sans); background: currentColor; }
.bar-cta, .bar-cta span { color: var(--night); }
.bar[data-tone="paper"] .bar-cta, .bar[data-tone="paper"] .bar-cta span { color: var(--paper); }
.bar-cta { background: var(--fog); }
.bar[data-tone="paper"] .bar-cta { background: var(--ink); }
.bar-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.bar-prog i { display: block; height: 100%; background: var(--fc); transform-origin: 0 50%; transform: scaleX(var(--prog, 0)); transition: background .5s; }

/* =========================================================
   00 · HERO：收束织机
   ========================================================= */
.hero { position: relative; height: 190vh; height: 190svh; background: var(--night); color: var(--fog); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; transform-origin: 50% 0; transform: scale(calc(1 - var(--hp, 0) * .06)); border-radius: calc(var(--hp, 0) * 36px); }
.hero-pin::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: #040405; opacity: calc(var(--hp, 0) * .72); }
.hero + .sec { margin-top: -90vh; margin-top: -90svh; z-index: 2; border-radius: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0 0; box-shadow: 0 -30px 80px -20px rgba(0,0,0,.55); }
.loom { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: pan-y; }
.hero-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); grid-template-rows: auto minmax(0, 1fr) auto auto; padding: 96px var(--pad) 24px; pointer-events: none;
  opacity: calc(1 - var(--hp, 0) * 1.2); transform: translate3d(0, calc(var(--hp, 0) * -40px), 0); }
.hero-grid a, .hero-grid button { pointer-events: auto; }
.hero-k { grid-column: 1 / -1; grid-row: 1; display: flex; flex-wrap: wrap; gap: 0 16px; margin: 0; color: var(--fog-2); }
.hero-k span + span::before { content: ""; display: inline-block; width: 16px; height: 1px; margin-right: 16px; background: currentColor; opacity: .45; vertical-align: .3em; }
.hero-num { grid-column: 3 / -1; grid-row: 2; position: relative; min-height: 120px; }
.hero-f { position: absolute; top: var(--fy, 0); left: var(--fx, 100%); font: italic 400 clamp(26px, 3.6vw, 52px)/1 var(--f-num); color: var(--fcl); opacity: 0; transition: opacity .6s, color .6s; text-shadow: 0 0 24px color-mix(in srgb, var(--fc) 60%, transparent); }
.hero-f.on { opacity: 1; }
.hero-t { grid-column: 1 / span 8; grid-row: 3; align-self: end; margin: 0; font: 900 clamp(40px, 6.3vw, 100px)/1.07 var(--f-disp); letter-spacing: -.02em; text-wrap: balance; }
.hero-t .ln { display: block; overflow: hidden; padding: .02em 0 .1em; margin-bottom: -.08em; }
.hero-t .ln > span { display: inline-block; }
.js .hero-t .ln > span { transform: translate3d(0, 112%, 0); animation: lnUp 1.3s var(--ease) .35s forwards; }
.js .hero-t .ln:nth-child(2) > span { animation-delay: .5s; }
@keyframes lnUp { to { transform: none; } }
.hero-side { grid-column: 9 / -1; grid-row: 3; align-self: end; padding-bottom: .5em; }
.js .hero-side, .js .hero-k, .js .story { opacity: 0; animation: fadeUp 1.2s var(--ease) .9s forwards; }
.js .hero-k { animation-delay: .2s; }
.js .story { animation-delay: 1.15s; }
@keyframes fadeUp { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }
.hero-d { margin: 0 0 22px; max-width: 30em; font-size: 15.5px; line-height: 1.85; color: var(--fog-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.story { grid-column: 1 / -1; grid-row: 4; margin-top: clamp(18px, 4vh, 40px); padding-top: 16px; border-top: 1px solid var(--fog-rule); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) auto; gap: 28px; align-items: center; }
.story-lab { margin: 0; color: var(--fog-3); }
.story-lab span { color: var(--fog); }
.story-ticks { display: flex; gap: 2px; margin-top: 10px; }
.story-ticks button { position: relative; width: 20px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--fog); }
.story-ticks button::before { content: ""; position: absolute; left: 50%; bottom: 4px; width: 2px; height: 9px; border-radius: 1px; background: currentColor; opacity: .28; transform: translateX(-50%); transition: height .35s var(--ease), opacity .3s, background .3s; }
.story-ticks button.seen::before { opacity: .62; }
.story-ticks button.on::before { height: 18px; opacity: 1; background: var(--fcl); }
.story-ticks button:hover::before { opacity: 1; }
.story-cap { min-width: 0; }
.story-id { margin: 0 0 4px; display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.story-id b { flex: none; font: 600 12px/1 var(--f-mono); color: var(--fcl); padding: 4px 7px; border-radius: 6px; background: color-mix(in srgb, var(--fc) 18%, transparent); transition: color .5s, background .5s; }
.story-id span { font: 700 17px/1.35 var(--f-disp); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-s { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--fog-2); }
.story-s .num { font-family: var(--f-mono); font-size: .95em; color: var(--fog); }
.story-ctl { display: flex; gap: 10px; align-items: center; }
.story-cap.swap { animation: capSwap .6s var(--ease); }
@keyframes capSwap { 0% { opacity: 0; transform: translate3d(0, 8px, 0); } 100% { opacity: 1; transform: none; } }
.hero-hint { position: absolute; right: var(--pad); top: 98px; margin: 0; display: flex; align-items: center; gap: 10px; color: var(--fog-3); opacity: calc(1 - var(--hp, 0) * 3); transition: color .4s; }
.hint-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fcl); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--fc) 60%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--fc) 0%, transparent); } }
.ctag { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; display: flex; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 8px; background: rgba(11,11,14,.72); border: 1px solid var(--fog-rule); color: var(--fog); font: 500 11px/1 var(--f-mono); font-variant-numeric: tabular-nums; opacity: 0; transform: translate3d(var(--cx, 0), var(--cy, 0), 0); transition: opacity .3s; white-space: nowrap; }
.ctag b { font: 600 9.5px/1 var(--f-sans); font-stretch: 125%; letter-spacing: .14em; color: var(--fcl); }
.ctag.on { opacity: 1; }

/* =========================================================
   区块与标题
   ========================================================= */
.sec { position: relative; padding: clamp(96px, 12vw, 180px) 0; background: var(--paper); color: var(--ink); isolation: isolate; }
.sec-paper2 { background: var(--paper-2); }
.sec-paper::before, .sec-paper2::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55; border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07  0 0 0 0 .06  0 0 0 0 .04  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sec-paper2 + .sec-paper, .sec-paper + .sec-paper2 { border-top: 1px solid var(--rule-2); }
.wrap { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sh { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); margin-bottom: clamp(52px, 7vw, 100px); }
.sh-k { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin: 0 0 clamp(26px, 3.4vw, 44px); color: var(--ink-3); }
.sh-n { font: italic 400 36px/1 var(--f-num); color: var(--ink); }
.sh-rule { flex: 1; height: 1px; background: var(--rule); transform-origin: 0 50%; }
.js .reveal .sh-rule { transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.js .reveal.in .sh-rule { transform: none; }
.wl { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--rule); font: 500 12px/1 var(--f-mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.wl::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fc); }
.wl b { font: italic 400 15px/1 var(--f-num); color: var(--fc); }
.sh-t { grid-column: 1 / span 7; margin: 0; font: 900 clamp(38px, 5.7vw, 86px)/1.08 var(--f-disp); letter-spacing: -.025em; text-wrap: balance; }
.sh-sub { display: block; margin-top: .25em; font-size: .46em; letter-spacing: 0; color: var(--ink-3); }
.sh-d { grid-column: 8 / -1; align-self: end; margin: 0; padding-bottom: .4em; font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.sh-d b { color: var(--ink); }
.sec-night .sh-k { color: var(--fog-3); }
.sec-night .sh-n { color: var(--fog); }
.sec-night .sh-rule { background: var(--fog-rule); }
.sec-night .wl { border-color: var(--fog-rule); color: var(--fog-2); }
.sec-night .wl b { color: var(--fcl); }
.sec-night .sh-d { color: var(--fog-2); }

/* 进入视口 */
.js .reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   01 · 导读
   ========================================================= */
.anat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 28px 64px; align-items: center; margin-bottom: clamp(70px, 9vw, 130px); }
.anat-num { grid-row: 1 / span 2; display: flex; align-items: baseline; white-space: nowrap; font: 400 clamp(76px, 12.6vw, 196px)/.92 var(--f-num); letter-spacing: -.03em; user-select: none; }
.ap { position: relative; font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; transition: color .45s; }
.ap::after { content: ""; position: absolute; left: .02em; right: .02em; bottom: -.08em; height: 4px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.ap-f { font-style: italic; color: var(--beta); margin-left: .04em; }
.ap-dot { color: var(--ink-3); }
.ap-u { font-size: .4em; color: var(--ink-4); margin-left: .08em; }
.anat[data-k="int"] .ap-int, .anat[data-k="dec"] .ap-dec, .anat[data-k="f"] .ap-f { color: var(--hot); }
.anat[data-k="int"] .ap-int::after, .anat[data-k="dec"] .ap-dec::after, .anat[data-k="f"] .ap-f::after { transform: none; }
.anat-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.anat-notes li { padding: 14px 0 14px 22px; border-left: 2px solid var(--rule); opacity: .5; transition: opacity .45s, border-color .45s; cursor: pointer; }
.anat-notes li.on { opacity: 1; border-left-color: var(--hot); }
.anat-notes .lab { color: var(--ink-3); }
.anat-notes li.on .lab { color: var(--hot); }
.anat-notes p { margin: 6px 0 0; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.eq-card { grid-column: 2; }
.eq-card > p { margin: 10px 0 0; font-size: 13px; line-height: 1.8; color: var(--ink-3); }
.concepts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-bottom: clamp(70px, 9vw, 130px); }
.cpt { padding: 26px 24px 30px 0; border-right: 1px solid var(--rule); }
.cpt + .cpt { padding-left: 24px; }
.cpt:last-child { border-right: 0; }
.cpt svg { width: 120px; height: 64px; margin-bottom: 18px; overflow: visible; }
.cpt h3 { margin: 0 0 8px; font: 900 23px/1.3 var(--f-disp); }
.cpt p { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.js .cpt.reveal:nth-child(2) { transition-delay: .08s; } .js .cpt.reveal:nth-child(3) { transition-delay: .16s; } .js .cpt.reveal:nth-child(4) { transition-delay: .24s; }
.c-l { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.c-hot { stroke: var(--hot); }
.c-dot { fill: var(--hot); }
.c-dash { stroke-dasharray: 5 6; animation: cDash 1.6s linear infinite; }
@keyframes cDash { to { stroke-dashoffset: 22; } }
.c-hop { stroke-dasharray: 80; stroke-dashoffset: 80; animation: cDraw 3.2s var(--ease-io) infinite; }
@keyframes cDraw { 0% { stroke-dashoffset: 80; } 45%, 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -80; } }
.c-fan path { fill: none; stroke: var(--ink-3); stroke-width: 1.2; stroke-dasharray: 90; stroke-dashoffset: 90; animation: cDraw2 3.6s var(--ease-io) infinite; }
.c-fan path:nth-child(2) { animation-delay: .12s; } .c-fan path:nth-child(3) { animation-delay: .24s; } .c-fan path:nth-child(4) { animation-delay: .36s; }
@keyframes cDraw2 { 0% { stroke-dashoffset: 90; } 50%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.c-bar { fill: var(--ink); transform-box: fill-box; transform-origin: 50% 100%; animation: cBar 3s var(--ease) infinite; }
.c-bar.c-hot2 { fill: var(--hot); animation-delay: .15s; }
.c-bar:nth-of-type(3) { animation-delay: .3s; }
@keyframes cBar { 0% { transform: scaleY(0); } 40%, 85% { transform: none; } 100% { transform: scaleY(0); } }
.titor { margin: 0 0 clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
.titor blockquote { position: relative; grid-column: 2 / span 10; margin: 0; }
.titor blockquote p { margin: 0; font: 400 clamp(22px, 2.9vw, 40px)/1.62 var(--f-serif); letter-spacing: .005em; color: var(--ink); text-wrap: pretty; }
.titor blockquote::before { content: "“"; position: absolute; left: -.62em; top: -.08em; font: 400 clamp(70px, 8vw, 130px)/1 var(--f-num); color: var(--hot); }
.titor em { font-style: normal; background: linear-gradient(transparent 60%, color-mix(in srgb, var(--hot) 24%, transparent) 0); }
.titor figcaption { grid-column: 2 / span 10; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; font-size: 13px; color: var(--ink-3); }
.titor figcaption .lab { color: var(--ink); }
.ask { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); margin-bottom: clamp(80px, 10vw, 140px); }
.ask-k { grid-column: 2 / span 2; margin: 6px 0 0; color: var(--hot); }
.ask ol { grid-column: 4 / span 8; list-style: none; margin: 0; padding: 0; counter-reset: q; display: grid; gap: 0; }
.ask li { counter-increment: q; display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); font: 400 clamp(18px, 1.8vw, 23px)/1.55 var(--f-serif); }
.ask li::before { content: counter(q, decimal-leading-zero); flex: none; font: italic 400 20px/1 var(--f-num); color: var(--ink-3); width: 1.6em; }
.ask li b { font-weight: 700; }

/* =========================================================
   装置外壳（实体仪器）
   ========================================================= */
.device { position: relative; border-radius: 30px; padding: clamp(20px, 3vw, 40px); background: linear-gradient(180deg, #EEEAE2 0%, #E3DED4 100%); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(0,0,0,.06), 0 1px 1px rgba(0,0,0,.05), 0 44px 90px -46px rgba(34,26,10,.45), 0 14px 28px -18px rgba(34,26,10,.25); }
.device::before { content: ""; position: absolute; inset: 13px; pointer-events: none; border-radius: 20px;
  background:
    radial-gradient(circle at 50% 50%, #FBF8F2 0 1.2px, #BDB6A9 1.8px 3.3px, rgba(0,0,0,.16) 3.8px, transparent 4.6px) 0 0 / 10px 10px no-repeat,
    radial-gradient(circle at 50% 50%, #FBF8F2 0 1.2px, #BDB6A9 1.8px 3.3px, rgba(0,0,0,.16) 3.8px, transparent 4.6px) 100% 0 / 10px 10px no-repeat,
    radial-gradient(circle at 50% 50%, #FBF8F2 0 1.2px, #BDB6A9 1.8px 3.3px, rgba(0,0,0,.16) 3.8px, transparent 4.6px) 0 100% / 10px 10px no-repeat,
    radial-gradient(circle at 50% 50%, #FBF8F2 0 1.2px, #BDB6A9 1.8px 3.3px, rgba(0,0,0,.16) 3.8px, transparent 4.6px) 100% 100% / 10px 10px no-repeat; }
.dev-no { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--ink-3); }
.dev-no span:first-child { padding: 5px 9px 4px; border-radius: 6px; background: var(--ink); color: var(--paper); }
.dev-h { position: relative; }
.dev-h h3 { margin: 16px 0 10px; font: 900 clamp(24px, 2.7vw, 38px)/1.25 var(--f-disp); letter-spacing: -.01em; }
.dev-h > p { margin: 0; max-width: 48em; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.dev-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.dev-stat { color: var(--ink-3); margin-left: auto; }
.dev-note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--ink-3); max-width: 60em; }
.toast { position: absolute; left: 50%; bottom: 22px; z-index: 5; max-width: min(560px, calc(100% - 40px)); padding: 13px 18px; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: 13.5px; line-height: 1.7; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); transform: translate(-50%, 0); animation: toastIn .45s var(--spring); }
.toast b { color: var(--omega-l); font-weight: 600; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px) scale(.97); } }
/* 撤销台的提示落在右下（纸带上方），不挡住动作按钮 */
#labToast { left: auto; right: 22px; max-width: min(360px, calc(100% - 44px)); transform: none; animation-name: toastIn2; }
@keyframes toastIn2 { from { opacity: 0; transform: translateY(12px) scale(.97); } }

/* =========================================================
   读数窗（滚轮式测定器）
   ========================================================= */
.dial { --ds: 56px; position: relative; display: inline-flex; align-items: center; gap: calc(var(--ds) * .055); padding: calc(var(--ds) * .15) calc(var(--ds) * .2); border-radius: calc(var(--ds) * .3); font-size: var(--ds); line-height: 1; color: #F4F0E8; user-select: none; -webkit-user-select: none;
  background: linear-gradient(180deg, #2A2B30, #111215 60%, #0D0E10); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.75), 0 calc(var(--ds) * .34) calc(var(--ds) * .6) calc(var(--ds) * -.32) rgba(0,0,0,.6); }
.dial-s { --ds: 30px; }
.dial-l { --ds: clamp(44px, 6vw, 72px); }
.dw { position: relative; width: .64em; height: 1.12em; overflow: hidden; border-radius: .1em; background: linear-gradient(180deg, #08090A, #1E1F23 50%, #08090A); box-shadow: inset 0 0 0 1px rgba(255,255,255,.045), inset 0 .07em .14em rgba(0,0,0,.85); }
.dw::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,0) 32%, rgba(255,255,255,.035) 50%, rgba(0,0,0,0) 68%, rgba(0,0,0,.72)); }
.dw-sign { width: .42em; }
.reel { position: absolute; left: 0; right: 0; top: 0; will-change: transform; transition: transform var(--rt, .95s) var(--re, cubic-bezier(.2,.85,.25,1.06)); }
.reel b { display: block; height: 1.12em; text-align: center; font-family: var(--f-dial); font-weight: 400; font-style: normal; font-size: 1em; line-height: 1.12em; font-variant-numeric: lining-nums tabular-nums; transition: color .45s; }
.dw.diff b { color: var(--hot-l, #FF8A70); }
.dw.lead b { color: #FFD9A8; }
.dsep { width: .16em; text-align: center; font: 400 .9em/1 var(--f-dial); color: rgba(244,240,232,.8); transform: translateY(.04em); }
.dfield { display: grid; place-items: center; width: .92em; height: .92em; margin-left: .16em; border-radius: 50%; font: italic 400 .58em/1 var(--f-num); color: #fff; background: var(--fc); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 .5em color-mix(in srgb, var(--fc) 55%, transparent); transition: background .5s, box-shadow .5s; }
.dfield.sg { width: 1.78em; height: 1.78em; margin-left: .3em; font: 600 .3em/1 var(--f-sans); letter-spacing: .02em; }
.nc { text-transform: none; }
.dunit { margin-left: .06em; font: 400 .5em/1 var(--f-num); color: rgba(244,240,232,.55); }
.dial.tap .dw:not(.dw-sign) { cursor: pointer; }
.dial.tap .dw:not(.dw-sign):hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), inset 0 .07em .14em rgba(0,0,0,.85); }
.dial .dw.pick { box-shadow: inset 0 0 0 2px var(--hot), 0 0 .3em color-mix(in srgb, var(--hot) 60%, transparent); }

/* =========================================================
   装置 01 · 收束之谷
   ========================================================= */
.dev-basin { margin-top: 10px; }
.basin { position: relative; margin: 26px 0 18px; border-radius: 20px; overflow: hidden; background: #F7F4EE; box-shadow: inset 0 0 0 1px rgba(0,0,0,.07), inset 0 3px 10px rgba(0,0,0,.06); }
#basinCv { width: 100%; height: clamp(320px, 36vw, 460px); touch-action: none; cursor: grab; }
#basinCv.grab { cursor: grabbing; }
.basin-hud { position: absolute; left: 18px; top: 16px; display: flex; align-items: center; gap: 14px; pointer-events: none; }
.basin-cap { margin: 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.basin-cap b { font: 600 13px/1.3 var(--f-mono); }
.basin-cap span { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.basin-win { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; background: radial-gradient(60% 60% at 50% 50%, rgba(11,11,14,.94), rgba(11,11,14,.86)); color: var(--fog); animation: winIn .8s var(--ease); cursor: pointer; }
.basin-win[hidden] { display: none; }
.basin-win .lab { color: var(--sg-l); margin: 0 0 8px; }
.bw-t { margin: 0; font: italic 400 clamp(54px, 8vw, 110px)/1 var(--f-num); letter-spacing: -.02em; text-shadow: 0 0 40px rgba(67,226,185,.45); }
.bw-s { margin: 14px 0 0; color: var(--fog-2); font-size: 14px; }
@keyframes winIn { from { opacity: 0; } }

/* =========================================================
   装置 02 · 盲猜读数
   ========================================================= */
.g-top { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.g-steps { display: flex; gap: 6px; list-style: none; margin: 0 auto 0 0; padding: 0; }
.g-steps li { width: 30px; height: 6px; border-radius: 3px; background: rgba(18,19,22,.12); transition: background .4s, transform .4s var(--spring); }
.g-steps li.bonus { width: 18px; background: repeating-linear-gradient(90deg, rgba(18,19,22,.16) 0 3px, transparent 3px 5px); }
.g-steps li.cur { background: var(--ink); transform: scaleY(1.5); }
.g-steps li.hit { background: var(--sg); }
.g-steps li.near { background: var(--omega); }
.g-steps li.miss { background: var(--beta); }
.g-score { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.g-score .lab { color: var(--ink-3); }
.g-score b { font: 400 34px/1 var(--f-num); font-variant-numeric: tabular-nums; }
.g-score small { color: var(--ink-3); font: 400 15px var(--f-num); }
.g-body { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.g-card { position: relative; padding: 24px 24px 22px; border-radius: 18px; background: var(--card); box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 18px 34px -24px rgba(30,24,12,.45); overflow: hidden; }
.g-card::after { content: "盲"; position: absolute; right: 16px; top: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 900 19px/1 var(--f-disp); color: var(--beta); border: 2px solid currentColor; transform: rotate(-12deg); opacity: .78; }
.g-card.bonus::after { content: "附"; color: var(--omega); }
.g-card.flip { animation: cardIn .7s var(--ease); }
@keyframes cardIn { from { opacity: 0; transform: translate3d(-14px, 0, 0) rotate(-1deg); } }
.g-id { margin: 0; color: var(--ink-3); }
.g-title { margin: 12px 56px 16px 0; font: 900 clamp(21px, 2vw, 27px)/1.35 var(--f-disp); }
.g-meta { margin: 0; display: grid; gap: 12px; }
.g-meta div { display: grid; gap: 4px; padding-top: 12px; border-top: 1px dashed var(--rule); }
.g-meta dt { color: var(--ink-3); }
.g-meta dd { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink); }
.g-tip { margin: 14px 0 0; font-size: 12.5px; line-height: 1.75; color: var(--ink-3); }
.g-tip:empty { display: none; }
.g-inst { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.g-meter { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.g-meter .lab { color: var(--ink-3); }
.g-meter .dial { --ds: clamp(34px, 3.6vw, 50px); }
.g-q { margin: 6px 0 0; font: 700 17px/1.4 var(--f-disp); }
.g-q small { margin-left: 8px; font: 400 12.5px var(--f-sans); color: var(--ink-3); }
.g-scale { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.g-opt { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 11px 2px 9px; min-height: 66px; border-radius: 12px; border: 0; cursor: pointer; color: var(--ink);
  background: linear-gradient(180deg, #FCFAF6, #E8E3D9); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0,0,0,.07), 0 1px 0 rgba(0,0,0,.12), 0 6px 14px -8px rgba(30,24,12,.35); transition: transform .12s, background .25s, color .25s, box-shadow .2s; }
.g-opt b { font: 400 21px/1 var(--f-num); }
.g-opt b sup { font-size: .6em; vertical-align: .7em; }
.g-opt small { font: 500 9.5px/1.2 var(--f-mono); color: var(--ink-3); letter-spacing: -.02em; }
.g-opt:hover { background: linear-gradient(180deg, #fff, #EEE9E0); }
.g-opt[aria-checked="true"] { background: linear-gradient(180deg, #2A2B30, #141518); color: var(--paper); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 0 rgba(0,0,0,.3); transform: translateY(1px); }
.g-opt[aria-checked="true"] small { color: rgba(242,239,232,.6); }
.g-opt.truth { box-shadow: inset 0 0 0 2px var(--sg), 0 6px 14px -8px rgba(18,162,127,.6); }
.g-opt.truth::after { content: "实际"; font: 600 9px/1 var(--f-sans); color: var(--sg); margin-top: 2px; }
.g-opt[aria-checked="true"].truth::after { color: var(--sg-l); }
.g-opt[disabled] { cursor: default; }
.g-scale .g-hint { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.g-act { display: flex; gap: 10px; flex-wrap: wrap; }
.g-res { min-height: 0; }
.g-res:empty { display: none; }
.g-sub { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 12px; row-gap: 2px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px var(--rule-2); font: 500 15px/1.5 var(--f-mono); font-variant-numeric: tabular-nums; }
.g-sub .k { color: var(--ink-3); font: 600 10px/2.2 var(--f-sans); font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; }
.g-sub .r { text-align: right; }
.g-sub .eqrow { border-top: 1px solid var(--ink); padding-top: 4px; }
.g-sub em { font-style: normal; color: var(--beta); font-weight: 700; background: color-mix(in srgb, var(--beta) 12%, transparent); border-radius: 3px; padding: 0 1px; }
.g-ver { margin: 12px 0 0; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.g-ver b { font: 900 20px/1.3 var(--f-disp); }
.g-ver.hit b { color: var(--sg); } .g-ver.near b { color: #B07A00; } .g-ver.miss b { color: var(--beta); }
.g-ver span { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.g-chart { margin: 0; padding: 14px 14px 10px; border-radius: 18px; background: rgba(255,255,255,.45); box-shadow: inset 0 0 0 1px var(--rule-2); }
.g-chart svg { width: 100%; height: auto; overflow: visible; }
.g-chart figcaption { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 12px; color: var(--ink-2); align-items: center; }
.g-chart figcaption .lab { color: var(--ink-3); font-size: 9.5px; flex-basis: 100%; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.lg-truth { background: var(--ink); }
.lg-guess { border: 1.5px dashed var(--beta); }
.g-end { margin-top: 8px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 30px 40px; align-items: center; animation: gEndIn .7s var(--ease) both; }
@keyframes gEndIn { from { opacity: 0; transform: translateY(18px); } }
.g-end .g-chart-end { align-self: stretch; }
.g-end .g-less { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--rule); }
.g-end .g-less li { border-bottom: 0; padding-top: 18px; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.g-end[hidden] { display: none; }
.g-rank .lab { color: var(--ink-3); margin: 0 0 8px; }
.g-rank b { display: block; font: 400 clamp(64px, 8vw, 110px)/.9 var(--f-num); letter-spacing: -.03em; }
.g-rank b small { font-size: .3em; color: var(--ink-3); letter-spacing: 0; }
.g-rank p.t { margin: 12px 0 18px; font: 900 22px/1.35 var(--f-disp); }
.g-less { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: l; }
.g-less li { counter-increment: l; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.g-less li::before { content: counter(l, decimal-leading-zero); font: italic 400 19px/1.5 var(--f-num); color: var(--hot); }
.g-less b { color: var(--ink); }

/* =========================================================
   03 · 发现
   ========================================================= */
.facts { display: grid; gap: clamp(56px, 7vw, 96px); margin-bottom: clamp(72px, 9vw, 130px); }
.fact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 26px 60px; padding-top: 30px; border-top: 1px solid var(--ink); }
.fact-n b { display: block; font: 400 clamp(76px, 10.5vw, 158px)/.88 var(--f-num); letter-spacing: -.035em; font-variant-numeric: lining-nums; white-space: nowrap; }
.fact-n b sup { font-size: .42em; vertical-align: 1.05em; letter-spacing: 0; }
.fact-n b .le { display: inline-block; font: 400 .56em/1 var(--math); vertical-align: .32em; margin-right: .1em; color: var(--ink-3); letter-spacing: 0; }
.fact-n > span { display: block; margin-top: 14px; font: 600 11px/1.4 var(--f-sans); font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
.fact-b h3 { margin: 0 0 14px; font: 900 clamp(22px, 2.4vw, 32px)/1.38 var(--f-disp); letter-spacing: -.01em; }
.fact-b p { font-size: 15.5px; line-height: 1.9; color: var(--ink-2); }
.fact-fig { grid-column: 2; margin: 0; }
.fact-fig svg { width: 100%; height: auto; overflow: visible; }
.facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: clamp(56px, 7vw, 96px) 0 0; }
.fact-s { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.fact-s .fact-n b { font-size: clamp(50px, 6.4vw, 92px); }
.fact-s .fact-b p { font-size: 15px; }
/* SVG 图表通用 */
.ax { stroke: var(--ink); stroke-width: 1; fill: none; shape-rendering: crispEdges; }
.gl { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 4; fill: none; }
.tk { font: 500 11px var(--f-mono); fill: var(--ink-3); }
.tkb { font: 600 11.5px var(--f-mono); fill: var(--ink); }
.cl { font: 600 12.5px var(--f-sans); fill: var(--ink); }
.cl-s { font: 400 11.5px var(--f-sans); fill: var(--ink-3); }
.cl-num { font: 400 30px var(--f-num); fill: var(--ink); }
.cl-it { font: italic 400 15px var(--f-num); fill: var(--ink-2); }
.halo { paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.sec-paper2 .halo { stroke: var(--paper-2); }
.thr { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 5 5; fill: none; }
.thr-hot { stroke: var(--hot); }
.pt { transition: opacity .5s, transform .6s var(--ease); transform-box: fill-box; transform-origin: center; }
.pt.off { opacity: .14; }
.trend { fill: none; stroke: var(--hot); stroke-width: 1.5; stroke-dasharray: 6 5; transition: d .6s var(--ease), opacity .4s; }
.drawl { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); }
.in .drawl, .drawl.in { animation: drawL 2.4s var(--ease) forwards; }
@keyframes drawL { to { stroke-dashoffset: 0; } }
.pop { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; }
.in .pop { animation: popIn .7s var(--spring) forwards; animation-delay: calc(var(--i, 0) * 90ms + .3s); }
@keyframes popIn { to { opacity: 1; transform: none; } }
/* 记录轨迹 */
.record { margin: 0 0 clamp(72px, 9vw, 130px); }
.rec-h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 40px; margin-bottom: 26px; align-items: end; }
.rec-h .lab { grid-column: 1 / -1; color: var(--hot); margin: 0; }
.rec-h h3 { margin: 0; font: 900 clamp(24px, 2.8vw, 38px)/1.3 var(--f-disp); }
.rec-h > p:last-child { margin: 0; font-size: 14px; line-height: 1.8; color: var(--ink-3); }
.rec-wrap { position: relative; border-radius: 22px; padding: clamp(10px, 2vw, 22px); background: var(--card); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 60px -40px rgba(30,24,12,.4); }
.rec-wrap svg { width: 100%; height: auto; overflow: visible; }
.sc-hint { display: none; margin: 10px 0 0; text-align: center; color: var(--ink-4); font-size: 9.5px; }
.rec-col { fill: transparent; cursor: pointer; }
.rec-col:hover, .rec-col.on { fill: rgba(18,19,22,.045); }
.band-t { font: italic 400 22px var(--f-num); }
.rec-tip { position: absolute; z-index: 4; width: min(300px, 80%); padding: 14px 16px; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.65; pointer-events: none; box-shadow: 0 22px 44px -20px rgba(0,0,0,.6); }
.rec-tip[hidden] { display: none; }
.rec-tip b { display: block; font: 700 15px/1.4 var(--f-disp); margin-bottom: 4px; }
.rec-tip .num { font: 500 12px var(--f-mono); color: var(--omega-l); }
.rec-tip .k { font: 600 10px var(--f-mono); padding: 2px 6px; border-radius: 5px; background: rgba(255,255,255,.12); margin-right: 6px; }
/* 能说 / 不能说 */
.cando { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; margin-bottom: 28px; }
.cd { padding: 28px; border-radius: 22px; }
.cd > .lab { margin: 0 0 18px; }
.cd-yes { background: var(--card); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 26px 50px -36px rgba(30,24,12,.4); }
.cd-yes > .lab { color: var(--sg); }
.cd-no { background: var(--ink); color: var(--fog); }
.cd-no > .lab { color: var(--beta-l); }
.cd-no p { font: 400 clamp(17px, 1.6vw, 21px)/1.75 var(--f-serif); color: var(--fog); margin: 0; }
.rlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rlist li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--rule-2); font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.rlist li:last-child { border-bottom: 0; }
.rlist .rn { font: italic 400 19px/1 var(--f-num); color: var(--sg); text-align: right; }
.abs { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.abs summary, .ai summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; }
.abs summary::-webkit-details-marker, .ai summary::-webkit-details-marker { display: none; }
.abs-x { font: 300 26px/1 var(--f-sans); transition: transform .4s var(--ease); }
details[open] > summary .abs-x { transform: rotate(45deg); }
.abs-text { padding: 0 0 26px; font: 400 16px/2 var(--f-serif); color: var(--ink-2); max-width: 54em; }
.verify { display: inline-block; font: 600 9.5px/1 var(--f-mono); letter-spacing: .06em; color: #8A5A00; background: color-mix(in srgb, var(--omega) 18%, transparent); border: 1px solid color-mix(in srgb, var(--omega) 55%, transparent); border-radius: 5px; padding: 3px 5px; margin: 0 2px; vertical-align: 2px; }
a.xref { color: var(--hot); border-bottom: 1px dotted color-mix(in srgb, var(--hot) 55%, transparent); }
a.xref:hover { border-bottom-style: solid; }
sup.cite { white-space: nowrap; color: var(--ink-3); }
sup.cite a { color: inherit; text-decoration: none; padding: 0 1px; }
sup.cite a:hover { color: var(--hot); }

/* =========================================================
   装置 03 · 撤销台
   ========================================================= */
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lb-tools { display: flex; gap: 8px; }
.lb-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.55fr) minmax(0, .82fr); gap: 22px; margin-top: 24px; align-items: start; }
.lb-stack .lab, .lb-tape .lab { color: var(--ink-3); margin: 0; }
.stack { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; min-height: 300px; }
.stack li { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 12px; border-radius: 12px; background: var(--card); box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 16px -12px rgba(30,24,12,.5); font-size: 12.5px; line-height: 1.35; color: var(--ink-2); animation: pushIn .55s var(--spring); }
.stack li b { flex: none; font: 600 11.5px/1 var(--f-mono); padding: 4px 7px; border-radius: 6px; background: var(--ink); color: var(--paper); }
.stack li.top { box-shadow: inset 0 0 0 1.5px var(--hot), 0 8px 16px -12px rgba(30,24,12,.5); }
.stack li.top b { background: var(--hot); }
.stack li.pin b { background: var(--ink-3); }
.stack li.out { animation: popOut .45s var(--ease) forwards; }
@keyframes pushIn { from { opacity: 0; transform: translate3d(0, -18px, 0) scale(.96); } }
@keyframes popOut { to { opacity: 0; transform: translate3d(30px, 0, 0); } }
.stack-empty { font-size: 13px; color: var(--ink-3); padding: 10px 2px; }
.lb-hint { margin: 12px 0 0; font-size: 12.5px; line-height: 1.75; color: var(--ink-3); }
.lb-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lb-meter { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 12px 22px; border-radius: 22px; background: radial-gradient(120% 90% at 50% 0%, #F9F6F0, #E9E4DA); box-shadow: inset 0 0 0 1px var(--rule-2), inset 0 2px 8px rgba(0,0,0,.05); }
.lb-node { margin: 0; text-align: center; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); min-height: 1.6em; }
.lb-node b { font: 700 15px var(--f-disp); color: var(--ink); }
.cmp { border-radius: 18px; padding: 16px 18px; background: rgba(255,255,255,.5); box-shadow: inset 0 0 0 1px var(--rule-2); }
.cmp:empty { display: none; }
.cmp-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; }
.cmp-h .lab { color: var(--ink-3); }
.cmp-h b { font: 600 14px var(--f-mono); }
.cmp-h b.pos { color: var(--alpha); } .cmp-h b.neg { color: var(--beta); } .cmp-h b.zero { color: var(--sg); }
.cmp-nums { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font: 500 15px/1.55 var(--f-mono); font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.cmp-nums span { font: 600 10px/2.3 var(--f-sans); font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.cmp-nums em { font-style: normal; color: var(--beta); background: color-mix(in srgb, var(--beta) 12%, transparent); border-radius: 3px; }
.ruler { position: relative; height: 54px; }
.ruler svg { width: 100%; height: 54px; overflow: visible; }
.ruler .rk { stroke: var(--ink-3); stroke-width: 1; }
.ruler .rb { fill: color-mix(in srgb, var(--sg) 14%, transparent); }
.ruler .rt { font: 500 9.5px var(--f-mono); fill: var(--ink-3); }
.ruler .r0 { stroke: var(--ink); stroke-width: 2; }
.ruler .r1 { fill: var(--hot); transition: transform .9s var(--spring); }
.lb-acts { display: grid; gap: 8px; }
.act { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 13px 16px; border: 0; border-radius: 14px; text-align: left; cursor: pointer; color: var(--ink);
  background: linear-gradient(180deg, #FCFAF6, #E8E3D9); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0,0,0,.07), 0 1px 0 rgba(0,0,0,.12), 0 8px 16px -10px rgba(30,24,12,.4); transition: transform .12s, box-shadow .2s, background .2s; }
.act:hover { background: linear-gradient(180deg, #fff, #ECE8DF); }
.act:active { transform: translateY(2px); box-shadow: inset 0 1px 3px rgba(0,0,0,.18); }
.act > span { min-width: 0; }
.act b { display: block; font: 700 14.5px/1.4 var(--f-disp); }
.act small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.act i { flex: none; font: 600 11px/1 var(--f-mono); font-style: normal; padding: 6px 8px; border-radius: 8px; background: var(--ink); color: var(--paper); }
.act.k-cancel i { background: var(--alpha); } .act.k-erase i { background: var(--beta); } .act.k-machine i { background: var(--sg); } .act.k-omega i { background: var(--omega); color: var(--ink); }
.act.ghost { opacity: .5; background: transparent; box-shadow: inset 0 0 0 1px var(--rule); cursor: help; }
.act.ghost i { background: var(--ink-4); }
.acts-k { margin: 4px 0 0; color: var(--ink-3); }
.tape { list-style: none; margin: 12px 0 0; padding: 0; max-height: 380px; overflow: auto; font: 500 11.5px/1.4 var(--f-mono); font-variant-numeric: tabular-nums; scrollbar-width: thin; }
.tape li { display: grid; grid-template-columns: 2.7em minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--rule); animation: tapeIn .5s var(--ease); }
.tape li b { font-weight: 600; color: var(--ink); }
.tape li .d { color: var(--ink-3); text-align: right; }
.tape li.now { color: var(--ink); }
.tape li.now b { color: var(--hot); }
@keyframes tapeIn { from { opacity: 0; transform: translate3d(0, -6px, 0); } }

/* =========================================================
   05 · 可识别性：零空间 / 三种解释 / 表 3
   ========================================================= */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: clamp(72px, 9vw, 130px); align-items: start; }
.nl, .md { margin-top: 24px; }
.nl-rows { display: grid; gap: 10px; }
.nl-row { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px var(--rule-2); }
.nl-row > b { grid-row: span 3; font: 600 13px var(--f-mono); }
.nl-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.cc { font: 600 10.5px/1 var(--f-sans); padding: 4px 6px; border-radius: 5px; color: var(--ink-4); box-shadow: inset 0 0 0 1px var(--rule); white-space: nowrap; transition: background .3s, color .3s; }
.cc.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.cc.on.cd { background: var(--beta); } .cc.on.cw { background: var(--alpha); }
.nl-bar { position: relative; height: 18px; display: flex; align-items: center; }
.nl-bar .tr { position: absolute; left: 0; right: 0; height: 6px; border-radius: 3px; background: rgba(18,19,22,.08); }
.nl-bar .fl { position: absolute; left: 0; height: 6px; border-radius: 3px; background: var(--ink); transition: width .25s var(--ease), background .3s; }
.nl-bar .tg { position: absolute; top: 0; width: 2px; height: 18px; margin-left: -1px; background: var(--hot); }
.nl-row > .vv { grid-column: 2; margin-top: -3px; text-align: right; font: 500 10.5px/1.3 var(--f-mono); color: var(--ink-3); }
.nl-row > .vv b { font-weight: 600; color: var(--ink); }
.nl-row.bad > .vv b { color: var(--beta); }
.nl-row.bad .fl { background: var(--beta); }
.nl-row.ok > .vv::after { content: " ✓"; color: var(--sg); }
.nl-row.bad > .vv::after { content: " ×"; color: var(--beta); }
.nl-ctl { margin-top: 18px; padding: 16px 16px 14px; border-radius: 16px; background: var(--card); box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 14px 28px -22px rgba(30,24,12,.5); }
.nl-ctl label { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: 13px; color: var(--ink-2); }
.nl-ctl label b { font: 600 12px var(--f-mono); color: var(--ink); white-space: nowrap; }
.nl-ws { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 14px 0 0; }
.nl-w { padding: 8px 6px; border-radius: 10px; background: rgba(18,19,22,.04); text-align: center; }
.nl-w span { display: block; font-size: 11px; line-height: 1.35; color: var(--ink-3); }
.nl-w span i { display: block; margin-bottom: 2px; font: italic 400 16px/1 var(--f-num); color: var(--ink-2); }
.nl-w span i sub { font: 500 9px var(--f-sans); font-style: normal; }
.nl-w b { display: block; margin-top: 3px; font: 600 11.5px var(--f-mono); color: var(--ink); }
.nl-w.lk b { color: var(--hot); }
.nl-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nl-msg { margin: 14px 0 0; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); min-height: 3.4em; }
.nl-msg b { color: var(--ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 8px 0 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--beta), #C9C3B8 50%, var(--alpha)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--beta), #C9C3B8 50%, var(--alpha)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: linear-gradient(180deg, #fff, #E4DFD5); box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0,0,0,.2), 0 4px 10px -3px rgba(0,0,0,.35); border: 0; }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(180deg, #fff, #E4DFD5); box-shadow: 0 1px 0 rgba(0,0,0,.2), 0 4px 10px -3px rgba(0,0,0,.35); border: 0; }
.eq-more { margin-top: 16px; }
.eq-more summary { cursor: pointer; color: var(--ink-3); padding: 6px 0; }
.md-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mdc { position: relative; padding: 14px 14px 12px; border-radius: 16px; border: 0; text-align: left; cursor: pointer; color: var(--ink); background: linear-gradient(180deg, #FCFAF6, #E8E3D9); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0,0,0,.07), 0 1px 0 rgba(0,0,0,.12), 0 8px 16px -10px rgba(30,24,12,.4); transition: transform .15s, background .25s, color .25s; }
.mdc b { display: block; font: 600 12px var(--f-mono); color: var(--ink-3); }
.mdc span { display: block; margin-top: 6px; font: 700 15px/1.35 var(--f-disp); }
.mdc small { display: block; margin-top: 6px; font-size: 11.5px; line-height: 1.55; color: var(--ink-3); }
.mdc.on { background: linear-gradient(180deg, #2A2B30, #141518); color: var(--paper); transform: translateY(1px); }
.mdc.on b, .mdc.on small { color: rgba(242,239,232,.62); }
.mdc.on::after { content: attr(data-slot); position: absolute; right: 10px; top: 10px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 600 10px/1 var(--f-mono); background: var(--hot); color: #fff; }
.md-tbl { width: 100%; margin-top: 16px; border-collapse: separate; border-spacing: 0 4px; font-size: 13px; }
.md-tbl th { font: 600 10px var(--f-sans); font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); text-align: left; padding: 0 10px 4px; }
.md-tbl td { padding: 9px 10px; background: rgba(255,255,255,.55); vertical-align: top; line-height: 1.5; }
.md-tbl td:first-child { border-radius: 10px 0 0 10px; font: 600 12px var(--f-mono); width: 3.4em; }
.md-tbl td:last-child { border-radius: 0 10px 10px 0; }
.md-tbl td.big { color: var(--ink); font-weight: 600; }
.md-tbl td.sml { color: var(--ink-3); }
.md-tbl tr.diff td { background: color-mix(in srgb, var(--omega) 16%, rgba(255,255,255,.55)); }
.md-tbl .pv { display: inline-flex; align-items: center; gap: 6px; }
.md-tbl .pv i { display: inline-block; height: 6px; border-radius: 3px; background: var(--ink); transition: width .5s var(--ease); }
.md-tbl .pv.s i { background: var(--ink-4); }
.md-out { margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--ink); color: var(--fog); font-size: 13.5px; line-height: 1.75; }
.md-out b { font: 900 18px/1.4 var(--f-disp); display: block; margin-bottom: 2px; color: #fff; }
.t3-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 40px; align-items: end; margin-bottom: 26px; }
.t3-head .lab { grid-column: 1 / -1; margin: 0; color: var(--hot); }
.t3-head h3 { margin: 0; font: 900 clamp(24px, 2.8vw, 38px)/1.3 var(--f-disp); }
.t3-head > p:last-child { margin: 0; font-size: 14px; color: var(--ink-3); }
.t3-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 22px; overflow: hidden; }
.t3c { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 22px; background: var(--paper); transition: background .35s; }
.t3c:hover { background: var(--card); }
.t3c .q { display: flex; flex-direction: column; gap: 6px; font: 700 18px/1.45 var(--f-serif); color: var(--ink); }
.t3c .q > span { font-size: 1.12em; }
.t3c .q > span math { font-size: 1.15em; }
.t3c .q small { font: 400 13.5px/1.65 var(--f-sans); color: var(--ink-2); }
.t3c > p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.t3c .need { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--rule); font-size: 13px; color: var(--ink); }
.t3c .need b { display: block; margin-bottom: 4px; font: 600 10px/1.4 var(--f-sans); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--sg); }

/* =========================================================
   06 · 盲编码与跨作品
   ========================================================= */
.bl { margin-bottom: clamp(72px, 9vw, 130px); }
.bl-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.bl-bar .lab { color: var(--ink-3); margin: 0; max-width: 52em; line-height: 1.8; }
.env-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.env { position: relative; height: 206px; perspective: 1100px; border: 0; padding: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.env-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.env.open .env-in { transform: rotateY(180deg); }
.env-f, .env-b { position: absolute; inset: 0; border-radius: 16px; padding: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; display: flex; flex-direction: column; }
.env-f { background: linear-gradient(180deg, #F7F2E7, #EDE6D7); box-shadow: inset 0 0 0 1px rgba(80,60,20,.1), 0 14px 28px -20px rgba(40,30,10,.55); }
.env-f::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 58%; background: linear-gradient(to bottom right, transparent 49.6%, rgba(80,60,20,.13) 50%, transparent 50.6%) left / 50% 100% no-repeat, linear-gradient(to bottom left, transparent 49.6%, rgba(80,60,20,.13) 50%, transparent 50.6%) right / 50% 100% no-repeat; pointer-events: none; }
.env-seal { position: absolute; left: 50%; top: 58%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center; font: 900 15px/1 var(--f-disp); color: #fff; background: radial-gradient(circle at 35% 30%, #F1664D, #B8291A 70%); box-shadow: 0 0 0 3px rgba(184,41,26,.18), 0 6px 10px -4px rgba(120,20,0,.6); transform: rotate(-10deg); }
.env-f .eb { font: 600 13px var(--f-mono); }
.env-f .ed { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 8px; }
.env-f .ed span { font: 500 11px var(--f-mono); color: var(--ink-3); }
.env-f .ed b { font: 600 13px var(--f-mono); color: var(--ink-2); letter-spacing: .02em; }
.env-b { transform: rotateY(180deg); background: var(--card); box-shadow: inset 0 0 0 1px var(--rule-2), 0 14px 28px -20px rgba(40,30,10,.55); gap: 8px; }
.env-b .eh { display: flex; justify-content: space-between; align-items: baseline; }
.env-b .eh b { font: 600 14px var(--f-mono); }
.env-b .eh span { font: 500 11px var(--f-mono); color: var(--ink-3); }
.env-b .ev { font: 400 30px/1 var(--f-num); letter-spacing: -.01em; }
.env-b .ev small { font: 500 10px var(--f-mono); color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.env-b .ec { display: grid; grid-template-columns: 1.6em minmax(0, 1fr); gap: 4px 6px; align-items: center; font-size: 11px; }
.env-b .ec > span { font: 600 10px var(--f-mono); color: var(--ink-3); }
.env-b .ec .cs { display: flex; flex-wrap: wrap; gap: 3px; }
.env-b .ec .cs i { font: 600 10px/1 var(--f-sans); font-style: normal; padding: 3px 5px; border-radius: 4px; background: var(--ink); color: var(--paper); }
.env-b .ec .cs i.none { background: transparent; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--rule); }
.env-b .en { margin-top: auto; font-size: 11px; line-height: 1.5; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.env.f1 .env-b { box-shadow: inset 0 0 0 2px var(--sg), 0 14px 28px -20px rgba(40,30,10,.55); }
.env.empty .env-b { box-shadow: inset 0 0 0 2px var(--beta), 0 14px 28px -20px rgba(40,30,10,.55); }
.env .tag { align-self: flex-start; font: 600 9.5px/1 var(--f-sans); font-stretch: 125%; letter-spacing: .1em; padding: 4px 6px; border-radius: 4px; color: #fff; }
.env.f1 .tag { background: var(--sg); } .env.empty .tag { background: var(--beta); }
.bl-sum { margin: 22px 0 0; padding: 22px 24px; border-radius: 18px; background: var(--card); font-size: 15px; line-height: 1.9; color: var(--ink-2); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 44px -34px rgba(30,24,12,.45); }
.bl-sum p { margin: 0; }
.bl-sum b { color: var(--ink); }
.chain { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: c; }
.chain li { position: relative; padding: 22px 16px 0 0; counter-increment: c; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.chain li::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--ink); }
.chain li::after { content: counter(c); position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--ink); font: 600 9px/15px var(--f-mono); text-align: center; color: var(--ink); }
.chain b { display: block; font: 600 12px var(--f-mono); color: var(--ink); margin-bottom: 2px; }
.chain code { display: block; margin-top: 6px; font: 500 10.5px/1.4 var(--f-mono); color: var(--ink-3); word-break: break-all; }
.xw { margin: 0; }
.xw svg { width: 100%; height: auto; overflow: visible; padding: clamp(10px, 2vw, 22px); border-radius: 22px; background: var(--card); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 60px -40px rgba(30,24,12,.4); }

/* =========================================================
   07 · 局限与猜想
   ========================================================= */
.lim-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.lim > .lab, .conj-box > .lab, .next > .lab { margin: 0 0 16px; color: var(--hot); }
.lim-list { list-style: none; margin: 0; padding: 0; counter-reset: lm; border-top: 1px solid var(--ink); }
.lim-list li { counter-increment: lm; display: grid; grid-template-columns: 2.6em minmax(0, 1fr); gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.lim-list li::before { content: counter(lm); font: italic 400 26px/1.15 var(--f-num); color: var(--ink); }
.lim-r { display: grid; gap: 22px; }
.conj-box, .next { padding: 26px; border-radius: 22px; background: var(--card); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 26px 50px -38px rgba(30,24,12,.45); }
.next { background: var(--ink); color: var(--fog); }
.next > .lab { color: var(--omega-l); }
.next .prose p { color: var(--fog-2); }
.prose p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); margin: 0 0 12px; }
.prose p:last-child { margin-bottom: 0; }
.prose .conj { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.prose .conj li { padding: 14px 16px; border-radius: 14px; background: var(--paper); font-size: 14px; line-height: 1.85; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule-2); }
.prose .conj li b:first-child { display: inline-block; margin-right: 8px; padding: 3px 7px; border-radius: 6px; font: 600 12px/1 var(--f-mono); background: var(--ink); color: var(--paper); }
.prose ul:not(.conj), .prose ol { margin: 0 0 12px; padding-left: 1.3em; font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.ai { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ai .prose { padding-bottom: 20px; }

/* =========================================================
   08 · 下载（Steins;Gate 世界线）
   ========================================================= */
.sec-night { background: var(--night); color: var(--fog); overflow: hidden; }
.sg-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; pointer-events: none; }
.sec-night .wrap { z-index: 1; }
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dl { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 22px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dl-main { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) auto; align-items: end; gap: 22px 40px; padding: 34px; background: linear-gradient(120deg, rgba(18,162,127,.2), rgba(255,255,255,.035) 60%); box-shadow: inset 0 0 0 1px rgba(67,226,185,.22); }
.dl-k { margin: 0; color: var(--sg-l); }
.dl h4 { margin: 0; font: 900 clamp(24px, 2.4vw, 34px)/1.3 var(--f-disp); color: #fff; }
.dl p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--fog-2); }
.dl-main p { max-width: 44em; }
.ctl-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.ctl-bar .btn-hot { --hot: var(--sg); background: var(--sg); }
.ctl-bar .btn:not(.btn-hot) { border: 1px solid rgba(238,234,226,.3); }
.dl-files { margin-top: auto; display: grid; }
.dl-files a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); font: 500 12px/1.4 var(--f-mono); color: var(--fog-2); transition: color .25s, padding .3s var(--ease); }
.dl-files a:hover { color: #fff; padding-left: 6px; }
.dl-files a .fn { color: var(--fog); word-break: break-all; }
.dl-files a span:last-child { flex: none; color: var(--fog-3); }
.cite-box { margin-top: 18px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 24px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.cite-box .lab { margin: 0; color: var(--fog-3); }
.cite-t { margin: 0; font: 400 14px/1.75 var(--f-serif); color: var(--fog); }
.foot { background: var(--night); color: var(--fog-3); padding: clamp(70px, 9vw, 120px) 0 44px; border-top: 1px solid rgba(255,255,255,.06); }
.foot-big { margin: 0 0 clamp(36px, 5vw, 64px); font: italic 400 clamp(56px, 11vw, 176px)/.95 var(--f-num); letter-spacing: -.03em; color: var(--fog); cursor: default; user-select: none; transition: color .6s, text-shadow .6s; }
.foot-big:hover { color: #fff; text-shadow: 0 0 40px rgba(67,226,185,.4); }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 24px 48px; font-size: 12.5px; line-height: 1.9; }
.foot-cols p { margin: 0; }
.foot-cols p:not(.foot-l) a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: rgba(255,255,255,.35); }
.foot-cols p:not(.foot-l) a:hover { text-decoration-color: currentColor; }
.foot-l { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.foot-l a { color: var(--fog-2); transition: color .25s; }
.foot-l a:hover { color: #fff; }

/* 彩蛋：世界线跳跃 */
.shift-fx { position: fixed; inset: 0; z-index: 90; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.0) 0 3px, rgba(255,255,255,.06) 3px 4px); mix-blend-mode: difference; animation: shiftFx 1.1s steps(9) forwards; }
@keyframes shiftFx { 0% { opacity: 1; transform: translateY(0); background-color: rgba(255,255,255,.9); } 30% { background-color: rgba(255,255,255,.0); } 100% { opacity: 0; transform: translateY(-30px); } }

/* =========================================================
   数学排版（Temml MathML）
   ========================================================= */
math { font-family: var(--math); font-style: normal; font-weight: normal; line-height: normal; text-indent: 0; text-transform: none; letter-spacing: normal; word-wrap: normal; direction: ltr; font-feature-settings: "dtls" off; }
math * { border-color: currentColor; }
math.tml-display { display: block; width: 100%; }
math mtext { font-family: var(--f-serif); }
.mathscr { font-feature-settings: "ss01"; }
.tml-sml-pad { padding-left: .05em; } .tml-med-pad { padding-left: .1em; } .tml-lrg-pad { padding-left: .15em; }
.tml-tageqn > mtd:last-child { text-align: right; }
.tml-tag { color: var(--ink-3); }
.abs-text math, .prose math, .lim-list math, .t3c math, .rlist math, .cd math { font-size: 1.06em; }
.eq { position: relative; margin: 14px 0; padding: 18px 58px 18px 18px; border-radius: 14px; background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px var(--rule); font-size: 17px; color: var(--ink); }
.eq::after { content: "(" attr(data-n) ")"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 400 16px/1 var(--f-num); color: var(--ink-3); }
.eq-s { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.eq-s math.tml-display { min-width: max-content; }
.sec-night .eq { background: rgba(255,255,255,.05); color: var(--fog); }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1240px) {
  .nav a i { display: none; }
  .nav a { padding: 7px 9px; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .g-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .g-chart { grid-column: 1 / -1; }
  .g-chart svg { max-height: 320px; }
  .lb-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .lb-tape { grid-column: 1 / -1; }
  .tape { max-height: 220px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); column-gap: 18px; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .t3-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto auto; padding-top: 84px; }
  .hero-k, .hero-num, .hero-t, .hero-side, .story { grid-column: 1; }
  .hero-num { grid-row: 2; }
  .hero-t { grid-row: 3; }
  .hero-side { grid-row: 4; margin-top: 18px; }
  .hero-side .hero-d { display: none; }
  .story { grid-row: 5; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
  .story-l { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .story-ticks { margin-top: 0; }
  .story-ticks button { width: 14px; }
  .hero-hint { display: none; }
  .sh-t, .sh-d { grid-column: 1 / -1; }
  .sh-d { margin-top: 22px; }
  .anat { grid-template-columns: minmax(0, 1fr); }
  .anat-num { grid-row: auto; }
  .eq-card { grid-column: 1; }
  .concepts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpt:nth-child(2) { border-right: 0; }
  .cpt:nth-child(3) { padding-left: 0; }
  .cpt:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .titor blockquote, .titor figcaption { grid-column: 1 / -1; padding-left: .7em; }
  .titor blockquote::before { left: -.1em; }
  .ask-k, .ask ol { grid-column: 1 / -1; }
  .ask-k { margin-bottom: 10px; }
  .fact { grid-template-columns: minmax(0, 1fr); }
  .fact-fig { grid-column: 1; }
  .facts-2 { grid-template-columns: minmax(0, 1fr); }
  .rec-h, .t3-head { grid-template-columns: minmax(0, 1fr); }
  .cando { grid-template-columns: minmax(0, 1fr); }
  .lim-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-main { grid-template-columns: minmax(0, 1fr); }
  .cite-box { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .foot-l { text-align: left; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .g-end, .g-end .g-less { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .bar { height: 58px; gap: 10px; }
  .brand-t em { display: none; }
  .hud { padding: 0 10px; height: 32px; font-size: 12px; }
  .bar-cta { height: 32px; padding: 0 12px; }
  .hero-t { font-size: clamp(34px, 10.4vw, 52px); }
  .story-cap { grid-column: 1 / -1; }
  .story-ctl { grid-column: 1 / -1; justify-content: space-between; }
  .story-ctl .btn { flex: 1; justify-content: center; }
  .story-id span { white-space: normal; font-size: 15.5px; }
  .story-s { font-size: 12.5px; }
  .hero-cta .btn { height: 44px; padding: 0 18px; font-size: 13.5px; }
  .device { border-radius: 24px; padding: 18px 14px; }
  .device::before { inset: 8px; }
  .sc { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .fact-fig.sc svg { min-width: 600px; }
  .rec-wrap .sc svg { min-width: 880px; }
  .xw .sc svg { min-width: 860px; }
  .sc-hint { display: block; }
  .env-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 76%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px; scrollbar-width: none; }
  .env-grid::-webkit-scrollbar { display: none; }
  .env { scroll-snap-align: center; }
  .eq { font-size: 14.5px; padding: 14px 44px 14px 14px; }
  .basin { display: flex; flex-direction: column; }
  .basin-hud { position: relative; left: auto; top: auto; order: -1; align-items: flex-start; gap: 10px; padding: 12px 12px 0; }
  .basin-hud .dial { --ds: 22px; flex: none; }
  .basin-cap span { font-size: 12px; }
  #basinCv { height: 300px; }
  .dev-stat { margin-left: 0; width: 100%; }
  .g-body, .lb-grid { grid-template-columns: minmax(0, 1fr); }
  .g-scale { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-card { padding: 20px 18px; }
  .stack { min-height: 0; }
  .lb-meter { padding: 22px 6px 16px; }
  .dial-l { --ds: clamp(30px, 8.4vw, 44px); }
  .tape { grid-template-columns: minmax(0, 1fr); }
  .concepts { grid-template-columns: minmax(0, 1fr); }
  .cpt, .cpt + .cpt { padding: 22px 0; border-right: 0; }
  .cpt + .cpt { border-top: 1px solid var(--rule); }
  .t3-grid { grid-template-columns: minmax(0, 1fr); }
  .chain { grid-template-columns: minmax(0, 1fr); }
  .md-pick { grid-template-columns: minmax(0, 1fr); }
  .nl-ws { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .env-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .env { height: 196px; }
  .env-f, .env-b { padding: 12px; }
  .env-b .ev { font-size: 24px; }
  .eq { padding: 14px 44px 14px 12px; font-size: 15px; }
  .eq::after { right: 10px; font-size: 14px; }
}
@media (max-width: 420px) {
  .anat-num { font-size: 21vw; }
  .env-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 减少动态效果 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero-t .ln > span, .js .hero-side, .js .hero-k, .js .story { opacity: 1; transform: none; }
  .drawl { stroke-dashoffset: 0; }
  .pop { opacity: 1; transform: none; }
}

/* 打印 */
@media print {
  .bar, .loom, .hero-hint, .ctag, .story-ctl, .device, .sg-lines, .dev-basin { display: none !important; }
  .hero { height: auto; background: #fff; color: #000; }
  .hero-pin { position: static; height: auto; min-height: 0; }
  .hero-grid { position: static; opacity: 1; transform: none; }
  .sec, .sec-night, .foot { background: #fff !important; color: #000 !important; padding: 32px 0; }
  .js .reveal { opacity: 1; transform: none; }
}

/* —— 游乐场入口 —— */
.nav a.nav-pg { opacity: .9; color: var(--fcl, currentColor); }
.pg-teaser { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k go" "t go" "d go"; gap: 8px 36px; align-items: center; margin: 0 0 18px; padding: 30px 32px; border-radius: 22px; overflow: hidden; color: var(--fog); text-decoration: none;
  background: radial-gradient(120% 160% at 100% 50%, rgba(46,91,255,.30), transparent 55%), radial-gradient(90% 140% at 0% 0%, rgba(229,69,47,.24), transparent 60%), #101015; border: 1px solid rgba(255,255,255,.1); transition: border-color .3s, transform .4s var(--ease, ease); }
.pg-teaser::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 25px, rgba(255,255,255,.055) 25px 26px); -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 55%, transparent); mask-image: linear-gradient(90deg, transparent 10%, #000 55%, transparent); }
.pg-teaser::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; width: 2px; left: 62%; background: linear-gradient(180deg, transparent, var(--alpha-l), transparent); box-shadow: 0 0 18px var(--alpha); opacity: .7; }
.pg-teaser:hover { border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.pt-k { grid-area: k; color: var(--sg-l); }
.pt-t { grid-area: t; font: 900 clamp(24px, 3vw, 36px)/1.25 var(--f-disp); color: #fff; letter-spacing: -.01em; }
.pt-t em { font-style: normal; color: var(--alpha-l); }
.pt-d { grid-area: d; max-width: 46em; font-size: 14px; line-height: 1.8; color: var(--fog-2); }
.pt-go { grid-area: go; display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 14px; background: linear-gradient(180deg, #fff, #ECE8DF); color: var(--ink); font: 600 14.5px/1 var(--f-sans); white-space: nowrap; box-shadow: 0 10px 30px -12px rgba(115,145,255,.8); transition: transform .3s; }
.pg-teaser:hover .pt-go { transform: translateX(4px); }
@media (max-width: 700px) {
  .pg-teaser { grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "t" "d" "go"; padding: 24px 22px; }
  .pt-go { justify-self: start; margin-top: 8px; }
  .pg-teaser::after { left: 82%; }
}
@media print { .pg-teaser { display: none; } }
