/* A quiet storybook, with the small world always in view. */
:root{--paper:#f3e9d2;--ink:#393b3b;--copper:#bb9063;--serif:"Noto Serif CJK SC","Songti SC",STSong,SimSun,serif}
body{min-height:480px;background:#071023}.grain{opacity:.045}button{transition:background .25s,border-color .25s,opacity .25s,transform .25s}header{top:28px}.header-actions{gap:10px}.voice-button{font-size:10px;letter-spacing:1px;min-width:72px}.voice-button[aria-pressed=true]{color:#ebd3a1;border-color:#cfb47d77;background:#d6bc7e12}.intro{left:9%;top:50%;transform:translateY(-44%)}.intro h1{margin-top:23px;font-size:clamp(72px,7vw,108px)}.intro .description{font-family:var(--serif);font-size:15px;color:#c6c5be;line-height:2.1;letter-spacing:2px;margin:26px 0 20px}.edition-label{font-size:9px;letter-spacing:2px;color:#b8a983;margin:0 0 15px}.edition-label span{font-family:Georgia,serif;margin-left:15px;color:#747e8c;letter-spacing:3px}.start-button{width:230px;font-size:12px;padding:17px 21px;background:linear-gradient(105deg,#c8ad7130,#baa06d08);border-color:#c8ad7170;border-radius:3px}.intro-secondary{border:0;background:none;color:#a9b3bf;font-size:11px;letter-spacing:1.5px;margin:15px 0 20px;padding:0}.intro-secondary:hover{color:#e7cf9f}.voice-consent{display:flex;align-items:center;gap:7px;font-size:10px;color:#a5adba;letter-spacing:1px;width:max-content;cursor:pointer}.voice-consent input{accent-color:#c9af7e;width:13px;height:13px}.start-note{font-size:8px;margin:8px 0;color:#67758b}.world-title{left:50%;top:28px;z-index:1}.world-title h2{font-family:var(--serif);font-size:20px;letter-spacing:4px;margin:9px 0 7px}.world-title p{color:#8996a8;letter-spacing:1px}.game-hud{left:7%;top:128px;width:250px!important;max-width:250px!important}.chapter-tag{font-size:8px;letter-spacing:2px;color:#738396;display:block;margin-bottom:24px}.progress-label{font-size:9px;letter-spacing:2px;color:#8a98a6}.progress-stars{font-family:var(--serif);font-size:18px!important;letter-spacing:2px;margin:12px 0;color:#e7d3a7;line-height:1.7}.chapter-progress{width:155px;height:1px;background:#c3b28222;position:relative;margin:17px 0}.chapter-progress i{display:block;height:1px;background:#c8af76;width:var(--chapter-progress,16%);transition:width 1s}.game-hud p{font-size:11px;line-height:1.9;max-width:210px;color:#93a0b0;letter-spacing:.8px}.story-guide{font-size:10px;color:#c9b483;background:#c5aa7008;border:1px solid #bba46a30;border-radius:22px;padding:9px 13px;margin-top:10px;letter-spacing:1px}.story-guide:hover{background:#d7bb7e18;border-color:#bba46a77}.narration-caption{position:fixed;bottom:117px;left:50%;transform:translateX(-50%);max-width:540px;width:max-content;min-width:310px;padding:15px 25px 16px;z-index:3;border-top:1px solid #ccb47833;background:linear-gradient(180deg,#081426b8,#08142624);text-align:center;pointer-events:none}.narration-meta{display:flex;justify-content:center;align-items:center;gap:9px;color:#9eacbb;font-size:9px;letter-spacing:2px}.narration-meta button{border:0;background:none;color:#d0b77c;font-size:18px;line-height:1;pointer-events:auto;padding:0 4px}.narration-meta button:disabled{opacity:.3}.narration-caption p{font-family:var(--serif);font-size:14px;line-height:1.9;letter-spacing:1px;color:#dfd7c4;margin:8px 0 0}.voice-bars{display:flex;align-items:center;gap:2px;height:11px}.voice-bars i{display:block;width:1px;height:5px;background:#b8a36c}.voice-bars i:nth-child(2){height:11px}.voice-bars i:nth-child(4){height:8px}.interaction{bottom:224px;left:65%}.interaction button{padding:12px 21px;font-size:11px;background:#152237ee;border-color:#dac08370}.travel-button{bottom:218px;right:12%}.toast{bottom:285px;font-size:11px;max-width:600px;white-space:normal;line-height:1.6}.keyboard-hints{font-size:9px;gap:12px}.controls{bottom:60px}footer{bottom:25px;color:#64738a}.planet-caption{bottom:11%;left:66%;font-size:8px;letter-spacing:4px}
#encounter-dialog{position:fixed;left:6.5%;top:50%;right:auto;bottom:auto;margin:0;transform:translateY(-38%);width:min(405px,34vw);max-height:72dvh;overflow:auto;padding:33px 33px 28px;text-align:left;border:1px solid #d8c7a0a8;border-radius:5px;background:linear-gradient(130deg,#f4ecd9,#e8ddc3);color:var(--ink);box-shadow:0 25px 90px #0004}
#encounter-dialog::backdrop{background:#040b141a;backdrop-filter:none}#encounter-dialog .dialog-close{right:13px;top:10px;color:#8b806c;font-size:24px}#encounter-dialog .dialog-symbol{font-size:30px;color:#ad855a;margin:0 0 14px}#encounter-dialog .eyebrow{text-align:left;color:#9a815b;letter-spacing:2px;font-size:9px}#encounter-dialog h2{font-family:var(--serif);font-size:26px;letter-spacing:2px;line-height:1.65;margin:14px 0 20px;color:#3b423e}#encounter-dialog p:not(.eyebrow){color:#697064;font-family:var(--serif);font-size:13px;line-height:2.2;letter-spacing:.7px;margin:0}#encounter-dialog .encounter-actions{margin-top:22px;gap:10px}#encounter-dialog .choice-button{color:#4d574d;border:1px solid #afa48691;background:#f9f1dd66;font-size:11px;border-radius:2px;padding:11px 13px;text-align:left;position:relative;line-height:1.8}#encounter-dialog .choice-button:after{content:'→';position:absolute;right:13px;opacity:.7}#encounter-dialog .choice-button:hover{background:#fff8e9;border-color:#a18d65}#encounter-dialog .text-button{font-size:10px;color:#8a826e;margin:0;padding:8px 0;text-align:left;display:inline-block}#encounter-dialog #encounter-feedback{font-family:var(--serif);color:#9a7954;font-size:11px;line-height:1.9;margin-top:17px;min-height:0}body:has(#encounter-dialog[open]) .game-hud{opacity:1;pointer-events:none}body:has(#encounter-dialog[open]) .interaction,body:has(#encounter-dialog[open]) .travel-button{visibility:hidden}body:has(#encounter-dialog[open]) .narration-caption{left:65%;bottom:13%;max-width:430px;min-width:280px}body:has(#encounter-dialog[open]) .controls{opacity:.2;pointer-events:none}#map-dialog{background:linear-gradient(145deg,#142334,#081323);border-radius:5px}#map-dialog h2{font-family:var(--serif)}.route-stop{border-radius:3px}.route-stop.sample-stop{grid-column:span 1;min-height:100px;border-color:#d5b88466;background:#b79b5c0b}.route-stop.sample-stop strong{font-family:var(--serif);font-size:15px;color:#e9d8af}.route-stop.sample-stop small{font-size:8px}.route-stop.sample-stop .route-orb{font-size:22px}.route-stop:nth-child(3){grid-column:1}.map-note{line-height:1.9!important}#help-dialog{max-height:85dvh;overflow:auto}.sunset-moment:after{content:'';position:fixed;inset:0;background:radial-gradient(ellipse at 75% 50%,#e8aa4033,transparent 60%);pointer-events:none;z-index:1;animation:sunset-breath 2.5s ease-in-out}@keyframes sunset-breath{0%,100%{opacity:0}50%{opacity:1}}
@media(min-width:1450px){#encounter-dialog{left:10%;width:430px}.game-hud{left:10%}.narration-caption{bottom:15%}}
@media(max-width:1000px) and (min-width:761px){.world-title{left:44%}.world-title p{display:none}#encounter-dialog{left:5%;width:350px;max-height:72dvh;padding:28px}.game-hud{left:5%}.header-actions{gap:6px}header{left:4%;right:4%}.narration-caption{left:65%;max-width:340px}.intro{left:7%}}
@media(max-width:760px){header{top:max(17px,env(safe-area-inset-top));left:5%;right:5%;gap:7px}.brand{font-size:10px;letter-spacing:1.5px;gap:6px}.brand-star{font-size:18px}.header-actions{gap:5px}.voice-button{font-size:9px;min-width:59px;padding:7px 8px;letter-spacing:0}.map-button{font-size:9px;padding:7px 9px}.icon-button{width:30px;height:30px}.icon-button svg{width:15px;height:15px}.intro{left:8%;top:115px;transform:none}.intro .eyebrow{font-size:8px;letter-spacing:2px;gap:8px}.intro h1{font-size:60px;margin:24px 0 8px}.intro .subtitle{font-size:21px}.intro .description{font-size:12px;line-height:2;letter-spacing:1px;margin:22px 0 18px}.edition-label{font-size:8px;letter-spacing:1px;margin-bottom:12px}.edition-label span{margin-left:10px}.start-button{width:210px;font-size:11px;padding:14px 17px}.intro-secondary{font-size:10px;margin:13px 0 17px}.voice-consent{font-size:9px;letter-spacing:.3px;pointer-events:auto}.intro .start-note{display:block;font-size:7px}.world-title{top:76px;left:7%;right:auto;max-width:90%;transform:none;text-align:left}.world-title>span{font-size:8px;letter-spacing:3px}.world-title h2{font-size:19px;letter-spacing:3px;margin:8px 0}.world-title p{font-size:9px;letter-spacing:.3px;display:none}.game-hud{left:7%;top:147px;width:86%!important;max-width:86%!important}.chapter-tag{position:absolute;right:0;top:0;font-size:7px;letter-spacing:1px;max-width:125px;text-align:right}.progress-label{font-size:8px;letter-spacing:1px}.progress-stars{font-size:14px!important;letter-spacing:1px;margin:7px 0}.chapter-progress{width:120px;margin:9px 0}.game-hud p{font-size:9px;max-width:250px;line-height:1.75;margin:8px 0}.story-guide{position:absolute;right:0;top:39px;padding:8px 10px;max-width:155px;font-size:8px;letter-spacing:0}.game-hud p{padding-right:100px;max-width:100%}.narration-caption{bottom:146px;left:50%;width:86%;min-width:0;max-width:420px;padding:10px 12px}.narration-meta{font-size:8px;letter-spacing:1px}.narration-caption p{font-size:12px;line-height:1.9;letter-spacing:.7px;margin-top:7px}.interaction,.mode-3d .interaction{left:50%;bottom:252px}.interaction button{font-size:10px;padding:10px 15px}.travel-button,.mode-3d .travel-button{bottom:252px;right:50%;transform:translateX(50%);font-size:10px;padding:11px 17px}.toast,.mode-3d .toast{bottom:304px;font-size:10px;padding:10px 16px;width:85%;border-radius:8px}.controls,.mode-3d .controls{bottom:36px}.touch-controls{gap:145px}.joystick{width:83px;height:83px}.joystick-guide{font-size:65px}.joystick-knob{width:34px;height:34px}.fallback-directions{gap:8px}.touch-controls button{width:44px;height:42px;font-size:20px}.touch-controls #jump{width:51px;height:51px;font-size:11px}.touch-controls{gap:min(30vw,140px)}footer{bottom:14px;left:6%;right:6%;font-size:7px}.footer-mark{display:none}#encounter-dialog{left:4%;top:auto;bottom:max(14px,env(safe-area-inset-bottom));width:92%;max-height:51dvh;transform:none;border-radius:7px;padding:24px 25px 21px}#encounter-dialog .dialog-symbol{position:absolute;right:40px;top:24px;font-size:23px}#encounter-dialog .eyebrow{font-size:8px;margin:0 0 12px;letter-spacing:1.5px}#encounter-dialog h2{font-size:22px;letter-spacing:1px;margin:12px 0}#encounter-dialog p:not(.eyebrow){font-size:12px;line-height:2;letter-spacing:.4px}#encounter-dialog .encounter-actions{margin-top:16px;gap:7px}#encounter-dialog .choice-button{font-size:10px;padding:10px 12px}#encounter-dialog .text-button{font-size:9px}#encounter-dialog #encounter-feedback{font-size:10px;margin-top:12px}body:has(#encounter-dialog[open]) .narration-caption{left:50%;bottom:calc(51dvh + 24px);width:86%;max-width:420px;min-width:0;padding:7px 10px;background:#0a1629b0}body:has(#encounter-dialog[open]) .narration-caption p{font-size:10px;line-height:1.8;margin-top:4px}body:has(#encounter-dialog[open]) .game-hud{opacity:1}body:has(#encounter-dialog[open]) .controls{opacity:0}.route-stop.sample-stop{min-height:95px}.route-stop.sample-stop strong{font-size:13px}.route-stop.sample-stop small{font-size:7px}.route-stop:nth-child(3){grid-column:auto}.route{gap:8px}.route-stop strong{font-size:9px}.route-stop small{font-size:7px}.map-note{font-size:8px!important}}
@media(max-width:760px) and (max-height:720px){.intro{top:90px}.intro h1{font-size:49px;margin:16px 0 6px}.intro .description{font-size:11px;margin:17px 0 14px}.intro-secondary{margin:12px 0 13px}.world-title{top:70px}.game-hud{top:132px}.chapter-tag{display:none}.narration-caption{bottom:119px;padding:6px 10px}.narration-caption p{font-size:11px}.interaction,.mode-3d .interaction,.travel-button,.mode-3d .travel-button{bottom:215px}.controls,.mode-3d .controls{bottom:27px}.joystick{width:73px;height:73px}.joystick-guide{font-size:57px}#encounter-dialog{max-height:54dvh;padding:20px 23px 17px}#encounter-dialog h2{font-size:20px}#encounter-dialog p:not(.eyebrow){font-size:11px;line-height:1.9}#encounter-dialog .choice-button{font-size:10px;padding:8px 11px}body:has(#encounter-dialog[open]) .narration-caption{bottom:calc(54dvh + 20px)}body:has(#encounter-dialog[open]) .narration-meta{display:none}}
@media(max-height:520px) and (min-width:761px){header{top:13px}.game-hud{top:90px}.world-title{top:15px}#encounter-dialog{top:19%;transform:none;max-height:75dvh;padding:23px}#encounter-dialog h2{font-size:21px;margin:10px 0}#encounter-dialog .dialog-symbol{display:none}.narration-caption{bottom:65px}.controls{bottom:22px}footer{display:none}}
@media(prefers-reduced-motion:reduce){.sunset-moment:after{animation:none;opacity:0}.chapter-progress i{transition:none}}
.story-audio-controls{display:flex;align-items:center;gap:15px;margin-top:14px;padding-top:13px;border-top:1px solid #b3a17c33}.story-audio-controls button{font-size:9px;color:#948466;background:none;border:0;padding:2px 0;letter-spacing:1px}.story-audio-controls button[aria-pressed=true]{color:#726140}.story-audio-controls button:disabled{opacity:.4}.story-audio-controls button:hover{color:#4e573f}body:not(.sample-chapter) .story-audio-controls{display:none}@media(max-width:760px){.story-audio-controls{margin-top:11px;padding-top:9px;gap:16px}.story-audio-controls button{font-size:8px}#encounter-dialog .encounter-actions{margin-top:13px}}
.flight.active{pointer-events:auto}
/* Short exchanges, with a clear distinction between spoken words and recollection. */
.narration-speaker{display:block;font-size:9px;letter-spacing:1.5px;color:#c5aa7a;margin-top:9px}
.dialogue-lines{margin-top:16px;display:grid;gap:18px}.dialogue-lines[hidden],.dialogue-navigation[hidden],#encounter-actions[hidden]{display:none!important}.dialogue-line{position:relative;padding-left:12px;border-left:1px solid #aa997844;transition:border-color .3s,background .3s}.dialogue-speaker{display:block;font-family:system-ui,sans-serif;font-size:9px;letter-spacing:1.3px;color:#8c7e64;margin-bottom:4px}.dialogue-rose{border-color:#ba8e9544}.dialogue-rose .dialogue-speaker{color:#a26775}.dialogue-king .dialogue-speaker{color:#927138}.dialogue-narrator{border-left-color:transparent;padding-left:0}.dialogue-narrator .dialogue-speaker{font-size:8px;color:#9c9787}.dialogue-line.speaking{border-left-color:#ac8753;background:linear-gradient(90deg,#b8975220,transparent);border-radius:2px}.dialogue-rose.speaking{border-left-color:#ad7382;background:linear-gradient(90deg,#b8788e16,transparent)}#encounter-dialog .dialogue-narrator p{color:#848574;font-size:12px}.dialogue-navigation{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #b3a17c33;margin-top:20px;padding-top:10px;gap:15px}.dialogue-navigation>span{font:10px Georgia,serif;letter-spacing:2px;color:#a18e6e}.dialogue-navigation button{min-height:36px}#encounter-dialog .dialogue-navigation button:disabled{opacity:.25;cursor:default}#encounter-dialog .dialogue-navigation #dialogue-next{color:#5b6655;font-size:11px}#encounter-dialog:has(.dialogue-lines:not([hidden])) h2{font-size:23px;line-height:1.55;margin-bottom:15px}#encounter-dialog:has(.dialogue-lines:not([hidden])) .dialog-symbol{font-size:24px;margin-bottom:10px}
@media(max-width:760px){.dialogue-lines{gap:13px;margin-top:12px}.dialogue-line{padding-left:10px}.dialogue-narrator{padding-left:0}.dialogue-speaker{font-size:9px;margin-bottom:3px}.dialogue-narrator .dialogue-speaker{font-size:8px}#encounter-dialog .dialogue-narrator p{font-size:11px}.dialogue-navigation{margin-top:14px;padding-top:6px}.dialogue-navigation>span{font-size:9px}#encounter-dialog:has(.dialogue-lines:not([hidden])) h2{font-size:20px;margin:10px 0 14px}.narration-speaker{font-size:8px;margin-top:6px}#encounter-dialog .dialogue-navigation #dialogue-next{font-size:10px}}
@media(prefers-reduced-motion:reduce){.dialogue-line{transition:none}}
/* Audiobook controls: visible inside and outside the reading panel. */
#voice-pause,#voice-skip{font:10px system-ui,sans-serif!important;line-height:1.5!important;padding:4px 5px!important;letter-spacing:.5px}.story-audio-controls{flex-wrap:wrap;gap:14px}.story-audio-controls #dialog-pause{font-size:11px;color:#50624d;font-weight:600}.story-audio-controls #dialog-skip{font-size:10px}#dialogue-mode{font:9px system-ui,sans-serif;letter-spacing:1px;color:#928772}.dialogue-navigation:has(#dialogue-next[hidden]){justify-content:flex-start;gap:18px}.narration-meta{flex-wrap:wrap}.narration-meta button[disabled]{cursor:default;opacity:.3}.narration-caption{pointer-events:none}.narration-caption button{pointer-events:auto}.start-note{max-width:290px;line-height:1.8!important;font-size:10px!important;color:#aaa88f!important}
@media(max-width:760px){.story-audio-controls{gap:13px}.story-audio-controls #dialog-pause{font-size:10px}#dialogue-mode{font-size:8px;letter-spacing:0}.narration-meta{gap:5px}.narration-meta #narration-status{font-size:8px}#voice-pause,#voice-skip{font-size:9px!important}.intro .start-note{font-size:9px!important;max-width:265px}#encounter-dialog .dialogue-navigation{position:sticky;bottom:43px;background:#eee3ccf5}.story-audio-controls{position:sticky;bottom:0;background:#eee3ccf5;padding-bottom:8px}.narration-caption{padding:10px 8px}}
@media(max-width:760px) and (max-height:720px){body:has(#encounter-dialog[open]) .narration-meta{display:flex}}

/* A quiet, optional guided walk; the visitor can always take the controls back. */
.story-guidance{display:flex;flex-wrap:wrap;gap:6px}.story-guidance .story-guide{margin-top:8px}#story-follow[aria-pressed=true]{background:#c6ae7020;border-color:#c6ae7077}#story-follow-note{font-size:9px;color:#a89976;line-height:1.8}.story-recap{border-top:1px solid #b69c6228;margin-top:16px;padding-top:8px}.story-recap p{color:#a8aea3!important;font-family:var(--serif)}.story-recap .text-button{color:#c2ab7d;font-size:9px;margin:0;padding:4px 0}.conversation-recap{background:#c5ab7220;padding:12px!important;border-left:2px solid #b69a68;margin-bottom:15px!important}#story-exit{display:block!important;border-top:1px solid #bca57433;margin-top:10px!important;padding-top:10px!important}#story-exit[hidden],.conversation-recap[hidden],.story-recap[hidden],#story-follow-note[hidden]{display:none!important}#encounter-dialog .choice-button:disabled{opacity:.6;cursor:default}
@media(max-width:760px){.story-guidance{position:absolute;right:0;top:34px;flex-direction:column;align-items:flex-end;gap:3px;max-width:160px}.story-guidance .story-guide{position:static;margin:0;font-size:8px;max-width:160px;padding:7px 10px}#story-follow-note{max-width:70%;padding-right:0;font-size:8px}.story-recap{margin-top:12px;max-width:75%}.story-recap p{padding-right:0!important;font-size:9px!important}.story-recap .text-button{font-size:8px}}

/* Put meaningful actions beside the title, never below a long conversation. */
#encounter-dialog #encounter-actions{margin:12px 0 17px}#encounter-dialog #encounter-actions[hidden]{margin:0}

/* Pausing releases the modal and keeps a small, reachable return point. */
.explore-panel{position:fixed;z-index:12;left:50%;bottom:148px;transform:translateX(-50%);width:min(440px,88vw);padding:14px 18px;border:1px solid #c8ad6b55;border-radius:12px;background:#101d2de8;color:#e9dfc7;backdrop-filter:blur(12px);font:12px/1.6 system-ui}.explore-panel[hidden]{display:none}.explore-panel p{font-size:11px;color:#b7c0b9;margin:6px 0 10px}.explore-panel div{display:flex;gap:10px;flex-wrap:wrap}.explore-panel button{border:1px solid #c9b57c66;background:#bca56a18;color:#f0ddb0;border-radius:20px;padding:9px 14px;font:12px system-ui;cursor:pointer}.explore-panel small{display:block;color:#a7b3a8;margin-top:9px;font-size:10px}.exploring .narration-caption{display:none}.exploring .game-hud{opacity:1;pointer-events:none}.exploring .interaction{bottom:285px}.exploring .story-recap{display:none}.explore-panel button:focus-visible{outline:2px solid #ecd49b;outline-offset:3px}
@media(max-width:760px){.explore-panel{bottom:148px;padding:11px 14px}.explore-panel p{font-size:10px}.explore-panel button{font-size:11px;padding:9px 12px}.exploring .interaction{bottom:340px}}
@media(prefers-reduced-motion:reduce){.explore-panel{backdrop-filter:none}}

/* The open dialogue already contains the current line and playback controls. */
body:has(#encounter-dialog[open]) .narration-caption{visibility:hidden;pointer-events:none}

/* Keep journey guidance readable in every chapter and while exploring. */
.game-hud .chapter-tag,.game-hud .progress-label{color:#b7c2ce;font-size:11px}.game-hud p{color:#d1d8df;font-size:12px;line-height:1.9}.game-hud .story-guide{color:#ead7ad;font-size:11px}

.game-hud{text-shadow:0 1px 3px #071023,0 0 8px #071023,0 0 14px #071023}

.exploring .game-hud .story-guide{pointer-events:auto}

/* One consistent reading surface, including the bright Sahara globe. */
.game-hud{isolation:isolate}
.game-hud::before{content:"";position:absolute;inset:-14px auto -14px -16px;width:min(265px,calc(100% + 32px));z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(100deg,rgba(7,16,35,.82),rgba(7,16,35,.60) 65%,rgba(7,16,35,0));box-shadow:-6px 0 24px #07102333}
.game-hud .chapter-tag,.game-hud .progress-label{color:#d1dae4}
.game-hud p{color:#f3f5f7;font-size:14px;line-height:1.85}
.game-hud::before{background:linear-gradient(100deg,rgba(7,16,35,.94),rgba(7,16,35,.82) 72%,rgba(7,16,35,0))}
@media(max-width:760px){.game-hud p{font-size:12px}}
body:has(#encounter-dialog[open]) .game-hud,.exploring .game-hud{opacity:1;visibility:visible}

/* Keep mobile guidance together on the left, away from elevated story actors. */
@media(max-width:760px){.game-hud .chapter-tag{display:none}.game-hud .story-guidance{position:static;align-items:flex-start;max-width:220px;margin-top:8px}.game-hud p{padding-right:0;max-width:220px}.game-hud .story-guidance .story-guide{max-width:220px}}

/* Optional closer view; the default remains the complete small world. */
.inspect-view{position:fixed;right:5%;top:76px;z-index:4;color:#ead7ad;background:#101d2ded;font-size:11px;padding:8px 13px}.inspect-view[hidden]{display:none}.inspect-view[aria-pressed=true]{border-color:#d8bd80;background:#263044}body:has(#encounter-dialog[open]) .inspect-view{visibility:hidden}
@media(max-width:420px){.inspect-view{top:67px;font-size:10px;padding:7px 10px}}
/* Completed chapters offer replay and onward travel in one row above captions. */
@media(max-width:760px){body.playing:has(#travel-button:not([hidden])) .interaction:not([hidden]){left:25%;bottom:252px;max-width:47%}body.playing .interaction:not([hidden])~#travel-button:not([hidden]){left:auto;right:25%;bottom:252px;max-width:47%;transform:translateX(50%)}body.playing:has(#travel-button:not([hidden])) .interaction button{font-size:10px;padding:10px 12px}}

footer .author-home{color:#c6b98f;text-decoration:none;pointer-events:auto}footer .author-home:hover{text-decoration:underline}footer>span:first-child{max-width:100%;line-height:1.8}@media(max-width:760px){footer{font-size:9px}footer .author-home{display:inline-block}}
