:root{--ink:#12234a;--ink-2:#2a3f6e;--ice:#eef6ff;--ice-2:#d7e8fb;--orange:#ff8a1f;--orange-d:#d9650a;--violet:#6b5cff;--violet-d:#4b3fd1;--gold:#ffc93c;--panel:#f4f9fff0;--shadow:0 10px 30px #0a193c59;--font:ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", "Segoe UI", system-ui, sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{height:100%;font-family:var(--font);color:var(--ink);-webkit-user-select:none;user-select:none;touch-action:none;overscroll-behavior:none;background:#0d1a33;margin:0;overflow:hidden}#app{position:fixed;top:0;bottom:0;left:0;right:0}:where(#ui *){touch-action:manipulation}#app canvas{width:100%;height:100%;display:block}#ui{pointer-events:none;z-index:5;position:fixed;top:0;bottom:0;left:0;right:0}#ui .screen{z-index:0;pointer-events:none;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));flex-direction:column;justify-content:center;align-items:center;animation:.25s ease-out fadeIn;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}:where(#ui .screen)>*{pointer-events:auto}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes pop{0%{opacity:0;transform:scale(.6)}70%{transform:scale(1.08)}to{opacity:1;transform:scale(1)}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.btn{font-family:var(--font);letter-spacing:.02em;color:#fff;cursor:pointer;background:linear-gradient(180deg, #ffa24a, var(--orange));min-width:180px;min-height:56px;box-shadow:0 6px 0 var(--orange-d), 0 10px 22px #00000040;text-shadow:0 2px #0000002e;border:0;border-radius:18px;justify-content:center;align-items:center;gap:10px;padding:14px 28px;font-size:22px;font-weight:900;transition:transform 80ms,box-shadow 80ms,filter .15s;display:inline-flex}.btn:hover{filter:brightness(1.06)}.btn:active{box-shadow:0 2px 0 var(--orange-d), 0 4px 10px #0003;transform:translateY(4px)}.btn.ad{background:linear-gradient(180deg, #8b7fff, var(--violet));box-shadow:0 6px 0 var(--violet-d), 0 10px 22px #00000040}.btn.ad:active{box-shadow:0 2px 0 var(--violet-d)}.btn.ghost{background:linear-gradient(180deg, #fff, var(--ice-2));color:var(--ink);text-shadow:none;box-shadow:0 6px #a9c3e2,0 10px 22px #0003}.btn.ghost:active{box-shadow:0 2px #a9c3e2}.btn.small{border-radius:14px;min-width:0;min-height:44px;padding:10px 16px;font-size:16px}.btn[disabled]{filter:grayscale(.8)brightness(.9);opacity:.7;cursor:default}.icon-btn{width:52px;height:52px;color:var(--ink);cursor:pointer;pointer-events:auto;background:#ffffffeb;border:0;border-radius:16px;place-items:center;display:grid;box-shadow:0 4px #a9c3e2,0 8px 16px #00000038}.icon-btn:active{transform:translateY(3px);box-shadow:0 1px #a9c3e2}.icon-btn svg{width:26px;height:26px}.panel{background:var(--panel);box-shadow:var(--shadow);border:3px solid #fff;border-radius:26px;width:100%;max-width:min(560px,100%);padding:22px;animation:.35s ease-out pop}.title-wrap{text-align:center;margin-bottom:26px;animation:3.5s ease-in-out infinite float}.logo{color:#fff;letter-spacing:-.02em;text-shadow:0 4px #9cc4ee,0 8px #6f9fd6,0 14px 26px #0a193c80;font-size:clamp(54px,13vw,104px);font-weight:900;line-height:.9}.logo-img{filter:drop-shadow(0 10px 18px #0a193c59);-webkit-user-drag:none;width:auto;max-width:100%;height:clamp(110px,26vw,210px);margin:0 auto;display:block}.logo span{color:var(--orange);text-shadow:0 4px 0 var(--orange-d), 0 8px 0 #a94c06, 0 14px 26px #0a193c80}.tagline{color:#fff;background:#12234ab8;border-radius:999px;margin-top:10px;padding:5px 14px;font-size:18px;font-weight:800;display:inline-block}.menu-buttons{flex-direction:column;align-items:center;gap:16px;display:flex}.corner{pointer-events:auto;gap:10px;display:flex;position:absolute}.corner.tl{top:max(14px, env(safe-area-inset-top));left:max(14px, env(safe-area-inset-left))}.corner.tr{top:max(14px, env(safe-area-inset-top));right:max(14px, env(safe-area-inset-right))}.coins{color:#fff;background:#12234ad1;border-radius:999px;align-items:center;gap:8px;padding:8px 16px 8px 10px;font-size:22px;font-weight:900;display:inline-flex;box-shadow:0 6px 16px #00000040}.coin{background:radial-gradient(circle at 35% 30%, #fff6c4, var(--gold) 45%, #d99a00);border-radius:50%;flex:none;width:26px;height:26px;display:inline-block;box-shadow:inset 0 -2px #0000002e}h2{text-align:center;margin:0 0 14px;font-size:28px;font-weight:900}.level-list{touch-action:pan-y;gap:12px;max-height:min(62vh,520px);padding:4px;display:grid;overflow-y:auto}.level-card{cursor:pointer;font-family:var(--font);text-align:left;color:var(--ink);background:#fff;border:0;border-radius:18px;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 14px;transition:transform .1s;display:grid;box-shadow:0 4px #c6d9ef,0 6px 14px #00000014}.level-card:active{transform:translateY(3px)}.level-card.locked{opacity:.55;cursor:default}.level-thumb{border-radius:14px;place-items:center;width:64px;height:64px;font-size:30px;display:grid}.level-name{font-size:19px;font-weight:900}.level-sub{color:var(--ink-2);opacity:.8;margin-top:2px;font-size:13px;font-weight:700}.level-meta{text-align:right;flex-direction:column;align-items:flex-end;gap:4px;font-size:15px;font-weight:900;display:flex}.stars{gap:2px;display:inline-flex}.star{width:20px;height:20px}.star.big{width:54px;height:54px}.reward{align-items:center;gap:5px;display:inline-flex}.reward .coin{width:18px;height:18px}.hud-top{pointer-events:none;text-align:center;width:min(440px,100% - 440px);position:absolute;top:12px;left:50%;transform:translate(-50%)}@media (max-width:860px){.hud-top{top:calc(112px + env(safe-area-inset-top));width:min(440px,100% - 28px)}#ui .station-tip{top:calc(176px + env(safe-area-inset-top))}}.progress{background:#12234ab8;border-radius:999px;height:26px;padding:4px;position:relative;box-shadow:0 6px 16px #00000040}.progress-fill{background:linear-gradient(90deg,#58c7ff,#9ef0ff);border-radius:999px;width:0%;height:100%;transition:width .2s linear;box-shadow:inset 0 -3px #0000001f}.progress-label{color:#fff;text-shadow:0 1px 3px #0009;place-items:center;font-size:15px;font-weight:900;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.progress-marks{pointer-events:none;position:absolute;top:4px;bottom:4px;left:4px;right:4px}.progress-marks i{background:#ffffff8c;width:2px;position:absolute;top:-2px;bottom:-2px}.hud-sub{color:#fff;text-shadow:0 2px 6px #0000008c;min-height:20px;margin-top:6px;font-size:15px;font-weight:900}.hud-bottom{bottom:max(18px, env(safe-area-inset-bottom));pointer-events:none;justify-content:center;gap:12px;display:flex;position:absolute;left:0;right:0}.hud-bottom>*{pointer-events:auto}.turbo-btn{right:16px;bottom:max(18px, env(safe-area-inset-bottom));position:absolute}.hint{color:#fff;text-align:center;pointer-events:none;box-shadow:var(--shadow);background:#12234ad9;border-radius:16px;width:max-content;max-width:calc(100% - 32px);padding:12px 20px;font-size:18px;font-weight:900;animation:2s ease-in-out infinite floatc;position:absolute;bottom:22%;left:50%;transform:translate(-50%)}@keyframes floatc{0%,to{transform:translate(-50%)}50%{transform:translate(-50%,-6px)}}.toast{color:#fff;-webkit-text-stroke:1px #0000001a;text-shadow:0 4px 0 var(--orange-d), 0 10px 24px #0006;pointer-events:none;text-align:center;width:max-content;max-width:calc(100% - 32px);font-size:clamp(30px,7vw,54px);font-weight:900;line-height:1.08;animation:1.4s ease-out forwards toast;position:absolute;top:26%;left:50%;transform:translate(-50%)}@keyframes toast{0%{opacity:0;transform:translate(-50%,20px)scale(.6)}15%{opacity:1;transform:translate(-50%)scale(1.1)}25%{transform:translate(-50%)scale(1)}80%{opacity:1}to{opacity:0;transform:translate(-50%,-30px)scale(1)}}.coin-pop{color:var(--gold);text-shadow:0 2px #8a5a00,0 4px 10px #0006;pointer-events:none;font-size:20px;font-weight:900;animation:.9s ease-out forwards coinpop;position:absolute}@keyframes coinpop{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-60px)}}.complete .big-stars{justify-content:center;gap:8px;margin:6px 0 10px;display:flex}.complete .big-stars .star{animation:.4s ease-out both pop}.stat-row{border-bottom:2px dashed #d3e1f2;justify-content:space-between;padding:8px 4px;font-size:18px;font-weight:800;display:flex}.stat-row:last-of-type{border-bottom:0}.earn{text-align:center;justify-content:center;align-items:center;gap:10px;margin:14px 0 18px;font-size:40px;font-weight:900;display:flex}.earn .coin{width:38px;height:38px}.row-buttons{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.row-buttons .btn{flex:200px}.garage{max-width:min(640px,100% - 24px);padding:16px;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.garage-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.garage-name{text-align:center;flex:1;font-size:24px;font-weight:900}.garage-tag{opacity:.75;font-size:13px;font-weight:700}.stat-bars{gap:6px;margin-bottom:12px;display:grid}.stat-bar{grid-template-columns:70px 1fr;align-items:center;gap:8px;font-size:13px;font-weight:800;display:grid}.bar{background:#d7e5f5;border-radius:999px;height:10px;overflow:hidden}.bar i{background:linear-gradient(90deg, var(--orange), var(--gold));border-radius:999px;height:100%;display:block}.upgrades{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.upg{text-align:center;background:#fff;border-radius:16px;padding:10px 8px;box-shadow:0 3px #c6d9ef}.upg-name{font-size:15px;font-weight:900}.pips{justify-content:center;gap:3px;margin:6px 0 8px;display:flex}.pips i{background:#d7e5f5;border-radius:3px;flex:0 12px;min-width:3px;height:8px}.pips i.on{background:var(--orange)}.upg .btn{width:100%;min-height:40px;padding:8px;font-size:15px}.price{align-items:center;gap:6px;display:inline-flex}.price .coin{width:18px;height:18px}.joy-base{width:calc(var(--r,56px) * 2);height:calc(var(--r,56px) * 2);margin:calc(var(--r,56px) * -1) 0 0 calc(var(--r,56px) * -1);z-index:4;pointer-events:none;opacity:0;background:#ffffff29;border:3px solid #ffffff73;border-radius:50%;transition:opacity .12s;position:fixed}.joy-base.on{opacity:1}.joy-knob{background:#ffffffd9;border-radius:50%;width:52px;height:52px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 4px 12px #0000004d}#loading{z-index:20;background:radial-gradient(at 50% 30%,#3a5c94,#0d1a33 70%);place-items:center;transition:opacity .5s;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}#loading.hide{opacity:0;pointer-events:none}.load-bar{background:#ffffff26;border-radius:999px;width:220px;height:12px;margin:22px auto 0;overflow:hidden}.load-bar i{background:#fff;border-radius:999px;width:40%;height:100%;animation:1s ease-in-out infinite alternate loadslide;display:block}@keyframes loadslide{0%{transform:translate(-60%)}to{transform:translate(210%)}}.fade{z-index:15;opacity:0;pointer-events:none;background:#0d1a33;transition:opacity .25s;position:fixed;top:0;bottom:0;left:0;right:0}.fade.on{opacity:1;pointer-events:auto}@media (max-height:520px){.logo{font-size:52px}.logo-img{height:min(140px,36vh)}.title-wrap{margin-bottom:12px}.btn{min-height:46px;padding:10px 22px;font-size:18px}.panel{padding:14px}.level-list{max-height:58vh}.earn{margin:6px 0 10px;font-size:30px}.garage{padding:10px}.stat-bars{display:none}}.hud-left{flex-direction:column;align-items:flex-start;pointer-events:none!important}.coins.bump{animation:.35s ease-out coinbump}@keyframes coinbump{40%{transform:scale(1.12)}}.coins,.has-upgrade{position:relative}.coins.can-upgrade:after,.has-upgrade:after{content:"";pointer-events:none;background:#2fbf4a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l7 8h-4.5v8h-5v-8H5z' fill='%23fff'/%3E%3C/svg%3E") 50%/14px no-repeat;border:2.5px solid #fff;border-radius:50%;width:22px;height:22px;animation:3.2s ease-in-out infinite upg-bob;position:absolute;top:-7px;right:-7px;box-shadow:0 2px 6px #0000004d}.coins.can-upgrade:after{top:-9px;right:-13px}@keyframes upg-bob{0%,78%,to{transform:translateY(0)scale(1)}86%{transform:translateY(-4px)scale(1.12)}93%{transform:translateY(0)scale(1)}}.fuel{color:#ffd166;background:#12234ad1;border-radius:999px;align-items:center;gap:8px;padding:7px 12px 7px 9px;display:flex;box-shadow:0 6px 16px #00000040}.fuel-ico svg{width:22px;height:22px;display:block}.fuel-bar{background:#ffffff26;border-radius:999px;width:110px;height:12px;overflow:hidden}.fuel-bar i{background:linear-gradient(90deg,#ffb703,#ffd166);border-radius:999px;height:100%;transition:width .2s linear;display:block}.fuel.low{color:#ff5a4e;animation:.8s steps(2,start) infinite blink}.fuel.low .fuel-bar i{background:linear-gradient(90deg,#ff3b30,#ff7a59)}@keyframes blink{50%{box-shadow:0 0 0 3px #ff5a4eb3,0 6px 16px #00000040}}.boosters{right:max(14px, env(safe-area-inset-right));bottom:max(18px, env(safe-area-inset-bottom));pointer-events:auto;flex-direction:column;gap:14px;display:flex;position:absolute}.boost{--p:0;cursor:pointer;color:#fff;background:linear-gradient(180deg, #8b7fff, var(--violet));width:78px;height:78px;box-shadow:0 5px 0 var(--violet-d), 0 10px 20px #00000047;font-family:var(--font);border:0;border-radius:24px;place-items:center;transition:transform 80ms;display:grid;position:relative}.boost:active{transform:translateY(3px)}.boost[disabled]{filter:grayscale(.4);opacity:.8}.boost-ico svg{filter:drop-shadow(0 2px #0003);width:40px;height:40px;margin-top:-10px;display:block}.boost[data-b=turbo] .boost-ico svg{color:#ffe066}.boost[data-b=mega] .boost-ico svg{color:#ffd27a}.boost-rw{width:26px;height:26px;color:var(--violet);background:#fff;border-radius:50%;place-items:center;display:grid;position:absolute;top:-6px;right:-6px;box-shadow:0 3px 8px #00000040}.boost-rw svg{width:15px;height:15px}.boost-name{letter-spacing:.04em;text-align:center;font-size:10.5px;font-weight:900;position:absolute;bottom:7px;left:0;right:0}.boost-time{text-shadow:0 2px 4px #00000080;pointer-events:none;place-items:center;font-size:26px;font-weight:900;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.boost.active{background:conic-gradient(#ffd166 calc(var(--p) * 360deg), #ffffff1f 0) border-box, linear-gradient(180deg, #2a2f6e, #1b1f4f);cursor:default;box-shadow:0 0 0 4px #ffd16659,0 10px 20px #0000004d}.boost.active:before{content:"";background:linear-gradient(#343a86,#1f2459);border-radius:19px;position:absolute;top:5px;bottom:5px;left:5px;right:5px}.boost.active .boost-ico,.boost.active .boost-rw{opacity:.25}.boost.active .boost-name,.boost.active .boost-ico,.boost.active .boost-time{z-index:1}.out-of-fuel{left:50%;bottom:max(90px, calc(env(safe-area-inset-bottom) + 90px));color:#fff;text-align:center;box-shadow:var(--shadow);pointer-events:auto;background:#12234aeb;border-radius:20px;width:max-content;max-width:calc(100% - 140px);padding:14px 18px;animation:.3s ease-out pop;position:absolute;transform:translate(-50%)}.oof-title{color:#ff7a59;justify-content:center;align-items:center;gap:8px;font-size:22px;font-weight:900;display:flex}.oof-title svg{width:24px;height:24px}.oof-sub{opacity:.85;margin:4px 0 10px;font-size:14px;font-weight:700}.edge-arrow{color:#fff;pointer-events:none;background:#e8452c;border-radius:50%;place-items:center;width:54px;height:54px;margin:-27px 0 0 -27px;animation:1s ease-in-out infinite pulse;display:grid;position:absolute;box-shadow:0 6px 16px #00000059}.edge-arrow span svg{width:26px;height:26px;display:block}.edge-pointer{position:absolute;top:0;bottom:0;left:0;right:0}.edge-pointer:after{content:"";border-top:9px solid #0000;border-bottom:9px solid #0000;border-left:14px solid #e8452c;margin-top:-9px;position:absolute;top:50%;right:-12px}@keyframes pulse{50%{transform:scale(1.1)}}.workshop .ws-head{align-items:center;gap:10px;display:flex}.ws-ico{color:#fff;background:#2f7fd0;border-radius:14px;place-items:center;width:44px;height:44px;display:grid}.ws-ico svg{width:26px;height:26px}.workshop .coins{font-size:18px}.upg.premium{background:linear-gradient(#fff8e6,#fff);box-shadow:0 3px #f1d48a}.upg.premium .upg-name:after{content:" ★";color:#f0a500}.station-tip{color:#fff;pointer-events:none;text-align:center;background:#12234ae0;border-radius:999px;width:max-content;max-width:calc(100% - 32px);padding:8px 16px;font-weight:900;position:absolute;top:74px;left:50%;transform:translate(-50%)}@media (max-width:520px){.boost{border-radius:20px;width:66px;height:66px}.boost-ico svg{width:32px;height:32px}.boost-name{font-size:9px}.fuel-bar{width:80px}}.chapter{background:#d6e6f88c;border-radius:20px;gap:10px;padding:10px;display:grid}.chapter+.chapter{margin-top:6px}.chapter.locked{opacity:.7}.chapter-head{align-items:center;gap:12px;padding:2px 4px;display:flex}.chapter-ico{width:44px;height:44px;color:var(--ink-2);background:#fff;border-radius:14px;flex:none;place-items:center;font-size:26px;display:grid;box-shadow:0 3px #c6d9ef}.chapter-title{font-size:17px;font-weight:900}#ui .screen.again,#ui .screen.again .panel{animation:none}.garage .row-buttons{height:var(--action-h,56px);align-items:stretch}.garage .row-buttons>*{box-sizing:border-box;height:100%;min-height:0}.upg.locked{opacity:.55}.upg.locked .btn svg{width:1em;height:1em}.upg-buttons .slot{visibility:hidden}.picker .garage-name{margin-bottom:10px}.panel.garage{container-type:inline-size}.pick-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}@container (width>=560px){.pick-list{grid-template-columns:repeat(6,minmax(0,1fr))}}.pick-card{font:inherit;color:var(--ink);cursor:pointer;background:#fff;border:3px solid #0000;border-radius:16px;flex-direction:column;align-items:center;gap:2px;padding:8px 4px 6px;transition:border-color .12s,background .12s;display:flex;box-shadow:0 3px #c6d9ef}.pick-card.on{border-color:var(--orange);box-shadow:0 3px 0 var(--orange-d);background:#fff4e6}.pick-name{text-align:center;font-size:13px;font-weight:900;line-height:1.1}.pick-rec{color:#1e7a3e;background:#e6f6ea;border-radius:999px;margin-top:2px;padding:2px 7px;font-size:10.5px;font-weight:900}.picker .row-buttons .btn{min-width:220px}.pick-ico{position:relative}.pick-card.locked .veh-ico{filter:grayscale(.85)brightness(.92);opacity:.75}.pick-card.locked .pick-name{color:var(--muted,#6b7f9e)}.pick-lock{background:var(--ink,#12234a);color:#fff;border-radius:50%;place-items:center;width:22px;height:22px;display:grid;position:absolute;bottom:-2px;right:-2px;box-shadow:0 2px 4px #00000040}.pick-lock svg{width:12px;height:12px}.pick-card.by-rw{position:relative}.pick-card.by-rw .veh-ico{filter:grayscale(.4);opacity:.9}.pick-rw{z-index:1;background:var(--orange);color:#fff;pointer-events:none;border:2.5px solid #fff;border-radius:999px;place-items:center;padding:2px 5px;font-size:15px;animation:1.4s ease-in-out infinite ad-badge;display:grid;position:absolute;top:-10px;right:-8px;box-shadow:0 2px 6px #0000004d}.pick-rw:after{content:"";border:3px solid var(--orange);border-radius:999px;animation:1.4s ease-out infinite ad-ring;position:absolute;top:-3px;bottom:-3px;left:-3px;right:-3px}.pick-rw .rw-mark{color:#fff;box-shadow:none;background:0 0;padding:0}@keyframes ad-badge{0%,to{transform:scale(1)}50%{transform:scale(1.15)}}@keyframes ad-ring{0%{opacity:.8;transform:scale(1)}to{opacity:0;transform:scale(1.6)}}@media (prefers-reduced-motion:reduce){.pick-rw,.pick-rw:after{animation:none}}.owned-tag{text-align:center;color:#1e7a3e;background:#e6f6ea;border-radius:16px;flex:1;justify-content:center;align-items:center;gap:8px;padding:12px;font-weight:900;display:flex}.owned-tag.locked{color:var(--ink-2);background:#eef2f7}.owned-tag svg{width:20px;height:20px}.unlock-banner{background:linear-gradient(135deg,#fff3c4,#ffe08a);border-radius:18px;align-items:center;gap:12px;margin:-4px 0 16px;padding:12px 14px;animation:.5s ease-out .4s both pop;display:flex;box-shadow:0 4px #e6b93a}.unlock-ico{font-size:40px}.veh-ico{object-fit:contain;pointer-events:none;-webkit-user-drag:none;width:100%;height:100%;display:block}.chapter-ico.pic{padding:2px}.pick-ico{width:56px;height:46px}.unlock-ico .veh-ico{width:72px;height:72px}.unlock-title{font-size:19px;font-weight:900}.gauges{flex-wrap:wrap;gap:8px;display:flex}.fuel.cargo{color:#7fe3f0}.fuel.cargo .fuel-bar i{background:linear-gradient(90deg,#bff4fb,#fff)}.fuel.cargo.full{color:#fff;background:#1496afeb;animation:.8s steps(2,start) infinite blinkc}@keyframes blinkc{50%{box-shadow:0 0 0 3px #7fe3f0d9,0 6px 16px #00000040}}.edge-arrow.dump{background:#14a3b8}.edge-arrow.dump .edge-pointer:after{border-left-color:#14a3b8}@media (max-width:520px){.upgrades{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (orientation:portrait) and (min-width:701px){#ui .menu-screen{justify-content:space-between;padding-top:90px;padding-bottom:52px}.menu-screen .title-wrap{margin-bottom:0}}@media (orientation:portrait) and (max-width:700px){#ui .menu-screen{padding-top:calc(78px + env(safe-area-inset-top));padding-bottom:calc(44px + env(safe-area-inset-bottom));justify-content:space-between}.menu-screen .title-wrap{margin-bottom:0}.menu-screen .logo{font-size:clamp(50px,17vw,78px)}.menu-screen .logo-img{height:clamp(100px,34vw,160px)}.tagline{max-width:260px;margin:10px auto 0;font-size:15px}.menu-screen .menu-buttons{gap:14px;width:min(320px,100%)}.menu-screen .menu-buttons .btn{width:100%}#ui .levels-screen{padding-top:calc(80px + env(safe-area-inset-top));justify-content:flex-end}.levels-panel{border-radius:24px;flex-direction:column;height:100%;padding:14px 10px 10px;display:flex}.levels-panel h2{margin-bottom:10px;font-size:22px}.levels-panel .level-list{flex:1;gap:10px;min-height:0;max-height:none}.chapter{gap:8px;padding:8px}.chapter-ico{border-radius:12px;width:36px;height:36px;font-size:20px}.chapter-title{font-size:15px}.level-card{border-radius:16px;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;padding:9px 10px}.level-thumb{border-radius:12px;width:46px;height:46px;font-size:24px}.level-name{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:15px;line-height:1.15;display:-webkit-box;overflow:hidden}.level-card .level-sub{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:12px;line-height:1.2;display:-webkit-box;overflow:hidden}.level-meta{font-size:13px}.star{width:15px;height:15px}.garage{bottom:max(10px, env(safe-area-inset-bottom));border-radius:22px;max-width:calc(100% - 20px);padding:12px}.garage .icon-btn{width:44px;height:44px}.garage-name{font-size:20px}.garage-tag{font-size:12px}.stat-bars{gap:3px;margin-bottom:8px}.stat-bar{grid-template-columns:54px 1fr;font-size:12px}.bar{height:8px}.owned-tag{border-radius:14px;padding:8px;font-size:14px}.upgrades{gap:6px;margin-top:8px}.upg{border-radius:14px;padding:7px 6px}.upg-name{font-size:13.5px}.upg .level-sub{margin-top:0;font-size:11px}.pips{margin:4px 0 6px}.pips i{flex-basis:10px;height:6px}.upg .btn{border-radius:12px;min-height:34px;padding:6px;font-size:14px}.coins{padding:6px 13px 6px 8px;font-size:18px}.coin{width:22px;height:22px}.icon-btn{border-radius:14px;width:46px;height:46px}.icon-btn svg{width:23px;height:23px}.fuel{padding:6px 10px 6px 8px}.toast{font-size:clamp(24px,7vw,34px);top:30%}.hint{padding:10px 14px;font-size:15px;bottom:26%}.out-of-fuel{left:max(12px, env(safe-area-inset-left));right:calc(96px + env(safe-area-inset-right));width:auto;max-width:none;bottom:max(18px, env(safe-area-inset-bottom));padding:12px 14px;transform:none}.out-of-fuel.above-finish{bottom:calc(max(18px, env(safe-area-inset-bottom)) + 68px)}.oof-title{font-size:19px}.oof-sub{font-size:13px}.hud-bottom .btn{min-width:0;padding:12px 22px;font-size:18px}.panel{padding:16px}h2{font-size:24px}.garage .upgrades{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.garage .upg{border-radius:12px;padding:6px 4px}.garage .upg-name{justify-content:center;align-items:center;min-height:2.2em;font-size:11.5px;line-height:1.1;display:flex}.garage .upg .level-sub,.garage .upg-note{display:none}.garage .pips{gap:2px;margin:2px 0 5px}.garage .pips i{flex-basis:8px;height:5px}.garage .upg-buttons{gap:9px}.garage .upg .btn{border-radius:10px;gap:3px;min-width:0;min-height:30px;padding:4px 2px;font-size:12.5px}.garage .upg .btn .coin{width:15px;height:15px}.garage .owned-tag{padding:6px;font-size:13px}.garage{--action-h:46px}.pick-list{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-bottom:8px}.pick-card{border-radius:12px;min-width:0;padding:6px 1px 5px}.pick-ico{width:min(42px,100%);height:34px}.pick-name{font-size:10px}.pick-rec{padding:1px 5px;font-size:9px}}@media (orientation:landscape) and (max-height:500px){#ui .menu-screen{flex-direction:row;justify-content:space-around;gap:24px}.menu-screen .title-wrap{margin-bottom:0}.menu-screen .menu-buttons .btn{width:220px}.menu-screen .tagline{max-width:280px;margin:8px auto 0;font-size:14px}.menu-screen .logo{font-size:56px}#ui .levels-screen{padding-top:calc(62px + env(safe-area-inset-top));padding-bottom:max(8px, env(safe-area-inset-bottom));justify-content:flex-end}.levels-panel{flex-direction:column;max-width:min(640px,100%);height:100%;padding:10px 12px;display:flex}.levels-panel h2{margin-bottom:6px;font-size:20px}.levels-panel .level-list{flex:1;min-height:0;max-height:none}.level-card{grid-template-columns:44px minmax(0,1fr) auto;gap:12px;padding:8px 12px}.level-thumb{width:44px;height:44px;font-size:22px}.garage{left:auto;right:max(10px, env(safe-area-inset-right));bottom:max(8px, env(safe-area-inset-bottom));top:max(8px, env(safe-area-inset-top));width:min(380px,50%);overflow-y:auto;transform:none}.garage .upgrades{grid-template-columns:repeat(2,1fr);gap:8px}.garage .upg{padding:6px 6px 7px}.garage .upg .level-sub{font-size:12px}.garage .pips{margin:4px 0 6px}.garage .upg .btn{min-height:34px;padding:5px;font-size:14px}.garage .owned-tag{padding:5px 8px;font-size:13px}.garage .row-buttons{margin:6px 0}.hud-top{top:max(12px, env(safe-area-inset-top));width:min(340px,100% - 380px)}#ui .station-tip{top:calc(max(12px, env(safe-area-inset-top)) + 62px)}.gauges{flex-direction:column;gap:6px}.fuel-bar{width:80px}.coins{padding:6px 13px 6px 8px;font-size:18px}.icon-btn{width:44px;height:44px}.toast{font-size:24px;top:40%}.out-of-fuel{padding:10px 14px}.oof-title{font-size:18px}.hint{max-width:calc(100% - 2 * (96px + env(safe-area-inset-right)));font-size:15px;bottom:18%}.boost{width:62px;height:62px}.boosters{gap:10px}}.coach{bottom:max(22px, env(safe-area-inset-bottom));color:#fff;width:min(440px,100% - 240px);box-shadow:var(--shadow);text-align:center;pointer-events:none;z-index:5;background:#12234ae6;border:3px solid #ffc93c;border-radius:18px;padding:12px 16px 8px;position:absolute;left:50%;transform:translate(-50%)}.coach.pop{animation:.35s cubic-bezier(.2,1.4,.4,1) coach-in}.coach.out{opacity:0;transition:opacity .3s}@keyframes coach-in{0%{opacity:0;translate:0 16px}}.coach-text{font-size:17px;font-weight:800;line-height:1.3}.coach-text b{color:#ffc93c}.coach-foot{justify-content:space-between;align-items:center;margin-top:8px;display:flex}.coach-dots{gap:5px;display:flex}.coach-dots i{background:#ffffff40;border-radius:50%;width:8px;height:8px}.coach-dots i.done{background:#7fd36b}.coach-dots i.on{background:#ffc93c;transform:scale(1.3)}.coach-skip{white-space:nowrap;pointer-events:auto;color:#fff9;font:inherit;cursor:pointer;background:0 0;border:none;margin-left:auto;padding:6px 0 6px 12px;font-size:13px;font-weight:800;text-decoration:underline}.tut-focus{border-radius:999px;animation:1.1s ease-in-out infinite tut-ring}@keyframes tut-ring{0%,to{box-shadow:0 0 0 3px #ffc93c,0 0 #ffc93c99}50%{box-shadow:0 0 0 3px #ffc93c,0 0 0 12px #ffc93c00}}.icon-btn.tut-focus{border-radius:16px}.tut-keys{flex-direction:column;align-items:center;gap:4px;margin-bottom:8px;display:flex}.tut-keys span{gap:4px;display:flex}.tut-keys i{color:#12234a;background:#fff;border-radius:8px;place-items:center;width:34px;height:32px;font-style:normal;font-weight:900;display:grid;box-shadow:0 4px #9cb3d4}.tut-keys .k-w{animation:1.2s ease-in-out infinite key-press}.tut-keys .k-a{animation:2.4s ease-in-out .6s infinite key-press}.tut-keys .k-d{animation:2.4s ease-in-out 1.8s infinite key-press}@keyframes key-press{0%,40%,to{background:#fff;transform:none;box-shadow:0 4px #9cb3d4}15%,30%{background:#ffc93c;transform:translateY(3px);box-shadow:0 1px #9cb3d4}}.tut-hand{width:160px;height:64px;margin:0 auto 6px;position:relative}.tut-hand .finger{background:#fffffff2;border-radius:50%;width:34px;height:34px;margin:-17px 0 0 -17px;position:absolute;top:50%;left:50%;box-shadow:0 0 0 6px #ffffff40,0 4px 10px #00000059}.tut-hand .trail{background:repeating-linear-gradient(90deg,#ffffff73 0 8px,#0000 8px 14px);border-radius:2px;height:4px;margin-top:-2px;position:absolute;top:50%;left:18%;right:18%}.tut-hand.steer .finger{animation:2.6s ease-in-out infinite steer-slide}@keyframes steer-slide{0%{opacity:0;transform:scale(1.3)}10%{opacity:1;transform:scale(1)}35%{transform:translate(-52px)}65%{transform:translate(52px)}90%{opacity:1;transform:none}to{opacity:0}}.tut-hand.drag .trail{background:repeating-linear-gradient(0deg,#ffffff73 0 8px,#0000 8px 14px);width:4px;height:auto;margin:0 0 0 -2px;top:4px;bottom:4px;left:50%;right:auto}.tut-hand.drag .finger{animation:1.8s ease-in-out infinite drag-up}@keyframes drag-up{0%{opacity:0;transform:translateY(22px)scale(1.3)}15%{opacity:1;transform:translateY(22px)}75%{opacity:1;transform:translateY(-22px)}to{opacity:0;transform:translateY(-22px)}}.edge-arrow.workshop{background:#6c5ce7}.edge-arrow.workshop .edge-pointer:after{border-left-color:#6c5ce7}@media (orientation:portrait) and (max-width:700px){.coach{left:max(12px, env(safe-area-inset-left));right:calc(96px + env(safe-area-inset-right));width:auto;transform:none}.coach-text{font-size:15px}}@media (orientation:landscape) and (max-height:500px){.coach{top:calc(max(12px, env(safe-area-inset-top)) + 128px);bottom:auto;left:max(12px, env(safe-area-inset-left));width:min(250px,50% - 150px);padding:8px 12px 4px;transform:none}.coach-text{font-size:14px}.coach-foot{flex-wrap:wrap;margin-top:4px}.coach-skip{font-size:12px}.tut-hand{width:84px;height:40px;margin-bottom:2px}.tut-hand .finger{width:24px;height:24px;margin:-12px 0 0 -12px}.tut-keys{margin-bottom:4px}.tut-keys i{border-radius:6px;width:24px;height:22px;font-size:12px}}@keyframes steer-slide-s{0%{opacity:0;transform:scale(1.3)}10%{opacity:1;transform:scale(1)}35%{transform:translate(-28px)}65%{transform:translate(28px)}90%{opacity:1;transform:none}to{opacity:0}}@media (orientation:landscape) and (max-height:500px){.tut-hand.steer .finger{animation-name:steer-slide-s}}.upg-note{text-align:center;color:var(--muted,#6b7f9e);margin-top:8px;font-size:12px;font-weight:800}.blocker-note{text-align:center;color:var(--muted,#6b7f9e);flex:1;align-self:center;margin-top:6px;font-size:12px;font-weight:800;line-height:1.25}.row-buttons .blocker-note{margin-top:0}.bar{display:flex}.bar i{flex:none}.bar b{box-sizing:content-box;background:linear-gradient(90deg,#5fcf6a,#9be36d);border-radius:0 999px 999px 0;height:100%;margin-left:-4px;padding-left:4px;display:block}.btn-sub{opacity:.85;letter-spacing:0;text-transform:none;margin-top:2px;font-size:12px;font-weight:800;display:block}.earn{margin-bottom:2px}.earn-label{text-align:center;color:#6b7f9e;margin-bottom:16px;font-size:13px;font-weight:800}.btn.armed{color:#fff;background:#e8452c;box-shadow:0 4px #a82a16}.menu-buttons .btn[data-a=play]{flex-direction:column;line-height:1.1}@media (orientation:landscape) and (max-height:500px){.complete{max-height:calc(100% - 16px);padding:10px 18px 12px;overflow-y:auto;max-width:min(520px,100% - 24px)!important}.complete h2{margin:0 0 4px;font-size:22px}.complete .big-stars{margin:2px 0 4px}.complete .star.big{width:36px;height:36px}.complete .stat-row{border-bottom:0;width:calc(50% - 12px);padding:4px 2px;font-size:15px;display:inline-flex}.complete .stat-row+.stat-row{margin-left:16px}.complete .earn{margin:2px 0 0;font-size:30px}.complete .earn-label{margin-bottom:8px}.complete .unlock-banner{margin:0 0 8px;padding:6px 10px}.complete .row-buttons .btn{flex:140px;min-height:44px}.complete [data-a=menu]{margin-top:-4px}}#ui.locked,#ui.locked *{pointer-events:none!important}.boosters .boost{pointer-events:none;cursor:default}.boosters .boost.active{flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:4px 3px 6px;display:flex}.boosters .boost.active .boost-ico{place-items:center;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.boosters .boost.active .boost-time,.boosters .boost.active .boost-name{line-height:1;display:block;position:relative;top:auto;bottom:auto;left:auto;right:auto}.boosters .boost.active .boost-name{line-height:1.05}.boost-head{text-align:center;margin:12px 0 2px}.boost-list{flex-direction:column;gap:8px;margin:4px 0 14px;display:flex}.boost-row{text-align:left;background:#fff;border-radius:16px;align-items:center;gap:10px;padding:8px 10px;display:flex;box-shadow:0 3px #c6d9ef}.boost-row-ico{background:linear-gradient(180deg, #8b7fff, var(--violet));color:#ffe066;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;display:grid}.boost-row-ico.mega{color:#ffd27a}.boost-row-ico svg{width:26px;height:26px}.boost-row-text{flex:auto;min-width:0}.boost-row .btn.small{flex:none;min-width:84px;padding:8px 12px}.boost-row .price{align-items:center;gap:6px;display:inline-flex}.boost-row .price .coin{width:18px;height:18px}.boost-on{color:var(--green,#27ae60);padding:0 10px;font-weight:900}.oof-h{justify-content:center;align-items:center;gap:8px;display:flex}.oof-h svg{color:#ff7a59;width:28px;height:28px}.menu-buttons .btn .price{align-items:center;gap:6px;display:inline-flex}.menu-buttons .btn .price .coin{width:20px;height:20px}@media (max-height:520px){.boost-list{gap:6px;margin:2px 0 10px}.boost-row{padding:5px 8px}.boost-row-ico{width:32px;height:32px}}.panel.pause{text-align:center;max-width:380px}@media (max-width:430px){.boost-row .level-sub{display:none}.boost-row .btn.small{min-width:72px;padding:8px 10px}}@media (max-height:520px) and (min-width:600px){.panel.pause{grid-template-columns:1fr 1fr;column-gap:16px;max-width:640px;padding:14px 18px 16px;display:grid}.panel.pause h2,.panel.pause>.level-sub{grid-column:1/-1}.panel.pause h2{margin:0 0 4px;font-size:24px}.panel.pause>.level-sub{margin:0 0 10px!important}.panel.pause .boost-list{align-self:center;margin:0}.panel.pause .menu-buttons{gap:8px}.panel.pause .menu-buttons .btn{min-width:200px;min-height:44px;padding:8px 20px;font-size:17px}.panel.pause .boost-row .level-sub{display:none}}.coach-text{font-size:19px}.tut-keys i.down{background:#7fd36b;animation:none;transform:translateY(3px);box-shadow:0 1px #9cb3d4}.coach-check{color:#fff;background:#7fd36b;border-radius:50%;place-items:center;width:44px;height:44px;font-size:28px;font-weight:900;animation:1.3s cubic-bezier(.2,1.4,.4,1) forwards check-pop;display:grid;position:absolute;top:-38px;right:-10px;box-shadow:0 4px 12px #00000059}@keyframes check-pop{0%{transform:scale(0)}25%{transform:scale(1.15)}70%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.6)}}.tut-pic{width:170px;height:56px;margin:0 auto 6px;position:relative}.tut-pic .pile{background:#f4f8ff;border-radius:27px 27px 4px 4px;width:54px;height:30px;position:absolute;bottom:6px;box-shadow:inset 0 -4px #c6d9ef}.tut-pic .bin{border:3px solid #fff;border-top:0;border-radius:0 0 8px 8px;width:46px;height:30px;position:absolute;overflow:hidden}.tut-pic .bin i{background:#f4f8ff;height:0;position:absolute;bottom:0;left:0;right:0}.tut-pic.clear .snow{background:linear-gradient(90deg,#35404f 0 50%,#ff9a2e 50%) 0 0/200% 100%;border-radius:6px;height:20px;animation:2.2s linear infinite clear-wipe;position:absolute;top:20px;left:0;right:0}.tut-pic.clear .blade{color:#ffc93c;width:44px;height:44px;animation:2.2s linear infinite clear-move;position:absolute;top:6px}.tut-pic.clear .blade svg{width:100%;height:100%}@keyframes clear-wipe{0%{background-position:100% 0}to{background-position:0 0}}@keyframes clear-move{0%{left:-10px}to{left:136px}}.tut-pic.fill .bin{top:22px;left:62px}.tut-pic.fill .bin i{animation:2.4s ease-in-out infinite fill-up}.tut-pic.fill .flakes b{background:#fff;border-radius:50%;width:8px;height:8px;animation:.8s linear infinite flake-fall;position:absolute;top:0;left:82px}.tut-pic.fill .flakes b:nth-child(2){animation-delay:.27s;left:70px}.tut-pic.fill .flakes b:nth-child(3){animation-delay:.53s;left:94px}@keyframes fill-up{0%{height:0}80%,to{height:100%}}@keyframes flake-fall{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(26px)}}.tut-pic.dump .pile{right:20px}.tut-pic.dump .arrow{color:#ffc93c;width:40px;height:40px;animation:.9s ease-in-out infinite arrow-nudge;position:absolute;top:8px;left:40px}.tut-pic.dump .arrow svg{width:100%;height:100%}@keyframes arrow-nudge{50%{transform:translate(14px)}}.tut-pic.backin .pile{right:10px}.tut-pic.backin .truck{width:70px;height:26px;animation:2.6s ease-in-out infinite back-in;position:absolute;bottom:8px;left:20px}.tut-pic.backin .truck i{border-radius:5px;height:100%;position:absolute;bottom:0}.tut-pic.backin .truck .cab{background:#ff9a2e;width:24px;left:0}.tut-pic.backin .truck .body{background:#ffc93c;width:43px;left:27px;box-shadow:inset 0 -6px #d99a00}@keyframes back-in{0%{opacity:0;transform:translate(0)}10%{opacity:1}65%,85%{opacity:1;transform:translate(44px)}to{opacity:0;transform:translate(44px)}}.tut-pic.side .pile{right:24px}.tut-pic.side .bin{transform-origin:100% 100%;animation:2.4s ease-in-out infinite tip-side;top:16px;left:50px}.tut-pic.side .bin i{height:80%}@keyframes tip-side{0%,25%{transform:rotate(0)}55%,80%{transform:rotate(70deg)}}.tut-pic.unload .bin{top:12px;left:46px}.tut-pic.unload .bin i{animation:2s ease-in-out infinite drain}.tut-pic.unload .pile{transform-origin:50% 100%;animation:2s ease-in-out infinite pile-grow;right:20px}@keyframes drain{0%,15%{height:100%}85%,to{height:0}}@keyframes pile-grow{0%,15%{transform:scale(.6)}85%,to{transform:scale(1)}}.tut-pic.icon{color:#ffc93c;place-items:center;width:56px;animation:1.4s ease-in-out infinite icon-breathe;display:grid}.tut-pic.icon svg{width:44px;height:44px}@keyframes icon-breathe{50%{transform:scale(1.18)}}.tut-pic.stars{justify-content:center;align-items:center;gap:6px;display:flex}.tut-pic.stars span{opacity:.4;width:40px;height:40px;animation:2.4s ease-in-out infinite star-pop;display:inline-block;transform:scale(.6)}.tut-pic.stars span svg{width:100%;height:100%}@keyframes star-pop{20%,70%{opacity:1;transform:scale(1)}90%,to{opacity:.4;transform:scale(.6)}}#ui:has(.panel) .coach{opacity:0;transition:opacity .2s}.upg-buttons{flex-direction:column;gap:12px;display:flex}.upg .btn .cool{font-variant-numeric:tabular-nums}.pad{display:none}.pad.on{display:block}.pad-steer,.pad-pedals{bottom:max(16px, env(safe-area-inset-bottom));z-index:6;touch-action:none;-webkit-touch-callout:none;align-items:flex-end;gap:12px;margin:-10px;padding:10px;display:flex;position:fixed}.pad-steer{left:max(16px, env(safe-area-inset-left))}.pad-pedals{right:max(16px, env(safe-area-inset-right))}.pad-btn{color:#fff;letter-spacing:.02em;pointer-events:none;background:#12234a6b;border:3px solid #ffffff8c;border-radius:22px;place-items:center;width:74px;height:74px;font:900 17px/1 ui-rounded,Nunito,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;transition:transform 60ms,background 60ms;display:grid;box-shadow:0 4px #08122859}.pad-btn svg{width:34px;height:34px}.pad-r svg{transform:scaleX(-1)}.pad-rev{width:60px;height:64px;font-size:22px}.pad-gas{background:#ff8a1f8c;border-color:#ffdcb4cc;width:82px;height:100px}.pad-btn.down{background:#ffffff80;transform:translateY(3px)scale(.96);box-shadow:0 1px #08122859}.pad-gas.down{background:#ff8a1fe6}.pad.tut-focus{animation:none}.pad.tut-focus .pad-btn{animation:1.1s ease-in-out infinite pad-pulse}@keyframes pad-pulse{0%,to{box-shadow:0 4px #08122859,0 0 #ffc93ce6}50%{box-shadow:0 4px #08122859,0 0 0 8px #ffc93c00}}.pad-on .boosters{bottom:calc(max(16px, env(safe-area-inset-bottom)) + 116px)}.pad-on .coach{width:min(440px,100% - 380px)}.pad-on .out-of-fuel{bottom:calc(max(16px, env(safe-area-inset-bottom)) + 116px)}@media (orientation:portrait){.pad-on .coach,.pad-on .hud-bottom,.pad-on .out-of-fuel{bottom:calc(max(16px, env(safe-area-inset-bottom)) + 120px)}.pad-on .out-of-fuel.above-finish{bottom:calc(max(16px, env(safe-area-inset-bottom)) + 188px)}.pad-on .coach{width:min(440px,100% - 32px)}}@media (orientation:portrait) and (max-width:700px),(orientation:landscape) and (max-height:500px){.coach,.pad-on .coach{text-align:left;border-width:2px;border-radius:14px;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;padding:8px 12px 4px;display:grid}.coach>:-webkit-any(.tut-pic,.tut-hand,.tut-keys){zoom:.55;grid-area:1/1/3;margin:0}.coach>:is(.tut-pic,.tut-hand,.tut-keys){zoom:.55;grid-area:1/1/3;margin:0}.coach-text,.coach-foot{grid-column:2}.coach-text{font-size:14px;line-height:1.25}.coach-foot{margin-top:2px}.coach-dots{gap:4px}.coach-dots i{width:6px;height:6px}.coach-skip{padding:4px 0 4px 10px;font-size:12px}}@media (orientation:portrait) and (max-width:700px){.pad-on #ui:has(.coach) .toast{top:calc(env(safe-area-inset-top) + 262px)}.coach,.pad-on .coach{top:calc(env(safe-area-inset-top) + 172px);bottom:auto;left:max(12px, env(safe-area-inset-left));right:max(12px, env(safe-area-inset-right));width:auto;transform:none}}@media (orientation:landscape) and (max-height:500px){.coach,.pad-on .coach{top:calc(max(12px, env(safe-area-inset-top)) + 58px);width:min(400px,100% - 330px);bottom:auto;left:50%;transform:translate(-50%)}.coach>:-webkit-any(.tut-pic,.tut-hand,.tut-keys){zoom:.45}.coach>:is(.tut-pic,.tut-hand,.tut-keys){zoom:.45}.coach-text{font-size:13px}.pad-on #ui:has(.coach) .toast{top:48%}}@media (orientation:portrait) and (max-width:700px),(orientation:landscape) and (max-height:500px){body:not(.pad-on) .coach{top:auto;bottom:calc(max(12px, env(safe-area-inset-bottom)) + 6px)}body:not(.pad-on) #ui:has(.boosters>:not([style*=none])) .coach{right:calc(96px + env(safe-area-inset-right))}}@media (orientation:landscape) and (max-height:500px){body:not(.pad-on) #ui:has(.boosters>:not([style*=none])) .coach{right:auto}}@media (max-height:520px) and (min-width:600px){.panel.workshop{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-content:start;column-gap:14px;max-height:100%;padding:10px 14px 12px;display:grid;overflow-y:auto;max-width:min(760px,100%)!important}.panel.workshop .ws-head,.panel.workshop>.level-sub:not(.boost-head){grid-column:1/-1}.panel.workshop .ws-head h2{font-size:22px}.panel.workshop .ws-ico{border-radius:10px;width:34px;height:34px}.panel.workshop>.level-sub:not(.boost-head){margin:2px 0 0!important}.panel.workshop .upgrades{grid-area:3/1/span 3;grid-template-columns:repeat(2,minmax(0,1fr));align-self:start;gap:8px;margin-top:8px}.panel.workshop .upg{padding:6px 6px 7px}.panel.workshop .upg .level-sub{font-size:12px}.panel.workshop .pips{margin:4px 0 6px}.panel.workshop .upg-buttons{flex-direction:row;gap:6px}.panel.workshop .upg-buttons .slot{display:none}.panel.workshop .upg-buttons .btn{flex:1 1 0;min-width:0;min-height:34px;padding:5px 4px;font-size:13px}.panel.workshop .boost-head{grid-area:3/2;margin-top:8px}.panel.workshop .boost-list{grid-area:4/2;margin:2px 0 0}.panel.workshop .boost-row .level-sub{display:none}.panel.workshop .row-buttons{grid-area:5/2;margin-top:10px!important}.panel.workshop .row-buttons .btn{width:100%;min-height:44px;font-size:17px}}.privacy-line{left:50%;bottom:max(6px, env(safe-area-inset-bottom));color:#ffffffb8;text-align:center;background:#12234a52;border-radius:999px;font-size:11px;font-weight:700;position:absolute;transform:translate(-50%)}.link-btn{font:inherit;color:#ffc93c;cursor:pointer;background:0 0;border:0;padding:2px 0;font-weight:900;text-decoration:underline}@media (max-height:520px){.privacy-line{bottom:max(4px, env(safe-area-inset-bottom));font-size:10.5px}}.panel>.blocker-note{margin:6px 0 12px}.panel.complete>.blocker-note{margin:10px 0 0}.panel>.blocker-note:last-child{margin:12px 0 0}.btn.small.rw-off{letter-spacing:0;padding-left:4px;padding-right:4px;font-size:12.5px}.panel.lang-panel{max-width:440px;max-height:100%;overflow-y:auto}.panel.lang-panel h2{justify-content:center;align-items:center;gap:8px;margin:0 0 10px;display:flex}.panel.lang-panel h2 svg{width:26px;height:26px}.lang-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.lang-btn{font:inherit;color:var(--ink);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:#fff;border:3px solid #0000;border-radius:14px;padding:9px 6px;font-size:16px;font-weight:800;overflow:hidden;box-shadow:0 3px #c6d9ef}.lang-btn.on{border-color:var(--orange);box-shadow:0 3px 0 var(--orange-d);background:#fff4e6}.lang-btn:active{transform:translateY(2px)}@media (max-height:500px){.lang-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.lang-btn{padding:7px 4px;font-size:14px}}.garage .row-buttons{flex-wrap:nowrap}.garage .row-buttons>.owned-tag{flex:1 1 0;min-width:0;line-height:1.15}.garage .row-buttons>.owned-tag+.btn{flex:1 1 0;min-width:0}.garage .row-buttons>.owned-tag+.btn+.blocker-note{display:none}:lang(ja) :is(.btn,.pick-name,.upg-name,.owned-tag,.pick-rec,.stat-bar>span,.chapter-title,.unlock-title,.boost-name){word-break:keep-all}:lang(zh) :is(.btn,.pick-name,.upg-name,.owned-tag,.pick-rec,.stat-bar>span,.chapter-title,.unlock-title,.boost-name){word-break:keep-all}:lang(ko) :is(.btn,.pick-name,.upg-name,.owned-tag,.pick-rec,.stat-bar>span,.chapter-title,.unlock-title,.boost-name){word-break:keep-all}:lang(ja) .station-tip,:lang(zh) .station-tip,:lang(ko) .station-tip{word-break:keep-all;overflow-wrap:anywhere}.upg .btn,.boost-row .btn.small{min-width:0;overflow:hidden}.upg,.boost-row-text{min-width:0}.boost-row .btn.small{max-width:46%}.coach-skip{text-overflow:ellipsis;min-width:0;overflow:hidden}.pick-rec{white-space:nowrap}.pick-name{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:anywhere;max-width:100%;overflow:hidden}.btn{justify-content:safe center}.btn>svg,.btn>.coin,.btn .price .coin{flex:none}.rw-mark{color:var(--orange-d);letter-spacing:.03em;text-shadow:none;background:#fff;border-radius:.42em;flex:none;align-items:center;gap:.16em;padding:.2em .38em .2em .32em;font-size:.68em;font-weight:900;line-height:1;display:inline-flex;box-shadow:0 .12em #0000001f}.rw-mark svg{width:.78em;height:.94em}.rw-mark b{font:inherit}.rw-mark.compact{padding:.2em .3em}.rw-mark.compact b{display:none}.panel .upg .btn.rw-up,.panel .boost-row .btn.small{gap:.3em}.panel .upg .upg-buttons .btn.rw-up{gap:.22em;padding-left:0;padding-right:0}.privacy-line .dot{opacity:.5;margin:0 7px}.privacy-line a.link-btn{color:inherit;text-underline-offset:2px;white-space:nowrap;font-weight:700;-webkit-text-decoration:underline #ffffff59;text-decoration:underline #ffffff59}.privacy-line{white-space:nowrap;max-width:calc(100% - 32px);padding:3px 12px;overflow:hidden}@media (orientation:portrait) and (max-width:350px){.levels-panel{padding:12px 8px 8px}.levels-panel .level-list{padding:2px}.chapter{padding:5px}.level-card{grid-template-columns:36px minmax(0,1fr) auto;gap:7px;padding:8px 7px}.level-thumb{border-radius:10px;width:36px;height:36px;font-size:19px}.level-card .star{width:12px;height:12px}.level-name,.level-card .level-sub{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:anywhere}}@media (orientation:landscape) and (max-height:500px){.garage .pick-rw{top:-6px;right:-5px}}.boost-buy{flex:none;gap:6px;display:flex}.boost-row .boost-buy .btn.small{flex:none;gap:.3em;min-width:64px;max-width:none;padding-left:8px;padding-right:8px}.btn.rw-solo .rw-mark{font-size:.95em}
