@charset "UTF-8";@font-face{font-family:Lilita One;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/lilita-one-latin-400-normal-87r-Z-Re.woff2) format("woff2"),url(/assets/lilita-one-latin-400-normal-DXkechA3.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-latin-700-normal-Dort48En.woff2) format("woff2"),url(/assets/nunito-latin-700-normal-OcDqTBcA.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:900;src:url(/assets/nunito-latin-900-normal-BVB1fGs6.woff2) format("woff2"),url(/assets/nunito-latin-900-normal-CVn49sIn.woff) format("woff")}:root{font-family:Nunito,sans-serif;color:#173852;background:#36b7f0;font-synthesis:none;--navy: #173852;--cream: #fff7e4;--gold: #ffd447;--coral: #ff6975;--display: "Lilita One", sans-serif}*{box-sizing:border-box}html,body,#app{margin:0;width:100%;height:100%;overflow:hidden}body{overscroll-behavior:none}button,input{font:inherit;-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation;border:0;color:inherit;background:none}button:focus-visible{outline:4px solid #fff;outline-offset:5px;box-shadow:0 0 0 8px #087bcb}button:active{transform:translateY(3px)}svg{width:23px;height:23px;flex-shrink:0}h1,h2,h3,p{margin:0}#world{display:block;position:absolute;inset:0;touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair}#ui{position:absolute;inset:0;pointer-events:none}#ui button,#ui input,.dialog,.page-panel{pointer-events:auto}button{transition:filter .15s,transform .15s,box-shadow .15s}button:hover{filter:brightness(1.08)}[hidden]{display:none!important}.menu-top{position:absolute;inset:24px 34px auto;display:flex;align-items:center;justify-content:space-between;z-index:10}.brand{display:flex;align-items:center;gap:10px;font-family:var(--display);font-size:25px;color:#fff;filter:drop-shadow(0 3px 0 #163b5f);letter-spacing:.4px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;background:linear-gradient(#ffe56e,#ffad2c);border:2px solid #fff7da;border-radius:13px;transform:rotate(-9deg);color:#173852}.brand-or{color:#ffd447;margin:0 5px}.top-actions{display:flex;align-items:center;gap:12px}.edition{display:flex;align-items:center;gap:8px;background:linear-gradient(#224e70,#143651);border:2px solid #8fcde2;border-radius:15px;padding:8px 17px;color:#fff;box-shadow:0 4px #10334d;font-family:var(--display);font-size:24px}.edition b{color:#ffd447;font-size:30px;text-shadow:0 2px #a86f24}.edition small{font:900 13px Nunito;color:#a8d7e8}.icon-button{width:51px;height:51px;border-radius:15px;background:linear-gradient(#ffe771,#ffb634);border:2px solid #fff5cc;box-shadow:0 4px #ba6f26,0 6px 0 2px #173852,inset 0 2px #fff9d3;display:inline-grid;place-items:center;color:#23405a}.icon-button svg{width:27px;height:27px;stroke-width:2.5}.main-menu{position:absolute;left:7%;top:17%;width:42%;max-width:590px;animation:arrive .55s both}.eyebrow{font-size:12px;font-weight:900;letter-spacing:1.8px;color:#41829a}.adventure-ribbon{display:inline-block;color:#fff6cc;background:#19536b;border:2px solid #ffffff70;border-radius:6px;padding:6px 16px;box-shadow:0 3px #133e54;transform:rotate(-2deg);font-size:11px;letter-spacing:2.3px}.main-menu h1{font-family:var(--display);font-weight:400;line-height:.86;letter-spacing:-2px;transform:rotate(-3deg);margin:20px 0 22px;filter:drop-shadow(0 9px 0 #15364b) drop-shadow(0 3px 0 #103149);paint-order:stroke fill;-webkit-text-stroke:7px #173852;color:#fff8d9;font-size:clamp(76px,9.5vw,144px)}.title-draw{display:block;color:#fff9df;text-shadow:0 -3px #fff}.title-bottom{display:block;color:#ffd345;white-space:nowrap;font-size:.79em;margin-top:9px}.title-bottom i{display:inline-block;font-size:.36em;color:#fff;font-style:normal;letter-spacing:0;vertical-align:middle;transform:rotate(-12deg);margin-right:4px;-webkit-text-stroke:4px #173852}.tagline{font-family:var(--display);font-size:clamp(22px,2.35vw,34px);color:#fffbe4;text-shadow:0 3px 0 #18475e;margin-top:14px}.intro{font-size:16px;color:#e6f8ff;font-weight:900;line-height:1.45;margin-top:10px;text-shadow:0 2px 3px #123e65}.menu-buttons{margin-top:23px;max-width:430px;display:grid;gap:14px}.button{position:relative;border:3px solid var(--navy);border-radius:18px;min-height:54px;padding:12px 23px;display:inline-flex;justify-content:center;align-items:center;gap:12px;font-family:var(--display);font-weight:400;font-size:21px;line-height:1.15;box-shadow:0 5px #153650,inset 0 3px #ffffff85,inset 0 -4px #00000014}.primary{background:linear-gradient(#c1f96b,#88e647 48%,#66c934);color:#234b30}.primary:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(110deg,transparent 25%,#ffffff50 45%,transparent 65%);background-size:250% 100%;animation:shine 6s 2s infinite;pointer-events:none}.button:hover{transform:translateY(-2px);box-shadow:0 7px #153650,inset 0 3px #fff8}.button:active{transform:translateY(4px);box-shadow:0 1px #153650}.play-button{min-height:79px;justify-content:space-between;font-size:32px;text-shadow:0 1px #e8ffbb}.play-button>svg:first-child{width:34px;height:34px;fill:#245d34}.play-button span{flex:1;text-align:left}.play-button small{display:block;font:900 10px Nunito;letter-spacing:.3px;opacity:.78;margin-top:4px}.menu-secondary{display:flex;gap:12px}.menu-secondary .button{flex:1;padding:12px 15px;font-size:18px;white-space:nowrap}.secondary{background:linear-gradient(#fff9df,#f6ddaa)}.garage-button{background:linear-gradient(#ffdf68,#ffb541)}.input-hint{display:flex;align-items:center;gap:9px;color:#e7faff;font-size:10px;letter-spacing:1.1px;font-weight:900;margin-top:20px;text-shadow:0 2px #24506d}.input-hint svg{width:18px;height:18px}.input-hint span{color:#ffd655}.hero-caption{position:absolute;left:60%;right:7%;top:65%;text-align:center;color:#fff;transform:rotate(-3deg);text-shadow:0 3px #153d56;animation:caption-float 4s ease-in-out infinite}.hero-caption span{font-size:10px;letter-spacing:2.5px;font-weight:900;color:#fff4b3}.hero-caption strong{display:block;font:36px var(--display);margin-top:4px}.hero-caption i{font-style:normal;font-size:11px;letter-spacing:1.7px;font-weight:900;color:#d3f3fb}.world-ribbon{position:absolute;left:5%;right:5%;bottom:53px}.world-ribbon-heading{display:flex;align-items:center;gap:18px;margin-bottom:11px;color:#fff;text-shadow:0 2px #143852}.world-ribbon-heading>span{font-size:10px;letter-spacing:1.8px;background:#173852d9;border:1px solid #9fd4de;border-radius:5px;padding:5px 10px}.world-ribbon-heading strong{font-size:13px}.world-postcards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.world-postcard{background-image:linear-gradient(0deg,#12314cf2,#12314c00),var(--world-image);background-position:center 55%;background-size:cover;min-height:107px;border:3px solid #fff7db;border-radius:17px;box-shadow:0 5px #173852,0 8px 16px #12354a55;display:flex;align-items:flex-end;gap:12px;color:#fff;padding:18px 16px 13px;text-align:left;overflow:hidden}.world-postcard:hover{transform:translateY(-5px)}.world-number{font:25px var(--display);color:#ffdf77;text-shadow:0 2px #173852}.world-postcard small{font-size:8px;font-weight:900;letter-spacing:1.5px;color:#c9f0ff;display:block}.world-postcard strong{display:block;font:24px var(--display);text-shadow:0 3px #163954;margin-top:4px}.world-postcard>svg{margin-left:auto;width:19px}.menu-bottom{position:absolute;bottom:0;left:0;right:0;height:32px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;background:#153e58b8;color:#ddf3f8;font-weight:900;font-size:9px;letter-spacing:1.4px}.menu-bottom b{color:#ffcf53;margin:0 10px}.menu-bottom button{display:flex;align-items:center;gap:6px;font-size:11px;letter-spacing:0}.menu-bottom svg{width:17px;height:17px}.page-panel{position:absolute;inset:104px 4% 28px;padding:28px 34px 20px;background:linear-gradient(145deg,#fff8e9f5,#e5f5f4f7);border:4px solid #fff8dc;border-radius:29px;box-shadow:0 7px #193d58,0 0 0 3px #234660,0 18px 40px #13374b55;overflow:auto;animation:arrive .35s both}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}h2{font:44px/1.08 var(--display);letter-spacing:-.5px;margin:8px 0 18px}h2>span{color:#f28a3b}.star-total{background:linear-gradient(#ffe9a1,#ffd262);border:2px solid #cd8e2b;border-radius:16px;padding:12px 19px;font:30px var(--display);color:#7d4c17;box-shadow:inset 0 2px #fff8}.star-total small{font:900 12px Nunito;opacity:.7}.chapter-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:3px}.chapter-tabs button{position:relative;border:3px solid #5e8499;border-radius:17px;background-image:linear-gradient(0deg,#143954e6,#14395400),var(--world-image);background-size:cover;background-position:50% 48%;min-height:120px;text-align:left;color:#fff;padding:18px 20px;box-shadow:0 4px #36566d;display:flex;flex-direction:column;justify-content:flex-end}.chapter-tabs .selected{border-color:#ffe36c;box-shadow:0 4px #b0802a,0 0 0 3px #e1a931;transform:translateY(-2px)}.chapter-tabs .selected:after{content:"✓";position:absolute;top:10px;right:12px;background:#ffe066;border:2px solid #2b5364;color:#244a58;border-radius:50%;width:26px;height:26px;display:grid;place-items:center}.chapter-tabs small{font-size:9px;letter-spacing:2px;font-weight:900;color:#d3f5ff}.chapter-tabs strong{font:25px var(--display);text-shadow:0 2px #183951;margin-top:3px}.chapter-caption{display:flex;align-items:center;justify-content:space-between;margin:28px 0 12px;gap:15px}.chapter-caption strong{font:23px var(--display)}.chapter-caption>span{font-size:12px;color:#587b8a}.route-map{position:relative;padding:10px 3px 42px;background:linear-gradient(#e0f1db66,#90cda333);border:2px dashed #c3dac7;border-radius:24px}.map-trail{position:absolute;left:0;top:0;right:0;width:100%;height:160px;fill:none;stroke-linecap:round}.map-trail path:first-child{stroke:#6ba78c55;stroke-width:21}.map-trail path:last-child{stroke:#fff7c7;stroke-width:6;stroke-dasharray:9 13}.level-grid{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:13px;align-items:start}.level-card{display:flex;align-items:center;flex-direction:column;position:relative;margin-top:var(--node-offset);padding:9px 10px 0;text-align:center;animation:arrive .4s var(--node-delay) both;min-width:0}.level-card:hover{transform:translateY(-4px)}.route-number{display:grid;place-items:center;width:67px;height:67px;border-radius:24px;border:3px solid #fff8d5;background:linear-gradient(#ffe47b,#ffad36);box-shadow:0 5px #b46c23,0 0 0 3px #274a60,0 9px 0 2px #274a60;font:31px var(--display);color:#764517;transform:rotate(-5deg)}.completed .route-number{background:linear-gradient(#c9f990,#7ed946);color:#33662d;box-shadow:0 5px #4e962c,0 0 0 3px #274a60,0 9px 0 2px #274a60}.stars{display:inline-flex;gap:3px;font:21px var(--display);letter-spacing:1px;filter:drop-shadow(0 2px 0 #79959e)}.stars>span{color:#abc5ca}.stars .earned{color:#ffc43d;filter:drop-shadow(0 1px 0 #93642d)}.level-card>.stars{margin-top:11px}.level-card h3{font:18px/1.12 var(--display);margin:8px 0;max-width:170px;min-height:40px}.level-meta{font-size:11px;color:#5b7b85;font-weight:900}.level-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;max-width:160px;border-top:2px solid #c6dcd8;margin-top:12px;padding-top:9px;font-size:10px;color:#527783}.level-bottom svg{width:24px;height:24px;fill:#5fcd54;stroke:#366b52}.panel-footer{display:flex;align-items:center;justify-content:space-between;margin-top:18px;gap:12px}.panel-footer>span{font-size:11px;color:#64808a}.text-button{display:inline-flex;align-items:center;gap:8px;font-weight:900;font-size:13px;padding:11px 2px;color:#2e6581}.text-button:hover{color:#ed8642}.text-button svg{width:18px;height:18px}.panel-footer .text-button>svg,.garage-panel>.text-button>svg{transform:rotate(180deg)}.garage-panel{background:linear-gradient(135deg,#f3faff,#e4f7f2)}.garage-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:center}.garage-showroom{min-width:0}.garage-art{position:relative;height:310px;border:3px solid #badde0;border-radius:25px;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#fffde9,#b9e8ef 60%,#89bdce)}.garage-art canvas{position:relative;width:100%;height:100%;object-fit:contain;z-index:2}.showroom-rays{position:absolute;inset:-100%;background:repeating-conic-gradient(from 0deg,#fff5 0 10deg,transparent 10deg 30deg);animation:spin 90s linear infinite}.showroom-platform{position:absolute;left:8%;right:8%;height:22%;bottom:12%;background:linear-gradient(#fffbd7,#cee2d6 40%,#73a8af 43%,#507d93);border:3px solid #6c9eab;border-radius:50%;box-shadow:0 12px 10px #335f7a55}.showroom-label{position:absolute;bottom:12px;left:0;right:0;text-align:center;color:#32667a;font-size:10px;letter-spacing:2px;font-weight:900}.vehicle-tabs{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:15px}.vehicle-tabs button{border:2px solid #93bdc9;border-radius:13px;background:linear-gradient(#f9ffff,#cce9e9);padding:2px 0 8px;box-shadow:0 3px #7297ab;font-size:10px;font-weight:900;overflow:hidden;min-width:0}.vehicle-tabs .selected{border-color:#efad31;background:linear-gradient(#fff8cf,#ffe18b);box-shadow:0 3px #be8426,0 0 0 2px #ffe180}.vehicle-tabs canvas{display:block;width:100%;height:auto}.vehicle-info h3{font:42px var(--display);margin:7px 0 12px}.vehicle-info p{font-size:14px;color:#5c7d8b;line-height:1.6;max-width:410px}.vehicle-stats{display:grid;gap:16px;margin:25px 0}.vehicle-stats>div{display:grid;grid-template-columns:1fr auto;gap:6px}.vehicle-stats span{font-size:10px;letter-spacing:1.2px;font-weight:900;color:#698693}.vehicle-stats b{font:17px var(--display)}.stat-track{grid-column:1/-1;height:10px;background:#c5dce0;border:1px solid #9bbec9;border-radius:5px;overflow:hidden}.stat-track i{display:block;height:100%;background:linear-gradient(#aee86e,#64c68c);border-radius:4px}.vehicle-info .button{width:100%}.muted{display:block;font-size:10px;line-height:1.5;color:#6e8991;margin-top:14px}.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#0b2b47a6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:25px;pointer-events:auto;z-index:30}.dialog{position:relative;width:min(500px,94vw);max-height:94vh;overflow:auto;background:linear-gradient(145deg,#fffbed,#f6e9c8);border:4px solid #fff6ce;border-radius:27px;padding:33px 35px;box-shadow:0 7px #c39e67,0 0 0 4px #173852,0 13px 0 4px #173852,0 23px 60px #0c284c99;animation:pop .35s both}.dialog>.icon-button{position:absolute;right:15px;top:15px;width:35px;height:35px;border-radius:10px}.dialog>.icon-button svg{width:20px;height:20px}.dialog .eyebrow{font-size:10px}.dialog h2{margin:10px 0 14px}.dialog>p{font-size:14px;line-height:1.55;color:#64808a;margin-bottom:21px}.full{width:100%}.dialog-actions{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:18px}.dialog-actions .button{flex:1;padding:12px;font-size:17px}.compact{text-align:center;width:440px}.compact .text-button{margin-top:14px}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:15px;width:100%;text-align:left;border-top:1px solid #d9d6bd;padding:16px 0}.setting-row strong{display:block;font-size:15px}.setting-row small{display:block;font-size:11px;color:#78919a;margin-top:4px}.toggle{width:48px;height:27px;border-radius:16px;background:#a6bec2;border:2px solid #7f9ea9;padding:2px;flex-shrink:0}.toggle i{display:block;width:19px;height:19px;background:#fff8df;border-radius:50%;box-shadow:0 2px 2px #365c8066;transition:transform .2s}.toggle.on{background:#91d84d;border-color:#659a40}.toggle.on i{transform:translate(20px)}.setting-row:last-of-type{margin-bottom:15px}.how-step{display:flex;gap:15px;margin:23px 0}.how-step>b{font:24px var(--display);color:#ed9d32}.how-step strong{font-size:15px}.how-step p{font-size:13px;line-height:1.5;color:#718794;margin-top:5px}.key-row{display:flex;align-items:center;gap:10px;font-size:12px;color:#5e808c;margin:20px 0}kbd{background:#fff;border:2px solid #b6ced2;border-radius:5px;padding:3px 6px;font-weight:900}.hud{position:absolute;top:18px;left:22px;right:22px;display:flex;align-items:center;gap:12px;z-index:5}.hud-route{display:flex;align-items:center;gap:12px;background:linear-gradient(#fff9e8,#f3e9c9);border:3px solid #fff8db;border-radius:17px;box-shadow:0 4px #183d57,0 0 0 2px #204760;padding:9px 18px 9px 8px;min-width:265px}.level-badge{display:grid;place-items:center;background:linear-gradient(#ffe17c,#ffaf38);border:2px solid #b28337;box-shadow:inset 0 2px #fff7bd,0 2px #a98040;width:43px;height:43px;border-radius:12px;font:24px var(--display);color:#754a20}.hud-route small{display:block;font-size:9px;letter-spacing:1.3px;color:#73959f;font-weight:900}.hud-route strong{font:18px var(--display);display:block;margin-top:3px}.hud-speed,.hud-distance{display:flex;align-items:center;justify-content:center;gap:7px;background:#123e60e8;border:2px solid #94d7e2;border-radius:15px;box-shadow:0 4px #133650;padding:12px 16px;color:#fff}.hud-speed strong{font:29px var(--display)}.hud-speed span,.hud-distance>span{font-size:8px;font-weight:900;letter-spacing:1px;color:#a9d9e8}.hud-distance strong{font:20px var(--display)}.hud-distance svg{color:#ffda65;width:20px}.hud-actions{margin-left:auto;display:flex;gap:10px}.hud-actions .icon-button{width:47px;height:47px}.route-progress{position:absolute;top:calc(100% + 9px);left:5px;width:calc(100% - 10px);height:5px;background:#16395177;border-radius:5px;overflow:hidden}.route-progress i{display:block;height:100%;background:linear-gradient(90deg,#c0f56a,#fff197);border-radius:5px;box-shadow:0 0 6px #fff}.tutorial-ribbon{position:absolute;top:110px;left:50%;transform:translate(-50%);max-width:640px;width:max-content;display:flex;align-items:center;gap:10px;padding:10px 15px;background:#fff6d9ef;border:2px solid #d5b668;border-radius:13px;box-shadow:0 4px #234b6480;color:#315e77;font-size:12px;font-weight:900;animation:tip-in .5s both}.tutorial-ribbon>span:nth-child(2){max-width:520px}.tip-mark{display:grid;place-items:center;color:#d88b2f}.tutorial-ribbon button{font-size:22px;margin-left:5px}.tutorial-ribbon.dismissed{display:none}.bottom-hud{position:absolute;left:22px;right:22px;bottom:22px;display:flex;justify-content:space-between;gap:20px;align-items:flex-end}.condition-panel,.ink-panel{border:2px solid #9edbe3;border-radius:17px;background:linear-gradient(#214e70f5,#133951f5);color:#e9faff;box-shadow:0 4px #12314b;padding:12px 16px}.condition-panel>small{font-size:9px;letter-spacing:2px;color:#bdd5df;font-weight:900}.components{display:flex;gap:17px;margin-top:8px}.component{display:grid;grid-template-columns:1fr auto;gap:5px;min-width:55px}.component>span{font-size:8px;color:#b5dbe5;letter-spacing:.6px}.component>b{font:12px var(--display)}.mini-meter{grid-column:1/-1;height:5px;background:#102a45;border-radius:4px;overflow:hidden}.mini-meter>i{display:block;height:100%;width:100%;background:#83df50;border-radius:4px}.ink-panel{width:280px}.ink-top{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:900;letter-spacing:1.1px}.ink-top>b{margin-left:auto;font:21px var(--display);color:#ffe17e}.ink-top svg{width:18px;color:#ffd062}.ink-meter{height:9px;background:#102b44;border-radius:7px;border:1px solid #53788d;overflow:hidden;margin:8px 0 5px}.ink-meter i{display:block;width:100%;height:100%;background:linear-gradient(#fff59b,#ffc039);border-radius:6px}.ink-panel>small{font-size:8px;letter-spacing:1px;font-weight:900;color:#bce4ed}.ink-panel .invalid{color:#ff9e94}.debug{position:absolute;top:156px;left:24px;background:#0d223ce8;color:#b5f3b7;white-space:pre;font:11px monospace;padding:10px;border-radius:8px}.portrait-hint{display:none}.stunt-toast{position:absolute;top:35%;left:32%;font:36px var(--display);color:#ffdf64;-webkit-text-stroke:2px #193b58;paint-order:stroke fill;text-shadow:0 4px #183852;transform:rotate(-8deg) scale(.7);opacity:0;transition:transform .22s,opacity .22s}.stunt-toast.show{opacity:1;transform:rotate(-8deg) scale(1)}.result-dialog{text-align:center;width:520px;overflow:visible}.result-dialog h2{font-size:39px}.result-dialog .eyebrow{margin-top:10px}.result-emblem{display:grid;place-items:center;width:77px;height:77px;border-radius:27px;margin:-68px auto 20px;border:4px solid #fff5b7;background:linear-gradient(#ffe88a,#ffb429);box-shadow:0 0 0 4px #183b56,0 7px #173852;font:58px var(--display);color:#fffce7;text-shadow:0 3px #ce7c28;transform:rotate(-10deg);animation:badge .6s both}.crash .result-emblem{background:linear-gradient(#ffad87,#f46463);color:#fff}.result-stars{margin:14px 0}.result-stars .stars{font-size:46px;gap:12px;filter:drop-shadow(0 4px 0 #9c823f)}.result-stars .stars>span{animation:star-pop .5s .1s both}.result-stars .stars>span:nth-child(2){animation-delay:.25s;transform:translateY(-6px)}.result-stars .stars>span:nth-child(3){animation-delay:.4s}.result-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:16px 0;border-top:2px dashed #d5c7a2;border-bottom:2px dashed #d5c7a2;margin:22px 0}.result-stats small{display:block;font-size:8px;letter-spacing:1px;color:#7b9093}.result-stats strong{display:block;font:25px var(--display);margin-top:4px}.result-stats em{font:12px Nunito;margin-left:2px}.confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}.confetti i{position:absolute;left:var(--x);top:-20px;width:10px;height:19px;background:var(--c);border-radius:3px;animation:confetti 3.5s var(--delay) linear infinite}.result-overlay .dialog{z-index:1}@keyframes arrive{0%{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}@keyframes pop{0%{opacity:0;transform:scale(.85)}70%{transform:scale(1.025)}to{opacity:1;transform:scale(1)}}@keyframes shine{0%,60%{background-position:180% 0}to{background-position:-80% 0}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes caption-float{0%,to{transform:rotate(-3deg) translateY(0)}50%{transform:rotate(-2deg) translateY(-6px)}}@keyframes badge{0%{transform:rotate(-30deg) scale(.3)}to{transform:rotate(-10deg) scale(1)}}@keyframes star-pop{0%{opacity:0;scale:.3;rotate:-35deg}to{opacity:1;scale:1;rotate:0deg}}@keyframes confetti{to{top:110%;transform:translate(70px) rotate(600deg)}}@keyframes tip-in{0%{opacity:0;margin-top:-8px}to{opacity:1;margin-top:0}}@media(max-height:760px)and (min-width:901px){.main-menu{top:16%}.main-menu h1{font-size:108px;margin:14px 0 18px}.intro{font-size:13px;margin-top:6px}.tagline{font-size:27px}.menu-buttons{margin-top:16px;max-width:380px}.play-button{min-height:64px;font-size:27px}.menu-secondary .button{min-height:44px;font-size:16px;padding:10px}.input-hint{margin-top:14px}.world-postcard{min-height:84px;padding:12px}.world-postcard strong{font-size:21px}.world-ribbon-heading{margin-bottom:8px}.hero-caption{top:66%}.hero-caption strong{font-size:30px}.page-panel{inset:95px 4% 22px;padding:22px 28px}.chapter-tabs button{min-height:94px}.chapter-caption{margin-top:20px}.route-map{padding-bottom:24px}.garage-art{height:260px}.garage-layout{gap:25px}.vehicle-stats{gap:12px;margin:18px 0}.vehicle-info h3{font-size:36px}}@media(max-width:900px),(max-height:530px){.menu-top{inset:12px 20px auto}.brand{font-size:19px;gap:7px}.brand-mark{width:32px;height:32px;border-radius:10px}.brand-mark svg{width:19px}.top-actions{gap:9px}.icon-button{width:38px;height:38px;border-radius:11px;box-shadow:0 3px #b27629,0 4px 0 2px #173852}.icon-button svg{width:22px;height:22px}.edition{font-size:18px;padding:3px 12px;border-radius:11px;gap:6px}.edition b{font-size:23px}.edition small{font-size:10px}.main-menu{left:6%;top:75px;width:43%;max-width:none}.adventure-ribbon{padding:4px 10px;font-size:7px;letter-spacing:1.5px}.main-menu h1{font-size:69px;margin:12px 0;-webkit-text-stroke:5px;filter:drop-shadow(0 5px 0 #15364b)}.title-bottom{margin-top:5px}.title-bottom i{-webkit-text-stroke:3px}.tagline{font-size:22px;margin-top:8px}.intro{font-size:11px;margin-top:6px}.menu-buttons{margin-top:13px;gap:10px;max-width:340px}.play-button{min-height:55px;padding:8px 15px;font-size:25px;border-radius:14px;border-width:2px}.play-button small{font-size:8px}.play-button>svg:first-child{width:25px;height:25px}.menu-secondary{gap:9px}.menu-secondary .button{min-height:39px;border-width:2px;border-radius:12px;padding:8px;font-size:14px;gap:6px}.menu-secondary svg{width:18px;height:18px}.input-hint{font-size:7px;letter-spacing:.6px;gap:5px;margin-top:14px}.input-hint svg{width:14px}.hero-caption{top:62%;left:60%;right:4%}.hero-caption span{font-size:7px;letter-spacing:1.5px}.hero-caption strong{font-size:25px}.hero-caption i{font-size:8px;letter-spacing:1px}.world-ribbon{left:4%;right:4%;bottom:40px}.world-ribbon-heading{display:none}.world-postcards{gap:10px}.world-postcard{min-height:74px;border-width:2px;border-radius:12px;padding:12px 10px 9px;gap:8px}.world-postcard strong{font-size:18px;margin-top:1px}.world-postcard small{font-size:6px;letter-spacing:.8px}.world-number{font-size:20px}.world-postcard>svg{width:15px}.menu-bottom{height:26px;font-size:7px}.menu-bottom button{font-size:9px}.menu-bottom svg{width:14px}.page-panel{inset:68px 3% 15px;padding:16px 20px;border-radius:20px;border-width:3px}.eyebrow{font-size:8px;letter-spacing:1.4px}h2{font-size:31px;margin:5px 0 12px}.star-total{font-size:23px;padding:8px 12px;border-radius:12px}.chapter-tabs{gap:12px}.chapter-tabs button{min-height:79px;padding:10px 12px;border-width:2px;border-radius:12px}.chapter-tabs strong{font-size:19px}.chapter-tabs small{font-size:7px}.chapter-tabs .selected:after{top:5px;right:7px;width:19px;height:19px;font-size:12px}.chapter-caption{margin:16px 0 9px}.chapter-caption strong{font-size:19px}.chapter-caption>span{font-size:9px}.level-grid{gap:6px}.route-number{width:51px;height:51px;font-size:24px;border-radius:19px}.level-card{padding:5px 4px 0}.level-card h3{font-size:15px;min-height:33px;margin:6px 0}.level-card>.stars{font-size:17px;margin-top:8px}.level-meta{font-size:8px}.level-bottom{font-size:8px;margin-top:7px;padding-top:6px}.route-map{padding:8px 2px 25px}.map-trail{height:130px}.panel-footer{margin-top:9px}.panel-footer>span{font-size:9px}.text-button{font-size:10px;padding:8px 1px}.garage-layout{grid-template-columns:1.25fr 1fr;gap:20px}.garage-art{height:240px;border-radius:18px}.vehicle-info h3{font-size:30px;margin:4px 0 7px}.vehicle-info p{font-size:11px}.vehicle-stats{gap:9px;margin:13px 0}.vehicle-stats span{font-size:8px}.vehicle-stats b{font-size:13px}.stat-track{height:7px}.vehicle-info .button{min-height:43px;padding:10px;font-size:16px;border-radius:13px}.muted{font-size:8px;margin-top:9px}.vehicle-tabs{gap:5px;margin-top:10px}.vehicle-tabs button{font-size:8px;border-radius:9px;padding-bottom:5px}.showroom-label{font-size:7px;bottom:10px}.dialog{padding:25px;max-height:90vh;border-radius:21px}.dialog h2{font-size:32px}.dialog>p{font-size:12px;margin-bottom:14px}.dialog .button{min-height:44px;font-size:18px;border-radius:13px;padding:10px 14px}.setting-row{padding:10px 0}.setting-row strong{font-size:13px}.setting-row small{font-size:9px}.how-step{margin:15px 0}.how-step p{font-size:11px}.how-step strong{font-size:13px}.key-row{margin:13px 0;font-size:10px}.hud{top:10px;left:13px;right:13px;gap:9px}.hud-route{min-width:225px;padding:6px 12px 6px 6px;gap:9px;border-width:2px;border-radius:13px}.level-badge{width:33px;height:33px;border-radius:10px;font-size:21px}.hud-route small{font-size:7px;letter-spacing:.8px}.hud-route strong{font-size:14px}.hud-speed,.hud-distance{padding:8px 10px;border-radius:12px;gap:5px}.hud-speed strong{font-size:22px}.hud-speed span,.hud-distance>span{font-size:7px}.hud-distance strong{font-size:16px}.hud-actions{gap:8px}.hud-actions .icon-button{width:36px;height:36px}.hud-actions .icon-button svg{width:21px;height:21px}.route-progress{height:4px;top:calc(100% + 6px)}.tutorial-ribbon{top:79px;padding:6px 10px;font-size:10px;max-width:80%;gap:6px;border-radius:10px}.tutorial-ribbon>span:nth-child(2){max-width:500px}.tutorial-ribbon svg{width:17px;height:17px}.tutorial-ribbon button{font-size:19px}.bottom-hud{left:13px;right:13px;bottom:12px;gap:12px}.condition-panel,.ink-panel{padding:8px 11px;border-radius:12px}.condition-panel>small{font-size:7px;letter-spacing:1.4px}.components{gap:12px;margin-top:5px}.component{min-width:43px;gap:3px}.component>span{font-size:6px}.component>b{font-size:10px}.mini-meter{height:4px}.ink-panel{width:222px}.ink-top{font-size:8px;letter-spacing:.8px}.ink-top>b{font-size:17px}.ink-top svg{width:15px;height:15px}.ink-meter{height:7px;margin:6px 0 3px}.ink-panel>small{font-size:6px;letter-spacing:.7px}.stunt-toast{font-size:26px}.debug{top:120px;left:14px;font-size:9px}.result-dialog{max-width:465px;padding:22px 28px}.result-dialog h2{font-size:32px}.result-emblem{width:53px;height:53px;font-size:39px;border-radius:18px;margin:-46px auto 12px;border-width:3px}.result-dialog .eyebrow{font-size:8px}.result-stars{margin:9px 0}.result-stars .stars{font-size:32px}.result-stats{margin:14px 0;padding:11px 0}.result-stats strong{font-size:21px}.result-stats small{font-size:7px}.dialog-actions{margin-top:11px;gap:12px}.confetti i{width:7px;height:13px}}@media(max-height:530px)and (min-width:601px){.main-menu{top:63px}.adventure-ribbon{font-size:6px;padding:3px 8px}.main-menu h1{font-size:61px;margin:9px 0 10px}.tagline{font-size:19px;margin-top:4px}.intro,.input-hint{display:none}.menu-buttons{margin-top:11px;max-width:315px;gap:10px}.play-button{min-height:50px;font-size:23px}.menu-secondary .button{min-height:35px;font-size:12px;padding:7px}.hero-caption{top:63%}.hero-caption strong{font-size:22px}.world-ribbon{bottom:34px}.world-postcard{min-height:59px;padding:8px}.world-postcard strong{font-size:16px}.world-postcard small{display:none}.world-number{font-size:18px}.page-panel{inset:64px 3% 13px;padding:12px 18px}.page-heading .eyebrow,.garage-panel>.eyebrow{display:none}h2{font-size:28px;margin:0 0 10px}.chapter-tabs button{min-height:62px;padding:8px 11px}.chapter-tabs strong{font-size:17px}.chapter-caption{margin:12px 0 7px}.chapter-caption strong{font-size:15px}.chapter-caption>span{font-size:8px}.route-number{width:41px;height:41px;font-size:21px;border-radius:15px}.level-card{margin-top:calc(var(--node-offset) * .45);padding-top:2px}.level-card>.stars{font-size:13px;margin-top:7px}.level-card h3{font-size:12px;min-height:26px;margin:4px 0}.level-bottom{display:none}.route-map{padding:5px 0 12px}.map-trail{height:85px}.panel-footer{margin-top:4px}.panel-footer .text-button{padding:5px 0}.garage-layout{gap:22px;align-items:start}.garage-art{height:174px}.vehicle-tabs{margin-top:8px}.vehicle-tabs canvas{height:38px;object-fit:contain}.vehicle-info h3{font-size:27px}.vehicle-info p{font-size:10px;line-height:1.35}.vehicle-info .eyebrow{font-size:7px}.vehicle-stats{gap:6px;margin:10px 0}.vehicle-stats b{font-size:11px}.vehicle-stats span{font-size:7px}.stat-track{height:5px}.vehicle-info .button{min-height:37px;font-size:14px;padding:8px}.muted{font-size:7px;margin-top:8px}.garage-panel>.text-button{padding:5px 0}.result-dialog{padding:16px 25px;max-height:86vh}.result-dialog h2{font-size:27px;margin:6px 0 10px}.result-dialog>p{font-size:10px;margin-bottom:9px}.result-emblem{margin-top:-38px;margin-bottom:9px;width:45px;height:45px;font-size:32px}.result-stars{margin:6px 0}.result-stars .stars{font-size:27px}.result-stats{padding:8px 0;margin:10px 0}.result-stats strong{font-size:18px}.dialog-actions{margin-top:9px}.result-dialog .button{min-height:37px;font-size:16px;padding:8px}.result-dialog .text-button{padding:6px 0}}@media(max-width:600px){.menu-top{inset:14px 14px auto}.brand{font-size:16px}.top-actions{gap:8px}.edition{padding:4px 8px;font-size:15px}.edition small{display:none}.main-menu{top:14%;left:8%;width:84%;text-align:center}.adventure-ribbon{font-size:8px}.main-menu h1{font-size:86px;margin:16px auto 19px}.tagline{font-size:25px}.intro{display:none}.menu-buttons{max-width:350px;margin:18px auto 0}.play-button{min-height:65px;font-size:28px}.menu-secondary .button{min-height:43px;font-size:15px}.input-hint{justify-content:center;margin-top:16px;font-size:8px}.hero-caption{display:none}.world-ribbon{bottom:44px}.world-postcards{gap:7px}.world-postcard{min-height:104px;display:block;text-align:center;padding:12px 5px}.world-postcard strong{font-size:15px;line-height:1.05;margin-top:6px}.world-postcard small,.world-postcard>svg{display:none}.world-number{font-size:19px}.menu-bottom{font-size:6px;letter-spacing:.5px}.menu-bottom b{margin:0 4px}.page-panel{inset:76px 3% 17px;padding:17px 14px}.page-heading{align-items:start}h2{font-size:29px}.star-total{font-size:20px;padding:7px 9px}.star-total small{font-size:9px}.chapter-tabs{gap:8px}.chapter-tabs button{padding:9px 7px;min-height:95px}.chapter-tabs strong{font-size:17px;line-height:1.05}.chapter-tabs small{font-size:6px;letter-spacing:1px}.chapter-caption{display:block;margin-top:20px}.chapter-caption>span{display:block;margin-top:5px}.level-grid{grid-template-columns:repeat(2,1fr);gap:19px}.level-card{margin-top:0}.level-grid>.level-card:last-child{grid-column:1/-1;max-width:170px;justify-self:center}.route-map{padding:20px 12px}.map-trail{display:none}.level-card h3{min-height:unset}.level-bottom{margin-top:6px}.panel-footer>span{display:none}.garage-layout{display:flex;flex-direction:column;gap:22px}.garage-showroom{width:100%}.garage-art{height:225px}.vehicle-tabs{gap:5px}.vehicle-tabs button{font-size:7px}.vehicle-info{width:100%}.vehicle-stats{margin:17px 0}.vehicle-info h3{font-size:32px}.vehicle-info p{font-size:12px}.muted{font-size:9px}.garage-panel>.text-button{margin-top:13px}.hud-route{min-width:0;max-width:190px;gap:6px;padding:6px}.hud-route strong{font-size:11px}.hud-route small{font-size:6px}.hud-speed,.hud-distance{display:none}.hud-actions{gap:6px}.hud-actions .icon-button{width:32px;height:34px}.hud-actions .icon-button:first-child{display:none}.bottom-hud{flex-direction:column;align-items:stretch;gap:8px}.condition-panel{display:none}.ink-panel{width:100%}.tutorial-ribbon{top:85px;width:90%;max-width:90%;font-size:10px}.portrait-hint{display:flex;position:absolute;left:15px;right:15px;bottom:105px;align-items:center;justify-content:center;gap:8px;padding:10px;background:#143a55e8;color:#fff8d9;border:1px solid #9ad0da;border-radius:12px;font-size:9px}.portrait-hint>span{display:none}.portrait-hint svg{width:20px}.dialog{padding:28px 23px}.dialog h2{font-size:31px}.result-dialog{padding:25px 20px}.result-dialog h2{font-size:29px}.dialog-actions{gap:8px}.dialog-actions .button{font-size:14px}.stunt-toast{top:30%;left:30%;font-size:24px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.reduced-motion *,.reduced-motion *:before,.reduced-motion *:after{animation:none!important;transition:none!important}.reduced-motion .confetti,.reduced-motion .stunt-toast,.low-power .showroom-rays,.low-power .confetti{display:none}.low-power *:after{animation:none!important}.low-power .overlay{-webkit-backdrop-filter:none;backdrop-filter:none}@media(min-width:901px)and (min-height:761px){.main-menu{top:14%}.main-menu h1{font-size:130px}.garage-art{height:360px}.garage-layout{margin-top:20px}}@media(max-width:900px),(max-height:530px){.main-menu h1,.title-bottom i{-webkit-text-stroke-color:#173852}}@media(max-height:530px)and (min-width:601px){.world-ribbon{left:52%;right:3%;bottom:34px}.world-postcards{gap:8px}.world-postcard{min-height:59px;display:block;text-align:center;padding:8px 4px}.world-postcard strong{font-size:14px;line-height:1.05}.world-postcard .world-number,.world-postcard>svg{display:none}.hero-caption i{display:none}.main-menu{width:44%}}.world-ribbon-heading{display:none}@media(max-height:530px)and (min-width:601px){.garage-art{height:155px}}.personal-best{display:flex;align-items:center;gap:18px;font-size:11px;letter-spacing:2px;color:#48677b;margin:14px 0}.personal-best b{font:32px Lilita One,sans-serif;color:#23445c;letter-spacing:0}.personal-best small{font-size:16px}.endless-menu .intro{max-width:410px}.world-postcard{cursor:default}.gold-wallet{color:#72501b;background:#fff3bd}.ticket-wallet{color:#7241a0;background:#eee1ff}.save-notice{position:absolute;bottom:15px;left:20px;right:20px;padding:14px;background:#fff0e4;color:#933c3b;border-radius:12px;pointer-events:auto}.save-error{color:#b44753;font-weight:900}.muted{color:#65798a;font-size:12px}.career-garage{max-height:calc(100dvh - 114px);overflow:auto;padding-bottom:20px}.garage-heading,.reveal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.garage-heading h2{font-size:36px}.career-garage .garage-layout{grid-template-columns:1.3fr 1fr;gap:30px}.career-garage .garage-art{height:235px}.career-garage .garage-art canvas{height:100%;width:100%;object-fit:contain}.career-tiles{grid-template-columns:repeat(4,1fr);gap:8px}.career-tiles button{padding:3px;min-height:85px;display:flex;flex-direction:column;align-items:center}.career-tiles canvas{height:54px;width:95px;max-width:100%}.career-tiles span{font-size:12px}.career-tiles small{font-size:9px;color:#6b7d8d}.career-tiles .locked{background:#e8eef1}.career-tiles .locked canvas{opacity:.78}.career-garage .vehicle-info h3{font-size:36px}.career-garage .vehicle-info p{font-size:13px;margin:8px 0}.compact-stats{display:flex;justify-content:space-between;gap:20px;margin:10px 0}.compact-stats div{display:flex;flex-direction:column;gap:4px}.compact-stats span{font-size:9px;letter-spacing:1px}.compact-stats b{font-size:14px}.garage-purchase{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0}.garage-purchase .button{min-height:44px;font-size:13px;padding:10px 16px}.garage-purchase small{font-size:11px}.upgrade-list{display:grid;gap:7px}.upgrade-list button{display:flex;align-items:center;justify-content:space-between;border:2px solid #d7e4e8;border-radius:12px;padding:10px 13px;background:#fffaf0;text-align:left;font:900 13px Nunito;color:#25425e}.upgrade-list small{display:block;font-size:10px;font-weight:700;color:#6d7e87}.upgrade-list b{text-align:right}.cosmetic-row{border-top:1px solid #d3e0e5;margin-top:20px;padding-top:16px;display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.cosmetic-row .cosmetic-group{font-size:10px;letter-spacing:1px}.cosmetic-row button{font:800 11px Nunito;min-height:36px;padding:6px 8px;border:2px solid #dbe6e9;border-radius:9px;color:#456078;background:#fff;letter-spacing:0}.cosmetic-row .selected{border-color:#efaa39;background:#fff2ba;color:#73532a}.panel-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding-top:12px;border-top:1px solid #d4dfe5;font-size:11px;color:#647b8c}.rarity-common{--rarity: #7cacbc}.rarity-rare{--rarity: #4aa9e8}.rarity-epic{--rarity: #ad79e0}.rarity-legendary{--rarity: #f3b02c}.crate-shop{overflow:auto;max-height:calc(100dvh - 114px)}.crate-shop h2,.reveal-page h2{font-size:44px}.crate-shop-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:50px;align-items:center;margin:25px 0}.crate-illustration{text-align:center;padding:25px;background:radial-gradient(ellipse,#ffda777a,transparent 70%)}.crate-door{width:210px;height:210px;margin:0 auto 24px;display:grid;place-items:center;font:130px Lilita One;color:#fff3c3;background:repeating-linear-gradient(0deg,#d6964a 0 22px,#b57536 23px 25px);border:14px solid #577b91;border-bottom:12px solid #314d6b;box-shadow:0 15px #d6e0db,0 30px 25px #34607722;border-radius:20px 20px 8px 8px;transform:rotate(-3deg);animation:crate-bob 3s ease-in-out infinite}.crate-illustration>span{font-weight:900;letter-spacing:2px;color:#61778b;font-size:12px}.crate-illustration p{font-size:13px}.odds-ribbon{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.odds-ribbon span{display:flex;flex-direction:column;padding:12px 8px;background:#eaf1f4;border-radius:10px;font-size:11px}.odds-ribbon b{font:26px Lilita One;margin-top:5px}.shop-description{font-size:14px;line-height:1.7}.pity-meter{background:#f0e8fa;padding:16px;border-radius:14px;font-size:12px;color:#70538c}.pity-meter>strong{font-size:17px;margin-right:8px}.pity-meter>div{height:9px;background:#d9c9ed;border-radius:10px;margin:10px 0;overflow:hidden}.pity-meter i{display:block;height:100%;background:#a479cd;border-radius:10px}.pity-meter small{font-size:11px}.crate-actions{display:flex;gap:12px;margin:20px 0 10px}.crate-actions .button{padding:14px 18px;font-size:14px}.shop-shortfall{font-size:12px;color:#836239}.odds-dialog{max-height:90dvh;overflow:auto}.odds-dialog h2{font-size:32px}.odds-table{display:grid;gap:5px;margin:20px 0}.odds-table>div{display:flex;align-items:center;justify-content:space-between;padding:7px 12px;background:#eff3f3;border-radius:8px;font-size:13px}.odds-table small{display:block;color:#7d8790;font-size:10px}.reveal-page{overflow:hidden}.reveal-heading h2{font-size:36px}.reveal-stage{position:relative;min-height:380px;background:radial-gradient(ellipse at 50% 75%,#fce3ab,#d9e9f2 70%);border-radius:22px;overflow:hidden;padding:30px 20px}.garage-door{position:absolute;top:0;bottom:0;width:50%;z-index:3;background:repeating-linear-gradient(0deg,#7893a7 0 24px,#567086 25px 28px);border:8px solid #38536c;animation:door-open 1.2s .4s both;pointer-events:none}.garage-door.left{left:0;--door-x: -105%}.garage-door.right{right:0;--door-x: 105%}.reveal-beams{position:absolute;inset:-100%;background:repeating-conic-gradient(#fff1ba50 0 9deg,transparent 9deg 22deg);animation:reveal-spin 40s linear infinite;pointer-events:none}.reveal-cards{display:flex;align-items:center;justify-content:center;gap:20px;position:relative;z-index:2}.reveal-card{width:100%;max-width:360px;padding:18px;border:3px solid var(--rarity);border-radius:20px;background:#fffdf4e8;box-shadow:0 8px #25466814,0 0 25px var(--rarity);text-align:center;animation:reward-pop .7s var(--reveal-delay) both}.reveal-card canvas{width:100%;height:145px;object-fit:contain}.reveal-card h3{font:28px Lilita One;margin:5px 0}.reveal-card p{font-size:12px;min-height:20px}.reveal-card small{font-size:10px;letter-spacing:2px;color:#687d8e}.reward-status{display:inline-block;padding:6px 16px;background:var(--rarity);color:#fff;border-radius:20px;font-size:12px;font-weight:900}.reveal-card .button{min-height:42px;padding:10px 20px;font-size:13px}.revealed .garage-door{animation:none;transform:translate(var(--door-x))}.revealed .reveal-card{animation:none}.endless-hud{align-items:center;pointer-events:none}.endless-hud .hud-actions{pointer-events:auto}.distance-badge{display:flex;flex-direction:column;color:#27465e;min-width:170px}.distance-badge>small{letter-spacing:2px;font-size:10px;font-weight:900}.distance-badge>strong{font:44px Lilita One;line-height:1.1}.distance-badge em{font:22px Lilita One;margin-left:5px}.distance-badge>span{font-size:10px;letter-spacing:1px;color:#4b7188}.run-currency{background:#fff1ba;border:2px solid #fffaf0;border-radius:16px;padding:10px 16px;box-shadow:0 4px #a8843030;color:#8f601f;font-size:21px}.run-currency small{font-size:9px;display:block;letter-spacing:2px;text-align:center}.endless-hud .hud-actions .icon-button{font:28px Nunito;font-weight:900}.buff-strip{position:absolute;top:123px;left:28px;display:flex;gap:8px;flex-wrap:wrap;max-width:75%;pointer-events:none}.buff{font:900 11px Nunito;padding:8px 12px;border:2px solid #fff8d7;border-radius:30px;background:#8c71ca;color:#fff;box-shadow:0 3px #55428550}.buff b{margin-left:6px;color:#ffedb3}.buff-warning{background:#b7783f;animation:buff-warning 1.5s ease-in-out infinite}.danger-warning{position:absolute;top:28%;right:5%;background:#fff4cb;color:#885440;padding:10px 16px;border-radius:13px;box-shadow:0 4px #91724730;font:900 12px Nunito;pointer-events:none}.danger-warning:empty{display:none}.endurance-panel{width:245px;padding:14px 18px}.endurance-panel>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:11px}.durability-track{height:10px;margin:8px 0;background:#d9e7df;border-radius:10px;overflow:hidden}.durability-track i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#8ddc6b,#c7f09b);transition:width .2s}.durability-track .critical{background:#f47a7a}.endurance-panel small{font-size:8px;letter-spacing:1px;color:#668074}.run-best{font:900 12px Nunito;letter-spacing:2px;color:#58758a;margin:12px 0}.reward-ledger{margin:18px 0;text-align:left}.reward-ledger>div{display:flex;justify-content:space-between;padding:7px 10px;font-size:13px}.reward-ledger .ledger-total{border-top:2px dashed #e4c991;color:#a76b1e;margin-top:5px;padding-top:12px;font-size:18px}.run-result{max-height:94dvh;overflow:auto}.run-result>.muted{display:block;margin-top:12px}.run-result h2{font-size:50px}.dev-tools{position:absolute;top:180px;left:16px;pointer-events:auto;background:#20364eea;color:#e4f2fc;border-radius:8px;padding:8px;font:11px monospace;max-width:290px;z-index:10}.dev-tools summary{cursor:pointer;min-height:25px;display:flex;align-items:center}.dev-tools label{display:flex;justify-content:space-between;align-items:center;margin:8px 0}.dev-tools input,.dev-tools select{max-width:160px;min-height:28px}.dev-tools button{margin:3px;padding:8px;border-radius:5px;border:0}.dev-tools:not([open]){opacity:.45}.reduced-motion .crate-door,.reduced-motion .reveal-beams,.reduced-motion .buff-warning{animation:none}.reduced-motion .garage-door{animation:none;transform:translate(var(--door-x))}.reduced-motion .reveal-card,.low-power .reveal-beams{animation:none}.button:disabled{filter:grayscale(.55);opacity:.6;cursor:not-allowed;transform:none!important}.cosmetic-row button:disabled,.upgrade-list button:disabled{opacity:.55;cursor:not-allowed}@keyframes crate-bob{50%{transform:translateY(-7px) rotate(2deg)}}@keyframes door-open{to{transform:translate(var(--door-x))}}@keyframes reward-pop{0%{opacity:0;transform:translateY(45px) scale(.65)}70%{transform:translateY(-8px) scale(1.05)}to{opacity:1;transform:none}}@keyframes reveal-spin{to{transform:rotate(360deg)}}@keyframes buff-warning{50%{box-shadow:0 0 0 5px #ffca7330}}@media(max-height:600px)and (min-width:650px){.endless-menu .intro{display:none}.personal-best{position:absolute;left:320px;top:78px;flex-direction:column;gap:0;text-align:center}.career-garage,.crate-shop{max-height:calc(100dvh - 76px)}.garage-heading{margin-bottom:7px}.garage-heading h2,.crate-shop h2,.reveal-heading h2{font-size:26px}.career-garage .garage-layout{gap:20px}.career-garage .garage-art{height:140px}.career-garage .vehicle-info h3{font-size:24px}.career-tiles{grid-template-columns:repeat(4,1fr)}.career-tiles canvas{height:35px}.career-tiles button{min-height:70px}.career-garage .vehicle-info p{font-size:11px}.upgrade-list button{padding:6px 9px;min-height:44px}.crate-shop-grid{gap:24px;margin:12px 0}.crate-door{width:140px;height:140px;font-size:90px}.crate-illustration{padding:10px}.crate-actions{margin:12px 0}.reveal-page{max-height:calc(100dvh - 75px);overflow:auto}.reveal-stage{min-height:270px;padding:18px}.reveal-card{padding:12px}.reveal-card canvas{height:100px}.reveal-heading{margin-bottom:12px}.endless-hud{padding:9px 18px}.distance-badge{min-width:140px}.distance-badge>strong{font-size:32px}.distance-badge>small{font-size:8px}.distance-badge>span{font-size:9px}.run-currency{font-size:17px;padding:6px 12px}.buff-strip{top:80px;left:18px}.buff{font-size:9px;padding:5px 9px}.danger-warning{top:36%;font-size:10px;padding:7px 10px}.endurance-panel{width:190px;padding:9px 12px}.endurance-panel>div:first-child{font-size:10px}.endurance-panel small{font-size:7px}.dev-tools{top:119px;max-height:60vh;overflow:auto}.run-result{padding:20px 26px}.run-result .result-emblem{display:none}.run-result h2{font-size:32px;margin:8px 0}.run-result>p{font-size:12px;margin:6px 0}.reward-ledger{margin:8px 0}.reward-ledger>div{padding:3px 8px;font-size:11px}.reward-ledger .ledger-total{font-size:15px;padding-top:5px}.run-result .button{min-height:44px;padding:10px}.run-result .run-best{margin:5px}.run-result .dialog-actions{margin-top:6px}.run-result>.muted{margin-top:5px}}@media(max-width:649px){.ticket-wallet{display:none}.gold-wallet{font-size:13px}.endless-menu .intro{display:none}.personal-best{margin:5px 0 12px;gap:12px}.personal-best b{font-size:23px}.endless-menu .input-hint{max-width:280px;font-size:8px}.career-garage,.crate-shop,.reveal-page{top:80px;max-height:calc(100dvh - 95px);overflow:auto}.garage-heading,.reveal-heading{align-items:flex-start;gap:8px}.garage-heading h2,.reveal-heading h2,.crate-shop h2{font-size:26px}.garage-heading>.button{font-size:11px;min-height:44px;padding:8px}.career-garage .garage-layout,.crate-shop-grid{display:grid;grid-template-columns:1fr;gap:18px}.career-garage .garage-art{height:180px}.career-garage .vehicle-info h3{font-size:30px}.career-tiles{grid-template-columns:repeat(4,1fr);gap:5px}.career-tiles canvas{height:42px}.career-tiles span{font-size:9px}.career-tiles small{font-size:8px}.career-tiles button{min-height:77px}.cosmetic-row{grid-template-columns:repeat(2,1fr)}.cosmetic-row button{min-height:44px}.panel-footer{flex-wrap:wrap;gap:8px}.crate-door{width:135px;height:135px;font-size:80px}.crate-illustration{padding:8px}.crate-shop-grid{margin:16px 0}.odds-ribbon span{padding:8px;font-size:10px}.odds-ribbon b{font-size:23px}.crate-actions{flex-wrap:wrap}.crate-actions .button{flex:1;min-width:130px;font-size:12px}.reveal-heading,.reveal-cards{flex-direction:column}.reveal-card{max-width:300px}.reveal-stage{padding:16px}.reveal-card canvas{height:130px}.endless-hud{padding:14px 12px;gap:8px}.distance-badge{min-width:105px}.distance-badge>strong{font-size:32px}.distance-badge>small{font-size:8px;letter-spacing:1px}.distance-badge>span{font-size:8px}.endless-hud .hud-speed{display:none}.endless-hud .hud-actions{gap:5px}.endless-hud .hud-actions .icon-button{width:44px;height:44px;font-size:24px;display:grid}.run-currency{font-size:17px;padding:6px 9px;margin-left:auto}.run-currency small{font-size:8px}.buff-strip{top:100px;left:12px;max-width:95%;gap:5px}.buff{font-size:9px;padding:6px 9px}.danger-warning{top:24%;right:12px;font-size:10px;max-width:240px}.endurance-panel{width:45%;padding:10px}.endurance-panel>div:first-child{font-size:9px}.endurance-panel small{font-size:6px}.endless-hud~.bottom-hud{gap:8px;padding:12px}.endless-hud~.bottom-hud .ink-panel{width:52%}.endless-hud~.tutorial-ribbon{top:145px;width:90%;font-size:11px}.dev-tools{top:200px}.run-result h2{font-size:37px}.run-result{padding:24px}.reveal-heading .button{min-height:44px}.odds-dialog{padding:20px}}.distance-badge{background:#174769ee;border:2px solid #b6e7ee;border-radius:18px;padding:10px 16px;color:#fff9da;box-shadow:0 4px #173a6040}.distance-badge>span{color:#c5ebec}.personal-best{width:max-content!important;max-width:100%;padding:7px 13px;background:#174c65e8;border:2px solid #b5d9d0;border-radius:12px;color:#dbf1e5;position:relative;z-index:2}.personal-best b{color:#ffde81}.endless-menu .menu-buttons{margin-top:10px}.gold-wallet small{color:#8b6f36}.endurance-panel small{color:#b8d9d2}.career-garage .showroom-label{bottom:6px;left:15px;transform:none;z-index:3;background:#f2f9eadb;border-radius:6px;padding:4px 8px}.reveal-card .text-button{min-height:44px;padding:6px 12px}.crate-shop .text-button,.panel-footer .text-button{min-height:44px}.endless-hud~.tutorial-ribbon{top:140px}@media(max-height:600px)and (min-width:650px){.personal-best{position:absolute;top:78px;left:320px;padding:6px 12px}.distance-badge{padding:5px 12px;border-radius:13px}.endless-hud~.tutorial-ribbon{top:90px}.buff-strip{top:89px}.endless-menu .menu-buttons{margin-top:18px}}@media(max-width:649px){.distance-badge{padding:6px 9px;min-width:92px}.endless-hud~.tutorial-ribbon{top:149px}.endless-hud .hud-actions .icon-button:first-child{display:none}.personal-best{padding:4px 10px}.personal-best b{font-size:20px}}.cosmetic-group{border:0;padding:0;margin:0;min-width:0}.cosmetic-group legend{padding:0}.cosmetic-row .cosmetic-group>span{display:flex;flex-direction:column;gap:5px;margin-top:7px}@media(max-width:649px){.endless-hud~.bottom-hud .endurance-panel{display:block}.endless-hud~.bottom-hud{display:flex;justify-content:space-between;width:100%}.endless-hud~.bottom-hud .ink-panel{margin:0}.endurance-panel>div:first-child{font-size:8px}.endurance-panel small{font-size:6px}}@media(max-width:649px){.endless-hud~.bottom-hud{left:0;right:0;bottom:0;width:100%;flex-direction:row;align-items:stretch;padding:12px;gap:8px}.endless-hud~.bottom-hud .endurance-panel{width:45%;min-width:0}.endless-hud~.bottom-hud .ink-panel{width:55%;min-width:0}.endless-hud~.bottom-hud .ink-top{font-size:9px;gap:4px}.endless-hud~.bottom-hud #ink{font-size:20px}.endless-hud~.bottom-hud #draw-status{font-size:6px;white-space:normal;min-height:12px}}.bonus-roulette{position:absolute;top:130px;right:22px;width:220px;padding:12px 15px;border:3px solid #ffe489;border-radius:22px;background:linear-gradient(145deg,#234f73ed,#163653f5);color:#fff7d8;box-shadow:0 6px #09293999,0 0 30px #f8b83d35,inset 0 1px #fff7;text-align:center;pointer-events:none;z-index:7}.bonus-roulette[hidden]{display:none}.bonus-roulette small{display:block;font-size:9px;font-weight:1000;letter-spacing:1.5px;color:#ffdc6f}.bonus-reels{display:flex;align-items:center;justify-content:center;gap:14px;height:64px;margin:7px 0;overflow:hidden;border-radius:12px;background:linear-gradient(#e5b24b,#fff3bf 45%,#ffd279);box-shadow:inset 0 3px 10px #69451880;color:#153b60}.bonus-reels b{font:48px Lilita One,sans-serif;width:72px;text-shadow:0 2px white}.bonus-reels i{opacity:.42;font-size:28px}.bonus-roulette strong{display:block;font-size:12px;min-height:18px}.bonus-progress{height:4px;margin-top:10px;border-radius:4px;background:#fff2;overflow:hidden}.bonus-progress i{display:block;height:100%;background:#ffe48d;width:calc(var(--roll-progress, 0) * 100%)}.bonus-roulette.rolling .bonus-reels b{animation:bonus-reel .14s linear infinite}.bonus-roulette.won{animation:bonus-win .5s ease-out;border-color:#fff9cf;box-shadow:0 0 32px #ffda6877}@keyframes bonus-reel{0%{transform:translateY(-10px);filter:blur(1px)}to{transform:translateY(10px);filter:blur(0)}}@keyframes bonus-win{0%{transform:scale(.84) rotate(-3deg)}55%{transform:scale(1.07) rotate(2deg)}to{transform:scale(1)}}@media(max-width:700px),(max-height:500px){.bonus-roulette{top:100px;right:10px;width:162px;padding:8px;border-radius:15px}.bonus-reels{height:44px;margin:4px 0}.bonus-reels b{font-size:34px}.bonus-roulette small{font-size:7px;letter-spacing:.7px}.bonus-roulette strong{font-size:10px}}@media(prefers-reduced-motion:reduce){.bonus-roulette.rolling .bonus-reels b,.bonus-roulette.won{animation:none}}.reduced-motion .bonus-roulette.rolling .bonus-reels b,.reduced-motion .bonus-roulette.won{animation:none}.revive-dialog{text-align:center;max-width:440px}.revive-dialog .button+.button{margin-top:12px}.revive-dialog h2{font-size:31px}.revive-emblem{margin:-20px auto 10px;color:#f1b729;font:64px Lilita One;text-shadow:0 3px #fff}.revive-distance{color:#175774;font:44px Lilita One;margin:12px 0}.revive-distance small{font:900 14px Nunito}@media(max-height:500px){.revive-dialog{padding:16px 26px}.revive-emblem{display:none}.revive-dialog h2{font-size:23px}.revive-dialog p{margin:6px 0;font-size:12px}.revive-distance{font-size:29px;margin:5px 0}.revive-dialog .button{min-height:42px;padding:9px 15px}}.endless-hud :is(.distance-badge,.run-currency,.hud-speed),.endless-hud~:is(.tutorial-ribbon,.danger-warning,.bonus-roulette,.debug),.endless-hud~.buff-strip .buff,.endless-hud~.bottom-hud :is(.condition-panel,.ink-panel),.endless-hud~.bonus-roulette .bonus-reels{background:none;border:0;border-radius:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0}.endless-hud :is(.distance-badge,.run-currency,.hud-speed),.endless-hud~:is(.tutorial-ribbon,.danger-warning,.bonus-roulette,.debug),.endless-hud~.buff-strip,.endless-hud~.bottom-hud{color:#fff6d9;-webkit-text-stroke:3px #193c53;paint-order:stroke fill;text-shadow:0 2px 0 #193c53;font-weight:900}.endless-hud :is(.distance-badge,.run-currency,.hud-speed) :is(small,span,em),.endless-hud~.tutorial-ribbon>span,.endless-hud~.bottom-hud :is(small,span){color:#fff7e0;-webkit-text-stroke:2.5px #193c53;paint-order:stroke fill}.endless-hud .distance-badge{min-width:140px}.endless-hud .distance-badge>strong{font-size:48px}.endless-hud .hud-speed{padding:0 5px}.endless-hud .run-currency{color:#ffe36e;font-size:27px}.endless-hud~.bottom-hud{bottom:24px}.endless-hud~.bottom-hud .endurance-panel,.endless-hud~.bottom-hud .ink-panel{width:auto;min-width:190px}.endless-hud~.bottom-hud .endurance-panel>div:first-child,.endless-hud~.bottom-hud .ink-top{align-items:baseline;gap:16px;font-size:12px}.endless-hud~.bottom-hud #body-value,.endless-hud~.bottom-hud #ink{color:#d3ff9a;font:26px Lilita One;margin-left:0;white-space:nowrap}.endless-hud~.bottom-hud #ink{color:#ffe36e}.endless-hud~.bottom-hud #body-value.critical{color:#ff9b8d}.endless-hud~.bottom-hud small{display:block;margin-top:5px;font-size:8px}.endless-hud~.tutorial-ribbon{width:auto;max-width:64%;top:118px;font-size:12px}.endless-hud~.tutorial-ribbon button{display:grid;place-items:center;flex-shrink:0;padding:0;line-height:1;color:#193c53;background:#ffda77;border:2px solid #fff4cf;border-radius:9px;width:24px;height:24px;-webkit-text-stroke:0;text-shadow:none}.endless-hud~.danger-warning{top:24%;right:24px;color:#ffe36e;font-size:13px}.endless-hud~.buff-strip{gap:14px}.endless-hud~.buff-strip .buff{font-size:12px;color:#fff6d9}.endless-hud~.bonus-roulette{width:190px;top:104px;right:24px}.endless-hud~.bonus-roulette :is(small,strong,b,i){color:#ffe36e;-webkit-text-stroke:3px #193c53;paint-order:stroke fill;text-shadow:0 2px #193c53}.endless-hud~.bonus-roulette .bonus-reels{overflow:visible;height:56px}.endless-hud~.bonus-roulette .bonus-reels i{opacity:.7}@media(max-width:700px),(max-height:500px){.endless-hud .distance-badge{min-width:100px}.endless-hud .distance-badge>strong{font-size:34px}.endless-hud .run-currency{font-size:22px}.endless-hud~.tutorial-ribbon{top:83px;max-width:62%;font-size:9px}.endless-hud~.danger-warning{top:31%;right:16px;font-size:10px}.endless-hud~.bottom-hud{bottom:14px}.endless-hud~.bottom-hud .endurance-panel,.endless-hud~.bottom-hud .ink-panel{min-width:0}.endless-hud~.bottom-hud #body-value,.endless-hud~.bottom-hud #ink{font-size:20px}.endless-hud~.bottom-hud .endurance-panel>div:first-child,.endless-hud~.bottom-hud .ink-top{gap:8px;font-size:9px}.endless-hud~.bottom-hud small{font-size:7px;letter-spacing:.4px}.endless-hud~.bonus-roulette{top:76px;right:14px;width:132px}.endless-hud~.bonus-roulette .bonus-reels{height:38px}}@media(max-width:520px)and (orientation:portrait){.endless-hud .hud-speed{display:flex;position:absolute;left:24px;top:91px;align-items:baseline;gap:4px}.endless-hud .hud-speed strong{font-size:18px}.endless-hud~.tutorial-ribbon{top:148px;max-width:85%;font-size:10px}.endless-hud~.buff-strip{top:122px}}.action-celebration{position:fixed;z-index:90;top:15%;left:50%;transform:translate(-50%);width:min(85vw,520px);text-align:center;pointer-events:none;color:#fff3a3;animation:celebration-pop 2.4s both;filter:drop-shadow(0 4px 0 #183956)}.action-celebration strong{display:block;font:clamp(28px,5vw,52px)/1.05 "Lilita One",sans-serif;-webkit-text-stroke:1.5px #244763;paint-order:stroke fill}.action-celebration span{display:block;margin-top:9px;font:900 14px Nunito,sans-serif;color:#fff;text-shadow:0 2px 2px #183956,1px 0 #183956,-1px 0 #183956}.action-celebration:before,.action-celebration:after{content:"✦";position:absolute;top:0;font-size:35px;color:#ffe16d}.action-celebration:before{left:1%;transform:rotate(-15deg)}.action-celebration:after{right:1%;transform:rotate(15deg)}.run-highlights{font-size:10px!important;font-weight:900;color:#357a83!important;margin:5px 0!important}#run-gold,#body-value,#ink,#distance{display:inline-block;transform-origin:center}@keyframes celebration-pop{0%{opacity:0;transform:translate(-50%) scale(.7) rotate(-4deg)}12%{opacity:1;transform:translate(-50%) scale(1.08) rotate(2deg)}22%,75%{opacity:1;transform:translate(-50%) scale(1) rotate(0)}to{opacity:0;transform:translate(-50%,-18px) scale(1)}}.reduced-motion .action-celebration{animation:none}@media(prefers-reduced-motion:reduce){.action-celebration{animation:none}}
