:root{font-family:Bahnschrift,Segoe UI,system-ui,sans-serif;font-synthesis:none;color:#213d46;background:#a6dce7;--ink:#213d46;--paper:#f4f5e9;--accent:#ff7042;--line:#cbd7d0;--control-size:1}*{box-sizing:border-box}body{margin:0;overflow:hidden}h1,h2,h3,p{margin:0}button,input,select{font:inherit}button{min-height:44px;border:0;border-radius:5px;padding:11px 16px;background:#f3f5ec;color:inherit;font-weight:650;cursor:pointer;transition:background .16s,transform .16s}button:hover{background:#fffaf0}button:active{transform:translateY(1px)}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #167f94;outline-offset:3px}.primary{background:var(--accent);color:#182e36}.primary:hover{background:#ff8b59}input,select{max-width:100%}select{min-height:44px;border:1px solid var(--line);border-radius:4px;background:#fffdf4;padding:8px 10px;color:var(--ink)}input[type=range]{accent-color:#258b91;width:150px}input[type=checkbox]{appearance:none;width:44px;height:26px;border-radius:20px;background:#c6d2ca;position:relative;flex-shrink:0;cursor:pointer}input[type=checkbox]:after{content:"";position:absolute;width:20px;height:20px;top:3px;left:3px;border-radius:50%;background:#fff;transition:transform .15s}input[type=checkbox]:checked{background:#208a91}input[type=checkbox]:checked:after{transform:translate(18px)}#world{position:fixed;inset:0;display:block;width:100%;height:100%;touch-action:none}#ui{position:fixed;inset:0;pointer-events:none}#ui button,#ui input,#ui select,.side-panel,.modal,.scrim,.steer-pad,.career-layout{pointer-events:auto}.ui-icon{width:22px;height:22px;display:inline-block;vertical-align:middle;flex-shrink:0}.brand-logo{width:39px;height:34px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;color:#587178}.topbar{height:94px;position:absolute;inset:0 0 auto;display:flex;align-items:center;gap:22px;padding:18px max(36px,env(safe-area-inset-right)) 18px max(36px,env(safe-area-inset-left));z-index:12;background:linear-gradient(#f3f6e6bd,#f3f6e600)}.wordmark{display:flex;align-items:center;gap:10px;line-height:.96;font-weight:800;font-size:19px;letter-spacing:.1em}.wordmark small{display:block;font-size:12px;letter-spacing:.26em;margin-top:5px}.wallet{margin-left:auto;display:flex;gap:10px;align-items:center;font-size:15px;font-variant-numeric:tabular-nums}.wallet>span{display:flex;align-items:center;gap:7px;background:#f4f7ecd9;border:1px solid #ffffff7a;border-radius:5px;padding:10px 13px}.wallet>span .ui-icon{width:18px;height:18px;color:#346c70}.wallet>span:nth-child(2) .ui-icon{color:#cd9254}.icon-button{width:44px;padding:10px;background:#f5f7ecd9}.back{display:flex;align-items:center;gap:10px;background:#f5f7ecd9}.page-title{font-size:20px;font-weight:700;letter-spacing:-.03em}.home-identity{position:absolute;left:40px;bottom:190px}.home-identity h1{font-size:clamp(48px,5.4vw,78px);line-height:1.12;letter-spacing:-.055em;font-weight:750}.identity-stats{display:flex;align-items:center;gap:20px;font-size:12px;color:#4f6c73;margin:14px 0}.identity-stats b{font-size:21px;color:var(--ink);font-weight:600}.customize-link{display:flex;align-items:center;gap:24px;background:transparent;border-bottom:2px solid #45656a;border-radius:0;padding:8px 0;font-size:13px}.customize-link .ui-icon{width:17px}.home-actions{position:absolute;right:36px;bottom:34px;width:310px;display:grid;gap:9px}.next-race{background:#f4f6e8e8;padding:15px 18px;border-left:3px solid #2b8891}.next-race>span{display:block;font-size:11px;color:#4f6d67;letter-spacing:.08em;margin-bottom:5px}.next-race strong{font-size:18px;font-weight:650}.play-button{display:flex;align-items:center;justify-content:space-between;padding:19px 24px;min-height:72px;font-size:28px;letter-spacing:-.02em;border-radius:5px;box-shadow:0 4px #d4502c}.play-button .ui-icon{width:32px;height:32px;stroke-width:2.5}.mode-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}.mode-row button{display:flex;align-items:center;gap:9px;text-align:start;font-size:12px;background:#f5f7eade;min-height:55px}.mode-row .ui-icon{color:#346c70;width:25px;height:25px}.resume-run{display:flex;align-items:center;gap:8px;background:#23545c;color:#fff;font-size:12px;min-height:44px}.resume-run .ui-icon{width:18px}.home-dock{position:absolute;left:36px;bottom:34px;display:flex;gap:9px}.home-dock button{width:106px;min-height:82px;background:#f4f6e8e8;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:12px;border-bottom:3px solid #c5d4c9}.home-dock .ui-icon{width:25px;height:25px;color:#346c70}.side-panel{position:absolute;top:98px;bottom:28px;left:28px;width:340px;padding:23px;background:#f4f6eaf5;border:1px solid #ffffffb8;border-radius:9px;overflow:auto;scrollbar-width:thin;scrollbar-color:#afc2bc transparent;box-shadow:0 14px 40px #22465314}.vehicle-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.vehicle-heading small{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#346c70}.vehicle-heading h2{font-size:36px;line-height:1.2;letter-spacing:-.055em}.vehicle-heading button{padding:8px 10px;font-size:11px;min-height:38px;background:#e1e9dc}.vehicle-heading .selected{color:#277b73;background:#daeee1}.stat-bars{display:grid;gap:9px;margin:21px 0 24px}.stat-bars label{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#587176}.stat-bars meter{width:145px;height:7px;margin-top:2px;appearance:none}.stat-bars meter::-webkit-meter-bar{background:#dae3da;border:0;border-radius:1px}.stat-bars meter::-webkit-meter-optimum-value{background:#4b9a98;border-radius:1px}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;border-bottom:1px solid #c8d4c9;padding-bottom:6px;margin-bottom:18px}.tabs button{font-size:12px;min-height:38px;background:transparent;padding:8px}.tabs button.active{background:#214f59;color:#fff}.vehicle-strip{position:absolute;left:400px;right:28px;bottom:28px;display:flex;gap:7px;padding:5px;overflow:auto;pointer-events:auto;scrollbar-width:thin}.vehicle-strip button{position:relative;min-width:90px;max-width:108px;flex:1;min-height:112px;padding:8px 12px;background:#f3f6e9e8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:2px solid transparent}.vehicle-strip button.active{border-color:#ff7042;background:#fff9e9;box-shadow:0 3px #ff7042}.vehicle-strip strong{font-size:11px;font-weight:650}.craft-icon{height:65px;width:58px;color:#37606b}.vehicle-strip small{position:absolute;top:7px;right:5px;color:#4f6d67}.vehicle-strip small .ui-icon{width:13px;height:13px}.paint-colors{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.paint-colors label{font-size:10px;display:grid;gap:8px;text-align:center;color:#526c72}.paint-colors input{width:100%;height:40px;padding:3px;border:1px solid #c4d2c6;border-radius:4px;background:#fff;cursor:pointer}.swatches{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;margin:12px 0 16px}.swatches button{padding:6px 1px;min-height:38px;background:transparent}.swatches span{display:block;height:22px;border:1px solid #b9c9c8;border-radius:3px}.field{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;margin:10px 0}.field select{width:155px}.split-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.split-fields label{display:grid;gap:7px;font-size:11px}.split-fields select{font-size:12px;width:100%;padding:7px}.button-row{display:flex;gap:8px;margin-top:12px}.button-row button{flex:1;font-size:12px}.presets{display:grid;gap:5px;margin-top:18px;border-top:1px solid #ced8cb;padding-top:12px}.presets>div{display:flex;align-items:center;gap:6px}.presets span{margin-right:auto;font-size:11px;color:#4f6d67}.presets button{padding:8px 13px;min-height:36px;background:#e3eadd;font-size:16px}.upgrade-list>div{padding:16px 0;border-bottom:1px solid #d2dccc;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.upgrade-list span{font-size:12px}.upgrade-list small{display:block;font-size:11px;color:#4f6d67;margin-top:5px}.upgrade-ticks{grid-row:2;display:flex;gap:4px}.upgrade-ticks i{height:5px;width:25px;background:#d2dfd4}.upgrade-ticks i.on{background:#378e8c}.upgrade-list button{grid-column:2;grid-row:1/3;font-size:12px;background:#dceadd;min-width:75px}.subtle{font-size:11px;background:transparent;margin-top:12px;color:#4f6d67}.notice{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.6;color:#7b562f;margin:14px 0}.career-layout{position:absolute;inset:100px 30px 28px;display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;max-width:1180px;margin:auto}.region-tabs{display:flex;flex-direction:column;gap:8px;overflow:auto;scrollbar-width:thin}.region-tabs button{display:grid;grid-template-columns:64px 1fr;grid-template-rows:1fr auto;min-height:86px;padding:0;overflow:hidden;background:#f3f6e9ef;text-align:start;border:2px solid transparent;flex-shrink:0;border-radius:7px}.region-tabs button.active{border-color:#ff7042;background:#fff8e9}.region-tabs .region-art{grid-row:1/3;width:64px;height:86px}.region-tabs span{font-size:12px;line-height:1.2;padding:11px 9px 2px}.region-tabs small{font-size:9px;letter-spacing:.12em;display:block;margin-bottom:4px;color:#4f6d67}.region-tabs b{font-size:10px;padding:3px 9px 10px;color:#4f6d67}.career-detail{overflow:auto;background:#f5f6eaf2;border-radius:9px;scrollbar-width:thin}.region-banner{height:210px;position:relative;overflow:hidden;background:#dcece0}.region-banner>.region-art{width:100%;height:100%;opacity:.7}.region-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f4f5e9ef,transparent)}.region-banner>div{position:absolute;z-index:1;left:26px;top:32px;max-width:70%}.region-banner h2{font-size:34px;letter-spacing:-.04em;margin:10px 0 14px;max-width:310px}.region-banner>div>span:last-child{display:flex;gap:6px;align-items:center;font-size:13px}.region-banner .ui-icon{width:18px;color:#c48e45}.event-grid{padding:20px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.event-card{position:relative;background:#fffdf4;min-height:133px;text-align:start;padding:14px 12px;display:flex;flex-direction:column;gap:8px;border:1px solid #dde2d4}.event-card>strong{font-size:27px;letter-spacing:-.06em;color:#346c70}.event-card>span:not(.stars){font-size:11px;line-height:1.4;flex:1}.event-card>.ui-icon{position:absolute;right:10px;top:14px;width:17px;height:17px;color:#afbbad}.event-card:hover{border-color:#ffad79}.stars{display:inline-flex;gap:5px;direction:ltr;color:#d0dacd}.stars i{font-size:12px;font-style:normal}.stars i.earned{color:#e5a64e}.career-detail>.notice{padding:0 20px}.modal{position:absolute;top:100px;bottom:28px;left:50%;transform:translate(-50%);width:560px;padding:28px;background:#f5f6eaf5;border:1px solid white;border-radius:9px;overflow:auto;scrollbar-width:thin}.modal>h2{font-size:29px;letter-spacing:-.04em;margin-bottom:20px}.setting{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:57px;border-bottom:1px solid #d6dfd0;font-size:13px}.setting>span{display:flex;align-items:center;gap:8px}.setting select{max-width:180px;min-width:120px}.help{padding-top:22px;color:#4f6d67;font-size:12px;line-height:1.8}.help h3{font-size:13px;margin-bottom:6px}.contract{display:flex;gap:15px;align-items:center;border-bottom:1px solid #d1ddcf;padding:20px 0}.contract-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:#e0eadb;border-radius:6px;color:#538c84}.contract-icon .ui-icon{width:26px;height:26px}.contract>div{flex:1}.contract h3{font-size:15px}.contract p{font-size:11px;color:#4f6d67;margin:7px 0}.contract progress{width:100%;height:4px}.contract button{font-size:12px;background:#e6edda}.contract button small{display:block;font-size:10px;font-weight:500;margin-top:6px}.weekly-card,.daily-card{margin-top:22px;padding-top:22px;border-top:1px solid #d1ddcf}.weekly-card h3,.daily-card h3{font-size:17px}.daily-card{display:grid;grid-template-columns:1fr auto;gap:10px}.daily-card p{font-size:12px;grid-row:2}.daily-card button{grid-column:2;grid-row:1/3}.boot{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:#e8f1e3}.boot .brand-logo{width:75px;height:65px}.boot h1{font-size:30px;letter-spacing:-.04em}.boot p{font-size:12px;color:#4f6d67}.boot progress{width:160px;height:4px}.scrim{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:#143f4959}.pause-card,.result-card{background:#f4f5e8;border-radius:10px;padding:32px;max-width:500px;width:100%;max-height:100%;overflow:auto;text-align:center;box-shadow:0 20px 80px #183e4933}.pause-card h2{font-size:32px;letter-spacing:-.04em;margin:5px 0 22px}.pause-card>button{display:block;width:100%;margin-top:9px;background:#e0e9d9}.pause-card>button.primary{background:var(--accent)}.pause-card p{font-size:12px;line-height:1.7;color:#4f6d67;margin-top:18px}.result-card>p{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:#4f6d67}.result-card h1{font-size:112px;line-height:1.25;letter-spacing:-.08em;font-weight:750;color:#244e59}.result-card>.stars i{font-size:25px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:28px 0;gap:10px}.result-stats strong{font-size:23px;display:block;font-weight:650;letter-spacing:-.03em}.result-stats small{font-size:11px;color:#4f6d67;display:block;margin-top:6px}.result-card>.primary{width:100%;min-height:56px;font-size:19px}.result-card .button-row button{background:#e2eadb}progress{appearance:none;border:0;border-radius:2px;overflow:hidden;background:#cbded4}progress::-webkit-progress-bar{background:#cbded4}progress::-webkit-progress-value{background:#3a9996}progress::-moz-progress-bar{background:#3a9996}.race-hud{position:absolute;top:max(24px,env(safe-area-inset-top));left:max(28px,env(safe-area-inset-left));right:max(28px,env(safe-area-inset-right));display:flex;align-items:start;gap:22px;color:#fff}.position{padding:10px 15px;background:#244b56df;border-left:4px solid #ffb762;border-radius:4px;min-width:110px}.position small{font-size:10px;display:block;color:#d2e8db;margin-bottom:4px}.position strong{font-size:29px;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.position em{font-size:14px;font-style:normal;opacity:.7}.race-progress{position:absolute;left:50%;transform:translate(-50%);width:min(31vw,360px);padding:10px 14px;background:#244b56c9;border-radius:4px}.race-progress>div{display:flex;justify-content:space-between;font-size:12px;font-variant-numeric:tabular-nums;margin-bottom:8px}.race-progress progress{height:4px;width:100%;display:block;background:#577c7b}.race-progress progress::-webkit-progress-bar{background:#577c7b}.race-progress progress::-webkit-progress-value{background:#e5f6bc}.race-progress small{display:block;font-size:10px;margin-top:8px;color:#d1e8df}.pause-button{margin-left:auto;color:#f4f5e9;background:#244b56df;width:48px;height:48px;padding:0;display:grid;place-items:center}.pause-button .ui-icon{width:20px;height:20px;stroke-width:2.4}.race-bottom{position:absolute;bottom:28px;left:50%;transform:translate(-50%);display:flex;gap:15px;align-items:center;background:#244b56df;border-radius:6px;padding:12px 20px;color:#fff}.speed-readout{display:flex;align-items:baseline;gap:5px;min-width:88px}.speed-readout strong{font-size:40px;line-height:1;letter-spacing:-.055em;font-style:italic;font-variant-numeric:tabular-nums}.speed-readout span{font-size:10px;color:#c0d8cb}.energy-readout{width:125px}.energy-readout label{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:#c0dbce;margin-bottom:6px}.energy-readout progress{width:100%;height:6px;display:block}.energy-readout progress::-webkit-progress-value{background:#a5edda}.energy-readout .hull{height:3px;margin-top:6px}.energy-readout .hull::-webkit-progress-value{background:#ffc082}.race-message{position:absolute;left:50%;top:26%;transform:translate(-50%);font-size:64px;font-weight:750;letter-spacing:-.05em;color:#fff9e9;text-shadow:0 3px 0 #254e60,0 5px 20px #254e6044}.race-warning{position:absolute;left:50%;top:18%;transform:translate(-50%);font-size:15px;color:#fff;background:#d36d39e8;border-radius:5px;padding:8px 15px}.race-warning:empty{display:none}.weapon-selector{position:absolute;right:28px;top:100px;display:none;gap:6px}.weapon-selector button{min-width:44px;padding:8px;background:#244b56df;color:#f6f5e5}.weapon-selector button.active{background:#ffd083;color:#23474e}body[data-screen=race][data-race-mode=combat] .weapon-selector{display:flex}.steer-pad{position:absolute;left:max(28px,env(safe-area-inset-left));bottom:max(28px,env(safe-area-inset-bottom));width:calc(164px * var(--control-size));height:calc(80px * var(--control-size));border:1px solid #e7f8e999;border-radius:40px;background:#255560a6;display:flex;justify-content:space-around;align-items:center;touch-action:none;color:#f5f9e8;user-select:none}.steer-pad span{font-size:27px}.steer-pad i{height:38px;width:38px;border:1px solid #d7eee199;border-radius:50%;background:#e4f5e833}.action-pad{position:absolute;right:max(28px,env(safe-area-inset-right));bottom:max(28px,env(safe-area-inset-bottom));display:flex;gap:10px;align-items:end;touch-action:none}.action-pad button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;touch-action:none;user-select:none;width:calc(74px * var(--control-size));height:calc(72px * var(--control-size));font-size:10px;padding:7px;border:1px solid #f3f8e78c;background:#244b56ba;color:#fff9ea;border-radius:13px}.action-pad .boost{background:#ed8150e8;height:calc(91px * var(--control-size));color:#fff9e8;font-size:11px}.action-pad .boost .ui-icon{width:29px;height:29px}.action-pad .fire{position:absolute;right:0;bottom:calc(108px * var(--control-size));height:52px;background:#c49c50d9}.action-pad .fire[hidden]{display:none}.left-handed .steer-pad{left:auto;right:max(28px,env(safe-area-inset-right))}.left-handed .action-pad{right:auto;left:max(28px,env(safe-area-inset-left))}.touch-controls,.race-hud,.race-bottom{direction:ltr}.boosting .energy-readout progress::-webkit-progress-value{background:#fff5ab}.toast{position:absolute;left:50%;bottom:18px;transform:translate(-50%,10px);opacity:0;max-width:88vw;background:#214f59f5;color:#fffce9;border-radius:6px;padding:12px 20px;font-size:13px;text-align:center;z-index:40;transition:opacity .16s,transform .16s}.toast.visible{opacity:1;transform:translate(-50%)}.save-status{position:absolute;top:85px;right:28px;font-size:12px;color:#9c4229;background:#fff3db;padding:7px}.save-status:empty{display:none}.large-text{font-size:18px}.large-text button,.large-text .setting{font-size:16px}.high-contrast .race-hud>div,.high-contrast .race-bottom,.high-contrast .steer-pad,.high-contrast .action-pad button{background:#103742f5;border-color:#fff}.high-contrast .race-warning{background:#b63f14}.reduce-motion *{animation:none!important;transition:none!important}[dir=rtl] .wallet{margin-left:0;margin-right:auto}[dir=rtl] .home-identity{left:auto;right:40px}[dir=rtl] .home-actions{right:auto;left:36px}[dir=rtl] .home-dock{left:auto;right:36px}[dir=rtl] .side-panel{left:auto;right:28px}[dir=rtl] .vehicle-strip{left:28px;right:400px}[dir=rtl] .region-banner>div{left:auto;right:26px}[dir=rtl] .presets span{margin-right:0;margin-left:auto}@media(max-width:800px){.topbar{height:76px;padding:12px 18px;gap:12px}.wordmark{font-size:16px;gap:7px}.wordmark small{font-size:10px}.brand-logo{width:31px;height:30px}.wallet{gap:5px;font-size:12px}.wallet>span{padding:8px}.wallet>span .ui-icon{width:15px;height:15px}.wallet .icon-button{width:40px;min-height:40px;padding:9px}.page-title{font-size:18px}.back{padding:8px 10px}.home-identity{top:103px;bottom:auto;left:24px}.home-identity h1{font-size:47px}.eyebrow{font-size:10px}.identity-stats{gap:14px;margin:6px 0;font-size:10px}.identity-stats b{font-size:17px}.customize-link{font-size:11px;min-height:36px;padding:5px 0;gap:15px}.home-actions{left:20px;right:20px;bottom:106px;width:auto;gap:7px}.next-race{padding:10px 14px}.next-race>span{font-size:9px;margin-bottom:4px}.next-race strong{font-size:15px}.play-button{min-height:58px;padding:13px 20px;font-size:24px}.mode-row button{min-height:46px;padding:10px 13px;font-size:11px}.home-dock{left:20px;right:20px;bottom:max(18px,env(safe-area-inset-bottom));gap:7px}.home-dock button{flex:1;width:auto;min-height:66px;font-size:10px;gap:6px}.home-dock .ui-icon{width:22px;height:22px}.garage-hint{left:auto;right:24px;bottom:42%}.side-panel{inset:85px 12px 12px;width:auto;padding:20px}.garage-panel{inset:52% 0 0;padding:20px 24px 30px;border-radius:16px 16px 0 0}.vehicle-strip{inset:80px 12px auto;padding:3px;gap:5px}.vehicle-strip button{min-width:73px;min-height:88px;padding:5px}.craft-icon{height:50px;width:44px}.vehicle-strip strong{font-size:10px}.vehicle-strip small{right:3px;top:3px}.vehicle-heading h2{font-size:31px}.stat-bars{grid-template-columns:1fr 1fr;gap:8px 20px;margin:15px 0}.stat-bars label{font-size:10px;gap:8px}.stat-bars meter{width:65px}.tabs{margin-bottom:14px}.paint-colors input{height:35px}.modal{top:85px;bottom:12px;width:calc(100% - 24px);padding:22px}.career-layout{inset:85px 12px 12px;display:flex;flex-direction:column;gap:12px}.region-tabs{flex-direction:row;overflow:auto;min-height:84px;gap:6px}.region-tabs button{min-width:150px;min-height:80px;height:80px;grid-template-columns:45px 1fr}.region-tabs .region-art{width:45px;height:80px}.region-tabs span{font-size:10px;padding:9px 8px 1px}.region-tabs b{font-size:9px;padding:0 8px 8px}.career-detail{min-height:0;flex:1}.region-banner{height:150px}.region-banner>div{top:22px;left:20px;max-width:80%}.region-banner h2{font-size:27px;margin:7px 0 9px;max-width:250px}.event-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:8px}.event-card{min-height:106px;padding:12px;gap:5px}.event-card>strong{font-size:24px}.event-card>span:not(.stars){font-size:11px}.race-hud{top:max(16px,env(safe-area-inset-top));left:14px;right:14px;gap:10px}.position{min-width:77px;padding:8px 10px}.position strong{font-size:23px}.position small{font-size:9px}.race-progress{width:44vw;padding:8px 10px}.race-progress>div{font-size:10px}.race-progress small{font-size:9px;max-height:26px;overflow:hidden}.pause-button{width:42px;height:42px;min-height:42px;font-size:17px}.race-bottom{bottom:143px;padding:10px 14px;gap:12px}.speed-readout{min-width:68px}.speed-readout strong{font-size:32px}.speed-readout span{font-size:8px}.energy-readout{width:100px}.steer-pad{left:16px;bottom:28px;width:calc(132px * var(--control-size));height:calc(73px * var(--control-size))}.steer-pad span{font-size:24px}.steer-pad i{width:31px;height:31px}.action-pad{right:16px;bottom:28px;gap:7px}.action-pad button{width:calc(62px * var(--control-size));height:calc(62px * var(--control-size));font-size:9px}.action-pad .boost{height:calc(78px * var(--control-size));font-size:10px}.action-pad .fire{bottom:calc(91px * var(--control-size));height:44px}.left-handed .steer-pad{right:16px}.left-handed .action-pad{left:16px}.race-message{font-size:49px;top:25%}.race-warning{top:18%;font-size:11px;max-width:80%}.weapon-selector{top:90px;right:14px}.weapon-selector button{font-size:11px}.result-card,.pause-card{padding:24px}.result-card h1{font-size:87px}.result-stats strong{font-size:17px}.result-stats small{font-size:10px}.result-card .button-row button{font-size:11px;padding:9px}.save-status{top:74px;right:14px}[dir=rtl] .home-identity{right:24px}[dir=rtl] .home-actions,[dir=rtl] .home-dock{left:20px;right:20px}[dir=rtl] .side-panel,[dir=rtl] .vehicle-strip{left:12px;right:12px}[dir=rtl] .garage-panel{left:0;right:0}[dir=rtl] .region-banner>div{right:20px}}@media(max-height:550px)and (min-width:600px){.topbar{height:62px;padding:8px 22px}.home-identity{top:90px;bottom:auto;left:26px}.home-identity h1{font-size:48px}.home-actions{right:24px;left:auto;bottom:22px;width:270px}.home-dock{left:24px;right:auto;bottom:22px}.home-dock button{width:83px;min-height:64px}.next-race{padding:10px 14px}.play-button{min-height:54px;font-size:24px;padding:11px 18px}.mode-row button{min-height:43px;font-size:10px}.garage-hint{display:none}.side-panel{width:300px;inset:72px auto 12px 15px;padding:17px}.garage-panel .stat-bars{display:none}.vehicle-strip{inset:auto 15px 12px 335px}.vehicle-strip button{min-width:70px;min-height:82px}.craft-icon{height:46px}.modal{top:72px;bottom:12px;padding:20px}.career-layout{inset:72px 18px 14px;display:grid;grid-template-columns:165px minmax(0,1fr);gap:12px}.region-tabs{flex-direction:column}.region-tabs button{min-width:0;min-height:65px;height:65px}.region-tabs .region-art{height:65px}.region-banner{height:112px}.region-banner>div{top:15px}.region-banner h2{font-size:23px;margin:6px 0}.event-grid{grid-template-columns:repeat(5,minmax(0,1fr));padding:12px;gap:6px}.event-card{min-height:105px;padding:9px}.event-card>.ui-icon{display:none}.event-card>span:not(.stars){font-size:10px}.race-hud{top:12px}.race-bottom{bottom:18px}.steer-pad{bottom:18px;height:65px;width:130px}.action-pad{bottom:18px}.action-pad button{height:55px}.action-pad .boost{height:66px}.action-pad .fire{bottom:calc(75px * var(--control-size))}.race-message{top:24%;font-size:40px}.weapon-selector{top:76px}.race-warning{top:24%}[dir=rtl] .side-panel{left:auto;right:15px}[dir=rtl] .vehicle-strip{left:15px;right:335px}}@media(max-width:370px){.wallet>span{padding:6px;font-size:10px;gap:4px}.wallet>span .ui-icon{width:13px;height:13px}.wordmark{font-size:14px}.wordmark small{font-size:9px}.brand-logo{width:27px}.topbar{padding:12px;gap:8px}.home-identity{top:90px}.home-identity h1{font-size:40px}.home-actions{left:14px;right:14px;bottom:95px}.home-dock{left:14px;right:14px;bottom:14px}.home-dock button{min-height:61px}.steer-pad{width:116px;left:12px}.action-pad{right:12px;gap:5px}.action-pad button{width:57px}.garage-panel{padding:18px}.setting{font-size:12px;gap:10px}.setting input[type=range]{width:120px}.setting select{min-width:100px}.contract{gap:10px}.contract-icon{width:36px}.contract button{padding:9px}.race-progress{width:43vw}.position{min-width:70px;padding:8px}.position strong{font-size:21px}.race-progress small{font-size:8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto;transition:none!important}}.tabs button,.vehicle-heading button,.presets button,.wallet .icon-button,.pause-button,.customize-link{min-height:44px;min-width:44px}.paint-colors input,input[type=range]{min-height:44px}.swatches{grid-template-columns:repeat(4,minmax(44px,1fr));gap:3px}.swatches button{min-height:44px;padding:7px}.swatches span{height:27px}button,select{min-height:44px;min-width:44px}.race-coach{position:absolute;top:116px;left:50%;transform:translate(-50%);width:min(460px,calc(100% - 28px));display:flex;gap:12px;align-items:center;background:#f6f7e9f5;color:#203d48;padding:10px 12px;border-left:3px solid #ff7042;border-radius:4px;box-shadow:0 5px 20px #17394420;pointer-events:auto}.race-coach[hidden]{display:none}.coach-step{font-size:11px;font-weight:700;white-space:nowrap;opacity:.6}.race-coach>div{display:flex;align-items:center;gap:10px;flex:1}.race-coach .ui-icon{flex:0 0 24px;width:24px;height:24px;color:#346c70}.race-coach p{font-size:13px;line-height:1.35;margin:0}.coach-skip{font-size:11px;background:transparent;border:0;padding:5px 8px;opacity:.7}@media(max-width:600px){.race-coach{top:110px;padding:8px 10px;gap:8px}.race-coach p{font-size:12px}.race-coach .ui-icon{display:none}}@media(max-height:550px){.race-coach{top:91px;width:min(420px,60vw);padding:5px 10px}.race-coach p{font-size:11px}}.race-warning{direction:ltr}.weapon-selector{flex-wrap:wrap;width:152px;gap:6px}.weapon-selector>button{width:46px;height:44px;padding:10px}.weapon-selector>small{flex:0 0 100%;font-size:11px;line-height:1.3;text-align:center;background:#214c58e6;color:#fffce9;border-radius:3px;padding:4px;overflow-wrap:anywhere}.weapon-selector>progress{flex:0 0 100%;width:100%;height:4px;appearance:none;border:0;background:#24535d;border-radius:2px}.weapon-selector>progress::-webkit-progress-bar{background:#24535d}.weapon-selector>progress::-webkit-progress-value{background:#ffd093}.weapon-selector>progress.overheated::-webkit-progress-value{background:#ff7656}.weapon-selector.cooling>button.active{box-shadow:inset 0 -3px #ffca76}.weapon-selector .ui-icon{width:22px;height:22px}@media(max-width:600px){[data-race-mode=combat] .race-coach{top:180px}}@media(max-height:550px){.weapon-selector{top:77px}.weapon-selector>small{font-size:10px}}.result-card h1.metric-result{font-size:clamp(44px,8vw,76px);letter-spacing:-.055em;overflow-wrap:anywhere}.result-unit{font-size:12px;color:#4f6d67;margin:-2px 0 12px}.result-card .assist-offer{width:100%;margin-top:8px;background:#dcebdd;font-size:13px}.result-card .button-row{justify-content:center}.left-handed .action-pad .fire{left:0;right:auto}@media(max-width:600px){body[data-race-mode=power] .race-bottom,body[data-race-mode=combat] .race-bottom{bottom:calc(86px + 91px * var(--control-size))}}.mode-row button span{text-align:start}.mode-row small{display:block;font-size:9px;line-height:1.25;font-weight:500;opacity:1;margin-top:4px}button{overflow-wrap:anywhere}.back,.wallet{flex-shrink:0}.page-title{min-width:0;overflow-wrap:anywhere;line-height:1.1}.region-tabs .region-art{height:100%;min-height:0;max-height:100%;align-self:stretch}.region-tabs span{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){.topbar>.back{width:44px;padding:10px;justify-content:center}.topbar>.back>span{display:none}.topbar>.page-title{font-size:16px}.weekly-card .button-row{display:grid;grid-template-columns:1fr}.weekly-card .button-row button{text-align:start}}.action-pad .fire.cooling{opacity:.65;box-shadow:inset 0 -3px #ffd083}@media(max-height:550px)and (min-width:600px){.region-tabs button{height:88px;min-height:88px}}.large-text .action-pad button{font-size:12px;line-height:1.15;padding:5px}.large-text .action-pad .fire{font-size:11px;padding:4px}.boot{pointer-events:auto}.enter-button{min-width:min(280px,80vw);min-height:64px;padding:16px 28px;font-size:22px}.look-group{margin-top:18px}.look-group h3{font-size:14px;letter-spacing:-.02em}.look-group .hint{font-size:11px;line-height:1.45;color:#4f6d67;margin:4px 0 10px}.part-shop{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:8px 0 12px}.part-details:not([open]) .part-shop{display:none}.part-details[open] .part-shop{display:grid}.part-shop button{min-height:48px;padding:6px 4px;font-size:11px;line-height:1.15;background:#e4ece3}.part-shop button small{display:block;margin-top:3px;color:#9c4229;font-size:10px}.vehicle-strip button.locked .craft-icon{filter:grayscale(1) brightness(.28)}.vehicle-strip button.locked strong{color:#667c82}.swatches button.active span{outline:2px solid #ff7042;outline-offset:2px}.daily-card p{line-height:1.45;grid-column:1 / -1}.daily-card button{grid-row:1}.part-details{margin:8px 0 12px}.part-details summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:12px;font-weight:650}.catalog{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.catalog.pair{grid-template-columns:1fr 1fr}.catalog.trails{grid-template-columns:repeat(4,minmax(0,1fr))}.family{margin:12px 0 6px;font-size:12px;color:#346c70}.part-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;min-height:78px;padding:6px 4px;background:#e7eee4;font-size:11px;line-height:1.15}.part-card strong,.part-card small,.part-card em{display:block;max-width:100%}.part-card small{color:#4f6d67;font-weight:500}.part-card small:empty{display:none}.part-card em{font-style:normal;color:#9c4229}.part-card.owned em{color:#277b73}.part-card.active{outline:2px solid #ff7042;outline-offset:1px}.part-preview{width:100%;height:34px}.finish-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}.finish-chip{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px;font-size:11px}.finish-chip i{display:block;width:100%;height:16px;border-radius:3px;border:1px solid #18334822}.finish-chip.active{outline:2px solid #ff7042;outline-offset:1px}.look-actions{margin-top:14px}.look-actions .button-row{display:flex;flex-direction:column;gap:8px}.look-actions .button-row button{width:100%}.due{margin:0 0 8px;padding:0;list-style:none;font-size:12px;color:#9c4229}.due li+li{margin-top:2px}.mastery-earned{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;color:#346c70;margin:-10px 0 18px}.mastery-earned .ui-icon{width:16px;height:16px}.result-card .vehicle-unlock{display:flex;align-items:center;gap:15px;text-align:start;width:100%;padding:12px 17px;margin:0 0 14px;background:#dcece0;border:1px solid #c1d8cc}.vehicle-unlock .craft-icon{width:45px;height:60px;flex-shrink:0}.vehicle-unlock>span{flex:1;min-width:0}.vehicle-unlock small,.vehicle-unlock strong,.vehicle-unlock em{display:block}.vehicle-unlock small{font-size:11px;font-weight:500;line-height:1.5}.vehicle-unlock strong{font-size:23px;letter-spacing:-.04em;line-height:1.4}.vehicle-unlock em{font-size:11px;font-style:normal;color:#346c70}.vehicle-unlock>.ui-icon{width:20px;flex-shrink:0}[dir=rtl] .vehicle-unlock>.ui-icon,[dir=rtl] .back>.ui-icon{transform:scaleX(-1)}.settings-panel{left:max(36px,env(safe-area-inset-left));right:auto;transform:none;bottom:auto;width:min(520px,calc(100% - 72px));max-height:calc(100dvh - 128px);padding:24px}.settings-panel>h2{margin-bottom:10px}.settings-panel .setting{min-height:50px}.settings-panel .help{padding-top:16px}.settings-panel .help p:last-child{margin-bottom:0}[dir=rtl] .settings-panel{left:auto;right:max(36px,env(safe-area-inset-right))}@media(max-width:800px){.settings-panel{left:12px;right:auto;width:calc(100% - 24px);max-height:calc(100dvh - 97px);padding:22px}[dir=rtl] .settings-panel{left:auto;right:12px}}@media(max-height:550px)and (min-width:600px){.settings-panel{left:22px;max-height:calc(100dvh - 84px);padding:20px}[dir=rtl] .settings-panel{left:auto;right:22px}}.coastal-race{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:10px;padding:12px;background:#dcece0;border:1px solid #94bcb4;color:#244f55;font-weight:700}.dash-pad{position:absolute;left:28px;bottom:116px;display:flex;align-items:center;gap:8px}.dash-pad button{min-width:46px;min-height:44px;border:1px solid #85aaa8;border-radius:12px;background:#244e59e6;color:#fff9e8;font-size:22px;line-height:1}.dash-pad small{display:block;font-size:9px;margin-top:2px}.dash-pad progress{width:38px;height:4px;accent-color:#8bdfd2}.dash-pad button:disabled{opacity:.45}.left-handed .dash-pad{left:auto;right:28px}@media(max-width:370px){.dash-pad{left:12px;bottom:111px;gap:5px}.left-handed .dash-pad{right:12px}.dash-pad progress{width:18px}}.ghost-entry{width:100%;margin-top:7px;background:#32656a;color:#fff9e8;min-height:40px;display:flex;align-items:center;justify-content:center;gap:8px}.trial-menu{position:absolute;inset:110px 8vw 30px;overflow:auto}.trial-menu h1{font-size:32px}.trial-menu p{margin:12px 0 24px;max-width:640px;line-height:1.6}.trial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.trial-card{min-height:160px;background:#dce6dbef;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px solid #a6bdb5}.trial-card svg{width:90px;height:62px}.trial-card small,#hud-ghost{font-variant-numeric:tabular-nums}@media(max-width:600px){.trial-grid{grid-template-columns:repeat(2,1fr);gap:10px}.trial-card{min-height:140px}.trial-menu{inset:95px 16px 20px}.trial-menu h1{font-size:26px}}.section-banner{position:absolute;top:112px;left:50%;transform:translate(-50%);max-width:75vw;padding:9px 16px;border:1px solid #91b8ade0;border-radius:9px;background:#254e59e8;color:#fff9e8;font-size:13px;pointer-events:none;text-align:center}.section-banner[hidden]{display:none}@media(max-height:500px){.section-banner{top:90px;padding:5px 12px;font-size:11px}}.special-modes{display:flex;gap:8px}.special-modes .ghost-entry,.special-modes .coastal-race{width:50%;margin:0;min-height:56px;font-size:12px;line-height:1.35;padding:8px}.special-modes .ui-icon{width:18px;height:18px}@media(max-width:600px){.dash-pad{bottom:106px;left:16px}.left-handed .dash-pad{left:auto;right:16px}.race-bottom{bottom:168px}}@media(max-width:600px)and (max-height:700px){.race-bottom{top:100px;bottom:auto;padding:7px 10px;gap:9px}.speed-readout strong{font-size:28px}.energy-readout{width:90px}.section-banner{top:158px;max-width:94vw;font-size:11px;padding:6px 10px}.race-warning{top:200px}.home-identity{top:80px}.home-identity h1{font-size:34px}.identity-stats{margin:6px 0;font-size:10px}.identity-stats b{font-size:16px}.home-identity .customize-link{display:none}.home-actions{gap:7px}}@media(max-height:550px)and (min-width:600px){.section-banner{top:142px}.race-warning{top:106px}}.trial-menu{pointer-events:auto}.race-notices{position:absolute;top:calc(100% + 10px);left:50%;transform:translate(-50%);width:max-content;max-width:min(75vw,500px);display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none}.race-notices .section-banner,.race-notices .race-warning{position:static;inset:auto;transform:none;max-width:100%;margin:0}.race-notices .race-warning:empty{display:none}@media(max-width:600px)and (max-height:700px){.race-notices{top:calc(100% + 82px);max-width:94vw}}.airbrakes{display:flex;flex-direction:column;gap:4px}.action-pad .airbrakes button{height:44px;min-height:44px;min-width:44px;padding:3px;font-size:13px;line-height:1.1;background:#244e59e6;color:#fff9e8;border:1px solid #85aaa8}.airbrakes span{display:block;font-size:9px}.airbrakes button:active{background:#397e86}.airbrakes button:focus-visible{outline:3px solid #ffcf6f;outline-offset:3px}.action-pad .fire{bottom:96px}.action-pad .absorb{position:absolute;left:0;bottom:96px;height:44px;background:#286d64;color:#fff9e8;font-size:10px;line-height:1.15;gap:2px;padding:4px}.action-pad .absorb[hidden]{display:none}.left-handed .action-pad .fire{left:auto;right:0}.action-pad{direction:ltr}.championship-menu{position:absolute;inset:110px max(16px,calc((100vw - 700px)/2)) 24px;background:#f4f5e9f2;padding:24px;border-radius:12px;overflow:auto;pointer-events:auto}.championship-menu h1{font-size:30px}.championship-menu>p{margin:12px 0;line-height:1.5}.championship-routes{list-style:none;padding:0;margin:16px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.championship-routes li{display:flex;align-items:center;gap:8px;padding:8px;font-size:12px;background:#dae5dc;border-radius:5px}.championship-routes li span{font-weight:750}.championship-routes .done{color:#287a61}.championship-routes .current{outline:2px solid #318b8b;outline-offset:-2px}.standings{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.standings caption{text-align:start;font-weight:750;padding:8px 0}.standings th,.standings td{padding:7px 8px;text-align:start;border-bottom:1px solid #c7d9cf}.standings thead{background:#dce9e0}.standings .player{background:#c4e6d9}.championship-scoring{font-size:11px}.championship-winner{font-weight:750}.championship-menu>.primary{width:100%;margin-top:8px}.home-dock button{min-width:0}.home-dock button span{overflow-wrap:anywhere}@media(max-width:600px){.championship-menu{inset:85px 12px 12px;padding:16px}.championship-menu h1{font-size:25px}.championship-routes li{font-size:11px;padding:6px}.standings th,.standings td{padding:6px}.home-dock button{padding-inline:6px;font-size:9px}}@media(max-height:550px)and (min-width:600px){.championship-menu{inset:72px 18px 12px}}@media(max-width:600px)and (max-height:700px){body[data-race-mode=power] .race-bottom,body[data-race-mode=combat] .race-bottom{bottom:auto}}.special-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.special-modes .ghost-entry,.special-modes .coastal-race{width:100%}.special-modes .reverse-entry{grid-column:1/-1;min-height:44px;padding:6px;font-size:12px;background:#32656a;color:#fff9e8}.direction-tabs{display:flex;gap:8px;margin:12px 0 20px}.direction-tabs button{flex:1;background:#dce6db}.direction-tabs button[aria-pressed=true]{background:#32656a;color:#fff9e8}.ghost-entry:hover,.resume-run:hover,.pause-button:hover{background:#28565c}@media(max-width:600px)and (max-height:700px){.home-actions{grid-template-columns:repeat(2,minmax(0,1fr));max-height:calc(100dvh - 240px);overflow-y:auto;scrollbar-width:thin;pointer-events:auto}.home-actions>.resume-run,.home-actions>.mode-row,.home-actions>.special-modes{grid-column:1/-1}.home-actions>.play-button{padding:10px 12px;font-size:22px}.next-race strong{overflow-wrap:anywhere}body:has(.resume-run) .identity-stats{display:none}}@media(max-height:550px)and (min-width:600px){.home-actions{max-height:calc(100dvh - 100px);overflow-y:auto;scrollbar-width:thin;pointer-events:auto}.home-dock{max-width:calc(100vw - 324px)}[dir=rtl] .home-actions{left:24px;right:auto}[dir=rtl] .home-dock{right:24px;left:auto}}
