#modes .m-top{gap:14px}#mBack{flex:none}#modes .m-tag{white-space:nowrap;height:54px;padding-right:44px;font-size:38px}.q-dots{flex:none;gap:7px;margin:0 0 0 auto;padding:0 6px 0 0;list-style:none;display:flex}.q-dots li{background:#f4f7ff38;width:26px;height:10px;transition:background-color .2s,width .26s cubic-bezier(.23,1,.32,1);transform:skew(-28deg)}.q-dots li.done{background:var(--white)}.q-dots li.now{background:var(--orange);width:44px}.q-steps{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.q-step[hidden]{display:none!important}#modes .m-cards{--open:2.3;width:100%;max-width:1500px;min-height:0;padding:20px max(40px, var(--sr)) calc(var(--sb) + 40px) max(40px, var(--sl));touch-action:manipulation;flex-direction:row;flex:1;justify-content:center;align-items:center;gap:16px;margin:0 auto;display:flex;overflow:hidden}#modes .mcard{--cut:22px;flex:1 1 0;width:auto;min-width:0;height:100%;max-height:680px;transition:flex-grow .46s cubic-bezier(.23,1,.32,1),transform .16s cubic-bezier(.23,1,.32,1);transform:none}#modes .mcard.on{flex-grow:var(--open)}#modes .mcard:active{transition-duration:.46s,.12s;transform:scale(.985)}#modes .mcard img{filter:brightness(.7)saturate(.85)}#modes .mcard.on img{filter:none}#modes .mcard:after{border:2px solid var(--line-dim);opacity:1}#modes .mcard.on:after{border:4px solid var(--orange)}#modes .mc-body{gap:0;bottom:26px;left:26px;right:26px}#modes .mc-name{font-size:58px;line-height:.88;transition:font-size .36s cubic-bezier(.23,1,.32,1)}#modes .mcard.on .mc-name{font-size:96px}#modes .mc-more{opacity:0;grid-template-rows:0fr;transition:grid-template-rows .42s cubic-bezier(.23,1,.32,1),opacity .2s;display:grid}#modes .mcard.on .mc-more{opacity:1;grid-template-rows:1fr;transition-delay:0s,.12s}#modes .mc-in{flex-direction:column;gap:6px;min-height:0;display:flex;overflow:hidden}#modes .mc-en{margin-top:10px;font-size:34px;line-height:1}#modes .mc-line{font-size:19px}#modes .mc-play{clip-path:polygon(18px 0,100% 0,calc(100% - 18px) 100%,0 100%);justify-content:center;align-items:center;gap:10px;height:70px;margin-top:16px;font-size:42px;display:flex}#modes .mc-play .ic{vertical-align:0;width:.8em;height:.8em}.q-pick{min-height:0;padding:20px max(40px, var(--sr)) 20px max(40px, var(--sl));flex:1;justify-content:center;align-items:center;gap:18px;display:flex}.q-card{--cut:22px;text-align:left;min-width:0;height:min(480px,100%);color:var(--white);clip-path:polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));-webkit-tap-highlight-color:transparent;background:#0d1226;flex-direction:column;flex:0 400px;justify-content:flex-end;padding:0;transition:transform .16s cubic-bezier(.23,1,.32,1);display:flex;position:relative;overflow:hidden}.q-card:active{transform:scale(.97)}@media (hover:hover) and (pointer:fine){.q-card:not(.on):hover>img{filter:brightness(.85)saturate(.9)}}.q-card:before{content:"";z-index:1;background:linear-gradient(#05091800 35%,#050918eb 100%);position:absolute;inset:0}.q-card:after{content:"";z-index:3;border:2px solid var(--line-dim);clip-path:inherit;pointer-events:none;position:absolute;inset:0}.q-card.on:after{border:4px solid var(--orange)}.q-body{z-index:2;flex-direction:column;gap:4px;padding:0 26px 26px;display:flex;position:relative}.q-name{font-family:var(--race);letter-spacing:.01em;text-shadow:0 2px 10px #05091899;font-size:80px;font-style:italic;font-weight:900;line-height:.88}.q-sub{font-family:var(--race);letter-spacing:.03em;text-transform:uppercase;color:var(--line);text-shadow:0 2px 6px #000000b3;font-size:26px;font-style:italic;font-weight:800;line-height:1.05}.q-sub+.q-sub{color:var(--white)}.q-card>img{z-index:0;object-fit:cover;filter:brightness(.6)saturate(.8);width:100%;height:100%;transition:filter .22s,transform .6s cubic-bezier(.23,1,.32,1);position:absolute;inset:0}.q-card.on>img{filter:none;transform:scale(1.04)}@media (prefers-reduced-motion:reduce){.q-card.on>img{transform:none}}.q-foot{padding:0 max(40px, var(--sr)) calc(var(--sb) + 34px) max(40px, var(--sl));justify-content:center;display:flex}.q-foot[hidden]{display:none}.q-next{background:linear-gradient(100deg, var(--orange), var(--orange-2));width:min(460px,100%);height:78px;color:var(--white);font-family:var(--race);letter-spacing:.02em;clip-path:polygon(20px 0,100% 0,calc(100% - 20px) 100%,0 100%);-webkit-tap-highlight-color:transparent;font-size:48px;font-style:italic;font-weight:900;transition:transform .12s cubic-bezier(.23,1,.32,1);position:relative;overflow:hidden;box-shadow:inset 0 -6px #0000002e}.q-next:active{transform:scale(.97)}.q-next.go{font-size:66px}.q-next:after{content:"";background:repeating-linear-gradient(-62deg,#ffffff38 0 9px,#0000 9px 22px);width:42%;position:absolute;top:0;bottom:0;right:0;-webkit-mask:linear-gradient(90deg,#0000,#000 75%);mask:linear-gradient(90deg,#0000,#000 75%)}.q-next span{z-index:1;position:relative}@media (width<=819px){#modes .m-top{gap:12px}#modes .m-tag{height:42px;padding-right:30px;font-size:27px}.q-dots{gap:5px}.q-dots li{width:13px;height:9px}.q-dots li.now{width:26px}#modes .m-cards{--open:5;padding:14px max(16px, var(--sr)) calc(var(--sb) + 16px) max(16px, var(--sl));flex-direction:column;align-items:stretch;gap:10px}#modes .mcard{--cut:16px;height:auto;min-height:96px;max-height:none}#modes .mc-body{bottom:18px;left:20px;right:20px}#modes .mc-name{font-size:50px}#modes .mcard.on .mc-name{font-size:76px}#modes .mc-en{font-size:30px}#modes .mc-line{font-size:17px}#modes .mc-play{height:66px;font-size:40px}.q-pick{padding:14px max(16px, var(--sr)) 14px max(16px, var(--sl));flex-direction:column;align-items:stretch;gap:12px}.q-card{--cut:16px;flex:1 1 0;height:auto;max-height:300px}.q-body{padding:0 20px 18px}.q-name{font-size:64px}.q-sub{font-size:22px}.q-foot{padding:0 max(16px, var(--sr)) calc(var(--sb) + 18px) max(16px, var(--sl))}.q-next{width:100%;height:76px}}@media (height<=520px){#modes .mc-name{font-size:40px}#modes .mcard.on .mc-name{font-size:58px}#modes .mc-en{font-size:24px}#modes .mc-play{height:52px;font-size:32px}.q-name{font-size:52px}.q-next{height:60px;font-size:38px}}@media (prefers-reduced-motion:reduce){#modes .mcard,#modes .mc-name,#modes .mc-more,.q-dots li,.q-card,.q-card>img,.q-next{transition-property:opacity,filter,background-color}}#modes .mcard img,.q-card>img{filter:brightness(.95)!important}#modes .mcard.on img,.q-card.on>img{filter:brightness(1.05)saturate(1.05)!important}#modes .mcard:before{background:linear-gradient(#05091800 45%,#0509188c 72%,#050918d9 100%)!important}.q-card:before{background:linear-gradient(#05091800 50%,#0509188c 78%,#050918d1 100%)}#modes .mc-name,.q-card b,.q-card .q-name{text-shadow:0 2px #00000073,0 4px 16px #0000008c}@media (width<=819px){#modes .mcard .mc-en,#modes .mcard .mc-line{display:none}}.lvl-bars{z-index:3;filter:drop-shadow(0 2px 4px #000000bf);align-items:flex-end;gap:6px;display:flex;position:absolute;top:22px;left:22px}.lvl-bars i{background:var(--lc,#fff);width:14px;transform:skew(-12deg)}.lvl-bars i:first-child{height:16px}.lvl-bars i:nth-child(2){height:26px}.lvl-bars i:nth-child(3){height:36px}.lvl-bars i.off{opacity:.35}.q-card.lvl-easy{--lc:#3ddc97}.q-card.lvl-normal{--lc:#ffc400}.q-card.lvl-hard{--lc:#ff4d3a}@media (width<=819px){.lvl-bars{gap:4px;top:14px;left:auto;right:18px}.lvl-bars i{width:10px}.lvl-bars i:first-child{height:11px}.lvl-bars i:nth-child(2){height:18px}.lvl-bars i:nth-child(3){height:25px}}.q-body{min-width:0}.q-name,.q-sub{white-space:nowrap;overflow:hidden}@media (orientation:portrait) and (width>=820px){.q-pick{flex-direction:column;align-items:stretch;gap:14px}.q-card{flex:1 1 0;height:auto;max-height:300px}}:root{--navy:#0b1330;--navy-2:#131f4a;--glass:#0c1536c7;--line:#6fd3ff;--line-dim:#6fd3ff73;--orange:#ff6a00;--orange-2:#ff9a3c;--hazard:#ffc400;--white:#f4f7ff;--muted:#9fb0dc;--race:"Barlow Condensed", "Arial Narrow", system-ui, sans-serif;--body:"Barlow", system-ui, -apple-system, sans-serif;--st:env(safe-area-inset-top,0px);--sb:env(safe-area-inset-bottom,0px);--sl:env(safe-area-inset-left,0px);--sr:env(safe-area-inset-right,0px);--cut:14px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}[hidden]{display:none!important}html,body{background:var(--navy);overscroll-behavior:none;height:100%;margin:0;overflow:hidden}body{color:var(--white);font-family:var(--body);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:none}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:0 0;border:0}button:focus-visible{outline:2px solid var(--line);outline-offset:3px}#gl{width:100%;height:100%;display:block;position:fixed;inset:0}.sr{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.mono{font-family:var(--race);letter-spacing:.03em;text-transform:uppercase;font-size:14px;font-style:normal;font-weight:700}.panel{background:var(--glass);border:1.5px solid var(--line-dim);clip-path:polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));-webkit-backdrop-filter:blur(10px)saturate(1.2);position:relative}.tag{background:var(--orange);height:30px;color:var(--white);font-family:var(--race);letter-spacing:.02em;clip-path:polygon(0 0,100% 0,calc(100% - 16px) 100%,0 100%);align-items:center;gap:10px;margin:-1px 0 0 -1px;padding:0 34px 0 14px;font-size:20px;font-style:italic;font-weight:800;display:inline-flex}.tag i{background:#ffffffe6;width:6px;height:100%;margin-left:-4px;transform:skew(-28deg)}.tag i:first-of-type{margin-left:8px}.coin-icon{background:radial-gradient(circle at 35% 35%,#fff2a8,#ffc62b 45%,#c98a00);border-radius:50%;flex:none;width:18px;height:18px;display:inline-block;box-shadow:0 0 0 2px #00000059}.ic{vertical-align:-.14em;flex:none;width:1em;height:1em}.ic.flip{transform:scaleX(-1)}.ic.down{transform:rotate(90deg)}.sq-btn{background:var(--glass);border:1.5px solid var(--line-dim);width:42px;height:42px;color:var(--white);clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px));place-items:center;display:grid}#nightBtn svg,#soundBtn svg{fill:currentColor;width:22px;height:22px}#nightBtn .i-night,#nightBtn.on .i-day,#soundBtn .i-off,#soundBtn.off .i-on{display:none}#nightBtn.on .i-night,#soundBtn.off .i-off{display:block}#nightBtn.on{color:#ffe9a8;background:#2a3a6a;border-color:#8fa8ff}#gLights.on{background:var(--hazard);color:var(--navy);border-color:var(--hazard)}.btn{background:var(--navy-2);border:1.5px solid var(--line-dim);height:52px;color:var(--white);font-family:var(--race);letter-spacing:.03em;clip-path:polygon(12px 0,100% 0,calc(100% - 12px) 100%,0 100%);font-size:22px;font-style:italic;font-weight:800}.btn.primary{background:var(--orange);border-color:var(--orange)}.btn:active{filter:brightness(1.15)}.go{background:linear-gradient(100deg, var(--orange), var(--orange-2));height:70px;color:var(--white);clip-path:polygon(18px 0,100% 0,calc(100% - 18px) 100%,0 100%);flex-direction:column;justify-content:center;align-items:center;gap:0;transition:transform 80ms,filter .15s;display:flex;position:relative;box-shadow:inset 0 -5px #0000002e}.go span{font-family:var(--race);letter-spacing:.02em;font-size:46px;font-style:italic;font-weight:900;line-height:.9}.go small{opacity:.85;font-size:15px}.go:after{content:"";background:repeating-linear-gradient(-62deg,#ffffff38 0 9px,#0000 9px 22px);width:42%;position:absolute;top:0;bottom:0;right:0;-webkit-mask:linear-gradient(90deg,#0000,#000 75%);mask:linear-gradient(90deg,#0000,#000 75%)}.go:active{transform:scale(.98)}.go:disabled{cursor:default;background:#2a3566}.go:disabled:after{opacity:.3}.stripebar{background:#ffffff1f;height:8px;position:relative;transform:skew(-24deg);box-shadow:inset 0 0 0 1px #ffffff14}.stripebar:after{content:"";background:#ffffff73;width:3px;position:absolute;top:-3px;bottom:-3px;right:0}.stripebar i{background:repeating-linear-gradient(-62deg,#ff6a00 0 8px,#ffb15c 8px 14px) 0 0/200% 100%;width:0;transition:width .3s;animation:.6s linear infinite stripes;display:block;position:absolute;inset:0 auto 0 0;box-shadow:0 0 10px #ff7a1ad9,0 0 22px #ff6a0073}.stripebar i:after{content:"";background:#fff3dc;width:4px;position:absolute;top:-3px;bottom:-3px;right:-2px;box-shadow:0 0 10px #ffd29a,0 0 18px #ff9a3c}.stripebar.thin{height:5px}.stripebar.thin i{background:repeating-linear-gradient(-62deg,#ff6a00 0 6px,#ffb15c 6px 10px)}@keyframes stripes{to{background-position:-42px 0}}@media (prefers-reduced-motion:reduce){.stripebar i{animation:none}}.logo-lockup{pointer-events:none;line-height:.82;font-family:var(--race);flex-direction:row;justify-content:center;align-items:baseline;font-style:italic;font-weight:900;display:flex;position:relative;transform:rotate(-4deg)}.logo-lockup .logo-svg{width:calc(3.6*clamp(70px,21vw,140px));height:auto;display:block;position:relative;overflow:visible}.logo-lockup .burst{z-index:-2;aspect-ratio:1;background:repeating-conic-gradient(from 0deg, #ffc400e6 0 6deg, transparent 6deg 18deg);opacity:.85;width:150%;animation:24s linear infinite spin;position:absolute;top:42%;left:50%;translate:-50% -50%;-webkit-mask:radial-gradient(circle,#000 0 18%,#0000 58%);mask:radial-gradient(circle,#000 0 18%,#0000 58%)}@keyframes spin{to{rotate:360deg}}#gl.whip{animation:.42s cubic-bezier(.3,0,.2,1) whip}@keyframes whip{0%{filter:none;transform:none}35%{transform:translateX(calc(var(--wd,1) * -6%)) scale(1.06);filter:blur(14px)brightness(1.15)}to{filter:none;transform:none}}.enter{animation:.38s cubic-bezier(.2,.9,.25,1) both panelIn}.leave{animation:.2s ease-in both panelOut}@keyframes panelIn{0%{opacity:0;transform:translateX(calc(var(--wd,1) * 60px));filter:blur(12px)}to{opacity:1;filter:none;transform:none}}@keyframes panelOut{to{opacity:0;transform:translateX(calc(var(--wd,1) * -60px));filter:blur(12px)}}#hud.enter,#hud.leave{animation-name:fadeIn}@keyframes fadeIn{0%{opacity:0}}#garage.enter{animation:.22s ease-out both fadeIn}#map.fadein{animation:.45s ease-out both mapIn}#map.fadeout{animation:.3s ease-in reverse both mapIn}@keyframes mapIn{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){#gl.whip,.enter,.leave{animation:none}}.wipe{z-index:45;pointer-events:none;position:fixed;inset:0;overflow:hidden}.wipe i{width:160%;position:absolute;top:-20%;bottom:-20%;left:-180%;transform:skew(-18deg)}.wipe i:first-child{background:var(--orange)}.wipe i:nth-child(2){background:var(--navy);width:150%}.wipe.go i{animation:.62s cubic-bezier(.7,0,.3,1) forwards wipe}.wipe.go i:nth-child(2){animation-delay:60ms}.wipe.back i{animation-direction:reverse}.wipe:not(.go){display:none}@keyframes wipe{0%{left:-180%}45%,55%{left:-30%}to{left:130%}}@media (prefers-reduced-motion:reduce){.wipe.go i{animation-duration:10ms}}#loading{z-index:50;padding:calc(var(--st) + 7vh) 20px calc(var(--sb) + 7vh);background:var(--navy);flex-direction:column;justify-content:space-between;align-items:center;transition:opacity .4s;display:flex;position:fixed;inset:0;overflow:hidden}#loading.done{opacity:0;pointer-events:none}#loading .ld-to{left:0;right:0;bottom:calc(var(--sb) + 7vh + 34px);text-align:center;font-family:var(--race);letter-spacing:.04em;color:#fff;text-shadow:0 2px 12px #05091c99;font-size:26px;font-style:italic;font-weight:800;position:absolute}#loading .ld-frame{z-index:-1;aspect-ratio:16/9;opacity:0;width:max(100vw,177.778vh);transition:opacity .5s,scale 6s cubic-bezier(.2,.8,.2,1);position:absolute;top:50%;left:50%;translate:-50% -50%;scale:1.06}#loading .ld-frame.in{opacity:1;scale:1}#loading .ld-art,#loading .ld-art img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}#loading .ld-art:after{content:"";background:linear-gradient(#0b133073,#0b133000 26% 70%,#0b1330b3);position:absolute;inset:0}#loading .ld-new-logo{filter:drop-shadow(0 8px 20px #05091c59);width:34%;height:auto;position:absolute;top:6.2%;left:30.9%;overflow:visible}#loading .ld-hero{width:46.35%;position:absolute;top:23.61%;left:24.69%}#loading .ld-hero img{width:100%;height:auto;display:block}@media (orientation:portrait){#loading .ld-frame{aspect-ratio:9/16;width:max(100vw,56.25vh)}#loading .ld-new-logo{width:70%;top:14%;left:15%}#loading .ld-hero{width:82.96%;top:38.18%;left:5.28%}}@media (aspect-ratio>=16/9){#loading .ld-frame{top:0;translate:-50%}}#loading.classic .ld-hero{display:none}#loading.classic .ld-art:after{background:linear-gradient(#0b13308c,#0b133000 32% 66%,#0b1330b3)}#loading .track{width:min(60vw,320px)}#loading .ld-classic-logo,#loading.classic .ld-new-logo{display:none}#loading .track{margin-top:auto}#loading.classic .ld-classic-logo{filter:drop-shadow(0 8px 20px #05091c59);width:auto;font-size:clamp(70px,21vw,140px);display:block;overflow:visible}#loading .ld-step{min-height:1.2em;font-family:var(--race);letter-spacing:.08em;white-space:nowrap;color:#ffffffdb;text-shadow:0 2px 10px #05091cb3;opacity:0;justify-content:space-between;align-items:baseline;gap:12px;margin:10px 0 0;font-size:16px;font-style:italic;font-weight:800;transition:opacity .25s;display:flex}#loading .ld-step.on{opacity:1}#loading .ld-step b{color:#fff;font-variant-numeric:tabular-nums;font-weight:900}#loading .track i{background:repeating-linear-gradient(-62deg,#ff6a00 0 9px,#ff9a3c 9px 18px) 0 0/200% 100%;width:0;height:100%;transition:width .3s;animation:.6s linear infinite stripes;display:block}@media (prefers-reduced-motion:reduce){#loading i{animation:none}#loading .ld-frame{transition:opacity .3s;scale:1}}#menu{z-index:10;padding:calc(var(--st) + 12px) max(14px, var(--sr)) calc(var(--sb) + 14px) max(14px, var(--sl));background:linear-gradient(#0b133059,#0b133000 18% 58%,#0b1330e6 84%),repeating-linear-gradient(#ffffff06 0 1px,#0000 1px 3px);flex-direction:column;display:flex;position:fixed;inset:0}.topbar{align-items:center;gap:10px;display:flex}.wallet{background:var(--glass);border:1.5px solid var(--line-dim);height:36px;font-family:var(--race);font-variant-numeric:tabular-nums;align-items:center;gap:8px;margin-left:auto;padding:0 14px;font-size:20px;font-weight:700;display:flex;transform:skew(-12deg)}.wallet>*{transform:skew(12deg)}.chapter-head{text-align:center;flex-direction:column;align-items:center;gap:14px;margin-top:2vh;display:flex}#menu.locked .chapter-head h1{text-shadow:0 6px 30px #0b133099,4px 4px #3a4677}.dock{flex-direction:column;gap:12px;margin-top:auto;display:flex}.chapter-panel{flex-direction:column;gap:14px;padding:0 0 14px;display:flex}.chapter-panel>.tag{clip-path:none}.ch-title{align-items:baseline;gap:12px;padding:0 16px;display:flex}.ch-title h2{font-family:var(--race);letter-spacing:.01em;margin:0;font-size:40px;font-style:italic;font-weight:900;line-height:.9}.ch-circ{gap:6px;padding:0 16px;display:flex}.ch-circ button{background:var(--navy-2);border:1.5px solid var(--line-dim);color:#c9d3f5;min-width:0;height:34px;font-family:var(--race);letter-spacing:.02em;white-space:nowrap;text-overflow:ellipsis;flex:1;padding:0 8px;font-size:16px;font-style:italic;font-weight:800;transition:background-color .15s,color .15s;overflow:hidden;transform:skew(-12deg)}.ch-circ button>span{display:inline-block;transform:skew(12deg)}.ch-circ button.on{background:var(--orange);border-color:var(--white);color:var(--white)}.ch-title span{font-family:var(--race);color:var(--line);font-size:18px;font-style:italic;font-weight:600}.ch-row{flex-wrap:wrap;align-items:center;gap:14px;padding:0 16px;display:flex}.stars{gap:4px;display:flex}.stars svg{fill:#ffffff24;stroke:#ffffff59;stroke-width:1.2px;width:24px;height:24px}.stars svg.won{fill:var(--hazard);stroke:#fff3b0;filter:drop-shadow(0 0 6px #ffc40099)}.reward{background:#ffffff0f;align-items:center;gap:6px;height:28px;padding:0 12px;display:flex;transform:skew(-12deg)}.reward>*{transform:skew(12deg)}.reward b{font-family:var(--race);font-size:18px;font-style:italic;font-weight:800}.stepper{justify-content:center;align-items:center;gap:6px;padding:12px 4px 10px;display:flex}.stepper .arrow{width:34px;height:34px;color:var(--line);font-size:26px;line-height:1}.stepper .arrow .ic{width:24px;height:24px}#dots{align-items:center;gap:0;margin:0;padding:0;list-style:none;display:flex}#dots li{align-items:center;display:flex}#dots{--d:30px}#dots li+li:before{content:"";background:var(--line-dim);width:16px;height:2px}#dots button{width:var(--d);height:var(--d);margin:calc(var(--d) * .2071);background:var(--navy-2);border:1.5px solid var(--line-dim);font-family:var(--race);font-size:0;font-weight:800;position:relative;transform:rotate(45deg)}#dots button:after{content:attr(data-n);color:var(--muted);place-items:center;font-size:17px;display:grid;position:absolute;inset:0;transform:rotate(-45deg)}#dots li.on button{background:var(--orange);border-color:var(--white)}#dots li.on button:after{color:var(--white)}#dots li.locked:not(.on) button{background:#0d1530;border-color:#6fd3ff38}#dots li.locked:not(.on) button:after{color:#c9d3f566}.dock-row{gap:8px;display:flex}.dock-row .go{flex:1}.map-tile{border:2px solid var(--line);clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%);background:#0a2a4a;flex:none;width:96px;height:70px;padding:0;position:relative;overflow:hidden}.map-tile img{object-fit:cover;width:100%;height:100%;display:block}.map-tile span{font-family:var(--race);letter-spacing:.04em;text-align:left;background:#050c1ecc;padding:3px 6px;font-size:14px;font-style:italic;font-weight:800;position:absolute;bottom:0;left:0;right:0}.garage-btn{background:var(--glass);border:1.5px solid var(--line-dim);width:96px;height:70px;color:var(--white);clip-path:polygon(14px 0,100% 0,calc(100% - 14px) 100%,0 100%);flex-direction:column;justify-content:center;align-items:center;display:flex}.garage-btn span{font-family:var(--race);font-size:22px;font-style:italic;font-weight:800;line-height:1}.garage-btn small{color:var(--orange)}.garage-tile{background:radial-gradient(70% 34% at 50% 74%,#ff7a1a8c,#ff6a0000 70%),radial-gradient(80% 70% at 50% 20%,#24356e,#0d1530 75%)}.garage-tile img{object-fit:contain;filter:drop-shadow(0 4px 6px #0000008c);padding:6px 8px 22px}@media (width>=820px){#menu .chapter-head{margin:0 0 0 max(8px, var(--sl));align-items:flex-start}#menu .logo-lockup{transform-origin:0 0;transform:rotate(-4deg)scale(.85)}#menu .dock{right:max(28px, var(--sr));bottom:calc(var(--sb) + 28px);gap:14px;width:500px;margin:0;position:absolute}#menu .chapter-panel{gap:14px;padding-bottom:16px}#menu .chapter-panel .tag{height:38px;font-size:26px}#menu #dots{--d:40px}#menu #dots li+li:before{width:28px}#menu .go{height:92px}#menu .go span{font-size:58px}#menu .garage-btn{height:92px}#menu .garage-btn span{font-size:26px}#menu .map-tile{width:130px;height:92px}#menu .garage-tile{width:150px}}#garage{z-index:12;pointer-events:none;position:fixed;inset:0}#garage>*{pointer-events:auto}body:has(#garage:not([hidden])) #menu{display:none}.g-top{padding:calc(var(--st) + 12px) max(14px, var(--sr)) 0 max(14px, var(--sl));align-items:center;gap:12px;display:flex;position:absolute;top:0;left:0;right:0}.g-top .wallet{margin-left:0}.g-title{font-family:var(--race);letter-spacing:.03em;text-shadow:0 2px 12px #00000080;flex:1;margin:0;font-size:30px;font-style:italic;font-weight:900}.g-card{top:calc(var(--st) + 66px);left:max(14px, var(--sl));--cut:10px;width:min(300px,70vw);padding-bottom:12px;position:absolute}.g-card .tag{height:26px;font-size:17px}.gstats{grid-template-columns:82px 1fr 46px;align-items:center;gap:12px;margin:0;padding:0 12px;display:grid}.gstats dt{font-family:var(--race);letter-spacing:.03em;font-size:19px;font-style:italic;font-weight:700}.gstats dd{margin:0;position:relative}.gstats .pc{font-family:var(--race);color:var(--white);font-variant-numeric:tabular-nums;font-size:19px;font-weight:800}.gstats .stripebar,.gstats .stripebar.thin{height:12px}.gstats .stripebar.thin i{background:repeating-linear-gradient(-62deg,#ff6a00 0 8px,#ffb15c 8px 14px)}.g-arrow{width:54px;height:54px;color:var(--white);filter:drop-shadow(0 2px 6px #0009);opacity:.9;position:absolute;top:46%}.g-arrow svg{width:100%;height:100%}.g-arrow.left{left:max(6px, var(--sl))}.g-arrow.right{right:max(6px, var(--sr))}.g-arrow:active{transform:scale(.9)}.g-bottom{padding:0 max(12px, var(--sr)) calc(var(--sb) + 12px) max(12px, var(--sl));flex-direction:column;gap:10px;display:flex;position:absolute;bottom:0;left:0;right:0}.g-play{flex-direction:column;justify-content:center;align-self:flex-end;gap:2px;width:min(240px,62vw);height:62px}.g-play span{font-size:36px}.g-play:disabled{filter:grayscale(.8);opacity:.6}.tiles{touch-action:pan-x;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;grid-auto-columns:104px;grid-auto-flow:column;gap:6px;padding-bottom:2px;display:grid;overflow-x:auto}.tiles::-webkit-scrollbar{display:none}.tile{scroll-snap-align:start;height:120px;color:var(--white);background:var(--glass);border:1.5px solid var(--line-dim);-webkit-backdrop-filter:blur(6px);clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%);flex-direction:column;grid-template-rows:1fr;justify-content:center;place-items:center;gap:0;padding:26px 4px 6px;display:grid;position:relative;overflow:hidden}.tile .n{font-family:var(--race);letter-spacing:.04em;color:var(--white);font-size:13px;font-style:italic;font-weight:800;position:absolute;top:5px;left:7px}.tile img{object-fit:contain;object-position:center;filter:drop-shadow(0 4px 6px #00000073);width:calc(100% - 12px);height:calc(100% - 34px);max-height:none;margin:0;position:absolute;inset:28px 6px 6px}.tile.on{border:2px solid var(--white)}.tile .rb{background:linear-gradient(180deg, var(--hazard), var(--orange));transform-origin:50% 100%;width:6px;position:absolute;top:0;bottom:0;left:0}.tile .yc{background:var(--orange);color:var(--white);font-family:var(--race);letter-spacing:.06em;clip-path:polygon(0 0,calc(100% - 7px) 0,100% 100%,0 100%);padding:1px 8px 1px 6px;font-size:11px;font-style:italic;font-weight:800;position:absolute;bottom:0;left:6px}.tile.mine{border-color:var(--orange)}.tile.mine.on{border-color:var(--white)}.tile.just .rb{animation:.34s cubic-bezier(.2,.9,.2,1) both rb-grow}.tile.just .yc{animation:.34s cubic-bezier(.2,.9,.2,1) .1s both yc-in}.tile.just{animation:.7s ease-out both mine-pulse}.tile.just img{animation:.45s cubic-bezier(.2,.9,.2,1) both mine-pop}@keyframes rb-grow{0%{transform:scaleY(0)}}@keyframes yc-in{0%{transform:translate(-110%)}}@keyframes mine-pulse{0%{background:#ff8c288c;box-shadow:inset 0 0 #ff6a0000}to{box-shadow:inset 0 0 #ff6a0000}}@keyframes mine-pop{0%{transform:scale(.86)}60%{transform:scale(1.08)}}@media (prefers-reduced-motion:reduce){.tile.just,.tile.just .rb,.tile.just .yc,.tile.just img{animation:none}}.tile.locked img{filter:brightness(.55)saturate(.6)drop-shadow(0 4px 6px #00000073)}.tile .tp{font-family:var(--race);color:var(--hazard);background:#000000b3;align-items:center;gap:3px;padding:1px 6px;font-size:13px;font-style:italic;font-weight:800;display:flex;position:absolute;bottom:4px;right:5px}.tile .tp .coin-icon,.g-play small .coin-icon,#gToast .coin-icon{flex:none;width:.9em;height:.9em}.g-play small{align-items:center;gap:5px;display:inline-flex}.g-play small[hidden]{display:none}.cust-open:disabled{opacity:.45;pointer-events:none}#gToast{z-index:6;border:2px solid var(--hazard);min-width:min(300px,78vw);font-family:var(--race);color:var(--white);text-align:center;opacity:0;background:#0b1330f0;flex-direction:column;align-items:center;gap:2px;padding:12px 22px 11px;font-style:italic;transition:opacity 80ms,transform 80ms;display:flex;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%)skew(-8deg)scale(.9);box-shadow:0 14px 40px #00000080;pointer-events:none!important}#gToast.on{opacity:1;transition-duration:.16s;transform:translate(-50%,-50%)skew(-8deg)scale(1)}#gToast b{letter-spacing:.03em;color:var(--hazard);font-size:26px;font-weight:900}#gToast span{align-items:center;gap:6px;font-size:18px;font-weight:700;display:inline-flex}@media (prefers-reduced-motion:reduce){#gToast{transition:none}}.cust-open{right:max(12px, var(--sr));height:58px;color:var(--navy);clip-path:polygon(18px 0,100% 0,calc(100% - 18px) 100%,0 100%);background:linear-gradient(100deg,#fff,#e3e8f6);border:0;align-items:center;gap:12px;padding:0 26px;transition:filter .15s,transform 80ms;display:flex;position:absolute;box-shadow:inset 0 -5px #0b133024}.cust-open:after{content:"";pointer-events:none;background:repeating-linear-gradient(-62deg,#ff6a0038 0 9px,#0000 9px 22px);width:42%;position:absolute;top:0;bottom:0;right:0;-webkit-mask:linear-gradient(90deg,#0000,#000 75%);mask:linear-gradient(90deg,#0000,#000 75%)}.cust-open svg{width:28px;height:28px;color:var(--orange);flex:none}.cust-open span{line-height:1;font-family:var(--race);letter-spacing:.03em;flex-direction:column;align-items:flex-start;gap:3px;font-size:19px;font-style:italic;font-weight:800;display:flex}.cust-open b{font-family:var(--race);letter-spacing:.02em;font-size:24px;font-style:italic;font-weight:900}.cust-open small{font-family:var(--race);letter-spacing:.08em;color:#4a5a8a;font-size:11px;font-style:italic;font-weight:700}@media (hover:hover){.cust-open:hover{filter:brightness(1.04)}}.cust-open:active{transform:scale(.98)}@media (width<=819px){.cust-open{bottom:calc(var(--sb) + 236px);order:1;justify-content:center;align-self:stretch;position:static}.g-bottom .tiles{order:2}.g-play{order:3;align-self:stretch;width:100%;height:60px}}@media (width>=820px){.cust-open{width:260px;top:-68px}}@media (width>=900px){.tile{height:140px}.g-bottom{flex-direction:row-reverse;align-items:flex-end}.tiles{flex:1;grid-auto-columns:150px;min-width:0}.g-play{width:260px;height:96px}}#garage.customising .g-bottom,#garage.customising .g-arrow,#garage.customising .cust-open,#garage.customising .g-card{display:none}.cust{left:max(12px, var(--sl));right:max(12px, var(--sr));bottom:calc(var(--sb) + 12px);flex-direction:column;gap:6px;display:flex;position:absolute}.cust-icons{gap:6px;display:flex}.cust-icons button{clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,0 100%);color:#c9d3f5;background:#080c1ed9;border:2px solid #ffffff1f;place-items:center;width:56px;height:52px;transition:color .15s,background-color .15s;display:grid}.cust-icons button svg{fill:currentColor;width:34px;height:34px}@media (hover:hover){.cust-icons button:not(.on):hover{color:var(--white)}}.cust-icons button.on{background:var(--orange);border-color:var(--white);color:var(--white)}.cust-panel{--cut:12px;background:#080c1ee6;flex-direction:column;gap:10px;padding:10px;display:flex}.cust-bar{background:#05070f;justify-content:space-between;align-items:center;height:44px;display:flex}.cust-bar button{width:44px;height:44px;color:var(--white);place-items:center;font-size:30px;display:grid}.cust-bar button .ic{width:22px;height:22px}.cust-bar b{font-family:var(--race);letter-spacing:.04em;color:var(--orange);font-size:24px;font-style:italic;font-weight:800}.cust-grid{touch-action:pan-y;grid-template-columns:repeat(3,1fr);gap:8px;max-height:34vh;display:grid;overflow-y:auto}.tile2{aspect-ratio:1;background:#0d1226;border:3px solid #1c2440;padding:0;position:relative;overflow:hidden}.tile2 img,.tile2 .pv{object-fit:contain;position:absolute}.tile2 img{width:88%;height:78%;inset:6% 6% 16%}.tile2.body img{width:88%;height:68%;inset:8% 6% 24%}.tile2 .pv{background-size:cover;width:100%;height:100%;inset:0}.tile2 .pv.plate{background-color:#0d1226;background-position:50% 40%;background-repeat:no-repeat;background-size:86%}.tile2.worn{border-color:var(--white)}.tile2.sel{border-color:var(--orange)}.tile2 .tl{font-family:var(--race);color:var(--white);text-align:left;background:linear-gradient(#0000,#000c);padding:4px 6px;font-size:15px;font-style:italic;font-weight:800;position:absolute;bottom:0;left:0;right:0}.tile2 .tp{font-family:var(--race);color:var(--hazard);background:#000000bf;align-items:center;gap:4px;padding:2px 8px;font-size:15px;font-weight:800;display:flex;position:absolute;top:6px;left:6px}.tile2 .tp .coin-icon{width:12px;height:12px}.tile2.locked img,.tile2.locked .pv{filter:brightness(.8)saturate(.85)}.cust-foot{gap:8px;display:flex}.cust-foot .btn{flex:1;height:48px;font-size:22px}@media (width>=820px){.cust{left:28px;right:auto;top:calc(var(--st) + 70px);width:520px;bottom:auto}.cust-grid{max-height:52vh}.cust-icons button{width:72px;height:64px}.cust-icons button svg{width:42px;height:42px}}@media (width<=819px){.cust-icons{gap:4px}.cust-icons button{flex:1;width:auto;min-width:0;height:44px}.cust-icons button svg{width:28px;height:28px}.cust-panel{gap:8px;padding:8px}.cust-bar{height:38px}.cust-bar b{font-size:20px}.cust-grid{gap:6px;max-height:27vh}.tile2{aspect-ratio:auto;border-width:2px;height:76px}.tile2 img,.tile2.body img{width:calc(100% - 16px);height:calc(100% - 30px);inset:6px 8px 24px}.tile2 .pv{width:auto;height:auto;inset:0 0 20px}.tile2:not(.body) img{transform-origin:50% 40%;transform:scale(1.22)}.tile2 .pv.plate{box-sizing:border-box;background-position:50%;background-size:contain;background-origin:content-box;padding:7px 9px}.tile2 .tl{white-space:nowrap;text-overflow:ellipsis;background:#060914;height:20px;padding:0 44px 0 6px;font-size:13px;line-height:20px;overflow:hidden}.tile2 .tp{z-index:1;background:0 0;gap:3px;height:20px;padding:0 6px;font-size:13px;inset:auto 0 0 auto}.tile2 .tp .coin-icon{width:10px;height:10px}.cust-foot .btn{height:44px}}#map{z-index:14;touch-action:none;background:0 0;position:fixed;inset:0;overflow:hidden}.nfs-map{cursor:grab;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.nfs-pins{position:absolute;inset:0}.nfs-top{padding:calc(var(--st) + 10px) max(12px, var(--sr)) 18px max(12px, var(--sl));background:linear-gradient(#030814e6,#03081400);align-items:center;gap:10px;display:flex;position:absolute;top:0;left:0;right:0}.nfs-tabs{touch-action:pan-x;flex:1;gap:2px;padding-left:4px;display:flex;overflow-x:auto}.nfs-tabs button{font-family:var(--race);color:var(--white);clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%);background:#ffffff0f;padding:6px 18px;font-size:17px;font-style:italic;font-weight:800}.nfs-tabs button.on{background:var(--white);color:#0b1330}@media (width<=640px){.nfs-top{flex-wrap:wrap;row-gap:8px}.nfs-top .wallet{margin-left:auto}.nfs-tabs{flex:0 0 100%;order:9;gap:4px;padding-left:0;overflow:visible}.nfs-tabs button{text-align:center;white-space:nowrap;flex:1;padding:8px 4px;font-size:16px}}.pin{color:var(--white);background:0 0;border:0;align-items:center;gap:6px;padding:0;display:flex;position:absolute;translate:-50% -50%}.pin i{border:2px solid var(--white);background:#0b1330;place-items:center;width:34px;height:34px;display:grid}.pin i svg{width:22px;height:22px}.pin span{font-family:var(--race);letter-spacing:.03em;white-space:nowrap;text-shadow:0 0 4px #000,0 2px 6px #000;font-size:15px;font-style:italic;font-weight:800}.pin em{font-style:normal;font-family:var(--race);background:var(--hazard);color:#0b1330;padding:1px 6px;font-size:12px;font-weight:800}.pin.sel i{box-shadow:0 0 0 4px #ff6a008c}.pin.race i{background:var(--white);color:var(--orange);border-color:var(--orange);width:42px;height:42px}.pin.garage i{color:var(--line)}.pin.island i{color:#6fb4ff}.pin.place i{background:var(--hazard);width:16px;height:16px;color:var(--hazard);border-radius:50%;transition:transform .15s}.pin.place i svg{display:none}.pin.place span{opacity:0;pointer-events:none;margin-left:6px;transition:opacity .15s,translate .15s;position:absolute;left:100%;translate:-4px}.pin.place:before{content:"";position:absolute;inset:-12px}@media (hover:hover){.pin.place:hover i{transform:scale(1.25)}.pin.place:hover span{opacity:1;translate:0}}.pin.place.sel i{transform:scale(1.35);box-shadow:0 0 0 4px #ffc40073}.pin.place.sel span{opacity:1;translate:0}.nfs-card{left:max(12px, var(--sl));bottom:calc(var(--sb) + 44px);background:var(--white);color:#0b1330;width:min(300px,100vw - 24px);clip-path:polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));position:absolute}.nfs-card-h{font-family:var(--race);padding:6px 12px;font-size:22px;font-style:italic;font-weight:900}.nfs-card img{object-fit:cover;width:100%;height:130px;display:block}.nfs-card-b{color:var(--white);background:#0b1330;flex-direction:column;gap:4px;padding:10px 12px 12px;display:flex}.nfs-card-b b{font-family:var(--race);font-size:20px;font-style:italic;font-weight:800}.nfs-card-b span{color:var(--muted);font-size:13px}.nfs-card .btn{height:44px;margin-top:6px}.isl-list{left:50%;bottom:calc(var(--sb,0px) + 18px);scrollbar-width:none;scroll-snap-type:x proximity;touch-action:pan-x;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;gap:6px;max-width:calc(100% - 32px);padding:4px;display:flex;position:absolute;overflow-x:auto;transform:translate(-50%)}.isl{height:46px;color:var(--white);clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%);scroll-snap-align:center;cursor:pointer;background:#0b1330e0;border:0;flex:none;align-items:center;gap:8px;padding:0 22px 0 18px;transition:transform .2s,border-color .2s,background .2s;display:flex}.isl i{width:32px;height:32px;font:italic 800 16px var(--race);color:#9fd0ff;background:#1c2a55;place-items:center;display:grid}.isl.open i{color:#fff;background:#ff6a00}.isl b{font:italic 800 19px var(--race);letter-spacing:.03em;white-space:nowrap}.isl small{font:italic 800 11px var(--race);color:#6f86b8;letter-spacing:.06em}.isl.sel{background:var(--white);transform:translateY(-4px)}.isl.sel b{color:#0b1330}.isl.nope{animation:.35s islNope}@keyframes islNope{25%{translate:-5px}75%{translate:5px}}@media (width>=820px){.nfs-card{left:max(24px, var(--sl));width:min(460px,36vw);top:90px;bottom:auto}.nfs-card img{height:min(280px,30vh)}.nfs-card-h{padding:8px 16px;font-size:26px}.nfs-card-b{gap:6px;padding:14px 16px 16px}.nfs-card-b b{font-size:30px;line-height:1}.nfs-card-b span{font-size:16px;line-height:1.35}.nfs-card .btn{height:52px;font-size:24px}}@media (width<=819px){.nfs-card{bottom:calc(var(--sb,0px) + 80px)}.isl-list{max-width:none;padding:4px 16px;left:0;right:0;transform:none}.isl{height:42px}.isl b{font-size:17px}}#hud{pointer-events:none;z-index:5;font-family:var(--race);position:fixed;inset:0}#hud button{pointer-events:auto}#speedlines{opacity:0;background:repeating-conic-gradient(at 50% 46%,#ffffff38 0deg .6deg,#0000 .6deg 7deg);transition:opacity .3s;position:absolute;inset:0;-webkit-mask:radial-gradient(circle at 50% 46%,#0000 34%,#000 70%);mask:radial-gradient(circle at 50% 46%,#0000 34%,#000 70%)}.hud-tl{top:calc(var(--st) + 10px);left:max(10px, var(--sl));align-items:flex-start;gap:6px;display:flex;position:absolute}.hud-tl .sq-btn{width:44px;height:44px}.posbig{font-family:var(--race);transform-origin:0;align-items:flex-start;margin-left:4px;font-style:italic;line-height:.8;display:flex}.posbig b{letter-spacing:0;color:var(--white);text-shadow:3px 3px 0 var(--orange), 0 4px 14px #00000073;font-size:58px;font-weight:900}.posbig span{color:var(--orange);text-shadow:0 2px 6px #0006;margin:4px 0 0 2px;font-size:20px;font-weight:800}.hud-row{top:calc(var(--st) + 62px);left:max(10px, var(--sl));gap:6px;display:flex;position:absolute}.chip2{border-left:3px solid var(--orange);background:#080c1eb8;align-items:center;gap:6px;min-width:70px;height:30px;padding:0 10px;display:flex}.chip2 svg{width:16px;height:16px;color:var(--white)}.chip2 .coin-icon{width:16px;height:16px}.chip2 b{font-family:var(--race);letter-spacing:0;font-variant-numeric:tabular-nums;font-size:20px;font-style:italic;font-weight:800;line-height:1}.bump{animation:.35s ease-out bump}.bump.up{animation:.35s ease-out bump,.6s ease-out placeUp}.bump.down{animation:.35s ease-out bump,.6s ease-out placeDown}@keyframes placeUp{0%{color:#3dff8a}to{color:inherit}}@keyframes placeDown{0%{color:#ff4a4a}to{color:inherit}}@keyframes bump{0%{transform:scale(1.3)}to{transform:none}}.hud-tr{top:calc(var(--st) + 8px);right:max(10px, var(--sr));flex-direction:column;align-items:center;gap:4px;display:flex;position:absolute}.speedo{place-items:center;width:112px;height:112px;display:grid;position:relative}.gauge{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.gauge .g-face{fill:#070c22c7;stroke:#6fd3ff59;stroke-width:1px}.gauge .seg{fill:none;stroke:#ffffff21;stroke-width:9px;transition:stroke .12s}.gauge .seg.on{stroke:#ff7a1a}.gauge .seg.hot.on{stroke:#ffd29a}.speedo.boost .seg.on{stroke:#fff3dc;filter:drop-shadow(0 0 4px #ff8a2a)}.gauge .g-nbg,.gauge .g-n{fill:none;stroke-width:4px;stroke-linecap:round;stroke-dasharray:193.2 400}.gauge .g-nbg{stroke:#6fd3ff29}.gauge .g-n{stroke:var(--line);stroke-dashoffset:193.2px;opacity:.6;transition:stroke-dashoffset .25s,opacity .2s}.speedo.n-ready .g-n{opacity:1;filter:drop-shadow(0 0 4px var(--line))}.sp-num{flex-direction:column;align-items:center;width:74%;line-height:.9;display:flex;position:relative}.sp-num b{font-family:var(--race);letter-spacing:-.02em;font-variant-numeric:tabular-nums;text-align:center;white-space:nowrap;width:100%;font-size:34px;font-style:italic;font-weight:800}.sp-num .mono{color:var(--line);font-size:12px}.timetag{background:var(--orange);color:var(--white);font-family:var(--race);font-variant-numeric:tabular-nums;padding:2px 8px;font-size:16px;font-weight:700}.scorebar{border-left:3px solid var(--orange);background:#0c1536c7;align-items:center;gap:8px;height:32px;padding:0 14px 0 12px;display:flex;transform:skew(-12deg)}.scorebar>*{transform:skew(12deg)}.scorebar .sc-l{font-family:var(--race);letter-spacing:.06em;color:var(--line);font-size:15px;font-style:italic;font-weight:800}.scorebar b{font-family:var(--race);color:var(--white);font-variant-numeric:tabular-nums;font-size:24px;font-style:italic;font-weight:900;line-height:1}.scorebar em{font-family:var(--race);color:var(--hazard);font-size:17px;font-style:italic;font-weight:800}.scorebar em:empty{display:none}.hud-tc{top:calc(var(--st) + 22px);flex-direction:column;align-items:center;gap:8px;width:min(30vw,200px);display:flex;position:absolute;left:50%;transform:translate(-50%)}.progress{border-radius:3px;width:100%}.progress i{height:100%}.weapon{--cut:8px;pointer-events:auto;align-items:center;gap:6px;height:40px;padding:0 12px 0 6px;display:flex}.weapon .wicon{place-items:center;width:30px;height:30px;display:grid}.weapon .wicon svg{width:28px;height:28px}.weapon .wname{font-family:var(--race);letter-spacing:.02em;color:var(--white);font-size:20px;font-style:italic;font-weight:800}.weapon b{color:var(--white);font-size:20px;font-style:italic;font-weight:800}.weapon.empty{display:none}.weapon.rolling .wicon{animation:.12s linear infinite roll}@keyframes roll{50%{transform:translateY(-3px)scale(.9)}}#minimap{left:max(6px, var(--sl));top:calc(var(--st) + 100px);opacity:.9;width:88px;height:88px;position:absolute}.flycoin{z-index:7;pointer-events:none;width:22px;height:22px;margin:-11px 0 0 -11px;transition:transform .55s cubic-bezier(.5,-.4,.7,1),opacity .55s;position:fixed}.toasts{right:max(12px, var(--sr));top:calc(var(--st) + 190px);flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute}.toast{background:var(--glass);border-right:3px solid var(--orange);text-transform:uppercase;align-items:center;gap:8px;height:30px;padding:0 12px;font-size:17px;font-style:italic;font-weight:700;animation:1.7s forwards toast;display:flex}.toast b{color:var(--hazard);font-weight:800}@keyframes toast{0%{opacity:0;transform:translate(24px)}12%,75%{opacity:1;transform:none}to{opacity:0;transform:translateY(-8px)}}.center{text-align:center;font-style:italic;font-weight:900;line-height:1;position:absolute;top:30%;left:0;right:0}.center .pop{animation:.45s cubic-bezier(.2,1.6,.4,1) pop;display:inline-block}.center.count{color:var(--white);text-shadow:6px 6px 0 var(--orange), 0 10px 40px #0006;font-size:clamp(110px,34vw,190px)}.center.small{color:var(--white);text-shadow:4px 4px 0 var(--orange);font-size:clamp(46px,13vw,80px)}.center.ko{font-size:clamp(22px,5.5vw,38px);top:17%}.center.ko .pop{background:var(--orange);color:var(--white);clip-path:polygon(14px 0,100% 0,calc(100% - 14px) 100%,0 100%);white-space:nowrap;padding:2px 20px 4px 14px}#hitMark{pointer-events:none;z-index:6;opacity:0;filter:drop-shadow(0 0 3px #0009);background:linear-gradient(45deg,#0000 44%,#fff 44% 56%,#0000 56%),linear-gradient(-45deg,#0000 44%,#fff 44% 56%,#0000 56%);width:34px;height:34px;margin:-17px 0 0 -17px;position:fixed;top:46%;left:50%}#hitMark.on{animation:.28s ease-out hitmark}#hitMark.on.big{width:48px;height:48px;margin:-24px 0 0 -24px;animation:.4s ease-out hitmark}@keyframes hitmark{0%{opacity:1;transform:scale(1.4)}to{opacity:0;transform:scale(.9)}}body.ko-flash:after{content:"";pointer-events:none;z-index:5;background:radial-gradient(#fff0c800 45%,#ffa02880 100%);animation:.45s ease-out forwards koflash;position:fixed;inset:0}@keyframes koflash{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){body.ko-flash:after{opacity:0;animation:none}}@keyframes pop{0%{opacity:0;transform:scale(.3)skew(-12deg)}to{opacity:1;transform:none}}.wrong{background:var(--hazard);color:var(--navy);padding:4px 22px;font-size:32px;font-style:italic;font-weight:900;animation:.6s steps(2,end) infinite blink;position:absolute;top:22%;left:50%;transform:translate(-50%)skew(-12deg)}@keyframes blink{50%{opacity:.35}}.touch-btn{color:var(--white);font-family:var(--race);letter-spacing:.04em;background:var(--glass);border:2px solid var(--line-dim);-webkit-backdrop-filter:blur(4px);border-radius:50%;font-size:19px;font-style:italic;font-weight:800;display:none;position:absolute}.touch-btn.on{border-color:var(--white);background:#ff6a00a6}.brake-btn{right:max(20px, var(--sr));bottom:calc(var(--sb) + 136px);color:#dfe8ff;border-color:#e5484d;border-radius:20px;width:92px;height:76px;padding:8px 10px}.brake-btn svg{width:100%;height:100%;display:block;transform:perspective(160px)rotateX(16deg)}.brake-btn.on{color:var(--white);background:#e5484d8c}.fire-btn{left:max(20px, var(--sl));bottom:calc(var(--sb) + 136px);border-color:var(--orange);width:84px;height:84px}.steer-pad{height:0;display:none;position:absolute;inset:auto 0 0}.steer-btn{bottom:calc(var(--sb) + 22px);border-radius:24px;place-items:center;width:92px;height:92px;display:grid;position:absolute}#leftBtn{left:max(16px, var(--sl))}#rightBtn{right:max(16px, var(--sr))}.steer-btn svg{width:40px;height:40px}.touch-btn svg,.touch-btn span{pointer-events:none}.coach{z-index:6;pointer-events:none;flex-direction:column;align-items:center;gap:8px;transition:left .3s,top .3s;display:flex;position:absolute;translate:-50%}.coach .hand{filter:drop-shadow(0 4px 8px #00000080);width:46px;height:54px;animation:1s ease-in-out infinite press}.coach.swipe .hand{animation:1.6s ease-in-out infinite swipe}@keyframes press{0%,to{transform:translateY(-6px)scale(1)}45%{transform:translateY(4px)scale(.92)}}@keyframes swipe{0%,to{transform:translate(-40px)}50%{transform:translate(40px)}}.coach-text{white-space:nowrap;background:var(--orange);color:var(--white);font-family:var(--race);letter-spacing:.03em;clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%);align-items:center;gap:6px;margin:0;padding:4px 16px 6px;font-size:18px;font-style:italic;font-weight:800;display:inline-flex}.coach-text .ic+.ic{margin-left:-2px}.steer-btn.hint,.touch-btn.hint{border-color:var(--orange);animation:1s ease-in-out infinite glow;box-shadow:0 0 0 4px #ff6a0059}@keyframes glow{50%{box-shadow:0 0 0 10px #ff6a0000}}.shortcut-hint{z-index:6;pointer-events:none;flex-direction:column;align-items:center;gap:4px;display:flex;position:fixed;translate:-50% -100%}.shortcut-hint .hand{filter:drop-shadow(0 3px 6px #00000080);width:40px;height:46px;animation:1s ease-in-out infinite press;transform:rotate(180deg)}.shortcut-hint span{background:var(--hazard);color:var(--navy);font-family:var(--race);clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%);padding:2px 12px;font-size:18px;font-style:italic;font-weight:900}.nitro-btn{right:max(30px, var(--sr));bottom:calc(var(--sb) + 228px);border-color:#2a7bff;width:72px;height:72px;padding:0;overflow:visible}.nitro-btn .nbottle{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;transform:rotate(-12deg)}.nlab{font:italic 800 7.5px var(--race);fill:#1d2a6b;letter-spacing:.04em}#nLiq{transition:transform .35s cubic-bezier(.2,.8,.2,1)}.nwave{animation:1.6s linear infinite nwave}@keyframes nwave{to{transform:translate(-24px)}}.nb{fill:#e6f6ff;opacity:.8;animation:1.8s ease-in infinite nbub}.nb.b2{animation-delay:.6s}.nb.b3{animation-delay:1.1s}@keyframes nbub{0%{opacity:.9;transform:translateY(0)}to{opacity:0;transform:translateY(-30px)}}.nitro-btn.ready{background:#2a7bff4d;border-color:#8fc8ff;animation:1.2s ease-in-out infinite npulse;box-shadow:0 0 18px #4096ffbf,inset 0 0 12px #4096ff73}@keyframes npulse{50%{box-shadow:0 0 28px #4096ff,inset 0 0 16px #4096ff99}}@media (width>=820px){.speedo{width:150px;height:150px}.sp-num b{font-size:44px}.sp-num .mono{font-size:13px}}@media (width>=900px){#minimap{width:130px;height:130px}}@media (pointer:fine){.nitro-btn{display:block;bottom:24px;right:24px}}@media (pointer:coarse){.touch-btn{display:block}.steer-btn{display:grid}.steer-pad{display:block}.scorebar{display:none}.speedo{width:100px;height:100px}.sp-num b{font-size:30px}.hud-tc{width:min(28vw,130px)}.weapon{height:32px}.weapon .wicon{width:24px;height:24px}.weapon .wicon svg{width:22px;height:22px}.weapon .wname,.weapon b{font-size:16px}.toasts .toast:nth-child(n+2){display:none}.toast{height:26px;font-size:14px}.center.ko{font-size:22px}.center.small{font-size:46px}}@media (width>=820px){.sp-num b{font-size:36px}}@media (prefers-reduced-motion:reduce){.center .pop,.toast,.wrong,.nwave,.nb,.nitro-btn.ready{animation:none}}#youCame{z-index:8;pointer-events:none;text-shadow:0 4px 24px #0000008c;flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}#youCame span{font-family:var(--race);letter-spacing:.04em;font-size:clamp(26px,7vw,54px);font-weight:600}#youCame b{font-family:var(--race);font-size:clamp(110px,32vw,230px);font-weight:700;line-height:.85}#youCame em{margin-left:.05em;font-size:.45em;font-style:normal}.sheet{z-index:20;padding:calc(var(--st) + 16px) max(16px, var(--sr)) calc(var(--sb) + 16px) max(16px, var(--sl));background:#0b13308c;place-items:center;display:grid;position:fixed;inset:0}.sheet .card{flex-direction:column;gap:12px;width:min(430px,100%);max-height:100%;padding:0 0 18px;display:flex;overflow:auto}.sheet .card>:not(.tag){margin-inline:16px}.row{gap:8px;display:flex}.row .btn{flex:1}#results,#pause,#controls,#settings,#quitAsk{background:linear-gradient(#0b133000 40%,#0b1330b3);place-items:end center}#pause .card,#controls .card,#settings .card,#quitAsk .card{width:min(460px,100%)}#pause .card{gap:10px}#results .card{gap:10px;width:min(420px,100%);max-height:64vh}.eyebrow{color:var(--line);margin:0}.eyebrow:empty{display:none}#results .eyebrow{font-family:var(--race);font-size:18px;font-weight:800}.place-big{font-family:var(--race);align-items:flex-start;margin:0;font-style:italic;line-height:.8;display:flex}.place-big b{text-shadow:4px 4px 0 var(--orange);font-size:84px;font-weight:900}.place-big span{color:var(--orange);margin:8px 0 0 4px;font-size:30px;font-weight:800}.standings{flex-direction:column;gap:3px;margin-block:0;padding:0;list-style:none;display:flex}.standings li{height:52px;font-family:var(--race);background:#ffffff0a;grid-template-columns:34px 46px 1fr auto;align-items:center;gap:10px;padding:0 12px;font-size:19px;font-style:italic;font-weight:700;display:grid}.standings li.me{border-left:3px solid var(--orange);background:#ff6a0038}.standings .place,.standings .t{font-family:var(--race);color:var(--white);font-size:18px;font-style:italic;font-weight:800}.standings .t{font-variant-numeric:tabular-nums}.standings li:not(.me) .t{color:#cfd6ee}.standings .face{aspect-ratio:1;place-items:center;width:44px;height:44px;display:grid}.standings .face img{aspect-ratio:1;object-fit:contain;width:100%;height:100%;margin-top:0}.standings .nm{font-size:22px}.res-stats{grid-template-columns:repeat(4,1fr);gap:6px;margin-block:0;display:grid}.res-stats div{text-align:center;border-top:2px solid var(--line-dim);background:#ffffff0d;padding:8px 6px}.res-stats dt{font-family:var(--race);letter-spacing:.02em;text-transform:uppercase;color:var(--line);font-size:15px;font-weight:700}.res-stats dd{font-family:var(--race);font-variant-numeric:tabular-nums;margin:2px 0 0;font-size:26px;font-style:italic;font-weight:800}@media (width>=820px){#results,#pause,#controls,#settings,#quitAsk{background:linear-gradient(270deg,#0b1330bf,#0b133000 55%);place-items:center end;padding-right:48px}#results .card{max-height:92vh}}.fs-tip{z-index:40;left:12px;right:12px;bottom:calc(var(--sb) + 12px);background:var(--white);color:var(--navy);grid-template-columns:1fr auto;gap:2px 10px;padding:12px 14px;display:grid;position:fixed;box-shadow:0 8px 24px #0006}.fs-tip>b{font-family:var(--race);font-size:20px;font-style:italic;font-weight:800}.fs-tip span{grid-column:1;font-size:14px;line-height:1.4}.fs-tip svg{vertical-align:-3px;color:#2f6fd8;width:16px;height:16px}.fs-tip button{color:var(--navy);grid-area:1/2/3;align-self:center;width:36px;height:36px;font-size:18px}.sheet.enter{animation:.2s ease-out both fadeIn}.sheet.leave{animation:.16s ease-in both sheetOut}.sheet.enter>.card{will-change:transform, opacity;animation:.3s cubic-bezier(.2,.9,.25,1) both cardIn}@keyframes sheetOut{to{opacity:0}}@keyframes cardIn{0%{opacity:0;transform:translateY(16px)scale(.975)}}@media (prefers-reduced-motion:reduce){.sheet.enter>.card{animation:none}}#modes{--ease-out:cubic-bezier(.23, 1, .32, 1);z-index:12;background:repeating-linear-gradient(#ffffff06 0 1px,#0000 1px 3px),radial-gradient(120% 85%,#060a1c00 45%,#060a1cbf);flex-direction:column;display:flex;position:fixed;inset:0}.m-tag{height:36px;font-size:24px}.m-top{padding:calc(var(--st) + 12px) max(14px, var(--sr)) 0 max(14px, var(--sl));align-items:center;gap:12px;display:flex}.m-cards{touch-action:pan-x;padding:18px 24px calc(var(--sb) + 26px);flex:1;justify-content:center;align-items:center;gap:22px;display:flex}.mcard{--cut:18px;width:min(290px,26vw);height:min(470px,66vh);color:var(--white);text-align:left;clip-path:polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));transition:transform .26s var(--ease-out);-webkit-tap-highlight-color:transparent;background:#0d1226;flex:none;padding:0;position:relative;overflow:hidden;transform:scale(.94)}.mcard.on{transform:scale(1.04)}.mcard.on:active{transition-duration:.12s;transform:scale(1.01)}.mcard img{filter:brightness(.6)saturate(.8);transition:filter .22s ease, transform .6s var(--ease-out);transform:scale(1)}.mcard.on img{filter:none;transform:scale(1.05)}@media (hover:hover) and (pointer:fine){.mcard:not(.on):hover img{filter:brightness(.78)saturate(.9)}}.mcard img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.mcard:before{content:"";background:linear-gradient(#05091800 30%,#050918e0 52%,#050918 64%);position:absolute;inset:0}.mcard:after{content:"";border:3px solid var(--white);clip-path:inherit;pointer-events:none;opacity:0;transition:opacity .2s;position:absolute;inset:0}.mcard.on:after{opacity:1;border-color:var(--orange)}.mcard{box-shadow:none}.mcard:after{opacity:.9;border:1.5px solid var(--line-dim)}.mcard.on:after{border-width:3px}.mc-body{flex-direction:column;gap:4px;display:flex;position:absolute;bottom:18px;left:18px;right:18px}.mc-name{font-family:var(--race);letter-spacing:.01em;font-size:56px;font-style:italic;font-weight:900;line-height:.86}.mc-en{font-family:var(--race);color:var(--line);letter-spacing:.03em;text-transform:uppercase;font-size:22px;font-style:italic;font-weight:800}.mc-line{font-family:var(--body);color:var(--white);font-size:15px;font-weight:600}.mc-play{background:linear-gradient(100deg, var(--orange), var(--orange-2));height:52px;color:var(--white);font-family:var(--race);clip-path:polygon(14px 0,100% 0,calc(100% - 14px) 100%,0 100%);opacity:0;transition:opacity .16s ease, transform .26s var(--ease-out);align-self:stretch;place-items:center;margin-top:12px;padding:0 34px;font-size:30px;font-style:italic;font-weight:900;display:grid;position:relative;overflow:hidden;transform:translate(-16px);box-shadow:inset 0 -5px #0000002e}.mcard.on .mc-play{opacity:1;transition-delay:70ms;transform:none}#hud[data-mode=tt] #posBig,#hud[data-mode=tt] #weapon,#hud[data-mode=tt] #fireBtn,#hud[data-mode=free] #posBig,#hud[data-mode=free] #weapon,#hud[data-mode=free] #fireBtn,#hud[data-mode=free] .progress,#hud[data-mode=free] #timer{display:none}#youCame b.tm{font-size:clamp(64px,18vw,140px);font-style:italic}.standings.laps li{grid-template-columns:1fr auto}.mc-en,.mc-line{text-shadow:0 2px 6px #000000b3}#pause>.card,#controls>.card,#settings>.card,#quitAsk>.card{-webkit-backdrop-filter:none;background:#0c1536f0}@media (width>=820px){#pause,#controls,#settings,#quitAsk{padding-top:calc(var(--st) + 96px);place-items:start end}}@media (prefers-reduced-motion:reduce){.mcard,.mcard img,.mc-play{transition-property:opacity,filter}.mcard.on img,.mc-play{transform:none}}.mc-play:after{content:"";background:repeating-linear-gradient(-62deg,#ffffff38 0 9px,#0000 9px 22px);width:42%;position:absolute;top:0;bottom:0;right:0;-webkit-mask:linear-gradient(90deg,#0000,#000 75%);mask:linear-gradient(90deg,#0000,#000 75%)}.nfs-title{font-family:var(--race);letter-spacing:.03em;white-space:nowrap;text-shadow:0 2px 10px #00000080;font-size:26px;font-style:italic;font-weight:900}@media (width<=560px){.nfs-title{font-size:19px}}.mcard img{z-index:0}.mcard:before{z-index:1}.mc-body{z-index:2}.mcard:after{z-index:3}.mc-name{text-shadow:0 2px 10px #05091899}#swapVeil{z-index:60;background:linear-gradient(to top, #0b1330f2 8%, #0b133059 55%, #0b133026), var(--ld-pic,none) center / cover no-repeat, #0b1330;opacity:0;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:6px;transition:opacity .22s;display:flex;position:fixed;inset:0}#swapVeil.in{opacity:1;pointer-events:auto}#swapVeil[hidden]{display:none}#swapVeil span{font-family:var(--race);letter-spacing:.08em;color:var(--line);font-size:22px;font-style:italic;font-weight:800}#swapVeil b{font-family:var(--race);color:var(--white);font-size:clamp(48px,9vw,96px);font-style:italic;font-weight:900;line-height:.9}#swapVeil>.stripebar{width:min(320px,60vw);height:10px;margin-top:14px}#swapVeil>.stripebar>i{width:100%;animation:1.1s linear infinite veilBar}@keyframes veilBar{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}body.tilt-steer .steer-pad{display:none!important}.set-note{font-family:var(--body);color:var(--hazard);margin:-4px 0 0;font-size:14px;font-weight:600}.res-stats:empty{display:none}#results .card>.row{z-index:1;background:linear-gradient(#0c153600,#0c1536f5 38%);margin:0 0 -18px;padding:14px 16px 18px;position:sticky;bottom:-18px}@media (width<=819px){#results .card{gap:8px;max-height:78vh}.place-big b{font-size:64px}.place-big span{margin-top:6px;font-size:24px}.standings li{gap:8px;height:42px}.standings .face{width:38px;height:38px}.standings .nm{font-size:19px}.standings li{grid-template-columns:28px 40px 1fr auto}.prize .pz{height:40px}}#loading.travel{background:#0b1330;justify-content:center;gap:22px}#loading.travel .ld-frame,#loading.travel .ld-classic-logo{display:none}#loading.travel{background:linear-gradient(to top, #0b1330f2 8%, #0b133059 55%, #0b133026), var(--ld-pic,none) center / cover no-repeat, #0b1330}#loading .ld-travel{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}#loading .ld-travel[hidden]{display:none}#loading .ld-travel span{font-family:var(--race);letter-spacing:.08em;color:var(--line);font-size:22px;font-style:italic;font-weight:800}#loading .ld-travel b{font-family:var(--race);color:var(--white);font-size:clamp(48px,9vw,96px);font-style:italic;font-weight:900;line-height:.9}#loading.travel .track{width:min(320px,60vw);margin-top:0;position:static}.ask-text{font-family:var(--body);color:#c9d3f5;margin:0;font-size:17px;font-weight:600;line-height:1.35}.sheet .card>.tag{align-self:flex-start}#pause,#controls,#settings,#quitAsk{padding:calc(var(--st) + 16px) max(16px, var(--sr)) calc(var(--sb) + 16px) max(16px, var(--sl))!important;background:#060a1ad1!important;place-items:center!important}#flyby{z-index:29;pointer-events:auto;padding:0 max(20px, var(--sr)) calc(var(--sb) + 28px) max(20px, var(--sl));background:linear-gradient(#0b133000 62%,#0b1330bf);justify-content:space-between;align-items:flex-end;gap:16px;display:flex;position:fixed;inset:0}.fb-cap{flex-direction:column;gap:10px;min-width:0;max-width:min(640px,100%);display:flex}.fb-tag{height:34px;font-family:var(--race);align-items:stretch;margin:0;font-size:22px;font-style:italic;font-weight:800;display:flex}.fb-tag span{background:var(--orange);color:var(--white);clip-path:polygon(0 0,100% 0,calc(100% - 12px) 100%,0 100%);white-space:nowrap;align-items:center;padding:0 26px 0 14px;display:flex}.fb-tag i{background:var(--white);width:7px;margin-left:4px;transform:skew(-20deg)}#fbName{font-family:var(--race);color:var(--white);text-shadow:0 4px 24px #00000073;white-space:nowrap;text-overflow:clip;margin:0;font-size:clamp(44px,10vw,84px);font-style:italic;font-weight:900;line-height:.92;overflow:hidden}.fb-sub{font-family:var(--race);color:var(--line);white-space:nowrap;margin:0;font-size:clamp(20px,4.4vw,28px);font-style:italic;font-weight:700;overflow:hidden}.fb-sub:empty{display:none}.fb-chips{flex-wrap:nowrap;gap:8px;display:flex}.fb-chips:empty{display:none}.fb-chips b{font-family:var(--race);color:var(--white);clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%);white-space:nowrap;background:#0b1330bf;border:2px solid #ffffff59;padding:4px 14px;font-size:20px;font-style:italic;font-weight:800}#flyby.cap-in .fb-cap{animation:.42s cubic-bezier(.23,1,.32,1) fbIn}@keyframes fbIn{0%{opacity:0;transform:translate(-28px)}}.fb-skip{font-family:var(--race);color:var(--white);clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%);-webkit-tap-highlight-color:transparent;background:#0b133099;border:2px solid #ffffff80;flex:none;padding:8px 22px;font-size:22px;font-style:italic;font-weight:800}@media (prefers-reduced-motion:reduce){#flyby.cap-in .fb-cap{animation:none}}#swapVeil span,#swapVeil b,#loading .ld-travel span,#loading .ld-travel b{text-shadow:0 3px 18px #050918bf}.mirror{pointer-events:none;flex-direction:column;align-items:center;display:flex;position:relative}.mirror[hidden]{display:none}.mirror-stem{background:linear-gradient(90deg,#2a2f3d,#4a5266,#2a2f3d);border-radius:2px 2px 0 0;width:10px;height:10px}.mirror-glass{aspect-ratio:3.6;border:5px solid #161a24;border-radius:14px/40%;width:clamp(240px,24vw,340px);box-shadow:0 0 0 1.5px #ffffff2e,0 6px 18px #00000073,inset 0 0 14px #00000059}.mirror[data-at=bottom]{left:50%;bottom:calc(var(--sb,0px) + 18px);position:absolute;transform:translate(-50%)}.mirror[data-at=bottom] .mirror-stem{display:none}.mirror-glass.warn{border-color:#ff2a2a;box-shadow:0 0 0 1.5px #ff787899,0 0 22px #ff2828cc}.cine{--cine:0;pointer-events:none;z-index:4;background:radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, calc(var(--cine) * .55)) 100%);position:fixed;inset:0}.cine:before,.cine:after{content:"";background:#000;height:11vh;position:absolute;left:0;right:0}.cine:before{transform:translateY(calc((var(--cine) - 1) * 100%));top:0}.cine:after{transform:translateY(calc((1 - var(--cine)) * 100%));bottom:0}.cinema #mirror{visibility:hidden}.sc{pointer-events:none;z-index:4;position:fixed;inset:0;overflow:hidden}.sc-flash{opacity:0;background:#fff;position:absolute;inset:0}.sc-flash.go{animation:.4s ease-out scflash}@keyframes scflash{0%{opacity:.85}to{opacity:0}}.sc-lines{opacity:0;background:repeating-conic-gradient(#ffffffb3 0deg .5deg,#0000 .5deg 6.5deg);animation:9s linear infinite scspin;position:absolute;inset:-30%;-webkit-mask:radial-gradient(circle,#0000 34%,#000 62%);mask:radial-gradient(circle,#0000 34%,#000 62%)}@keyframes scspin{to{transform:rotate(360deg)}}.sc-stamp{font-family:var(--race);letter-spacing:.02em;white-space:nowrap;color:#0000;background:linear-gradient(#fffbe0 0%,#ffe066 38%,#f29a00 52%,#ffd23f 70%,#fff0a8 100%);-webkit-text-stroke:3px #1c0f00;filter:drop-shadow(0 6px #1c0f00)drop-shadow(0 0 24px #ffbe28a6);opacity:0;-webkit-background-clip:text;background-clip:text;font-size:clamp(46px,10vw,132px);font-style:italic;font-weight:900;line-height:1;position:absolute;top:26%;left:50%;transform:translate(-50%,-50%)}.sc-stamp.slam{animation:.42s cubic-bezier(.2,1.5,.4,1) forwards scslam}.sc-stamp.land{animation:.75s ease-out forwards scland}.sc-stamp.out{animation:.4s ease-in forwards scout}@keyframes scslam{0%{opacity:0;transform:translate(-50%,-50%)scale(2.8)rotate(-9deg)}55%{opacity:1;transform:translate(-50%,-50%)scale(.92)rotate(-4deg)}to{opacity:1;transform:translate(-50%,-50%)scale(1)rotate(-4deg)}}@keyframes scland{0%{opacity:1;transform:translate(-50%,-50%)scale(1)rotate(-4deg)}22%{opacity:1;transform:translate(-50%,-50%)scale(1.22)rotate(-2deg)}to{opacity:0;transform:translate(-50%,-50%)scale(1.7)rotate(0)}}@keyframes scout{0%{opacity:1;transform:translate(-50%,-50%)scale(1)rotate(-4deg)}to{opacity:0;transform:translate(-50%,-50%)scale(.9)rotate(-4deg)}}@media (prefers-reduced-motion:reduce){.sc-lines{animation:none}}#controls .ctrl-card{width:min(460px,100vw - 32px)}.ctrl-head{justify-content:space-between;align-items:flex-start;display:flex}.ctrl-head .sq-btn{margin:10px 10px 0 0}.ctrl-head .sq-btn .ic{width:22px;height:22px}.ctrl-list{flex-direction:column;gap:6px;margin:6px 0 0;padding:4px 16px 16px;list-style:none;display:flex}.ctrl-list li{background:#ffffff0a;grid-template-rows:auto auto;grid-template-columns:132px 1fr;align-items:center;column-gap:14px;min-height:52px;padding:6px 12px;display:grid}.ctrl-list .kcs{grid-row:1/3;gap:6px;display:flex}.ctrl-list b{font-family:var(--race);letter-spacing:.03em;color:var(--white);font-size:22px;font-style:italic;font-weight:800;line-height:1}.ctrl-list small{font-family:var(--race);color:var(--muted);letter-spacing:.02em;font-size:14px;font-style:italic;font-weight:600}.ctrl-list li:not(:has(small)) b{grid-row:1/3}.kc{--cut:6px;min-width:40px;height:40px;color:var(--white);font-family:var(--race);letter-spacing:.04em;border:1.5px solid var(--line-dim);clip-path:polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));background:linear-gradient(#2a3a7c,#1a2556);place-items:center;padding:0 10px;font-size:17px;font-style:italic;font-weight:800;display:inline-grid;box-shadow:inset 0 -4px #04081a8c}.kc.wide{min-width:84px}.kc .ic{width:20px;height:20px}.ic.up{transform:rotate(-90deg)}@media (width<=480px){.ctrl-list li{grid-template-columns:104px 1fr}.ctrl-list b{font-size:19px}.kc{min-width:36px;height:36px}.kc.wide{min-width:72px}}.prize{gap:6px;display:grid}.prize .pz{border-left:4px solid var(--hazard);background:#ffc4001a;justify-content:space-between;align-items:center;height:44px;padding:0 18px 0 14px;display:flex}.prize .pz span{font-family:var(--race);letter-spacing:.02em;font-size:19px;font-style:italic;font-weight:800}.prize .pz b{font-family:var(--race);color:var(--hazard);font-variant-numeric:tabular-nums;align-items:center;gap:8px;font-size:26px;font-style:italic;font-weight:900;display:flex}.prize .pz .coin-icon{width:22px;height:22px}.res-wallet{top:calc(var(--st) + 14px);left:max(14px, var(--sl));margin:0;position:absolute;transform:skew(-12deg)}.res-wallet.bump{animation:.22s ease-out bankbump}@keyframes bankbump{40%{transform:skew(-12deg)scale(1.14)}}.paycoin{z-index:60;pointer-events:none;width:24px;height:24px;position:fixed}#settings .set-card{width:min(460px,100vw - 32px)}.set-list{gap:6px;padding:6px 16px 18px;display:grid}.set-row{background:#ffffff0a;grid-template-columns:120px 1fr 52px;align-items:center;gap:14px;min-height:56px;padding:6px 14px;display:grid}.set-row b{font-family:var(--race);letter-spacing:.03em;font-size:20px;font-style:italic;font-weight:800}.set-row output{font-family:var(--race);text-align:right;color:var(--hazard);font-variant-numeric:tabular-nums;font-size:18px;font-style:italic;font-weight:800}.set-row .seg{grid-column:2/4}.seg{background:0 0;gap:10px;padding:0 6px;display:flex}.seg button{isolation:isolate;height:42px;font-family:var(--race);letter-spacing:.02em;color:#c9d3f5;background:0 0;flex:1;font-size:19px;font-style:italic;font-weight:800;position:relative}.seg button:before{content:"";z-index:-1;border:1.5px solid var(--line-dim);background:#121a3d;transition:background-color .15s,border-color .15s;position:absolute;inset:0;transform:skew(-14deg)}.seg button.on{color:var(--white)}.seg button.on:before{background:var(--orange);border-color:var(--orange)}@media (hover:hover){.seg button:not(.on):hover:before{border-color:var(--line)}}.set-row input[type=range]{appearance:none;cursor:pointer;--v:50%;background:0 0;width:100%;height:26px;margin:0;transform:skew(-24deg)}.set-row input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(90deg, transparent var(--v), #1b2552 var(--v)), repeating-linear-gradient(-62deg, #ff6a00 0 8px, #ff9a3c 8px 14px);height:12px;box-shadow:inset 0 0 0 1px #ffffff14}.set-row input[type=range]::-moz-range-track{background:linear-gradient(90deg, transparent var(--v), #1b2552 var(--v)), repeating-linear-gradient(-62deg, #ff6a00 0 8px, #ff9a3c 8px 14px);height:12px}.set-row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:#fff3dc;border:0;border-radius:0;width:6px;height:24px;margin-top:-6px;box-shadow:0 0 10px #ffd29a,0 0 18px #ff9a3c}.set-row input[type=range]::-moz-range-thumb{background:#fff3dc;border:0;border-radius:0;width:6px;height:24px;box-shadow:0 0 10px #ffd29a,0 0 18px #ff9a3c}#setBtn svg{fill:currentColor;width:22px;height:22px}@media (width<=480px){.set-row{grid-template-columns:96px 1fr 46px;gap:10px}.set-row b{font-size:17px}}.standings.cup .t em{color:var(--orange);margin-left:4px;font-size:14px;font-style:normal}.pz.trophy span{color:#ffc400}.pz.trophy.t2 span{color:#d9dee8}.pz.trophy.t3 span{color:#e8a066}.pz.unlocked span{color:#7dffb0}#quitAsk .end-btn{color:#ffd9d2;border-color:#ff5a46b3;height:52px}#quitAsk .end-btn[hidden]{display:none}#menu .topbar{z-index:3;position:relative}#menu .topbar .sq-btn,#menu .topbar .wallet{background:#0c1536eb}#menu .dock{gap:10px}.tour-tile,.big-tile{--cut:14px;color:var(--white);text-align:left;clip-path:polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));transition:transform .14s var(--ease-out,ease);-webkit-tap-highlight-color:transparent;background:#0d1226;padding:0;position:relative;overflow:hidden}.tour-tile:active,.big-tile:active{transform:scale(.97)}.tour-tile>img,.big-tile>img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.tour-tile:before,.big-tile:before{content:"";z-index:1;position:absolute;inset:0}.tour-tile:before{background:linear-gradient(90deg,#050918eb 0%,#05091899 48%,#0509180d 85%)}.big-tile:before{background:linear-gradient(#05091800 35%,#050918e6 100%)}.tour-tile:after,.big-tile:after{content:"";z-index:3;clip-path:inherit;pointer-events:none;border:1.5px solid var(--line-dim);position:absolute;inset:0}.tour-tile:after{border:3px solid var(--orange)}.tour-tile{width:100%;height:188px;display:block}.tt-body{z-index:2;flex-direction:column;justify-content:center;gap:6px;display:flex;position:absolute;top:14px;bottom:14px;left:18px}.tt-name{font-family:var(--race);letter-spacing:.01em;text-shadow:0 2px 10px #05091899;font-size:44px;font-style:italic;font-weight:900;line-height:.88}.tt-sub{font-family:var(--race);letter-spacing:.04em;color:var(--line);font-size:20px;font-style:italic;font-weight:800}.tt-marks{gap:6px;margin:4px 0 0;padding:0;list-style:none;display:flex}.tt-marks li{background:#ffffff2e;width:30px;height:10px;transform:skew(-20deg)}.tt-marks li.done{background:var(--orange)}.tt-marks li.next{background:var(--white)}.tt-marks li.fin:not(.done):not(.next){background:#ffc400}.tt-go{z-index:2;background:linear-gradient(100deg, var(--orange), var(--orange-2));clip-path:polygon(12px 0,100% 0,calc(100% - 12px) 100%,0 100%);height:48px;font-family:var(--race);place-items:center;padding:0 26px;font-size:26px;font-style:italic;font-weight:900;display:grid;position:absolute;bottom:14px;right:14px;box-shadow:inset 0 -5px #0000002e}#menu .dock-row{gap:10px}.big-tile{flex:1;height:108px;display:block}.big-tile>span{z-index:2;font-family:var(--race);letter-spacing:.02em;text-shadow:0 2px 8px #050918b3;font-size:21px;font-style:italic;font-weight:900;line-height:.95;position:absolute;bottom:10px;left:12px;right:8px}.big-tile.garage-tile>img{object-fit:contain;padding:8px 10px 30px}@media (width>=820px){#menu .dock{gap:14px;width:min(700px,46vw)}#menu .tour-tile{height:min(290px,36vh)}#menu .dock-row{gap:14px}#menu .big-tile{height:min(170px,21vh)}#menu .big-tile>span{font-size:28px;bottom:14px;left:16px}.tt-name{font-size:68px}.tt-sub{font-size:26px}.tt-marks li{width:38px;height:11px}.tt-go{height:54px;font-size:30px}#menu .big-tile.garage-tile{width:auto}}#againBtn{white-space:nowrap}#againBtn small{letter-spacing:.06em;opacity:.9;margin-top:2px;font-size:13px;display:block}#results .card{gap:14px}.res-head{justify-content:space-between;align-items:center;gap:12px;display:flex}#results .place-big b{font-size:104px}#results .place-big span{font-size:36px}.res-head .prize .pz{background:0 0;border:0;flex-direction:column;align-items:flex-end;gap:2px;height:auto;padding:0}.res-head .prize .pz span{display:none}.res-head .prize .pz.trophy span{font-size:18px;display:block}.res-head .prize .pz b{font-size:44px}.res-head .prize .pz .coin-icon{width:34px;height:34px}.res-line{font-family:var(--race);letter-spacing:.02em;color:var(--white);margin:0;font-size:24px;font-style:italic;font-weight:900;line-height:1.1}.res-line:empty{display:none}#results #standings:not(.laps){display:none!important}#results .res-go{height:58px;font-size:26px;font-weight:900}#results .res-go small{font-size:14px}#results .card>.row .btn{flex:1;height:58px;font-size:26px;font-weight:900}@media (width<=819px){#results .place-big b{font-size:88px}.res-head .prize .pz b{font-size:38px}.res-line{font-size:21px}}#results .card,#results .card[class]{max-height:none;overflow:visible}#results .card>.row{background:0 0;margin:0 16px;padding:0;position:static}#results #standings.standings.top{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex!important}#results #standings.top li{height:50px}#results #standings.top li.apart{margin-top:6px}#results #standings.top .nm{font-size:22px}#results #standings.top .t{font-size:20px}.heat{justify-content:flex-end;align-items:center;gap:8px;margin-top:6px;display:flex}.heat>span{font-family:var(--race);letter-spacing:.06em;color:#ffb21f;font-size:15px;font-style:italic;font-weight:900}.heat-bar{background:#0c1536d9;border:1.5px solid #ffb21f80;width:110px;height:12px;overflow:hidden;transform:skew(-20deg)}.heat-bar i{transform-origin:0;background:linear-gradient(90deg,#ffb21f,#ff3a12);height:100%;transition:transform .15s linear;display:block;transform:scaleX(0)}.heat.warm .heat-bar{border-color:#ff3a12;box-shadow:0 0 10px #ff3a1299}body.onfire .heat-bar i{animation:.18s steps(2,end) infinite heatflick;transform:scaleX(1)!important}body.onfire .heat>span:after{content:" · ON FIRE";color:#ff3a12}@keyframes heatflick{50%{filter:brightness(1.4)}}body.onfire #hud:before{content:"";pointer-events:none;z-index:0;animation:.6s ease-in-out infinite alternate firepulse;position:fixed;inset:0;box-shadow:inset 0 0 90px 10px #ff461273}@keyframes firepulse{to{box-shadow:inset 0 0 130px 20px #ff6e128c}}@media (prefers-reduced-motion:reduce){body.onfire .heat-bar i,body.onfire #hud:before{animation:none}}.chest{z-index:40;text-align:center;background:radial-gradient(circle at 50% 38%,#1d2a6b 0%,#0b1330 45%,#03050f 100%);flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:24px;display:flex;position:fixed;inset:0}.chest.in{animation:.25s ease-out chFade}.chest.out{animation:.3s ease-in reverse forwards chFade}@keyframes chFade{0%{opacity:0}}.ch-stage{aspect-ratio:1;width:min(380px,86vw);position:relative}#chestGL{width:100%;height:100%;position:absolute;inset:0}.ch-rays{aspect-ratio:1;background:repeating-conic-gradient(#ffc4008c 0 7deg, transparent 7deg 20deg);opacity:0;width:170%;position:absolute;top:48%;left:50%;translate:-50% -50%;scale:.3;-webkit-mask:radial-gradient(circle,#000 0 10%,#0000 58%);mask:radial-gradient(circle,#000 0 10%,#0000 58%)}.chest.open .ch-rays{opacity:1;transition:opacity .3s,scale .5s cubic-bezier(.2,1.4,.4,1);animation:14s linear infinite chSpin;scale:1}@keyframes chSpin{to{rotate:360deg}}.ch-text{flex-direction:column;align-items:center;gap:4px;min-height:130px;display:flex}.ch-sub{font-family:var(--race);letter-spacing:.1em;color:#ffc400;margin:0;font-size:20px;font-style:italic;font-weight:900}.ch-title{font-family:var(--race);color:#fff;text-shadow:0 3px #00000080;margin:0;font-size:46px;font-style:italic;font-weight:900;line-height:1}.ch-item{opacity:0;flex-direction:column;align-items:center;gap:2px;margin-top:6px;display:flex;transform:translateY(10px)}.chest.open .ch-item{opacity:1;transition:opacity .3s .35s,transform .4s cubic-bezier(.2,1.4,.4,1) .35s;transform:none}.ch-item b{font-family:var(--race);color:#fff;clip-path:polygon(12px 0,100% 0,calc(100% - 12px) 100%,0 100%);background:#ff6a00;padding:4px 18px;font-size:38px;font-style:italic;font-weight:900;line-height:1}.ch-item span{font-family:var(--race);color:#fff;font-size:22px;font-style:italic;font-weight:800}.ch-go{width:min(320px,86vw);height:60px;margin-top:8px;font-size:30px;font-weight:900}@media (prefers-reduced-motion:reduce){.chest.open .ch-rays{animation:none}}#quickThumb{object-position:50% 40%}.ch-title{white-space:nowrap;font-size:clamp(30px,9.5vw,46px)}@media (pointer:coarse){#hud .brake-btn{display:none!important}#hud .nitro-btn{right:max(20px, var(--sr));bottom:calc(var(--sb) + 136px);width:84px;height:84px}}.btn,.seg button,.go span,.q-next,.tt-go,.big-tile>span,.ch-go{white-space:nowrap}.seg button{letter-spacing:0;flex:1 1 0;min-width:0;padding:0 6px;font-size:clamp(14px,4vw,19px)}.final-badge{color:#1a1204;clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%);font-family:var(--race);letter-spacing:.08em;white-space:nowrap;background:linear-gradient(100deg,#ffc400,#ffdf6b);align-self:center;margin:0 auto 6px;padding:4px 18px 3px;font-size:18px;font-style:italic;font-weight:900;box-shadow:0 0 18px #ffc40073}.final-badge[hidden]{display:none}.gstats .stripebar u{background:#ffc400;display:block;position:absolute;top:0;bottom:0;box-shadow:0 0 10px #ffc400cc}.g-uplegend{font-family:var(--race);letter-spacing:.04em;color:#cfd6ee;white-space:nowrap;align-items:center;gap:8px;margin:12px 12px 0;font-size:15px;font-style:italic;font-weight:800;display:flex}.g-uplegend b{background:#ffc400;width:18px;height:9px;transform:skew(-24deg)}.g-uplegend[hidden]{display:none}.g-coll{top:calc(var(--st) + 66px);right:max(14px, var(--sr));--cut:10px;width:480px;padding:0 0 14px;position:absolute}.gc-head{justify-content:space-between;align-items:center;display:flex}.gc-head .tag{height:26px;font-size:17px}.gc-n{font-family:var(--race);padding-right:14px;font-size:20px;font-style:italic;font-weight:900}.gc-n em{font-style:inherit;color:#ffc400}.gc-grid{grid-template-columns:repeat(5,1fr);gap:8px;padding:12px 12px 0;display:grid}.gc-up{clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);background:#0d1430;border:1.5px solid #6fd3ff40;flex-direction:column;min-width:0;display:flex;position:relative;overflow:hidden}.gc-up.got{border-color:#ffc400}.gc-up img{aspect-ratio:1;object-fit:cover;width:100%;display:block}.gc-up:not(.got) img{filter:grayscale(.85)brightness(.45)}.gc-up .gc-lock{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M7 10V7a5 5 0 0 1 10 0v3h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2zm2 0h6V7a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") 50%/24px no-repeat,#050918d1;border-radius:50%;width:46px;height:46px;margin:calc(50% - 23px) 0 0 -23px;position:absolute;top:0;left:50%;box-shadow:0 0 0 2px #ffffff59}.gc-up b{font-family:var(--race);white-space:nowrap;text-overflow:clip;margin:6px 6px 0;font-size:15px;font-style:italic;font-weight:900;line-height:1;overflow:hidden}.gc-up span{font-family:var(--race);letter-spacing:.03em;color:#ffc400;white-space:nowrap;margin:3px 6px 7px;font-size:12px;font-style:italic;font-weight:800}.gc-up:not(.got) b,.gc-up:not(.got) span{color:#9fb0dc}.gc-next{font-family:var(--race);color:#cfd6ee;white-space:nowrap;align-items:center;gap:10px;margin:12px 12px 0;font-size:15px;font-style:italic;font-weight:800;display:flex}.gc-bar{background:#ffffff1f;flex:1;height:9px;transform:skew(-24deg)}.gc-bar i{background:#ffc400;height:100%;display:block}.gc-next b{color:#fff;font-weight:900}#garage.customising .g-coll,.coll-btn{display:none}@media (width<=819px){.coll-btn{align-items:center;gap:4px;padding:0 10px;display:flex;width:auto!important}.coll-btn svg{fill:#ffc400;width:18px;height:18px}.coll-btn b{font-family:var(--race);white-space:nowrap;font-size:16px;font-style:italic;font-weight:900}.g-coll{width:auto;top:auto;left:12px;right:12px;bottom:calc(var(--sb) + 12px);z-index:5;display:none}#garage.coll-open .g-coll{display:block}.gc-grid{gap:6px;padding:10px 10px 0}.gc-up b{font-size:13px}.gc-up span{font-size:10px}}#tourRoute{z-index:30;background:repeating-linear-gradient(#ffffff06 0 1px,#0000 1px 3px),radial-gradient(120% 85%,#060a1c00 45%,#060a1cbf);position:fixed;inset:0}#tourRoute.picking .tr-route:before,#tourRoute.picking .tr-foot{visibility:hidden}.tour-card{color:inherit;font:inherit;text-align:left;cursor:pointer;border:0;padding:0}.tour-card.locked{cursor:default}.tour-card.locked img{filter:grayscale(.9)brightness(.45)}.tc-lock{z-index:3;background:#050918bf;border:3px solid #ffffffd9;border-radius:50%;place-items:center;width:104px;height:104px;display:grid;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%)}.tc-lock svg{fill:#fff;width:52px;height:52px}#tourRoute[hidden]{display:none}.tr-wrap{height:100%;padding:calc(var(--st) + 22px) max(32px, var(--sr)) calc(var(--sb) + 26px) max(32px, var(--sl));flex-direction:column;display:flex}.tr-top{align-items:center;gap:12px;display:flex}.tr-top .tag{white-space:nowrap;height:40px;font-size:26px}.tr-sub{font-family:var(--race);letter-spacing:.04em;color:#cfd6ee;white-space:nowrap;margin:16px 0 0;font-size:21px;font-style:italic;font-weight:800}.tr-sub b{color:#ffc400}.tr-route{flex:1;align-items:center;gap:18px;margin:10px 0;display:flex;position:relative}.tr-route:before{content:none}.tr-stop{--cut:14px;height:min(300px,40vh);clip-path:polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));background:#0d1226;flex:1;position:relative;overflow:hidden}.tr-stop img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.tr-stop:after{content:"";background:linear-gradient(#05091800 40%,#050918e0);position:absolute;inset:0}.tr-n{z-index:2;background:var(--orange);place-items:center;width:38px;height:38px;display:grid;position:absolute;top:12px;left:12px;transform:rotate(45deg)}.tr-n span{font-family:var(--race);font-size:19px;font-style:italic;font-weight:900;transform:rotate(-45deg)}.tr-t{z-index:2;margin:0;position:absolute;bottom:12px;left:14px;right:10px}.tr-t small{font-family:var(--race);letter-spacing:.08em;color:var(--line);white-space:nowrap;font-size:15px;font-style:italic;font-weight:800;display:block}.tr-t span{font-family:var(--race);white-space:nowrap;font-size:32px;font-style:italic;font-weight:900;line-height:.95;display:block}.tr-fly{z-index:2;background:var(--navy);border:2px solid var(--line);border-radius:50%;flex:none;place-items:center;width:32px;height:32px;display:grid;position:relative}.tr-fly:before,.tr-fly:after{content:"";border-top:3px dashed #ffffffe6;width:18px;position:absolute;top:50%;transform:translateY(-50%)}.tr-fly:before{right:100%}.tr-fly:after{left:100%}.tr-fly svg{width:17px;fill:var(--line)}.tr-route{scrollbar-width:none;touch-action:pan-x;justify-content:safe center;overflow-x:auto}.tr-stop.city{flex:0 0 300px;height:min(360px,50vh)}.tr-stop.city .tr-t small{white-space:normal}.tr-stop.city.fin{flex:0 0 300px;height:min(360px,50vh)}.tr-stop.fin{outline-offset:-3px;outline:3px solid #ffc400;flex:1.15;height:min(340px,46vh)}.tr-stop.fin .tr-n{background:#ffc400}.tr-stop.fin .tr-n span{color:#1a1204}.tr-stop.fin .tr-t span{color:#ffd84a}.tr-pts{z-index:2;color:#1a1204;clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%);font-family:var(--race);white-space:nowrap;background:#ffc400;padding:4px 12px;font-size:15px;font-style:normal;font-weight:900;position:absolute;top:12px;right:12px}.tr-foot{justify-content:space-between;align-items:center;gap:18px;display:flex}.tr-note{font-family:var(--race);color:#cfd6ee;white-space:nowrap;margin:0;font-size:19px;font-style:italic;font-weight:800}.tr-note b{color:#ffc400}.tr-go{width:260px;height:70px}.tr-go span{font-size:40px}@media (width<=819px){.tr-wrap{padding:calc(var(--st) + 16px) 16px calc(var(--sb) + 18px)}.tr-top .tag{height:36px;font-size:20px}.tc-lock{width:76px;height:76px;top:50%}.tc-lock svg{width:38px;height:38px}.tr-sub{margin-top:12px;font-size:16px}.tr-route{flex-direction:column;align-items:stretch;gap:8px;margin:12px 0}.tr-route:before{content:none}.tr-stop,.tr-stop.fin{flex:1;height:auto}.tr-stop.fin{flex:1.25}.tr-stop:after{background:linear-gradient(90deg,#050918e6,#05091880 55%,#05091826)}.tr-n{width:30px;height:30px;margin-top:-15px;top:50%;left:14px}.tr-t{top:50%;bottom:auto;left:60px;transform:translateY(-50%)}.tr-t span{font-size:26px}.tr-t small{font-size:13px}.tr-route{touch-action:pan-y;overflow:hidden auto}.tr-stop.city,.tr-stop.city.fin{flex:0 0 min(180px,24vh);height:auto}.tr-fly{display:none}.tr-foot{flex-direction:column;align-items:stretch;gap:10px}.tr-note{text-align:center;font-size:14px}.tr-go{width:100%;height:60px}.tr-go span{font-size:34px}}.gc-close{display:none}@media (width<=819px){.gc-close{width:calc(100% - 24px);height:52px;margin:14px 12px 0;font-size:22px;font-weight:900;display:block}.gc-grid{grid-template-columns:repeat(3,1fr);gap:8px}.gc-up b{font-size:15px}#garage.coll-open:before{content:"";z-index:4;pointer-events:auto;background:#050918c7;position:fixed;inset:0}#garage.coll-open .g-bottom,#garage.coll-open .g-arrow,#garage.coll-open .g-card,#garage.coll-open .cust{visibility:hidden}#garage.coll-open .g-coll{background:#0c1536fa;top:50%;bottom:auto;transform:translateY(-50%)}.gc-up span,.tr-note{display:none}.gc-up b{margin-bottom:7px}}@media (width>=820px){.coll-btn{align-items:center;gap:6px;padding:0 12px;display:flex;width:auto!important}.coll-btn svg{fill:#ffc400;width:20px;height:20px}.coll-btn b{font-family:var(--race);white-space:nowrap;font-size:18px;font-style:italic;font-weight:900}.g-coll{z-index:5;background:#0c1536fa;width:600px;display:none;top:50%;left:50%;right:auto;transform:translate(-50%,-50%)}#garage.coll-open .g-coll{display:block}#garage.coll-open:before{content:"";z-index:4;pointer-events:auto;background:#050918b8;position:fixed;inset:0}#garage.coll-open .g-bottom,#garage.coll-open .g-arrow,#garage.coll-open .g-card,#garage.coll-open .cust{visibility:hidden}.gc-close{width:calc(100% - 24px);height:52px;margin:16px 12px 0;font-size:22px;font-weight:900;display:block}.g-coll{width:min(760px,64vw);padding-bottom:20px}.g-coll .gc-head .tag{height:36px;font-size:24px}.gc-n{font-size:26px}.gc-grid{grid-template-columns:repeat(3,1fr);gap:14px;padding:18px 18px 0}.gc-up b{margin:10px;font-size:22px}.gc-up span{display:none}.gc-up .gc-lock{background-size:32px,auto;width:64px;height:64px;margin:calc(50% - 32px) 0 0 -32px}.gc-next{margin:18px 18px 0;font-size:19px}.gc-close{width:calc(100% - 36px);height:60px;margin:18px 18px 0;font-size:26px}}@media (width>=900px){#garage .g-bottom{padding-right:max(28px, var(--sr));padding-left:max(28px, var(--sl));grid-template-columns:minmax(0,1fr) 360px;grid-template-areas:"tiles cust""tiles play";align-items:end;gap:10px 24px;display:grid}#garage .tiles{grid-area:tiles;grid-auto-columns:170px;gap:10px;min-width:0}#garage .cust-open{grid-area:cust;justify-content:center;width:100%;height:72px;position:static}#garage .g-play{grid-area:play;align-self:end;width:100%;height:96px}}#hud .hud-tr{align-items:flex-end}#hud #timer{font-variant-numeric:tabular-nums;text-align:center;min-width:5.6em}.ctrl-list li.ctrl-pic{background:0 0;padding:10px 6px;display:block}.ctrl-svg{width:100%;max-height:min(58vh,520px);display:block}.ctrl-list li.ctrl-drift{flex-wrap:nowrap;align-items:center;gap:8px;min-height:0;padding:10px 12px;display:flex}.cd-tag{background:var(--orange);color:var(--white);clip-path:polygon(0 0,100% 0,calc(100% - 10px) 100%,0 100%);flex:none;padding:4px 16px 4px 10px}.cd-step{font-family:var(--race);color:var(--white);white-space:nowrap;font-size:clamp(14px,3.8vw,18px);font-style:italic;font-weight:700}.cd-steps{flex-direction:column;gap:4px;min-width:0;display:flex}.cd-step+.cd-step:before{content:"";border-left:8px solid var(--orange);border-top:5px solid #0000;border-bottom:5px solid #0000;width:0;height:0;margin:0 8px 2px 0;display:inline-block}#setCtrl,#setSchool{margin-top:8px}.sch-card{text-align:center}.sch-big{font-family:var(--race);white-space:nowrap;color:var(--white);margin:14px 0 2px;font-size:clamp(30px,9vw,44px);font-style:italic;font-weight:800;line-height:1}.sch-sub{font-family:var(--race);letter-spacing:.06em;white-space:nowrap;color:var(--hazard);margin:6px 0 16px;font-size:18px;font-weight:700}.sch-card .row{margin-top:10px}.school-bar{z-index:7;top:calc(var(--st,0px) + 64px);pointer-events:none;flex-direction:column;align-items:center;gap:6px;display:flex;position:fixed;left:50%;translate:-50%}.school-bar b{font-family:var(--race);letter-spacing:.08em;white-space:nowrap;color:var(--white);text-shadow:0 2px 6px #0009;font-size:15px;font-style:italic;font-weight:800}.sch-steps{gap:5px;display:flex}.sch-steps i{background:#0b1330b3;border:1px solid #ffffff59;width:30px;height:8px;transition:background .25s;transform:skew(-20deg)}.sch-steps i.on{background:#ffffffd9}.sch-steps i.done{background:var(--orange);border-color:var(--orange)}@media (orientation:portrait){.school-bar{top:calc(var(--st,0px) + 112px)}}#hud[data-mode=school] #heat,#hud[data-mode=school] #posBig,#hud[data-mode=school] .progress,#hud[data-mode=school] #timer{display:none}.progress{margin:6px 0;position:relative}.prog-racers{position:absolute;inset:0}.prog-racers i{background:var(--c);border:2px solid #0b1330d9;border-radius:50%;width:20px;height:20px;position:absolute;top:50%;overflow:hidden;translate:-50% -50%}.prog-racers i img{object-fit:cover;width:100%;height:100%;display:block}.prog-racers i.me{z-index:1;border-color:var(--orange);width:26px;height:26px;box-shadow:0 0 0 2px #ff6a0059}.badge{z-index:2;color:#fff;min-width:30px;height:30px;font-family:var(--race);background:#e5243b;border:3px solid #fff;border-radius:15px;place-items:center;padding:0 8px;font-size:17px;font-weight:800;line-height:1;animation:.4s cubic-bezier(.2,1.6,.4,1) both badgePop;display:grid;position:absolute;top:8px;right:8px;box-shadow:0 3px 8px #0006}@keyframes badgePop{0%{transform:scale(0)}}.hud-tc{width:min(36vw,300px)}@media (width<=600px){.hud-tc{width:min(40vw,160px)}}#hud:not([data-mode=tt]) #timer,#hud .scorebar{display:none}.photo-btn{justify-content:center;align-items:center;gap:6px;display:inline-flex}.photo-btn svg{fill:currentColor;width:20px;height:20px}#photo{z-index:20;touch-action:none;cursor:grab;position:fixed;inset:0}#photo:active{cursor:grabbing}.ph-back{top:calc(var(--st) + 16px);left:max(16px, var(--sl));position:absolute}.ph-hint{top:calc(var(--st) + 26px);font-family:var(--race);letter-spacing:.08em;white-space:nowrap;color:var(--white);text-shadow:0 2px 6px #0009;pointer-events:none;margin:0;font-size:16px;font-style:italic;font-weight:800;position:absolute;left:50%;translate:-50%}.ph-snap{bottom:calc(var(--sb) + 30px);border:5px solid var(--white);background:#0b133059;border-radius:50%;place-items:center;width:84px;height:84px;padding:0;transition:transform .12s;display:grid;position:absolute;left:50%;translate:-50%;box-shadow:0 4px 14px #00000073}.ph-snap i{background:var(--orange);border-radius:50%;width:62px;height:62px}.ph-snap:active{transform:scale(.92)}.ph-flash{opacity:0;pointer-events:none;background:#fff;position:absolute;inset:0}.ph-flash.go{animation:.45s ease-out phFlash}@keyframes phFlash{0%{opacity:.9}}.ph-print{background:#05091c8c;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:16px;display:flex;position:absolute;inset:0}.ph-holder{aspect-ratio:1200/1600;place-items:center;max-width:86vw;height:min(66svh,640px);display:grid;rotate:-4deg}.ph-holder>*{object-fit:contain;filter:drop-shadow(0 14px 30px #00000080);width:100%;height:100%}.ph-developing{background:#fbf8f1;padding:7% 7% 26%;display:grid}.ph-developing i{background:linear-gradient(110deg,#20283f 30%,#3a4566 50%,#20283f 70%) 0 0/300% 100%;animation:1s linear infinite phDev}@keyframes phDev{to{background-position:-150% 0}}.ph-print .row{width:min(86vw,420px)}.ph-print.in .ph-holder{animation:.7s cubic-bezier(.2,1.3,.4,1) both phDrop}@keyframes phDrop{0%{translate:0 -120vh;rotate:14deg}}:is(#photo:has(.ph-print:not([hidden])) .ph-snap,#photo:has(.ph-print:not([hidden])) .ph-hint){display:none}.power-btn{border-color:var(--orange);flex-direction:column;justify-content:center;align-items:center;width:78px;height:78px;padding:0;overflow:visible}.pw-ring{pointer-events:none;width:calc(100% + 14px);height:calc(100% + 14px);position:absolute;inset:-7px;rotate:-90deg}.pw-ring circle{fill:none;stroke-width:6px}.pw-bg{stroke:#ffffff24}.pw-fg{stroke:var(--orange);stroke-dasharray:0 100;stroke-linecap:round;transition:stroke-dasharray .25s linear}.pw-name{font:italic 800 13px/1 var(--race);letter-spacing:.02em;text-align:center;white-space:nowrap;text-overflow:clip;pointer-events:none;max-width:70px;overflow:hidden}.pw-key{font:800 12px/1.2 var(--race);pointer-events:none;border:1.5px solid #fff9;border-radius:4px;margin-top:4px;padding:1px 7px;display:none}.power-btn:not(.ready){opacity:.7}.power-btn.ready{background:#ff6a0059;border-color:#ffd0a8;animation:1.1s ease-in-out infinite pwPulse;box-shadow:0 0 20px #ff781ecc}@keyframes pwPulse{50%{box-shadow:0 0 34px #ff8c28}}.power-btn.used{opacity:.3;filter:grayscale();animation:none}#hud[data-mode=tt] .power-btn,#hud[data-mode=free] .power-btn,#hud[data-mode=school] .power-btn{display:none!important}@media (pointer:fine){.power-btn{width:92px;height:92px;display:flex;bottom:24px;left:24px}.pw-key{display:block}}@media (pointer:coarse) and (orientation:portrait){#hud .power-btn{right:max(20px, var(--sr));bottom:calc(var(--sb) + 238px);display:flex}}@media (pointer:coarse) and (orientation:landscape){#hud .power-btn{left:50%;bottom:calc(var(--sb) + 16px);width:84px;height:84px;display:flex;translate:-50%}#hud #minimap{display:none}}.car-ribbon{z-index:2;background:var(--orange);max-width:calc(100% - 46px);color:var(--white);font-family:var(--race);letter-spacing:.04em;white-space:nowrap;text-overflow:ellipsis;clip-path:polygon(0 0,100% 0,calc(100% - 9px) 100%,0 100%);pointer-events:none;padding:3px 16px 4px 12px;font-size:14px;font-style:italic;font-weight:800;line-height:1.1;position:absolute;top:10px;left:0;overflow:hidden;box-shadow:0 2px 6px #00000059}.new-tag{color:#1b1300;font-family:var(--race);letter-spacing:.04em;clip-path:polygon(5px 0,100% 0,calc(100% - 5px) 100%,0 100%);vertical-align:middle;background:#ffc400;margin-left:8px;padding:2px 8px;font-size:15px;font-style:italic;font-weight:900;line-height:1.2;display:inline-block}.new-tag[hidden]{display:none}.tile-new{z-index:2;margin:0;padding:3px 10px;font-size:18px;position:absolute;top:10px;right:10px}#modes .q-card .q-new{z-index:4;margin:0;padding:3px 10px;font-size:18px;position:absolute;top:10px;right:10px}
