:root{color-scheme:light;--ink:#143747;--muted:#506874;--paper:#fffdf5;--orange:#ff693b;--teal:#007b80;--yellow:#ffd85c;--shadow:0 16px 50px #10334228;font-family:'Trebuchet MS',system-ui,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible,summary:focus-visible{outline:3px solid #0e6f94;outline-offset:4px}[hidden]{display:none!important}.playfield{position:relative;height:100svh;min-height:600px;max-height:1120px;overflow:hidden;background:#a1e5ed;isolation:isolate}#game-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;outline-offset:-4px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.scene-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#fff9e658,transparent 66%),linear-gradient(0deg,#14374722,transparent 25%);z-index:1}.game-header{position:absolute;top:0;left:0;right:0;padding:24px 32px;display:flex;align-items:center;gap:28px;z-index:5;padding-top:max(24px,env(safe-area-inset-top))}.home-link{display:flex;align-items:center;gap:8px;text-decoration:none;font-size:14px;font-weight:700}.home-link>span:first-child{font-size:23px}.wordmark{font-size:22px;font-weight:1000;letter-spacing:-1px;text-decoration:none;display:flex;gap:3px;align-items:center}.wordmark span{color:#d33f1b}.wordmark i{color:var(--ink);font-style:normal;font-size:23px}.header-tools{display:flex;align-items:center;gap:10px;margin-left:auto}.wallet{padding:10px 16px;border-radius:28px;background:#fffdf5e8;font-size:15px;min-width:74px;text-align:center;box-shadow:0 2px 0 #17374712}.wallet>span{color:#be6600}.icon-button{width:40px;height:40px;border:1px solid #1437472b;background:#fffdf5e8;color:var(--ink);border-radius:50%;font-size:20px;font-weight:bold;display:grid;place-items:center}.icon-button[aria-pressed=false]{opacity:.65}.loading-label{position:absolute;top:48%;width:100%;text-align:center;font-size:22px;font-weight:bold}.intro-panel{position:absolute;top:50%;left:7%;transform:translateY(-42%);z-index:2;width:48%;max-width:610px}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:800;line-height:1.6}.intro-panel .eyebrow{display:inline-block;border:1px solid #14374740;border-radius:30px;padding:8px 12px;background:#fffdf5bd;letter-spacing:1.2px}.eyebrow>span{color:#d34c23;margin-right:5px}h1{font-size:clamp(74px,10.4vw,154px);line-height:.82;letter-spacing:-.075em;margin:24px 0 28px;font-weight:1000;text-shadow:0 3px #fff9e6b8;transform:rotate(-4deg)}h1>span{display:block;color:#d84620;position:relative;margin-left:42px}.title-dot{color:var(--ink);display:inline}.intro-copy{font-size:17px;line-height:1.7;font-weight:600;max-width:430px}.intro-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.button{border:0;border-radius:13px;padding:15px 20px;font-weight:800;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:16px;font-size:14px;min-height:46px;transition:transform .15s,background .15s;box-shadow:0 3px 0 #14374718}.button:hover{transform:translateY(-2px)}.button:active{transform:translateY(1px)}.button.primary{background:var(--ink);color:#fffdf5}.button.primary:hover{background:#22576a}.button.light{background:#fffdf5ed;color:var(--ink);border:1px solid #14374722}.button.small{padding:11px 14px;font-size:12px;min-height:42px}.intro-facts{display:flex;flex-wrap:wrap;gap:16px;font-size:9px;letter-spacing:1px;font-weight:900;margin-top:27px}.intro-facts span+span:before{content:'✦';margin-right:16px;color:#c24620}.park-stamp{position:absolute;bottom:48px;right:50px;z-index:2;transform:rotate(7deg);width:145px;height:145px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:var(--yellow);box-shadow:3px 5px #14374725;text-align:center;border:1px solid #14374740}.park-stamp span{font-size:8px;letter-spacing:1px;font-weight:bold}.park-stamp strong{font-size:20px;line-height:.95;letter-spacing:-.7px}.hud{position:absolute;inset:0;z-index:3;pointer-events:none}.hud button,.touch-controls{pointer-events:auto}.hub-card{position:absolute;left:28px;bottom:68px;max-width:325px;border-radius:20px;padding:20px;background:#fffdf5ef;box-shadow:var(--shadow)}.hub-card .eyebrow{margin:0 0 8px;font-size:9px}.hub-card>strong{font-size:23px;letter-spacing:-.7px}.hub-card>p:not(.eyebrow){font-size:13px;line-height:1.5;margin:8px 0 14px}.hub-actions{display:flex;gap:8px}.hub-card>small{display:block;font-size:11px;margin-top:13px;color:var(--muted)}.desktop-controls{position:absolute;bottom:22px;left:0;width:100%;display:flex;justify-content:center;gap:20px;font-size:11px;font-weight:700;color:#163747;background:#fffdf5c4;padding:8px 12px}.desktop-controls span{white-space:nowrap}kbd{font:700 10px system-ui,sans-serif;letter-spacing:.5px;border:1px solid #14374738;border-radius:4px;padding:2px 4px;margin-right:3px;background:#fff8}.race-stats{position:absolute;left:30px;top:100px;display:flex;gap:28px;padding:15px 22px;background:#fffdf5ed;border-radius:18px;box-shadow:var(--shadow)}.race-stats strong{font-size:30px;letter-spacing:-1px;display:block}.race-stats strong>span{font-size:16px;color:var(--muted)}.race-stats small{font-size:8px;letter-spacing:1.2px;font-weight:800}.race-progress{position:absolute;left:50%;top:109px;transform:translateX(-50%);width:180px;text-align:center}.race-progress>span{display:block;font-size:11px;font-weight:bold;margin-bottom:8px;background:#fffdf5de;padding:5px 12px;border-radius:20px}.race-progress progress{width:100%;height:7px}.race-tools{position:absolute;bottom:75px;right:30px;display:flex;gap:12px;align-items:stretch}.boost-meter{width:180px;padding:16px;background:#fffdf5ee;border-radius:16px}.boost-meter>span{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px;font-weight:900;margin-bottom:9px}.boost-meter b{font-size:10px}.boost-meter progress{height:9px;width:100%}progress{appearance:none;border:0;border-radius:10px;overflow:hidden;background:#d1ddd9;accent-color:#e46539}progress::-webkit-progress-bar{background:#d1ddd9}progress::-webkit-progress-value{background:#ed703e;border-radius:10px}progress::-moz-progress-bar{background:#ed703e}.item-slot{display:flex;align-items:center;gap:10px;border:0;border-radius:16px;background:var(--ink);color:#fffdf5;padding:12px 18px;max-width:230px}.item-slot>span:first-child{font-size:26px;color:#ffd85c}.item-slot>span:nth-child(2){font-size:11px;max-width:95px;font-weight:bold}.item-slot kbd{background:#ffffff20;border-color:#ffffff40}.item-slot:disabled{opacity:.8;cursor:default}.countdown{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);z-index:4;font-size:90px;font-weight:1000;color:#fff;text-shadow:0 5px 0 var(--ink),3px 0 var(--ink),-3px 0 var(--ink)}.toast{position:absolute;z-index:8;left:50%;top:190px;transform:translateX(-50%);border-radius:20px;background:var(--ink);color:white;padding:12px 22px;font-size:13px;font-weight:bold;box-shadow:var(--shadow);max-width:85%;text-align:center;pointer-events:none}.storage-note{position:absolute;left:50%;transform:translateX(-50%);bottom:12px;z-index:9;background:#fff1c2;padding:8px 14px;font-size:11px;border-radius:12px;max-width:85%;text-align:center;pointer-events:none}.fallback{position:absolute;inset:110px 24px auto;max-width:480px;margin:auto;background:var(--paper);border-radius:24px;padding:30px;text-align:center;z-index:10}.fallback p{line-height:1.6}.touch-controls{display:none;position:absolute;left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));justify-content:space-between;align-items:flex-end;pointer-events:none}.move-pad{width:112px;height:112px;border-radius:50%;background:#fffdf58c;border:2px solid #fffdf5c9;position:relative;touch-action:none;pointer-events:auto;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.pad-arrows{position:absolute;inset:7px 0;text-align:center;line-height:27px;opacity:.38;font-size:19px;font-weight:900}.move-thumb{position:absolute;left:35px;top:35px;width:38px;height:38px;border-radius:50%;background:#143747b8;pointer-events:none;box-shadow:0 3px 0 #ffffff70}.touch-actions{display:flex;align-items:flex-end;gap:9px;pointer-events:none}.touch-action{width:58px;height:58px;border-radius:50%;background:#fffdf5e8;border:2px solid white;font-size:9px;font-weight:1000;color:var(--ink);box-shadow:0 3px 0 #14374732;touch-action:none;pointer-events:auto;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.touch-action.boost-action{width:72px;height:72px;background:#ff7340;color:#173747}.touch-action.held{transform:scale(.94);background:var(--yellow)}.panel-dialog{border:1px solid #14374720;border-radius:25px;background:var(--paper);color:var(--ink);padding:0;width:min(92vw,440px);max-height:88svh;box-shadow:0 25px 100px #1237474d}.panel-dialog::backdrop{background:#0b263366;backdrop-filter:blur(5px)}.dialog-content{padding:32px;position:relative}.dialog-content>.eyebrow{margin-top:0;color:#ad4828;font-size:9px}.dialog-content h2{font-size:33px;letter-spacing:-1.5px;line-height:1.05;margin:13px 0 18px}.dialog-content>p{font-size:14px;line-height:1.6}.dialog-close{position:absolute;right:14px;top:12px;width:34px;height:34px;background:transparent;border:0;font-size:27px;color:var(--ink);border-radius:50%}.stack{display:flex;flex-direction:column;gap:10px;margin-top:22px}.dialog-home{text-align:center;font-size:12px;text-decoration:none;padding:9px}.fine-print{font-size:11px!important;line-height:1.6;color:var(--muted)}.control-list{font-size:12px}.control-list>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #14374716}.control-list dt{font-weight:bold}.control-list dd{margin:0;text-align:right}.settings{display:flex;flex-wrap:wrap;gap:14px;margin:20px 0}.settings label{display:flex;gap:6px;align-items:center;font-size:12px;font-weight:bold}.settings input{accent-color:var(--teal);width:18px;height:18px}.wardrobe-note{font-size:12px!important}.wardrobe-group{border:0;margin:18px 0;padding:0}.wardrobe-group legend{font-size:11px;font-weight:900;letter-spacing:.5px;margin-bottom:9px}.wardrobe-choices{display:flex;flex-wrap:wrap;gap:6px}.cosmetic-choice{font-size:11px;padding:8px 10px;min-height:38px;border-radius:9px;border:1px solid #1437472b;background:white;color:var(--ink);font-weight:bold}.cosmetic-choice[aria-pressed=true]{background:var(--ink);color:white;box-shadow:0 0 0 2px var(--yellow)}.cosmetic-choice.locked{background:#eeece4}.cosmetic-choice.locked[disabled]{color:#596b70}.color-choice{width:36px;height:36px;border-radius:50%;border:3px solid var(--paper);outline:1px solid #14374730;padding:0}.color-choice[aria-pressed=true]{outline:3px solid var(--ink)}.result-score{display:flex;align-items:baseline;justify-content:space-between;background:var(--yellow);padding:18px 22px;border-radius:16px;margin:20px 0}.result-score strong{font-size:46px;letter-spacing:-2px}.result-score>span{font-size:23px;font-weight:bold}.standings{padding-left:24px;font-size:13px}.standings li{padding:6px 0}.standings li>span{float:right;font-variant-numeric:tabular-nums}.about{max-width:1100px;margin:0 auto;padding:84px 40px;display:grid;grid-template-columns:1fr 1fr;gap:60px}.about h2{font-size:40px;line-height:1.06;letter-spacing:-1.8px;margin:15px 0 25px}.about p{font-size:14px;line-height:1.8;color:var(--muted)}.about-features{display:flex;flex-direction:column;gap:26px}.about-features article{position:relative;padding-left:55px}.about-features article>span{position:absolute;left:0;top:0;border-radius:13px;background:#f6e7d0;width:38px;height:38px;display:grid;place-items:center;font-size:23px;color:#ac4d2e}.about h3{font-size:16px;margin:6px 0}.about-features p{font-size:13px;margin:6px 0}.faq{grid-column:1/-1}.faq h2{font-size:28px;margin:0 0 25px}.faq details{border-top:1px solid #14374725;padding:16px 0}.faq summary{cursor:pointer;font-size:15px;font-weight:bold;line-height:1.5}.faq details p{max-width:850px}footer{padding:28px 35px;display:flex;justify-content:space-between;border-top:1px solid #14374715;font-size:12px;color:var(--muted)}footer a{text-decoration:none}.noscript{padding:20px;position:absolute;left:0;top:110px;background:white;z-index:20}.is-playing .scene-vignette{background:linear-gradient(0deg,#14374720,transparent 20%)}
@media(pointer:coarse){.touch-controls{display:flex}.desktop-controls{display:none}.hub-card{bottom:155px}.race-tools{bottom:155px}.playfield{min-height:540px}.item-slot kbd{display:none}}
@media(max-width:760px){.game-header{padding:18px 18px;gap:14px}.wordmark{font-size:18px}.header-tools{gap:6px}.icon-button{width:35px;height:35px;font-size:18px}.wallet{padding:9px 11px;min-width:54px;font-size:12px}.home-label{display:none}.intro-panel{left:7%;top:auto;bottom:70px;transform:none;width:86%;max-width:480px}.intro-panel .eyebrow{font-size:8px;letter-spacing:.7px}h1{font-size:100px;margin:18px 0 23px;max-width:350px}.intro-copy{font-size:14px;line-height:1.6;max-width:290px;text-shadow:0 1px #fff}.intro-actions{gap:8px;margin-top:19px}.intro-actions .button{font-size:12px;padding:13px 15px}.intro-facts{font-size:7px;gap:8px;margin-top:20px}.intro-facts span+span:before{margin-right:8px}.park-stamp{bottom:40%;right:23px;width:100px;height:100px;gap:6px;transform:rotate(10deg)}.park-stamp strong{font-size:15px}.park-stamp span{font-size:6px}.hub-card{left:15px;bottom:66px;padding:15px;max-width:290px}.hub-card>strong{font-size:20px}.hub-card>p:not(.eyebrow){font-size:12px}.hub-card .eyebrow{font-size:8px}.race-stats{left:15px;top:80px;padding:12px 16px;gap:18px}.race-stats strong{font-size:24px}.race-progress{top:84px;right:16px;left:auto;transform:none;width:110px}.race-progress>span{font-size:9px}.race-tools{right:15px;left:15px;bottom:65px;gap:8px;justify-content:space-between}.boost-meter{width:150px;padding:12px}.item-slot{max-width:170px;padding:10px 12px}.item-slot>span:nth-child(2){font-size:10px}.desktop-controls{gap:9px;font-size:9px;flex-wrap:wrap;bottom:10px}.desktop-controls kbd{font-size:8px}.toast{top:153px;font-size:11px;padding:10px 15px}.about{padding:48px 24px;grid-template-columns:1fr;gap:35px}.about h2{font-size:33px}.faq{grid-column:1}.faq h2{font-size:26px}.about p{font-size:13px}.dialog-content{padding:27px}.dialog-content h2{font-size:29px}.dialog-content>.eyebrow{font-size:8px}.touch-actions{gap:7px}.touch-action{width:50px;height:50px}.touch-action.boost-action{width:62px;height:62px}.move-pad{width:100px;height:100px}.move-thumb{left:29px;top:29px}.pad-arrows{inset:2px 0;line-height:27px}.storage-note{bottom:4px;font-size:9px}footer{padding:25px 20px;gap:20px;font-size:11px}footer>span{display:none}}
@media(max-width:760px) and (pointer:coarse){.hub-card{bottom:142px;max-width:275px}.race-tools{bottom:139px}.storage-note{bottom:123px}}
@media(max-height:540px) and (orientation:landscape){.playfield{min-height:350px;height:100svh}.game-header{padding:10px 18px}.intro-panel{top:80px;bottom:auto;left:6%;width:65%;transform:none}.intro-panel .eyebrow{margin:0;font-size:7px;padding:5px 9px}h1{font-size:67px;margin:15px 0 12px;display:flex;gap:6px}h1>span{margin:0}.intro-copy{font-size:12px;line-height:1.5;max-width:350px}.intro-actions{margin-top:12px}.intro-actions .button{padding:9px 14px;min-height:38px}.intro-facts{margin-top:12px}.park-stamp{bottom:35px;right:40px;width:100px;height:100px}.race-stats{top:65px;padding:8px 14px}.race-stats strong{font-size:22px}.race-progress{top:70px;left:50%;right:auto;transform:translateX(-50%)}.hub-card{left:145px;bottom:24px;max-width:260px;padding:12px}.hub-card>p:not(.eyebrow){margin:5px 0 10px}.hub-card .eyebrow{display:none}.hub-card>small{margin-top:7px}.hub-card>strong{font-size:18px}.race-tools{left:auto;right:20px;bottom:100px}.boost-meter{width:120px;padding:10px}.item-slot{padding:8px 10px;max-width:145px}.item-slot>span:first-child{font-size:22px}.touch-controls{bottom:15px}.move-pad{width:90px;height:90px}.move-thumb{left:24px;top:24px}.pad-arrows{line-height:24px}.touch-action{width:48px;height:48px}.touch-action.boost-action{width:58px;height:58px}.toast{top:120px}.storage-note{bottom:2px}.panel-dialog{max-height:91svh}.countdown{font-size:65px}}
@media(max-width:359px){.game-header{gap:9px;padding-left:12px;padding-right:12px}.wordmark{font-size:16px}.header-tools{gap:4px}.icon-button{width:31px;height:31px}.wallet{font-size:11px;min-width:47px}.intro-panel{bottom:50px}h1{font-size:87px}.intro-copy{font-size:13px}.intro-actions .button{font-size:11px;gap:9px;padding:12px}.park-stamp{right:15px;bottom:43%;width:85px;height:85px}.park-stamp strong{font-size:13px}.park-stamp span{font-size:5px}.touch-controls{left:10px;right:10px}.touch-actions{gap:5px}.touch-action{width:45px;height:45px;font-size:8px}.touch-action.boost-action{width:55px;height:55px}.move-pad{width:90px;height:90px}.move-thumb{left:24px;top:24px}.pad-arrows{line-height:24px}.hub-card{max-width:270px}.race-tools{gap:6px}.boost-meter{width:130px}.item-slot{max-width:155px;gap:6px}.dialog-content{padding:24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:760px) and (orientation:portrait){.park-stamp{top:130px;bottom:auto}}

/* Race choices, park challenges and feedback stay inside the playfield. */
.hub-actions{display:grid;grid-template-columns:1fr 1fr}.hub-actions .button{padding:10px 9px;gap:5px}.boost-meter>small{display:block;font-size:9px;font-weight:700;margin-top:7px;line-height:1.4}.battle-feedback{position:absolute;left:30px;top:193px;max-width:310px;display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:800}.battle-feedback>span{background:#fffdf5ed;padding:9px 13px;border-radius:20px;align-self:flex-start}.battle-feedback>strong{background:#a9312b;color:white;padding:11px 14px;border-radius:12px;line-height:1.5;box-shadow:var(--shadow)}.route-signal{position:absolute;top:155px;left:50%;transform:translateX(-50%);padding:10px 15px;border-radius:20px;background:var(--yellow);max-width:65%;font-size:11px;font-weight:900;text-align:center;box-shadow:var(--shadow)}.challenge-hud{position:absolute;left:28px;top:98px;background:#fffdf5ed;border-radius:15px;padding:14px 15px;display:flex;align-items:center;gap:12px;max-width:375px;box-shadow:var(--shadow)}.challenge-hud strong{display:block;font-size:14px;margin-bottom:5px}.challenge-hud span{display:block;font-size:11px;line-height:1.5}.challenge-hud button{border:0;border-radius:50%;width:30px;height:30px;flex-shrink:0;background:var(--ink);color:white;font-size:20px}.challenge-options article{padding:16px 0;border-top:1px solid #14374722}.challenge-options h3{font-size:16px;margin:0 0 8px}.challenge-options p{font-size:12px;line-height:1.6;color:var(--muted);margin:6px 0 12px}.impact-flash{position:absolute;inset:0;z-index:2;pointer-events:none;border:6px solid #d34f3c90;box-shadow:inset 0 0 45px #d34f3c40}.impact-flash.blocked{border-color:#36c7d7b0;box-shadow:inset 0 0 45px #36c7d740}.mode-guide{grid-column:1/-1;margin:0}.result-score.trial-result strong{font-size:32px}
@media(max-width:760px){.battle-feedback{top:169px;left:15px;max-width:calc(100% - 30px);font-size:10px}.route-signal{top:235px;max-width:90%;width:max-content;font-size:10px}.challenge-hud{top:80px;left:15px;right:15px;max-width:345px;padding:12px}.challenge-hud strong{font-size:13px}.challenge-hud span{font-size:10px}.hub-card{max-width:285px}.boost-meter>small{font-size:8px}.result-score.trial-result strong{font-size:27px}.intro-facts{gap:8px}}
@media(max-height:540px) and (orientation:landscape){.battle-feedback{left:18px;top:124px;max-width:250px;font-size:9px}.route-signal{top:125px;left:auto;right:18px;transform:none;max-width:275px;font-size:10px}.challenge-hud{top:65px;left:20px;right:auto;max-width:320px}.hub-card{bottom:10px;max-width:270px;padding:10px}.hub-card>p:not(.eyebrow){font-size:10px;margin:4px 0 7px}.hub-actions .button{min-height:31px;padding:7px 9px;font-size:10px}.hub-card>small{font-size:9px;margin-top:6px}.boost-meter>small{font-size:8px}.intro-actions{max-width:540px}}
@media(max-width:359px){.hub-card{max-width:270px}.intro-actions .button{font-size:10px;padding:10px 12px}.battle-feedback{font-size:9px}.route-signal{font-size:9px}}
.wardrobe-open{overflow:hidden}
.panel-dialog.wardrobe-dialog{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:100vw;max-height:100vh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;box-shadow:none;background:var(--paper)}
.wardrobe-dialog::backdrop{background:#eef0f3;backdrop-filter:none}
.wardrobe-screen{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}
.wardrobe-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;padding-top:max(16px,env(safe-area-inset-top));padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right));border-bottom:1px solid #1437471f;background:var(--paper)}
.wardrobe-header .eyebrow{margin:0;font-size:9px}.wardrobe-header h2{margin:4px 0 0;font-size:28px;line-height:1.1;letter-spacing:-1px}.wardrobe-header .button{flex-shrink:0;font-size:12px;min-height:44px;padding:12px 16px}
.wardrobe-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,430px);min-height:0;overflow:hidden}
#wardrobe-preview{position:relative;min-width:0;min-height:0;overflow:hidden;background:#eef0f3}
.wardrobe-preview-label{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));left:0;right:0;text-align:center;font-size:9px;letter-spacing:2px;font-weight:800;pointer-events:none}
.wardrobe-customization{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border-left:1px solid #1437471f;padding-bottom:max(24px,env(safe-area-inset-bottom))}.wardrobe-customization>.wardrobe-note{margin-top:0}.wardrobe-customization>.button{width:100%}
@media(max-width:700px) and (orientation:portrait){.wardrobe-header{padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top))}.wardrobe-header h2{font-size:24px}.wardrobe-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(180px,32dvh) minmax(0,1fr)}.wardrobe-customization{border-left:0;border-top:1px solid #1437471f;padding:18px 20px;padding-bottom:max(20px,env(safe-area-inset-bottom))}.wardrobe-preview-label{bottom:10px;font-size:8px}}
@media(max-height:450px) and (orientation:landscape){.wardrobe-header{padding:8px 16px}.wardrobe-header .eyebrow{display:none}.wardrobe-header h2{font-size:23px;margin:0}.wardrobe-workspace{grid-template-columns:minmax(0,1fr) minmax(260px,48%)}.wardrobe-customization{padding:14px 20px}}

/* Speed tour selection and compact, readable race telemetry. */
body[data-course="neon"] .home-link,body[data-course="neon"] .wordmark{color:#fff3d6;text-shadow:0 1px 4px #071226}
.courses-dialog{width:min(1120px,94vw);max-height:92dvh}.courses-dialog>.dialog-content{padding:32px}.courses-dialog h2{font-size:clamp(27px,4vw,42px);margin-bottom:12px}.courses-dialog>.dialog-content>p:not(.eyebrow){max-width:780px}.course-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.course-card{border-radius:18px;overflow:hidden;border:1px solid #14374725;background:#fffdf7;display:flex;flex-direction:column}.course-art{height:135px;position:relative;overflow:hidden;background:linear-gradient(165deg,#7fdbdf 45%,#6dba70 46%,#c1db79);isolation:isolate}.course-art>span{position:absolute;left:15px;top:10px;font-size:50px;line-height:1;font-weight:900;letter-spacing:-4px;color:#ffffffab}.course-art>i{position:absolute;width:175px;height:120px;left:37%;top:45px;transform:rotate(-22deg);border:16px solid #78e0d7;border-top-color:#fff3bc;border-bottom-color:#fff3bc;border-radius:50%;box-shadow:0 7px 0 #275e70,0 10px 0 #efb452}.course-sunset .course-art{background:radial-gradient(circle at 76% 30%,#fff0aa 0 15%,transparent 15.5%),linear-gradient(#f8a68d 45%,#c979b1 46%,#745cbd 62%,#74b6d2)}.course-sunset .course-art>i{border-color:#ffa966;border-top-color:#ffe1b2;border-bottom-color:#ffe1b2;transform:rotate(16deg);left:32%;top:40px;width:220px;box-shadow:0 7px 0 #a34f6c,0 10px 0 #ffe0a9}.course-neon .course-art{background:linear-gradient(150deg,#24295a,#372a63 55%,#135775)}.course-neon .course-art:before{content:'';position:absolute;width:30px;height:90px;left:47%;bottom:0;background:#50659e;box-shadow:38px 20px #31627e,75px -15px #4d4288,-38px 25px #364b75,-75px -10px #464b85}.course-neon .course-art>i{border-color:#59dfdb;border-top-color:#f482d5;border-bottom-color:#f482d5;left:30%;box-shadow:0 0 15px #62e8ef,0 7px 0 #292759}.course-copy{padding:19px;display:flex;flex-direction:column;flex:1}.course-copy .eyebrow{font-size:9px;color:#9c482a;margin:0 0 9px}.course-copy h3{font-size:23px;line-height:1.05;letter-spacing:-.8px;margin:0 0 12px}.course-copy>p:not(.eyebrow){font-size:12px;line-height:1.6;margin:0 0 13px}.course-copy .course-best{color:#536970;font-size:10px!important;margin-top:auto!important;min-height:32px}.course-copy .button{font-size:11px;padding:12px;min-height:45px;width:100%;margin-top:5px}.speed-card{position:absolute;right:30px;top:103px;display:flex;gap:14px;align-items:center;padding:12px 17px;background:#fffdf5ed;border-radius:16px;box-shadow:var(--shadow);font-variant-numeric:tabular-nums}.speed-card>div{display:flex;flex-direction:column;gap:5px}.speed-card strong{font-size:30px;line-height:1;font-weight:900;letter-spacing:-1px}.speed-card b{font-size:10px}.speed-card small{font-size:8px;font-weight:700}.speed-card progress{width:100px;height:7px;accent-color:var(--teal)}.speed-card.super-dash{background:#fff0a8;color:#173747;box-shadow:0 0 0 2px #f9c34b,0 8px 28px #f4d67655}.speed-card.super-dash progress{accent-color:#d45324}
@media(max-width:760px){.courses-dialog>.dialog-content{padding:27px 20px}.course-options{grid-template-columns:1fr;gap:12px;margin:18px 0}.course-card{display:grid;grid-template-columns:82px minmax(0,1fr)}.course-art{height:100%;min-height:195px}.course-art>span{font-size:32px;letter-spacing:-2px;left:10px}.course-art>i{top:75px;left:-20px;width:120px;height:160px;border-width:12px}.course-sunset .course-art>i{width:150px;left:-25px;top:85px}.course-neon .course-art>i{left:-30px}.course-copy{padding:15px}.course-copy h3{font-size:21px}.course-copy>p:not(.eyebrow){font-size:11px;margin-bottom:10px}.course-copy .button{font-size:10px}.course-copy .course-best{font-size:9px!important;min-height:0}.speed-card{right:15px;top:127px;padding:8px 11px;gap:9px;border-radius:12px}.speed-card strong{font-size:22px}.speed-card b{font-size:8px}.speed-card small{font-size:6px}.speed-card progress{width:70px;height:5px}.battle-feedback{max-width:calc(100% - 165px)}.battle-feedback>strong{font-size:9px}.route-signal{top:250px}}
@media(max-height:540px) and (orientation:landscape){.courses-dialog>.dialog-content{padding:22px}.course-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.course-card{display:flex}.course-art{height:75px;min-height:75px}.course-art>i,.course-sunset .course-art>i,.course-neon .course-art>i{top:20px;left:30%;height:90px}.course-copy{padding:12px}.course-copy h3{font-size:18px}.course-copy .button{font-size:10px;padding:9px}.speed-card{top:64px;right:20px;padding:7px 10px}.speed-card strong{font-size:22px}.speed-card small{font-size:6px}.speed-card progress{width:75px}.battle-feedback{max-width:250px}}
@media(max-width:760px) and (orientation:portrait){.battle-feedback{top:195px;max-width:calc(100% - 30px)}.route-signal{top:295px}}
