.screen{padding:max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));color:#fff;flex-direction:column;justify-content:center;align-items:center;gap:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.screen--menu{background:linear-gradient(#080a1273,#0000 35% 55%,#080a128c);justify-content:space-between}.screen--dim{background:#080a12a6;justify-content:safe center}.title{text-align:center;text-shadow:0 4px 16px #00000080;font-size:clamp(2rem,8vw,3.8rem);font-style:italic;font-weight:900;line-height:1}.title span{color:#ffd23f;white-space:nowrap}.panel{text-align:center;background:#10141fe0;border-radius:20px;flex-direction:column;align-items:stretch;gap:12px;width:min(340px,100%);padding:20px;display:flex;box-shadow:0 12px 40px #00000059}.record strong{color:#ffd23f;font-size:1.4rem}.paints{border:0;justify-content:center;gap:14px;display:flex}.paints legend{opacity:.75;width:100%;margin-bottom:8px;font-size:.85rem}.paint{cursor:pointer;border:3px solid #ffffff40;border-radius:50%;width:44px;height:44px}.paint[aria-pressed=true]{border-color:#fff;box-shadow:0 0 0 3px #ffd23f}.button{min-height:48px;font:inherit;color:#fff;cursor:pointer;background:#ffffff24;border:0;border-radius:999px;padding:12px 24px;font-weight:700}.button--primary{color:#151a28;background:#ffd23f;font-size:1.15rem}.button:focus-visible,.paint:focus-visible,.hud__button:focus-visible{outline-offset:2px;outline:3px solid #7fd4ff}.hint{opacity:.7;font-size:.8rem;line-height:1.6}.new-record{color:#ffd23f;font-weight:800}.final-score{font-size:3rem;font-weight:900;line-height:1}.summary{grid-template-columns:1fr auto;gap:6px 16px;margin-bottom:4px;display:grid}.summary dt{text-align:left;opacity:.7}.summary dd{text-align:right;font-weight:700}.hud{color:#fff;text-shadow:0 2px 6px #000000a6;pointer-events:none;position:fixed;inset:0}.hud__stat{top:max(12px, env(safe-area-inset-top));left:max(16px, env(safe-area-inset-left));flex-direction:column;display:flex;position:absolute}.hud__stat span,.hud__speed span{opacity:.85;font-size:.8rem;font-weight:700}.hud__stat strong{font-variant-numeric:tabular-nums;font-size:2rem}.hud__stat em{color:#ffd23f;font-weight:800}.hud__actions{top:max(12px, env(safe-area-inset-top));right:max(16px, env(safe-area-inset-right));gap:10px;display:flex;position:absolute}.hud__button{color:#fff;cursor:pointer;pointer-events:auto;background:#10141fa6;border:0;border-radius:14px;width:48px;height:48px;font-size:1rem}.hud__speed{top:max(72px, calc(env(safe-area-inset-top) + 60px));right:max(16px, env(safe-area-inset-right));text-align:right;position:absolute}.hud__speed strong{font-variant-numeric:tabular-nums;font-size:2.4rem;line-height:1;display:block}.hud__toast{color:#ffe14d;flex-direction:column;align-items:center;font-size:1.8rem;font-style:italic;font-weight:900;animation:1.2s ease-out forwards toast;display:flex;position:absolute;top:22%;left:0;right:0}.hud__toast small{color:#fff;font-size:1.1rem}@keyframes toast{0%{opacity:0;transform:scale(.7)}15%{opacity:1;transform:scale(1.1)}70%{opacity:1;transform:scale(1)}to{opacity:0;transform:translateY(-24px)}}@media (orientation:landscape){.screen--menu{padding-inline:max(4vw, env(safe-area-inset-left)) max(4vw, env(safe-area-inset-right));background:linear-gradient(90deg,#080a1273,#0000 35%);flex-direction:row;align-items:center}.screen--menu .title{text-align:left;align-self:flex-start;max-width:6em;font-size:clamp(1.6rem,5vw,3.8rem)}}@media (height<=500px){.panel{gap:8px;padding:14px}.hint{display:none}.final-score{font-size:2rem}.screen--dim .button{min-height:40px;padding-block:8px}}.touch{left:max(16px, env(safe-area-inset-left));right:max(16px, env(safe-area-inset-right));bottom:max(16px, env(safe-area-inset-bottom));pointer-events:none;justify-content:space-between;display:flex;position:fixed}.touch__pedal{width:78px;height:78px;font:inherit;color:#fff;touch-action:none;pointer-events:auto;background:#10141f80;border:2px solid #ffffff73;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;font-size:.72rem;font-weight:700;display:flex}.touch__pedal span{font-size:1.4rem}.touch__pedal--brake:active{background:#dc281ecc}.touch__pedal--accelerate:active{background:#28aa50cc}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{overscroll-behavior:none;background:#10141f;width:100%;height:100%;overflow:hidden}body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.game-root{position:fixed;inset:0}.game-root canvas{touch-action:none;outline:none;display:block}
