*{box-sizing:border-box}body{margin:0;font-family:system-ui,Arial,sans-serif;color:#243b60;background:linear-gradient(180deg,#80cfff,#d1e8f7 35%,#a3bac8);min-height:100vh}header{padding:18px;display:flex;gap:20px;justify-content:space-between;align-items:center;background:#17447d;color:white}header a{color:white;font-weight:800}main{max-width:960px;margin:auto;padding:20px}.intro{text-align:center}.intro h1{color:#19497b;font-size:clamp(2rem,5vw,3rem)}.intro img{height:130px;max-width:160px;object-fit:contain}.shop{background:white;border:5px solid #ffb53e;border-radius:32px;padding:25px;text-align:center;box-shadow:0 12px 30px #235e7930}.progress{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-weight:900}.vehicle{font-size:clamp(6rem,18vw,11rem);background:linear-gradient(135deg,#dff7ff,#f4dcff);border-radius:24px;margin:18px auto;padding:20px;max-width:600px}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.choices button,.card button{font:inherit;font-size:1.15rem;min-height:80px;border:3px solid #559ce7;border-radius:20px;background:#e8f5ff;color:#173e68;font-weight:850;cursor:pointer}.choices button:hover{background:#fff0ac}#feedback{min-height:30px;font-weight:800}.overlay{position:fixed;inset:0;background:#173b7edc;display:grid;place-items:center;padding:20px}.overlay.hidden{display:none}.card{max-width:580px;width:100%;text-align:center;background:#fff4cf;border:6px solid #ffba3b;border-radius:30px;padding:30px;box-shadow:0 0 50px #ffe375}.card h2{font-size:2.2rem;color:#7c3f9e}.card button{padding:12px 30px;background:#ffcf60;min-height:60px}.trophy{font-size:5rem;animation:bob 1s infinite alternate}@keyframes bob{to{transform:translateY(-15px)}}@media(max-width:550px){.choices{grid-template-columns:1fr}.shop{padding:15px}}
/* V37: garage-themed game environment */
.shop{background:linear-gradient(#e9f5ff,#fffaf0);border-color:#ffb637;overflow:hidden}
.garage-scene{position:relative;overflow:hidden;margin:18px auto 24px;max-width:720px;border:6px solid #244d70;border-radius:22px;background:#d4e3ef;box-shadow:inset 0 5px 20px #1e4a7030,0 8px 18px #1d48602b}
.garage-sign{background:#193e62;color:#ffe37b;font-size:clamp(1.1rem,3vw,1.8rem);font-weight:1000;letter-spacing:.08em;padding:10px 5px;border-bottom:6px solid #ffbc39;text-shadow:0 2px #11283b}
.garage-sign span{display:block;color:white;font-size:.6em;letter-spacing:.15em}
.garage-wall{height:145px;position:relative;background:repeating-linear-gradient(0deg,#b6cbd8 0,#b6cbd8 37px,#8faaba 39px,#b6cbd8 41px);border-bottom:8px solid #8296a4}
.tool-rack{position:absolute;left:4%;top:25px;background:#315f7b;border:5px solid #f7d06a;border-radius:12px;padding:12px;font-size:clamp(1rem,3vw,1.8rem);box-shadow:0 7px 0 #183a50}
.garage-window{position:absolute;right:8%;top:14px;background:linear-gradient(#80cfff,#d5f9ff);border:9px solid #f8f0c6;border-radius:12px;width:110px;height:75px;font-size:2rem;display:grid;place-items:center}
.shelf{position:absolute;right:7%;bottom:0;font-size:1.7rem;background:#617d92;padding:4px 8px;border-radius:7px 7px 0 0}
.garage-floor{height:175px;background:repeating-linear-gradient(90deg,#68798a 0,#68798a 85px,#78899b 87px,#78899b 90px);position:relative;display:flex;align-items:center;justify-content:center}
.lift-platform{position:relative;z-index:1;background:linear-gradient(#f3c647,#df942c);width:min(72%,430px);height:30px;border:5px solid #283c4b;border-radius:9px;box-shadow:0 13px 0 #263c4a;display:grid;place-items:center}
.garage-floor .vehicle{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);margin:0;padding:0;background:none;border:0;font-size:clamp(5.5rem,16vw,9rem);line-height:1;max-width:none;filter:drop-shadow(0 8px 3px #0005)}
.floor-stripe{position:absolute;bottom:8px;left:5%;right:5%;border-bottom:7px dashed #ffe46a}
.choices button{transition:transform .12s,background .12s;touch-action:manipulation}
.choices button:active{transform:scale(.97);background:#ffe5a0}
@media(max-width:550px){.garage-wall{height:115px}.garage-floor{height:150px}.garage-window{width:72px;height:58px}.tool-rack{padding:6px}.shelf{font-size:1.2rem}}

/* V38: winning state hides vehicle, and the completion dialog is above the garage. */
.overlay{z-index:1000;overflow:auto;overscroll-behavior:contain;backdrop-filter:blur(8px)}
.overlay .card{position:relative;z-index:1001;max-height:calc(100dvh - 32px);overflow-y:auto}
body.maya-celebrating .garage-scene{visibility:hidden}
body.maya-celebrating .shop{opacity:.45}
