
:root{color-scheme:dark;--gold:#efbb78;--muted:#a4b1bf}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#070c14;color:#eef1f4;font-family:Arial,"Microsoft YaHei",sans-serif}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:6px}#world,.veil{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}.veil{background:linear-gradient(90deg,rgba(5,10,17,.84),transparent 78%)}header{position:fixed;z-index:5;left:4.4%;right:4.4%;top:32px;display:flex;justify-content:space-between;align-items:center}.brand{text-decoration:none;color:#eef1f4;font-size:17px;letter-spacing:2px;display:flex;align-items:center;gap:12px}.mark{font-size:32px;color:var(--gold)}.edition{font-size:10px;color:#92a0b0;letter-spacing:2px;margin-left:17px}button{border:0;background:none}#notes{font-size:14px;color:#c1cad2}#notes span{color:var(--gold);margin-left:15px}.story{position:fixed;z-index:2;left:8.3%;top:26%;width:43%;max-width:650px}.eyebrow{font-size:12px;letter-spacing:3px;color:var(--gold);margin-bottom:26px}h1{font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-size:clamp(38px,4.8vw,76px);font-weight:400;line-height:1.4;letter-spacing:2px;margin:0 0 22px}h1 span{color:var(--gold)}#desc{font-size:16px;line-height:1.95;color:#aebbc8;max-width:440px;margin:0}.scene-label{position:fixed;right:10%;top:22%;font-size:11px;letter-spacing:3px;color:#a3b4c5;line-height:2}.scene-label span{font-size:12px;letter-spacing:2px;color:#697e90}#chapters{position:fixed;right:3.5%;top:40%;display:flex;flex-direction:column;gap:19px;z-index:4}#chapters button{width:25px;height:15px;position:relative;padding:0}#chapters button:after{content:'';position:absolute;right:0;top:7px;width:7px;height:2px;background:#516173;transition:width .4s,background .4s}#chapters button.active:after{width:24px;background:var(--gold)}#chapters button span{position:absolute;right:36px;white-space:nowrap;opacity:0;font-size:12px;color:var(--gold)}#chapters button:hover span,#chapters button:focus-visible span{opacity:1}.caption{position:fixed;bottom:112px;left:8.3%;font-size:12px;color:#748697;max-width:80%;line-height:1.6}footer{position:fixed;bottom:32px;left:4.4%;right:4.4%;display:flex;gap:24px;align-items:center;z-index:4;font-size:12px}footer button{font-size:12px;letter-spacing:1px}#play{min-width:112px;text-align:left;color:var(--gold)}.timeline{height:1px;background:#354251;flex:1}#progress{height:1px;background:var(--gold);width:0;box-shadow:0 0 8px #edba74}#counter{color:#8494a5;font-size:11px;letter-spacing:2px}#next span{margin-left:20px;color:var(--gold)}#scrollTrack{height:600vh}#experiment{margin-top:25px;max-width:370px}.control-label{display:flex;justify-content:space-between;font-size:13px;color:#c0cbd5;margin-bottom:13px}.control-label output{color:var(--gold);font-variant-numeric:tabular-nums}input[type=range]{width:100%;accent-color:var(--gold);height:3px;cursor:pointer}.fact{border-left:1px solid #bd915b;padding:5px 0 5px 18px;font-size:13px;line-height:1.7;color:#a6b5c4}.fact strong{display:block;font-family:Georgia,serif;font-size:28px;font-weight:400;color:#f0c58b;margin-bottom:4px}.choices{display:flex;gap:8px;margin:14px 0}.choices button{border:1px solid #394958;padding:9px 13px;font-size:12px;border-radius:3px}.choices button.selected{border-color:var(--gold);color:var(--gold);background:#efbb7810}.result{font-size:13px;color:#aab8c5;line-height:1.7}.result b{color:var(--gold);font-size:24px;font-family:Georgia,serif;font-weight:400}.replay{color:var(--gold);padding:12px 0;border-bottom:1px solid #68513a;font-size:14px}dialog{background:#0d1722;color:#c0cbd5;border:1px solid #374654;border-radius:8px;width:min(650px,90vw);max-height:85vh;padding:40px;line-height:1.9}dialog::backdrop{background:#000b;backdrop-filter:blur(10px)}dialog h2{font-family:SimSun,serif;font-size:30px;color:#fff;font-weight:400}dialog h3{font-size:16px;color:#f0c58b}dialog p{font-size:15px}dialog a{display:block;color:#bccddc;font-size:14px}dialog small{display:block;margin-top:25px;font-size:12px;color:#8294a6}#closeNotes{position:absolute;right:20px;top:12px;font-size:27px}.story.changing{animation:appear .65s both}@keyframes appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(max-width:700px){header{top:20px;left:6%;right:6%}.edition{display:none}.brand{font-size:14px}.story{left:8%;top:18%;width:83%;max-width:none}h1{font-size:39px;line-height:1.35;margin-bottom:16px}.eyebrow{font-size:10px;margin-bottom:17px}#desc{font-size:14px;max-width:310px;line-height:1.8}.scene-label{top:auto;bottom:27%;right:12%;font-size:9px}.scene-label span{font-size:10px}.veil{background:linear-gradient(180deg,#070c1480,transparent)}#chapters{right:4%;top:42%;gap:15px}#experiment{max-width:280px;margin-top:17px}.caption{bottom:90px;font-size:10px;max-width:76%}footer{bottom:27px;gap:12px}#play{min-width:30px}#play span{display:none}#next{font-size:10px}#next span{margin-left:8px}#counter{font-size:10px}.fact strong{font-size:23px}.fact{font-size:12px}dialog{padding:26px}.result b{font-size:21px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.story.changing{animation:none}}

/* Keep the scene readable on compact screens and when text is enlarged. */
@media(max-width:700px){.story{top:16%}h1{font-size:clamp(30px,8.5vw,42px)}.scene-label{display:none}.story #desc{font-size:14px}.caption{bottom:78px;line-height:1.5}.choices button{padding:8px;font-size:12px}.fact{background:#070c1470}.result{background:#070c1460}.veil{background:linear-gradient(180deg,#070c1470 15%,#070c1420 55%,#070c1450 100%)}}
@media(max-height:650px) and (min-width:701px){.story{top:19%}h1{font-size:40px;margin-bottom:12px}.eyebrow{margin-bottom:14px}#desc{font-size:14px}#experiment{margin-top:12px}.caption{bottom:75px}.fact strong{font-size:24px}footer{bottom:24px}}
@media(max-height:680px) and (max-width:700px){.story{top:14%}h1{font-size:30px}.eyebrow{margin-bottom:10px}#desc{font-size:13px}#experiment{margin-top:12px}.caption{bottom:70px}.fact strong{font-size:22px}.fact{font-size:12px}}
