:root{--mono:"JetBrains Mono", ui-monospace, "Cascadia Code", Menlo, monospace}html,body{color:#111;height:100%;font:12px/1.5 var(--mono);background:#9a9a9a;margin:0;overflow:hidden}#c{touch-action:none;width:100vw;height:100vh;display:block}#hud{pointer-events:none;z-index:10;color:#f2f2f2;text-shadow:0 1px 2px #000,0 0 2px #000c;max-width:46ch;position:fixed;top:12px;left:14px}#hud .title{letter-spacing:.12em;text-transform:uppercase;font:800 13px/1.5 Verdana,system-ui,sans-serif}#hud .sub{color:#d6d6d6}.scene-nav{pointer-events:auto;gap:12px;margin-top:7px;display:flex}.scene-link{color:#fff;text-underline-offset:3px;width:fit-content;text-decoration-color:#ffffff80}.scene-link:hover,.scene-link:focus-visible{color:#ffd6ad;text-decoration-color:currentColor}.gi-readout{color:#bbb;align-items:baseline;gap:8px;margin-top:7px;display:flex}.gi-readout strong{color:#ffd6ad;letter-spacing:.08em}.gi-readout strong.live{color:#87e4bd}.gi-readout strong.off{color:#ff8b70}#status{color:#111;white-space:pre;text-align:center;font:700 11px/1.5 var(--mono);text-shadow:1px 1px #fff;background:linear-gradient(#eee,#b8b8b8);border:1px solid #242424;border-radius:6px;padding:14px 22px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:6px 8px 20px #00000073,inset 1px 1px 2px #ffffffe6}#status.err{color:#7a0e1c;text-shadow:none;background:linear-gradient(#f0dede,#cc9a9a);border-color:#6b2330}#status.hide{display:none}.stats-gl{z-index:20;top:auto!important;bottom:12px!important;left:14px!important}@media (width<=700px),(height<=560px){#hud{left:10px;top:max(8px, env(safe-area-inset-top));max-width:calc(100vw - 20px)}#hud .title{letter-spacing:.08em;font-size:11px}#hud .sub{display:none}.scene-nav,.gi-readout{margin-top:4px}#status{box-sizing:border-box;white-space:pre-wrap;width:min(320px,100vw - 32px)}.lil-gui{--width:calc(100vw - 16px)}.lil-gui.lil-root{overscroll-behavior:contain;touch-action:pan-y;max-height:min(34vh,360px);overflow-y:auto;top:auto!important;left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;width:auto!important;position:fixed!important}.lil-gui.lil-root.lil-closed{max-height:32px;overflow:hidden}.stats-gl{left:auto!important;right:8px!important;top:max(8px, env(safe-area-inset-top))!important;bottom:auto!important}}
