:root{--bg:#090b0c;--surface:#121516;--surface2:#1a1e20;--line:#34393b;--white:#f5f5f0;--muted:#90999c;--accent:#f46b51;--amber:#ffda70;--font:Inter,Arial,Helvetica,sans-serif;--heavy:Impact,'Arial Narrow',Arial,sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--white);font-family:var(--font);-webkit-font-smoothing:antialiased}body{overflow-x:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}.hidden{display:none!important}p,h1,h2,h3{margin:0}.masthead{height:75px;border-bottom:1px solid #2a2d30;padding:0 max(30px,4.5vw);display:flex;align-items:center;justify-content:space-between;gap:22px;background:#090b0c}.wordmark{display:flex;flex-direction:column;gap:0;letter-spacing:-.07em;flex-shrink:0}.wordmark b{font:900 28px/.88 var(--heavy);letter-spacing:-.01em}.wordmark span{font-size:8px;letter-spacing:.3em;margin-top:5px;text-align:center;font-weight:800}.head-centre{color:#899092;letter-spacing:.24em;font-size:10px;font-weight:900}.head-centre i{color:var(--accent);font-style:normal}.headlinks{display:flex;align-items:center;gap:25px}.headlinks a,.linkbutton{font-size:11px;font-weight:900;letter-spacing:.08em;border:0;background:none;color:var(--white);padding:0;text-align:left}.headlinks a:hover,.linkbutton:hover,.site-footer a:hover{color:var(--accent)}.shell{width:min(1400px,100%);margin:0 auto;min-height:calc(100dvh - 75px);display:grid;grid-template-columns:minmax(0,1fr) minmax(400px,500px);gap:clamp(28px,6vw,90px);padding:clamp(28px,5.2vw,74px) clamp(22px,5vw,64px) 54px;align-items:start}.hero{padding-top:22px;min-width:0}.topline,.eyebrow{letter-spacing:.2em;font-size:10px;font-weight:900;color:var(--accent)}.red-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px #ef5b48;margin-right:8px}.hero h1{font:900 clamp(70px,8.5vw,145px)/.84 var(--heavy);letter-spacing:-.015em;margin:30px 0 24px}.hero h1 em{display:block;color:var(--accent);font-style:normal}.hero-sub{font-size:clamp(15px,1.6vw,20px);color:#c1c5c3;line-height:1.45}.hero-tags{display:flex;flex-wrap:wrap;gap:9px;margin:25px 0 16px}.hero-tags span{border:1px solid #363b3c;padding:10px 12px;font-size:9px;letter-spacing:.12em;font-weight:900;color:#cbd1d1}.promo-art{position:relative;margin-top:36px;max-width:630px;height:260px;border-radius:18px;overflow:hidden;background:radial-gradient(ellipse at 65% 40%,#3f3a3b 0,#232528 36%,#151719 74%),repeating-linear-gradient(0deg,transparent 0 30px,#fff2 31px);border:1px solid #3e4141}.promo-art:before{content:'';position:absolute;left:-10%;bottom:35px;width:125%;height:38px;background:#080c0ed6;transform:rotate(-10deg);box-shadow:0 2px 30px #000}.promo-lights{position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 53px,#ffffff08 54px);mask-image:linear-gradient(90deg,transparent,#000)}.hero-car{position:absolute;left:5%;top:10%;width:92%;height:95%;filter:drop-shadow(17px 21px 0 #0009);transform:rotate(-3deg)}.promo-number,.promo-caption{position:absolute;bottom:13px;font:900 11px var(--font);letter-spacing:.14em}.promo-number{left:17px;color:var(--accent)}.promo-caption{right:17px;color:#d5d9d9}.site-footer{margin-top:34px;display:flex;flex-wrap:wrap;gap:25px}.site-footer a{font-weight:850;font-size:10px;letter-spacing:.13em;color:#9ea5a6}.dashboard{border:1px solid #383e3f;border-radius:21px;background:#15191a;overflow:hidden;box-shadow:0 28px 95px #0008}.dashboard-head{display:flex;align-items:center;justify-content:space-between;padding:23px 25px 20px;gap:14px}.dashboard-head h2{font:900 34px/1 var(--heavy);letter-spacing:.025em;margin-top:7px}.small-btn{background:#252b2d;color:#e8eded;border:1px solid #475051;border-radius:8px;padding:11px 12px;font-size:10px;letter-spacing:.07em;font-weight:850}.tabs{display:grid;grid-template-columns:repeat(3,1fr);background:#0e1112;border-block:1px solid #313739}.tabs button{height:54px;background:transparent;color:#838d8e;font-size:11px;font-weight:900;letter-spacing:.11em;border:0;border-bottom:3px solid transparent}.tabs button.active{border-bottom-color:var(--accent);color:var(--white);background:#242629}.pane{padding:23px 25px 24px}.mini-section{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;font-weight:900;letter-spacing:.12em}.mini-section .fine,.mini-section small{color:#919b9c;font-size:10px;font-weight:750;letter-spacing:.045em}.cars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 22px}.car-option{padding:5px 6px 11px;background:#1d2425;color:#d8dcda;border:1px solid #424c4d;border-radius:11px;display:flex;flex-direction:column;align-items:center;min-width:0}.car-option.active{color:var(--white);border:2px solid var(--accent);padding:4px 5px 10px;background:#33302d}.car-option .car-tile{height:55px;width:100%;display:grid;place-items:center;color:#e6e9e3}.car-tile svg{width:96%;max-width:120px;overflow:visible}.car-option strong{font:900 25px/1 var(--heavy)}.car-option small{font-size:9px;color:#a5b0b1;letter-spacing:.07em;margin-top:5px}.between{margin-top:8px}.colours{display:flex;gap:12px;margin:15px 0 23px;align-items:center;flex-wrap:wrap}.swatch{width:35px;height:35px;background:var(--colour);border:4px solid #181c1d;border-radius:50%;box-shadow:0 0 0 1px #687174;display:grid;place-items:center;color:black;font-size:16px}.swatch.active{box-shadow:0 0 0 2px var(--white)}.swatch.locked{filter:grayscale(.82);opacity:.48}.swatch.locked:after{content:'🔒';font-size:13px;position:absolute;filter:grayscale(0)}.garage-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:20px}.garage-stats span{background:#0d1011;border:1px solid #383f40;border-radius:10px;padding:12px 14px}.garage-stats small{display:block;color:#929c9e;font-size:9px;font-weight:900;letter-spacing:.08em;white-space:nowrap}.garage-stats b{font:900 25px/1.1 var(--heavy);display:block;margin-top:8px}.main-btn,.outline-btn{border:0;border-radius:10px;min-height:56px;width:100%;display:flex;justify-content:space-between;align-items:center;padding:12px 19px;font:900 23px var(--heavy);letter-spacing:.03em}.main-btn{background:var(--accent);color:#0d0e0e}.main-btn:hover{background:#ff8b71}.main-btn span{font:900 30px var(--heavy)}.outline-btn{background:transparent;color:var(--white);border:1px solid #525c5f;justify-content:center;margin-top:10px;font-size:19px}.outline-btn:hover{border-color:var(--white)}.tiny-foot{font-size:10px;color:#869092;text-align:center;margin-top:14px;line-height:1.5}.dashboard-bottom{padding:15px 25px;background:#101415;border-top:1px solid #33393b;display:flex;align-items:center;justify-content:space-between;gap:15px}.dashboard-bottom span{font-size:9px;color:#818b8d;font-weight:900;letter-spacing:.055em}.dashboard-bottom button{font-size:10px;color:#e0e4e1}.career-top{display:flex;align-items:center;gap:15px}.level-orb{display:grid;place-items:center;background:var(--accent);color:#141515;border-radius:15px;width:72px;height:72px;font:900 48px var(--heavy)}.career-level{flex:1}.career-level strong{font:900 21px var(--heavy);display:block}.career-level span{font-size:11px;color:#99a4a3;display:block;margin:8px 0}.xpbar{height:7px;background:#32393a;border-radius:8px;overflow:hidden}.xpbar i{display:block;height:100%;background:var(--accent);width:0;transition:width .3s}.career-info{font-size:12px;color:#b3bbba;line-height:1.4;margin:16px 0}.mission-list{display:grid;gap:8px;max-height:245px;overflow:auto;padding-right:2px;margin-bottom:15px}.mission{background:#1b2122;border:1px solid #42494a;color:var(--white);border-radius:10px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:10px}.mission.selected{border-color:var(--accent);background:#302c2b}.mission.locked{opacity:.45}.mission .number{color:var(--accent);font:900 20px var(--heavy);min-width:28px}.mission strong{display:block;font-size:12px;letter-spacing:.025em}.mission small{display:block;color:#a0aaab;margin-top:3px;font-size:11px}.mission .m-status{font-size:11px;font-weight:900;white-space:nowrap}.leader-head h3{font:900 38px var(--heavy);margin:10px 0}.leader-head p{font-size:13px;color:#bec6c6;line-height:1.5}.rank-list{margin:20px 0;background:#0e1213;border-radius:12px;border:1px solid #343b3d;min-height:170px;overflow:hidden}.rank-row{display:flex;justify-content:space-between;gap:15px;padding:14px 16px;border-bottom:1px solid #303637;font-size:13px;font-weight:800}.rank-row b{color:var(--accent)}.empty-state{padding:50px 17px;text-align:center;color:#93a0a0;font-size:13px}.leader-note{color:#9ea8a8;font-size:12px;line-height:1.55;margin-bottom:18px}.game{position:fixed;inset:0;background:#0a0d0f;overflow:hidden;z-index:10;user-select:none;-webkit-user-select:none;touch-action:none}.game canvas{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none}.game-head{position:absolute;top:0;left:0;right:0;z-index:2;display:flex;justify-content:space-between;gap:10px;padding:calc(15px + env(safe-area-inset-top)) 18px 0;pointer-events:none}.hud{display:flex;gap:7px}.hud>div{background:#0a1012d9;backdrop-filter:blur(10px);border:1px solid #75808277;border-radius:10px;padding:10px 13px;min-width:86px}.hud small{color:#a8b6b7;display:block;font-size:9px;font-weight:900;letter-spacing:.11em}.hud strong{display:block;font:900 33px/1.1 var(--heavy)}.hud>div:first-child strong{color:var(--accent)}.hud-actions{display:flex;gap:8px;pointer-events:auto}.hud-actions button{width:53px;height:53px;border:1px solid #78868977;background:#10171bd9;color:white;border-radius:11px;font-size:25px}.combo-label{position:absolute;left:20px;top:109px;text-shadow:0 2px 7px #000b;visibility:hidden;z-index:2}.combo-label.visible{visibility:visible}.combo-label strong{font:900 52px/.95 var(--heavy);color:var(--accent)}.combo-label span{font-size:11px;font-weight:900;letter-spacing:.15em;margin-left:9px}.game-toast{position:absolute;top:24%;left:50%;transform:translateX(-50%);z-index:3;opacity:0;color:var(--amber);font:900 clamp(28px,8vw,66px) var(--heavy);text-shadow:0 5px 15px #000b;pointer-events:none;text-align:center;white-space:nowrap;transition:opacity .17s}.game-toast.show{opacity:1}.game-bottom{position:absolute;bottom:0;left:0;right:0;z-index:2;display:flex;justify-content:space-between;align-items:end;gap:12px;padding:14px max(15px,env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(15px,env(safe-area-inset-left));pointer-events:none}.steer-controls{display:flex;gap:15px;pointer-events:auto}.drive-button{touch-action:none;-webkit-user-select:none;user-select:none;width:90px;height:90px;background:#11191bdf;color:white;border:2px solid #b0bcbdc0;border-radius:19px;box-shadow:0 9px 24px #0008;font:900 41px var(--heavy);pointer-events:auto}.drive-button.pressed{background:var(--accent);color:#111;transform:scale(.96)}.drive-button.brake{background:var(--accent);color:#111;font-size:21px;border-color:#ffb5a3;width:110px}.game-mode{font-size:11px;color:#dae0e0;font-weight:900;letter-spacing:.17em;margin-bottom:13px;text-shadow:0 2px 8px black}.countdown{position:absolute;inset:0;display:grid;place-items:center;font:900 min(32vw,270px) var(--heavy);z-index:5;background:#070b0e65;text-shadow:0 0 30px var(--accent);pointer-events:none}.overlay{position:absolute;inset:0;background:#080c0de9;backdrop-filter:blur(8px);z-index:7;display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto;touch-action:pan-y}.modal-content{max-width:470px;width:100%;background:#191d1f;border:1px solid #4e585a;padding:35px;border-radius:19px;text-align:center;box-shadow:0 30px 100px #0009}.modal-content h2{font:900 clamp(50px,11vw,78px)/1 var(--heavy);margin:14px 0 22px}.modal-content .main-btn{margin-top:14px}.result-score{display:block;font:900 clamp(62px,12vw,110px)/1 var(--heavy);color:var(--accent);margin:15px 0}.result-stats{display:flex;justify-content:space-around;gap:10px;font-size:10px;color:#abb4b5;font-weight:900;letter-spacing:.07em}.result-stats b{color:white;font-size:17px;display:block;margin-top:6px}.result-xp{font:900 21px var(--heavy);color:#f2d57e;margin-top:18px}.result-mission{font-size:13px;color:#c5cecc;line-height:1.45;margin-top:10px}.result-bottom{display:flex;justify-content:space-between;gap:15px;margin-top:20px}.result-bottom button{font-size:11px}.sheet{position:fixed;inset:0;z-index:25;background:#000c;display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto}.sheet-box{width:min(465px,100%);max-height:min(94dvh,850px);overflow:auto;position:relative;background:#161a1b;border:1px solid #596163;border-radius:18px;padding:30px;box-shadow:0 35px 110px #000b}.close-sheet{position:absolute;right:16px;top:12px;border:0;background:none;color:white;font-size:33px}.sheet-box h2{font:900 40px var(--heavy);margin:15px 0 22px}.sheet-box label:not(.import-label){display:block;font-size:10px;letter-spacing:.15em;font-weight:900;margin:18px 0 8px}.sheet-box input,.sheet-box select,.sheet-box textarea{display:block;width:100%;padding:14px 13px;border:1px solid #586164;background:#0c1112;color:#fff;border-radius:9px;font-size:15px}.sheet-box .outline-btn{min-height:48px;font-size:17px}.sheet-box .main-btn{margin-top:13px}.input-message,.sheet-body{margin-top:11px;font-size:12px;line-height:1.5;color:#aeb8b7}.rule{height:1px;background:#3a4142;margin:24px 0}.mini-link-row{display:flex;gap:18px;margin-top:22px;justify-content:space-between}.mini-link-row .linkbutton{font-size:11px}.brand-sticker{background:#ecece9;border-radius:10px;display:flex;align-items:center;justify-content:center;min-height:158px;margin:18px 0}.brand-sticker img{max-width:80%;max-height:180px;object-fit:contain}.brand-sticker b{font:900 45px/.9 var(--heavy);color:#161616;text-align:center}.brand-sticker b small{font:900 16px var(--font)}.merch-box p{color:#b9c2c2;font-size:14px}.merch-link{margin-top:20px}.import-label{cursor:pointer}
@media(max-width:1070px){.shell{grid-template-columns:minmax(0,1fr) minmax(350px,480px);gap:30px;padding:34px 27px}.hero h1{font-size:clamp(63px,8.4vw,108px)}.promo-art{height:220px}.head-centre{display:none}}
@media(max-width:740px){.masthead{height:62px;padding:0 18px}.wordmark b{font-size:23px}.wordmark span{font-size:7px}.headlinks{gap:13px}.headlinks a,.headlinks button{font-size:10px}.headlinks #openFeedback{display:none}.shell{display:flex;flex-direction:column;gap:15px;min-height:0;padding:20px 14px 28px}.hero{width:100%;padding:0 7px}.hero h1{margin:11px 0 8px;font-size:clamp(50px,11vw,88px);line-height:.83}.hero h1 em{display:inline}.hero-sub{font-size:13px}.topline{font-size:9px}.hero-tags{display:none}.promo-art,.site-footer{display:none}.dashboard{width:100%;border-radius:15px}.dashboard-head{padding:15px 18px 13px}.dashboard-head h2{font-size:26px;margin-top:4px}.small-btn{font-size:9px;padding:10px}.tabs button{height:47px}.pane{padding:18px}.cars{margin:12px 0 17px}.car-option .car-tile{height:47px}.car-option strong{font-size:23px}.colours{margin:12px 0 18px}.garage-stats{margin-bottom:14px}.garage-stats span{padding:10px}.garage-stats b{font-size:23px}.garage-stats small{font-size:8px}.main-btn{min-height:55px}.dashboard-bottom{padding:13px 18px}.dashboard-bottom span{font-size:8px}.dashboard-bottom button{font-size:9px}.game-head{padding:calc(12px + env(safe-area-inset-top)) 11px 0}.hud>div{padding:8px 9px;min-width:69px}.hud strong{font-size:29px}.hud small{font-size:8px}.hud-actions button{width:46px;height:46px}.combo-label{top:83px;left:12px}.combo-label strong{font-size:43px}.game-bottom{padding:12px max(10px,env(safe-area-inset-right)) calc(19px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));align-items:end}.steer-controls{gap:12px}.drive-button{width:100px;height:104px;border-radius:19px;font-size:43px}.drive-button.brake{width:101px;height:104px;font-size:19px}.game-mode{display:none}.modal-content{padding:23px}.result-score{font-size:64px}.sheet-box{padding:23px}}
@media(max-width:380px){.headlinks a{font-size:9px}.hero h1{font-size:47px}.swatch{width:31px;height:31px}.colours{gap:11px}.drive-button{width:87px;height:96px}.drive-button.brake{width:88px;height:96px}.hud .hud-small{display:none}.game-bottom{gap:3px}}
@media(max-height:620px) and (orientation:landscape){.masthead{height:54px}.shell{padding:17px}.game-bottom{padding-bottom:10px}.drive-button,.drive-button.brake{height:80px;width:92px}.modal-content{padding:18px}.result-content h2{font-size:45px;margin:5px}.result-score{font-size:57px;margin:5px}.result-xp{margin-top:7px}}

.official-logo{position:absolute;right:14px;top:13px;width:146px;height:78px;border-radius:7px;display:grid;place-items:center;background:#f5f5ef;padding:7px;box-shadow:0 3px 18px #0005;transform:rotate(5deg)}.official-logo img{width:100%;height:100%;object-fit:contain}.mobile-social{display:none}@media(max-width:740px){.mobile-social{display:flex;justify-content:space-around;gap:13px;padding:14px 18px;border-top:1px solid #303536}.mobile-social a{font-size:10px;letter-spacing:.1em;font-weight:900;color:#bec3c3}}

.sheet-box input[hidden]{display:none!important}.import-label{display:inline-flex;align-items:center}
