:root{font-family:Segoe UI,Microsoft YaHei,sans-serif;color:#d6e2e1;background:#060c12;font-synthesis:none;font-weight:400;--muted: #8097a3;--line: #a5bfc52b;--paper: #eaf0e3;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit;border:0;background:none;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:1px solid #d9e9df;outline-offset:5px}button:hover{color:#fff;text-shadow:0 0 16px #ccf0e269}button:disabled{opacity:.3;cursor:default}a{color:inherit;text-decoration:none}a:hover{color:#fff}#world{display:block;width:100%;height:100%;position:fixed;inset:0}body.playing #world{cursor:none}#ui{position:fixed;inset:0;pointer-events:none}#ui button,#ui input,#ui a,#ui select{pointer-events:auto}.hidden{display:none!important}.topbar{position:absolute;top:30px;left:35px;right:35px;display:flex;justify-content:space-between;align-items:flex-start;opacity:.95}.body-status{display:flex;align-items:center;gap:15px}.sigil{width:33px;height:48px;filter:drop-shadow(0 0 8px #bedde957)}.overline{font-size:9px;letter-spacing:.25em;color:var(--muted);text-transform:uppercase}.status-value{font-size:12px;letter-spacing:.2em;margin-top:7px}.status-dot{display:inline-block;width:4px;height:4px;background:#d5e9dd;margin-right:8px;box-shadow:0 0 8px #ccf0dd}.top-actions{display:flex;gap:20px;align-items:center}.icon-button{font-size:12px;color:#a0b6bf;padding:8px;letter-spacing:.13em}.sound-icon{display:inline-flex;gap:3px;align-items:center;height:12px;margin-right:5px}.sound-icon i{display:block;width:1px;background:currentColor;height:10px}.sound-icon i:nth-child(2){height:15px}.sound-icon i:nth-child(3){height:6px}.muted .sound-icon i{height:2px}.pause-icon{letter-spacing:4px;font-weight:600}.chapter{position:absolute;top:112px;left:39px;display:flex;align-items:center;gap:14px}.chapter-no{font-size:11px;color:#708997;letter-spacing:.15em;border-right:1px solid var(--line);padding-right:14px}.chapter-name{font-size:13px;letter-spacing:.24em}.chapter-map{position:absolute;top:40px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:12px}.chapter-map span{width:4px;height:4px;border:1px solid #617887;transform:rotate(45deg)}.chapter-map span.past{background:#7d959d}.chapter-map span.current{width:6px;height:6px;background:#e4eedf;border-color:#e4eedf;box-shadow:0 0 12px #b7ded6}.chapter-map:before,.chapter-map:after{content:"";width:35px;height:1px;background:var(--line)}.hint{position:absolute;left:50%;bottom:128px;transform:translate(-50%);text-align:center;max-width:80%;width:max-content;font-size:12px;letter-spacing:.09em;color:#b8cccf;text-shadow:0 2px 12px #000;transition:opacity .5s}.hint:before{content:"◇";display:block;margin-bottom:13px;color:#8eafb8;font-size:14px}.context{position:absolute;left:50%;bottom:190px;transform:translate(-50%);font-size:12px;letter-spacing:.15em;color:#e3efdf;background:#0b141baa;border:1px solid #c2d7dc2b;border-radius:3px;padding:10px 18px}.bottom-bar{position:absolute;bottom:28px;left:36px;right:36px;display:flex;justify-content:space-between;align-items:flex-end;color:#a6bac2;font-size:10px}.controls{display:flex;align-items:center;gap:24px}.control{display:flex;gap:8px;align-items:center}.key{font-size:9px;letter-spacing:.03em;min-width:22px;text-align:center;display:inline-block;padding:5px 7px;border:1px solid #95a9b839;border-radius:3px;color:#d0dcd9;box-shadow:0 2px #03080b40}.brand-small{font-family:Georgia,serif;letter-spacing:.4em;font-size:11px;color:#b0c3c9}.version{color:#607886;font-size:9px;letter-spacing:.1em;margin-left:9px}.held{position:absolute;right:40px;bottom:95px;font-size:11px;display:flex;gap:14px;align-items:center}.held span{color:#dce7de}.held small{font-size:9px;letter-spacing:.15em;color:#708993}.toast{position:absolute;left:50%;top:19%;transform:translate(-50%);padding:12px 24px;font-size:12px;letter-spacing:.15em;text-shadow:0 0 20px #d5ffde55;animation:toast 3s both}.toast:before,.toast:after{content:"—";margin:0 20px;color:#6d8996}@keyframes toast{0%,to{opacity:0;translate:0 8px}18%,78%{opacity:1;translate:0 0}}.veil{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:auto;background:#050b10b8;backdrop-filter:blur(10px)}.title-screen{background:#03070bef;backdrop-filter:none;transform-origin:50% 35%;overflow:hidden}.title-screen:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 56%,#22404a33,transparent 50%);pointer-events:none}.title-content{position:relative;text-align:center;margin-top:-20px}.eyebrow{font-size:9px;letter-spacing:.45em;color:#8097a2;text-transform:uppercase;margin-bottom:22px}.title-mark{height:34px;color:#bdcec5;filter:drop-shadow(0 0 11px #bde0c687);margin-bottom:20px}.title-text{font-family:STKaiti,KaiTi,楷体,Georgia,serif;font-size:clamp(80px,12vw,148px);font-weight:400;letter-spacing:.17em;margin:0 0 0 .17em;line-height:1.3;color:#f0f1e3;text-shadow:0 0 12px #e4f2df22,0 0 60px #a7dec544;animation:breathe 6s ease-in-out infinite}.en .title-text{font-family:Georgia,serif;font-size:clamp(70px,10vw,124px);letter-spacing:.18em}.latin-title{font-family:Georgia,serif;font-size:17px;letter-spacing:.67em;margin:9px 0 21px .67em;color:#c4d0c9}.title-rule{width:170px;margin:26px auto;height:1px;background:linear-gradient(90deg,transparent,#a5c5c066,transparent)}.subtitle{font-size:10px;letter-spacing:.3em;color:#9ab0b8}.tagline{font-size:12px;letter-spacing:.16em;margin-top:32px;color:#9aafb5}.enter-button{display:inline-block;font-size:12px;letter-spacing:.25em;margin-top:51px;padding:18px 30px;animation:breathe 3.4s ease-in-out infinite}.enter-button:after{content:"";height:1px;display:block;margin:16px auto 0;width:70%;background:linear-gradient(90deg,transparent,#e0ecd18c,transparent)}.title-footer{position:absolute;bottom:31px;left:36px;right:36px;display:flex;justify-content:space-between;color:#536e7b;font-size:9px;letter-spacing:.17em}.title-options{position:absolute;right:30px;top:25px;z-index:3}.falling{animation:fall .95s cubic-bezier(.55,.01,.95,.5) forwards;pointer-events:none}.falling *{pointer-events:none!important}@keyframes fall{0%{transform:translateY(0) rotate(0)}12%{transform:translateY(-8px) rotate(-.6deg)}25%{transform:translateY(7px) rotate(.5deg)}to{transform:translateY(120vh) rotate(5deg)}}@keyframes breathe{0%,to{opacity:.68}50%{opacity:1}}.panel{width:410px;max-width:90vw;padding:38px 26px;text-align:center;max-height:95vh;overflow:auto}.panel h1{font-family:KaiTi,Georgia,serif;font-weight:400;font-size:36px;letter-spacing:.12em;margin:0 0 12px}.panel .caption{font-size:12px;line-height:1.9;color:#90a8b2;letter-spacing:.08em;margin-bottom:28px}.menu-button{display:block;width:100%;padding:14px;font-size:13px;letter-spacing:.13em}.menu-button.primary{border:1px solid #a9c3be50;background:#aecbba09;color:#e1eedc;margin:15px 0 10px}.menu-button.primary:hover{background:#aecbba18}.settings{border-top:1px solid var(--line);margin-top:22px;padding-top:16px}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px;color:#a3b7c0;margin:15px 0}.setting-row input[type=range]{width:140px;height:2px;accent-color:#c4dacc}.setting-row input[type=checkbox]{accent-color:#b7cdca}.setting-row select{background:#14212a;color:#c3d5d6;border:1px solid var(--line);padding:6px}#stress-result{margin:9px 0 15px;color:#829ba6;font:9px/1.65 Consolas,monospace;text-align:left;white-space:pre-wrap}.menu-bottom{display:flex;justify-content:center;gap:25px;margin-top:24px;font-size:10px;color:#6e8997}.help-grid{display:grid;grid-template-columns:auto 1fr;gap:18px 20px;text-align:left;font-size:12px;align-items:center;margin:30px 0}.help-grid .key{justify-self:start}.help-grid span{color:#b0c4ca}.result-mark{font-size:50px;font-family:Georgia,serif;color:#bdcfc1;margin-bottom:25px;filter:drop-shadow(0 0 22px #e1eec66b)}.result-stats{display:flex;justify-content:center;gap:35px;margin:30px 0;color:#809aa7;font-size:10px}.result-stats strong{display:block;font-size:23px;font-weight:300;color:#d4e3d8;margin-top:12px}.debug-panel{position:absolute;right:20px;top:90px;padding:20px;background:#06111aed;border:1px solid #9bb7c131;width:340px;pointer-events:auto;max-height:calc(100vh - 125px);overflow:auto;font-size:11px}.debug-panel h2{font-weight:400;font-size:14px;letter-spacing:.12em}.debug-panel .caption{font-size:10px;color:#8ba1ac;line-height:1.8}.debug-stats{font-family:Consolas,monospace;line-height:1.9;white-space:pre-wrap;border-block:1px solid var(--line);padding:10px 0}.debug-panel .menu-button{font-size:11px;padding:10px}.debug-panel .setting-row{font-size:10px}.loading{position:absolute;inset:0;background:#000;display:grid;place-content:center;text-align:center;font-size:11px;letter-spacing:.2em;color:#9eafb4}.loading-art{width:min(540px,76vw);filter:saturate(.12) drop-shadow(0 0 6px #c5ded52b);animation:breathe 1.8s ease-in-out infinite}.loading-art>svg{display:block;width:100%;overflow:hidden}.loading-caption{display:flex;justify-content:space-between;align-items:baseline;padding:0 6%;margin-top:12px}.loading-caption output{font-family:KaiTi,STKaiti,Georgia,serif;font-size:20px;font-variant-numeric:tabular-nums;color:#e3e8dc}.error{padding:30px;line-height:1.8;color:#eadbd1;max-width:600px}.mobile-note{display:none}@media(max-width:850px){.topbar{left:20px;right:16px;top:20px}.chapter{left:22px;top:100px}.controls{gap:10px;flex-wrap:wrap;max-width:75%}.control{gap:5px}.bottom-bar{left:20px;right:20px;bottom:20px}.hint{bottom:140px;font-size:10px}.control.long{display:none}.brand-small{font-size:9px}.chapter-map{top:74px}.title-footer{left:20px;right:20px;gap:20px;font-size:8px}.held{right:22px;bottom:125px}.title-text{font-size:84px}.debug-panel{right:10px;width:300px}.top-actions{gap:6px}.title-content{transform:scale(.85)}.mobile-note{display:block;font-size:10px;color:#91aab7;text-align:center}}@media(prefers-reduced-motion:reduce){.title-text,.enter-button,.loading-art{animation:none}}.title-screen{background:#030609fa}.title-content{width:min(760px,96vw);margin:-7vh 0 0;transform:none}.title-art{display:block;width:100%;height:auto;mix-blend-mode:screen;filter:saturate(.28)}.enter-button{display:block;width:min(260px,43vw);height:clamp(20px,4.5vw,40px);padding:0;margin:-2% auto 0;overflow:hidden}.enter-button img{display:block;width:100%;transform:translateY(-34%);filter:saturate(.3);mix-blend-mode:screen}.enter-button:after{display:none}.title-version{position:absolute;bottom:24px;right:28px}.topbar{top:22px;left:28px;right:24px}.top-actions{gap:10px}.status-value{font-size:11px;color:#c7b89a;margin-top:34px}.chapter{top:34px;left:34px;font-size:11px;letter-spacing:.22em;animation:chapter-fade 5s both}.chapter-no{border:0;padding:0}.bottom-bar{bottom:8px;left:14px;right:14px;justify-content:center}.controls-art{width:min(900px,96vw);height:clamp(60px,10vw,100px);overflow:hidden;opacity:.68}.controls-art img{display:block;width:100%;transform:translateY(-31.5%);mix-blend-mode:screen;filter:saturate(.25)}.help-panel{width:min(950px,95vw)}.help-panel .controls-art{width:100%;opacity:.95;margin:36px auto}.help-detail{max-width:620px;margin:auto;text-align:left;color:#93a5ad;font-size:12px;line-height:2}.help-panel .menu-button{max-width:350px;margin:25px auto 0}.observing .veil{background:transparent;backdrop-filter:none;pointer-events:none}.observing .veil .panel{display:none}.experiment-grid{display:grid;grid-template-columns:1fr 1fr}#experiment-result{color:#bcd3c8;line-height:1.8}.file-button{position:relative;cursor:pointer;text-align:center}.file-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.context{bottom:18%;border:0;background:none;text-shadow:0 2px 10px #000;font-size:11px}.held{bottom:112px;right:35px;color:#a3b8be}@keyframes chapter-fade{0%,80%{opacity:.75}to{opacity:0}}@media(max-width:600px){.chapter{top:32px;left:22px}.topbar{left:22px;right:12px}.controls-art{height:60px}.held{bottom:84px;right:24px}.title-content{margin-top:-4vh}.help-panel .controls-art{margin:15px auto}}
