@font-face{font-family:Body;src:url('../assets/fonts/ubuntu-sans.ttf') format('truetype');font-weight:100 900;font-display:swap}@font-face{font-family:Display;src:url('../assets/fonts/display-bold.ttf') format('truetype');font-weight:700 900;font-display:swap}
:root{font-family:Body,system-ui,sans-serif;color:#f5ecd5;background:#142d27;font-synthesis:none;--ink:#122d26;--gold:#efbd60;--gold-light:#ffdc91;--line:#73927a3b;--muted:#b3c4ad;--panel:#1c3830;--red:#d58a6c;--green:#b4d19d;color-scheme:dark;--shadow:0 12px 35px #081a2530}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0}body{overflow:hidden;background:radial-gradient(ellipse at 70% 0,#36503a 0,transparent 60%),#142d27}button,a,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--gold-light);outline-offset:4px}button{transition:background .15s,filter .15s,box-shadow .15s}button:active:not(:disabled){filter:brightness(.9)}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}h1,h2{font-family:Display,Body,sans-serif;font-weight:800;letter-spacing:-1.1px}h1{font-size:clamp(26px,2.8vw,43px);line-height:1.13}h2{font-size:24px;line-height:1.15}h3{font-size:17px}h4{font-size:15px}em{font-style:normal;color:var(--gold)}.icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle}.eyebrow{font-size:12px;letter-spacing:1.8px;font-weight:800;color:var(--gold);line-height:1.6}.game-shell{height:100dvh;display:flex;flex-direction:column;max-width:1920px;margin:auto}.topbar{display:flex;align-items:center;gap:22px;height:82px;flex-shrink:0;border-bottom:1px solid var(--line);padding:0 27px;background:#142d2790}.brand{display:flex;align-items:center;gap:12px;font-family:Display,sans-serif;font-size:21px;letter-spacing:-1px;white-space:nowrap}.brand-symbol{display:grid;place-items:center;width:49px;height:49px;border:1px solid #e9bc5f70;background:#efbd6014;border-radius:15px;color:var(--gold)}.brand-symbol .icon{width:31px;height:31px}.brand small{font-size:12px;margin:0 3px;color:#c7cead;letter-spacing:0}.brand b{color:var(--gold);font-weight:800}.tabs{display:flex;align-items:center;gap:6px;margin:auto}.tabs button{display:flex;gap:9px;align-items:center;padding:11px 16px;color:#bfcab3;border:1px solid transparent;border-radius:11px;font-size:15px;font-weight:650}.tabs button:hover{background:#aec1a214;color:#f4ebcf}.tabs button.selected{color:var(--gold-light);background:#e4be6910;border-color:#c7b46f44;box-shadow:inset 0 -2px #e4be6955}.tabs .icon{width:19px;height:19px}.top-actions{display:flex;gap:8px;align-items:center}.wallet{display:flex;align-items:center;gap:8px;background:#e9b85a12;border:1px solid #dac1764a;border-radius:11px;padding:9px 13px;margin-right:9px;min-width:128px;color:var(--gold-light)}.wallet .icon{width:21px;height:21px}.wallet span{font-weight:850;font-size:19px}.wallet small{font-size:12px;color:#c5c7a5}.icon-button{display:inline-grid;place-items:center;min-width:42px;height:42px;border-radius:11px;border:1px solid #9ab79235;color:#ccd5bb;background:#c7d8c908}.icon-button:hover{background:#aec7a51c;color:#fff4cf}.icon-button .icon{width:20px;height:20px}#screen{flex:1;min-height:0;padding:20px 24px 12px}.footer{height:28px;min-height:28px;padding:0 27px 8px;display:flex;justify-content:space-between;align-items:center;color:#8fa58b;font-size:11px;letter-spacing:.5px}.footer>span{display:flex;gap:7px;align-items:center}.footer .icon{width:12px;height:12px}.footer b{margin:0 4px;color:#bdaf73}.garage-layout{height:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(355px,435px);gap:22px}.garage-left{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0}.hero{position:relative;flex:1;min-height:290px;overflow:hidden;background:#9bab7a;border:1px solid #c7ce9a70;border-radius:20px;box-shadow:var(--shadow)}.hero:after{content:'';pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,#173c2938,transparent 45%,#122e294d)}#hero-canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.hero-copy{position:absolute;top:24px;left:28px;right:110px;z-index:1;color:#18362a;text-shadow:0 2px #e3dbb53d}.hero-copy .eyebrow{color:#4c6842;font-size:11px;letter-spacing:1.8px;margin-bottom:9px}.hero-copy h1{font-size:clamp(27px,2.55vw,42px);letter-spacing:-1.4px;line-height:1.08}.hero-copy h1 em{color:#4d6e43}.hero-copy>p:last-child{color:#435d3e;font-size:14px;margin-top:10px;font-weight:600}.evolution-badge{position:absolute;z-index:2;right:22px;top:23px;width:78px;padding:10px 3px;background:#17392cde;color:#f9dfa0;border:1px solid #e9d18e55;border-radius:15px;text-align:center;box-shadow:0 5px 12px #23382020}.evolution-badge>span{font-size:9px;font-weight:850;letter-spacing:1.2px}.evolution-badge strong{display:block;font-family:Display;font-size:30px;line-height:1.2}.evolution-badge strong small{font:600 12px Body;color:#becba6}.machine-name{position:absolute;bottom:16px;left:25px;z-index:2;text-shadow:0 2px 5px #16352c4d}.label{display:inline-block;font-size:10px;font-weight:850;letter-spacing:1.25px;border-radius:5px;padding:5px 8px;background:#183d2be6;color:#f0d18a;border:1px solid #adc09a50}.machine-name h2{font-size:24px;margin:5px 0 3px;color:#f5ebcb}.machine-name p{font-size:12px;color:#e2ddba;max-width:380px}.hero-label{position:absolute;right:17px;bottom:16px;z-index:2;display:flex;align-items:center;gap:5px;color:#c7d3ad;font-size:9px;letter-spacing:.6px}.hero-label .icon{width:14px;height:14px}.machine-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-radius:13px;border:1px solid var(--line);background:#1c392f;overflow:hidden}.machine-stat{display:flex;align-items:center;gap:10px;padding:13px 16px;position:relative}.machine-stat:not(:last-child):after{content:'';width:1px;height:28px;background:var(--line);position:absolute;right:0}.machine-stat>.icon{color:#b7c79e;width:23px;height:23px}.machine-stat small{display:block;color:#abc1a4;font-size:11px;margin-bottom:2px}.machine-stat strong{font-size:17px;white-space:nowrap}.mission-ticket{display:flex;align-items:center;gap:14px;padding:16px 20px;border:1px dashed #d6c68b65;border-radius:13px;background:linear-gradient(100deg,#c5b26e10,transparent)}.ticket-icon{display:grid;place-items:center;background:#e2bd6517;color:var(--gold);width:43px;height:43px;border:1px solid #d8bb6b3b;border-radius:11px}.mission-ticket .eyebrow{font-size:10px;letter-spacing:1px}.mission-ticket h3{font-size:19px;margin:2px 0 5px}.mission-ticket>div:nth-child(2)>span{color:#b6c3a6;font-size:12px}.mission-ticket b{margin:0 4px;color:#d1bd77}.mission-ticket>button{margin-left:auto;font-size:13px;color:var(--gold);padding:10px}.text-button{display:inline-flex;gap:7px;justify-content:center;align-items:center;color:#c7cbb1;min-height:40px;text-decoration:underline;text-decoration-color:#9ba77c60;text-underline-offset:4px}.text-button:hover{color:var(--gold-light)}.text-button .icon{width:17px;height:17px}.departure{display:flex;align-items:center;gap:20px;padding:4px 0 2px}.departure>div{flex:1;min-width:0}.departure strong{font-size:14px;display:block}.departure span{color:#aebca0;font-size:12px;display:block;margin-top:4px;line-height:1.4}.button{display:inline-flex;gap:10px;align-items:center;justify-content:center;min-height:49px;padding:12px 20px;border-radius:12px;font-size:15px;font-weight:800;border:1px solid transparent;white-space:normal;line-height:1.3;box-shadow:0 4px #081a2018}.button .icon{width:20px;height:20px}.button.primary,.button.gold{background:linear-gradient(180deg,#f6cd80,#e5ae51);color:#283c29;border-color:#fbdc9b;box-shadow:0 4px #b68537,0 7px 15px #1b2b202f}.button.primary:hover,.button.gold:hover{filter:brightness(1.08);box-shadow:0 4px #b68537,0 8px 20px #d7ae3f24}.button.primary:disabled,.button.gold:disabled{box-shadow:none}.button.secondary{background:#3a584336;color:#e3e3c5;border:1px solid #a0b08b55}.button.secondary:hover{background:#4f6c4659}.start-button{padding:15px 24px;min-width:238px;min-height:57px;font-size:17px}.workbench{min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#788f61 #18332a;border:1px solid #9cae7e3b;border-radius:18px;background:linear-gradient(130deg,#2b4636b3,#1c362df5);padding:21px 19px;box-shadow:var(--shadow);overscroll-behavior:contain}.panel-title{display:flex;gap:14px;align-items:center}.title-icon{display:grid;place-items:center;min-width:46px;height:46px;border-radius:13px;background:#ddb76513;border:1px solid #b9aa6c51;color:var(--gold)}.title-icon .icon{width:25px;height:25px}.panel-title .eyebrow{font-size:10px;letter-spacing:1.6px;margin-bottom:6px}.panel-title h2{font-size:25px;line-height:1.14;letter-spacing:-.8px}.panel-note{font-size:12px;line-height:1.5;color:#b1c09f;margin:14px 0 16px}.upgrades{display:flex;flex-direction:column;gap:9px}.upgrade{border-radius:12px;display:flex;gap:11px;align-items:center;padding:13px 11px;border:1px solid #a1b38926;background:#0f2a222f}.upgrade-icon{display:grid;place-items:center;color:var(--accent);height:41px;width:38px;flex-shrink:0;background:#a7ba9510;border:1px solid #b2bd9a24;border-radius:10px}.upgrade-info{flex:1;min-width:0}.upgrade-info h3{font-size:14px;display:flex;gap:9px;align-items:center}.upgrade-info h3 small{font-size:10px;color:#b5c2a6;font-family:Body;font-weight:550;white-space:nowrap}.upgrade-info>p{font-size:11px;color:#acbca0;line-height:1.4;margin-top:4px;max-width:225px}.upgrade-pips{display:flex;gap:4px;margin:8px 0 6px}.upgrade-pips i{height:4px;flex:1;max-width:25px;background:#81937830;border-radius:1px}.upgrade-pips i.filled{background:#e6bd64}.upgrade-gain{display:flex;align-items:center;gap:7px;font-size:11px}.upgrade-gain>span{color:#b1bfa0}.upgrade-gain small{font-size:8px;color:#8da383;letter-spacing:.4px}.upgrade-gain strong{color:#f2da9c;font-size:11px;white-space:nowrap}.upgrade-buy{align-self:center;border-radius:8px;min-width:65px;min-height:40px;border:1px solid #d6bd744d;background:#ddb76512;display:flex;align-items:center;justify-content:center;gap:4px;color:#e9cd88;font-size:13px;font-weight:800;flex-shrink:0}.upgrade-buy:hover:not(:disabled){background:#d4aa4535}.upgrade-buy .icon{width:15px;height:15px}.upgrade-buy:disabled{opacity:.35}.just-bought{animation:bought .65s ease-out}.module-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0 10px}.module-heading h3{font-size:12px}.module-heading span{font-size:9px;color:#9caf91}.modules{display:flex;flex-direction:column;gap:8px}.module{display:flex;align-items:center;gap:9px;padding:11px 8px;border:1px solid #93ad8224;border-radius:10px;background:#34533a20}.module>span{color:#c7ba82}.module>span .icon{width:20px;height:20px}.module>div{flex:1;min-width:0}.module h4{font-size:12px}.module p{font-size:10px;line-height:1.45;color:#aebd9f;margin-top:3px}.module>button{font-size:11px;color:#d1c58e;display:flex;align-items:center;gap:4px;min-height:38px;min-width:56px}.module>button .icon{width:14px;height:14px}.module.owned{border-color:#9bbf7655}.module.owned>button{color:#b2d599;opacity:1}.collection-page{height:100%;display:flex;flex-direction:column;min-height:0}.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 8px 24px}.collection-heading .eyebrow{margin-bottom:10px}.collection-heading>div>p:last-child{font-size:15px;color:#b6c2a7;margin-top:12px;line-height:1.6}.collection-heading h1{font-size:35px;line-height:1.1}.progress-stamp{display:flex;flex-direction:column;align-items:center;padding:13px 20px;border:1px solid #c4b87555;border-radius:15px;color:#eac779}.progress-stamp>.icon{height:23px;width:23px}.progress-stamp strong{font:800 34px Display;letter-spacing:-1px}.progress-stamp strong small{font:500 15px Body;color:#b5c0a0}.progress-stamp>span{font-size:11px;color:#b8c4a4}.campaign-scroll{overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#788f61 #18332a;padding:0 6px 15px;overscroll-behavior:contain}.region{margin-bottom:30px}.region-label{display:flex;align-items:center;gap:11px;margin:6px 0 16px}.region-label>span{width:39px;height:39px;border:1px solid var(--line);border-radius:12px;color:#cdd19b;display:grid;place-items:center}.region-label .eyebrow{font-size:9px;letter-spacing:1.5px;color:#9db493}.region-label h2{font-size:20px;margin-top:3px}.stage-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.stage-card{position:relative;text-align:left;overflow:hidden;min-height:185px;border-radius:14px;padding:17px;background:linear-gradient(135deg,#55704760,#243e2d);border:1px solid #9cb68140;display:flex;flex-direction:column;box-shadow:0 6px 16px #0a281c14}.stage-card:before{content:'';position:absolute;inset:40% 0 0;background:repeating-linear-gradient(-25deg,#e8cd760a 0 2px,transparent 2px 15px);pointer-events:none}.stage-card:hover:not(:disabled){border-color:#dbbc6c;background-color:#c8ad6220}.stage-card.active{border-color:var(--gold);box-shadow:inset 0 0 0 1px #e2b96940,0 5px 20px #101e161f}.stage-top{position:relative;display:flex;align-items:center;justify-content:space-between;margin-bottom:27px;min-height:28px}.stage-top>b{font:800 26px Display;color:#c8d1a9}.stage-top small{font-size:8px;letter-spacing:.8px;color:#e8bb8f;border:1px solid #b9906640;background:#bc784320;border-radius:4px;padding:4px}.stage-card>strong{position:relative;display:block;font-size:15px;margin-bottom:6px;line-height:1.3;min-height:19px}.stage-card>span:not(.stage-art):not(.stage-top){font-size:12px;color:#b7c7a3;position:relative}.stage-card .stage-status{font-size:10px;color:#d3c487;display:block;padding-top:15px;margin-top:auto;position:relative}.stage-card.locked{opacity:.42;filter:saturate(.4)}.stage-art{position:absolute;right:11px;top:23px;opacity:.13;transform:rotate(-20deg)}.stage-art .icon{width:83px;height:83px;stroke-width:1}.stars{color:#f1c467;font-size:14px;letter-spacing:2px}.biome-marsh{background:linear-gradient(135deg,#47736850,#223d35)}.biome-industry{background:linear-gradient(135deg,#896d4a50,#313e2d)}.collection-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:14px;padding:13px 6px 2px;border-top:1px solid var(--line);flex-shrink:0}.collection-footer p{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.5;color:#b5c3a7;max-width:650px}.collection-footer p>.icon{width:17px;height:17px;flex-shrink:0}.painted-label{font:800 14px Display;line-height:1.6;color:#d5c88b;transform:rotate(5deg);border:2px solid #e4c3785e;padding:15px 21px;border-radius:5px}.fleet-grid{min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;scrollbar-width:thin;scrollbar-color:#788f61 #18332a;padding:2px 6px 16px}.fleet-card{background:linear-gradient(150deg,#46634255,#19392de0);border:1px solid #99b17b45;border-radius:16px;overflow:hidden;position:relative;display:flex;flex-direction:column}.fleet-card.equipped{border-color:#e1bd74;box-shadow:inset 0 0 0 1px #d6b96b44}.fleet-card.locked{filter:saturate(.55)}.fleet-card-top{position:absolute;top:14px;left:15px;right:15px;display:flex;gap:8px;align-items:center;z-index:1}.fleet-card-top .label{font-size:9px;background:#1e402f70;border-color:#9eb78c40}.fleet-card-top>span:not(.label){margin-left:auto;font-size:8px;letter-spacing:1px;color:#d6c483}.fleet-card-top>.icon{margin-left:auto;width:13px;height:13px;color:#a2b291}.fleet-card-top>small{font-size:10px;color:#acb794}.fleet-card>canvas{width:100%;height:180px;display:block;background:radial-gradient(ellipse at 50% 90%,#d2bf6e20,transparent 65%)}.fleet-card-copy{padding:4px 19px 18px}.fleet-card-copy h2{font-size:22px;margin-bottom:7px}.fleet-card-copy>p{font-size:12px;color:#b9c7aa;line-height:1.5;min-height:36px}.fleet-stats{display:flex;align-items:center;gap:17px;margin:14px 0}.fleet-stats>span{display:flex;align-items:center;gap:5px;font-size:11px;color:#c5d1ad}.fleet-stats .icon{width:15px;height:15px;color:#c9bd84}.fleet-card-copy .button{width:100%;min-height:43px;font-size:12px}.fleet-card-copy .button .icon{width:16px;height:16px}.run-screen{width:100%;height:100%;position:relative;border-radius:17px;overflow:hidden;isolation:isolate;border:1px solid #b5c79655;background:#8eaa82}.run-screen>canvas{width:100%;height:100%;display:block;touch-action:none;outline:0}.run-top{position:absolute;top:22px;left:25px;right:25px;display:flex;gap:22px;align-items:flex-start;pointer-events:none}.run-location{padding:13px 17px;background:#173a2ce8;border:1px solid #d3ce9859;border-radius:12px;box-shadow:0 4px 16px #23382620;max-width:350px}.run-location .label{font-size:9px;padding:0;border:0;background:none;letter-spacing:1.6px}.run-location h1{font-family:Display;font-size:20px;letter-spacing:-.5px;margin:5px 0 4px}.run-location>span:last-child{font-size:11px;color:#c4cba9}.run-progress{min-width:180px;max-width:400px;flex:1;margin:15px auto 0;border-radius:12px;background:#193b2cc4;padding:12px 17px;border:1px solid #d2c48045}.run-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:7px}.run-progress span{font-size:16px;font-weight:800;color:#f8e5ac}.run-progress small{font-size:10px;color:#d1d0ab;letter-spacing:1px}.progress-track{height:5px;border-radius:3px;background:#a5b28940;overflow:hidden}.progress-track i{display:block;height:100%;background:#e4bf6c;width:0}.pause-button{pointer-events:auto;background:#183a2ce6;color:#e9d89b;width:47px;height:47px;border-color:#b9bf8c60;margin-top:4px}.run-meters{position:absolute;left:25px;top:145px;display:flex;flex-direction:column;gap:8px;pointer-events:none}.run-meter{display:flex;align-items:center;gap:11px;background:#163529db;border:1px solid #c4c79e48;min-width:205px;border-radius:10px;padding:10px 12px}.run-meter>.icon{height:22px;width:22px;color:#c9d09d}.run-meter>div{flex:1}.run-meter span{display:flex;justify-content:space-between;gap:13px;font-size:9px;font-weight:750;letter-spacing:1px;color:#c9d4b3}.run-meter strong{font-size:11px;letter-spacing:0;color:#efe3b9}.meter-track{height:5px;background:#afbf9c30;border-radius:3px;margin-top:6px;overflow:hidden}.meter-track i{display:block;height:100%;width:100%;background:#a6c38e}.run-meter.fuel .meter-track i{background:#e4bc66}.run-meter.nitro .meter-track i{background:#9ec9be}.meter-track.low i{background:#dc9272}.run-score{position:absolute;right:26px;top:135px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;pointer-events:none}.run-score>span:first-child{display:flex;align-items:center;gap:9px;padding:9px 14px;background:#243b2cdd;border:1px solid #d5c78e60;border-radius:10px;color:#e5d9ab}.run-score strong{font-size:22px}.run-score .icon{color:#ccd69e}.run-score #combo{background:#d2a955;color:#243f2a;padding:6px 10px;border-radius:7px;font-size:12px;font-weight:850;opacity:0;transition:opacity .2s}.run-score #combo.visible{opacity:1}.drive-hint{position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);border:1px solid #f7e3a98c;border-radius:14px;box-shadow:0 7px 20px #26442c27;background:#1f3e31e8;padding:19px 24px;font-size:17px;line-height:1.6;max-width:500px;width:max-content;color:#f4e2b3;text-align:center;pointer-events:none;transition:opacity .4s}.drive-hint>.icon{color:var(--gold);width:18px;height:18px;margin-right:4px}.drive-hint span{display:block;font-size:12px;color:#c7d0ac;margin-top:7px}.drive-hint.hidden{opacity:0}.drive-hint kbd{font-size:12px;background:#c7ceaa1f;border:1px solid #c7ceaa55;border-radius:5px;padding:3px 7px;margin:0 2px}.run-controls{position:absolute;left:26px;right:26px;bottom:55px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.pedal-group{display:flex;gap:11px}.drive-button{display:flex;align-items:center;justify-content:center;gap:10px;padding:15px 22px;border-radius:14px;border:1px solid #c2c7906b;color:#eee2b6;background:#264533eb;min-width:140px;height:74px;user-select:none;-webkit-user-select:none;touch-action:none;box-shadow:0 5px #18332891,0 8px 18px #233a2826;position:relative;overflow:hidden}.drive-button>.icon{width:25px;height:25px}.drive-button>span{font-size:17px;font-weight:800;z-index:1;text-align:left;line-height:1.2}.drive-button small{display:block;font-size:9px;margin-top:5px;letter-spacing:1.8px;font-weight:600;opacity:.7}.drive-button.accelerator{background:#e8be68;color:#2b4028;border-color:#ffe3a0;min-width:170px;box-shadow:0 5px #96783d99,0 8px 18px #233a2826}.drive-button.pressed{filter:brightness(1.15);box-shadow:0 2px #18332891,inset 0 0 0 2px #f5e1a398}.drive-button.boost-button{background:#2c5147f0;border-color:#bfdbb87a;min-width:150px;color:#d2e4b9}.boost-button>i{position:absolute;bottom:0;left:0;height:4px;width:100%;background:#b6d1b2;transition:width .05s}.speedometer{position:absolute;left:50%;transform:translateX(-50%);bottom:1px;background:#1f3d2dce;width:91px;height:91px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;border:2px solid #d5c1807a;box-shadow:0 0 0 5px #193c2a37;color:#f2db9b}.speedometer strong{font:700 32px Display;line-height:1}.speedometer>span{font-size:8px;letter-spacing:1.4px;margin-top:5px}.run-bottom-note{position:absolute;bottom:15px;left:26px;right:26px;display:flex;align-items:center;gap:7px;font-size:11px;color:#f0dfae;text-shadow:0 1px 3px #193820}.run-bottom-note>.icon{width:16px;height:16px;color:#f4c46d}.run-bottom-note>span:last-child{margin-left:auto;display:flex;gap:5px;align-items:center;color:#d5dbb6;font-size:10px}.run-bottom-note>span:last-child .icon{width:14px;height:14px}.driving #screen{padding-top:12px}.driving .tabs{opacity:.6}.driving .footer{height:22px;min-height:22px;font-size:10px}dialog{color:#f4ecd4;background:linear-gradient(135deg,#304d38,#193b2d);border:1px solid #b7c29470;border-radius:23px;padding:29px;width:min(580px,calc(100vw - 30px));max-height:min(90dvh,840px);overflow:auto;box-shadow:0 25px 110px #04180bc9;scrollbar-width:thin;scrollbar-color:#9eb184 #1a382c}dialog::backdrop{background:#071d18bc;backdrop-filter:blur(6px)}dialog[open]{animation:dialog-in .2s ease-out}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.dialog-heading .eyebrow{font-size:10px;letter-spacing:1.6px}.dialog-heading h2{font-size:28px;line-height:1.15;margin-top:7px}.dialog-heading .icon-button{min-width:33px;width:33px;height:33px;border-radius:9px}.dialog-heading .icon-button .icon{width:17px;height:17px}.dialog-intro{color:#bbcbae;font-size:14px;line-height:1.65;margin-bottom:22px}.wide{width:100%;margin-top:10px}.help-steps{display:flex;flex-direction:column;gap:18px;margin:24px 0}.help-steps article{display:flex;gap:15px}.help-steps article>.icon{color:var(--gold);margin-top:4px}.help-steps h3{font-size:15px;line-height:1.4}.help-steps p{font-size:13px;color:#b9c9aa;line-height:1.6;margin-top:5px}.pause-summary{display:flex;justify-content:space-between;gap:12px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:13px}.pause-summary span{display:flex;gap:7px;align-items:center;font-size:12px;color:#c3ceae}.pause-summary .icon{color:var(--gold);width:16px;height:16px}.result-medallion{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;margin:1px auto 18px;background:#e4b55d19;border:1px solid #dbbe7555;color:#e7c376;box-shadow:0 0 0 7px #bdc78708}.result-medallion.success{background:#c4b96020;color:#ffe09b}.result-medallion .icon{width:34px;height:34px}#dialog:has(.result-medallion){text-align:center}#dialog:has(.result-medallion)>h2{font-size:32px;margin:5px 0 12px}.result-stars{font-size:37px;color:#f2c866;letter-spacing:7px;margin-bottom:18px;text-shadow:0 3px 10px #dac26526}.result-stars>span{color:#82996b55}.result-stats,.career-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;border:1px solid var(--line);background:#19372a66;border-radius:12px;padding:18px 12px;margin:15px 0 19px}.result-stats>span,.career-stats>span{text-align:center;font-size:10px;color:#adbf9b;line-height:1.5}.result-stats strong,.career-stats strong{display:block;font:800 24px Display;letter-spacing:-.8px;color:#f0ddaa;margin-bottom:4px}.receipt{padding:6px 0 10px}.receipt>div{display:flex;align-items:center;justify-content:space-between;color:#bbcaac;font-size:13px;padding:6px}.receipt b{font-weight:600;color:#d4dbb8}.receipt .receipt-total{margin-top:9px;padding-top:16px;border-top:1px dashed #bcbd8055;font-size:16px;color:#e9e3c1}.receipt-total strong{display:flex;gap:8px;align-items:center;font-family:Display;font-size:26px;color:var(--gold)}.achievements{display:flex;flex-direction:column;gap:10px}.achievements article{display:flex;gap:15px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:15px;color:#a5b798;background:#112d2429}.achievements article>span{display:grid;place-items:center;width:37px;height:37px;background:#aac1980c;border-radius:10px}.achievements article>span .icon{width:21px;height:21px}.achievements h3{font-size:15px}.achievements p{font-size:12px;color:#afc09e;line-height:1.5;margin-top:5px}.achievements article>div{flex:1}.achievements article>.icon{width:18px;height:18px}.achievements article.earned{border-color:#d8c07870;color:#efcf7f;background:#a4b46710}.settings-group{margin:5px 0 24px}.switch-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.switch-row strong{font-size:15px}.switch-row small{display:block;font-size:12px;color:#b6c8a7;margin-top:5px;line-height:1.4}.switch-row input{appearance:none;-webkit-appearance:none;width:43px;height:25px;min-width:43px;border-radius:15px;background:#647b5b;border:1px solid #b6c69a50;position:relative;cursor:pointer}.switch-row input:before{content:'';position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#d3d4b4;transition:left .15s}.switch-row input:checked{background:#d0ad5c}.switch-row input:checked:before{left:21px;background:#304c33}.volume-row{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding:18px 0;font-size:14px}.volume-row input{flex:1;min-width:40px;accent-color:#e7bd66;height:20px}.volume-row output{min-width:45px;font-size:12px;color:#ddcc93;text-align:right}.settings-backup{padding:17px;background:#1c392a80;border:1px solid var(--line);border-radius:12px}.settings-backup h3{font-size:15px}.settings-backup p{font-size:12px;color:#b7c9a8;line-height:1.6;margin:9px 0 15px}.settings-backup>div{display:flex;gap:12px}.settings-backup .button{font-size:12px;min-height:40px;padding:10px 15px}.settings-backup .button .icon{width:16px;height:16px}.settings-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:15px;font-size:11px}.danger{color:#e0a68b}.danger-button{background:#ab6a50;color:#fff0d4;border-color:#d9a57c}#toast{position:fixed;left:50%;bottom:38px;transform:translate(-50%,15px);opacity:0;pointer-events:none;max-width:min(560px,calc(100vw - 35px));background:#f0d79c;color:#30492f;padding:13px 21px;border:1px solid #ffe7ac;border-radius:11px;font-size:13px;line-height:1.5;font-weight:650;box-shadow:0 12px 30px #0d211a55;transition:opacity .2s,transform .2s;z-index:15;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}@keyframes bought{0%{background:#d6b56145;border-color:#eac77f}100%{background:#0f2a222f}}@keyframes dialog-in{from{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}
@media(min-width:1600px){.garage-layout{grid-template-columns:minmax(0,1fr) 480px}.workbench{padding:26px}.upgrade{padding:15px}.upgrade-info h3{font-size:16px}.upgrade-info>p{font-size:12px}.upgrade-gain,.upgrade-gain strong{font-size:12px}.panel-note{font-size:14px}.module h4{font-size:14px}.module p{font-size:12px}.hero-copy h1{font-size:46px}.hero-copy{top:35px;left:38px}.hero-copy>p:last-child{font-size:16px}.machine-name{left:35px;bottom:23px}.machine-name h2{font-size:28px}.machine-name p{font-size:14px}.machine-stat{padding:17px 22px}.machine-stat strong{font-size:20px}.machine-stat small{font-size:13px}}
@media(max-width:1180px){.topbar{padding:0 18px;gap:10px;height:74px}.brand{font-size:17px;gap:8px}.brand-symbol{width:42px;height:42px}.brand-symbol .icon{width:26px;height:26px}.tabs button{padding:9px 12px;font-size:13px;gap:7px}.top-actions{gap:5px}.wallet{min-width:104px;padding:8px 10px;margin-right:4px}.wallet small{display:none}.wallet span{font-size:17px}.full-button{display:none}.icon-button{min-width:37px;height:37px}.garage-layout{gap:15px;grid-template-columns:minmax(0,1fr) 365px}#screen{padding:15px 16px 10px}.workbench{padding:18px 13px}.panel-title h2{font-size:23px}.upgrade{padding:11px 8px;gap:8px}.upgrade-icon{width:32px}.upgrade-info h3{font-size:12px}.upgrade-info h3 small{font-size:9px}.upgrade-info>p{font-size:10px}.upgrade-buy{min-width:57px;font-size:11px}.hero-copy{left:21px;top:22px;right:90px}.hero-copy h1{font-size:29px}.hero-copy>p:last-child{font-size:12px;max-width:290px}.hero-copy .eyebrow{font-size:9px}.evolution-badge{right:16px;top:17px;width:65px}.evolution-badge>span{font-size:8px}.machine-name h2{font-size:21px}.machine-name p{font-size:11px;max-width:265px}.hero-label{display:none}.machine-stat{padding:12px 9px;gap:7px}.machine-stat .icon{width:18px;height:18px}.machine-stat strong{font-size:14px}.machine-stat small{font-size:10px}.mission-ticket{padding:13px;gap:10px}.mission-ticket .eyebrow{font-size:9px}.mission-ticket h3{font-size:16px}.mission-ticket>div:nth-child(2)>span{font-size:10px}.mission-ticket .ticket-icon{display:none}.departure{gap:9px}.departure>div{display:none}.start-button{width:100%;min-height:49px;font-size:15px}.footer{font-size:10px;padding-left:18px;padding-right:18px}.stage-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.fleet-grid{gap:12px}.fleet-card-copy{padding:4px 14px 15px}.fleet-card-copy h2{font-size:20px}.fleet-stats{gap:12px}.fleet-stats>span{font-size:10px}.fleet-card>canvas{height:160px}.collection-heading h1{font-size:30px}.collection-heading{padding-bottom:20px}.speedometer{display:none}}
@media(max-width:850px){.topbar{height:67px;flex-wrap:wrap;position:relative;padding:0 13px}.brand{font-size:16px}.brand-symbol{width:37px;height:37px;border-radius:11px}.brand-symbol .icon{width:24px;height:24px}.brand small{font-size:10px}.top-actions{margin-left:auto}.wallet{min-width:85px;gap:5px}.wallet .icon{height:18px;width:18px}.wallet span{font-size:16px}.tabs{position:fixed;bottom:10px;left:50%;transform:translateX(-50%);z-index:5;padding:6px;border:1px solid #b0bc8b55;background:#19392df5;border-radius:15px;box-shadow:0 5px 22px #0c241866;gap:4px;backdrop-filter:blur(8px)}.tabs button{min-width:115px;justify-content:center;padding:11px 13px;font-size:13px}.tabs button .icon{width:18px;height:18px}.game-shell{padding-bottom:69px}.footer{height:25px;min-height:25px;font-size:9px;padding-bottom:3px}.footer>span:last-child{display:none}.garage-layout{grid-template-columns:minmax(0,1fr) 340px;gap:12px}.hero-copy h1{font-size:25px}.hero-copy>p:last-child{display:none}.hero-copy{left:17px;right:60px}.evolution-badge{width:52px;right:11px;top:16px;padding:8px 1px}.evolution-badge>span{font-size:6px;letter-spacing:.7px}.evolution-badge strong{font-size:24px}.evolution-badge strong small{font-size:10px}.hero{border-radius:15px}.machine-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.machine-stat{padding:10px 12px}.machine-stat:nth-child(2):after{display:none}.machine-stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.mission-ticket{padding:11px}.mission-ticket>button{font-size:11px;padding:7px}.mission-ticket .eyebrow{font-size:8px}.mission-ticket h3{font-size:15px}.mission-ticket>div:nth-child(2)>span{font-size:9px}.machine-name{left:17px;bottom:13px}.machine-name h2{font-size:18px}.machine-name p{display:none}.machine-name .label{font-size:8px}.collection-heading{padding:8px 4px 21px}.collection-heading h1{font-size:27px}.collection-heading>div>p:last-child{font-size:13px;max-width:470px}.stage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.collection-footer .button{min-height:43px;font-size:12px;flex-shrink:0;max-width:210px}.collection-footer p{font-size:10px;max-width:410px}.fleet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.painted-label{font-size:11px;padding:12px 15px}.run-top{top:15px;left:16px;right:16px;gap:13px}.run-location{max-width:245px;padding:11px 13px}.run-location h1{font-size:17px}.run-progress{padding:10px 12px;min-width:120px}.run-progress small{font-size:8px}.run-progress span{font-size:13px}.run-meters{left:16px;top:131px;gap:5px}.run-meter{min-width:175px;padding:8px 10px;gap:8px}.run-meter>.icon{height:18px;width:18px}.run-meter span{font-size:8px}.run-meter strong{font-size:10px}.run-score{right:17px;top:120px}.run-controls{left:18px;right:18px;bottom:47px;gap:13px}.drive-button{padding:12px 16px;height:65px;min-width:110px}.drive-button.accelerator{min-width:145px}.drive-button.boost-button{min-width:120px}.drive-button>span{font-size:15px}.run-bottom-note{left:18px;right:18px;font-size:10px;bottom:14px}.driving .game-shell{padding-bottom:0}.driving .tabs{display:none}.driving .topbar{height:62px}.driving .footer{display:none}.driving #screen{padding:10px}.driving .run-screen{border-radius:12px}}
@media(max-width:680px){.topbar{height:61px;padding:0 12px}.brand{font-size:14px;gap:7px;letter-spacing:-.7px}.brand small{font-size:8px;margin:0 1px}.brand-symbol{width:32px;height:32px;border-radius:9px}.brand-symbol .icon{width:23px;height:23px}.top-actions{gap:5px}.wallet{min-width:74px;height:34px;padding:5px 8px;border-radius:9px;margin-right:1px}.wallet .icon{width:16px;height:16px}.wallet span{font-size:14px}.top-actions>.icon-button{min-width:32px;width:32px;height:34px;border-radius:9px}.top-actions>.icon-button .icon{width:17px;height:17px}.garage-layout{display:flex;flex-direction:column;overflow:auto;min-height:0;gap:17px;padding-bottom:8px;scrollbar-width:thin;overscroll-behavior:contain}.garage-left{flex-shrink:0;gap:9px;min-height:auto}.hero{height:310px;min-height:310px;flex:none}.hero-copy{top:19px;left:19px;right:83px}.hero-copy h1{font-size:28px;letter-spacing:-1px}.hero-copy .eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:8px}.evolution-badge{width:60px;top:17px;right:15px}.evolution-badge>span{font-size:7px}.evolution-badge strong{font-size:26px}.machine-name{left:20px;bottom:14px}.machine-name h2{font-size:19px}.machine-name .label{font-size:8px;padding:4px 6px}.machine-stats{grid-template-columns:repeat(4,minmax(0,1fr));border-radius:11px}.machine-stat{padding:11px 7px;gap:6px;align-items:flex-start}.machine-stat .icon{width:15px;height:15px;margin-top:3px}.machine-stat strong{font-size:12px}.machine-stat small{font-size:8px;white-space:nowrap}.machine-stat:nth-child(-n+2){border-bottom:0}.machine-stat:nth-child(2):after{display:block}.machine-stat:not(:last-child):after{height:24px}.mission-ticket{padding:12px 14px}.mission-ticket h3{font-size:17px}.mission-ticket>div:nth-child(2)>span{font-size:11px}.mission-ticket .eyebrow{font-size:9px}.mission-ticket>button{font-size:12px}.departure{margin-top:3px}.departure .start-button{min-height:51px;font-size:16px}.workbench{overflow:visible;flex-shrink:0;padding:21px 17px;min-height:auto;border-radius:16px}.panel-title h2{font-size:25px}.panel-title .eyebrow{font-size:10px}.panel-note{font-size:13px;line-height:1.6}.upgrade{padding:14px 10px;gap:11px}.upgrade-icon{width:36px;height:42px}.upgrade-info h3{font-size:14px}.upgrade-info h3 small{font-size:10px}.upgrade-info>p{font-size:12px;max-width:235px}.upgrade-gain,.upgrade-gain strong{font-size:11px}.upgrade-buy{min-width:62px;font-size:12px}.module h4{font-size:14px}.module p{font-size:12px}.module>button{font-size:12px}.module-heading h3{font-size:14px}.module-heading span{font-size:10px}.module{padding:13px 10px}.footer{font-size:8px;padding:0 15px 3px;justify-content:center}.game-shell{padding-bottom:67px}.tabs{bottom:9px;width:calc(100% - 28px);justify-content:space-around;max-width:410px}.tabs button{min-width:0;flex:1;padding:11px 12px;font-size:12px;gap:6px}.tabs .icon{width:17px;height:17px}#screen{padding:12px 12px 6px}.collection-heading{padding:6px 3px 18px;gap:10px;align-items:flex-start}.collection-heading h1{font-size:26px;letter-spacing:-.9px}.collection-heading .eyebrow{font-size:9px;letter-spacing:1.1px;margin-bottom:7px}.collection-heading>div>p:last-child{font-size:12px;line-height:1.5;margin-top:9px}.progress-stamp{padding:8px 10px;min-width:65px;flex-shrink:0;border-radius:11px}.progress-stamp .icon{width:19px;height:19px}.progress-stamp strong{font-size:25px}.progress-stamp strong small{font-size:10px}.progress-stamp>span{display:none}.region-label{gap:9px;margin-bottom:13px}.region-label .eyebrow{font-size:8px;letter-spacing:1px}.region-label h2{font-size:18px}.region-label>span{width:34px;height:34px;border-radius:9px}.region-label>span .icon{width:18px;height:18px}.stage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stage-card{min-height:168px;padding:14px}.stage-top{margin-bottom:22px}.stage-top>b{font-size:23px}.stage-card>strong{font-size:14px}.stage-card .stage-status{font-size:9px;padding-top:12px}.collection-footer{flex-direction:column;gap:9px;margin-top:5px;padding-top:10px}.collection-footer p{font-size:10px}.collection-footer .button{width:100%;max-width:none;min-height:46px;font-size:13px}.fleet-grid{grid-template-columns:1fr;gap:15px;padding-left:1px;padding-right:1px}.fleet-card>canvas{height:205px}.fleet-card-copy{padding:3px 18px 19px}.fleet-card-copy h2{font-size:24px}.fleet-card-copy>p{font-size:13px;min-height:0}.fleet-stats{font-size:12px;gap:20px}.fleet-stats>span{font-size:12px}.fleet-card-copy .button{font-size:14px;min-height:46px}.fleet-card-top{top:17px;left:18px;right:18px}.fleet-card-top .label{font-size:10px}.fleet-card-top>span:not(.label){font-size:9px}.painted-label{display:none}.run-top{left:12px;right:12px;top:12px;gap:8px;flex-wrap:wrap;align-items:flex-start}.run-location{padding:10px 12px;max-width:calc(100% - 52px);flex:1}.run-location .label{font-size:8px}.run-location h1{font-size:16px;margin:4px 0}.run-location>span:last-child{font-size:10px}.run-progress{order:3;flex-basis:100%;min-width:0;max-width:none;margin:0;padding:8px 11px;background:#254931c4}.run-progress>div:first-child{margin-bottom:5px}.run-progress small{font-size:8px}.run-progress span{font-size:12px}.pause-button{min-width:40px;height:40px;margin:0}.run-meters{top:160px;left:12px;right:12px;flex-direction:row;gap:6px}.run-meter{min-width:0;flex:1;gap:5px;padding:8px 7px;border-radius:9px}.run-meter>.icon{display:none}.run-meter span{font-size:7px;letter-spacing:.5px;gap:4px;align-items:center;flex-wrap:wrap}.run-meter strong{font-size:9px}.run-meter .meter-track{height:4px;margin-top:6px}.run-score{top:220px;right:13px;gap:5px}.run-score>span:first-child{padding:6px 9px;border-radius:8px;gap:5px}.run-score .icon{width:16px;height:16px}.run-score strong{font-size:17px}.run-score #combo{font-size:10px;padding:5px 8px}.drive-hint{top:49%;font-size:13px;max-width:calc(100% - 34px);padding:15px 14px;line-height:1.7}.drive-hint span{font-size:10px}.drive-hint kbd{font-size:10px;padding:3px 5px}.drive-hint>.icon{height:15px;width:15px}.run-controls{left:12px;right:12px;bottom:47px;gap:9px}.pedal-group{gap:7px}.drive-button{min-width:85px;height:66px;padding:11px 10px;gap:5px;border-radius:12px}.drive-button>span{font-size:12px}.drive-button>.icon{width:20px;height:20px}.drive-button small{font-size:8px;letter-spacing:.8px}.drive-button.accelerator{min-width:105px}.drive-button.boost-button{min-width:88px}.run-bottom-note{left:13px;right:13px;bottom:15px;font-size:10px;gap:4px}.run-bottom-note>span:last-child{display:none}.driving #screen{padding:6px 7px 7px}.driving .topbar{height:57px}.driving .wallet{min-width:70px}.driving .brand{font-size:13px}.driving .brand-symbol{width:29px;height:29px}.driving .full-button{display:none}dialog{padding:24px 21px;border-radius:18px;max-height:90dvh}.dialog-heading h2{font-size:25px}.dialog-heading .eyebrow{font-size:9px}.dialog-intro{font-size:13px;line-height:1.65}.help-steps h3{font-size:14px}.help-steps p{font-size:12px}.result-stats,.career-stats{padding:14px 9px;gap:6px}.result-stats strong,.career-stats strong{font-size:21px}.result-stats>span,.career-stats>span{font-size:9px}.pause-summary{flex-wrap:wrap}.pause-summary span{font-size:11px}.settings-foot{font-size:10px;gap:10px}.settings-foot .text-button .icon{display:none}.settings-backup .button{font-size:12px}.settings-backup>div{gap:10px}.switch-row strong{font-size:14px}.switch-row small{font-size:11px}.receipt-total strong{font-size:25px}#toast{bottom:84px;font-size:12px;line-height:1.5;width:calc(100% - 42px)}.driving #toast{bottom:140px}}
@media(max-height:690px) and (min-width:851px){.topbar{height:62px}.hero{min-height:235px}.hero-copy{top:16px}.hero-copy h1{font-size:26px}.hero-copy>p:last-child{display:none}.machine-name p{display:none}.machine-name h2{font-size:19px}.machine-stats .machine-stat{padding-top:9px;padding-bottom:9px}.mission-ticket{padding:10px 14px}.mission-ticket h3{font-size:16px}.mission-ticket .ticket-icon{height:36px;width:36px}.departure .start-button{min-height:43px;padding-top:10px;padding-bottom:10px}.garage-left{gap:9px}.collection-heading{padding-top:1px;padding-bottom:12px}.collection-heading h1{font-size:27px}.collection-heading>div>p:last-child{margin-top:6px}.collection-heading .eyebrow{margin-bottom:5px}.painted-label{font-size:10px;padding:10px 14px}.run-meters{top:117px;flex-direction:row}.run-meter{min-width:155px;padding:8px}.run-location{padding:10px 13px}.run-location h1{font-size:17px}.run-top{top:15px}.run-controls{bottom:44px}.drive-button{height:61px}.drive-hint{top:49%;padding:12px 20px}}
@media(max-height:500px) and (min-width:600px){.driving .topbar{height:49px}.driving .brand{font-size:13px}.driving .brand-symbol{width:30px;height:30px}.driving #screen{padding:5px}.run-top{left:12px;right:12px;top:9px;flex-wrap:nowrap}.run-location{padding:7px 10px;max-width:235px}.run-location .label{font-size:7px}.run-location h1{font-size:14px;margin:4px 0 0}.run-location>span:last-child{display:none}.run-progress{order:initial;max-width:250px;flex:1;margin:0;padding:8px 10px}.run-progress span{font-size:11px}.run-progress small{font-size:7px}.pause-button{min-width:34px;height:34px;margin:0}.run-meters{top:82px;left:12px;right:auto;flex-direction:row;gap:5px}.run-meter{min-width:120px;max-width:150px;padding:6px 8px;gap:5px}.run-meter>.icon{display:none}.run-meter span{font-size:7px}.run-meter strong{font-size:9px}.run-meter .meter-track{margin-top:4px;height:4px}.run-score{top:70px;right:12px}.run-score>span:first-child{padding:5px 9px;gap:5px}.run-score strong{font-size:15px}.run-score>.icon{width:16px;height:16px}.run-controls{left:14px;right:14px;bottom:31px}.drive-button{height:51px;min-width:95px;padding:7px 11px}.drive-button.accelerator{min-width:120px}.drive-button.boost-button{min-width:105px}.drive-button>span{font-size:12px}.drive-button small{font-size:7px;margin-top:3px}.drive-button>.icon{width:19px;height:19px}.run-bottom-note{bottom:7px;font-size:9px}.run-bottom-note>span:last-child{display:none}.drive-hint{top:48%;font-size:12px;padding:10px 16px}.drive-hint>span{font-size:10px}.drive-hint kbd{font-size:9px}.run-screen{border-radius:8px}.speedometer{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readable workshop copy, including on compact screens. */
.upgrade-info h3{font-size:15px}.upgrade-info h3 small{font-size:11px}.upgrade-info>p{font-size:12px;line-height:1.5}.upgrade-gain,.upgrade-gain strong{font-size:12px}.panel-note{font-size:13px}.module p{font-size:12px}.module h4{font-size:14px}.module-heading span{font-size:11px}.module>button{font-size:12px}.upgrade-buy{font-size:14px;min-height:44px}.module>button{min-height:44px}.module{padding:12px 10px}
@media(max-width:1180px) and (min-width:681px){.upgrade-info h3{font-size:13px}.upgrade-info>p{font-size:11px}.upgrade-gain,.upgrade-gain strong{font-size:11px}.upgrade-buy{font-size:12px}.module p{font-size:11px}}
@media(max-width:680px){.hero-copy h1{font-size:23px;letter-spacing:-.8px}.hero-copy{right:81px}.upgrade-info>p{font-size:12px}.panel-note{font-size:13px}.module p{font-size:12px}.module h4{font-size:14px}}

/* Single-round horde milestones. */
.horde-rule{display:flex;gap:18px;padding:22px 24px;background:#2a4535;border:1px solid #65856866;border-radius:15px;margin:0 0 24px;color:#f4e6bf}.horde-rule>.icon{color:var(--gold);width:30px;height:30px;flex-shrink:0}.horde-rule strong{font-size:18px}.horde-rule p{font-size:15px;line-height:1.65;color:#d3dbca;margin:7px 0 0;max-width:930px}.milestone-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.milestone-card{position:relative;overflow:hidden;border:1px solid #8ca18b40;background:linear-gradient(145deg,#294736,#1a382b);border-radius:18px;padding:22px}.milestone-card.unlocked{border-color:#d6b26d99}.milestone-number{display:grid;grid-template-columns:1fr auto;align-items:center}.milestone-number strong{font-family:Display,Body,sans-serif;font-size:36px;color:#f1ce7d;letter-spacing:-1px}.milestone-number>span{grid-row:2;font-size:13px;color:#d1ddca}.milestone-number>.icon{grid-column:2;grid-row:1/3;width:25px;height:25px;color:#a1b99f}.milestone-card.unlocked .milestone-number>.icon{color:#edca7c}.milestone-card canvas{width:100%;height:160px;display:block;margin:0 0 8px}.milestone-card h2{font-size:22px;letter-spacing:-.7px;margin:0 0 5px}.milestone-card>p{font-size:14px;color:#c1d1ba;margin:0 0 19px}.milestone-track{height:5px;overflow:hidden;border-radius:5px;background:#112c21}.milestone-track i{height:100%;background:#e9c577;display:block}.milestone-status{font-size:13px;color:#d4ddc9;margin:10px 0 15px}.milestone-price{display:flex;gap:7px;align-items:center;font-size:14px;color:#efd291}.milestone-price>.icon{width:18px;height:18px}.horde-note{font-size:14px;line-height:1.6;color:#c4d0bc;margin:23px 3px}.record-note{padding:14px 17px;border:1px solid #a3a98055;border-radius:10px;background:#334b351a;font-size:14px;line-height:1.6;margin-bottom:18px}.unlock-banner{position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:15px;max-width:90%;width:max-content;background:#f3d58c;color:#293d2c;border:2px solid #fff0bf;box-shadow:0 12px 45px #15291e55;border-radius:15px;padding:17px 24px;font-size:16px;pointer-events:none;z-index:4}.unlock-banner[hidden]{display:none}.unlock-banner>.icon{width:31px;height:31px;flex-shrink:0}.unlock-banner strong{display:block;font-size:22px}.module>button{max-width:125px}.run-progress small{white-space:nowrap}
@media(max-width:1000px){.milestone-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.milestone-grid{grid-template-columns:1fr}.milestone-card{padding:20px}.milestone-card canvas{height:180px}.horde-rule{padding:16px;gap:12px}.horde-rule strong{font-size:16px}.horde-rule p{font-size:14px}.progress-stamp{max-width:110px}.progress-stamp strong{font-size:25px}.unlock-banner{font-size:13px;gap:10px;padding:14px 15px}.unlock-banner strong{font-size:18px}.record-note{font-size:13px}}
/* The workshop remains usable on short landscape displays. */
@media(max-height:500px) and (min-width:600px){
 .garage-layout{overflow:hidden}
 .garage-left{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-bottom:10px}
 .hero{height:235px;min-height:235px;flex:0 0 235px}
 .machine-stats,.mission-ticket,.departure{flex-shrink:0}
 .hero-copy{top:18px}.hero-copy h1{font-size:25px}.hero-copy>p:last-child{display:none}
 .machine-name{bottom:12px}.machine-name p{display:none}.machine-name h2{font-size:19px}
}
