:root{color-scheme:dark;font-family:Inter,system-ui,sans-serif;background:#111714;color:#f6f0dc;touch-action:none}*{box-sizing:border-box}html,body,#game-shell,#game{width:100%;height:100%;margin:0;overflow:hidden}body{background:#111714;overscroll-behavior:none}canvas{display:block;width:100%;height:100%;object-fit:contain}#touch-controls{position:fixed;top:0;right:0;bottom:0;left:0;display:none;pointer-events:none;z-index:4;padding:max(18px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));align-items:flex-end;justify-content:space-between}.touch-cluster{display:flex;gap:12px;pointer-events:auto}.touch-cluster button{width:clamp(70px,10vw,96px);height:clamp(64px,10vw,92px);border:1px solid rgba(255,255,255,.35);border-radius:50%;background:#0f141280;color:#fff8e5;font:800 17px/1 Barlow Condensed,sans-serif;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:inset 0 0 0 4px #ffffff0f,0 8px 30px #0000002e}.touch-cluster button.active,.touch-cluster button:active{transform:scale(.94);background:#ee5f2fc7}.touch-cluster .throttle{width:clamp(84px,12vw,112px);height:clamp(84px,12vw,112px);background:#ee5f2f8f}#rotate-device{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:none;place-content:center;justify-items:center;gap:8px;background:#15201a;color:#fff5d8;text-align:center}.rotate-mark{font:800 72px/1 Barlow Condensed,sans-serif;color:#ee5f2f;animation:turn 1.8s ease-in-out infinite}#rotate-device strong{font:900 32px/1 Barlow Condensed,sans-serif;letter-spacing:.05em}#rotate-device span{color:#a7b5aa;font-size:14px}@keyframes turn{50%{transform:rotate(90deg)}}#subtitles{position:fixed;left:50%;bottom:max(22px,env(safe-area-inset-bottom));translate:-50% 0;z-index:8;padding:8px 13px;border-radius:4px;background:#0c110fc7;font:700 13px/1.2 Inter,sans-serif;opacity:0;transition:opacity .18s ease;pointer-events:none}#subtitles.visible{opacity:1}@media(pointer:coarse)and (orientation:landscape){#touch-controls.playing{display:flex}}@media(pointer:coarse)and (orientation:portrait){#rotate-device{display:grid}}@media(prefers-reduced-motion:reduce){.rotate-mark{animation:none;transform:rotate(90deg)}}
