:root{--app-height:100svh;--header-height:58px}
html,body{overscroll-behavior:none;overflow:hidden;height:100%;width:100%;margin:0}
body{position:fixed;inset:0;height:var(--app-height);-webkit-text-size-adjust:100%}
header{height:var(--header-height);min-height:var(--header-height);box-sizing:border-box;padding-top:env(safe-area-inset-top)}
#game{height:calc(var(--app-height) - var(--header-height));min-height:0;touch-action:none;overscroll-behavior:none;user-select:none;-webkit-user-select:none;overflow:hidden}
#world,#world>canvas{inset:0;width:100%;height:100%;touch-action:none}
button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.modal .sheet,.growth-scroll,.garage-products,.garage-stage{touch-action:pan-y;overscroll-behavior:contain}
.sheet input,.sheet textarea,.sheet select{font-size:16px!important;user-select:text;-webkit-user-select:text}
#toast{max-width:min(600px,calc(100% - 30px));pointer-events:none}
#game-loader{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:#062642;color:#f4f1e9;padding:28px;transition:opacity .32s ease;touch-action:none}
#game-loader.ready{opacity:0;pointer-events:none}.boot-copy{width:min(580px,100%)}.boot-brand{font-size:21px;font-weight:700}.boot-brand b{color:#f27b5f}.boot-copy h1{font-size:clamp(56px,9vw,96px);line-height:.94;letter-spacing:-.035em;margin:42px 0;color:#f4f1e9}.boot-copy p{font-size:16px;min-height:48px;line-height:1.5}.boot-copy small{display:block;color:#acbfcd;font-size:13px;line-height:1.5;margin-top:22px}.boot-meter{display:flex;align-items:center;gap:20px}.boot-meter progress{appearance:none;flex:1;width:100%;height:8px;border:0;border-radius:0;background:#284457}.boot-meter progress::-webkit-progress-bar{background:#284457}.boot-meter progress::-webkit-progress-value{background:#f27b5f}.boot-meter progress::-moz-progress-bar{background:#f27b5f}.boot-meter strong{font-variant-numeric:tabular-nums;font-size:21px;width:58px}.boot-road{height:64px;border-bottom:2px solid #71888f;position:relative;overflow:hidden;margin-bottom:20px}.boot-kart{position:absolute;bottom:8px;left:25%;width:78px;height:30px;border-radius:16px 24px 8px 8px;background:#d97e64;color:#062642;text-align:center;font-size:16px;font-weight:800;animation:boot-rumble .2s ease infinite alternate}.boot-kart:before,.boot-kart:after{content:'';width:19px;height:19px;background:#18252c;border:3px solid #61717a;border-radius:50%;position:absolute;bottom:-9px;left:8px}.boot-kart:after{left:auto;right:8px}.boot-road>i{position:absolute;width:35px;height:3px;background:#71888f;left:100%;bottom:0;animation:road-lines 1.2s linear infinite}.boot-road>i:nth-child(3){animation-delay:.4s}.boot-road>i:nth-child(4){animation-delay:.8s}@keyframes boot-rumble{to{transform:translateY(-2px)}}@keyframes road-lines{to{left:-40px}}
#steering-stick{display:none}
.wallet{text-align:right;flex:none;padding:12px 18px;border:1px solid #8d7952;background:#173a4a;border-radius:10px;min-width:158px}.wallet>span{color:#cfdae1;font-size:12px}.garage-v3 .wallet .nut-balance{justify-content:flex-end;font-size:39px;margin:5px 0}.wallet>small{display:block;font-size:10px;color:#b9cdd6}.part-purchase{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:136px;text-align:center}.part-price{font-size:24px;color:#f5ce87;font-variant-numeric:tabular-nums}.part-price small{font-size:12px}.part-purchase>small{font-size:10px;color:#c1d3dc;line-height:1.4}.part-purchase button{font-size:12px;min-height:46px}.garage-v3 .garage-part{grid-template-columns:75px minmax(0,1fr) 146px;gap:14px}.garage-v3 .garage-part>img{width:75px}.garage-v3 #garage-note{margin:0;padding:0 24px;font-size:14px;color:#bad9c5;flex:none}.garage-v3 #garage-note:not(:empty){padding:10px 24px}.garage-v3 #garage-note.garage-error{background:#59383a;color:#ffe1d5}.just-installed{animation:installed-flash 1.3s ease-out}.just-installed>img{animation:part-installed .6s ease-out}@keyframes installed-flash{from{background:#477d65}to{background:#173b42}}@keyframes part-installed{0%{transform:scale(.76) rotate(-12deg)}70%{transform:scale(1.1) rotate(4deg)}100%{transform:none}}
.race-result .upgrade-v9{border:1px solid #cf8966;background:#143b4c;padding:20px;border-radius:12px;grid-template-columns:84px minmax(0,1fr);margin:20px 0}.upgrade-v9>img{width:84px;animation:part-float 3.5s ease-in-out infinite}.upgrade-v9 .upgrade-kicker{color:#f5c784;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.upgrade-v9 h3{font-size:24px;margin:6px 0;color:#f4f1e9}.upgrade-v9 p{font-size:13px;margin:7px 0 12px}.upgrade-money{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px;margin:12px 0}.upgrade-money strong{font-size:25px!important;color:#f8d496}.upgrade-money span{font-size:12px;color:#d2e0e7}.upgrade-v9 button{width:100%;background:#f27b5f;color:#062642;font-size:16px;font-weight:750;min-height:50px;border:0;border-radius:7px;transition:transform .18s,background .18s}.upgrade-v9 button:hover{background:#ff9a7e;transform:translateY(-2px)}.upgrade-v9 small{display:block;font-size:10px;color:#b5cdd8;margin-top:9px;line-height:1.45}@keyframes part-float{50%{transform:translateY(-6px) rotate(-5deg)}}
.result-checks{gap:10px!important}.result-checks li{align-items:flex-start;padding:8px 0;border-bottom:1px solid #2b4a60}.result-checks .stars-explanation{font-size:19px;font-weight:750;color:#f4f1e9;border:0;padding:0 0 4px}.result-checks strong{display:block;font-size:14px;line-height:1.4}.result-checks small{display:block;font-size:12px;margin-top:3px;color:#b7cbd7;line-height:1.45}.result-checks .ui-star{flex:none;width:27px;height:27px;margin-top:2px}.result-checks .star-missed .ui-star{color:#7f97a7}.result-checks .star-earned strong{color:#f3d093}.run-reward{font-size:18px!important;font-weight:750;color:#f4d298!important}.result-stars .filled{animation:star-arrive .6s cubic-bezier(.2,.9,.4,1.25) both}.result-stars .filled:nth-child(2){animation-delay:.16s}.result-stars .filled:nth-child(3){animation-delay:.32s}@keyframes star-arrive{from{transform:translateY(12px) scale(.4);opacity:0}to{transform:none;opacity:1}}
.modal .race-brief-sheet{width:min(1160px,calc(100vw - 40px));max-height:calc(var(--app-height) - var(--header-height) - 24px);padding:0;text-align:left}.race-brief-sheet .growth-scroll{padding:30px}.race-brief-head .brief-eyebrow{font-size:12px;color:#edb879;letter-spacing:.05em;margin:0 0 8px}.race-brief-head h2{font-size:clamp(25px,3vw,36px);margin:0 0 10px;line-height:1.1}.race-brief-head>p{font-size:14px;color:#c3d2dc}.race-lesson{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin:22px 0}.lesson h3{font-size:19px;line-height:1.25;margin:15px 0 8px}.lesson h3 span{display:inline-block;color:#f27b5f;margin-right:5px}.lesson p{font-size:13px;line-height:1.55;color:#bccfda}.lesson strong{color:#f4f1e9}.lesson kbd{background:#35546a;padding:2px 5px;border-radius:3px;color:#fff}.lesson-scene{position:relative;height:145px;background:#173a4a;overflow:hidden;border-radius:10px}.lesson-scene img{position:absolute;object-fit:contain}.lesson-scene b{position:absolute;bottom:9px;left:0;right:0;text-align:center;color:#f3d598;font-size:12px}.collect-demo .demo-kart{width:190px;left:-28px;top:3px;animation:demo-drive 3.3s ease-in-out infinite}.collect-demo .demo-cash{width:93px;height:90px;right:8px;top:20px;animation:demo-collect 3.3s ease-in-out infinite}.collect-demo b{animation:demo-earned 3.3s linear infinite}.throw-demo .demo-rival{width:163px;height:120px;right:3px;top:0}.throw-demo .demo-cash{width:60px;height:55px;left:2px;top:58px;animation:demo-throw 3.3s ease-in-out infinite}.demo-target{position:absolute;right:39px;top:19px;border:2px solid #f1cf7c;width:62px;height:72px;animation:target-lock 3.3s linear infinite}.finish-demo>img{width:125px;height:112px;left:calc(50% - 62px);top:0;animation:part-float 3.5s ease-in-out infinite}.demo-finish{position:absolute;width:100%;height:16px;background:repeating-conic-gradient(#eee7d6 0 25%,#153a4d 0 50%) 0/20px 20px;bottom:37px}.brief-stars{padding:16px 20px;background:#183c4d;border:1px solid #7d7967}.brief-stars h3{font-size:18px;margin:0 0 8px}.brief-stars p{font-size:13px;line-height:1.7;margin:0}.brief-stars b{color:#f5cc86;font-size:19px;margin-left:16px}.brief-stars b:first-child{margin-left:0}.brief-stars small{font-size:12px;display:block;color:#baceda;margin-top:7px}.brief-driving{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#bdd0dc;margin:20px 0}.brief-go{width:100%;font-size:17px;min-height:52px}.race-brief-sheet #close-growth{font-size:12px}.quality-live{font-size:12px!important}.quality-live.earned{animation:installed-flash 1s ease-out}
@keyframes demo-drive{0%,15%{transform:translateX(-20px)}55%,100%{transform:translateX(80px)}}@keyframes demo-collect{0%,37%{opacity:1;transform:none}55%,100%{opacity:0;transform:translate(-70px,-25px) scale(.6)}}@keyframes demo-earned{0%,40%{opacity:.3}55%,100%{opacity:1}}@keyframes demo-throw{0%,10%{transform:none;opacity:1}55%{transform:translate(125px,-37px) rotate(22deg);opacity:1}65%,100%{transform:translate(130px,-15px);opacity:0}}@keyframes target-lock{0%,45%{opacity:.5}50%,100%{opacity:1;background:#f7c25a15}}
@media(max-width:760px){:root{--header-height:48px}header{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.garage-v3 .garage-heading{padding:14px 16px;gap:8px}.garage-v3 .garage-heading h2{font-size:27px}.garage-v3 .garage-heading p{font-size:10px;max-width:150px}.wallet{padding:8px 10px;min-width:112px}.garage-v3 .wallet .nut-balance{font-size:31px}.wallet>small{font-size:9px}.garage-v3 .garage-part{grid-template-columns:62px minmax(0,1fr);gap:10px}.garage-v3 .garage-part>img{width:62px}.garage-part .part-purchase{grid-column:2;min-width:0;align-items:flex-start;text-align:left}.part-purchase button{width:100%}.part-price{font-size:25px}.part-purchase>small{font-size:11px}.modal .garage-v3,.modal .race-result,.story-mode .story-v3{max-height:calc(var(--app-height) - var(--header-height) - 20px)}.modal .garage-v3{height:calc(var(--app-height) - var(--header-height) - 20px)}.race-brief-sheet .growth-scroll{padding:20px}.race-lesson{grid-template-columns:1fr;gap:14px;margin:16px 0}.lesson{display:grid;grid-template-columns:100px 1fr;gap:0 14px}.lesson-scene{grid-row:1/3;height:110px}.lesson h3{font-size:17px;margin:5px 0}.lesson p{font-size:12px;margin:0}.lesson-scene .demo-kart,.throw-demo .demo-rival{width:120px;left:-17px;top:9px}.collect-demo .demo-cash{width:43px;height:50px;right:-2px;top:29px}.throw-demo .demo-cash{width:38px;height:40px;left:-15px;top:28px}.lesson-scene b{font-size:9px;bottom:8px}.demo-target{width:32px;height:46px;right:25px;top:27px}.finish-demo>img{width:80px;height:72px;left:10px;top:6px}.brief-stars{padding:12px}.brief-stars b{margin-left:6px}.brief-driving{gap:6px;margin:13px 0;font-size:10px}.race-result .upgrade-v9{grid-template-columns:58px minmax(0,1fr);padding:15px;gap:12px}.upgrade-v9>img{width:58px}.upgrade-v9 h3{font-size:22px}.result-checks small{font-size:12px}.boot-copy h1{margin:32px 0}.boot-copy p{font-size:14px}}
@media(pointer:coarse),(max-width:950px){#steering-stick{display:block;position:relative;width:154px;height:96px;touch-action:none;outline-offset:4px;flex:none;border:1px solid #acc0cb70;background:#062642b8;border-radius:50px;margin:0 0 4px}#steering-stick .stick-track{position:absolute;inset:0 13px 19px;display:flex;align-items:center;justify-content:space-between;font-size:36px;color:#a8c1cd}.stick-track i{position:absolute;left:17px;right:17px;height:2px;background:#acc0cb55}.stick-knob{position:absolute;width:56px;height:56px;left:calc(50% - 28px);top:10px;border-radius:50%;border:3px solid #f6a68c;background:#cb745c;transform:translateX(calc(var(--steer,0) * 50px));box-shadow:0 4px 7px #142a3480;transition:transform .12s ease-out}.held .stick-knob{transition:none;background:#f29474}.stick-label{position:absolute;bottom:7px;left:0;right:0;text-align:center;font-size:10px;color:#d6e3e8}#controls #left,#controls #right{display:none}#controls{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}.steering{flex-direction:column!important;align-items:flex-start;gap:4px!important}.steering #drift{min-height:34px;height:34px;width:105px;font-size:11px}.steering #drift span{display:none}.action-controls{gap:7px!important;align-items:flex-end}#throw{min-height:68px;min-width:100px;font-size:17px!important}#nitro{min-height:62px;min-width:74px}#brake{display:none}.keyboard-note{display:none!important}.trick-controls{bottom:calc(151px + env(safe-area-inset-bottom))!important;right:max(12px,env(safe-area-inset-right))!important}.trick-controls button{min-height:38px;font-size:10px!important;padding:7px 10px}.race-tools{bottom:calc(171px + env(safe-area-inset-bottom))!important}.race-tools #map{display:none}.quality-live{font-size:10px!important}.quality-hud{gap:3px!important}.hud .mission{max-width:calc(100vw - 104px)}#radio{display:none!important}#toast{bottom:calc(205px + env(safe-area-inset-bottom))!important;font-size:12px}.hud .health{display:none}}
@media(max-height:520px) and (min-width:600px){:root{--header-height:40px}.race-brief-sheet .growth-scroll{padding:18px}.race-lesson{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:10px 0}.lesson{display:block}.lesson-scene{height:86px}.lesson h3{font-size:15px;margin:8px 0 5px}.lesson p{font-size:11px}.brief-stars{padding:10px 14px}.brief-driving{margin:10px 0}.brief-go{min-height:46px;font-size:15px}.race-brief-head h2{font-size:25px}.race-brief-head>p{font-size:12px;margin:7px 0}.brief-stars small{font-size:11px}.wallet{padding:5px 12px}.wallet>small{display:none}.wallet>span{font-size:10px}.garage-v3 .wallet .nut-balance{font-size:27px;margin:3px 0}.garage-v3 .garage-heading{padding:8px 16px}.garage-v3 .garage-part{grid-template-columns:52px minmax(0,1fr) 114px;gap:9px}.garage-part .part-purchase{grid-column:auto}.part-price{font-size:20px}.part-purchase button{min-height:44px;font-size:10px}.part-purchase>small{font-size:9px}.race-result .upgrade-v9{padding:12px;gap:10px}.upgrade-v9 h3{font-size:21px}.result-checks strong{font-size:12px}.result-checks small{font-size:11px}.result-checks .stars-explanation{font-size:16px}.result-checks li{padding:5px 0}#steering-stick{width:140px;height:80px}.stick-knob{width:50px;height:50px;left:calc(50% - 25px);top:6px}#controls{bottom:max(8px,env(safe-area-inset-bottom))}#controls .steering #drift{display:none}.trick-controls{bottom:102px!important}.race-tools{bottom:100px!important}#toast{bottom:109px!important;max-width:38vw;left:50%;font-size:11px}.hud .mission{max-width:430px}.hud{top:7px}.quality-hud{display:flex;gap:9px!important}.quality-live{max-width:140px}.build-preview{display:none}.boot-copy h1{font-size:50px;margin:18px 0}.boot-road{height:44px;margin:0}.boot-copy p{min-height:24px;margin:12px 0}.boot-copy small{margin-top:10px}.boot-brand{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

@media(max-width:359px){#steering-stick{width:128px;height:86px}#throw{min-width:88px;font-size:15px!important}#nitro{min-width:62px}.action-controls{gap:5px!important}.wallet{min-width:100px}.garage-v3 .garage-heading h2{font-size:24px}.garage-v3 .wallet .nut-balance{font-size:28px}.lesson{grid-template-columns:84px 1fr;gap:0 10px}.race-brief-sheet .growth-scroll{padding:16px}.race-brief-head h2{font-size:24px}}

.brief-star{width:20px;height:20px;fill:#f5cc86;vertical-align:-4px;margin:0 3px 0 13px}.brief-star:first-child{margin-left:0}.part-price:has(+button[disabled]){font-size:20px}

.race-brief-sheet{display:flex;flex-direction:column;overflow:hidden!important}.race-brief-sheet .growth-scroll{min-height:0;overflow:auto;overscroll-behavior:contain}.race-brief-sheet #close-growth{flex:none;margin:0;min-height:44px;border-top:1px solid #33546b;border-radius:0}.race-brief-sheet .brief-go{flex:none;width:auto;margin:12px 20px}.race-brief-sheet .growth-scroll{padding-bottom:10px}
@media(pointer:coarse),(max-width:950px){#controls .steering #drift{position:absolute;bottom:107px;left:0;min-height:38px}}

@media(pointer:coarse),(max-width:950px){#toast{top:170px;bottom:auto!important}}
@media(max-height:520px) and (min-width:600px){#toast{top:12px;left:calc(50% + 65px);max-width:28vw;bottom:auto!important;transform:translateX(-30%)}}

.menu-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 8px}.sheet .game-shortcut{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;min-width:0;min-height:126px;padding:14px 12px;background:#153d52;border:1px solid #638595;border-radius:12px;text-align:left;color:#f4f1e9;cursor:pointer;text-decoration:none;transition:transform .18s ease,background .18s ease}.sheet .garage-shortcut{border-color:#e99572;background:#244858}.game-shortcut>svg{width:40px;height:40px;color:#f3b091;animation:badge-idle 4.6s ease-in-out infinite}.house-shortcut>svg{color:#acd7c9;animation-delay:1.5s}.game-shortcut strong{display:block;font-size:17px;line-height:1.15}.game-shortcut span small{display:block;font-size:11px;line-height:1.3;margin-top:5px;color:#c4d7de}.game-shortcut>b{grid-column:1/-1;display:flex;align-items:center;gap:6px;border-top:1px solid #68859055;padding-top:8px;font-size:23px;color:#f5d28d;line-height:1}.game-shortcut>b>small{font-size:12px;white-space:nowrap;font-weight:500}.game-shortcut>b>svg{width:23px;height:23px;fill:#f5d28d}.sheet .game-shortcut:hover{background:#315b6a;transform:translateY(-3px)}.sheet .game-shortcut:active{transform:translateY(1px) scale(.98)}.game-shortcut:focus-visible{outline:3px solid #f7d294;outline-offset:3px}.badge-tool{transform-origin:30px 12px;animation:tool-idle 4.6s ease-in-out infinite}.guide-shortcut{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:44px;border:0;border-radius:7px;background:#183b50;color:#d5e7ee;font-size:12px}.guide-shortcut svg{width:25px;height:25px}.menu-extra-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px}.menu-extra-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:76px;border:1px solid #53748a;border-radius:10px;background:#14374d;color:#d3e2e9;font-size:11px;padding:9px 5px;cursor:pointer;transition:background .18s,transform .18s}.menu-extra-actions button svg{width:26px;height:26px;transition:transform .2s}.menu-extra-actions button:hover{background:#30586b}.menu-extra-actions button:hover svg,.guide-shortcut:hover svg{transform:rotate(-8deg) scale(1.08)}.menu-extra-actions button:active{transform:scale(.97)}.menu-extra-actions .text-action{grid-column:1/-1;min-height:43px;font-size:13px;color:#f2cf99;text-decoration:none}.menu-shortcuts~.settings{margin-top:11px}@keyframes badge-idle{0%,70%,100%{transform:translateY(0)}78%{transform:translateY(-3px)}86%{transform:translateY(1px)}}@keyframes tool-idle{0%,72%,100%{transform:rotate(0)}82%{transform:rotate(-12deg)}}
@media(max-width:760px){.sheet .game-shortcut{min-height:108px;gap:7px;padding:11px 9px;grid-template-columns:32px 1fr}.game-shortcut>svg{width:32px;height:32px}.game-shortcut strong{font-size:15px}.game-shortcut span small{font-size:10px}.game-shortcut>b{font-size:21px}.game-shortcut>b>small{font-size:10px}.menu-extra-actions{gap:6px}.menu-extra-actions button{min-height:67px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.game-shortcut>svg,.badge-tool{animation:none}}

.brief-star-list{list-style:none;display:grid;gap:9px;margin:12px 0;padding:0;font-size:13px;line-height:1.5}.brief-star-list li{display:flex;align-items:flex-start;gap:9px}.brief-star-list .brief-star{flex:none;margin:0;width:21px;height:21px}.brief-star-list span{min-width:0}.part-price{display:block}.garage-v3 .part-price small{display:inline;font-size:12px;margin-left:4px}.garage-v3 .garage-part:has(button[disabled]) .part-price{font-size:18px}
@media(max-width:760px) and (min-height:521px){.garage-v3 .garage-heading{position:sticky;top:0;z-index:5;background:#0a2a40;padding:8px 14px}.garage-v3 .garage-heading h2{font-size:25px;margin:0}.garage-v3 .garage-heading p,.garage-v3 .wallet>small{display:none}.garage-v3 .wallet{padding:5px 10px;min-width:105px}.garage-v3 .wallet .nut-balance{font-size:29px;margin:0}.garage-v3 .garage-tabs{top:77px}.brief-star-list{font-size:12px;gap:8px}}

.result-scroll{display:contents}.result-footer{display:none}
@media(max-width:950px){
 #overlay.modal .race-result-shell{display:flex;flex-direction:column;gap:0;padding:0;width:950px;height:min(780px,calc(var(--app-height) - var(--header-height) - 24px));max-height:calc(var(--app-height) - var(--header-height) - 24px);overflow:hidden}
 .race-result-shell .result-scroll{display:block;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px}
 .race-result-shell .result-footer{display:grid;flex:none;grid-template-columns:1fr 1fr;gap:10px;padding:12px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #547184;background:#0c2e45}
 .result-footer button{min-width:0;min-height:58px;margin:0;border-radius:9px;padding:10px 8px;font-size:14px}
 .result-footer .result-garage{border:1px solid #e99572;background:#204a5b;color:#f4f1e9}
 .result-footer strong{display:block;font-size:14px}.result-footer small{font-size:10px;margin:3px 0 0;color:#f2d49c}
 .race-result-shell .result-overview h2{font-size:25px;margin-bottom:7px}.race-result-shell .reward-image{height:170px;margin:8px 0}.race-result-shell .quality-caption{font-size:12px;margin:8px 0}
 .race-result-shell .result-detail{margin-top:14px}.race-result-shell .upgrade-v9{margin:12px 0 18px}.race-result-shell .upgrade-v9 h3{font-size:23px}
}
@media(max-width:950px) and (max-height:520px){
 .race-result .result-scroll{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:14px 18px}.race-result-shell .result-detail{margin:0}.race-result-shell .reward-image{height:150px}
 .race-result-shell .result-footer{padding:8px 16px max(8px,env(safe-area-inset-bottom))}.result-footer button{min-height:48px}.race-result-shell .result-overview h2{font-size:23px}
}

#game .duel-sheet blockquote{display:block;font-size:14px;line-height:1.5;margin:14px 0;color:#f2d398}#game .duel-sheet .rival-bio{font-size:13px;line-height:1.5}@media(max-width:760px){#game .duel-sheet blockquote{font-size:12px;margin:10px 0}#game .duel-sheet .rival-bio{font-size:12px}}

#toast.race-quip{border-radius:16px;padding:13px 18px;max-width:min(430px,88vw);text-align:center;background:#062642f2}#toast.race-quip strong{display:block;font-size:15px;line-height:1.35;font-weight:700}#toast.race-quip span{display:block;font-size:11px;line-height:1.4;margin-top:5px;color:#d2e3e8}#toast.race-quip.success strong{color:#bddfc5}#toast.race-quip.rival strong{color:#ffbc91}@media(max-width:950px){#toast.race-quip{padding:10px 13px;max-width:85vw}#toast.race-quip strong{font-size:13px}#toast.race-quip span{font-size:10px}}@media(max-height:520px) and (min-width:600px){#toast.race-quip{top:12px;max-width:30vw}#toast.race-quip strong{font-size:12px}}
body:has(.finish-sheet) header nav a[href^="foundation"]{display:none}
