@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Barlow:wght@400;500;600;700&display=swap');
:root{font-family:Barlow,Arial,sans-serif;color:#fff;background:#111819;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden}#game{position:fixed;inset:0;width:100%;height:100%}header{position:fixed;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:25px 38px;z-index:5;background:linear-gradient(#081113b0,transparent)}a{color:inherit;text-decoration:none;font-size:14px;font-weight:700;letter-spacing:2px}a span{color:#a9b6b7}.top-actions{display:flex;gap:10px}button{font:600 14px Barlow,Arial;cursor:pointer;color:#fff;background:#102125b8;border:1px solid #ffffff38;padding:12px 18px;border-radius:3px;touch-action:none}button:hover{background:#304147}button:focus-visible,a:focus-visible{outline:3px solid #facc62;outline-offset:4px}#menu{position:absolute;top:50%;left:7%;transform:translateY(-45%);width:420px;max-width:87vw}body:has(#menu:not(.hidden)):before{content:'';position:fixed;inset:0;background:linear-gradient(90deg,#071016e8,#09161966 48%,transparent 80%);pointer-events:none}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;color:#d3e1db;display:flex;align-items:center;gap:9px}.eyebrow i{width:21px;height:3px;background:#f4bc45}h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(80px,10vw,142px);line-height:.79;font-weight:900;font-style:italic;letter-spacing:-3px;margin:25px 0 22px;position:relative}h1 em{color:#f4bc45;font-style:inherit}h1>span{font:500 19px Barlow;letter-spacing:0;position:absolute;top:4px;margin-left:15px;color:#f4bc45}.tag{font-size:18px;color:#e5ece7;margin:26px 0 30px}.track{display:flex;gap:18px;align-items:center;border-top:1px solid #ffffff35;border-bottom:1px solid #ffffff35;padding:18px 0;margin-bottom:22px}.track>span:first-child{font:700 30px 'Barlow Condensed';color:#f4bc45}.track b{letter-spacing:1px;font-size:16px}.track small{display:block;font-size:11px;letter-spacing:1px;color:#b8c5c0;margin-top:5px}.terrain{font-size:10px;border:1px solid #ffffff40;padding:5px;margin-left:auto}.primary{background:#f4bc45;color:#152022;width:100%;font-size:17px;letter-spacing:1px;font-weight:800;padding:18px 22px;text-align:left;border:0}.primary:hover{background:#ffcf70}.primary span{float:right}.instructions{font-size:13px;line-height:1.7;color:#aab7b6;margin-top:18px}footer{position:absolute;bottom:25px;left:38px;right:38px;display:flex;justify-content:space-between;font-size:11px;letter-spacing:2px;color:#bfcac7}footer i{color:#f4bc45;margin-left:8px}.hidden{display:none!important}.race-stats{position:absolute;left:35px;top:100px;display:flex;gap:38px;text-shadow:0 2px 10px #000}.race-stats label{display:block;letter-spacing:2px;font-size:12px;color:#e6e9e2}.race-stats strong{display:block;font:700 40px 'Barlow Condensed',Arial}.race-stats b{font-weight:700}.race-stats small{font-size:22px;color:#cdd5d3}.speed{position:absolute;right:38px;bottom:55px;text-align:right;text-shadow:0 3px 9px #000}.speed>strong{font:700 italic 92px 'Barlow Condensed';line-height:1}.speed>span{display:block;font-size:13px;letter-spacing:2px}.speed i{font-style:normal;color:#f4bc45;font-size:26px;margin-left:15px}.rev{width:170px;height:4px;background:#ffffff40;margin-top:12px}.rev i{display:block;margin:0;height:100%;background:#f4bc45;width:0}.map-wrap{position:absolute;bottom:50px;left:30px;background:#09161970;border:1px solid #ffffff20;padding:10px;border-radius:5px}.map-wrap>span{font-size:11px;letter-spacing:2px;display:block;color:#d6dedb}.map-wrap canvas{display:block;width:160px;height:130px}.keyhint{position:absolute;bottom:18px;text-align:center;width:100%;font-size:11px;color:#fff;letter-spacing:1px}.keyhint span{color:#c2ccca}#callout{position:absolute;top:25%;width:100%;text-align:center;font:800 italic 56px 'Barlow Condensed';text-shadow:0 3px 20px #000;color:#ffcc59;pointer-events:none}#overlay{position:fixed;inset:0;background:#071215bc;display:grid;place-items:center;backdrop-filter:blur(7px);z-index:10}.panel{width:390px;max-width:90vw;padding:35px;background:#102226;border:1px solid #ffffff30}.panel h2{font:800 italic 62px 'Barlow Condensed';margin:18px 0}.panel p{color:#c9d5d1;line-height:1.7}.panel button{margin-top:12px;width:100%}#touch{display:none;position:absolute;bottom:20px;left:18px;right:18px;justify-content:space-between;gap:12px}#touch>div{display:flex;gap:8px}#touch button{height:64px;min-width:58px;user-select:none;-webkit-user-select:none;background:#0c2028a6;font-size:15px;font-weight:800}#touch .gas{background:#f4bc45de;color:#102022}#touch button.active{background:#fff;color:#172523}#error{position:absolute;bottom:20px;left:20px;right:20px;background:#761d1d;padding:22px;z-index:20}@media(pointer:coarse){#touch{display:flex}.keyhint{display:none}.speed{bottom:110px}.map-wrap{bottom:110px}}@media(max-width:650px){header{padding:18px}header a{font-size:11px;letter-spacing:1px}a span{display:none}.top-actions button{padding:9px;font-size:11px}#menu{left:7%;transform:translateY(-43%)}h1{font-size:100px}.tag{font-size:16px;margin:20px 0}.track{padding:12px 0}.instructions{font-size:12px}footer{left:20px;right:20px;bottom:14px;font-size:9px;letter-spacing:1px}footer span:last-child{display:none}.race-stats{left:20px;top:78px;gap:24px}.race-stats strong{font-size:32px}.speed{right:20px}.speed>strong{font-size:68px}.map-wrap{left:18px;padding:6px}.map-wrap canvas{width:112px;height:90px}.rev{width:120px}#touch button{min-width:47px;padding:10px}#callout{font-size:44px}}@media(max-height:520px){#menu{left:6%;width:370px;top:54%}h1{font-size:67px;margin:14px 0}.tag{margin:12px 0}.track{padding:10px 0;margin-bottom:10px}.instructions{margin-top:10px;font-size:11px}.eyebrow{font-size:10px}footer{display:none}.primary{padding:12px}header{padding:12px 22px}.race-stats{top:62px}.speed>strong{font-size:60px}.map-wrap canvas{width:95px;height:76px}}

#graphics{min-width:142px}.top-actions{align-items:center}@media(max-width:650px){#graphics{min-width:0;max-width:88px;font-size:10px;padding:9px 6px}.top-actions{gap:5px}}
body:has(#menu:not(.hidden)):before{z-index:1}#menu,footer{z-index:2}
@media(max-width:650px){#touch{display:flex}.keyhint{display:none}.speed{bottom:110px}.map-wrap{bottom:110px}}
