:root{color-scheme:dark;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#8ca8b2;color:#f1f1df}*{box-sizing:border-box}body.public-game{margin:0;overflow:hidden}body.public-game [hidden]{display:none!important}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #d5f896;outline-offset:5px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#game-entry{position:fixed;inset:0;z-index:100;background:linear-gradient(90deg,#08110c45,#08110c75 50%,#08110c45);display:grid;place-items:center;padding:32px;overflow:auto}.entry-content{width:min(360px,100%);text-align:center;text-shadow:0 2px 18px #0009}.entry-eyebrow{font-size:10px;letter-spacing:3px;color:#e6efdb}#entry-title{font-size:clamp(74px,14vw,112px);letter-spacing:-8px;line-height:1;margin:25px 0 12px;font-weight:800;color:#f1f1df}#entry-title span{color:#d5f896}.entry-description{font-size:14px;color:#e0ead9;margin:0 0 36px}#entry-form{display:grid;gap:10px}#entry-name{width:100%;padding:15px 17px;color:#edf2dd;background:#10201980;border:1px solid #d4dfbe60;border-radius:12px;text-align:center;font-size:13px}#entry-name::placeholder{color:#a6b49b}#entry-play{display:flex;align-items:center;justify-content:center;gap:22px;border:0;border-radius:12px;background:#d5f896;color:#1b3222;padding:17px 20px;font-weight:650;font-size:15px;min-height:54px}#entry-play:hover{background:#e3ffb1}#entry-play:disabled{opacity:.65;cursor:progress}#entry-status{font-size:12px;line-height:1.6;min-height:38px;color:#bcccae;margin:18px 0 0}
body.public-game>header,body.public-game>footer,body.public-game>#panel,body.public-game>.location,body.public-game>.compass,body.public-game>.render-status,body.public-game>.map-place,body.public-game>#map-scale{display:none!important}#game-bar{position:fixed;z-index:51;top:20px;left:24px;right:24px;display:flex;align-items:center;gap:16px;pointer-events:none;color:#fff;text-shadow:0 1px 4px #0008;font-size:12px}#game-bar a{font-weight:800;letter-spacing:2px;color:inherit;text-decoration:none;pointer-events:auto}#game-online{margin-left:auto}#game-menu{pointer-events:auto;background:#10241de8;color:#e4f0d7;border:1px solid #e1f0d73d;border-radius:10px;padding:10px 15px}body.public-game #player-hud{position:fixed;top:auto;bottom:22px;left:24px;width:220px;padding:12px 15px;border-radius:14px}body.public-game #player-hud .player-buttons{display:flex;align-items:center;justify-content:flex-end;margin:0}body.public-game #player-hud .player-buttons>button,body.public-game #player-help{display:none!important}body.public-game #player-ammo{font-size:13px;color:#d5f896}body.public-game #player-health-bar{height:4px;margin:8px 0 3px}body.public-game #player-crosshair{pointer-events:none}body.public-game #drive-message{max-width:min(420px,90vw)}body.public-game #error{z-index:60}body.public-game #mouse-start{border-radius:12px;background:#10241dee}
#game-settings{position:fixed;inset:0;margin:auto;width:min(410px,calc(100vw - 28px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #d6e3c63b;border-radius:20px;background:#142c23;color:#e9f3df;padding:22px;z-index:110}#game-settings::backdrop{background:#05110cb3}.settings-heading{display:flex;align-items:center;justify-content:space-between}.settings-heading h2{font-size:20px;margin:0}.settings-heading button{background:transparent;color:#d9e6cc;border:0;padding:8px}.settings-help{font-size:11px;line-height:1.9;color:#b6c6ac}body.public-game #game-settings #online-panel{position:static;display:block;width:auto;padding:0;background:none;border:0;box-shadow:none;margin:18px 0}body.public-game #game-settings .sound-controls{position:static;display:grid;width:auto;max-width:none;transform:none;gap:9px;background:none;box-shadow:none;border:0;border-top:1px solid #d1e1c12b;border-radius:0;padding:16px 0;margin:0;font-size:12px}body.public-game #game-settings .sound-controls input{width:100%}body.public-game #game-settings #effects-demo,body.public-game #game-settings #effects-status{display:none}#game-settings button{border-radius:8px}body.public-game #game-settings #mouse-settings{display:block!important;font-size:12px}body.public-game #game-settings .credit{position:static;text-shadow:none;font-size:10px;color:#b6c6ac;padding:12px 0;line-height:1.9}#settings-credits{font-size:12px;border-top:1px solid #d1e1c12b;padding-top:14px}#settings-credits summary{cursor:pointer}body.public-game #game-settings #online-form{display:flex}body.public-game #game-settings #online-form[hidden]{display:none}
@media(max-height:530px){#game-entry{padding:50px 24px}.entry-coordinate,.entry-bottom,#entry-title{font-size:64px;margin:12px 0}.entry-description{margin-bottom:15px}.entry-eyebrow{margin:0}}@media(max-width:540px){#game-bar{left:16px;right:16px}body.public-game #player-hud{left:16px;bottom:16px;width:190px}}

.detail-setting{display:block;font-size:12px;line-height:1.6;margin:16px 0}.detail-setting input{accent-color:#d5f896}.detail-setting small{display:block;color:#b6c6ac;margin-left:22px}

.transport-actions{display:flex;gap:10px;margin-top:16px}.transport-actions button{flex:1;background:#d5f896;color:#1b3222;border:0;padding:12px}body.public-game #player-hud .player-buttons>#player-exit{display:block!important}body.public-game #player-hud .player-buttons>#player-exit[hidden]{display:none!important}

body.public-game #drive-hud{top:78px;right:24px;width:220px;padding:15px}body.public-game #drive-hud .drive-actions,body.public-game #drive-hud .drive-note,body.public-game #drive-pedals{display:none!important}body.public-game #drive-hud .engine-controls{display:none}body.public-game #flight-controls{font-size:12px}body.public-game #flight-controls input{max-width:130px}

#touch-controls{position:fixed;inset:0;pointer-events:none;z-index:65;touch-action:none}#touch-controls[hidden]{display:none}.touch-stick{position:absolute;bottom:max(30px,env(safe-area-inset-bottom));left:25px;width:120px;height:120px;border-radius:50%;border:2px solid #ffffff55;background:#142c2366;pointer-events:auto;touch-action:none;display:grid;place-items:center}.touch-stick span{width:48px;height:48px;border-radius:50%;background:#ffffff88;pointer-events:none}.touch-actions{position:absolute;bottom:max(25px,env(safe-area-inset-bottom));right:20px;display:grid;grid-template-columns:repeat(2,72px);gap:10px;pointer-events:auto}.touch-actions button{height:48px;border:1px solid #ffffff66;border-radius:20px;background:#142c23cc;color:white;font-size:11px;touch-action:none}.touch-actions button[data-action=fire]{background:#bccf80;color:#17251a;font-weight:bold}@media(pointer:coarse),(max-width:700px){#world canvas{touch-action:none}body.public-game #player-hud{bottom:auto;top:62px;left:14px;width:135px;font-size:11px;padding:8px}body.public-game #drive-hud{top:62px;right:14px;width:155px}#mouse-start{display:none!important}#game-bar{top:max(12px,env(safe-area-inset-top))}#game-settings{max-height:75dvh}}
