:root{color-scheme:dark;--ink:#f0eee6;--muted:#c0c3b8;--gold:#d8c18b;--line:rgba(237,232,212,.19);--glass:rgba(22,29,30,.79);font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;font-size:14px}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#111b24;color:var(--ink)}button{font:inherit;color:inherit;cursor:pointer;border:1px solid var(--line);background:rgba(30,36,35,.77);border-radius:4px;padding:8px 11px;line-height:1.3;transition:background .15s,border-color .15s}button:hover{background:rgba(75,78,65,.93);border-color:rgba(232,219,181,.5)}button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button:disabled{opacity:.45;cursor:default}button[aria-pressed=true],button.active{border-color:var(--gold);color:#f2e2b6;background:rgba(99,88,54,.83)}[hidden]{display:none!important}#worldStage,#world{position:absolute;inset:0;width:100%;height:100%}#world{display:block;outline:none;touch-action:none}.screen-vignette{position:absolute;inset:0;pointer-events:none;border:0}#labelLayer{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:3}#labelLayer>*{position:absolute;pointer-events:auto;transform:translate(-50%,-100%);white-space:nowrap;font-size:11px;letter-spacing:.3px;padding:5px 8px;color:#e8e8df;background:rgba(31,37,34,.76);border:1px solid rgba(230,229,204,.28);border-radius:3px;line-height:1.3;user-select:none}#labelLayer>.active,#labelLayer>[data-active=true]{border-color:#d6bf80;color:#f2e4b8;background:rgba(83,73,43,.83)}.top-hud{position:absolute;z-index:6;left:25px;right:25px;top:23px;display:flex;align-items:center;justify-content:space-between;gap:20px;pointer-events:none}.brand{display:flex;align-items:center;gap:15px;pointer-events:auto;text-shadow:0 1px 4px #0008}.brand-mark{font-family:"Microsoft YaHei",sans-serif;font-size:31px;font-weight:700;letter-spacing:7px;line-height:1}.brand-divider{width:1px;height:32px;background:#ded9bb55}.brand-world{display:block;color:#e6e4d9;font-size:12px;letter-spacing:2px}.brand-sub{display:block;font-size:10px;color:#c6c7ba;letter-spacing:.9px;margin-top:5px}.brand-sub b{font-size:9px;font-weight:400;letter-spacing:1px;margin-left:9px;border:1px solid #d4d0b847;padding:2px 4px}.view-tools{display:flex;align-items:center;gap:6px;pointer-events:auto}.view-tools button{font-size:11px;padding:8px 11px;min-height:32px}.tool-symbol{font-size:14px;line-height:.7;color:#ddd0a5;vertical-align:middle}.scene-caption{position:absolute;left:27px;top:105px;z-index:4;max-width:350px;pointer-events:none;padding:15px 17px 15px 16px;border-left:2px solid #cbb479ad;background:rgba(20,27,28,.71)}.scene-meta{font-size:9px;letter-spacing:1.6px;color:#d3c8aa;display:flex;align-items:center;gap:22px;justify-content:space-between}.scene-meta #sceneNumber{font-family:monospace;letter-spacing:.4px;color:#bcc2ba}.scene-caption h1{margin:9px 0 7px;font-size:22px;font-weight:500;letter-spacing:1.3px;line-height:1.4}.scene-caption p{font-size:11px;line-height:1.9;color:#c9cfc9;margin:0;max-width:310px;text-wrap:pretty}.ghost-countdown{position:absolute;left:50%;top:20%;transform:translateX(-50%);font:900 clamp(96px,16vw,232px)/1.12 monospace;letter-spacing:2px;color:#baff00;text-shadow:0 0 4px #efffbe,0 0 16px #aaff00,0 0 42px #65ff00,0 0 80px #65ff0088;-webkit-text-stroke:1px #dfff65;pointer-events:none;z-index:4}.center-reticle{position:absolute;left:50%;top:50%;width:9px;height:9px;opacity:.4;pointer-events:none;z-index:3}.center-reticle i:first-child{position:absolute;left:4px;top:0;width:1px;height:9px;background:#ece8d3}.center-reticle i:last-child{position:absolute;top:4px;left:0;height:1px;width:9px;background:#ece8d3}.bottom-hud{position:absolute;left:26px;right:26px;bottom:22px;z-index:5;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;pointer-events:none}.where{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.7px;background:rgba(24,31,31,.72);border:1px solid #d4d3b429;padding:8px 10px;line-height:1.4}.status-dot{width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#c8bd94}.small-divider{height:11px;width:1px;background:#b5b8aa50;margin:0 1px}.navigation-hint{position:absolute;left:0;bottom:43px;display:flex;align-items:center;gap:14px;color:#e3e6d8;font-size:10px;letter-spacing:.4px;text-shadow:0 1px 4px #000;background:rgba(20,27,28,.59);padding:7px 9px}.navigation-hint span+span:before{content:"·";color:#bbb9a3;margin-right:14px}.scene-pager{display:flex;align-items:center;gap:10px;pointer-events:auto;font-size:10px;color:#c7cabb;text-shadow:0 1px 3px #000}.scene-pager button{width:35px;height:33px;padding:0;font-size:18px}.world-toast{position:absolute;left:50%;bottom:111px;transform:translateX(-50%);max-width:min(540px,80vw);text-align:center;color:#e6e5d6;font-size:12px;line-height:1.7;background:rgba(24,31,31,.89);border:1px solid #c5b78160;border-radius:4px;padding:9px 15px;z-index:20;pointer-events:none;opacity:0;transition:opacity .2s}.world-toast.visible,.world-toast.show{opacity:1}.floating-panel{position:absolute;z-index:10;top:75px;right:25px;width:348px;max-height:calc(100vh - 145px);overflow:auto;background:var(--glass);border:1px solid rgba(214,211,182,.3);padding:20px;backdrop-filter:blur(12px);scrollbar-width:thin;scrollbar-color:#7e80685c transparent}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:15px}.overline{display:block;font-size:9px;letter-spacing:2px;color:#c6b98f}.panel-header h2{font-size:17px;line-height:1.4;font-weight:500;margin:7px 0 0;letter-spacing:.7px}.close-button{border:0;background:transparent;color:#c4c7ba;font:23px/1 sans-serif;padding:0 3px}.close-button:hover{background:transparent;color:white}.panel-intro,.panel-footnote{font-size:11px;line-height:1.8;color:#b4beb6;margin:14px 0}.panel-footnote{margin:16px 0 0;border-top:1px solid var(--line);padding-top:13px;color:#9ea99f;font-size:10px}.scene-list{display:flex;flex-direction:column;gap:4px}.scene-list button{display:flex;align-items:center;width:100%;text-align:left;gap:11px;padding:10px 9px;border-color:transparent;border-radius:2px;background:transparent;color:#c4cbc3;font-size:12px;line-height:1.5}.scene-list button:hover{background:rgba(185,184,147,.1)}.scene-list button.active,.scene-list button[aria-current=true],.scene-list button[aria-current=step]{border-color:#d1bc7c62;background:rgba(170,150,94,.16);color:#f0e0b0}.scene-list .scene-num,.scene-list .index,.scene-list .number,.scene-list button>span:first-child{font:10px monospace;letter-spacing:.4px;color:#a5ad9e;flex:0 0 23px}.scene-list .scene-group,.scene-list .act-heading{font-size:9px;letter-spacing:1px;color:#999e89;margin:15px 8px 5px}.help-panel{width:390px}.control-list{list-style:none;padding:0;margin:17px 0}.control-list li{display:grid;grid-template-columns:116px 1fr;gap:12px;align-items:center;padding:9px 0;color:#c6cec5;font-size:11px;line-height:1.65;border-bottom:1px solid #d4d3b414}.control-list kbd{font:10px "Segoe UI","Microsoft YaHei",sans-serif;justify-self:start;padding:4px 6px;border:1px solid #b8bcaa42;background:#b4b4990b;color:#e4dfca;border-radius:3px;white-space:nowrap}.scope-note{border-left:2px solid #c5b17a8a;padding:0 0 0 12px;margin-top:20px}.scope-note strong{font-size:11px;font-weight:500;color:#d8d0b6}.scope-note p{font-size:11px;line-height:1.9;color:#aebbb0;margin:6px 0 0}.loading-overlay,.error-overlay{position:absolute;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;background:#171e23;color:#e1dfd1}.loading-overlay{flex-direction:column}.loading-brand{font-size:56px;font-weight:600;letter-spacing:18px;padding-left:18px}.loading-rule{height:1px;width:80px;background:#b6a47b;margin:28px 0 18px}.loading-overlay p{font-size:12px;letter-spacing:1px;color:#c3c7b9}.loading-overlay>span{font-size:10px;letter-spacing:2px;color:#75847e;margin-top:7px}.error-overlay>div{width:min(480px,85vw);border-left:2px solid #c6a57c;padding:10px 0 10px 25px}.error-overlay h2{font-size:24px;font-weight:500;line-height:1.5}.error-overlay p{font-size:13px;line-height:1.9;color:#bdc6c0;white-space:pre-wrap;overflow-wrap:anywhere}.error-overlay .error-note{font-size:11px;color:#899c93}.error-overlay button{margin-top:12px;background:#b8a476;color:#202925;border-color:#b8a476}@media(max-width:1000px){.top-hud{left:18px;right:18px;top:17px}.brand{gap:11px}.brand-mark{font-size:27px}.brand-sub b{display:none}.view-tools{gap:4px}.view-tools button{font-size:10px;padding:7px 9px}.scene-caption{top:88px;left:19px;max-width:310px;padding:12px 14px}.scene-caption h1{font-size:20px}.scene-caption p{font-size:10px}.scene-caption .scene-meta{font-size:8px}.bottom-hud{left:19px;right:19px;bottom:17px}.floating-panel{right:18px;top:65px;max-height:calc(100vh - 120px)}.navigation-hint{font-size:9px;gap:9px}.navigation-hint span+span:before{margin-right:9px}}@media(max-width:680px){.top-hud{left:12px;right:12px;top:13px;align-items:flex-start}.brand-mark{font-size:24px;letter-spacing:5px}.brand-divider{height:27px}.brand-world{font-size:10px;letter-spacing:1px}.brand-sub{font-size:8px;margin-top:5px}.view-tools{max-width:190px;justify-content:flex-end;flex-wrap:wrap;gap:4px}.view-tools button{font-size:9px;padding:6px 8px;min-height:27px}#resetView{display:none}.scene-caption{left:13px;top:100px;width:min(280px,72vw);padding:11px 12px}.scene-caption h1{font-size:18px;margin-top:7px}.scene-caption p{max-width:250px;line-height:1.8}.bottom-hud{left:12px;right:12px;bottom:13px;gap:8px}.where{font-size:9px;gap:6px;padding:7px 8px}.navigation-hint{max-width:calc(100vw - 24px);flex-wrap:wrap;gap:3px 8px;font-size:8px;bottom:43px;padding:6px 8px}.navigation-hint span+span:before{margin-right:8px}.scene-pager{gap:7px}.scene-pager>span{display:none}.scene-pager button{width:29px;height:29px;font-size:15px}.floating-panel{right:12px;top:88px;width:calc(100vw - 24px);max-height:calc(100vh - 160px);padding:17px}.control-list li{grid-template-columns:109px 1fr;gap:8px}.ghost-countdown{top:36%;font-size:27px;letter-spacing:3px}.world-toast{font-size:11px;bottom:106px}#labelLayer>*{font-size:10px;padding:4px 6px}.loading-brand{font-size:45px}}
:root{--dialogue-height:210px}.start-overlay{position:absolute;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#101b27ec,#101b27ad 55%,#101b2740);backdrop-filter:blur(2px)}.start-card{width:min(640px,88vw);padding:30px}.start-card>.overline{color:#cdbb8e;letter-spacing:3px;font-size:10px}.start-card h1{font-size:clamp(44px,7vw,78px);font-weight:400;letter-spacing:9px;line-height:1.35;margin:27px 0 22px}.start-card h1 em{font-style:normal;color:#d6c398}.start-card p{font-size:14px;line-height:2.1;color:#dde0d7}.start-rule{height:1px;width:54px;background:#bba77c;margin:22px 0}.start-card .start-detail{font-size:12px;color:#b9c5c5}.primary-button{background:#d4c195;color:#1b252c;border-color:#d4c195;padding:14px 22px;margin:18px 10px 0 0;min-width:190px;font-size:14px;letter-spacing:1px;text-align:left}.primary-button span{float:right;margin-left:26px}.primary-button:hover{background:#ecdbb0;color:#15212c}.start-card>#resumeStory{padding:14px;margin-right:7px}.quiet-button{background:transparent;border-color:transparent;color:#b8c3be}.start-note{display:block;font-size:10px;letter-spacing:1px;color:#829692;margin-top:20px}.directory-tabs{display:flex;gap:6px;margin-bottom:12px}.directory-tabs button{flex:1;font-size:11px}.objective-panel{position:absolute;left:27px;top:103px;width:300px;z-index:5;background:linear-gradient(110deg,#172126e8,#172126ab);border-left:2px solid #c9b17c;padding:15px 17px;backdrop-filter:blur(8px)}.objective-overline{display:flex;justify-content:space-between;font-size:9px;letter-spacing:2px;color:#b9aa86}.objective-panel h2{font-size:17px;font-weight:500;margin:10px 0 7px;line-height:1.6}.objective-panel p{font-size:11px;line-height:1.8;color:#b5c2bc;margin:0 0 12px}.objective-meter{height:2px;background:#e4d5a31c;margin:10px 0 14px}.objective-meter span{height:100%;width:0;display:block;background:#d0bb84;transition:width .2s}.objective-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.objective-actions button{font-size:11px;padding:8px 10px}.objective-actions button:enabled:first-child{background:#cbb685;color:#172127;border-color:#cbb685}#objectiveDistance{margin-left:auto;font:10px monospace;color:#b7c6c2}.dialogue-panel{position:absolute;left:50%;bottom:76px;transform:translateX(-50%);width:min(760px,calc(100vw - 54px));z-index:8;padding:21px 26px 16px;background:linear-gradient(110deg,#142026f5,#15232aea);border:1px solid #c9bd9445;border-top:2px solid var(--speaker-color,#c9b17c);box-shadow:0 10px 35px #0003;backdrop-filter:blur(12px)}.dialogue-heading{display:flex;align-items:center;gap:12px}#speakerName{font-size:16px;letter-spacing:2px;color:var(--speaker-color,#d9c9a7)}#speakerRole{font-size:10px;color:#93a8a8}#lineCounter{font:10px monospace;color:#7d9396;margin-left:auto}.dialogue-panel>p{font-size:17px;line-height:1.95;letter-spacing:.5px;margin:15px 0 18px;color:#eff0e9;min-height:56px;text-wrap:pretty}.dialogue-actions{display:flex;gap:8px;align-items:center}.dialogue-actions button{font-size:10px;padding:7px 10px}.dialogue-actions #nextLine{margin-left:auto;border-color:#c9b17c66;color:#decda9;min-width:94px}.dialogue-actions kbd{font:9px inherit;color:#789294;margin-left:10px}.voice-indicator{position:absolute;right:26px;top:-22px;display:flex;align-items:center;gap:3px;font-size:8px;color:#c3ceca}.voice-indicator span{margin-left:5px}.voice-indicator i{height:8px;width:2px;background:#d7c69d;animation:voice-wave .8s infinite alternate}.voice-indicator i:nth-child(2){animation-delay:.25s}.voice-indicator i:nth-child(3){animation-delay:.5s}.voice-indicator[data-playing=false] i{animation:none;height:3px;opacity:.4}@keyframes voice-wave{to{height:2px;opacity:.4}}.chapter-transition{position:absolute;inset:0;z-index:25;background:#0d1820;pointer-events:none;display:flex;align-items:center;justify-content:center;flex-direction:column;opacity:0;transition:opacity .45s}.chapter-transition.visible{opacity:1}.chapter-transition span{font-size:10px;color:#aaad9c;letter-spacing:4px;margin-bottom:20px}.chapter-transition strong{font-size:29px;font-weight:400;color:#d2c29e;letter-spacing:4px}.sound-panel{width:300px}.sound-setting{display:block;width:100%;margin:10px 0;text-align:left}.sound-panel .panel-intro{line-height:1.9}body[data-mode=story] .scene-caption{display:none}body[data-mode=story] .scene-pager{display:none}body[data-mode=story] .navigation-hint{display:none}body[data-mode=story] .bottom-hud .where{background:#152129bf}body[data-mode=story] #storyToggle{display:none}body[data-mode=menu] .scene-caption,body[data-mode=menu] .bottom-hud{opacity:0}.world-toast{bottom:300px}.top-hud .view-tools{flex-wrap:wrap;justify-content:flex-end;max-width:520px}#autoTour{display:none}@media(max-width:1000px){.objective-panel{left:19px;top:94px;width:280px}.dialogue-panel{bottom:65px}.top-hud{gap:10px}.view-tools #resetView{display:none}}@media(max-width:680px){.objective-panel{left:13px;top:104px;width:270px;padding:12px 14px}.objective-panel h2{font-size:15px;margin:8px 0 5px}.objective-panel p{font-size:10px;line-height:1.65}.objective-overline{font-size:8px}.dialogue-panel{width:calc(100vw - 24px);bottom:57px;padding:15px 16px 12px}.dialogue-panel>p{font-size:15px;line-height:1.85;margin:12px 0 14px;min-height:44px}#speakerName{font-size:14px}.dialogue-actions{gap:3px}.dialogue-actions button{font-size:9px;padding:7px}.dialogue-actions kbd{display:none}.voice-indicator{right:16px}.start-card{padding:10px 20px}.start-card h1{font-size:52px;margin:23px 0 17px}.start-card p{font-size:12px}.start-card .start-detail{font-size:11px}.start-rule{margin:16px 0}.start-card .primary-button{min-width:155px;padding:12px 17px;font-size:12px}.start-card>#resumeStory{padding:12px 10px;font-size:11px}.start-card>#startExplore{font-size:11px}.start-note{font-size:8px;letter-spacing:.5px}.world-toast{bottom:280px}.chapter-transition strong{font-size:23px}.brand-sub b{display:none}}
body[data-expansion=true] .scene-caption{display:none}.next-map{display:block;width:100%;margin-top:13px;font-size:10px;text-align:left;color:#cbb98b;border-color:#c7b47a38;background:transparent}.map-info{position:absolute;z-index:7;right:27px;bottom:90px;width:min(460px,calc(100vw - 54px));padding:19px 22px;background:linear-gradient(120deg,#15232aed,#1a272ee8);border:1px solid #a7b9b64d;border-top:2px solid #b7c5be;backdrop-filter:blur(10px)}.map-info-heading{display:flex;justify-content:space-between;gap:15px}.map-info h2{font-size:19px;line-height:1.7;font-weight:400;letter-spacing:1px;margin:12px 0 8px}.map-info p{color:#c9d2c9;line-height:1.95;font-size:12px;margin:0}.map-info-note{display:block;color:#899c99;font-size:9px;margin-top:14px}.directory-tabs button{padding:8px 5px}.start-card>#startStory{padding:14px;font-size:12px;margin-right:6px}body[data-expansion=true] .world-toast{bottom:90px}@media(max-width:680px){.map-info{right:12px;bottom:57px;width:calc(100vw - 24px);padding:14px 16px;max-height:30vh;overflow:auto}.map-info h2{font-size:15px;margin:8px 0}.map-info p{font-size:10px}.map-info-note{font-size:8px}.start-card h1{font-size:44px;letter-spacing:4px}.start-card>#startStory{font-size:11px;padding:12px 8px}.start-card>#resumeStory{display:block;margin-top:8px}.objective-panel{max-height:calc(100vh - 215px);overflow:auto}}
body[data-expansion=true] .objective-panel p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}@media(max-width:680px){body[data-expansion=true] .objective-panel{width:238px}body[data-expansion=true] .objective-panel p{-webkit-line-clamp:2}body[data-expansion=true] .objective-panel h2{font-size:14px}}
.map-live{display:block;color:#d8cc9f;font-size:13px;letter-spacing:1px;line-height:1.6;margin-top:12px;font-weight:400}.map-live:empty{display:none}

.run-toggle{position:absolute;right:28px;bottom:104px;z-index:12;min-width:90px;min-height:49px;border-radius:25px;background:#1b302de8;border:1px solid #d5c18c88;color:#eddfb8;font-size:15px;box-shadow:0 4px 20px #0003}.run-toggle[aria-pressed=true]{background:#d4bc80;color:#172622}body[data-mode=menu] .run-toggle,body[data-mode=ending] .run-toggle{display:none}.star-setting{display:block;margin:22px 0;color:#d4daca;font-size:13px}.star-setting input{display:block;width:100%;margin-top:12px;accent-color:#d4bd82}.directory-tabs{flex-wrap:wrap}.directory-tabs button{min-width:44%}@media(max-width:680px){.run-toggle{right:14px;bottom:98px;min-width:76px;min-height:44px;font-size:13px}.view-tools{max-width:220px}.dialogue-panel{bottom:63px}.run-toggle{z-index:9}body[data-mode=story] .run-toggle{bottom:300px}}

/* V0.6: the old objective heading is now the minimum reading size everywhere. */
body *{font-size:18px!important}body h1,.start-card h1{font-size:clamp(38px,5vw,64px)!important}body h2,.objective-panel h2{font-size:22px!important}.brand-mark{font-size:32px!important}.loading-brand{font-size:56px!important}.chapter-transition strong{font-size:32px!important}
.top-hud{left:20px;right:20px;top:18px;align-items:flex-start}.brand{gap:12px}.brand-world,.brand-sub{letter-spacing:.2px}.brand-sub b{display:none}.view-tools button{padding:9px 12px;min-height:44px}.top-hud .view-tools{max-width:680px;gap:6px}
.objective-panel{top:122px;left:20px;width:360px;padding:16px 19px;max-height:calc(100vh - 230px);overflow:auto}.objective-panel p{line-height:1.65;display:block!important;-webkit-line-clamp:unset!important}.objective-overline{letter-spacing:.5px}.objective-actions{gap:8px}.objective-actions button{padding:10px}.objective-meter{height:3px}
.dialogue-panel{width:min(1000px,calc(100vw - 40px));padding:21px 25px 19px;max-height:55vh;overflow:auto}.dialogue-panel>p{font-size:22px!important;line-height:1.7;margin:16px 0 20px}.dialogue-heading{flex-wrap:wrap;gap:8px 16px}.dialogue-actions{flex-wrap:wrap}.dialogue-actions button{padding:9px 12px}.dialogue-actions kbd{display:none}.voice-indicator{top:0;right:20px;transform:translateY(-110%)}
.run-toggle{min-width:106px;min-height:52px;right:24px;bottom:105px}.floating-panel{width:min(470px,calc(100vw - 32px));max-height:calc(100vh - 126px);overflow:auto;top:96px}.scene-panel{width:min(520px,calc(100vw - 32px))}.scene-num{min-width:32px}.scene-group{line-height:1.6;padding-top:20px}.panel-intro,.panel-footnote,.music-credit{line-height:1.7}.music-credit a{color:#dfc98f}.scene-list button{padding:12px 10px}.start-card{width:min(800px,94vw);max-height:94vh;overflow:auto}.start-card p{line-height:1.7}.start-card>button{margin:7px 6px}.start-card .start-detail{line-height:1.65}.start-card h1{margin:12px 0}.bottom-hud{left:20px;right:20px}.navigation-hint{white-space:normal;max-width:68vw}.where{max-width:72vw}#labelLayer>*{padding:6px 9px}.map-info{width:min(600px,calc(100vw - 32px));max-height:45vh;overflow:auto}.map-info p{line-height:1.7}.map-info h2{font-size:24px!important}.world-toast{max-width:calc(100vw - 40px);line-height:1.6}
.telescope-filter{position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(ellipse at 50% 42%,transparent 19%,#4a331329 37%,#120c07cd 67%);border:22px solid #211c16a8}.telescope-filter span{position:absolute;top:100px;left:50%;transform:translateX(-50%);background:#171511d9;color:#dac69d;padding:10px 15px;border:1px solid #9d8654;white-space:nowrap}
.start-card h1 em{font-size:inherit!important}
.objective-panel h2{font-size:18px!important}
body[data-mode=story]:is([data-phase=mozi-fire],[data-phase=gothic-three-suns],[data-phase=rip-break]) .dialogue-panel{left:20px;top:122px;bottom:auto;transform:none;width:min(450px,calc(100vw - 40px));max-height:56vh}
@media(max-width:900px){.top-hud{flex-wrap:wrap;gap:10px}.top-hud .view-tools{max-width:none;width:100%;justify-content:flex-start}.brand-sub{display:none}.brand-divider{display:none}.objective-panel,body[data-expansion=true] .objective-panel{top:154px;width:min(350px,calc(100vw - 40px));max-height:calc(100vh - 260px)}.floating-panel{top:140px}.dialogue-panel{bottom:80px;width:calc(100vw - 28px);padding:16px}.dialogue-panel>p{font-size:20px!important}.run-toggle,body[data-mode=story] .run-toggle{bottom:95px;right:16px}.dialogue-panel:not([hidden])~.run-toggle{bottom:360px}.where{max-width:66vw}.telescope-filter span{top:148px}}
@media(max-width:520px){.top-hud .view-tools{gap:4px}.view-tools button{padding:7px 8px}.objective-panel,body[data-expansion=true] .objective-panel{top:184px;max-height:calc(100vh - 300px)}.floating-panel{top:180px;max-height:calc(100vh - 196px)}.dialogue-panel{max-height:54vh}.dialogue-actions #nextLine{margin-left:0}.start-card{padding:18px}.start-card h1{font-size:38px!important}.brand-world{display:none}.bottom-hud .navigation-hint{display:none}}
@media(max-width:900px){body[data-mode=story]:is([data-phase=mozi-fire],[data-phase=gothic-three-suns],[data-phase=rip-break]) .dialogue-panel{top:154px;max-height:43vh}}@media(max-width:520px){body[data-mode=story]:is([data-phase=mozi-fire],[data-phase=gothic-three-suns],[data-phase=rip-break]) .dialogue-panel{top:184px}}
/* Scene interaction stays attached to the prop, leaving the objective as guidance. */
.cold-edge{position:absolute;inset:0;z-index:7;pointer-events:none;opacity:0;background:radial-gradient(ellipse at center,transparent 48%,rgba(170,218,237,.20) 76%,rgba(214,239,248,.65) 100%);box-shadow:inset 0 0 90px 15px rgba(204,237,248,.35);transition:opacity .5s}
.world-interact{position:absolute;z-index:24;transform:translate(-50%,-50%);background:rgba(31,35,33,.94);color:#f2d69b;border:1px solid #c6a46a;border-radius:8px;padding:12px 18px;font-size:18px;box-shadow:0 4px 30px #0008;white-space:nowrap;cursor:pointer}
.world-interact:hover{background:#59492f;color:#fff4d6;box-shadow:0 0 24px #bba06466}
body[data-beat=five-tier-hourglass] .dialogue-panel{left:20px;bottom:85px;top:auto;transform:none;width:min(450px,calc(100vw - 40px));max-height:43vh}


.inventory-status{position:absolute;z-index:20;bottom:91px;left:50%;transform:translateX(-50%);border:1px solid #9c8b6755;background:#202725e8;color:#ebd8ad;border-radius:7px;padding:10px 18px;font-size:18px;pointer-events:none}
body[data-cinematic=true] .run-toggle{opacity:.3;pointer-events:none}body[data-cinematic=true] .scene-caption{opacity:.35}body[data-cinematic=true] .center-reticle{opacity:0}
body[data-cinematic=true] .dialogue-panel{left:auto;right:20px;top:184px;bottom:auto;transform:none;width:min(400px,calc(100vw - 40px));max-height:55vh}

@media(max-width:900px){.inventory-status{bottom:108px;max-width:90vw;width:max-content;text-align:center}.world-interact{max-width:85vw;white-space:normal}}
@media(max-width:680px){body[data-cinematic=true] .dialogue-panel{top:204px;right:14px;width:calc(100vw - 28px);max-height:30vh}}

/* V0.8: one subtitle position for every speaker and every shot. */
body #dialoguePanel.dialogue-panel{position:absolute!important;left:50%!important;right:auto!important;top:auto!important;bottom:76px!important;transform:translateX(-50%)!important;width:max-content!important;max-width:min(1120px,94vw)!important;max-height:28vh!important;padding:8px 12px!important;display:flex;align-items:center;gap:10px;background:rgba(20,34,41,.68)!important;border:1px solid rgba(173,187,180,.35)!important;border-top:1px solid rgba(173,187,180,.35)!important;backdrop-filter:blur(3px);border-radius:4px;overflow:auto;box-shadow:0 2px 12px #0003}
body #dialoguePanel[hidden]{display:none!important}
#dialoguePanel .dialogue-heading{display:contents}#speakerName{white-space:nowrap;color:var(--speaker-color);font-weight:500}#speakerName:after{content:'：'}
#speakerRole,#lineCounter,#voiceIndicator{display:none!important}
body #dialoguePanel>p{font-size:22px!important;line-height:1.5!important;margin:0!important;min-height:0!important;letter-spacing:.3px;color:#f3f0e7;max-width:870px}
#dialoguePanel .dialogue-actions{display:flex!important;flex-wrap:nowrap!important;margin:0!important;gap:0;flex:0 0 auto}#dialoguePanel #nextLine{padding:5px 9px!important;white-space:nowrap;margin:0!important;font-size:18px!important;min-height:34px}
body .run-toggle,body[data-mode=story] .run-toggle{bottom:142px!important}
.telescope-filter{border-radius:0}.telescope-filter span{font-size:18px!important}
@media(max-width:760px){body #dialoguePanel.dialogue-panel{bottom:72px!important;gap:7px;padding:7px 9px!important;max-height:32vh!important}body #dialoguePanel>p{font-size:20px!important}#speakerName{font-size:18px!important}#dialoguePanel #nextLine{padding:4px 6px!important}.top-hud .view-tools{max-height:96px;overflow:auto}}

#autoDialogue{background:#17272ed9;color:#e2e6dc;border:1px solid #c0c5b633}

.directory-tabs{display:flex;flex-wrap:wrap;gap:5px}.directory-tabs button{flex:1 1 auto;font-size:11px;padding:7px 9px}

/* Keep the retinal countdown larger than the global accessibility text setting. */
#ghostCountdown{top:20%;font-size:clamp(96px,16vw,232px)!important;font-weight:900!important;letter-spacing:2px;line-height:1.12}

.volume-setting{display:block;margin:20px 0;color:#e6e3d4;font-size:14px}.volume-setting output{float:right;color:#d5c18c;font-variant-numeric:tabular-nums}.volume-setting input{display:block;width:100%;height:20px;margin-top:10px;accent-color:#d5bd81;cursor:pointer}.sound-panel{max-height:calc(100vh - 115px);overflow-y:auto}

/* V0.10.6: names stay legible without boxed signs; 18px -> 14.4px. */
#labelLayer>*,#labelLayer>.active,#labelLayer>[data-active=true]{background:none!important;border:0!important;border-radius:0;padding:0 2px!important;font-size:14.4px!important;text-shadow:0 1px 3px #000,0 0 5px #0009;pointer-events:none}

.story-notice{position:absolute;z-index:18;top:18%;left:50%;transform:translateX(-50%);width:min(88vw,980px);margin:0;text-align:center;font-size:clamp(15px,1.5vw,21px);font-weight:500;line-height:1.65;color:#f4e7ca;text-shadow:0 2px 7px #000,0 0 16px #000;pointer-events:none;background:none;border:0;}
.story-notice[hidden]{display:none;}
