@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@500;600;700;800;900&display=swap');
:root{font-family:Nunito,system-ui,sans-serif;color:#203e48;background:#c8edfa;font-synthesis:none;--ink:#203e48;--teal:#1978d2;--cream:#fffcf1;--yellow:#ffd269;--orange:#e57743}*{box-sizing:border-box}body{margin:0;overflow:hidden}button{font:inherit;font-weight:900;cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation;border:0}button:focus-visible{outline:4px solid #ff923d;outline-offset:4px}button:active{transform:translateY(2px)}svg{display:block;width:100%;height:100%;overflow:visible}#playground{width:100%;height:100dvh;min-height:320px;position:relative;isolation:isolate;overflow:hidden}#scene{display:block;width:100%;height:100%;touch-action:none;background:#c8edfa}.topbar{position:absolute;inset:max(18px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) auto max(22px,env(safe-area-inset-left));display:flex;align-items:start;justify-content:space-between;gap:12px;z-index:3;pointer-events:none}.topbar button{pointer-events:auto}.brand{display:flex;align-items:center;gap:10px;background:#fffcf1ed;border:2px solid #fff;padding:12px 16px;border-radius:20px;box-shadow:0 5px 0 #254b5019;line-height:1.15;text-align:left;font-size:11px;letter-spacing:.1em}.brand strong{font-family:Fredoka,system-ui;font-size:22px;letter-spacing:.015em}.brand-symbol{font-family:Fredoka;font-size:34px;font-weight:700;color:#d85b30;transform:rotate(-9deg)}.top-actions{display:flex;gap:10px}.picture-button,.icon-button{background:var(--cream);border:2px solid #fff;box-shadow:0 5px 0 #254b501c;border-radius:19px;display:flex;align-items:center;justify-content:center}.picture-button{flex-direction:column;width:82px;height:80px;gap:2px;font-size:14px}.picture-button>span{width:45px;height:39px}.icon-button{width:56px;height:56px;padding:14px}.journey{position:absolute;top:116px;left:max(22px,env(safe-area-inset-left));display:flex;gap:10px;align-items:center;z-index:2}.star-bank{display:flex;align-items:center;gap:7px;padding:9px 14px;background:#fffcf1ed;border-radius:40px;border:2px solid #fff;font-size:20px}.star-bank span{width:26px;height:26px}.mission-pill{display:flex;align-items:center;gap:9px;padding:10px 14px;background:#fffcf1ed;border-radius:40px;font-size:14px;border:2px solid #fff}.mission-pill>span:first-child{width:27px;height:27px}.mission-pill>span:last-child{background:#e7ede1;border-radius:20px;padding:2px 8px}.view-tools{position:absolute;right:max(22px,env(safe-area-inset-right));top:116px;display:flex;gap:10px;z-index:2}.controls{position:absolute;bottom:max(22px,env(safe-area-inset-bottom));left:max(22px,env(safe-area-inset-left));right:max(22px,env(safe-area-inset-right));display:flex;justify-content:space-between;align-items:end;gap:16px;pointer-events:none;z-index:4}.controls button{pointer-events:auto;user-select:none;touch-action:none;box-shadow:0 6px 0 #203e482d,inset 0 2px #ffffffab;transition:filter .15s}.controls button.held{filter:brightness(.92);transform:translateY(3px)}.steering,.drive-controls{display:flex;gap:10px;background:#fffcf1ed;padding:10px;border-radius:28px;border:2px solid #fff;backdrop-filter:blur(8px)}.steer{width:74px;height:74px;border-radius:20px;padding:19px;background:#dcefff;border:1px solid #becfc4}.drive-controls{align-items:center}.go,.boost{width:96px;height:84px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:21px;font-size:16px}.go{background:#1978d2;color:white;border:1px solid #155ba5}.go span{width:32px;height:32px}.boost{background:#ffd269;color:#62441c;border:1px solid #e5b750}.boost span{width:31px;height:31px}.horn{width:62px;height:74px;padding:17px;background:#f0eddf;border-radius:19px;border:1px solid #d9d7c6}.welcome{position:absolute;inset:0;z-index:5;display:flex;align-items:center;pointer-events:none;background:linear-gradient(90deg,#e6f5ffed 0%,#e6f5ffbc 32%,transparent 68%)}.welcome-copy{margin-left:7%;max-width:510px;pointer-events:auto;padding-top:40px}.eyebrow{font-size:12px;letter-spacing:.17em;color:#b5552f;font-weight:900}.welcome h1{font-family:Fredoka,system-ui;font-size:clamp(44px,5vw,76px);line-height:1.04;letter-spacing:-.025em;margin:18px 0}.welcome em{font-style:normal;color:#1978d2}.welcome p{font-size:18px;color:#48636c;margin-bottom:25px}.primary{background:#1978d2;color:#fff;border:2px solid #155ba5;border-radius:18px;padding:17px 24px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:19px;box-shadow:0 4px 0 #184b8c}.primary>span{width:25px;height:25px}.welcome-hints{display:flex;gap:22px;margin-top:30px;font-size:14px;font-weight:900}.welcome-hints span{display:flex;align-items:center;gap:8px}.welcome-hints i{width:32px;height:28px}.welcome[hidden],*[hidden]{display:none!important}body.welcoming .controls,body.welcoming .journey,body.welcoming .view-tools{opacity:0;pointer-events:none}body.welcoming .controls button{pointer-events:none}#cheer{position:absolute;top:25%;left:50%;transform:translate(-50%,-10px) scale(.9);background:#fffcf1f5;border:2px solid #fff;border-radius:22px;padding:13px 23px;box-shadow:0 7px 0 #234b4220;font-family:Fredoka;font-size:28px;opacity:0;transition:.2s;pointer-events:none;z-index:6;white-space:nowrap}#cheer.show{opacity:1;transform:translate(-50%,0) scale(1)}#save-warning{position:absolute;bottom:140px;left:20px;max-width:350px;background:#fff2d3;padding:10px;border-radius:10px;z-index:5;font-size:14px}
dialog{color:var(--ink);background:var(--cream);border:3px solid #fff;border-radius:30px;padding:28px;width:min(850px,calc(100vw - 28px));max-height:calc(100dvh - 30px);box-shadow:0 25px 100px #15394250;overflow:auto}dialog::backdrop{background:#143d4755;backdrop-filter:blur(8px)}.dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:20px}h2{font-family:Fredoka;font-size:clamp(27px,4vw,36px);font-weight:500;line-height:1.12;margin:7px 0 0}.close{width:42px;height:42px;flex:none;border-radius:50%;background:#e9ede1;font-size:28px;font-weight:600}.garage-layout{display:grid;grid-template-columns:1fr 1fr;gap:25px}.truck-preview{background:radial-gradient(ellipse at 50% 60%,#d1eee4,#e8f5ec 70%);border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;min-height:290px}.truck-preview canvas{width:100%;height:250px;min-height:180px}.truck-preview strong{font-family:Fredoka;font-size:24px;padding:0 10px 15px}.choice-grid{display:grid;gap:8px}.bodies{grid-template-columns:repeat(4,1fr)}.choice-grid button{background:#eeeede;border:2px solid transparent;border-radius:15px;padding:9px 4px;min-height:72px;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:13px}.choice-grid button svg{height:34px;width:56px}.choice-grid button[aria-pressed=true]{border-color:#1978d2;background:#d7efff;box-shadow:0 0 0 2px #1978d212}.garage-options h3{font-size:15px;margin:13px 0 9px}.paints{display:flex;gap:9px;flex-wrap:wrap}.paints button{width:39px;height:39px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #d4d8c9}.paints button[aria-pressed=true]{box-shadow:0 0 0 3px var(--teal)}.wheels{grid-template-columns:repeat(3,1fr)}.wheels button svg{height:31px}.wide{display:flex;width:100%;margin-top:22px}.fine{font-size:14px;color:#617370;line-height:1.5;text-align:center;margin:15px 0 0}.places-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.place{padding:0;overflow:hidden;border:3px solid #e6e7d8;background:#f4f2e7;border-radius:22px;text-align:left}.place[aria-pressed=true]{border-color:var(--teal)}.place-art{height:135px;display:flex;align-items:center;justify-content:center;overflow:hidden}.place-art svg{width:100%;height:100%}.place strong{display:block;font-family:Fredoka;font-size:21px;padding:14px 14px 4px}.place small{display:block;padding:0 14px 16px;color:#62736c;font-size:13px}.option-row{display:flex;align-items:center;gap:20px;border-bottom:1px solid #dddcca;padding:15px 0}.option-row>div{flex:1}.option-row strong{font-size:18px}.option-row p{font-size:15px;margin:4px 0;color:#5d716c;line-height:1.4}.option-row button{min-width:67px;padding:13px;background:#e1e8d9;border-radius:30px}.option-row button[aria-pressed=true]{background:var(--teal);color:#fff}.how p,#parents p{font-size:16px;line-height:1.6}.how h3{font-family:Fredoka;font-size:24px;margin-bottom:10px}.secondary{padding:14px 20px;border-radius:15px;background:#e5ecdf;width:100%;font-size:16px}.sticker{display:flex;align-items:center;gap:18px;background:#f0f0e2;border-radius:20px;padding:16px;margin:10px 0;border:2px solid transparent}.sticker.earned{border-color:#e6bd52;background:#fff0bb}.sticker>svg{width:54px;height:54px;flex:none}.sticker strong{font-family:Fredoka;font-size:22px;font-weight:500}.sticker p{margin:4px 0;color:#63766e;font-size:15px}.sticker>span{margin-left:auto;font-size:20px;white-space:nowrap}#error{position:absolute;inset:20%;padding:30px;background:var(--cream);z-index:10;border-radius:25px}
@media(max-width:650px){.topbar{inset:12px 12px auto;gap:7px}.brand{padding:10px;gap:6px;font-size:8px;border-radius:16px}.brand strong{font-size:17px}.brand-symbol{font-size:27px}.top-actions{gap:6px}.picture-button{width:59px;height:64px;font-size:12px;border-radius:16px}.picture-button>span{width:36px;height:31px}.icon-button{width:44px;height:44px;padding:11px;border-radius:15px}.journey{top:92px;left:12px;gap:7px}.star-bank{font-size:17px;padding:7px 11px}.star-bank span{width:23px;height:23px}.mission-pill{padding:8px 11px;gap:6px;font-size:12px}.mission-pill>span:first-child{width:23px;height:23px}.view-tools{right:12px;top:147px;flex-direction:column}.controls{left:10px;right:10px;bottom:max(14px,env(safe-area-inset-bottom));gap:8px}.steering,.drive-controls{padding:7px;gap:6px;border-radius:23px}.steer{width:51px;height:64px;padding:12px;border-radius:17px}.go,.boost{width:66px;height:72px;font-size:14px;border-radius:17px}.horn{width:44px;height:64px;padding:10px;border-radius:15px}.welcome{align-items:end;background:linear-gradient(0deg,#e6f5ff 0%,#e6f5ffe8 34%,transparent 64%)}.welcome-copy{margin:0 24px 25px;max-width:100%;padding:0}.welcome h1{font-size:43px;margin:12px 0}.welcome p{font-size:16px;margin-bottom:18px}.welcome .primary{width:100%}.welcome-hints{margin-top:18px;gap:19px;font-size:13px}.welcome .eyebrow{font-size:10px}#cheer{font-size:23px;top:27%}.garage-layout{grid-template-columns:1fr;gap:8px}.truck-preview{min-height:175px}.truck-preview canvas{height:155px;min-height:155px}.truck-preview strong{font-size:20px;padding-bottom:10px}.garage-options h3{margin-top:9px}.garage-options .choice-grid button{min-height:64px}dialog{padding:20px;border-radius:24px}.places-grid{grid-template-columns:1fr}.place{display:grid;grid-template-columns:110px 1fr;align-items:center}.place-art{grid-row:span 2;height:100px}.place strong{padding-bottom:0}.place small{padding-top:0}.dialog-head{margin-bottom:12px}.sticker{padding:12px;gap:10px}.sticker strong{font-size:20px}.sticker>svg{width:44px;height:44px}.sticker>span{font-size:16px}.sticker p{font-size:13px}}
@media(max-height:520px) and (min-width:650px){.topbar{top:10px}.brand{padding:8px 12px}.picture-button{height:62px;width:66px}.picture-button>span{height:30px}.journey,.view-tools{top:88px}.controls{bottom:12px}.steer{width:61px;height:59px;padding:15px}.go,.boost{width:80px;height:64px}.horn{height:59px}.welcome-copy{padding:50px 0 0;margin-left:5%}.welcome h1{font-size:48px;margin:10px 0}.welcome p{font-size:15px;margin:0 0 14px}.welcome-hints{margin-top:17px}.welcome .primary{padding:12px 24px}.garage-layout{grid-template-columns:1fr 1fr}.truck-preview canvas{height:185px}.truck-preview{min-height:230px}dialog{padding:19px}.wide{margin-top:15px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.topbar{z-index:7}
@media(max-width:360px){.brand{font-size:7px;padding:9px 7px;gap:5px}.brand strong{font-size:14px}.brand-symbol{font-size:23px}.picture-button{width:51px;height:59px;font-size:11px}.picture-button>span{width:31px;height:28px}.top-actions{gap:5px}.top-actions .icon-button{width:38px;height:42px;padding:9px}.steer{width:42px;height:59px;padding:10px}.go,.boost{width:57px;height:67px}.horn{width:37px;height:59px;padding:8px}.steering,.drive-controls{padding:6px;gap:5px}.mission-pill{font-size:11px;padding:8px}.welcome-copy{margin-inline:18px}.welcome h1{font-size:37px}.welcome-hints{gap:15px}.welcome-hints i{width:26px;height:24px}}

.bodies{grid-template-columns:repeat(3,1fr)}.bodies button{min-height:84px;font-size:14px}.bodies button svg{width:70px;height:45px}.truck-personality{font-size:16px;line-height:1.5;color:#476158;margin:14px 0 0}.lap-number{font-size:14px;border-right:1px solid #b4c3b3;padding-right:10px;margin-right:5px}.truck-preview strong{text-align:center}.garage-layout{grid-template-columns:1fr 1.2fr}@media(max-width:650px){.garage-layout{grid-template-columns:1fr}.bodies button{min-height:70px;padding:6px}.bodies button svg{height:37px}.truck-preview canvas{height:145px;min-height:145px}.lap-number{font-size:12px;padding-right:5px}.star-bank{gap:4px}.truck-personality{font-size:14px}}

.lap-number{white-space:nowrap;flex-shrink:0}
@media(max-width:650px){.journey{right:12px}.star-bank{flex-shrink:0}.mission-pill{min-width:0}.mission-pill #mission-short{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mission-pill #mission-progress{flex-shrink:0}}

.truck-preview{background:radial-gradient(ellipse at 50% 65%,#bce9ff,#e5f5ff 70%)}.primary{background:linear-gradient(#2a9ce9,#1876ce)}.go{background:linear-gradient(#2999e4,#1873c5)}.boost{background:linear-gradient(#ffe16e,#ffc338)}.bodies button[aria-pressed=true]{background:#d7efff;border-color:#1978d2}.brand-symbol{color:#f27929}.lap-number{width:auto!important;display:inline-flex;align-items:center}
.activity-hud{position:absolute;top:177px;left:22px;width:min(320px,calc(100vw - 100px));background:#14334ee8;color:white;border:2px solid #ffcd4c;border-radius:18px;padding:12px 15px;z-index:3;box-shadow:0 4px 0 #13355233}.activity-hud>div{display:flex;justify-content:space-between;gap:12px}.activity-hud strong{font-family:Fredoka;font-size:20px}.activity-hud b{color:#ffda65;white-space:nowrap}.activity-hud p{font-size:14px;line-height:1.4;margin:7px 0}.activity-hud button{background:#ffe183;color:#263d4e;padding:8px 13px;border-radius:12px;font-size:14px}#activity-tabs{display:flex;gap:8px;margin-bottom:18px}#activity-tabs button{padding:12px 22px;border-radius:15px;background:#e8eddf;font-size:16px}#activity-tabs button[aria-selected=true]{background:#1978d2;color:white}.activities-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.activity-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;padding:18px 12px;background:#e9f4f8;border:2px solid #d5e6e9;border-radius:20px;min-height:160px}.activity-card>span{width:64px;height:54px}.activity-card strong{font-family:Fredoka;font-size:21px}.activity-card small{font-size:14px;font-weight:700;line-height:1.4;color:#486574}.activity-card b{position:absolute;right:10px;top:8px;color:#da9b23;font-size:23px}.garage-rewards{margin-top:20px;padding:14px 16px;background:#e8edf0;border-radius:20px}.garage-rewards>strong{font-family:Fredoka;font-size:20px}.garage-rewards>div{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.shelf-item{display:block;width:36px;height:36px;padding:6px;background:#d8e0e3;border-radius:50%;filter:grayscale(1);opacity:.45}.shelf-item.earned{background:#ffe18b;filter:none;opacity:1}.garage-rewards p{font-size:14px;color:#4a6471;margin:9px 0 0}.builder-panel{position:absolute;bottom:140px;left:22px;width:min(520px,calc(100vw - 44px));background:#fffcf1f5;border:2px solid #fff;border-radius:20px;padding:14px;z-index:6;box-shadow:0 5px 0 #203e4820}.builder-panel>strong{font-family:Fredoka;font-size:22px}.builder-panel small{display:block;font-size:13px;margin-top:8px}.builder-panel #build-types{display:flex;gap:8px;margin:10px 0}.builder-panel #build-types button{display:flex;align-items:center;gap:7px;padding:8px;border-radius:12px;border:2px solid transparent;background:#e9eddf;font-size:15px}.builder-panel #build-types span{width:33px;height:28px}.builder-panel #build-types button[aria-pressed=true]{border-color:#1978d2;background:#d9effb}#builder-controls{display:flex;flex-wrap:wrap;gap:7px;align-items:center}#builder-controls button{padding:10px 12px;background:#e0ebef;border-radius:12px;min-width:42px}#builder-controls [data-build-action=place],#builder-controls [data-build-action=test]{background:#1978d2;color:white}#builder-slot{font-size:14px}.view-tools{max-width:190px;flex-wrap:wrap}.activity-menu{background:#ffda72}.welcome h1{font-weight:700;letter-spacing:-.04em}.welcome .primary{background:linear-gradient(#f39c2e,#eb742b);border-color:#bf5e23;box-shadow:0 4px 0 #9b4b1d}.controls .go{background:linear-gradient(#faad37,#eb792b);border-color:#d06b22}.controls .boost{background:linear-gradient(#ffe276,#ffbd29)}
@media(max-width:650px){.activity-hud{top:148px;left:12px;padding:9px 11px;width:calc(100vw - 86px)}.activity-hud strong{font-size:18px}.activity-hud p{font-size:13px}.activities-grid{grid-template-columns:repeat(2,1fr)}.activity-card{min-height:145px;padding:13px 8px}.activity-card strong{font-size:19px}.activity-card>span{height:42px;width:48px}#activity-tabs button{padding:10px 16px}.builder-panel{left:12px;bottom:105px;width:calc(100vw - 24px);padding:11px}.builder-panel>strong{font-size:19px}.builder-panel #build-types button{font-size:13px}#builder-controls button{font-size:13px;padding:8px 10px}.view-tools{max-width:none}.garage-rewards .shelf-item{width:31px;height:31px}.garage-rewards{padding:12px}.garage-rewards>strong{font-size:18px}}
@media(max-height:520px) and (min-width:650px){.activity-hud{top:143px;width:240px;padding:8px 10px}.activity-hud p{font-size:12px}.activity-hud strong{font-size:17px}.view-tools{max-width:220px}.builder-panel{left:240px;bottom:95px;width:calc(100vw - 475px);min-width:340px}.builder-panel small{display:none}.garage-rewards{padding:10px;margin-top:12px}.garage-rewards p{display:none}}
.activity-menu{flex-direction:column;gap:0;padding:6px;height:62px}.activity-menu>span{width:28px;height:28px}.activity-menu b{font-size:12px}@media(max-width:650px){.activity-menu{height:54px;padding:4px}.activity-menu>span{width:25px;height:25px}.activity-menu b{font-size:11px}}
@media(max-height:520px) and (min-width:650px){.activity-hud{width:205px}.activity-hud p{display:none}.activity-hud button{margin-top:7px;padding:6px 10px;font-size:12px}.activity-hud strong{font-size:16px}}
.mobile-steering:not(.show-arrows) .steering{display:none}.mobile-steering:not(.show-arrows) .controls{justify-content:flex-end}.steer-lesson{position:absolute;bottom:160px;left:24px;z-index:5;width:220px;padding:12px 15px;background:#14334ee8;color:#fff;border:2px solid #ffcd4c;border-radius:22px;pointer-events:none;text-align:center;box-shadow:0 5px 0 #15344e22}.steer-lesson strong{display:block;font-family:Fredoka;font-size:23px}.steer-lesson small{font-size:13px;display:block;margin-top:4px}.demo-hand{display:block;font-family:Arial,sans-serif;font-size:35px;line-height:1.15;color:#ffe1a0;animation:slide-demo 1.8s ease-in-out infinite}@keyframes slide-demo{0%,100%{transform:translateX(-33px) rotate(-15deg)}50%{transform:translateX(33px) rotate(15deg)}}.drag-indicator{position:absolute;z-index:6;pointer-events:none;transform:translate(-50%,-50%);width:112px;height:52px;border:2px solid #ffffffb0;border-radius:35px;background:#16375250;box-shadow:0 2px 10px #17344a20}.drag-indicator:before{content:'';position:absolute;width:4px;height:12px;background:#fff7;left:52px;top:18px;border-radius:4px}.drag-indicator span{display:block;position:absolute;left:38px;top:8px;width:32px;height:32px;background:#ffd260;border:3px solid #fff1bd;border-radius:50%;transform:translateX(calc(var(--steer,0)*34px))}@media(max-width:650px){.steer-lesson{left:14px;bottom:125px;width:205px;padding:10px}.steer-lesson strong{font-size:21px}}@media(max-height:520px){.steer-lesson{bottom:100px;left:22px;width:200px;padding:8px}.demo-hand{font-size:28px}.steer-lesson strong{font-size:20px}}@media(prefers-reduced-motion:reduce){.demo-hand{animation:none}}body.welcoming .steer-lesson,body.welcoming .drag-indicator{display:none}
.gentle-motion .demo-hand{animation:none}
/* Two-lap tap racing: shared large picture selectors and two simple driving controls. */
.topbar{display:block;pointer-events:none}.topbar .brand{display:none}.top-actions{width:100%;align-items:start}.top-actions #options-button{margin-left:auto}.top-actions .picture-button{width:116px;height:108px;border-radius:23px;background:#ffe08a;border:3px solid #fff2be;font-size:18px}.top-actions .selector-art{display:block;width:91px;height:65px}.selector-art svg{width:100%;height:100%}.journey{top:145px}.mission-pill{display:none}.view-tools{top:145px;max-width:none;flex-wrap:nowrap}.view-tools #reset-button{display:none}.star-bank>span:first-child{display:none}.star-bank .race-stars{width:auto;font-size:21px;color:#e7ac25}.star-bank{font-size:17px;gap:9px}#race-position{font-family:Fredoka;font-size:23px}.lap-number{border:0;padding:0;margin-right:6px}.controls.race-controls{justify-content:space-between;align-items:end}.race-controls .boost-side{display:flex;align-items:end;gap:10px;pointer-events:none}.race-controls .boost{width:110px;height:114px;border:3px solid #fff5c8;border-radius:27px;font-size:19px}.race-controls .boost span{width:42px;height:42px}.gas-pedal{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:116px;height:152px;border:3px solid #fff1bc;border-radius:29px;background:linear-gradient(#ffdc71,#f2a331);color:#263e4a;font-size:19px;transform-origin:bottom center}.gas-pedal svg{width:58px;height:79px}.gas-pedal.pressed{transform:translateY(4px) rotate(-3deg);filter:brightness(1.1)}.gas-pedal:disabled{opacity:.65}.race-controls meter{display:block;width:72%;height:10px;border:0;pointer-events:none}.race-cue{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);padding:13px 22px;border:3px solid #fff2bd;background:#173b51ed;border-radius:24px;color:#fff7da;font:500 25px Fredoka,system-ui;white-space:nowrap;pointer-events:none;z-index:4}.race-cue.counting{font-size:70px;min-width:110px;text-align:center}.race-controls .horn{width:52px;height:62px}.garage-layout{display:block}.truck-preview{display:none}.garage-options h3,.truck-personality,#garage-rewards,#garage>.wide{display:none}.bodies{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.bodies button{min-height:120px;font-size:17px;padding:12px 5px;border-radius:20px}.bodies button svg{width:100%;height:76px}.places-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.place small{display:none}.place strong{padding-bottom:15px}.places-grid .place{display:block}.place-art{height:170px}.welcome-copy{max-width:480px}.welcome-hints{display:none}#race-results{text-align:center;width:min(500px,calc(100vw - 24px))}.result-flag{font-size:38px}#race-result-truck svg{height:100px;width:160px}#race-place{font-size:68px;color:#bd6c13;margin:0}#race-result-copy{font-size:19px}.result-choices{display:flex;gap:10px;margin-top:15px}.result-choices button{background:#dfebdf;border-radius:16px;min-height:55px;flex:1;padding:12px;font-size:16px}
@media(max-width:650px){.top-actions .picture-button{width:94px;height:94px;font-size:16px}.top-actions .selector-art{width:75px;height:55px}.top-actions{gap:9px}.journey{top:122px;right:auto}.star-bank{padding:7px 10px;gap:5px}.star-bank #stars,.star-bank .race-stars{display:none}#race-position{font-size:20px}.view-tools{top:122px;flex-direction:row;gap:7px}.view-tools .icon-button{width:43px;height:43px}.race-controls .boost{width:92px;height:101px;font-size:17px}.gas-pedal{width:103px;height:137px;font-size:17px}.gas-pedal svg{width:52px;height:68px}.race-controls .horn{width:44px;height:56px}.bodies{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bodies button{min-height:105px;font-size:17px}.bodies button svg{height:65px}.places-grid{grid-template-columns:1fr;gap:12px}.places-grid .place{display:grid;grid-template-columns:130px 1fr}.place-art{height:105px;grid-row:auto}.place strong{padding:12px;font-size:23px}.race-cue{font-size:22px;top:40%}.welcome-copy{margin-bottom:30px}.welcome h1{font-size:40px}.race-controls{bottom:max(17px,env(safe-area-inset-bottom))}}
@media(max-height:520px) and (min-width:650px){.top-actions .picture-button{width:95px;height:77px;font-size:15px}.top-actions .selector-art{height:43px;width:73px}.journey,.view-tools{top:103px}.race-controls .boost{height:89px;width:95px;font-size:16px}.race-controls .boost span{width:32px;height:32px}.gas-pedal{height:108px;width:100px;font-size:16px}.gas-pedal svg{height:52px;width:43px}.race-controls .horn{height:52px}.bodies{grid-template-columns:repeat(5,minmax(0,1fr))}.bodies button{min-height:90px;font-size:15px}.bodies button svg{height:51px}.place-art{height:120px}.race-cue{top:45%}.welcome-copy{padding-top:75px}.welcome h1{font-size:39px}.welcome p{font-size:16px}}
/* Free Drive is a separate open-stadium mode; race controls retain their layout. */
.mode-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:min(100%,420px)}.mode-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:146px;padding:14px;border:3px solid #fff1bb;border-radius:23px;background:#ffdb79;box-shadow:0 5px 0 #9d702936;color:#234450}.mode-choice>span{display:block;width:90px;height:68px}.mode-choice strong{font-family:Fredoka,system-ui;font-size:25px}.mode-choice small{font-size:15px;color:#486466}.mode-choice:nth-child(2){background:#bce3d7;border-color:#eff9e3}.option-modes{width:100%;margin:12px 0 22px}.free-steer,.free-hud,.free-how{display:none}.free-hud{align-items:center;gap:10px;padding:9px 15px;background:#fffbed;border:2px solid #fff;border-radius:35px}.free-hud>span:first-child{font-size:15px}.coin-icon{color:#dfaa2c;font-size:27px;text-shadow:0 1px #916b23}.free-hud strong{font-family:Fredoka;font-size:24px}.free-drive .journey>.star-bank,.free-drive .race-how{display:none}.free-drive .free-hud{display:flex}.free-drive .free-how{display:block}.free-drive .free-steer{display:flex;gap:9px;grid-row:2;grid-column:1/3;pointer-events:none}.free-steer button{width:62px;height:66px;background:#dceef4;border:2px solid #fff;border-radius:19px;padding:14px}.free-drive .race-controls .boost-side{display:grid;grid-template-columns:repeat(2,62px);gap:10px}.free-drive .race-controls #boost{grid-row:1;grid-column:1/3;justify-self:start}.free-drive .race-controls #horn{display:none}.free-drive #play-mode{background:#bce3d7}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:650px){.mode-choice{min-height:126px;padding:10px;gap:4px}.mode-choice>span{width:74px;height:52px}.mode-choice strong{font-size:23px}.mode-choice small{font-size:14px}.welcome-copy{width:calc(100% - 48px)}.free-hud{padding:7px 11px;gap:8px}.free-hud>span:first-child{font-size:14px}.free-hud strong{font-size:21px}.free-drive .race-controls .boost-side{grid-template-columns:repeat(2,52px);gap:8px}.free-steer button{width:52px;height:58px;padding:12px}.free-drive .race-controls #boost{height:86px;width:94px}.free-drive .race-controls #boost span{width:31px;height:31px}}
@media(max-height:520px) and (min-width:650px){.mode-choice{min-height:112px;padding:8px}.mode-choice>span{height:46px;width:66px}.mode-choice strong{font-size:22px}.mode-choice small{font-size:14px}.welcome-copy{padding-top:75px}.welcome h1{font-size:34px}.welcome p{margin-bottom:12px}.free-drive .race-controls .boost-side{display:flex;align-items:end;gap:12px}.free-drive .free-steer button{width:56px;height:61px}.free-drive .race-controls #boost{width:86px;height:83px}.free-hud{padding:7px 12px}}

.free-drive .race-controls .boost-side{display:flex;align-items:end}

.mode-choice{padding:9px;overflow:hidden}.mode-choice>.mode-art{width:100%;height:auto;aspect-ratio:240/130}.mode-art svg{width:100%;height:100%;overflow:hidden}.mode-choice strong{line-height:1.1}.mode-choice small{padding-bottom:4px}@media(max-height:520px) and (min-width:650px){.mode-choice>.mode-art{height:70px;width:100%;aspect-ratio:auto}.mode-art svg{object-fit:contain}.mode-choice{gap:3px}}
/* Small choices stay in picture menus; the driving view stays clear. */
[hidden]{display:none!important}.room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.room-grid button,.arena-choices button,.goal-choices button,.build-pieces button,.pad-choices button{background:#e7f0e7;border:3px solid #d3dfd0;border-radius:21px;padding:12px;display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0}.room-grid button>span{width:100%;height:80px}.room-grid strong{font:500 23px Fredoka,system-ui}.room-grid small{font-size:15px}.room-grid button:hover,.arena-choices button:hover,.goal-choices button:hover{background:#fff0b7}.arena-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.arena-choices strong{font:500 25px Fredoka}.arena-choices small{font-size:15px;color:#536970}.arena-choices button[aria-pressed=true],.goal-choices button[aria-pressed=true],.build-pieces button[aria-pressed=true],.pad-choices button[aria-pressed=true]{border-color:#278a83;background:#fff0bf}.arena-choices svg{width:100%;height:auto;aspect-ratio:1.8}.goal-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.goal-choices button>span{width:67px;height:60px}.goal-choices strong{font:500 21px Fredoka}.goal-choices small{font-size:15px}.goal-dots{display:flex;gap:5px}.goal-dots i{display:block;width:12px;height:12px;border:2px solid #bd9e46;border-radius:50%;background:#fff3cb}.just-play{background:#e4f3f4!important}.sticker-summary{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:8px 0 20px}.sticker-shelf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.memory-sticker{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;background:#ebede4;border:2px dashed #bcc9bd;padding:15px 8px;border-radius:22px}.memory-sticker>span{height:65px;width:65px;filter:grayscale(1);opacity:.45}.memory-sticker strong{font:500 19px Fredoka}.memory-sticker small{font-size:14px;color:#52686a}.memory-sticker.earned{background:#fff0b7;border:3px solid #edbf50;box-shadow:0 4px #c5a14d20}.memory-sticker.earned>span{filter:none;opacity:1}.garage-stickers{display:flex;width:100%;align-items:center;justify-content:center;gap:15px;padding:16px;margin:20px 0 8px;border:2px solid #e8c368;border-radius:20px;background:#fff0b7}.garage-stickers>span{display:flex;height:44px;gap:5px}.garage-stickers svg{height:44px;width:44px}.garage-stickers strong{font-size:18px}.build-pieces{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.build-pieces button{padding:9px 4px;font-size:15px}.build-pieces span{width:52px;height:48px}.pad-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0;background:#bdd8bc;padding:14px;border-radius:25px}.pad-choices button{background:#f5dfad;border-style:dashed}.pad-choices span{width:65px;height:57px}.pad-choices small{font-size:14px}.build-bottom{display:flex;gap:12px;justify-content:space-between;align-items:stretch}.build-bottom button{flex:1;min-height:62px;border-radius:19px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:19px}.build-bottom span{display:block;height:35px;width:35px}.continue-play{display:flex;align-items:center;gap:12px;min-height:64px;border:2px solid #fff2ba;border-radius:19px;background:#224e60;color:#fff9e7;padding:9px 16px;margin:0 0 14px;width:min(100%,420px)}.continue-play span{height:45px;width:55px}.continue-play strong{font-size:18px}#little-goal{position:absolute;left:22px;top:200px;z-index:3;background:#fff8df;border:2px solid #efd17c;border-radius:19px;padding:8px 12px;display:grid;grid-template-columns:37px auto;gap:2px 9px;align-items:center;text-align:left}#little-goal>span{grid-row:1/3;width:37px;height:37px}#little-goal b{font-size:18px}#little-goal small{font-size:14px}.welcoming #little-goal{display:none!important}.top-actions #play-mode{background:#bee2d3}.top-actions #play-mode span{width:45px;height:39px}.top-actions #play-mode{width:78px}.free-drive .race-controls #horn{display:block}#race-achievement{display:flex;align-items:center;justify-content:center;gap:12px;background:#fff0b7;border-radius:20px;padding:15px}#race-achievement svg{width:44px;height:44px}.race-achievement strong{font-size:20px}#race-results .result-flag{display:none}#race-results #race-place{font-size:52px}#race-results #race-result-truck svg{height:110px;animation:truck-win 1.5s ease-in-out infinite}#race-results .result-choices #result-tracks{display:none}#show-stickers{margin:12px 0}.free-drive .option-row.free-how{display:flex}#play-room .room-grid:last-of-type{grid-template-columns:1fr}#play-room .room-grid:last-of-type button{flex-direction:row;justify-content:center}#play-room .room-grid:last-of-type span{width:60px;height:60px}@keyframes truck-win{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg) translateY(-5px)}}.gentle-motion #race-results #race-result-truck svg{animation:none}@media(prefers-reduced-motion:reduce){#race-results #race-result-truck svg{animation:none}}
@media(max-width:650px){.topbar{left:14px;right:14px}.top-actions{gap:6px}.top-actions #play-mode{width:64px;font-size:15px}.top-actions .picture-button{width:83px;height:88px}.top-actions .selector-art{width:67px;height:50px}.top-actions #options-button{width:44px;height:44px;padding:10px}.room-grid{gap:8px}.room-grid button{padding:9px 5px}.room-grid button>span{height:61px}.room-grid strong{font-size:18px}.goal-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.arena-choices strong{font-size:21px}.arena-choices button{padding:8px}.arena-choices small{display:none}.sticker-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.build-pieces{grid-template-columns:repeat(3,minmax(0,1fr))}.pad-choices{gap:7px;padding:10px}.pad-choices button{padding:8px 4px}.pad-choices span{width:52px;height:48px}.build-bottom button{font-size:17px}#little-goal{left:14px;top:177px;padding:6px 9px}.free-drive .race-controls #horn{width:43px;height:52px}.welcome h1{font-size:36px}.welcome-copy{margin-bottom:20px}.welcome p{margin:12px 0}.continue-play{min-height:56px;padding:6px 12px}.continue-play span{height:36px;width:43px}.continue-play strong{font-size:16px}}
@media(max-height:520px) and (min-width:650px){.continue-play{position:absolute;right:25px;bottom:25px;width:220px;margin:0}.welcome-copy{padding-top:45px}.welcome p{margin:10px 0}.welcome h1{font-size:32px}.mode-choices{width:350px}.mode-choice>.mode-art{height:59px}.mode-choice{min-height:110px}#little-goal{top:159px;left:22px}#little-goal small{display:none}.room-grid button>span{height:65px}.room-grid strong{font-size:22px}}
/* The selected truck has a small animated hello in its garage. */
.garage-layout{display:grid;grid-template-columns:180px 1fr;gap:20px;align-items:center}.truck-preview{display:flex;align-items:center;flex-direction:column;min-width:0;background:#dbeee6;border-radius:25px;padding:10px}.truck-preview canvas{display:block;width:100%;height:180px}.truck-preview strong{font:500 23px Fredoka;text-align:center}.truck-personality{display:block;font-size:16px}.garage-options h3{display:none}.garage-layout .bodies{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.garage-layout .bodies button{min-height:100px;padding:8px 4px}.garage-layout .bodies svg{height:60px}.garage-layout .bodies button span{font-size:15px}@media(max-width:650px){.garage-layout{display:flex;flex-direction:column;gap:10px}.truck-preview{width:100%;padding:6px;flex-direction:row;justify-content:center;gap:12px}.truck-preview canvas{width:135px;height:120px}.truck-preview strong{font-size:22px;max-width:130px}.garage-options{width:100%}.garage-layout .bodies{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.garage-stickers{flex-direction:column;gap:8px}}@media(max-height:520px) and (min-width:650px){.garage-layout{grid-template-columns:160px 1fr}.truck-preview canvas{height:150px}}
#little-goal>span{grid-row:1/4}.goal-track{display:flex;gap:4px;grid-column:2}.goal-track i{width:10px;height:10px;border:2px solid #b9aa77;border-radius:50%;background:#fffdf1}.goal-track i.filled{background:#edbc46;border-color:#c89524}@media(max-height:520px) and (min-width:650px){#little-goal>span{grid-row:1/3}.goal-track i{height:8px;width:8px}}
.pad-choices button{box-shadow:inset 0 7px var(--pad-color)}
@media(max-height:520px) and (min-width:650px){#race-results[open]{display:grid;grid-template-columns:120px 1fr;gap:8px 14px;padding:18px;max-width:600px;width:calc(100vw - 48px)}#race-result-truck{grid-column:1;grid-row:1/4;align-self:center}#race-results #race-result-truck svg{width:120px;height:105px}#race-results #race-place{grid-column:2;font-size:38px}#race-results #race-result-copy{display:none}#race-achievement{grid-column:2;padding:10px}#race-achievement strong{font-size:17px}#race-achievement svg{width:30px;height:30px}#race-results>p{grid-column:2;margin:5px 0;font-size:14px}#race-again{grid-column:1/3;min-height:50px;padding:10px}.result-choices{grid-column:1/3;margin:0}.result-choices button{min-height:44px;padding:8px}}
/* Literal pictures and one-tap activity access in both modes. */
.top-actions #places-button{display:none!important}.top-actions #play-mode{width:110px;height:108px;font-size:18px}.top-actions #play-mode .play-selector-art{display:block;width:94px;height:62px}.play-selector-art svg{width:100%;height:100%;overflow:hidden}.quick-play{position:absolute;top:18px;left:270px;right:96px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;z-index:3}.quick-play button{min-width:0;height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:#fff9e8;border:3px solid #fff1b7;border-radius:22px;box-shadow:0 4px #1d4b511c;padding:8px 5px}.quick-play span{display:block;width:100%;height:62px}.quick-play b{font-size:15px;line-height:1.1}.quick-play button:nth-child(2){background:#ddefe6}.quick-play button:nth-child(3){background:#f7dfbf}.quick-play button:nth-child(4){background:#f9ecb5}.welcoming .quick-play{display:none!important}
@media(min-width:651px) and (max-width:1000px){.quick-play{left:230px;right:91px}.quick-play b{font-size:14px}}
@media(max-width:650px){.top-actions #play-mode{width:104px;height:88px;font-size:16px}.top-actions #play-mode .play-selector-art{width:87px;height:53px}.quick-play{top:111px;left:14px;right:14px;gap:6px}.quick-play button{height:74px;border-radius:18px;padding:5px 3px;gap:3px}.quick-play span{height:43px}.quick-play b{font-size:13px}.journey,.view-tools{top:198px}#little-goal{top:250px}.race-cue{top:43%;font-size:19px}.welcoming .journey,.welcoming .view-tools{display:none}.quick-play button:focus-visible{outline-offset:1px}}
@media(max-height:520px) and (min-width:650px){.top-actions #play-mode{width:103px;height:77px;font-size:15px}.top-actions #play-mode .play-selector-art{height:44px;width:90px}.quick-play{top:10px;left:230px;right:91px;gap:7px}.quick-play button{height:77px;border-radius:18px;padding:5px}.quick-play span{height:45px}.quick-play b{font-size:14px}.journey,.view-tools{top:103px}#little-goal{top:159px}}
@media(max-height:520px) and (min-width:651px) and (max-width:740px){.top-actions #garage-button{width:82px}.top-actions #play-mode{width:90px}.top-actions #play-mode .play-selector-art{width:78px}.quick-play{left:210px;right:80px}.quick-play b{font-size:14px}}
/* Driving first: one picture menu, a small score, and two pedals. */
.quick-play,.top-actions #garage-button,.top-actions #places-button,.top-actions #options-button,.view-tools,#little-goal,.controls #horn{display:none!important}.topbar{inset:max(14px,env(safe-area-inset-top)) auto auto max(14px,env(safe-area-inset-left))}.top-actions #play-mode{width:82px!important;height:76px!important;padding:5px;border-radius:20px;font-size:15px;background:#fff4c8}.top-actions #play-mode .play-selector-art{width:65px!important;height:45px!important}.journey{top:max(16px,env(safe-area-inset-top))!important;right:max(14px,env(safe-area-inset-right))!important;left:auto!important}.free-hud{padding:6px 11px;gap:6px;border-radius:25px}.free-hud>span:first-child{display:none}.free-hud .coin-icon{font-size:23px}.free-hud strong{font-size:22px}.star-bank{padding:8px 11px;font-size:14px;gap:7px}.star-bank #stars,.star-bank .race-stars{display:none}.star-bank #race-position{font-size:19px}.race-controls{bottom:max(17px,env(safe-area-inset-bottom))}.race-cue{font-size:18px;top:31%;padding:9px 14px}#cheer{top:22%;font-size:22px;padding:9px 15px;pointer-events:none}.minimal-menu{max-width:700px}.minimal-menu .menu-resume{display:flex;align-items:center;justify-content:center;gap:10px;min-height:55px;margin:0 0 16px;font-size:20px}.menu-resume span{display:block;width:25px;height:25px}.pit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pit-grid button{min-width:0;background:#e5efe4;border:2px solid #d2dfce;border-radius:20px;min-height:110px;padding:10px 5px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px}.pit-grid button>span{display:block;width:100%;height:60px}.pit-grid strong{font:500 20px Fredoka,system-ui}.pit-grid small{font-size:14px}.minimal-menu .menu-modes{margin:12px 0;gap:10px}.minimal-menu .menu-modes .mode-choice{min-height:110px;gap:3px}.minimal-menu .menu-modes .mode-art{height:68px}.minimal-menu .menu-modes strong{font-size:22px}.pit-tools{display:flex;gap:10px}.pit-tools button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:15px;background:#e5e9df;padding:12px 8px;min-height:48px;font-size:15px}.pit-tools span{display:block;width:26px;height:26px}.menu-goal{font-size:15px;margin:10px 0;color:#526a64}.welcoming .journey{display:none!important}@media(max-width:650px){.minimal-menu{padding:20px}.minimal-menu h2{font-size:29px}.pit-grid{gap:8px}.pit-grid button{min-height:94px;padding:8px 3px}.pit-grid button>span{height:48px}.pit-grid strong{font-size:16px}.minimal-menu .menu-modes .mode-choice{min-height:98px}.minimal-menu .menu-modes .mode-art{height:55px}.minimal-menu .menu-modes strong{font-size:20px}.pit-tools{gap:7px}.pit-tools button{flex-direction:column;gap:4px;padding:8px 5px}.minimal-menu .menu-resume{margin-bottom:12px}.free-drive .race-controls #boost{width:91px;height:88px}.gas-pedal{height:125px}.star-bank{gap:5px}.star-bank #race-position{font-size:18px}}
@media(max-height:520px) and (min-width:650px){.top-actions #play-mode{width:77px!important;height:71px!important}.minimal-menu{padding:18px;max-width:720px}.minimal-menu .pit-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.pit-grid button{min-height:88px;padding:6px 3px}.pit-grid button>span{height:45px}.pit-grid strong{font-size:17px}.minimal-menu .menu-modes .mode-choice{min-height:88px;flex-direction:row;gap:12px}.minimal-menu .menu-modes .mode-art{width:110px;height:60px}.pit-tools button{padding:8px}.minimal-menu .menu-resume{min-height:45px;margin-bottom:10px}.minimal-menu .dialog-head{margin-bottom:8px}.minimal-menu .menu-goal{margin:7px 0}}
#cheer{top:77px!important;right:14px;left:auto;max-width:230px;font-size:17px!important;padding:8px 12px!important;border-radius:15px;white-space:normal;text-align:right;transform:translateY(-8px) scale(.96);box-shadow:0 3px #234b4215}#cheer.show{transform:translateY(0) scale(1)}
.menu-goal:empty{display:none}@media(max-height:520px) and (min-width:650px){.minimal-menu[open]{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:9px 14px}.minimal-menu .dialog-head{grid-column:1;grid-row:1;margin:0}.minimal-menu .menu-resume{grid-column:2;grid-row:1;margin:0;min-height:45px;font-size:18px}.minimal-menu .pit-grid{grid-column:1/3;grid-row:2}.minimal-menu .menu-goal{grid-column:1/3;grid-row:3;margin:0}.minimal-menu .menu-modes{grid-column:1;grid-row:4;margin:0}.minimal-menu .menu-modes .mode-art{width:85px}.minimal-menu .menu-modes strong{font-size:20px}.minimal-menu .pit-tools{grid-column:2;grid-row:4;align-items:stretch;gap:6px}.minimal-menu .pit-tools button{flex-direction:column;font-size:14px;padding:6px 3px}}

/* Offroadie title art keeps the child-sized mode choices clear. */
.welcome{background:#c9edfa;overflow-y:auto;pointer-events:auto;isolation:isolate}.welcome-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% center;z-index:-2}.welcome::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#e6f5fff7 0%,#e6f5ffe8 23%,#e6f5ff55 48%,transparent 70%);z-index:-1}.welcome-copy{padding:30px 0;max-width:460px}.welcome h1{font-size:clamp(44px,6vw,82px);color:#126eac;text-shadow:0 3px #fff6c9;line-height:1.08}.welcome p{font-weight:800}.welcome .mode-choice{background:#fffaf0f5}.welcome .eyebrow{font-size:12px}
@media(max-width:650px){.welcome-art{height:62%;object-position:61% center}.welcome::before{background:linear-gradient(0deg,#e6f5ff 0%,#e6f5ff 36%,#e6f5ffcc 48%,transparent 66%)}.welcome-copy{padding:0;margin:0 24px 20px;width:calc(100% - 48px)}.welcome h1{font-size:48px;margin:9px 0}.welcome p{margin:8px 0 14px}.welcome .mode-choice{min-height:115px}.welcome .mode-choice>.mode-art{height:51px}}
@media(max-height:520px) and (min-width:650px){.welcome-copy{padding:14px 0;margin-left:5%;max-width:350px}.welcome h1{font-size:49px;margin:8px 0}.welcome .mode-choice{min-height:98px}.welcome .mode-choice>.mode-art{height:46px}.welcome .continue-play{position:static;width:100%;margin:8px 0}.welcome .eyebrow{font-size:11px}.welcome p{margin:6px 0 10px}}

.town-link{display:block;text-align:center;margin:16px 0 4px;padding:13px 18px;border-radius:16px;background:#dfebdf;color:#203e48;font-weight:900;text-decoration:none;min-height:48px}.town-link:focus-visible{outline:4px solid #ff923d;outline-offset:3px}
