@font-face{font-family:Outfit;src:url(../fonts/dm-sans.ttf) format("truetype");font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f3f3e9;color:#203d47;font-family:Outfit,system-ui,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.38}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #efad50;outline-offset:4px}svg{width:22px;height:22px;flex-shrink:0}a{color:inherit;text-decoration:none}button{border:0}.shell{max-width:1800px;margin:auto}header{height:98px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #203d4715;background:#f7f7ee}.brand{display:flex;gap:12px;align-items:center;font-weight:800;font-size:19px;letter-spacing:.06em}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:.23em;margin-top:5px;color:#75888a}.brand-mark{width:43px;height:43px;border-radius:14px;background:#244e53;color:#fff;display:grid;place-items:center;box-shadow:0 5px 10px #21454b1a;transform:rotate(-8deg)}.brand-mark svg{transform:rotate(8deg)}.header-right{display:flex;align-items:center;gap:28px}.platform{font-size:10px;font-weight:700;letter-spacing:.1em}.platform span{color:#8a9c9e}.icon-btn{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#ffffff80;color:#315258;border:1px solid #31525820}.experience{position:relative;min-height:480px;height:calc(100svh - 145px);max-height:1100px;overflow:hidden;background:#d7eae4}.scene{position:absolute;inset:0;touch-action:none}.scene canvas{width:100%;height:100%;display:block}.scene-label{position:absolute;top:22px;left:5%;right:5%;display:flex;align-items:center;gap:8px;font-size:9px;font-weight:600;letter-spacing:.18em;pointer-events:none}.live-dot{width:6px;height:6px;background:#487e68;border-radius:50%;box-shadow:0 0 0 4px #ffffff50}.scene-label-right{margin-left:auto;opacity:.55}.home{position:absolute;top:18%;left:6%;width:40%;pointer-events:none}.home:before{content:"";position:absolute;inset:-50px -70px;background:radial-gradient(ellipse,#e6f0e9e8 0%,#e0eee5b0 40%,transparent 70%);z-index:-1}.home button{pointer-events:auto}.eyebrow{font-size:10px;font-weight:600;letter-spacing:.2em;color:#547376;display:flex;align-items:center;gap:8px}.eyebrow>span{width:20px;height:2px;background:#de9864}h1{font-size:clamp(45px,5.6vw,90px);line-height:1.05;letter-spacing:-.055em;font-weight:500;margin:27px 0 24px}h1 em{font-style:normal;color:#31716e}p{font-size:15px;line-height:1.65;color:#617b7e}.primary{display:flex;align-items:center;justify-content:space-between;gap:32px;background:#274f53;color:#fff;border-radius:15px;padding:18px 25px;min-height:57px;font-weight:500;box-shadow:0 7px #173d4215,0 12px 24px #24494b1a;transition:transform .2s,background .2s}.primary:hover{background:#36666b;transform:translateY(-2px)}.home .primary{margin-top:30px;min-width:224px}.home-actions{display:flex;gap:20px;margin-top:24px}.home-actions button{padding:0;background:transparent;font-size:11px;color:#45666a;display:flex;align-items:center;gap:7px}.home-actions svg{width:16px;height:16px}.home-stats{display:flex;gap:28px;margin-top:46px;padding-top:24px;border-top:1px solid #3f706c24;width:fit-content}.home-stats b{display:block;font-size:24px;font-weight:500}.home-stats span{display:block;font-size:9px;color:#6b8584;margin-top:6px}.bottom-note{position:absolute;bottom:34px;left:6%;right:5%;display:flex;justify-content:space-between;font-size:10px;color:#517171}.bottom-note>span:first-child{font-size:8px;letter-spacing:.2em}footer{display:flex;justify-content:space-between;padding:22px 5%;font-size:9px;color:#8a9895}footer>span:first-child{letter-spacing:.16em;font-size:8px}.camera-tools{position:absolute;right:5%;bottom:80px;display:flex;gap:5px;background:#ffffffb3;backdrop-filter:blur(14px);padding:5px;border-radius:13px;border:1px solid #ffffff80}.camera-tools button{background:transparent;width:35px;height:35px;color:#3e6064;font-size:22px;display:grid;place-items:center}.camera-tools svg{width:17px;height:17px}.home[hidden],.bottom-note[hidden]{display:none}body:has(.home:not([hidden])) .scene{left:29%;width:82%}.game-top{position:absolute;top:65px;left:5%;right:5%;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.game-top button{pointer-events:auto}.game-top h2{font-size:34px;font-weight:500;letter-spacing:-.04em;margin:6px 0;color:#254e51}.level-stars{font-size:17px;color:#d89339;margin-left:13px}.progress-pill{position:absolute;bottom:170px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:15px;background:#f8fbf1dd;backdrop-filter:blur(16px);border:1px solid #ffffffbd;border-radius:30px;padding:12px 20px;font-size:11px;white-space:nowrap;box-shadow:0 5px 18px #3c64641c}.progress-pill b{font-size:15px}.progress-track{width:110px;height:4px;background:#d4dfd7;border-radius:10px;overflow:hidden}.progress-track i{display:block;height:100%;background:#4e9c87;transition:width .5s}.game-bottom{position:absolute;bottom:65px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:5px;padding:9px 14px;border-radius:22px;background:#f9faf2e8;box-shadow:0 10px 30px #29484e1c;backdrop-filter:blur(15px);border:1px solid white}.tool{display:flex;flex-direction:column;align-items:center;gap:6px;background:transparent;color:#4f7175;padding:12px 20px;border-radius:12px;font-size:9px}.tool:hover{background:#e3ece4}.tool svg{width:22px;height:22px}.move-stat{min-width:63px;padding:0 18px 0 8px;border-right:1px solid #b9ccca;text-align:center}.move-stat strong{font-size:24px;font-weight:500;display:block}.move-stat span{font-size:9px;color:#879898}.instruction{position:absolute;bottom:35px;width:100%;text-align:center;font-size:10px;color:#5c7c7b}.accessible-cars{position:absolute;left:5%;bottom:80px}.accessible-cars button{background:#fffa;border-radius:20px;padding:8px 12px;color:#537574;font-size:9px}.modal-backdrop{position:fixed;inset:0;background:#15363b6e;backdrop-filter:blur(9px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:5;animation:appear .2s}.dialog{position:relative;background:#f7f8f0;border:1px solid #fff;border-radius:28px;padding:44px;max-width:470px;width:100%;max-height:90svh;overflow:auto;box-shadow:0 25px 80px #15353b40;animation:rise .3s}.dialog.wide{max-width:790px}.dialog h2{font-size:36px;font-weight:500;line-height:1.12;letter-spacing:-.04em;margin:16px 0}.dialog p{font-size:13px}.dialog-close{position:absolute;right:14px;top:14px;width:33px;height:33px}.dialog-close svg{width:17px}.full{width:100%;margin-top:14px}.secondary{border:1px solid #becfca;background:transparent;border-radius:13px;color:#43686a;padding:15px;display:flex;gap:12px;align-items:center;justify-content:center}.theme-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:23px 0}.theme-tabs button{border:1px solid #bdd0c6;padding:9px 13px;background:transparent;border-radius:18px;font-size:10px;color:#5a7877}.theme-tabs .active{background:#315e5e;color:#fff;border-color:#315e5e}.level-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.level-grid button{background:#e3ebe3;border:1px solid #cddcd1;min-height:76px;border-radius:13px;color:#496b68}.level-grid button b{font-size:23px;font-weight:500;display:block}.level-grid button span{font-size:8px;letter-spacing:.1em;color:#899e93;margin-top:4px;display:block}.level-grid .complete{background:#cce6d7}.level-grid .complete span{color:#d39637;font-size:11px}.collection-note{margin-top:22px;font-size:11px;color:#728b83}.setting{padding:18px 0;border-bottom:1px solid #d6e0d6;display:flex;gap:12px;align-items:center;justify-content:space-between}.setting strong{font-size:13px;font-weight:500;display:block}.setting small{font-size:10px;color:#86998e;display:block;margin-top:5px}.setting input{accent-color:#3f7b70;width:21px;height:21px;flex-shrink:0}.muted{font-size:10px!important;color:#8a9b90!important}.victory-emblem{width:70px;height:70px;border-radius:23px;background:#d4e8d6;color:#498273;display:grid;place-items:center;margin:auto auto 22px;transform:rotate(-6deg)}.victory-emblem svg{width:34px;height:34px}.dialog:has(.victory-emblem){text-align:center}.dialog:has(.victory-emblem) .eyebrow{justify-content:center}.big-stars{color:#e9ac49;font-size:38px;letter-spacing:8px}.big-stars span{color:#d8e0d2}.victory-stats{display:flex;justify-content:center;gap:35px;padding:20px 0}.victory-stats b{display:block;font-size:24px;font-weight:500}.victory-stats small{font-size:10px;color:#8a9b90}.achievement{font-size:10px;background:#e8eee0;padding:11px;border-radius:9px;color:#6c8a6b}.car-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:11px}#toast{position:fixed;top:115px;left:50%;transform:translate(-50%,-15px);padding:14px 22px;color:#fff;background:#31565df2;box-shadow:0 8px 25px #173d422e;border-radius:14px;font-size:12px;z-index:8;opacity:0;pointer-events:none;transition:.2s;max-width:90%;text-align:center}#toast.visible{opacity:1;transform:translate(-50%)}#confetti{position:fixed;inset:0;pointer-events:none;z-index:9;overflow:hidden}#confetti i{position:absolute;top:-20px;left:var(--x);width:8px;height:14px;background:var(--color);animation:fall 2.2s var(--delay) ease-in both}.graphics-error{padding:160px 30px;text-align:center}html[data-theme="2"] .game-top h2,html[data-theme="2"] .scene-label,html[data-theme="2"] .instruction{color:#d6e9eb}html[data-theme="2"] .eyebrow{color:#b7d0d1}@keyframes appear{0%{opacity:0}to{opacity:1}}@keyframes rise{0%{opacity:0;transform:translateY(15px) scale(.98)}to{opacity:1;transform:none}}@keyframes fall{to{transform:translate(50px,110vh) rotate(550deg);opacity:.3}}@media(min-width:1300px){body:has(.home:not([hidden])) .scene{left:31%;width:76%}}@media(max-width:700px){header{height:78px;padding:0 6%}.brand{font-size:15px;gap:9px}.brand-mark{width:36px;height:36px;border-radius:12px}.brand small{font-size:6px}.header-right{gap:8px}.platform{display:none}.icon-btn{width:36px;height:36px}.experience{height:calc(100svh - 128px);min-height:640px;max-height:none}.scene-label{top:19px;left:6%}.scene-label-right{display:none}.home{top:54px;left:7%;width:86%}h1{font-size:48px;margin:19px 0 13px;line-height:1.04}.home p{font-size:12px;margin:0}.desktop{display:none}.eyebrow{font-size:8px}.home .primary{padding:14px 19px;min-height:49px;min-width:195px;margin-top:20px;font-size:12px;display:inline-flex}.home-actions{gap:21px;margin-top:16px}.home-actions button{font-size:10px}.home-stats{position:absolute;top:505px;margin:0;padding-top:18px;gap:35px}.home-stats b{font-size:21px}.home-stats span{font-size:8px}body:has(.home:not([hidden])) .scene{left:0;width:100%;top:235px;height:390px}.bottom-note{display:none}footer{padding:15px 6%;font-size:8px}footer>span:first-child{font-size:6px;letter-spacing:.07em}.camera-tools{bottom:175px;right:6%;padding:3px}.camera-tools button{width:28px;height:28px}.game-top{top:54px;left:6%;right:6%}.game-top h2{font-size:29px}.game-bottom{bottom:58px;gap:0;padding:7px 9px;width:90%;justify-content:space-around;border-radius:18px}.tool{padding:10px}.move-stat{min-width:45px;padding-right:12px;padding-left:3px}.progress-pill{bottom:158px;padding:10px 15px;gap:10px;font-size:10px}.progress-track{width:70px}.instruction{bottom:32px;font-size:9px}.accessible-cars{bottom:117px;left:6%}.camera-tools:has(~.home[hidden]){bottom:117px}.dialog{padding:36px 25px;border-radius:23px}.dialog h2{font-size:30px}.level-grid{gap:7px}.level-grid button{min-height:61px}.level-grid button b{font-size:19px}.theme-tabs button{font-size:9px;padding:8px 10px}#toast{top:90px;font-size:11px;min-width:250px}}@media(max-height:550px)and (min-width:701px){header{height:65px}.experience{min-height:360px;height:calc(100svh - 100px)}.home{top:14%}h1{font-size:45px;margin:15px 0}.home-stats,.bottom-note{display:none}.home .primary{margin-top:16px;min-height:42px;padding:12px 20px}.home-actions{margin-top:14px}.game-top{top:44px}.game-bottom{bottom:35px}.instruction{bottom:12px}.progress-pill{bottom:140px}.camera-tools,.accessible-cars{bottom:40px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}html:has(#set-reduced:checked) *{animation:none!important}@media(orientation:landscape)and (max-height:550px){header{height:60px}.experience{min-height:270px;height:calc(100svh - 92px)}footer{height:32px;padding:10px 5%}.game-top{top:42px}.game-top h2{font-size:24px}.progress-pill{inset:12px 78px auto auto;transform:none;font-size:9px;padding:8px 12px}.progress-track{width:58px}.game-bottom{bottom:29px;padding:3px 10px;min-width:320px;width:auto;border-radius:15px}.tool{padding:8px 12px}.tool svg{width:17px;height:17px}.move-stat strong{font-size:19px}.instruction{bottom:8px;font-size:8px}.accessible-cars{bottom:35px}.camera-tools,.camera-tools:has(~.home[hidden]){bottom:35px}.home{top:42px;left:5%;width:45%}.home h1{font-size:37px;margin:12px 0}.home p{font-size:10px}.home .primary{margin-top:14px;padding:10px 18px;min-height:39px;font-size:11px}.home-actions{margin-top:12px}.home-stats,.bottom-note{display:none}body:has(.home:not([hidden])) .scene{top:0;left:30%;height:100%;width:80%}.scene-label{top:14px}.dialog{max-height:94svh;padding:27px;max-width:650px}.dialog h2{font-size:25px}.setting{padding:10px 0}.dialog:has(.victory-emblem) .victory-emblem{display:none}.victory-stats{padding:7px 0}.big-stars{font-size:24px}}
