:root{--fg: #f3efe6;--bg: rgba(16, 18, 22, .62);--accent: #e0b04a}html,body{margin:0;height:100%;overflow:hidden;background:#0d0f12;color:var(--fg);font:13px/1.4 system-ui,sans-serif}#view{display:block;width:100vw;height:100vh;height:100dvh}canvas{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}#rotate{display:none}#menu-input,#chat-input{position:fixed;left:0;top:0;width:1px;height:1px;opacity:0;border:0;padding:0;font-size:16px;z-index:-1;pointer-events:none}@media (pointer: coarse) and (orientation: portrait){#rotate{display:flex;position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#0d0f12;align-items:center;justify-content:center;font-size:18px;color:var(--fg);text-align:center;padding:24px}}#hud>#touch-buttons{display:none}@media (pointer: coarse){#hud>#touch-buttons{display:flex;gap:8px;top:auto;bottom:calc(12px + env(safe-area-inset-bottom));right:calc(12px + env(safe-area-inset-right));background:none;padding:0;z-index:6}#touch-buttons button{background:var(--bg);color:var(--fg);border:1px solid rgba(255,255,255,.25);border-radius:8px;padding:10px 16px;font:inherit;font-size:15px}#status{left:calc(12px + env(safe-area-inset-left));max-width:50vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media (pointer: coarse),(max-height: 500px){#fps{display:none}}#hud>div{position:fixed;background:var(--bg);padding:6px 10px;border-radius:6px}#status{top:12px;left:12px}#hud>#status:empty{display:none}#scoreboard{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;height:100dvh;pointer-events:none;z-index:5}#scoreboard[hidden]{display:none}#message-overlay{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;height:100dvh;pointer-events:none;z-index:4}#game-ui{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;height:100dvh;pointer-events:none;z-index:7}#game-ui.open{pointer-events:auto;cursor:var(--game-cursor, default)}#game-ui[hidden]{display:none}#fps{top:12px;left:50%;transform:translate(-50%);font-variant-numeric:tabular-nums;opacity:.8}#menu{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;height:100dvh;z-index:10;cursor:var(--game-cursor, default)}#menu[hidden]{display:none}body.in-menu #hud,body.in-menu #message-overlay{display:none!important}#boot{display:none}body.booting #boot{display:flex;position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;background:#0d0f12;align-items:center;justify-content:center}body.booting #view,body.booting #hud,body.booting #game-ui,body.booting #scoreboard,body.booting #message-overlay{display:none!important}#boot-status{opacity:.7}
