@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Barlow:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#0b1015;--panel:#12191f;--panel-2:#192229;--line:#28343b;--muted:#8d9ca5;--text:#eef5f4;--mint:#a2ffc8;--orange:#ff8557;--font:'Barlow',Arial,sans-serif;--display:'Barlow Condensed','Arial Narrow',Impact,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.45 var(--font);-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid var(--mint);outline-offset:4px}button{color:inherit}button,dialog{border:0}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}a{color:inherit;text-decoration:none}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app-shell{max-width:1392px;margin:auto;padding:0 40px}.topbar{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;gap:13px;align-items:center;font-family:var(--display);font-size:29px;font-weight:800;line-height:.94;letter-spacing:.015em}.brand-run{display:block;font-size:21px;letter-spacing:.235em;margin-top:5px}.brand-mark{width:46px;height:46px;background:var(--mint);color:var(--bg);display:grid;place-items:center;font-family:Arial,sans-serif;font-size:32px;font-weight:900;transform:skew(-8deg);position:relative}.brand-mark>span{position:absolute;font-size:14px;right:2px;top:2px}.edition{margin-left:auto;font-size:12px;font-weight:600;letter-spacing:.16em;color:var(--muted)}.edition>span{margin:0 12px;color:#46535b}.header-actions{display:flex;gap:10px;margin-left:26px}.icon-button,.help-button{display:grid;place-items:center;width:38px;height:38px;background:transparent;border:1px solid var(--line);border-radius:50%;color:#bcc8ce}.help-button{font-weight:700;font-size:18px}.icon-button:hover,.help-button:hover{border-color:var(--mint);color:var(--mint)}.main-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:30px;padding-top:26px}.run-bar{display:flex;justify-content:space-between;align-items:center;height:44px;gap:16px;margin-bottom:14px}.run-bar>div{display:flex;gap:22px;align-items:center}.eyebrow{display:block;font-size:12px;letter-spacing:.15em;font-weight:700;color:var(--muted)}.run-bar .eyebrow{color:var(--mint);white-space:nowrap}#district-name{font-size:12px;letter-spacing:.1em;font-weight:600}.muted{color:#64717a;margin:0 5px}.pause-button{display:flex;align-items:center;gap:7px;background:transparent;font-size:14px;padding:5px 0 5px 10px;color:#b9c5cc}.pause-button .icon{width:15px;height:15px}.pause-button:disabled{opacity:.28}.game-stage{position:relative;height:clamp(480px,calc(100dvh - 260px),720px);min-height:440px;background:#141e23;overflow:hidden;border:1px solid #364249;border-radius:5px;isolation:isolate}canvas{width:100%;height:100%;display:block;touch-action:none;object-fit:cover}.game-hud{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;gap:16px;padding:23px 26px 38px;background:linear-gradient(#091319ee,#09131970,transparent);pointer-events:none}.hud-label{display:block;color:#a6b8bf;font-size:12px;font-weight:700;letter-spacing:.14em}.game-hud strong{font-family:var(--display);font-size:34px;line-height:1.2;font-weight:700;font-variant-numeric:tabular-nums}.game-hud small{font-family:var(--font);font-size:12px;font-weight:500;color:#a0b1b9}.run-money{text-align:right}.run-money strong{color:var(--mint)}.game-bottom-hud{position:absolute;left:0;right:0;bottom:0;padding:34px 26px 20px;display:flex;gap:24px;align-items:end;background:linear-gradient(transparent,#071218eb);pointer-events:none}.lives{display:flex;gap:4px;margin-top:8px}.life{width:13px;height:20px;border:1px solid #a2ffc86b;background:var(--mint);transform:skew(-13deg)}.life.empty{background:#35414a;border-color:#45515a}.nitro-gauge{width:130px;margin-left:9px}.nitro-gauge>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}#nitro-value{font-size:12px;color:#a6b8bf}.gauge-track{height:7px;background:#3c4a51;transform:skew(-13deg);overflow:hidden}#nitro-fill{height:100%;background:#a2ffc8;width:100%;transition:width .1s linear}.speed-readout{margin-left:auto;display:flex;align-items:baseline;gap:6px}.speed-readout strong{font-family:var(--display);font-size:44px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}.speed-readout .hud-label{font-size:12px}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(110deg,#071116f5 0%,#071116de 43%,#07111670 100%);z-index:5;padding:34px}.overlay-inner{width:100%;max-width:425px}.start-kicker{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:.18em;color:#bbc8ca}.start-kicker>span{width:17px;height:3px;background:var(--mint)}h1,h2,h3,p{margin:0}h1{font-family:var(--display);font-size:clamp(72px,8.1vw,118px);font-weight:800;letter-spacing:-.025em;line-height:.88;margin:26px 0 22px}h1 em{font-style:normal;color:var(--mint)}.overlay p{font-size:16px;color:#afbec3;line-height:1.6;margin-bottom:28px}.primary-button{display:flex;align-items:center;justify-content:center;gap:11px;background:var(--mint);color:#0d241b;min-height:55px;border-radius:3px;padding:14px 23px;font-weight:800;transition:background .15s,box-shadow .15s;letter-spacing:.01em}.primary-button:hover{background:#c3ffdf;box-shadow:0 0 28px #a2ffc829}.primary-button>span{margin-left:auto;font-size:23px;font-weight:500}.start-overlay .primary-button{width:280px;justify-content:flex-start}.start-note{display:block;color:#98aab2;font-size:12px;margin-top:16px}.start-note>span{padding:0 7px;color:#677b86}.touch-note{display:none}.start-footer{position:absolute;bottom:24px;left:34px;right:34px;display:flex;justify-content:space-between;color:#7f939e;letter-spacing:.12em;font-size:12px}.compact{text-align:center;max-width:355px}.compact h2{font-family:var(--display);font-size:64px;letter-spacing:-.01em;line-height:.94;margin:18px 0;color:var(--text)}.compact p{font-size:15px;margin-bottom:22px}.compact .primary-button{width:100%}.secondary-button{padding:12px 18px;margin-top:8px;background:transparent;color:#b8cacd;width:100%;font-weight:600;font-size:14px}.secondary-button:hover{color:var(--mint)}.result-kicker{font-size:12px;letter-spacing:.15em;font-weight:700;color:var(--orange)}.result-stats{display:grid;grid-template-columns:1fr 1fr;border-block:1px solid #364950;padding:16px 0;gap:14px;text-align:left;margin-bottom:23px}.result-stats span{font-size:12px;color:#9bb0b8;letter-spacing:.12em;display:block}.result-stats strong{font-size:25px;font-family:var(--display);font-weight:600}.result-stats>div:nth-child(2) strong{color:var(--mint)}.toast{position:absolute;left:50%;top:100px;transform:translate(-50%,-8px);color:var(--bg);background:var(--mint);border-radius:2px;font-size:14px;font-weight:800;padding:8px 18px;white-space:nowrap;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;z-index:4}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.danger{background:var(--orange)}.touch-controls{display:flex;gap:10px;padding:13px 0 0}.touch-controls button{touch-action:none;user-select:none;-webkit-user-select:none;min-height:50px;border-radius:3px;border:1px solid #35454d;display:flex;align-items:center;justify-content:center;gap:11px}.steer-button{flex:1;background:#172128;font-size:12px;font-weight:700;letter-spacing:.08em;color:#b7c7ce}.steer-button:hover{background:#25333d}.right-arrow{transform:rotate(180deg)}.boost-button{flex:1.65;background:#223d32;border-color:#466e58!important;color:var(--mint);font-size:12px;font-weight:800;letter-spacing:.1em}.boost-button:hover,.boost-button.active{background:var(--mint);color:#092316}.boost-button:disabled,.steer-button:disabled{opacity:.45}.boost-button kbd{font-family:var(--font);font-size:12px;line-height:1;border:1px solid #a2ffc83b;border-radius:2px;padding:4px;letter-spacing:0}.under-track{display:flex;justify-content:space-between;gap:16px;margin-top:16px;color:#768991;font-size:12px;letter-spacing:.1em}.under-track>span:first-child{display:flex;align-items:center;gap:7px}.mint-square{width:5px;height:5px;background:var(--mint);opacity:.8}.sidebar{padding-top:10px}.section-top .eyebrow{font-size:12px}#garage-title{font-family:var(--display);font-size:34px;font-weight:700;line-height:1.2;display:flex;gap:16px;align-items:center;margin-top:7px}#garage-title>span{font-family:var(--font);font-size:29px;color:var(--mint)}.bank{display:flex;justify-content:space-between;align-items:center;background:#152b23;border:1px solid #2d5140;border-radius:4px;margin:22px 0 13px;padding:14px 17px}.bank>span{font-size:12px;font-weight:700;color:#a1b6ab;letter-spacing:.1em}.bank strong{font-family:var(--display);font-size:33px;line-height:1;font-weight:600;color:var(--mint);font-variant-numeric:tabular-nums}.garage-intro{font-size:14px;color:var(--muted);margin-bottom:21px}.upgrades{display:flex;flex-direction:column;gap:12px}.upgrade-card{border:1px solid var(--line);border-radius:4px;padding:15px;background:var(--panel);transition:border .2s}.upgrade-card.affordable{border-color:#476254}.upgrade-top{display:flex;gap:12px;align-items:center}.upgrade-icon{width:39px;height:39px;display:grid;place-items:center;background:#233229;border-radius:3px;color:#a2dfb9}.upgrade-card:nth-child(2) .upgrade-icon{color:#e6b07e;background:#352b24}.upgrade-card:nth-child(3) .upgrade-icon{color:#a6bbc8;background:#253039}.upgrade-title{font-size:15px;font-weight:700}.upgrade-description{font-size:12px;color:var(--muted);margin-top:2px}.upgrade-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.level-bars{display:flex;gap:4px}.level-bar{width:21px;height:4px;background:#37434a}.level-bar.filled{background:var(--mint)}.level-text{font-size:12px;letter-spacing:.05em;color:#81939d;display:block;margin-top:5px}.buy-button{border:1px solid #567162;color:var(--mint);background:#1c2a22;border-radius:3px;min-height:33px;min-width:93px;font-size:13px;font-weight:700;padding:6px 12px;white-space:nowrap}.buy-button:disabled{color:#829099;background:#202a31;border-color:#35414a}.buy-button:hover:not(:disabled){color:var(--bg);background:var(--mint)}.garage-feedback{min-height:20px;font-size:12px;color:var(--mint);margin:8px 0}.route-card{border-top:1px solid var(--line);padding-top:22px;margin-top:4px}.section-heading{display:flex;align-items:center;gap:9px}.section-heading .icon{width:16px;height:16px;color:#8ea4ad}.section-heading h3{font-size:12px;letter-spacing:.1em;font-weight:700}.section-heading>span{font-size:12px;color:#83959d;margin-left:auto}.route{padding-top:21px}.route-stop{display:flex;align-items:center;gap:13px;padding-bottom:20px;position:relative}.route-stop:not(:last-child):after{content:'';position:absolute;left:13px;top:28px;bottom:0;width:1px;background:#35434b}.route-stop>span{width:28px;height:28px;display:grid;place-items:center;border:1px solid #3b4c55;background:#142027;font-size:12px;font-weight:700;flex-shrink:0;border-radius:50%;color:#8b9da6}.route-stop strong{font-size:13px;font-weight:600;display:block;color:#9bacb5}.route-stop small{display:block;font-size:12px;color:#6f858f;margin-top:2px}.route-stop>b{font-size:12px;color:#94d8b1;letter-spacing:.06em;margin-left:auto}.route-stop.active>span{background:#a2ffc81a;border-color:#639c7b;color:var(--mint)}.route-stop.active strong{color:#e0f0e5}.route-stop.passed>span{background:var(--mint);color:var(--bg);border-color:var(--mint)}.route-progress{height:3px;background:#2b3941;margin-top:1px}.route-progress>div{height:100%;width:0;background:var(--mint);transition:width .15s linear}.records{display:grid;grid-template-columns:1fr 1fr;margin-top:23px;padding-top:20px;border-top:1px solid var(--line)}.records>div:last-child{padding-left:27px;border-left:1px solid var(--line)}.records>div>span{display:block;font-size:12px;color:#879ba5;letter-spacing:.1em;font-weight:600}.records strong{font-family:var(--display);font-size:30px;line-height:1.4;font-weight:600}.records small{font-size:18px;color:#72868f}.quick-guide{margin-top:21px;border-top:1px solid var(--line);padding-top:18px}.quick-guide>strong{font-size:12px;color:#a6b7bf;letter-spacing:.1em}.quick-guide p{display:flex;gap:8px;align-items:center;font-size:12px;color:#7e949e;margin-top:10px}.quick-guide .icon{width:14px;height:14px;color:#a1c7ad}.cash-icon{font-size:13px;color:var(--mint);width:14px;text-align:center}.footer{display:flex;justify-content:space-between;gap:20px;padding:27px 0 24px;margin-top:28px;border-top:1px solid var(--line);font-size:12px;letter-spacing:.08em;color:#617883}.footer span>span{padding:0 7px}.footer button{background:transparent;padding:0;font-size:12px;color:#91a6af}.footer button:hover{color:var(--mint)}dialog{background:#121f27;border:1px solid #4b616b;border-radius:8px;max-width:510px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);padding:25px;color:var(--text);overflow:auto}dialog::backdrop{background:#02080ce8;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-top button{font-size:24px}dialog h2{font-family:var(--display);font-size:44px;line-height:1;margin:18px 0}dialog p{color:#b1c2cb;font-size:15px;line-height:1.6}.controls-list{margin:23px 0;display:grid;gap:17px}.controls-list>div{display:grid;grid-template-columns:70px 1fr;gap:15px}.controls-list dt{font-weight:700;color:var(--mint)}.controls-list dd{margin:0;font-size:14px}.controls-list small{color:#8da5b2;font-size:12px}.dialog-small{font-size:12px!important;margin:14px 0 23px}.noscript{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:var(--bg);padding:30px}.storage-unavailable .under-track>span:first-child{color:var(--orange)}
@media(min-width:1450px){.app-shell{max-width:1460px}.main-grid{grid-template-columns:minmax(0,1fr) 325px;gap:40px}.game-stage{height:740px}.overlay-inner{max-width:470px}h1{font-size:130px}}
@media(max-width:1100px){.app-shell{padding:0 24px}.main-grid{grid-template-columns:minmax(0,1fr) 280px;gap:22px}.game-stage{height:620px}.overlay{padding:28px}.overlay-inner{max-width:360px}h1{font-size:86px}.edition{font-size:12px;letter-spacing:.1em}.run-bar>div{gap:14px}#district-name{font-size:12px}.sidebar{padding-top:11px}.under-track>span:last-child{display:none}.nitro-gauge{width:100px;margin-left:0}.game-bottom-hud{gap:16px;padding:30px 20px 18px}.game-hud{padding:20px 20px 35px}.speed-readout strong{font-size:36px}.touch-controls button{gap:8px}.boost-button kbd{display:none}}
@media(max-width:820px){.app-shell{max-width:650px;padding:0 20px}.topbar{height:78px}.edition{display:none}.header-actions{margin-left:auto}.brand{font-size:24px}.brand-run{font-size:17px}.brand-mark{width:39px;height:39px;font-size:28px}.main-grid{grid-template-columns:1fr;padding-top:13px;gap:35px}.run-bar{height:30px;margin-bottom:10px}.run-bar>div{gap:20px}#district-name{font-size:12px}.game-stage{height:min(620px,calc(100dvh - 230px));min-height:420px}.sidebar{padding-top:0}.garage{scroll-margin-top:24px}.upgrades{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px}.upgrade-top{display:block}.upgrade-icon{margin-bottom:12px}.upgrade-title{font-size:14px}.upgrade-description{min-height:34px}.upgrade-bottom{align-items:start;flex-direction:column;gap:12px}.buy-button{width:100%}.garage-intro{margin-bottom:17px}.route-card{margin-top:13px}.route{display:flex;gap:12px}.route-stop{align-items:flex-start;flex:1;gap:7px}.route-stop:after{display:none}.route-stop>b{display:none}.route-stop strong{font-size:12px;max-width:100px}.route-stop small{font-size:12px}.route-stop>span{width:22px;height:22px;font-size:12px}.records{margin-top:21px}.quick-guide{margin-top:20px}.quick-guide p{font-size:13px}.footer{padding:23px 0;margin-top:28px;flex-wrap:wrap;gap:13px}.footer>span:nth-child(2){display:none}h1{font-size:92px}.overlay-inner{max-width:370px}.overlay{padding:30px}.game-hud strong{font-size:29px}.start-footer{left:30px;right:30px;bottom:18px}.start-footer span{font-size:12px}.start-kicker{font-size:12px}.start-overlay .primary-button{width:270px}.under-track{margin-top:13px;font-size:12px}.touch-controls button{min-height:54px}.touch-controls{padding-top:11px}.compact h2{font-size:58px}.result-stats{gap:11px;padding:13px 0;margin-bottom:17px}.compact p{margin-bottom:17px}.compact .primary-button{min-height:50px}.result-overlay{padding:23px 30px}.start-note{font-size:12px}}
@media(max-width:450px){.app-shell{padding:0 15px}.topbar{height:71px}.brand{font-size:22px;gap:10px}.brand-run{font-size:16px}.brand-mark{width:36px;height:36px;font-size:26px}.header-actions{gap:8px}.icon-button,.help-button{width:34px;height:34px}.main-grid{padding-top:11px}.run-bar{height:29px;margin-bottom:9px}#district-name{font-size:12px;letter-spacing:.065em}.run-bar>div{gap:12px}.run-bar .eyebrow{font-size:12px}.pause-button{font-size:12px}.game-stage{height:calc(100dvh - 228px);max-height:610px;min-height:410px}.overlay{padding:26px}.overlay-inner{max-width:300px}h1{font-size:84px;margin:22px 0 18px}.overlay p{font-size:15px;margin-bottom:22px}.start-overlay .primary-button{width:100%;min-height:51px}.start-kicker{font-size:12px;letter-spacing:.14em}.start-footer{left:26px;right:26px;bottom:18px}.start-footer>span:last-child{max-width:130px;text-align:right}.game-hud{padding:16px 17px 30px}.game-hud strong{font-size:26px}.game-hud small{font-size:12px}.hud-label{font-size:12px}.game-bottom-hud{padding:30px 17px 16px;gap:14px}.life{width:9px;height:17px}.lives{gap:3px}.nitro-gauge{width:91px}#nitro-value{font-size:12px}.speed-readout{gap:4px}.speed-readout strong{font-size:32px}.speed-readout .hud-label{font-size:12px}.touch-controls{gap:8px}.touch-controls button{gap:7px;font-size:12px;letter-spacing:.045em;min-height:51px}.touch-controls .icon{width:18px;height:18px}.boost-button{flex:1.5}.upgrades{grid-template-columns:1fr}.upgrade-card{display:flex;align-items:center;justify-content:space-between;padding:16px}.upgrade-top{display:flex;align-items:center;gap:13px}.upgrade-icon{margin:0}.upgrade-title{font-size:15px}.upgrade-description{min-height:0;font-size:12px}.upgrade-bottom{margin:0;flex-direction:column-reverse;gap:8px;align-items:end}.level-text{display:none}.level-bar{width:24px}.buy-button{width:auto;min-width:83px}.route-stop{gap:7px}.route-stop strong{font-size:12px}.route-stop small{font-size:12px}.route-stop>span{width:19px;height:19px}.compact h2{font-size:53px;margin:15px 0}.compact p{font-size:13px;margin-bottom:14px}.result-overlay{padding:20px 26px}.result-kicker{font-size:12px}.result-stats{padding:10px 0;gap:7px;margin-bottom:14px}.result-stats strong{font-size:22px}.result-stats span{font-size:12px}.result-overlay .secondary-button{padding:10px;margin-top:2px}.toast{top:78px;font-size:12px;padding:7px 13px}}
@media(pointer:coarse){.desktop-note{display:none}.touch-note{display:block}.boost-button kbd{display:none}}
.result-overlay,.pause-overlay{display:flex;align-items:flex-start;justify-content:center;overflow-y:auto}.result-overlay .overlay-inner,.pause-overlay .overlay-inner{margin-block:auto;flex-shrink:0}
@media(max-height:780px) and (max-width:820px){.start-footer{display:none}.start-overlay h1{font-size:74px}.start-overlay{overflow-y:auto}.start-overlay .overlay-inner{margin-block:auto}.compact h2{font-size:46px}.result-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.result-stats strong{font-size:20px}.result-stats span{font-size:12px;letter-spacing:0}.result-stats>div:last-child span{max-width:50px}.result-overlay .overlay-inner{max-width:100%}.result-overlay .compact p{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Endless edition */
.hud-sub{display:block;color:#a6b8bf;font-size:12px;margin-top:6px;letter-spacing:.03em}.combo-readout{display:block;font-size:12px;color:#a0b1b9;margin-top:5px;letter-spacing:.05em}.combo-readout.hot{color:#ffe09a}.active-powerup{position:absolute;bottom:95px;left:50%;transform:translateX(-50%);border:1px solid #b4a1ff70;color:#dfd5ff;background:#27243ecf;padding:5px 12px;border-radius:4px;font-size:12px;font-weight:700;pointer-events:none}.integrity{width:78px;flex-shrink:0}.lives{display:block;margin-top:2px}.lives strong{font-family:var(--display);font-size:25px;line-height:1.1}.lives small{font:12px var(--font);color:#a6b8bf}.body-track{height:4px;background:#35424a;margin-top:5px;width:70px}.body-track>div{height:100%;transition:width .15s}.start-loadout{font-size:12px;line-height:1.5;color:#b5c6c5;border-left:2px solid #a2ffc877;padding:1px 0 1px 11px;margin-bottom:19px;max-width:330px}.start-garage{display:block;background:transparent;color:#b9ccc6;font-size:14px;font-weight:600;padding:13px 0 0}.start-garage:hover{color:var(--mint)}.start-garage>span{margin-left:10px}.start-overlay .start-note{margin-top:12px}.start-overlay h1{margin:22px 0 19px}.start-overlay p{margin-bottom:18px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-top:6px}.section-title h2{font:700 35px/1.1 var(--display)}.section-title>span{font-size:12px;color:#98b2a5;border:1px solid #34483d;padding:3px 8px;border-radius:3px}.selected-ride{display:flex;min-height:160px;align-items:center;gap:18px;padding:10px 5px}.selected-car-art{width:80px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.selected-car-art img{max-width:70px;height:145px;object-fit:contain;filter:drop-shadow(0 12px 10px #0007)}.selected-car-info>span{font-size:12px;color:#8ea4ae}.selected-car-info h3{font:600 25px/1.08 var(--display);margin:7px 0 16px}.ride-stats{display:flex;gap:16px}.ride-stats b{font-family:var(--display);font-size:22px;font-weight:600;line-height:1.1}.ride-stats small{display:block;font-family:var(--font);font-size:12px;font-weight:500;color:#859da7;margin-top:4px}.garage-launch{display:flex;align-items:center;gap:12px;width:100%;min-height:46px;background:#21382c;color:var(--mint);border:1px solid #44644f;border-radius:3px;padding:11px 14px;font-weight:700;font-size:15px;margin-top:7px}.garage-launch>span{margin-left:auto}.garage-launch:hover{background:#304e3c}.workshop-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:21px 0 24px;font-size:12px;color:#8ba29e}.workshop-summary strong{margin-left:auto;color:#bdcfc5;font-size:12px;font-weight:600}.summary-track{height:4px;width:100%;background:#2c3d34}.summary-track>div{height:100%;background:var(--mint)}.section-heading>button{margin-left:auto;background:transparent;color:#a5d4b5;font-size:12px;padding:0}.route-card{padding-top:20px}.route-name{display:flex;align-items:center;gap:12px;margin-top:20px}.route-symbol{font-size:42px;line-height:1;color:var(--mint);font-weight:400}.route-name strong{font-size:17px;display:block}.route-name small{font-size:12px;color:#89a1ad;display:block;margin-top:3px}.map-dots{display:flex;gap:7px;align-items:center;margin:16px 0}.map-dots>span:last-child{font-size:12px;color:#849caa;margin-left:auto}.map-dot{width:14px;height:14px;border:1px solid #52636a;background:#26343c;border-radius:3px;opacity:.4}.map-dot.unlocked{background:var(--map);border-color:var(--map);opacity:1}.route-footer{display:flex;justify-content:space-between;font-size:12px;color:#77929c;margin-top:9px}.contract-teaser{margin-top:23px;border-top:1px solid var(--line);padding-top:20px}.contract-teaser .section-heading>span{color:var(--mint);font-weight:700}.contract-teaser p{font-size:14px;color:#8fa4ae;margin-top:10px}.contract-teaser>button{font-size:14px;background:transparent;padding:9px 0 0;color:#c0dacf}.records{margin-top:21px}.records strong{font-size:27px}.records>div>span{font-size:12px}.quick-guide p{font-size:13px;align-items:flex-start}.pickup-dot{display:inline-grid;place-items:center;width:20px;height:20px;border:1px solid currentColor;border-radius:50%;font-size:14px;font-weight:700;flex-shrink:0}.pickup-dot.repair{color:#9fe6ff;background:#1e3742}.pickup-dot.shield{color:#bfacff;background:#2c2842}.pickup-dot.nitro{color:#ffc87e;background:#3a2f22}.manual-pickups{display:flex;flex-wrap:wrap;gap:15px;margin:20px 0}.manual-pickups>span{display:flex;align-items:center;gap:7px;font-size:13px}.manual-pickups .pickup-dot{width:24px;height:24px}.garage-dialog{max-width:1080px;width:calc(100% - 48px);max-height:calc(100dvh - 48px);padding:0;border:1px solid #52665e;border-radius:8px;background:#0f191f;overflow:auto}.garage-dialog[open]{display:flex;flex-direction:column}.garage-dialog-header{display:flex;align-items:center;gap:23px;padding:26px 30px 23px;flex-shrink:0;background:#131f25}.garage-dialog-header #garage-title{font-size:40px;margin:5px 0 0}.garage-dialog-header .eyebrow{font-size:12px}.garage-dialog-header .icon-button{font-size:25px;flex-shrink:0;align-self:flex-start}.modal-wallet{margin-left:auto;text-align:right}.modal-wallet>span{display:block;font-size:12px;color:#9fb4ab;letter-spacing:.08em}.modal-wallet strong{font:600 35px var(--display);color:var(--mint)}.garage-tabs{display:flex;border-block:1px solid #314339;background:#131f25;padding:0 30px;flex-shrink:0;gap:30px}.garage-tabs button{padding:17px 0 14px;border-bottom:3px solid transparent;background:transparent;font-size:15px;font-weight:700;color:#8fa79e;white-space:nowrap}.garage-tabs button[aria-selected=true]{color:var(--mint);border-bottom-color:var(--mint)}.garage-tabs button>span{font-size:12px;opacity:.6;margin-left:5px}.garage-notice{padding:13px 30px;background:#3c3020;color:#f5d9aa;font-size:14px;flex-shrink:0}.garage-panels{padding:23px 30px 30px;overflow:auto;min-height:180px;overscroll-behavior:contain}.panel-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.panel-heading p{font-size:15px;color:#a6bcb4}.panel-heading>span{font-size:12px;color:#748f85;text-align:right;max-width:180px}.garage-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 30px;border-top:1px solid #34463b;background:#14221c;flex-shrink:0}.garage-dialog-footer p{font-size:13px;color:#a6c1b1;line-height:1.45}.garage-dialog-footer .primary-button{font-size:15px;min-height:46px;white-space:nowrap;padding:11px 20px}.fleet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fleet-card{border:1px solid #344740;background:#17232a;border-radius:5px;padding:18px;min-width:0}.fleet-card.equipped{border-color:var(--mint);background:#182c25}.car-card-top{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#98b4a5}.car-card-top>span:first-child{color:var(--car-color)}.car-card-top b{font-weight:500;color:#9db0b7}.owned-label{font-size:12px;white-space:nowrap}.equipped .owned-label{color:var(--mint)}.car-card-body{display:flex;gap:17px;margin:20px 0 17px;min-height:185px;align-items:center}.car-art{width:91px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.car-art img{width:auto;max-width:83px;height:170px;object-fit:contain;filter:drop-shadow(0 12px 10px #0008);transform:rotate(-8deg)}.car-details{flex:1;min-width:0}.car-details h3{font:600 26px/1.08 var(--display);color:#e1eee7}.car-details p{font-size:13px;line-height:1.5;color:#93aab2;margin:9px 0 13px}.car-specs{display:grid;grid-template-columns:1fr 1fr;gap:10px 13px;margin:0}.car-specs>div{display:flex;flex-direction:column}.car-specs dt{font-size:12px;color:#79958a}.car-specs dd{font-size:15px;font-weight:600;color:#d9e6de;margin:2px 0 0}.shop-button{width:100%;min-height:41px;border:1px solid #45624f;border-radius:3px;background:#22332a;color:#d3e5d9;font-size:14px;font-weight:700;padding:10px 13px;line-height:1.25}.shop-button.available{color:var(--mint);border-color:#668a6c}.shop-button.available:hover{background:var(--mint);color:#0e2517}.shop-button:disabled{color:#879d91;border-color:#354b3c;background:#203027}.fleet-card.equipped .shop-button{color:var(--mint);background:#29442f}.workshop-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.workshop-grid .upgrade-card{display:block;padding:19px;background:#17232a}.workshop-grid .upgrade-top{display:flex;align-items:center;gap:13px}.workshop-grid .upgrade-icon{width:43px;height:43px;margin:0}.workshop-grid .upgrade-title{font-size:16px}.workshop-grid .upgrade-description{font-size:13px;min-height:0;margin-top:4px;line-height:1.4}.upgrade-values{display:flex;justify-content:space-between;gap:12px;font-size:14px;margin:20px 0 13px}.upgrade-values>span{color:#8ba698}.upgrade-values>b{color:#c6e5cf;font-weight:600}.upgrade-track{height:5px;background:#344b3b}.upgrade-track>div{height:100%;background:var(--mint)}.workshop-grid .upgrade-bottom{display:flex;align-items:center;flex-direction:row;justify-content:space-between;margin-top:15px;gap:15px}.upgrade-level{font-size:12px;color:#85a490}.workshop-grid .buy-button{width:auto;min-width:106px;min-height:38px;font-size:14px}.maps-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.tour-card{grid-column:1/-1;display:flex;align-items:center;gap:21px;border:1px solid #426e51;background:#193026;padding:20px;border-radius:5px}.tour-card.equipped{border-color:var(--mint)}.tour-symbol{font-size:72px;line-height:1;color:var(--mint);font-weight:400}.tour-card>div{flex:1}.tour-card h3{font:600 29px/1.1 var(--display)}.tour-card p{font-size:14px;line-height:1.5;margin-top:5px}.tour-card>.shop-button{width:auto;min-width:125px}.tour-stops{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:12px;margin-top:11px}.tour-stops b{font-weight:400;color:#6b8a74}.map-card{border:1px solid #3c4854;border-top:3px solid var(--map-color);border-radius:4px;background:#18232d;padding:21px}.map-card.equipped{border-color:var(--map-color)}.map-card-top{display:flex;justify-content:space-between;gap:14px;font-size:12px;color:var(--map-color)}.map-card h3{font:600 35px var(--display);margin-top:20px}.map-card p{font-size:14px;color:#9cb1bd}.map-rewards{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:23px 0 18px}.map-rewards strong{font-size:18px;color:var(--map-color)}.map-rewards>span{font-size:12px;color:#819dab}.contracts-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.contract-card{padding:21px;border:1px solid #3b4a45;background:#19272a;border-radius:4px}.contract-card.ready{border-color:#9bcf9d}.contract-top{display:flex;gap:11px;align-items:center;color:#94b6a3;font-size:12px}.contract-top strong{margin-left:auto;font:600 26px var(--display);color:var(--mint)}.contract-card h3{font:600 30px var(--display);margin-top:16px}.contract-card>p{font-size:14px;color:#93afa2;margin:5px 0 20px}.contract-progress{height:6px;background:#334c3d;overflow:hidden}.contract-progress>div{height:100%;background:var(--mint)}.contract-count{display:flex;justify-content:space-between;font-size:12px;color:#9ab4a7;margin:9px 0 21px}.contract-count b{font-weight:500}.garage-tabs button:focus-visible{outline-offset:-4px}.garage-panels [role=tabpanel]:focus-visible{outline:1px solid #6d967b;outline-offset:8px}
@media(max-width:1100px){.garage-tabs{gap:26px}.selected-ride{gap:12px}.ride-stats{gap:13px}.selected-car-art{width:62px}.selected-car-art img{max-width:62px;height:136px}.selected-car-info h3{font-size:23px}.fleet-card{padding:15px}.car-art{width:72px}.car-art img{max-width:68px;height:145px}.car-card-body{gap:14px}.car-details h3{font-size:24px}.garage-dialog{width:calc(100% - 32px)}.car-card-top b{display:none}}
@media(max-width:820px){.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:22px}.loadout-section{grid-row:span 2}.route-card{margin:0}.contract-teaser{margin-top:0}.records{margin:0;grid-column:1/-1}.quick-guide{grid-column:1/-1;margin:0}.game-hud strong{font-size:30px}.hud-sub{font-size:12px;max-width:150px}.start-overlay h1{font-size:86px}.start-overlay p{font-size:15px}.start-loadout{margin-bottom:15px}.start-overlay .start-note{display:none}.garage-dialog-header{padding:20px}.garage-dialog-header #garage-title{font-size:33px}.garage-dialog-header .eyebrow{font-size:12px;letter-spacing:.06em}.modal-wallet strong{font-size:30px}.garage-tabs{padding:0 20px;gap:25px}.garage-panels{padding:20px}.garage-dialog-footer{padding:15px 20px}.fleet-grid{grid-template-columns:1fr}.car-card-top b{display:inline}.car-card-body{min-height:175px;gap:23px}.car-art{width:115px}.car-art img{max-width:85px;height:175px}.car-details h3{font-size:30px}.car-details p{font-size:14px}.car-specs{grid-template-columns:repeat(4,1fr);gap:10px}.car-specs dd{font-size:14px}.workshop-grid{gap:12px}.workshop-grid .upgrade-card{padding:15px}.workshop-grid .upgrade-top{align-items:flex-start}.workshop-grid .upgrade-icon{width:33px;height:33px;flex-shrink:0}.workshop-grid .upgrade-title{font-size:15px}.workshop-grid .upgrade-description{font-size:13px}.upgrade-values{font-size:13px}.tour-card{flex-wrap:wrap}.tour-card>.shop-button{margin-left:90px}.map-card{padding:18px}.map-card h3{font-size:30px}.map-rewards{flex-wrap:wrap}.contract-card{padding:17px}.panel-heading>span{max-width:155px}.garage-notice{padding:12px 20px;font-size:13px}}
@media(max-width:600px){.garage-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:6px}.garage-dialog-header{gap:13px;padding:17px 16px}.garage-dialog-header #garage-title{font-size:29px}.garage-dialog-header #garage-title>span{font-size:22px}.garage-dialog-header .eyebrow{font-size:12px;letter-spacing:0}.modal-wallet>span{font-size:12px}.modal-wallet strong{font-size:28px}.garage-dialog-header .icon-button{width:31px;height:31px}.garage-tabs{padding:0 16px;gap:0;justify-content:space-between}.garage-tabs button{font-size:14px;padding:14px 0 12px}.garage-tabs button>span{display:none}.garage-panels{padding:16px}.panel-heading{align-items:start;flex-direction:column;gap:5px;margin-bottom:17px}.panel-heading p{font-size:14px}.panel-heading>span{max-width:none;text-align:left;font-size:12px}.car-art{width:80px}.car-art img{max-width:72px;height:154px}.car-card-body{gap:16px;margin:16px 0;min-height:175px}.car-details h3{font-size:25px}.car-details p{font-size:13px}.car-specs{grid-template-columns:1fr 1fr;gap:8px 12px}.car-specs dt{font-size:12px}.car-specs dd{font-size:14px}.workshop-grid,.maps-grid,.contracts-grid{grid-template-columns:1fr}.workshop-grid .upgrade-top{align-items:center}.workshop-grid .upgrade-icon{width:41px;height:41px}.workshop-grid .upgrade-description{font-size:14px}.workshop-grid .upgrade-title{font-size:16px}.upgrade-values{font-size:14px}.map-card h3{font-size:36px}.map-rewards{flex-wrap:nowrap}.tour-card{gap:14px;padding:16px}.tour-symbol{font-size:56px}.tour-card h3{font-size:29px}.tour-card>div{min-width:190px}.tour-card>.shop-button{margin:0;width:100%}.garage-dialog-footer{padding:12px 16px;gap:13px}.garage-dialog-footer p{font-size:12px;max-width:60%}.garage-dialog-footer .primary-button{font-size:14px;padding:10px 13px;min-height:43px}.garage-dialog-footer .primary-button .icon{width:17px;height:17px}.garage-notice{padding:10px 16px}.car-card-top{font-size:12px}.car-card-top b{display:none}.game-hud{padding-bottom:35px}.hud-sub{font-size:12px}.combo-readout{font-size:12px}.run-money{max-width:42%}.game-hud strong{font-size:27px}.start-loadout{font-size:12px;max-width:270px}.start-overlay .overlay-inner{max-width:340px}.start-overlay h1{font-size:80px}.start-overlay p{font-size:14px}.start-garage{font-size:14px}.body-track{width:60px}.integrity{width:66px}.nitro-gauge{margin-left:0}.active-powerup{bottom:80px}.records strong{font-size:25px}}
@media(max-width:450px){.sidebar{display:block}.route-card{margin-top:24px}.contract-teaser{margin-top:22px}.records{margin-top:23px}.quick-guide{margin-top:23px}.loadout-section .selected-ride{gap:20px;min-height:150px}.selected-car-art{width:84px}.selected-car-art img{height:137px;max-width:70px}.selected-car-info h3{font-size:27px}.ride-stats{gap:24px}.ride-stats b{font-size:23px}.game-hud{padding:15px 15px 35px}.game-hud small{font-size:12px}.hud-sub{font-size:12px;letter-spacing:0;max-width:150px}.run-money .hud-label{font-size:12px;letter-spacing:.05em}.combo-readout{font-size:12px;letter-spacing:0}.start-overlay{padding:22px 25px;overflow:auto;display:flex;align-items:flex-start;justify-content:center}.start-overlay .overlay-inner{margin-block:auto}.start-overlay h1{font-size:76px;margin:18px 0 15px}.start-overlay p{font-size:14px;margin-bottom:13px}.start-loadout{margin-bottom:13px;line-height:1.4}.start-kicker{font-size:12px;letter-spacing:.05em}.start-garage{padding-top:12px}.game-bottom-hud{gap:12px}.speed-readout strong{font-size:32px}.lives strong{font-size:24px}.active-powerup{font-size:12px}.toast{white-space:normal;min-width:210px;max-width:90%;text-align:center;top:98px;line-height:1.3}.contract-teaser p{font-size:14px}.workshop-summary{font-size:12px}.garage-dialog-footer p{font-size:12px;max-width:53%}.car-card-top{gap:5px}.car-details h3{font-size:24px}.car-art{width:65px}.car-art img{max-width:62px;height:136px}.car-card-body{gap:13px}.car-details p{font-size:13px}.fleet-card{padding:13px}.shop-button{font-size:14px}}
@media(max-height:780px) and (max-width:820px){.start-overlay h1{font-size:66px;margin:16px 0 13px}.start-overlay p{font-size:14px;margin-bottom:12px}.start-loadout{margin-bottom:13px}.start-overlay .primary-button{min-height:48px;padding:11px 18px}.start-kicker{font-size:12px;letter-spacing:.03em}.start-garage{font-size:13px;padding-top:10px}.start-overlay .start-note{display:none}.start-overlay{display:flex;align-items:flex-start;justify-content:center;overflow-y:auto}.start-overlay .overlay-inner{margin-block:auto}.result-stats{grid-template-columns:1fr 1fr}.result-overlay .compact h2{font-size:43px}.result-overlay .result-stats{gap:7px;margin-bottom:13px}.result-stats strong{font-size:21px}.result-overlay .compact p{font-size:13px}}
.start-overlay{display:flex;align-items:flex-start;justify-content:center;overflow-y:auto}.start-overlay .overlay-inner{margin-block:auto}
@media(max-height:820px) and (min-width:821px){.start-overlay{padding:22px}.start-overlay h1{font-size:82px}.start-overlay .start-note{display:none}}

/* Shared and personal records */
.text-button{background:transparent;border:0;padding:8px 0;font-weight:600;font-size:13px;color:var(--mint)}.text-button:hover{color:#d4ffec}.leaderboard-launch{display:flex;align-items:center;width:100%;gap:10px;background:#14222a;border:1px solid #365049;padding:12px 15px;font-size:14px;color:var(--mint);margin-top:15px;border-radius:3px}.leaderboard-launch span{margin-left:auto}.leaderboard-launch .icon{width:18px;height:18px}.leaderboard-launch:hover{background:#20392f}.leaderboard-dialog{width:min(700px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:28px;background:#101b23;color:var(--text);border:1px solid #3c514e;border-radius:7px}.leaderboard-dialog::backdrop{background:#050d12ce;backdrop-filter:blur(5px)}.leaderboard-dialog .dialog-top{display:flex;align-items:center;justify-content:space-between}.leaderboard-heading{display:flex;gap:15px;align-items:center;justify-content:space-between;margin:18px 0 10px}.leaderboard-heading h2{font:700 42px/1 var(--display);letter-spacing:-.015em}.leaderboard-intro{color:#9bb0ba;font-size:14px;line-height:1.6}.leaderboard-heading .text-button{white-space:nowrap}#driver-name-form{margin-top:24px}#driver-name-form label{display:block;font-size:11px;letter-spacing:.09em;color:#aec5b9;margin-bottom:8px}#driver-name-form>div{display:flex;gap:10px}#driver-name{width:100%;min-width:0;background:#0c171f;color:#e4f5eb;border:1px solid #3c5651;border-radius:3px;padding:11px 12px;font:15px var(--font)}#driver-name:focus{outline:2px solid var(--mint);outline-offset:2px}#driver-name-form button{width:auto;white-space:nowrap}.leaderboard-status{font-size:12px;color:#a6c4b6;line-height:1.5;min-height:36px;margin:14px 0}.score-table{width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed}.score-table th{font-size:10px;letter-spacing:.08em;font-weight:600;color:#8299a3;padding:9px 10px;text-align:left;border-bottom:1px solid #3a4f56}.score-table th:first-child{width:55px}.score-table th:last-child{width:115px;text-align:right}.score-table td{padding:13px 10px;border-bottom:1px solid #283b45}.score-table td:first-child{color:#8ea8b0;font-variant-numeric:tabular-nums}.score-table td:last-child{text-align:right;font-weight:700;font-variant-numeric:tabular-nums;color:#d2ebdb;overflow-wrap:anywhere}.score-table strong{display:block;font-size:14px;overflow-wrap:anywhere}.score-table small{display:block;color:#87a2ac;font-size:11px;margin-top:4px}.score-table .your-score{background:#183429}.you-tag{font-size:9px;letter-spacing:.1em;color:var(--mint);margin-left:7px;font-weight:700}.leaderboard-empty{text-align:center;padding:34px 16px;border:1px dashed #344b52;border-radius:4px;color:#b5d0c7}.leaderboard-empty strong{font-size:20px;font-family:var(--display)}.leaderboard-empty p{font-size:13px;color:#88a1ac;margin-top:8px}.local-records{margin-top:27px;padding-top:20px;border-top:1px solid #32464f}.local-records h3{font-size:12px;letter-spacing:.04em;color:#c2d7cc}.local-records h3 span{font-size:9px;color:#7f9ba3;margin-left:8px;white-space:nowrap}.local-records>div{display:grid;grid-template-columns:1.1fr 1.1fr .6fr;gap:14px;margin:16px 0}.local-records>div span{font-size:10px;color:#91aab4;display:block}.local-records strong{font-size:27px;font-family:var(--display);font-weight:600;color:#d5eee0}.local-records>p{font-size:11px;color:#7e9aa4;line-height:1.5}
/* Original overhead arcade scene, with per-car paint */
.pace-label{position:absolute;left:50%;bottom:97px;transform:translateX(-50%);pointer-events:none;color:#c1d4c4a6;font-size:10px;letter-spacing:.10em;white-space:nowrap}.live-score{margin-top:3px;color:#c7dadd}.live-score b{font-variant-numeric:tabular-nums}.game-hud .hud-sub{line-height:1.55}.ride-paint{display:block;font-size:11px;color:#94bba7;margin:5px 0 0}.preview-label{color:#a3c1b1;font-size:13px}.garage-tabs{gap:26px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#567b65 transparent}.garage-tabs button{white-space:nowrap;flex-shrink:0}.paint-workbench{display:flex;gap:32px;align-items:center;padding:25px 30px;border:1px solid #3c5c4b;border-radius:4px;background:#162820}.paint-current-art{width:115px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.paint-current-art img{width:95px;height:190px;object-fit:contain;filter:drop-shadow(0 10px 12px #0007);transform:rotate(-8deg)}.paint-workbench-info{flex:1;min-width:0}.paint-workbench label,.paint-current-label{display:block;font-size:10px;letter-spacing:.1em;color:#8aa997;font-weight:700}.paint-workbench select{margin-top:7px;width:100%;max-width:340px;background:#0e1c18;color:#dbefe1;border:1px solid #527761;border-radius:3px;font:15px var(--font);padding:10px 12px}.paint-workbench select:focus-visible{outline:2px solid var(--mint);outline-offset:2px}.paint-current-label{margin-top:20px}.paint-workbench h3{font:600 29px/1.15 var(--display);margin-top:4px;color:#e6f4e9}.paint-workbench p{font-size:13px;line-height:1.6;color:#9db8a9;margin:8px 0}.paint-workbench small{font-size:11px;color:#829f8d}.paint-section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:30px 0 15px}.paint-section-heading h3{font-size:12px;font-weight:700;letter-spacing:.08em}.paint-section-heading span{color:#8dab95;font-size:10px;letter-spacing:.06em}.paint-swatches{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px}.paint-swatch{display:flex;flex-direction:column;align-items:center;padding:12px 4px 9px;gap:8px;border:1px solid #324a3d;background:#16221c;border-radius:3px;color:#afc5b7}.paint-swatch>span{width:34px;height:34px;border:2px solid #b4cab551;border-radius:50%;background:var(--swatch);display:grid;place-items:center;color:#fff;text-shadow:0 1px 3px #000;font-weight:800;font-size:18px}.paint-swatch strong{font-size:10px;font-weight:600;line-height:1.3;min-height:25px}.paint-swatch small{font-size:9px;color:#7eaa89;letter-spacing:.08em}.paint-swatch.selected{border-color:var(--mint);background:#223e2d}.paint-swatch:hover:not(:disabled){border-color:#95caa0}.paint-swatch:disabled{opacity:.65}.paint-designs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.livery-card{border:1px solid #385244;border-radius:4px;padding:14px;background:#15221b;min-width:0}.livery-card.equipped{border-color:var(--mint)}.livery-preview{position:relative;display:flex;align-items:center;justify-content:center;height:225px;margin:-3px -3px 14px;background:#0e1b15;border-radius:3px;overflow:hidden}.livery-preview img{width:94px;height:189px;object-fit:contain;filter:drop-shadow(0 8px 10px #0008);transform:rotate(-8deg)}.livery-preview>span{position:absolute;top:9px;right:9px;font-size:10px;letter-spacing:.06em;color:#cae6d3;background:#15291eef;border:1px solid #35503c;padding:4px 7px;border-radius:2px}.livery-card h3{font:600 24px/1.1 var(--display);color:#e4f0e5}.livery-card>p{font-size:12px;line-height:1.5;color:#93b09d;min-height:74px;margin:8px 0 13px}.livery-card>.shop-button{font-size:12px;min-height:43px;padding:9px 7px}.result-overlay{overflow-y:auto;display:flex;align-items:flex-start;justify-content:center;padding:24px}.result-overlay .overlay-inner{margin-block:auto}.result-overlay .compact h2{font-size:48px;margin:12px 0}.result-overlay .compact p{margin-bottom:14px}.result-overlay .result-stats{margin-bottom:14px;padding:12px 0;gap:8px}.result-overlay .score-post-status{font-size:11px;line-height:1.45;color:#91aaa3;margin:8px 0 0}.leaderboard-launch{grid-column:1/-1}
@media(max-width:1100px){.paint-designs{grid-template-columns:1fr 1fr}.livery-card>p{min-height:40px}.paint-swatches{grid-template-columns:repeat(5,minmax(0,1fr))}.paint-swatch strong{min-height:0}.paint-workbench{padding:20px;gap:25px}}
@media(max-width:820px){.pace-label{bottom:85px;font-size:9px}.leaderboard-heading h2{font-size:36px}.header-actions{gap:8px}.garage-tabs{justify-content:flex-start;gap:23px}.paint-section-heading span{max-width:50%;text-align:right}.paint-workbench{gap:20px}.paint-current-art{width:98px}}
@media(max-width:600px){.header-actions{margin-left:auto;gap:6px}.header-actions .icon-button,.header-actions .help-button{width:33px;height:33px}.paint-workbench{gap:17px;padding:18px 13px;align-items:center}.paint-current-art{width:72px}.paint-current-art img{width:65px;height:150px}.paint-workbench h3{font-size:25px}.paint-workbench select{font-size:13px;padding:9px 6px}.paint-workbench p{font-size:12px;line-height:1.5}.paint-workbench small{font-size:10px}.paint-workbench label,.paint-current-label{font-size:9px}.paint-current-label{margin-top:13px}.paint-swatches{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.paint-swatch{padding:11px 6px;gap:7px}.paint-swatch strong{font-size:11px}.paint-designs{gap:10px}.livery-card{padding:11px}.livery-card h3{font-size:22px}.livery-card>p{font-size:11px;min-height:68px}.livery-preview{height:190px}.livery-preview img{width:72px;height:150px}.livery-preview>span{font-size:9px;top:6px;right:6px}.livery-card>.shop-button{font-size:11px}.leaderboard-dialog{padding:20px 16px;width:calc(100% - 18px);max-height:calc(100dvh - 20px)}.leaderboard-heading h2{font-size:33px}.score-table th:last-child{width:98px}.score-table th:first-child{width:44px}.score-table th,.score-table td{padding-inline:7px}.local-records strong{font-size:24px}.local-records h3 span{display:block;margin:6px 0 0}.result-overlay .compact h2{font-size:40px}.result-overlay .compact p{font-size:13px}.result-overlay .result-stats strong{font-size:21px}.result-overlay .primary-button{min-height:46px;padding:11px 18px}.result-overlay .secondary-button{padding:8px}.pace-label{bottom:79px;letter-spacing:.06em}.game-hud .hud-sub{font-size:10px}.result-overlay .score-post-status{font-size:10px}}

.livery-card{display:flex;flex-direction:column}.livery-card>p{flex:1}.livery-preview{flex-shrink:0}

/* Player career and permanent prestige */
.career-card{grid-column:1/-1;padding:20px;border:1px solid #526244;border-radius:4px;background:linear-gradient(130deg,#213025,#15201b)}.career-heading,.career-level{display:flex;justify-content:space-between;align-items:center;gap:12px}.career-heading .eyebrow{font-size:11px;color:#b2c3a0}.prestige-badge{border:1px solid #9c9b5a;color:#e6d690;background:#3a3c27;border-radius:3px;padding:5px 8px;font:600 18px var(--display)}.career-level{margin-top:13px;align-items:baseline;flex-wrap:wrap;gap:4px}.career-level>strong{font:600 29px var(--display);color:#e4f1db}.career-level small{font-size:17px;color:#9daf98}.career-level>span{font-size:14px;color:#b1c2a6;font-variant-numeric:tabular-nums}.career-track{height:7px;background:#0d1814;border-radius:2px;overflow:hidden;margin-top:12px}.career-track>div{height:100%;width:0;background:var(--mint);transition:width .25s}.career-card>p{font-size:14px;line-height:1.5;color:#a2b69f;margin-top:10px}.career-buffs{font-size:14px;color:#d6ce94;line-height:1.5;margin-top:10px}.career-buffs:empty{display:none}.prestige-launch{display:flex;justify-content:space-between;width:100%;margin-top:15px;padding:12px 0 0;border:0;border-top:1px solid #42523d;background:transparent;color:#e2e2b1;font:600 14px var(--font);text-align:left;gap:10px}.career-card.ready{border-color:#d1bf76}.career-card.ready .career-track>div{background:#dfca7b}.run-xp{color:#c4d8a6!important;margin-top:4px;font-variant-numeric:tabular-nums}.result-overlay .result-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.leaderboard-tabs{display:flex;gap:5px;margin:20px 0;padding:4px;background:#0d1915;border:1px solid #35483e;border-radius:4px}.leaderboard-tabs button{flex:1;border:0;border-radius:2px;background:transparent;color:#96b3a2;padding:11px;font:600 14px var(--font)}.leaderboard-tabs [aria-selected=true]{background:#294434;color:#d9efc8}.board-prestige{display:inline-block;padding:5px 10px;border:1px solid #7d804e;background:#333e28;border-radius:3px;color:#e4d494;font:600 24px var(--display)}
.prestige-dialog{width:min(610px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:30px;overflow-y:auto;border-color:#646746;background:#142019}.prestige-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0}.prestige-title-row h2{font:600 48px/.97 var(--display);letter-spacing:-.02em;color:#e3edd9;margin:0}.prestige-emblem{flex-shrink:0;min-width:94px;min-height:94px;border:2px solid #bcad68;display:grid;place-items:center;color:#e3cd83;font:600 44px var(--display);background:#313d29;clip-path:polygon(18% 0,82% 0,100% 18%,100% 82%,82% 100%,18% 100%,0 82%,0 18%)}.prestige-dialog .prestige-intro{font-size:15px;line-height:1.65;color:#abc0ad;margin:0 0 20px}.prestige-level-status{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:14px;padding:13px 0;border-top:1px solid #415039;border-bottom:1px solid #415039;color:#d6d8a8}.prestige-level-status span{color:#a8bba2}.buff-table{width:100%;border-collapse:collapse;margin:23px 0}.buff-table caption{text-align:left;color:#e6e4bb;font:600 23px var(--display);margin-bottom:10px}.buff-table th{font-size:11px;color:#9aae96;text-align:left;font-weight:600;letter-spacing:.035em;padding:8px 0;border-bottom:1px solid #405238}.buff-table td{font-size:15px;padding:11px 0;border-bottom:1px solid #2b3d2d}.buff-table th:nth-child(n+2),.buff-table td:nth-child(n+2){text-align:right}.buff-table td:nth-child(2){color:#a5b5a0}.buff-table td:last-child{color:#e5d18b;font-weight:600}.prestige-reset-details{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:17px;background:#0f1a14;border:1px solid #394a31;border-radius:3px}.prestige-reset-details h3{font-size:12px;letter-spacing:.04em;color:#d4c18b}.prestige-reset-details>div:last-child h3{color:var(--mint)}.prestige-dialog .prestige-reset-details p{font-size:14px;line-height:1.75;color:#a9bca3;margin:8px 0 0}.prestige-dialog .prestige-note{font-size:14px;line-height:1.6;color:#90a78f;margin:15px 0}.prestige-dialog .prestige-status{font-size:14px;line-height:1.5;color:#ddcd91;min-height:22px;margin:17px 0 12px}.prestige-confirm{width:100%;justify-content:center;background:#d9c984;color:#18211a}.prestige-confirm:disabled{opacity:.5;cursor:not-allowed}.prestige-dialog>.secondary-button{display:block;width:100%;margin-top:8px}.prestige-dialog>.text-button{display:block;margin:12px auto 0;color:#b3c49e}.prestige-launch:focus-visible,.leaderboard-tabs button:focus-visible{outline:2px solid var(--mint);outline-offset:4px}
@media(max-width:820px){.career-card{padding:18px}.career-heading .eyebrow{font-size:12px}}
@media(max-width:600px){.prestige-dialog{padding:22px 18px;width:calc(100% - 18px);max-height:calc(100dvh - 20px)}.prestige-title-row h2{font-size:39px}.prestige-emblem{min-width:76px;min-height:76px;font-size:36px}.prestige-reset-details{grid-template-columns:1fr;gap:16px;padding:15px}.buff-table td{font-size:14px}.buff-table th{font-size:10px}.career-level>strong{font-size:27px}.prestige-title-row{gap:12px}}

.collection-back{margin-left:auto;font:600 14px var(--font);color:#a2ffc8;padding:10px 0;white-space:nowrap}.collection-back:hover{color:#fff}@media(max-width:600px){.topbar{flex-wrap:wrap;height:auto;min-height:100px;padding-block:16px;gap:12px}.collection-back{order:3;width:100%;padding:0}.header-actions{margin-left:auto}}

.save-status-card{grid-column:1/-1;border:1px solid #355447;padding:18px;background:#12211b;border-radius:4px}.save-status-card h3{font-size:13px;letter-spacing:.06em;color:#c6e0cf}.save-status-card p{font-size:14px;line-height:1.6;color:#9cb8a9;margin:9px 0 0}
