:root{color-scheme:dark;--cream: #f1ead7;--muted: #c1c3b6;--amber: #eec68a;--line: #e8ddbf38;--panel: #192326ed;--edge: clamp(20px, 3.4vw, 52px)}*{box-sizing:border-box}[hidden]{display:none!important}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:#203033;color:var(--cream);font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{overscroll-behavior:none}button,select,input{font:inherit;color:inherit}button{cursor:pointer}button,select{-webkit-tap-highlight-color:transparent}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--amber);outline-offset:5px}button:disabled{cursor:wait;opacity:.6}#app,#scene,.hud,.vignette{position:fixed;inset:0;width:100%;height:100%}#scene{display:block;touch-action:none}#scene:focus{outline:none}#scene:focus-visible{outline:2px solid var(--amber);outline-offset:-4px}.vignette{pointer-events:none;background:radial-gradient(ellipse at 50% 46%,transparent 46%,#0b171f12 73%,#0b171f55)}.hud{z-index:2;pointer-events:none}.hud button,.joystick{pointer-events:auto}.hud__title{position:absolute;top:max(var(--edge),env(safe-area-inset-top));left:max(var(--edge),env(safe-area-inset-left));text-shadow:0 2px 14px #101716}.hud__edition,.eyebrow{font-size:9px;letter-spacing:.19em;font-weight:600}.hud__edition{color:var(--muted)}.hud__title h1{margin:6px 0 8px;font-size:clamp(28px,3vw,40px);line-height:1.05;font-weight:500;letter-spacing:-.06em}.brand-dot{color:var(--amber)}.hud__location{font-size:11px;letter-spacing:.05em}.location-dot{display:inline-block;width:5px;height:5px;margin:0 7px 2px 0;border-radius:50%;background:var(--amber)}.hud__status{position:absolute;top:max(calc(var(--edge) + 6px),env(safe-area-inset-top));left:50%;transform:translate(-50%);display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:10px;letter-spacing:.05em;padding:10px 15px;background:#1c292941;border:1px solid #e8ddbf21;border-radius:24px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);text-shadow:0 1px 4px #101716}#localTime{font-variant-numeric:tabular-nums;color:var(--amber)}.status-divider{width:1px;height:10px;background:var(--line)}.minimap{position:absolute;top:max(var(--edge),env(safe-area-inset-top));right:max(var(--edge),env(safe-area-inset-right));width:128px}.minimap svg{display:block;width:100%;background:#19282873;border:1px solid var(--line);border-radius:3px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.map-bounds{fill:#c6bfa606;stroke:#e4d8b851;stroke-width:.25}.map-buildings{fill:#decdaa25;stroke:#decdaa4d;stroke-width:.15}.map-axis{stroke:#decdaa29;stroke-width:.2;stroke-dasharray:.5 1}.map-landmark{fill:var(--cream);font-size:2px;font-weight:600;text-anchor:middle}.map-landmark circle{fill:#2a3736;stroke:#e4d8b884;stroke-width:.2}.map-player circle{fill:#edbd6633}.map-player path{fill:#ffd087;stroke:#172221;stroke-width:.15}.map-robot{fill:var(--cream);stroke:#172221;stroke-width:.2}.minimap__caption{display:flex;justify-content:space-between;margin-top:7px;font-size:8px;letter-spacing:.07em;color:var(--muted);text-shadow:0 1px 6px #111}#mapCoordinates{font-variant-numeric:tabular-nums}.companion{position:absolute;left:max(var(--edge),env(safe-area-inset-left));bottom:max(var(--edge),env(safe-area-inset-bottom));display:flex;align-items:center;gap:11px;text-shadow:0 2px 8px #0a1212}.companion__icon{width:32px;height:38px;stroke:var(--amber);stroke-width:1.4;fill:#d8c9a3}.companion__icon>path{fill:none}.companion__icon .robot-screen{fill:#243638;stroke:#bdad81}.companion__icon .robot-eyes{stroke:#efe5bd;stroke-width:2}.companion__name{font-size:11px;font-weight:600;letter-spacing:.12em}.companion__name span{margin-left:6px;font-size:9px;font-weight:400;letter-spacing:.03em;color:var(--muted)}.companion__state{margin-top:5px;font-size:10px;color:var(--muted)}.key-help{position:absolute;left:50%;bottom:max(calc(var(--edge) + 6px),env(safe-area-inset-bottom));transform:translate(-50%);margin:0;color:#d7d9ce;text-shadow:0 2px 6px #0c1313;font-size:9px;white-space:nowrap}.key-help span{margin:0 5px;opacity:.7}kbd{font:inherit}.hud__actions{position:absolute;right:max(var(--edge),env(safe-area-inset-right));bottom:max(var(--edge),env(safe-area-inset-bottom));display:flex;gap:8px}.hud-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:4px;background:#17232380;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:10px;transition:background .15s,border-color .15s}.hud-button svg{width:16px;height:16px;fill:none;stroke:var(--cream);stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}.hud-button small{font-size:8px;color:var(--amber)}.hud-button:hover{background:#39433dda;border-color:#e8ddbf80}.prompt{position:absolute;left:50%;bottom:105px;transform:translate(-50%);min-height:44px;display:flex;align-items:center;gap:10px;padding:8px 13px 8px 9px;border:1px solid #e8ddbf59;border-radius:4px;background:#172323b5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);font-size:11px;letter-spacing:.03em}.prompt kbd{display:grid;place-items:center;width:25px;height:25px;border:1px solid #e8ddbf40;border-radius:2px;color:var(--amber);font-size:10px}.prompt-arrow{color:var(--amber);font-size:17px}.prompt:hover{background:#39433df2}.mobile-controls{display:none}.scene-dialog{width:min(430px,calc(100vw - 32px));max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #d8c6a05c;border-radius:8px;color:var(--cream);background:var(--panel);box-shadow:0 24px 90px #0007}.scene-dialog::backdrop{background:#111a1d70;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.dialog-card{position:relative;padding:32px}.eyebrow{color:var(--amber);padding-right:18px}.scene-dialog h2{margin:12px 0 26px;font-weight:450;font-size:28px;line-height:1.2;letter-spacing:-.04em}.close-button{position:absolute;top:9px;right:9px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:4px;background:transparent;color:var(--muted);font:26px/1 system-ui,sans-serif}.close-button:hover{color:var(--cream);background:#e8ddbf0b}.setting-row{display:flex;min-height:62px;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);font-size:13px}.setting-row select{height:44px;min-width:110px;border:1px solid var(--line);border-radius:4px;background:#263333;padding:0 10px}.setting-row input{width:22px;height:22px;margin:11px;accent-color:var(--amber);cursor:pointer}.reset-button,.text-button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:44px;margin-top:20px;padding:12px 14px;border:1px solid #e7c58c66;border-radius:4px;background:#b6905120;color:var(--amber);font-size:12px}.reset-button:hover,.text-button:hover{background:#b690513a}.settings-note{margin:14px 0 0;color:var(--muted);font-size:11px;line-height:1.65}.credits{color:#a5aa9e;font-size:10px}.dialogue .dialog-card{padding-top:37px}.dialogue p{font-size:14px;color:#d3d4c8;line-height:1.8}.dialogue .dialogue-coordinates{color:var(--amber);font-size:12px;font-variant-numeric:tabular-nums}.notice{position:absolute;bottom:160px;left:50%;transform:translate(-50%);max-width:calc(100% - 40px);margin:0;padding:12px 16px;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--cream);font-size:12px;text-align:center}.boot,.fallback{position:fixed;z-index:10;inset:0;display:grid;place-content:center;padding:32px;background:#203033;text-align:center}.boot{gap:24px}.boot__mark{font-size:38px;font-weight:450;letter-spacing:-.06em}.boot__mark span{display:block;margin-top:12px;color:var(--muted);font-size:9px;letter-spacing:.2em}.boot__line{width:min(240px,70vw);height:1px;background:var(--line);overflow:hidden}.boot__line span{display:block;width:35%;height:100%;background:var(--amber);animation:load 1.5s ease-in-out infinite alternate}.boot__copy{font-size:11px;color:var(--muted)}.fallback{z-index:12}.fallback>div{max-width:420px}.fallback h2{font-size:28px;font-weight:450;letter-spacing:-.03em}.fallback p{font-size:14px;line-height:1.8;color:var(--muted)}@keyframes load{to{transform:translate(185%)}}@media(max-width:1000px){.key-help{bottom:88px;font-size:8px}}@media(max-width:700px),(max-height:500px)and (orientation:landscape),(any-pointer:coarse){:root{--edge: 20px}.hud__title h1{font-size:28px}.hud__edition{font-size:8px}.hud__status{top:max(calc(env(safe-area-inset-top) + 116px),116px);left:var(--edge);transform:none;font-size:9px;padding:7px 11px;gap:10px}.minimap{width:94px}.minimap__caption{font-size:7px}.companion{bottom:max(22px,env(safe-area-inset-bottom));gap:8px}.companion__icon{width:25px;height:34px}.companion__name{font-size:10px}.companion__name span{display:none}.companion__state{font-size:9px}.hud__actions{bottom:max(20px,env(safe-area-inset-bottom));gap:7px}.hud-button{padding:0 11px;gap:5px}.hud-button .button-label,.key-help{display:none}.mobile-controls{display:block;position:absolute;left:max(var(--edge),env(safe-area-inset-left));bottom:max(100px,calc(env(safe-area-inset-bottom) + 82px))}.joystick{position:relative;width:96px;height:96px;touch-action:none;border:1px solid #eddbb94d;border-radius:50%;background:#1a2a2840;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.joystick:before,.joystick:after{content:"";position:absolute;background:#eddbb938}.joystick:before{width:1px;height:72px;top:11px;left:47px}.joystick:after{height:1px;width:72px;top:47px;left:11px}.joystick span{position:absolute;z-index:1;top:31px;left:31px;width:32px;height:32px;border-radius:50%;border:1px solid #eddbb98c;background:#ead9b63b}.joystick i{position:absolute;inset:10px;border:1px solid #eddbb917;border-radius:50%}.prompt{left:auto;right:max(var(--edge),env(safe-area-inset-right));bottom:max(122px,calc(env(safe-area-inset-bottom) + 104px));transform:none;min-height:48px;max-width:calc(100vw - 160px);padding:10px 12px;font-size:11px}.prompt kbd{display:none}.notice{bottom:214px;font-size:11px}.dialog-card{padding:28px 24px}}@media(max-height:500px)and (orientation:landscape){:root{--edge: 14px}.hud__title h1{font-size:26px}.hud__status{top:18px;left:50%;transform:translate(-50%)}.minimap{width:88px}.mobile-controls{display:block;bottom:77px}.prompt{bottom:95px}.companion,.hud__actions{bottom:max(14px,env(safe-area-inset-bottom))}}.objectives{position:absolute;top:145px;left:var(--edge);align-items:flex-start;flex-direction:column;gap:5px;padding:11px 14px}.minimap{width:164px}.map-terminal rect{fill:#eec68a;stroke:#172323;stroke-width:.3}.map-terminal.active rect{fill:#80ccc1}.map-terminal text{fill:#172323;font-size:2px;font-weight:700;text-anchor:middle}.journal-list{list-style:none;padding:0}.journal-list li{padding:16px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.7}.journal-list small{display:block;color:var(--muted);font-size:11px}.photo-controls{position:fixed;z-index:3;right:var(--edge);bottom:var(--edge);display:flex;flex-wrap:wrap;gap:8px;max-width:calc(100% - 40px)}.photo-controls p{flex-basis:100%;margin:0;font-size:11px;text-align:right;text-shadow:0 1px 5px #000}body.photo-mode .hud,body.photo-mode .vignette{visibility:hidden}.sprint-button{position:absolute;left:112px;bottom:0}.sprint-button[aria-pressed=true]{border-color:var(--amber);color:var(--amber);background:#4a4931df}@media(max-width:700px),(max-height:500px)and (orientation:landscape),(any-pointer:coarse){.minimap{width:118px}.objectives{top:160px;max-width:calc(100% - 40px);font-size:10px}.companion{bottom:22px;max-width:150px}.hud__actions{gap:5px}.hud__actions .hud-button{padding:0 9px}.prompt{bottom:166px;max-width:calc(100vw - 148px)}.notice{bottom:265px}}@media(max-height:500px)and (orientation:landscape){.objectives{top:116px;left:auto;right:var(--edge);max-width:200px;padding:8px}.minimap{width:108px}.prompt{bottom:94px}.notice{bottom:170px;max-width:350px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
