html,body{color:#e8edf3;-webkit-user-select:none;user-select:none;touch-action:none;background:#0d1117;height:100%;margin:0;font-family:Segoe UI,Roboto,system-ui,sans-serif;overflow:hidden}#app canvas{width:100%;height:100%;display:block}#hud{pointer-events:none;position:fixed;inset:0}#hud .top{flex-direction:column;align-items:center;gap:6px;min-width:360px;display:flex;position:absolute;top:14px;left:50%;transform:translate(-50%)}#hud .time{letter-spacing:.5px;text-shadow:0 1px 4px #000000b3;font-variant-numeric:tabular-nums;font-size:26px;font-weight:600}#hud .time .best{color:#ffd54a;margin-left:12px;font-size:14px;font-weight:400}#hud .progress{width:360px}#hud .bar{background:#ffffff2e;border-radius:3px;height:6px;overflow:hidden;box-shadow:0 1px 3px #00000080}#hud #h-bar{background:linear-gradient(90deg,#2ecc71,#ffd54a);width:0;height:100%;transition:width .2s linear}#hud .labels{letter-spacing:1px;color:#ffffffb3;justify-content:space-between;margin-top:3px;font-size:10px;display:flex}#hud .speedbox{text-align:right;text-shadow:0 2px 6px #000c;position:absolute;bottom:22px;right:24px}#hud #h-speed{font-variant-numeric:tabular-nums;font-size:54px;font-weight:700;line-height:1}#hud .unit{letter-spacing:2px;color:#ffffffbf;margin-top:2px;font-size:12px}#hud .rpm{background:#ffffff2e;border-radius:3px;width:160px;height:5px;margin:8px 0 0 auto;overflow:hidden}#hud #h-rpm{background:linear-gradient(90deg,#2ecc71 0%,#ffd54a 60%,#e74c3c 100%);width:0;height:100%}#hud .countdown{opacity:0;text-shadow:0 4px 24px #0009;color:#ffd54a;font-size:110px;font-weight:800;transition:opacity .15s,transform .25s;position:absolute;top:36%;left:50%;transform:translate(-50%,-50%)scale(.8)}#hud .countdown.show{opacity:1;transform:translate(-50%,-50%)scale(1)}#hud .msg{text-align:center;opacity:0;text-shadow:0 3px 16px #000000b3;font-size:34px;line-height:1.25;transition:opacity .4s;position:absolute;top:34%;left:50%;transform:translate(-50%,-50%)}#hud .msg.show{opacity:1}#hud .msg b{letter-spacing:6px;color:#ffd54a;font-size:64px}#hud .msg em{color:#2ecc71;font-style:normal}#hud .msg small{color:#ffffffb3;font-size:14px}#hud .map{background:#0a0e1473;border-radius:50%;width:150px;height:150px;position:absolute;bottom:18px;left:18px;box-shadow:0 2px 10px #0006}#hud .hint{color:#ffffffb3;background:#0a0e1466;border-radius:6px;padding:6px 10px;font-size:12px;transition:opacity 1s;position:absolute;top:14px;left:18px}#hud .hint.fade{opacity:0}#hud .mute{pointer-events:auto;color:#fff;cursor:pointer;background:#0a0e1466;border:0;border-radius:6px;padding:4px 8px;font-size:18px;position:absolute;top:14px;right:18px}#hud .touch{display:none}@media (pointer:coarse){#hud .touch{display:block}#hud .touch .l{gap:12px;display:flex;position:absolute;bottom:180px;left:18px}#hud .touch .r{gap:12px;display:flex;position:absolute;bottom:100px;right:18px}#hud .touch button{pointer-events:auto;color:#fff;background:#ffffff2e;border:0;border-radius:50%;width:64px;height:64px;font-size:22px}#hud .hint{display:none}}#boot{z-index:10;background:radial-gradient(#1b2735 0%,#090a0f 100%);flex-direction:column;justify-content:center;align-items:center;transition:opacity .5s;display:flex;position:fixed;inset:0}#boot.hide{opacity:0;pointer-events:none}#boot .boot-title{letter-spacing:8px;color:#ffd54a;text-shadow:0 0 30px #ffd54a66;font-size:42px;font-weight:800}#boot .boot-sub{letter-spacing:2px;color:#ffffffb3;margin-top:10px;font-size:14px}#boot .boot-bar{background:#ffffff26;border-radius:2px;width:260px;height:4px;margin-top:18px;overflow:hidden}#boot #boot-fill{background:#ffd54a;width:5%;height:100%;transition:width .3s}#boot .boot-note{color:#ffffff80;margin-top:12px;font-size:12px}
