.touch-controls{z-index:35;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;position:absolute;inset:0}.touch-gameplay .game-shell canvas{touch-action:none}.touch-stick,.touch-action{touch-action:none;pointer-events:auto;-webkit-tap-highlight-color:transparent}.touch-stick{left:max(16px,env(safe-area-inset-left));bottom:calc(14px + env(safe-area-inset-bottom));background:#17224a52;border:2px solid #ffffffb3;border-radius:50%;width:118px;height:118px;position:absolute;box-shadow:0 3px 12px #10193730}.touch-stick-ring{border:1px solid #fff7;border-radius:50%;position:absolute;inset:16%}.touch-stick-knob{pointer-events:none;background:#faf7efdc;border:2px solid #fff;border-radius:50%;width:46px;height:46px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 3px #17224a45}.touch-stick-label{text-align:center;letter-spacing:.1em;color:#fff;pointer-events:none;font:800 9px sans-serif;position:absolute;bottom:9px;left:0;right:0}.touch-actions{right:max(16px,env(safe-area-inset-right));bottom:calc(14px + env(safe-area-inset-bottom));align-items:flex-end;gap:12px;display:flex;position:absolute}.touch-action{color:#17224a;cursor:pointer;background:#f9f6efed;border:2px solid #fff;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:64px;min-width:64px;height:64px;min-height:64px;padding:0;display:flex;box-shadow:0 3px #17224a55}.touch-action>span:first-child{font-size:27px;line-height:1}.touch-action-label{font:800 10px/1.1 sans-serif}.touch-action-jump{background:#ffd356f2}.touch-action-dive{background:#83ddedea}.touch-action[data-pressed=true]{color:#17224a;background:#fff;box-shadow:0 1px #17224a55}.touch-stick[data-pressed=true]{border-color:#ffd356}.touch-action:disabled{opacity:.5;cursor:default}.touch-controls[data-enabled=false] .touch-stick{opacity:.5}.touch-utilities{right:max(16px,env(safe-area-inset-right));bottom:calc(88px + env(safe-area-inset-bottom));gap:12px;display:flex;position:absolute}.touch-utilities .touch-action{color:#fff;background:#17224ad9;border:1px solid #fff9;border-radius:12px;gap:1px;width:64px;min-width:64px;height:44px;min-height:44px}.touch-utilities .touch-action>span:first-child{font-size:18px}.touch-utilities .touch-action-label{font-size:9px}.touch-countdown-hint{bottom:calc(18px + env(safe-area-inset-bottom));text-align:center;color:#fff;text-shadow:0 1px 3px #17224a;max-width:100px;font:700 10px sans-serif;position:absolute;left:50%;transform:translate(-50%)}@media (orientation:landscape) and (height<=500px){.touch-stick{width:76px;height:76px;left:max(14px,env(safe-area-inset-left));bottom:calc(10px + env(safe-area-inset-bottom))}.touch-stick-knob{width:34px;height:34px}.touch-stick-label{font-size:8px;bottom:5px}.touch-actions{bottom:calc(10px + env(safe-area-inset-bottom));right:max(14px,env(safe-area-inset-right));gap:10px}.touch-action{width:52px;min-width:52px;height:52px;min-height:52px}.touch-action>span:first-child{font-size:21px}.touch-action-label{font-size:9px}.touch-utilities{bottom:calc(10px + env(safe-area-inset-bottom));gap:10px;left:50%;right:auto;transform:translate(-50%)}.touch-utilities .touch-action{width:64px}.touch-countdown-hint{bottom:calc(62px + env(safe-area-inset-bottom));max-width:180px}}.online-ui{color:#17224a}.online-dev-panel{z-index:30;color:#eaf0ff;pointer-events:auto;background:#15213bec;border:1px solid #7586ac;border-radius:12px;width:330px;max-width:calc(100% - 36px);padding:16px;font:11px ui-monospace,monospace;position:absolute;bottom:18px;right:18px}.online-dev-panel>strong{font-size:11px}.online-dev-panel>p{color:#a4b6d2;font-size:9px}.online-dev-panel>button{float:right;color:#eaf0ff;background:0 0;border:0;padding:0 4px;font-size:20px}.online-dev-panel dl{margin:0}.online-dev-panel dl>div{justify-content:space-between;gap:8px;margin-top:8px;display:flex}.online-dev-panel dd{white-space:nowrap;color:#ffe477;margin:0}.homepage-screen .mode-selector .friends-mode-button{color:#5c4c22;background:#fff3c5;flex:.72;padding-inline:9px}.homepage-screen .mode-selector:has(.friends-mode-button) button{gap:7px;padding-inline:9px}.homepage-screen .mode-selector:has(.friends-mode-button) button span{font-size:12px}.homepage-screen .mode-selector:has(.friends-mode-button) small{font-size:9px}@media (width<=820px){.homepage-screen .mode-selector:has(.friends-mode-button) button{gap:5px;padding-inline:7px}.homepage-screen .mode-selector:has(.friends-mode-button) button span{font-size:10px}.homepage-screen .mode-selector:has(.friends-mode-button) small{font-size:8px}}.online-ui button,.online-ui input{font:inherit}.online-ui button:disabled{opacity:.48;cursor:default;transform:none}.online-header{justify-content:space-between;align-items:center;gap:20px;display:flex;position:absolute;top:25px;left:4.7%;right:4.7%}.online-brand{align-items:center;gap:13px;display:flex}.online-brand>div{flex-direction:column;gap:5px;display:flex}.online-brand strong{font-size:13px}.online-brand>div>span{letter-spacing:.1em;font-size:8px;font-weight:800}.online-header-actions{align-items:center;gap:14px;display:flex}.online-small-button{background:#f9f8ffed;border:1px solid #17224a30;border-radius:10px;min-height:38px;padding:8px 13px;font-size:11px!important;font-weight:800!important}.online-connection{background:#f9f8ffb8;border-radius:20px;align-items:center;gap:7px;padding:9px 12px;font-size:10px;font-weight:700;display:flex}.online-connection i{background:#72819b;border-radius:50%;width:6px;height:6px}.connection-connected i{background:#169c84}.connection-reconnecting i{background:#ef9231}.online-panel{pointer-events:auto;background:#faf9fff5;border:1.5px solid #17224a;border-radius:22px;padding:26px;box-shadow:5px 6px #17224a18}.online-panel h1,.online-panel h2{letter-spacing:-.025em;margin:0 0 16px;font-family:Impact,Arial Black,Arial,sans-serif;font-weight:900;line-height:1}.online-panel h1{font-size:40px}.online-panel h2{font-size:32px}.online-panel>p{font-size:12px;line-height:1.6}.online-panel .eyebrow{font-size:9px}.online-entry{width:min(480px,90.6%);position:absolute;top:110px;left:4.7%}.online-field{flex-direction:column;gap:8px;margin-top:18px;font-size:11px;font-weight:800;display:flex}.online-field input{background:#fff;border:1px solid #bdcbe1;border-radius:9px;width:100%;min-height:43px;padding:10px 12px;font-size:13px}.online-field input::placeholder{color:#718099;letter-spacing:.06em;font-size:9px}.online-profile-hint,.online-entry-note{color:#62718b;font-size:10px!important}.online-create{justify-content:space-between;width:100%;margin-top:10px}.online-join{align-items:flex-end;gap:12px;margin-top:2px;display:flex}.online-join .online-field{flex:1;min-width:0}.online-join .button{min-height:43px;padding:10px 14px;font-size:11px}.online-entry-note{margin-top:20px}.online-error{color:#8d382d;background:#fff0e7;border:1px solid #edbeae;border-radius:9px;padding:11px;font-size:11px;line-height:1.5}.online-inline-status{color:#4b62ad;font-size:11px}.online-lobby{pointer-events:auto;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;max-width:1030px;padding:0 7px 7px 0;display:grid;position:absolute;inset:108px 4.7% 28px;overflow-y:auto}.online-party-panel,.online-lobby-settings{align-self:start}.online-room-code{background:#eaf0ff;border:1px solid #cbd6ee;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;padding:14px 16px;display:flex}.online-room-code>div{min-width:0}.online-room-code label{letter-spacing:.1em;font-size:9px;font-weight:800;display:block}.online-room-code input{color:#3151c6;letter-spacing:.13em;background:0 0;border:0;width:100%;padding:4px 0 0;font-size:26px;font-weight:900;display:block}.online-lobby-rule{color:#64718b;font-size:10px!important}.online-roster{max-height:290px;margin:16px 0;padding:0;list-style:none;overflow-y:auto}.online-roster li{border-bottom:1px solid #e2e7ef;align-items:center;gap:11px;padding:11px 0;display:flex}.online-roster li>i{border:1px solid #17224a44;border-radius:9px;flex-shrink:0;width:21px;height:27px}.online-roster li>div{flex:1;min-width:0}.online-roster strong{overflow-wrap:anywhere;font-size:12px}.online-roster strong small{color:#3151c6;margin-left:4px;font-size:8px}.online-roster div>span{color:#65738d;margin-top:4px;font-size:9px;display:block}.ready-badge,.waiting-badge{flex-shrink:0;font-size:8px;font-weight:800}.ready-badge{color:#188f78}.waiting-badge{color:#79859b}.online-bot-fill{color:#5d6c86;background:#eff2f8;border-radius:10px;gap:10px;padding:12px;display:flex}.online-bot-fill>span{color:#4164f5;font-size:26px}.online-bot-fill strong{font-size:11px}.online-bot-fill p{margin:5px 0 0;font-size:9px}.online-ready-actions{gap:10px;margin-top:21px;display:flex}.online-ready-actions .button{flex:1;min-width:0;min-height:48px;padding:12px 14px;font-size:11px}.online-start-reason{color:#64718b;margin-bottom:0;font-size:10px!important}.online-choice{margin-top:24px}.online-choice>span{letter-spacing:.08em;font-size:9px;font-weight:800}.online-choice>div{gap:7px;margin:10px 0;display:flex}.online-choice button{background:#fff;border:1px solid #c4d0e3;border-radius:9px;flex:1;min-height:40px;font-size:11px;font-weight:700}.online-choice button.selected{color:#3151c6;background:#eaf0ff;border-color:#4164f5;box-shadow:inset 0 -2px #4164f5}.online-choice button.selected:disabled{opacity:1}.online-choice small{color:#64718b;font-size:10px;line-height:1.5;display:block}.online-course-list{border-top:1px solid #dce3ef;margin:25px 0 0;padding:17px 0 0;list-style:none}.online-course-list li{align-items:center;gap:10px;padding:8px 0;display:flex}.online-course-list span{color:#4164f5;font-size:10px;font-weight:900}.online-course-list strong{font-size:11px}.online-course-list small{color:#73829a;margin-left:auto;font-size:8px}.online-leave{color:#5c6c86;background:0 0;border:0;min-height:35px;padding:8px 0;text-decoration:underline;font-size:11px!important}.online-race-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex;position:absolute;top:90px;left:26px;right:26px}.online-race-top>div:first-child{background:#f9f8ffdf;border-radius:12px;padding:10px 14px}.online-race-top>div:first-child>span{color:#61718b;letter-spacing:.06em;font-size:8px;font-weight:800;display:block}.online-race-top>div:first-child>strong{margin-top:4px;font-size:15px;display:block}.online-race-clock{text-align:center;background:#f9f8ffdf;border-radius:12px;margin-left:auto;padding:8px 17px}.online-race-clock span{color:#61718b;font-size:8px;font-weight:800;display:block}.online-race-clock strong{font-variant-numeric:tabular-nums;font-size:29px;font-weight:900}.online-race-bottom{align-items:center;gap:12px;display:flex;position:absolute;bottom:26px;left:26px}.online-race-bottom>div{background:#f9f8ffdf;border-radius:12px;padding:11px 17px}.online-race-bottom>div>span{font-size:8px;font-weight:800;display:block}.online-race-bottom strong{font-size:28px;font-weight:900;display:block}.online-race-bottom small{color:#64718b;font-size:12px}.online-race-bottom p{color:#405577;padding:8px;font-size:10px;line-height:2}.online-loading{max-width:365px;position:absolute;bottom:45px;left:4.7%}.online-loading small{color:#62718b;font-size:10px;line-height:1.5}.online-spectator{background:#f9f8ffef;border:1px solid #d4deea;border-radius:14px;align-items:center;gap:9px;padding:12px 15px;display:flex;position:absolute;bottom:26px;left:26px}.online-spectator>div{min-width:140px}.online-spectator span{color:#61718b;font-size:8px;font-weight:800;display:block}.online-spectator strong{margin-top:4px;font-size:13px;display:block}.online-spectator>button:not(.online-leave){background:#fff;border:1px solid #c8d2e5;border-radius:50%;width:36px;height:36px}.online-spectator .online-leave{margin-left:10px}.online-results{width:min(520px,90.6%);position:absolute;top:110px;bottom:30px;left:4.7%;overflow-y:auto}.online-results h1{font-size:40px}.online-winner{background:#fff3c5;border-radius:10px;margin:16px 0;padding:14px}.online-winner strong{font-size:22px;display:block}.online-winner span{margin-top:6px;font-size:11px;display:block}.online-standings{max-height:330px;margin:20px 0;padding:0;list-style:none;overflow-y:auto}.online-standings li{border-bottom:1px solid #dce3ee;align-items:center;gap:13px;min-height:43px;padding:8px;display:flex}.online-standings .is-you{background:#e9efff;border-radius:8px}.online-standings li>strong{min-width:20px;font-size:15px}.online-standings li>span{overflow-wrap:anywhere;flex:1;font-size:12px;font-weight:700}.online-standings li>span>small{color:#3151c6;padding-left:7px;font-size:8px}.online-standings li>div{text-align:right}.online-standings li>div strong{font-size:10px}.online-standings li>div small{color:#728099;margin-top:3px;font-size:7px;display:block}.online-result-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.online-result-actions .button{min-height:46px;padding:12px 16px;font-size:11px}.online-result-actions p{color:#62718b;font-size:11px}.online-result-policy{color:#76839b;line-height:1.5;font-size:9px!important}.online-reconnect{pointer-events:auto;background:#fff5d8f5;border:1px solid #dec689;border-radius:15px;flex-direction:column;gap:11px;width:min(390px,90%);padding:20px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.online-reconnect strong{font-size:18px}.online-reconnect span{font-size:12px;line-height:1.6}.online-failure{width:min(450px,90%);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.online-room-error{pointer-events:auto;max-width:350px;position:absolute;bottom:26px;right:26px}.online-menu-backdrop{pointer-events:auto}.online-menu-backdrop .pause-card h2{font-size:40px}@media (width<=900px){.online-lobby{gap:16px;left:24px;right:24px}.online-panel{padding:20px}.online-panel h1{font-size:33px}.online-party-panel h1{font-size:30px}.online-roster{max-height:185px}.online-ready-actions{flex-wrap:wrap}.online-ready-actions .button{flex-basis:100%}.online-connection{font-size:9px}.online-brand strong{font-size:11px}}@media (height<=650px){.online-header{top:17px}.online-entry{top:82px;bottom:22px;overflow-y:auto}.online-entry h1{font-size:30px}.online-entry .online-field{margin-top:12px}.online-lobby,.online-results{top:84px;bottom:18px}.online-loading{bottom:24px}.online-lobby-settings .online-choice{margin-top:16px}.online-lobby-settings .online-course-list{margin-top:15px}.online-race-top{top:77px}}@media (width<=620px){.online-header{gap:10px;left:18px;right:18px}.online-brand>div{display:none}.online-header-actions{gap:7px}.online-connection{padding:8px;font-size:8px}.online-small-button{padding:8px 10px;font-size:10px!important}.online-entry{width:calc(100% - 36px);top:88px;bottom:18px;left:18px;overflow-y:auto}.online-entry h1{font-size:35px}.online-join{flex-direction:column;align-items:stretch}.online-lobby{flex-direction:column;padding:0 4px 7px 0;display:flex;inset:88px 18px 18px}.online-party-panel,.online-lobby-settings{width:100%}.online-ready-actions{flex-wrap:nowrap}.online-ready-actions .button{flex-basis:auto;font-size:10px}.online-room-code input{font-size:23px}.online-results{width:calc(100% - 36px);top:88px;bottom:18px;left:18px}.online-race-top{top:83px;left:15px;right:15px}.online-race-top>div:first-child>strong{font-size:12px}.online-race-clock strong{font-size:23px}.online-race-top>.online-small-button{display:none}.online-race-bottom{gap:7px;bottom:15px;left:15px}.online-race-bottom>div{padding:9px 12px}.online-race-bottom p{display:none}.online-loading{max-width:none;bottom:25px;left:18px;right:18px}.online-spectator{gap:5px;padding:10px;bottom:15px;left:15px;right:15px}.online-spectator>div{flex:1;min-width:0}.online-spectator .online-leave{margin-left:4px;font-size:9px!important}.online-room-error{max-width:none;bottom:15px;left:18px;right:18px}}.online-ui.touch-ui .online-small-button,.online-ui.touch-ui .online-choice button,.online-ui.touch-ui .online-leave{min-width:44px;min-height:44px}.online-ui.touch-ui .online-join .button{min-height:44px}.online-ui.touch-ui .online-field input{min-height:44px;font-size:16px}.online-ui.touch-ui .online-room-code input{min-height:44px}.online-ui.touch-ui .online-lobby,.online-ui.touch-ui .online-entry,.online-ui.touch-ui .online-results{overscroll-behavior:contain;touch-action:pan-y pinch-zoom;scroll-padding-block:16px}.online-ui.touch-ui .online-panel{overflow-wrap:anywhere}.online-ui.touch-ui .online-spectator>button:not(.online-leave){flex-shrink:0;width:44px;height:44px}.online-ui.touch-ui .online-result-actions .button,.online-ui.touch-ui .online-ready-actions .button{white-space:normal;min-height:48px;font-size:12px}.online-ui.touch-ui .online-choice button{font-size:12px}.online-ui.touch-ui .online-menu-backdrop .pause-card h2{font-size:34px}@media (width<=620px){.online-ui.touch-ui .online-header{top:calc(var(--safe-top) + 12px);left:calc(var(--safe-left) + 12px);right:calc(var(--safe-right) + 12px);gap:8px}.online-ui.touch-ui .online-header-actions{gap:8px}.online-ui.touch-ui .online-small-button{padding:9px 11px;font-size:11px!important}.online-ui.touch-ui .online-connection{padding:8px 10px;font-size:10px}.online-ui.touch-ui .online-entry{top:calc(var(--safe-top) + 80px);bottom:calc(var(--safe-bottom) + 12px);left:calc(var(--safe-left) + 12px);width:calc(100% - var(--safe-left) - var(--safe-right) - 24px);overflow-y:auto}.online-ui.touch-ui .online-panel{border-radius:18px;padding:20px}.online-ui.touch-ui .online-entry h1{font-size:36px}.online-ui.touch-ui .online-panel>p,.online-ui.touch-ui .online-field{font-size:12px}.online-ui.touch-ui .online-join .button{min-height:46px;font-size:12px}.online-ui.touch-ui .online-lobby{top:calc(var(--safe-top) + 80px);bottom:calc(var(--safe-bottom) + 12px);left:calc(var(--safe-left) + 12px);right:calc(var(--safe-right) + 12px);flex-direction:column;gap:16px;padding:0 0 6px;display:flex}.online-ui.touch-ui .online-lobby>section{flex-shrink:0;width:100%}.online-ui.touch-ui .online-room-code{gap:10px;padding:12px}.online-ui.touch-ui .online-room-code>div{flex:1}.online-ui.touch-ui .online-room-code input{letter-spacing:.09em;min-height:44px;font-size:22px}.online-ui.touch-ui .online-roster{max-height:250px}.online-ui.touch-ui .online-roster li{gap:8px}.online-ui.touch-ui .online-roster strong{font-size:13px}.online-ui.touch-ui .online-roster div>span{font-size:11px;line-height:1.5}.online-ui.touch-ui .ready-badge,.online-ui.touch-ui .waiting-badge{font-size:9px}.online-ui.touch-ui .online-bot-fill strong{font-size:12px}.online-ui.touch-ui .online-bot-fill p,.online-ui.touch-ui .online-choice small{font-size:11px;line-height:1.5}.online-ui.touch-ui .online-ready-actions{flex-wrap:nowrap;gap:9px}.online-ui.touch-ui .online-ready-actions .button{padding:11px 9px;font-size:11px}.online-ui.touch-ui .online-choice>div{gap:6px}.online-ui.touch-ui .online-course-list strong{font-size:12px}.online-ui.touch-ui .online-results{top:calc(var(--safe-top) + 80px);bottom:calc(var(--safe-bottom) + 12px);left:calc(var(--safe-left) + 12px);width:calc(100% - var(--safe-left) - var(--safe-right) - 24px)}.online-ui.touch-ui .online-results h1{font-size:36px}.online-ui.touch-ui .online-standings li{gap:8px;min-height:46px;padding-inline:6px}.online-ui.touch-ui .online-standings li>span{font-size:12px}.online-ui.touch-ui .online-standings li>div strong{font-size:10px}.online-ui.touch-ui .online-standings li>div small{font-size:9px}.online-ui.touch-ui .online-result-policy{font-size:11px!important}.online-ui.touch-ui .online-winner strong{font-size:22px}.online-ui.touch-ui .online-winner span{font-size:12px}.online-ui.touch-ui .online-result-actions{gap:10px}.online-ui.touch-ui .online-result-actions p{font-size:12px}.online-ui.touch-ui:is(.online-phase-starting,.online-phase-countdown,.online-phase-racing) .online-brand{display:none}.online-ui.touch-ui:is(.online-phase-starting,.online-phase-countdown,.online-phase-racing) .online-header{top:calc(var(--safe-top) + 10px);justify-content:flex-end}.online-ui.touch-ui:is(.online-phase-starting,.online-phase-countdown,.online-phase-racing) .online-connection{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.online-ui.touch-ui .online-race-top{top:calc(var(--safe-top) + 10px);left:calc(var(--safe-left) + 12px);right:calc(var(--safe-right) + 72px);align-items:stretch;gap:8px}.online-ui.touch-ui .online-race-top>div:first-child{flex:1;min-width:0;padding:9px 10px}.online-ui.touch-ui .online-race-top>div:first-child>span{font-size:8px}.online-ui.touch-ui .online-race-top>div:first-child>strong{font-size:12px}.online-ui.touch-ui .online-race-top>.online-small-button{display:none}.online-ui.touch-ui .online-race-clock{min-width:74px;padding:8px 10px}.online-ui.touch-ui .online-race-clock strong{font-size:25px}.online-ui.touch-ui .online-race-bottom{top:calc(var(--safe-top) + 80px);bottom:auto;left:calc(var(--safe-left) + 12px);gap:8px}.online-ui.touch-ui .online-race-bottom>div{min-height:44px;padding:9px 11px}.online-ui.touch-ui .online-race-bottom strong{font-size:23px}.online-ui.touch-ui .online-race-bottom p{display:none}.online-ui.touch-ui .online-spectator{left:calc(var(--safe-left) + 12px);right:calc(var(--safe-right) + 12px);bottom:calc(var(--safe-bottom) + 14px);gap:6px;padding:10px}.online-ui.touch-ui .online-spectator strong{font-size:12px}.online-ui.touch-ui .online-spectator .online-leave{margin-left:0;padding:8px;font-size:11px!important}.online-ui.touch-ui .online-loading{left:calc(var(--safe-left) + 12px);right:calc(var(--safe-right) + 12px);bottom:calc(var(--safe-bottom) + 16px);max-width:none}.online-ui.touch-ui .online-room-error{bottom:calc(var(--safe-bottom) + 154px);left:calc(var(--safe-left) + 12px);right:calc(var(--safe-right) + 12px)}.online-ui.touch-ui .online-reconnect,.online-ui.touch-ui .online-failure{max-height:calc(var(--game-viewport-height,100dvh) - var(--safe-top) - var(--safe-bottom) - 24px);overflow:auto}}@media (height<=500px) and (width>=621px) and (width<=1000px){.online-ui.touch-ui .online-header{top:calc(var(--safe-top) + 10px);left:calc(var(--safe-left) + 18px);right:calc(var(--safe-right) + 18px)}.online-ui.touch-ui .online-entry,.online-ui.touch-ui .online-lobby,.online-ui.touch-ui .online-results{top:calc(var(--safe-top) + 74px);bottom:calc(var(--safe-bottom) + 12px)}.online-ui.touch-ui .online-entry,.online-ui.touch-ui .online-results{left:calc(var(--safe-left) + 18px);width:min(490px,calc(100% - var(--safe-left) - var(--safe-right) - 36px))}.online-ui.touch-ui .online-lobby{left:calc(var(--safe-left) + 18px);right:calc(var(--safe-right) + 18px);gap:16px}.online-ui.touch-ui .online-ready-actions .button{flex-basis:auto;padding-inline:10px;font-size:11px}.online-ui.touch-ui .online-panel{padding:20px}.online-ui.touch-ui .online-race-top{top:calc(var(--safe-top) + 10px);left:calc(var(--safe-left) + 18px);right:calc(var(--safe-right) + 230px);align-items:stretch}.online-ui.touch-ui .online-race-top>div:first-child{padding:8px 11px}.online-ui.touch-ui .online-race-top>div:first-child>strong{font-size:13px}.online-ui.touch-ui .online-race-top>.online-small-button{display:none}.online-ui.touch-ui .online-race-clock strong{font-size:25px}.online-ui.touch-ui:is(.online-phase-starting,.online-phase-countdown,.online-phase-racing) .online-brand{display:none}.online-ui.touch-ui:is(.online-phase-starting,.online-phase-countdown,.online-phase-racing) .online-header{justify-content:flex-end}.online-ui.touch-ui .online-race-bottom{top:calc(var(--safe-top) + 76px);bottom:auto;left:calc(var(--safe-left) + 18px);gap:8px}.online-ui.touch-ui .online-race-bottom>div{padding:8px 11px}.online-ui.touch-ui .online-race-bottom strong{font-size:23px}.online-ui.touch-ui .online-race-bottom p{display:none}.online-ui.touch-ui .online-spectator{bottom:calc(var(--safe-bottom) + 14px);left:calc(var(--safe-left) + 18px)}.online-ui.touch-ui .online-room-error{bottom:calc(var(--safe-bottom) + 100px);right:calc(var(--safe-right) + 18px)}}:root{color:#172a51;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink:#172a51;--blue:#315ce7;--yellow:#ffd452;--paper:#fffcf2;--muted:#66738b;background:#b6dfe9;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline-offset:5px;outline:3px solid #315ce7}button{color:inherit}button svg{flex-shrink:0}canvas{touch-action:none;display:block}.game-ui{pointer-events:none;z-index:10;position:absolute;inset:0}.game-ui button,.game-ui input,.game-ui main,.game-ui section{pointer-events:auto}.eyebrow{letter-spacing:.15em;margin:0 0 12px;font-size:11px;font-weight:800;line-height:1.6}.live-dot{background:#315ce7;border-radius:50%;width:7px;height:7px;margin-right:6px;display:inline-block}.button{letter-spacing:.045em;white-space:nowrap;border-radius:15px;justify-content:center;align-items:center;gap:14px;min-height:56px;padding:15px 25px;font-size:14px;font-weight:900;transition:transform .15s,background .15s;display:inline-flex}.button:hover{transform:translateY(-2px)}.button:active{transform:translateY(2px)}.button-primary{background:var(--yellow);border:2px solid var(--ink);box-shadow:0 5px 0 var(--ink)}.button-primary:hover{background:#ffe178}.button-secondary{background:var(--paper);letter-spacing:0;border:2px solid #d7ddd9;font-weight:700;box-shadow:0 3px #d7ddd9}.button-plain{box-shadow:none;letter-spacing:0;background:0 0;border:0;min-height:40px;padding:12px 8px;font-weight:700}.button-plain:hover{color:var(--blue)}.icon-button{background:#fffcf2ed;border:2px solid #0000;border-radius:50%;justify-content:center;align-items:center;width:43px;height:43px;transition:transform .15s;display:inline-flex;box-shadow:0 3px #172a5114}.icon-button:hover{border-color:var(--ink);transform:translateY(-2px)}.top-actions{gap:10px;display:flex}.menu-screen{flex-direction:column;padding:32px 4.7% 24px;display:flex;position:absolute;inset:0;pointer-events:none!important}.menu-header{z-index:2;justify-content:space-between;align-items:center;display:flex;position:relative}.brand-mark{letter-spacing:.095em;align-items:center;gap:12px;font-size:9px;font-weight:800;line-height:1.55;display:flex}.brand-symbol{background:var(--blue);color:#fff;letter-spacing:-.08em;width:43px;height:43px;box-shadow:3px 3px 0 var(--ink);border-radius:13px;justify-content:center;align-items:center;font-size:25px;font-style:italic;font-weight:900;display:flex;transform:rotate(-9deg)}.menu-copy{z-index:1;pointer-events:none;width:47%;max-width:680px;padding-top:clamp(25px,6vh,72px);position:relative}.menu-copy h1{letter-spacing:-.04em;transform-origin:0;margin:12px 0 22px;font-family:Impact,Arial Black,Arial,sans-serif;font-size:clamp(70px,8.3vw,144px);font-weight:900;line-height:.85;transform:rotate(-3deg)}.menu-copy h1>span{display:block}.menu-copy h1>span:first-child{color:#fffef6;-webkit-text-stroke:2px var(--ink);paint-order:stroke fill;text-shadow:5px 5px 0 var(--ink)}.menu-copy .title-bottom{color:var(--blue);position:relative}.title-spark{color:var(--yellow);-webkit-text-stroke:1px var(--ink);margin-left:.1em;font-size:.45em;position:absolute;top:-.01em;transform:rotate(15deg);display:inline-block!important}.menu-description{letter-spacing:-.035em;margin:0 0 20px;font-size:clamp(16px,1.55vw,22px);font-weight:500;line-height:1.45}.mode-pill{letter-spacing:.075em;background:#fffcf2b8;border:1px solid #172a5124;border-radius:7px;align-items:center;gap:9px;padding:8px 12px;font-size:10px;font-weight:900;display:inline-flex}.pill-plus{color:var(--blue);font-size:15px}.color-label{letter-spacing:.12em;margin-bottom:10px;font-size:9px;font-weight:800;display:block}.color-swatches{gap:10px;display:flex}.color-swatch{border:2px solid #172a5129;border-radius:50%;justify-content:center;align-items:center;width:29px;height:29px;font-size:16px;font-weight:900;transition:transform .15s;display:inline-flex;position:relative}.color-swatch:hover{transform:translateY(-3px)}.color-swatch.active{border-color:var(--ink);outline:2px solid var(--paper);outline-offset:2px}.menu-buttons{align-items:center;gap:20px;display:flex}.play-button{justify-content:space-between;width:250px;font-size:17px}.preview-label{letter-spacing:.03em;flex-direction:column;gap:9px;font-size:12px;display:flex;position:absolute;top:24%;right:5.5%;transform:rotate(7deg)}.preview-label strong{letter-spacing:-.055em;font-family:Arial Black,Arial,sans-serif;font-size:20px;font-weight:900;line-height:1.05}.preview-arrow{color:var(--blue);font-family:Georgia,serif;font-size:58px;position:absolute;top:2px;left:-46px}.preview-label>span:last-child{color:#455a75;font-size:10px}.menu-bottom{justify-content:space-between;align-items:flex-end;gap:20px;margin-top:auto;padding-top:18px;display:flex}.course-tour{border-top:1px solid #172a5130;gap:26px;padding-top:15px;display:flex}.tour-stop{align-items:center;gap:10px;display:flex}.tour-stop>span:first-child{color:var(--blue);font-size:12px;font-weight:900}.tour-stop strong{letter-spacing:-.02em;font-size:12px;display:block}.tour-stop small{letter-spacing:.11em;color:#4b6479;margin-top:5px;font-size:8px;font-weight:700;display:block}.tour-arrow{color:#59788c;margin-left:12px;font-size:20px}.menu-footnote{text-align:right;letter-spacing:.08em;font-size:9px;font-weight:800}.menu-footnote span{letter-spacing:0;color:#4b6479;margin-top:8px;font-weight:400;display:block}.center-screen{background:#b6dfe923;justify-content:center;align-items:center;padding:28px;display:flex;position:absolute;inset:0}.intro-card,.results-card,.final-card{background:var(--paper);border:2px solid var(--ink);text-align:center;border-radius:26px;width:min(580px,100%);padding:34px 40px;position:relative;box-shadow:8px 8px #172a512a}.round-stamp{background:var(--blue);color:#fff;letter-spacing:.12em;border-radius:6px;margin-bottom:19px;padding:9px 14px;font-size:10px;font-weight:800;display:inline-block;transform:rotate(-3deg)}.intro-card>.eyebrow,.results-card>.eyebrow{color:#58698c;margin-bottom:5px}.intro-card h2,.results-card h2,.final-card h2,.modal-card h2{letter-spacing:-.025em;margin:0 0 14px;font-family:Impact,Arial Black,Arial,sans-serif;font-size:47px;font-weight:900;line-height:1.08}.intro-description{color:#55647b;max-width:420px;margin:0 auto 22px;font-size:14px;line-height:1.55}.intro-facts{border-block:1px solid #e0e4db;justify-content:center;margin:18px 0 23px;padding:18px 0;display:flex}.intro-facts>div{border-right:1px solid #e0e4db;flex:1}.intro-facts>div:last-child{border:0}.intro-facts strong{letter-spacing:-.055em;color:var(--blue);font-size:30px;font-weight:900;display:block}.intro-facts span{letter-spacing:.13em;margin-top:4px;font-size:9px;font-weight:800;display:block}.race-rule{max-width:430px;margin:0 auto 23px;font-size:13px;line-height:1.55}.controls-inline{justify-content:center;align-items:center;gap:20px;display:flex}.control{white-space:nowrap;align-items:center;gap:7px;display:flex}.control span{color:#52627b;font-size:10px;font-weight:600}kbd{color:var(--ink);white-space:nowrap;background:#f2f3e9;border:1px solid #cfd6d4;border-bottom-width:2px;border-radius:5px;padding:5px 6px;font-family:Arial,Helvetica,sans-serif;font-size:9px;font-weight:800}.intro-card>.button{min-width:210px;margin-top:24px}.intro-reset{color:#738096;margin:20px 0 0;font-size:10px}.intro-reset kbd{margin-right:3px;padding:2px 4px}.race-hud{justify-content:space-between;align-items:flex-start;gap:15px;display:flex;position:absolute;top:24px;left:26px;right:26px}.hud-course{color:var(--ink);background:#fffdf3ed;border-radius:12px;flex-direction:column;gap:5px;padding:12px 18px;display:flex;box-shadow:0 4px #172a5120}.hud-course>span{letter-spacing:.13em;color:#596a8b;font-size:8px;font-weight:800}.hud-course strong{letter-spacing:-.035em;font-size:17px;font-weight:900}.hud-center{gap:6px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.hud-time,.hud-position,.hud-finish{background:var(--paper);border:2px solid var(--ink);text-align:center;border-radius:11px;min-width:108px;padding:8px 18px;box-shadow:0 4px #172a5130}.hud-time>span,.hud-position>span,.hud-finish>span{letter-spacing:.13em;margin-bottom:4px;font-size:8px;font-weight:800;display:block}.hud-time strong,.hud-position strong,.hud-finish strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-size:27px;font-weight:900;line-height:1}.hud-position strong small,.hud-finish strong small{color:#7b8698;font-size:13px;font-weight:700}.hud-time{background:var(--yellow)}.hud-right{align-items:center;gap:9px;display:flex}.hud-finish{background:var(--blue);color:#fff}.hud-finish strong small{color:#d4ddff}.bottom-hud{justify-content:space-between;align-items:center;gap:15px;display:flex;position:absolute;bottom:20px;left:26px;right:26px}.checkpoint-meter{background:#fffcf2e8;border-radius:12px;align-items:center;gap:10px;padding:10px 14px;display:flex}.checkpoint-icon{color:var(--blue);font-size:23px}.checkpoint-meter div>span{letter-spacing:.13em;color:#68748a;margin-bottom:2px;font-size:8px;font-weight:800;display:block}.checkpoint-meter strong{font-size:17px;font-weight:900}.bottom-hud .controls-inline,.camera-hint{background:#fffcf2db;border-radius:10px;padding:12px}.camera-hint{color:#50627a;align-items:center;gap:5px;font-size:10px;display:flex}.camera-hint>span{padding:0 3px}.countdown-screen{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.countdown-caption{background:var(--ink);color:#fff;letter-spacing:.18em;border-radius:9px;padding:10px 20px;font-size:11px;font-weight:900;transform:rotate(-3deg)}.countdown-number{color:#fffbea;-webkit-text-stroke:3px var(--ink);paint-order:stroke fill;text-shadow:7px 8px 0 var(--ink);font-family:Impact,Arial Black,Arial,sans-serif;font-size:155px;font-weight:900;line-height:1.3;animation:.22s ease-out countdown-pop}.countdown-screen>p{background:#fffcf2e8;border-radius:9px;padding:9px 15px;font-size:14px;font-weight:700}.race-notice{background:var(--ink);color:#fff;text-align:center;border-radius:9px;max-width:80%;padding:10px 22px;font-size:13px;font-weight:800;position:absolute;top:115px;left:50%;transform:translate(-50%);box-shadow:0 4px #172a5129}.qualified-overlay{background:var(--yellow);border:2px solid var(--ink);border-radius:16px;align-items:center;gap:17px;min-width:470px;padding:19px 25px;display:flex;position:absolute;bottom:100px;left:50%;transform:translate(-50%)rotate(-1deg);box-shadow:5px 5px #172a5130}.qualified-check{border:2px solid var(--ink);background:var(--paper);border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;font-size:32px;font-weight:900;display:flex}.qualified-overlay p{letter-spacing:.14em;margin:0 0 4px;font-size:8px;font-weight:900}.qualified-overlay h2{letter-spacing:-.01em;margin:0 0 6px;font-family:Impact,Arial Black,Arial,sans-serif;font-size:31px}.qualified-overlay span{font-size:10px}.results-card{width:min(680px,100%);padding:27px 32px}.results-card h2{color:var(--blue);font-size:43px}.eliminated-card h2{color:#e7647a}.result-description{color:#69748a;margin:0 0 16px;font-size:12px;line-height:1.5}.standings{text-align:left;scrollbar-width:thin;border:1px solid #e3e6de;border-radius:12px;max-height:min(45vh,430px);margin:0;padding:0;list-style:none;overflow:auto}.standings li{background:#fff;border-bottom:1px solid #e6e8df;align-items:center;gap:10px;min-height:43px;padding:7px 13px;display:flex}.standings li:last-child{border:0}.standings li.human-row{background:#e8f7f1;box-shadow:inset 4px 0 #21c9bc}.standing-rank{color:#738199;text-align:center;width:17px;font-size:11px;font-weight:800}.racer-dot{border:1px solid #172a5120;border-radius:50%;flex-shrink:0;width:13px;height:13px}.standing-name{flex:1;align-items:center;gap:8px;font-size:12px;font-weight:800;display:flex}.you-tag{letter-spacing:.08em;color:#537d79;background:#cfebe4;border-radius:3px;padding:3px 4px;font-size:6px}.standing-outcome{text-align:right;flex-direction:column;gap:3px;display:flex}.standing-outcome strong{letter-spacing:0;font-size:10px}.standing-outcome small{color:#7d8797;font-size:8px}.status-mark{text-align:center;color:#b4bcc6;width:20px;font-size:15px;font-weight:900}.status-mark.yes{color:#159387}.result-actions{justify-content:center;gap:13px;margin-top:24px;display:flex}.result-actions .button{min-height:49px;font-size:12px}.timeout-note{color:#7e8796;margin:17px 0 0;font-size:9px;line-height:1.5}.final-card{width:min(640px,100%);padding:35px 35px 40px}.trophy-medallion{background:var(--yellow);border:2px solid var(--ink);border-radius:50%;justify-content:center;align-items:center;width:104px;height:104px;margin:0 auto 24px;display:flex;transform:rotate(-7deg);box-shadow:5px 5px #172a5120}.final-card h2{color:var(--blue);margin-bottom:9px;font-size:74px;transform:rotate(-2deg)}.final-card>.eyebrow{color:#778197;font-size:8px}.winner-label{letter-spacing:.045em;margin:0 0 24px;font-size:14px;font-weight:900}.winner-reason{border-block:1px solid #e0e4db;padding:18px 0}.winner-reason>span{letter-spacing:.13em;color:#70809b;font-size:8px;font-weight:800;display:block}.winner-reason strong{letter-spacing:-.025em;margin-top:8px;font-size:31px;font-weight:900;display:block}.winner-reason strong small{letter-spacing:0;font-size:12px;font-weight:400}.winner-reason p{color:#6a7588;margin-bottom:0;font-size:12px}.final-podium{flex-direction:column;gap:9px;max-width:360px;margin:21px auto 0;display:flex}.final-podium>div{background:#fff;border:1px solid #e5e7de;border-radius:7px;align-items:center;gap:11px;padding:8px 14px;display:flex}.final-podium>div.your-finish{background:#e6f5ef;border-color:#a5d6c9}.final-podium>div span{color:#7a8498;width:17px;font-size:12px;font-weight:800}.final-podium>div:first-child span{color:#eab32b;font-size:18px}.final-podium i{border-radius:50%;width:11px;height:11px}.modal-backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);pointer-events:auto;z-index:20;background:#1326457d;justify-content:center;align-items:center;padding:25px;display:flex;position:absolute;inset:0}.modal-card{background:var(--paper);border:2px solid var(--ink);border-radius:24px;width:min(520px,100%);max-height:calc(100vh - 50px);padding:32px 35px;position:relative;overflow-y:auto;box-shadow:7px 7px #101f3e40}.modal-card>.icon-button{background:#e9ede1;width:34px;height:34px;position:absolute;top:16px;right:17px}.modal-card>.eyebrow{color:#778197;margin-bottom:5px;font-size:9px}.modal-card h2{margin-bottom:22px;font-size:38px}.modal-card>.button{width:100%;margin-top:22px}.how-description{color:#68748b;margin:0 0 22px;font-size:13px;line-height:1.6}.controls-grid{border-block:1px solid #e0e4db;grid-template-columns:1fr 1fr;gap:16px 12px;padding:19px 0;display:grid}.controls-grid .control{gap:9px}.controls-grid .control span{font-size:10px}.controls-grid kbd{font-size:8px}.how-rules{color:#64718a;margin-top:21px;font-size:12px;line-height:1.6}.how-rules strong{color:var(--ink);font-size:13px}.how-rules p{margin:10px 0 0}.setting-row{justify-content:space-between;align-items:center;gap:15px;margin-top:24px;display:flex}.setting-row:first-child{margin-top:0}.setting-row label,.setting-label{font-size:13px;font-weight:800}.setting-row p{color:#728097;margin:6px 0 0;font-size:10px;line-height:1.4}.small-switch{background:#e3e7dd;border:0;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:41px;height:35px;display:flex}.small-switch.on{color:#137466;background:#d5eee5}.volume-control{align-items:center;gap:15px;margin-top:15px;display:flex}.volume-control input{width:100%;accent-color:var(--blue);cursor:pointer}.volume-control output{min-width:32px;font-size:11px;font-weight:800}.toggle-input{appearance:none;cursor:pointer;background:#e3e7dd;border:2px solid #cbd3cb;border-radius:20px;flex-shrink:0;width:40px;height:24px;position:relative}.toggle-input:before{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #172a5130}.toggle-input:checked:before{transform:translate(16px)}.segmented{background:#e9ecdf;border-radius:10px;gap:8px;margin-top:13px;padding:5px;display:flex}.segmented button{background:0 0;border:0;border-radius:7px;width:50%;padding:10px;font-size:11px;font-weight:700}.segmented button.selected{background:var(--paper);color:var(--blue);box-shadow:0 2px 3px #172a5120}.settings-footnote{color:#829087;text-align:center;margin:20px 0 0;font-size:9px}.pause-card{width:min(510px,100%);padding:26px 32px}.pause-card h2{margin:0 0 5px;font-size:49px}.modal-heading>.eyebrow{color:#6e7d97;margin-bottom:5px;font-size:9px}.pause-description{color:#6c7a91;margin:0 0 18px;font-size:12px}.pause-actions{flex-wrap:wrap;gap:9px;margin-bottom:24px;display:flex}.pause-actions>.button-primary{flex:1;min-width:100%;min-height:48px}.pause-actions>.button-secondary,.pause-actions>.button-plain{flex:1;min-height:37px;padding:9px 10px;font-size:11px}.pause-card .settings-content{border-top:1px solid #e0e4db;padding-top:20px}.pause-card .setting-row{margin-top:17px}.pause-card .setting-row:first-child{margin-top:0}.pause-card .settings-footnote{display:none}.pause-controls{border-top:1px solid #e0e4db;margin-top:20px;padding-top:15px}.pause-controls .controls-inline{justify-content:space-between;gap:8px}.pause-controls p{color:#748298;text-align:center;margin:15px 0 0;font-size:9px}.autoplay-label{color:#172a51;letter-spacing:.06em;white-space:nowrap;background:#ffde5c;border-radius:5px 5px 0 0;padding:4px 10px;font-size:8px;font-weight:800;position:absolute;bottom:1px;left:50%;transform:translate(-50%)}.boot-screen{text-align:center;z-index:50;background:#b6dfe9;flex-direction:column;justify-content:center;align-items:center;padding:30px;display:flex;position:absolute;inset:0}.boot-screen h1{color:var(--blue);letter-spacing:-.035em;margin:0 0 15px;font-family:Impact,Arial Black,Arial,sans-serif;font-size:54px}.boot-screen p{max-width:480px;font-size:14px;line-height:1.6}.boot-spinner{border:4px solid #172a5120;border-top-color:var(--blue);border-radius:50%;width:40px;height:40px;margin:15px;animation:1s linear infinite spin}.graphics-error{background:var(--paper);border:2px solid var(--ink);border-radius:20px;max-width:520px;padding:32px}@keyframes countdown-pop{0%{transform:scale(1.15)rotate(3deg)}to{transform:scale(1)rotate(-2deg)}}@keyframes spin{to{transform:rotate(360deg)}}@media (width>=1600px){.menu-copy{padding-top:9vh}.menu-description{margin-bottom:25px}.color-picker{margin-top:35px;margin-bottom:28px}.color-swatch{width:35px;height:35px}.preview-label{top:23%;right:9%}.menu-bottom{padding-top:30px}.course-tour{gap:45px}.tour-stop strong{font-size:14px}}@media (height<=760px){.menu-screen{padding-top:23px;padding-bottom:19px}.menu-copy{padding-top:28px}.menu-copy h1{margin-bottom:16px;font-size:clamp(65px,8vw,116px)}.menu-description{margin-bottom:12px;font-size:17px}.color-picker{margin:17px 0}.menu-bottom{padding-top:14px}.intro-card{padding:25px 34px}.intro-card h2{font-size:39px}.intro-card>.round-stamp{margin-bottom:12px}.intro-description{margin-bottom:15px}.intro-facts{margin:15px 0;padding:13px 0}.race-rule{margin-bottom:18px}.intro-card>.button{margin-top:18px}.intro-reset{margin-top:17px}.results-card{padding:23px 28px}.results-card>.round-stamp{margin-bottom:13px}.results-card h2{font-size:36px}.standings{max-height:41vh}.standings li{min-height:36px;padding:5px 12px}.result-actions{margin-top:17px}.final-card{padding:24px 32px 29px}.trophy-medallion{width:78px;height:78px;margin-bottom:17px}.trophy-medallion svg{width:47px;height:47px}.final-card h2{font-size:61px}.winner-label{margin-bottom:17px}.winner-reason{padding:12px 0}.final-podium{gap:6px;margin-top:15px}.final-podium>div{padding:6px 12px}}@media (width<=1100px){.menu-copy{width:52%}.preview-label{font-size:10px;right:4%}.preview-label strong{font-size:16px}.preview-arrow{font-size:46px;left:-35px}.course-tour{gap:17px}.tour-stop{gap:7px}.tour-arrow{margin-left:3px}.tour-stop strong{font-size:11px}.menu-footnote{font-size:8px}.menu-buttons{gap:14px}.play-button{width:215px;font-size:15px}.hud-course strong{font-size:14px}.hud-course{padding:11px 13px}.hud-time,.hud-position,.hud-finish{min-width:87px;padding:8px 11px}.hud-right{gap:7px}.hud-right .icon-button{width:36px;height:36px}.camera-hint{gap:3px;font-size:9px}.camera-hint kbd{font-size:8px}.bottom-hud .controls-inline{gap:12px;padding:11px}.control span{font-size:9px}}@media (width<=800px){.menu-screen{padding:22px 25px}.menu-copy{width:60%;padding-top:40px}.menu-copy h1{font-size:clamp(64px,11vw,91px)}.menu-description{font-size:15px}.menu-buttons{flex-direction:column;align-items:flex-start;gap:10px}.play-button{width:220px}.menu-copy>.eyebrow{font-size:9px}.preview-label{width:111px;top:26%;right:4%}.preview-label strong{font-size:14px}.preview-label>span:last-child{font-size:8px}.preview-arrow{display:none}.course-tour{justify-content:space-between;gap:14px;width:100%}.tour-arrow{display:none}.tour-stop strong{font-size:10px}.tour-stop small{font-size:7px}.menu-footnote{display:none}.menu-bottom{width:100%}.race-hud{top:15px;left:15px;right:15px}.hud-course{box-shadow:none;background:0 0;padding:0}.hud-course strong{max-width:104px;font-size:12px}.hud-course>span{font-size:7px}.hud-center{margin-left:auto;position:static;transform:none}.hud-position{display:none}.hud-finish{min-width:79px}.hud-time{min-width:78px}.hud-time strong,.hud-finish strong{font-size:24px}.hud-time>span,.hud-finish>span{font-size:7px}.hud-right>.icon-button:first-of-type{display:none}.bottom-hud{gap:8px;bottom:15px;left:15px;right:15px}.bottom-hud .controls-inline{display:none}.camera-hint{padding:10px 7px;font-size:8px}.checkpoint-meter{padding:8px 11px}.checkpoint-meter strong{font-size:14px}.race-notice{font-size:11px;top:95px}.qualified-overlay{width:calc(100% - 45px);min-width:0;padding:16px;bottom:82px}.qualified-overlay h2{font-size:27px}.qualified-overlay span{font-size:9px}.qualified-check{flex-shrink:0;width:42px;height:42px}.intro-card h2{font-size:36px}.center-screen{padding:20px}.intro-card,.results-card,.final-card{padding-left:23px;padding-right:23px}.standing-name{font-size:10px}.standing-outcome strong{font-size:9px}.you-tag{display:none}.standings li{gap:7px;padding-left:8px;padding-right:8px}.result-actions{gap:9px}.result-actions>.button{padding-left:16px;padding-right:16px}.results-card h2{font-size:34px}.final-card h2{font-size:56px}.winner-label{font-size:12px}}@media (height<=580px){.menu-header{position:absolute;top:20px;left:25px;right:25px}.menu-copy{padding-top:60px}.menu-copy h1{margin-bottom:13px;font-size:72px}.menu-description{margin-bottom:8px;font-size:14px}.mode-pill{padding:5px 8px;font-size:8px}.color-picker{margin:12px 0}.color-label{margin-bottom:6px;font-size:7px}.color-swatch{width:24px;height:24px}.menu-buttons{flex-direction:row;align-items:center;gap:14px}.play-button{width:195px;min-height:45px;padding:10px 14px;font-size:14px}.menu-buttons .button-plain{font-size:11px}.menu-bottom{padding-top:13px}.course-tour{padding-top:10px}.brand-mark>span:last-child{display:none}.preview-label{top:23%}.center-screen{align-items:flex-start;padding:15px;overflow:auto}.intro-card,.results-card,.final-card{margin:auto 0}.modal-card{padding:24px 28px}.intro-card .intro-description{font-size:12px}.intro-facts{margin:12px 0;padding:9px 0}.intro-facts strong{font-size:23px}.race-rule{margin-bottom:15px;font-size:11px}.intro-card>.button{min-height:43px;margin-top:15px}.intro-reset{margin-top:13px}.results-card h2{font-size:31px}.result-description{margin-bottom:12px;font-size:11px}.standings{max-height:38vh}.standings li{min-height:32px}.round-stamp{margin-bottom:10px;padding:7px 12px;font-size:9px}.final-card{padding-top:17px;padding-bottom:23px}.trophy-medallion{width:56px;height:56px;margin-bottom:14px}.trophy-medallion svg{width:34px;height:34px}.final-card h2{font-size:49px}.final-card .final-podium{gap:4px;margin-top:11px}.final-podium>div{padding:5px 12px}.final-card .result-actions{margin-top:15px}.final-card .button{min-height:43px}.winner-reason strong{font-size:24px}.winner-label{margin-bottom:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.game-shell{width:100vw;height:100dvh;position:fixed;inset:0;overflow:hidden}.game-shell>div:first-child:has(>canvas){width:100%!important;height:100%!important}.game-shell canvas{outline:none;width:100%;height:100%;display:block}.loading-overlay{z-index:40;pointer-events:auto;background:#b6dfe9;flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex;position:absolute;inset:0}.loading-overlay strong{color:var(--blue);letter-spacing:-.015em;font-family:Impact,Arial Black,Arial,sans-serif;font-size:32px}.loading-overlay>span:last-child{color:#527087;font-size:12px}.loading-orbit{border:4px solid #315ce724;border-top-color:var(--blue);border-right-color:var(--yellow);border-radius:50%;width:45px;height:45px;animation:1s linear infinite spin}.game-shell .graphics-error{z-index:60;text-align:center;width:calc(100% - 40px);max-width:520px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:8px 8px #172a512a}.graphics-error h2{color:var(--blue);margin:0 0 15px;font-family:Impact,Arial Black,Arial,sans-serif;font-size:36px}.graphics-error p{color:#68748a;font-size:13px;line-height:1.65}.graphics-error code{overflow-wrap:anywhere;margin:12px 0;font-size:10px;display:block}.graphics-error button{background:var(--yellow);border:2px solid var(--ink);box-shadow:0 4px 0 var(--ink);border-radius:12px;margin-top:10px;padding:13px 20px;font-weight:800}.motion-reduced *{transition:none!important;animation:none!important}.racer-name-label{white-space:nowrap;pointer-events:none;color:#fffef4;letter-spacing:.02em;background:#172a51d9;border-radius:5px;padding:4px 7px;font-size:9px;font-weight:800;display:block;box-shadow:0 1px 2px #172a5129}.racer-name-label.human-name-label{color:#172a51;background:#fff2a6;border:1px solid #172a51;font-size:9px}@media (width<=800px) and (height>=581px) and (height<=670px){.menu-copy{padding-top:24px}.menu-copy h1{margin-bottom:17px;font-size:70px}.menu-description{margin-bottom:10px;font-size:14px}.color-picker{margin:15px 0}.menu-buttons{flex-direction:row;align-items:center;gap:12px}.play-button{width:190px;min-height:49px;padding:10px 13px;font-size:13px}.menu-buttons .button-plain{font-size:10px}.color-swatches{gap:9px}.color-swatch{width:27px;height:27px}}.game-shell{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);top:var(--game-viewport-top,0px);height:var(--game-viewport-height,100dvh);bottom:auto}.touch-ui button{touch-action:manipulation;min-width:44px;min-height:44px}.touch-ui input{font-size:16px}.touch-ui .icon-button,.touch-ui .small-switch,.touch-ui .modal-card>.icon-button{flex-shrink:0;width:44px;height:44px}.touch-ui .toggle-input{border-radius:24px;width:62px;height:44px}.touch-ui .toggle-input:before{width:36px;height:36px}.touch-ui .toggle-input:checked:before{transform:translate(18px)}.touch-ui .volume-control input{touch-action:pan-x;height:44px}.touch-ui .segmented button{min-height:44px}.touch-ui .pause-actions>.button-secondary,.touch-ui .pause-actions>.button-plain{min-height:44px;font-size:12px}.touch-ui .modal-backdrop{padding:calc(var(--safe-top) + 12px) calc(var(--safe-right) + 12px) calc(var(--safe-bottom) + 12px) calc(var(--safe-left) + 12px)}.touch-ui .modal-card{max-height:calc(var(--game-viewport-height,100dvh) - var(--safe-top) - var(--safe-bottom) - 24px);overscroll-behavior:contain;touch-action:pan-y pinch-zoom}.touch-ui .modal-card>.icon-button{top:12px;right:12px}.touch-ui .modal-card .setting-row{gap:14px}.touch-ui .modal-card h2{overflow-wrap:anywhere}.touch-orientation-hint{color:#586982;background:#eef2fb;border-radius:10px;padding:12px;font-size:12px;line-height:1.6}body.touch-mode .graphics-error{max-height:calc(var(--game-viewport-height,100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);width:calc(100% - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px) - 24px);overscroll-behavior:contain;padding:22px;overflow-y:auto}body.touch-mode .graphics-error button{touch-action:manipulation;min-height:44px}body.touch-mode .boot-screen{padding:calc(env(safe-area-inset-top,0px) + 20px) 20px calc(env(safe-area-inset-bottom,0px) + 20px);overflow-y:auto}body.touch-mode .boot-screen h1{font-size:clamp(32px,10vw,48px)}body.touch-mode .loading-overlay{padding:calc(env(safe-area-inset-top,0px) + 20px) 20px calc(env(safe-area-inset-bottom,0px) + 20px);text-align:center}@media (width<=620px){.touch-ui .modal-card{border-radius:19px;padding:62px 20px 22px}.touch-ui .pause-card{padding:22px 20px}.touch-ui .modal-card h2,.touch-ui .collection-modal h2{font-size:30px}.touch-ui .pause-card h2{font-size:36px}.touch-ui .controls-grid{grid-template-columns:1fr 1fr;gap:16px 10px}.touch-ui .controls-grid .control{flex-wrap:wrap;gap:6px}.touch-ui .control span{font-size:12px}.touch-ui .controls-grid kbd{font-size:10px}.touch-ui .how-description,.touch-ui .how-rules{font-size:12px}.touch-ui .how-rules strong{font-size:13px}.touch-ui .pause-controls p{font-size:11px;line-height:1.6}.touch-ui .graphics-error{max-height:calc(var(--game-viewport-height,100dvh) - 32px);padding:22px;overflow:auto}}@media (height<=500px) and (width<=1000px){.touch-ui .modal-card{padding:22px 24px}.touch-ui .modal-card:has(>.icon-button){padding-top:56px}.touch-ui .modal-card h2{font-size:30px}.touch-ui .pause-card .pause-actions{margin-bottom:18px}}:root{--ink:#17224a;--blue:#4164f5;--yellow:#ffd356;--paper:#f9f8ff}.button{border-radius:13px;transition:transform .16s,background .16s,box-shadow .16s}.button-primary{box-shadow:0 4px 0 var(--ink)}.button-secondary{border-color:#d9ddeb;box-shadow:0 3px #d9ddeb}.icon-button{background:#f9f8fff2;border:1px solid #17224a1a;box-shadow:0 2px #17224a15}.menu-header{align-items:flex-start}.brand-symbol{background:var(--blue);border-radius:12px}.menu-description{color:#25345b}.mode-pill{background:#f9f8ffd1;border:1px solid #17224a24}.color-label{align-items:center;gap:14px;display:flex}.color-label strong{letter-spacing:0;text-transform:none;color:#4164f5;font-size:10px}.color-swatch{border-color:#17224a32;box-shadow:0 2px #17224a18}.color-swatch.active{outline:2px solid #f9f8ff;box-shadow:0 2px #17224a25}.menu-copy h1>span:first-child{color:#fffef8;text-shadow:4px 5px 0 var(--ink)}.preview-label{top:23%;right:5%}.course-tour{border-color:#17224a28}.intro-screen{background:linear-gradient(90deg,#17224a0c,#0000 56%);justify-content:flex-start;align-items:flex-end;padding:35px 4.7%}.intro-card{text-align:left;background:#f9f8fff5;border-radius:23px;width:min(435px,44vw);padding:27px 29px 22px;animation:.22s ease-out both panel-arrive;box-shadow:6px 7px #17224a22}.intro-card .round-stamp{margin-bottom:19px}.intro-card h2{margin-bottom:13px;font-size:43px}.intro-card .eyebrow{font-size:10px}.intro-description{margin:0 0 18px;font-size:12px;line-height:1.6}.intro-facts{text-align:center;border-color:#dde1ee;margin:19px 0;padding:14px 0}.intro-facts>div{border-color:#dde1ee}.intro-facts strong{font-size:29px}.intro-facts span{font-size:8px}.race-rule{margin:0 0 20px;font-size:11px;line-height:1.65}.intro-card .controls-inline{justify-content:space-between;gap:8px}.intro-card .controls-inline .control{gap:5px}.intro-card .controls-inline .control span{font-size:9px}.intro-card kbd{padding:4px 5px;font-size:8px}.intro-card>.button{width:100%;min-height:50px;margin-top:22px;font-size:13px}.intro-reset{text-align:center;color:#63738b;margin-top:15px;font-size:9px;line-height:1.5}.reveal-caption{letter-spacing:.11em;background:#f9f8ffe8;border:1px solid #17224a22;border-radius:9px;padding:12px 15px;font-size:9px;font-weight:900;position:absolute;top:31px;right:4.7%}.reveal-caption>span:last-child{letter-spacing:.08em;color:#6e7b94;margin-top:7px;padding-left:15px;font-size:7px;display:block}.race-hud{align-items:center;gap:13px;top:21px;left:24px;right:24px}.hud-course{color:#fffdf6;background:#17224aed;border-radius:11px;gap:3px;padding:10px 15px;box-shadow:0 3px #17224a24}.hud-course>span{color:#c2ccef;letter-spacing:.12em;font-size:8px}.hud-course>span i{color:#8d9bbd;font-style:normal}.hud-course strong{letter-spacing:-.015em;font-size:13px}.hud-center{top:0}.hud-time{border-width:1.5px;border-radius:11px;min-width:96px;padding:8px 17px 7px;box-shadow:0 3px #17224a24}.hud-time>span{margin-bottom:4px;font-size:7px}.hud-time strong{font-size:26px}.hud-time.time-warning{background:#ff8296}.hud-right{gap:8px}.hud-right .icon-button{width:35px;height:35px}.hud-right .icon-button svg{width:18px;height:18px}.hud-finish{border:1.5px solid #17224a;border-radius:11px;align-items:center;gap:12px;min-width:0;padding:11px 14px;display:flex;box-shadow:0 3px #17224a24}.hud-finish>span{letter-spacing:.09em;margin:0;font-size:8px}.hud-finish strong{white-space:nowrap;font-size:21px}.hud-finish strong small{font-size:12px}.bottom-hud{align-items:flex-end;bottom:22px;left:24px;right:24px}.hud-progress{background:#f9f8ffed;border:1px solid #17224a1a;border-radius:12px;align-items:stretch;display:flex;box-shadow:0 3px #17224a1a}.hud-position{min-width:95px;box-shadow:none;text-align:left;background:0 0;border:0;border-radius:0;padding:11px 13px 9px;display:block}.hud-position>span{letter-spacing:.1em;color:#64718d;margin-bottom:4px;font-size:7px}.hud-position strong{font-size:24px}.hud-position strong small{color:#6f7d95;font-size:11px;font-weight:600}.checkpoint-meter{background:0 0;border-left:1px solid #e1e4ef;border-radius:0;flex-direction:column;justify-content:center;align-items:stretch;gap:7px;padding:12px 15px}.checkpoint-top{align-items:center;gap:6px;display:flex}.checkpoint-top svg{color:#4164f5}.checkpoint-meter .checkpoint-top>span{color:#68758f;letter-spacing:.08em;margin:0;font-size:7px}.checkpoint-top strong{margin-left:4px;font-size:11px}.checkpoint-pips{gap:4px;display:flex}.checkpoint-pips i{background:#d6ddeb;border-radius:3px;flex:1;height:5px;display:block}.checkpoint-pips i.earned{background:#30bcae}.race-key-hints{color:#405078;background:#f9f8ffb3;border-radius:9px;flex-direction:column;align-items:flex-end;gap:7px;padding:10px 12px;font-size:8px;display:flex}.race-key-hints>span{white-space:nowrap;align-items:center;gap:5px;display:flex}.race-key-hints kbd{background:#f9f8ffd9;border-color:#b9c4d4;padding:3px 4px;font-size:7px}.countdown-number{text-shadow:6px 7px 0 var(--ink);font-size:143px}.countdown-caption{letter-spacing:.16em;font-size:9px}.countdown-screen>p{font-size:11px}.race-notice{border:1.5px solid var(--ink);color:var(--ink);text-align:left;background:#f9f8fff2;border-radius:12px;align-items:center;gap:12px;max-width:320px;padding:13px 15px;animation:.2s ease-out notice-arrive;display:flex;position:absolute;top:89px;left:24px;transform:none;box-shadow:3px 4px #17224a1c}.notice-icon{color:#4164f5;background:#e9edff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:35px;height:35px;display:flex}.race-notice strong{letter-spacing:.035em;font-size:11px;font-weight:900;display:block}.race-notice div>span{color:#69758e;margin-top:5px;font-size:9px;display:block}.notice-checkpoint{background:#fff4c4}.notice-checkpoint .notice-icon{color:#17224a;background:#ffd356}.notice-go{color:#fff;background:#4164f5}.notice-go .notice-icon{color:#4164f5;background:#fffef3}.notice-go div>span{color:#d9e0ff}.notice-impact .notice-icon{color:#bc375a;background:#ffe1e7}.notice-reset .notice-icon{color:#246f75;background:#d1f1eb}.qualified-overlay{background:#fff2b4;border-radius:15px;gap:13px;width:370px;min-width:0;padding:17px;animation:.22s ease-out notice-arrive;bottom:111px;left:24px;transform:none}.qualified-check{background:#fffef4;flex-shrink:0;width:39px;height:39px;font-size:25px}.qualified-overlay h2{margin-bottom:5px;font-size:27px}.qualified-overlay p{letter-spacing:.1em;font-size:7px}.qualified-overlay span{font-size:9px;line-height:1.5}.results-screen,.final-screen{background:linear-gradient(90deg,#17224a10,#0000 58%);justify-content:flex-start;align-items:center;padding:26px 4.7%}.results-card,.final-card{background:#f9f8fff5;border-radius:23px;width:min(492px,46vw);padding:27px 28px;animation:.22s ease-out panel-arrive;box-shadow:6px 7px #17224a24}.results-card .round-stamp{margin-bottom:15px;padding:8px 11px;font-size:9px}.results-card h2{margin-bottom:11px;font-size:36px}.results-card>.eyebrow{font-size:9px}.result-description{margin-bottom:16px;font-size:11px;line-height:1.6}.results-summary{text-align:left;background:#ebf6f3;border:1px solid #c8e2da;border-radius:11px;align-items:center;gap:12px;margin-bottom:19px;padding:10px 13px;display:flex}.result-place{letter-spacing:-.03em;color:#177e77;font-family:Impact,Arial Black,Arial,sans-serif;font-size:33px;line-height:1}.results-summary>div>span{color:#668581;letter-spacing:.1em;font-size:7px;font-weight:800;display:block}.results-summary>div>strong{letter-spacing:.025em;margin-top:4px;font-size:11px;display:block}.results-summary .result-cut{text-align:right;margin-left:auto}.results-summary .result-cut>strong{margin-top:0;font-size:21px;line-height:1}.result-cut strong small{color:#668581;font-size:11px}.result-cut>span{margin-top:5px}.eliminated-card .results-summary{background:#fff0f3;border-color:#f0cfd6}.eliminated-card .result-place{color:#c45572}.eliminated-card .results-summary>div>span{color:#a76d7f}.standings-heading{letter-spacing:.1em;color:#687690;justify-content:space-between;margin-bottom:8px;font-size:7px;font-weight:900;display:flex}.standings-heading>span:last-child{color:#8a96ab;font-size:6px}.standings{scrollbar-width:thin;scrollbar-color:#b8c1d8 #f0f2f8;border-color:#dce0ec;border-radius:10px;max-height:min(36vh,307px)}.standings::-webkit-scrollbar{width:5px}.standings::-webkit-scrollbar-thumb{background:#b8c1d8;border-radius:4px}.standings li{background:#fffefe;border-bottom-color:#e7e9f2;gap:8px;min-height:35px;padding:6px 10px}.standings li.human-row{background:#e6f5ef}.standing-rank{width:13px;font-size:9px}.racer-dot{width:11px;height:11px}.standing-name{gap:5px;font-size:10px}.you-tag{padding:3px;font-size:5px}.standing-outcome strong{font-size:8px}.standing-outcome small{font-size:7px}.status-mark{width:14px;font-size:12px}.result-actions{gap:10px;margin-top:20px}.result-actions .button{min-height:48px;padding:12px 18px;font-size:11px}.result-actions .button-primary{flex:1}.result-actions .button-secondary{min-width:112px}.timeout-note{margin-top:15px;font-size:8px}.final-card{padding:27px 29px 30px}.trophy-medallion{width:67px;height:67px;margin-bottom:22px;box-shadow:3px 4px #17224a1c}.trophy-medallion svg{width:40px;height:40px}.final-card>.eyebrow{margin-bottom:12px;font-size:7px}.final-card h2{margin-bottom:12px;font-size:58px}.winner-label{letter-spacing:.03em;margin-bottom:21px;font-size:11px}.winner-reason{border-color:#e0e4ef;padding:17px 0}.winner-reason>span{font-size:7px}.winner-reason strong{font-size:29px}.winner-reason strong small,.winner-reason p{font-size:11px}.final-podium{gap:7px;max-width:100%;margin-top:19px}.final-podium>div{border-color:#e0e4ef;border-radius:8px;padding:8px 13px}.final-podium strong,.final-podium>div span{font-size:10px}.final-podium>div:first-child span{font-size:16px}.modal-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#17224a88}.modal-card{background:#f9f8ff;border-radius:22px;animation:.18s ease-out panel-arrive;box-shadow:6px 7px #17224a30}.controls-grid kbd,.pause-controls kbd{background:#f1f3fb;border-color:#d0d8ea}.controls-grid{border-color:#e0e4ef}.toggle-input:checked{background:#4164f5;border-color:#4164f5}.segmented{background:#e8ecf7}.segmented button.selected{background:#fffefe}.autoplay-label{z-index:40}@keyframes panel-arrive{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes notice-arrive{0%{opacity:0;transform:translate(-9px)}to{opacity:1;transform:translate(0)}}@media (height<=760px){.intro-screen{padding-top:23px;padding-bottom:23px}.intro-card{padding:22px 25px 18px}.intro-card h2{margin-bottom:10px;font-size:37px}.intro-card .round-stamp{margin-bottom:14px}.intro-description{margin-bottom:13px;font-size:11px}.intro-facts{margin:14px 0;padding:12px 0}.intro-facts strong{font-size:25px}.race-rule{margin-bottom:17px}.intro-card>.button{margin-top:19px}.intro-reset{margin-top:13px}.results-card{padding:22px 25px}.results-card .round-stamp{margin-bottom:13px}.results-card h2{font-size:33px}.results-summary{margin-bottom:14px;padding:9px 11px}.standings{max-height:33vh}.final-card{padding:23px 26px 27px}.trophy-medallion{width:58px;height:58px;margin-bottom:17px}.trophy-medallion svg{width:34px;height:34px}.final-card h2{font-size:53px}.winner-label{margin-bottom:17px}.winner-reason{padding:14px 0}.final-podium{gap:6px;margin-top:16px}.final-podium>div{padding:7px 12px}}@media (width<=1100px){.intro-card{width:min(430px,48vw)}.results-card,.final-card{width:min(490px,49vw)}.result-actions .button{padding-inline:14px}.result-actions .button-secondary{min-width:98px}.final-card h2{font-size:51px}.hud-course strong{font-size:12px}.hud-finish{gap:9px;padding:11px 12px}.hud-finish>span{font-size:7px}}@media (width<=800px){.intro-screen,.results-screen,.final-screen{padding:22px 25px}.intro-card{width:48vw;padding:22px 21px 18px}.intro-card h2{font-size:34px}.intro-description{font-size:10px}.intro-facts{margin:15px 0;padding:11px 0}.intro-facts strong{font-size:24px}.intro-facts span{font-size:7px}.race-rule{font-size:10px}.intro-card .controls-inline{flex-wrap:wrap;justify-content:flex-start;gap:9px 13px}.intro-card .controls-inline .control span{font-size:8px}.intro-card>.button{min-height:45px;font-size:12px}.intro-reset{font-size:8px}.reveal-caption{max-width:240px;font-size:8px;top:23px;right:25px}.reveal-caption>span:last-child{font-size:6px}.results-card,.final-card{width:48vw;padding:23px 20px}.results-card h2{font-size:29px}.result-description{font-size:10px}.results-summary{gap:8px}.result-place{font-size:29px}.results-summary>div>strong{font-size:9px}.results-summary .result-cut>strong{font-size:18px}.standing-name{font-size:9px}.standings li{gap:5px;padding-inline:7px}.standing-outcome strong{font-size:7px}.status-mark{width:11px}.result-actions{gap:8px;margin-top:17px}.result-actions .button{gap:7px;min-height:45px;padding:11px 12px;font-size:9px}.result-actions .button svg{width:17px;height:17px}.result-actions .button-secondary{min-width:83px}.final-card h2{font-size:44px}.winner-label{font-size:10px}.final-card>.eyebrow{font-size:6px}.hud-course{padding:9px 12px}.hud-course strong{max-width:none;font-size:11px}.hud-time{min-width:79px;padding:7px 12px}.hud-time strong{font-size:23px}.hud-finish{min-width:77px;padding:7px 11px;display:block}.hud-finish>span{margin-bottom:4px;font-size:7px}.hud-finish strong{font-size:21px}.hud-center{position:absolute;left:50%;transform:translate(-50%)}.hud-right .icon-button:first-of-type{display:inline-flex}.hud-right .icon-button{width:31px;height:31px}.hud-right .icon-button svg{width:16px;height:16px}.race-hud{top:17px;left:17px;right:17px}.bottom-hud{bottom:19px;left:17px;right:17px}.hud-position{min-width:79px;padding:10px 11px 8px;display:block}.hud-position strong{font-size:22px}.checkpoint-meter{padding:10px 11px}.checkpoint-top{gap:4px}.checkpoint-meter .checkpoint-top>span{font-size:6px}.checkpoint-top strong{margin-left:0;font-size:10px}.race-key-hints{padding:9px 10px;font-size:7px}.race-key-hints kbd{font-size:6px}.race-notice{gap:10px;max-width:278px;padding:11px 13px;top:82px;left:17px}.race-notice strong{font-size:10px}.race-notice div>span{font-size:8px}.qualified-overlay{width:326px;padding:15px;bottom:105px;left:17px}.qualified-overlay h2{font-size:25px}}@media (height<=580px){.intro-screen,.results-screen,.final-screen{align-items:center;padding-block:18px}.intro-card{padding-block:19px 15px}.intro-card .round-stamp{margin-bottom:11px}.intro-card h2{font-size:33px}.intro-card .eyebrow{font-size:8px}.intro-description{margin-bottom:10px;font-size:10px}.intro-facts{margin:11px 0;padding:8px 0}.intro-facts strong{font-size:23px}.race-rule{margin-bottom:13px;font-size:9px}.intro-card>.button{min-height:43px;margin-top:16px}.intro-reset{margin-top:11px;font-size:8px}.results-card{padding-block:19px}.results-card h2{margin-bottom:9px;font-size:29px}.result-description{margin-bottom:12px;font-size:9px}.results-summary{margin-bottom:11px;padding-block:8px}.standings{max-height:28vh}.standings li{min-height:31px}.result-actions{margin-top:15px}.result-actions .button{min-height:42px;padding-block:9px}.final-card{padding-block:18px 23px}.trophy-medallion{width:47px;height:47px;margin-bottom:13px}.trophy-medallion svg{width:29px;height:29px}.final-card>.eyebrow{margin-bottom:10px}.final-card h2{margin-bottom:10px;font-size:43px}.winner-label{margin-bottom:13px}.winner-reason{padding-block:10px}.winner-reason strong{font-size:24px}.final-podium{gap:5px;margin-top:13px}.final-podium>div{padding-block:6px}.qualified-overlay{bottom:91px}}@media (width<=620px){.intro-screen,.results-screen,.final-screen{padding:16px}.intro-card{width:63vw}.results-card,.final-card{width:min(94vw,420px)}.reveal-caption{max-width:170px;top:17px;right:16px}.reveal-caption>span:last-child{display:none}.hud-course{padding:8px 10px}.hud-course strong{font-size:9px}.hud-course>span{font-size:6px}.hud-time{min-width:69px;padding:7px 10px}.hud-time>span{font-size:6px}.hud-time strong{font-size:21px}.hud-right{gap:5px}.hud-right .icon-button:first-of-type{display:none}.hud-finish{min-width:65px;padding:6px 9px}.hud-finish>span{font-size:6px}.hud-finish strong{font-size:19px}.race-key-hints{display:none}.race-notice{max-width:257px;top:77px}.qualified-overlay{width:323px;max-width:calc(100vw - 34px)}.intro-card .controls-inline .control:last-child{display:none}}.motion-reduced *,.motion-reduced :before,.motion-reduced :after{transition:none!important;animation:none!important}.hud-course>span,.hud-time>span,.hud-position>span,.checkpoint-meter .checkpoint-top>span{font-size:8px}.checkpoint-top strong{font-size:12px}.race-key-hints{font-size:9px}.race-key-hints kbd{font-size:8px}@media (width<=800px){.hud-course>span,.hud-time>span,.hud-position>span,.checkpoint-meter .checkpoint-top>span{font-size:7px}.checkpoint-top strong{font-size:11px}.race-key-hints{font-size:8px}.race-key-hints kbd{font-size:7px}}.touch-ui .race-key-hints{display:none}.touch-ui .race-hud .hud-right .icon-button{width:44px;height:44px;display:inline-flex}.touch-ui .race-hud .hud-right .icon-button svg{width:20px;height:20px}.touch-ui .intro-content,.touch-ui .results-card,.touch-ui .final-card{overscroll-behavior:contain;touch-action:pan-y pinch-zoom}.touch-ui .intro-screen,.touch-ui .results-screen,.touch-ui .final-screen{padding-left:calc(var(--safe-left) + 16px);padding-right:calc(var(--safe-right) + 16px);padding-top:calc(var(--safe-top) + 16px);padding-bottom:calc(var(--safe-bottom) + 16px)}.touch-ui .results-card,.touch-ui .final-card{max-height:calc(var(--game-viewport-height,100dvh) - var(--safe-top) - var(--safe-bottom) - 32px)}.touch-ui .result-actions .button{min-height:48px}.touch-ui .intro-card{max-height:calc(var(--game-viewport-height,100dvh) - var(--safe-top) - var(--safe-bottom) - 64px)}@media (width<=620px){.touch-ui .intro-screen{align-items:flex-end}.touch-ui .intro-card{width:100%;max-width:420px;max-height:calc(var(--game-viewport-height,100dvh) - var(--safe-top) - var(--safe-bottom) - 118px);padding:20px}.touch-ui .intro-card h2{font-size:34px}.touch-ui .intro-description,.touch-ui .race-rule{font-size:12px;line-height:1.55}.touch-ui .intro-card .controls-inline{flex-wrap:nowrap;justify-content:space-between;gap:8px}.touch-ui .intro-card .controls-inline .control{flex-direction:column;align-items:flex-start;gap:6px;display:flex!important}.touch-ui .intro-card .controls-inline .control span{font-size:11px}.touch-ui .intro-card kbd{font-size:10px}.touch-ui .intro-reset{font-size:11px;line-height:1.5}.touch-ui .reveal-caption{top:calc(var(--safe-top) + 12px);right:calc(var(--safe-right) + 12px);font-size:9px}.touch-ui .results-card,.touch-ui .final-card{width:100%;padding:23px 20px}.touch-ui .results-card h2{font-size:33px}.touch-ui .final-card h2{font-size:44px}.touch-ui .result-description{font-size:12px}.touch-ui .standings-heading{font-size:9px}.touch-ui .standings-heading>span:last-child{font-size:8px}.touch-ui .standings{max-height:34dvh}.touch-ui .standings li{gap:7px;min-height:42px}.touch-ui .standing-name{font-size:12px}.touch-ui .standing-outcome strong{font-size:10px}.touch-ui .standing-outcome small{font-size:9px}.touch-ui .standing-rank{font-size:11px}.touch-ui .result-actions{flex-wrap:wrap;gap:10px}.touch-ui .result-actions .button{white-space:normal;min-height:48px;font-size:12px}.touch-ui .result-actions .button-secondary{min-width:105px}.touch-ui .winner-label,.touch-ui .winner-reason p,.touch-ui .final-podium strong{font-size:12px}.touch-ui .race-hud{top:calc(var(--safe-top) + 10px);left:calc(var(--safe-left) + 12px);right:calc(var(--safe-right) + 12px);grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:9px 10px;display:grid}.touch-ui .hud-course{justify-content:center;min-width:0;padding:9px 11px}.touch-ui .hud-course>span{font-size:9px}.touch-ui .hud-course strong{max-width:none;font-size:13px}.touch-ui .hud-center{position:static;transform:none}.touch-ui .hud-time{min-width:92px;height:100%;padding:8px 11px}.touch-ui .hud-time>span{font-size:8px}.touch-ui .hud-time strong{font-size:25px}.touch-ui .hud-right{grid-column:1/-1;justify-content:flex-end;gap:8px;width:100%;display:flex}.touch-ui .hud-finish{align-items:center;gap:9px;min-width:0;margin-right:auto;padding:8px 11px;display:flex}.touch-ui .hud-finish>span{margin:0;font-size:9px}.touch-ui .hud-finish strong{font-size:21px}.touch-ui .bottom-hud{top:calc(var(--safe-top) + 129px);bottom:auto;left:calc(var(--safe-left) + 12px);right:calc(var(--safe-right) + 12px);justify-content:flex-start}.touch-ui .hud-progress{width:auto;max-width:100%;min-height:44px}.touch-ui .hud-position{min-width:90px;padding:8px 10px}.touch-ui .hud-position>span{margin-bottom:3px;font-size:8px}.touch-ui .hud-position strong{font-size:20px}.touch-ui .checkpoint-meter{gap:5px;padding:8px 10px}.touch-ui .checkpoint-meter .checkpoint-top>span{font-size:8px}.touch-ui .checkpoint-top strong{font-size:12px}.touch-ui .race-notice{top:calc(var(--safe-top) + 190px);left:calc(var(--safe-left) + 12px);max-width:calc(100% - var(--safe-left) - var(--safe-right) - 24px);gap:10px;width:300px;padding:10px 12px}.touch-ui .race-notice strong{font-size:11px}.touch-ui .race-notice div>span{font-size:11px;line-height:1.4}.touch-ui .qualified-overlay{top:calc(var(--safe-top) + 190px);bottom:auto;left:calc(var(--safe-left) + 12px);max-width:calc(100% - var(--safe-left) - var(--safe-right) - 24px);width:340px;padding:13px}.touch-ui .qualified-overlay span{font-size:11px}.touch-ui .countdown-number{font-size:120px}}@media (height<=500px) and (width<=1000px){.touch-ui .intro-screen,.touch-ui .results-screen,.touch-ui .final-screen{padding:calc(var(--safe-top) + 12px) calc(var(--safe-right) + 20px) calc(var(--safe-bottom) + 12px) calc(var(--safe-left) + 20px)}.touch-ui .intro-card{width:min(440px,56vw);max-height:calc(var(--game-viewport-height,100dvh) - var(--safe-top) - var(--safe-bottom) - 24px);padding:18px 20px}.touch-ui .intro-start .intro-reset{display:none}.touch-ui .intro-start{padding-top:12px}.touch-ui .intro-start>.button{min-height:44px;margin-top:12px}.touch-ui .intro-content .race-rule{font-size:11px}.touch-ui .results-card,.touch-ui .final-card{width:min(460px,61vw);max-height:calc(var(--game-viewport-height,100dvh) - var(--safe-top) - var(--safe-bottom) - 24px)}.touch-ui .race-hud{top:calc(var(--safe-top) + 8px);left:calc(var(--safe-left) + 12px);right:calc(var(--safe-right) + 12px);flex-wrap:nowrap;align-items:stretch;gap:10px;display:flex}.touch-ui .hud-course{justify-content:center;min-width:145px;max-width:220px;padding:7px 11px}.touch-ui .hud-course strong{font-size:12px}.touch-ui .hud-course>span{font-size:8px}.touch-ui .hud-center{position:static;transform:none}.touch-ui .hud-time{min-width:88px;padding:6px 12px}.touch-ui .hud-time strong{font-size:23px}.touch-ui .hud-right{flex:initial;align-items:center;gap:7px;width:auto;margin-left:auto}.touch-ui .hud-finish{align-items:center;gap:8px;min-width:0;padding:8px 11px;display:flex}.touch-ui .hud-finish>span{margin:0;font-size:8px}.touch-ui .hud-finish strong{font-size:20px}.touch-ui .bottom-hud{top:calc(var(--safe-top) + 68px);bottom:auto;left:calc(var(--safe-left) + 12px);right:auto}.touch-ui .hud-position{min-width:80px;padding:7px 10px}.touch-ui .hud-position strong{font-size:19px}.touch-ui .checkpoint-meter{padding:7px 10px}.touch-ui .race-notice{top:calc(var(--safe-top) + 68px);max-width:calc(50% - var(--safe-right) - 28px);gap:9px;padding:9px 11px;left:calc(50% + 10px)}.touch-ui .race-notice div>span{font-size:10px}.touch-ui .qualified-overlay{top:calc(var(--safe-top) + 68px);width:330px;max-width:calc(50% - var(--safe-right) - 28px);padding:12px;bottom:auto;left:calc(50% + 10px)}.touch-ui .qualified-overlay h2{font-size:24px}.touch-ui .qualified-overlay span{font-size:10px}}.menu-copy{width:min(48%,570px);padding-top:30px}.menu-copy h1{margin-bottom:19px;font-size:clamp(70px,6.45vw,110px)}.menu-description{margin-bottom:18px;font-size:16px}.mode-selector{background:#f9f8ff99;border:1px solid #17224a24;border-radius:13px;gap:7px;max-width:455px;padding:5px;display:flex}.mode-selector button{color:#516180;text-align:left;background:0 0;border:0;border-radius:9px;flex:1;align-items:center;gap:10px;padding:12px 13px;display:flex}.mode-selector button.selected{color:#fff;background:#4164f5;box-shadow:0 2px #243fb8}.mode-selector button span{white-space:nowrap;font-size:12px;font-weight:900}.mode-selector small{opacity:.8;margin-top:5px;font-size:8px;font-weight:500;display:block}.selection-heading{justify-content:space-between;align-items:center;gap:8px;max-width:455px;margin:15px 0 9px;font-size:8px;display:flex}.selection-heading>span{letter-spacing:.09em;font-weight:900}.selection-heading>strong{color:#66738b;font-size:8px;font-weight:500}.difficulty-selector{gap:6px;max-width:455px;display:flex}.difficulty-selector button{background:#f9f8ffad;border:1px solid #bdcbdc;border-radius:8px;flex:1;min-height:34px;font-size:11px;font-weight:800}.difficulty-selector button.selected{color:#223eac;background:#f9f8ff;border-color:#4164f5;box-shadow:inset 0 -3px #4164f5}.difficulty-hint{color:#516180;max-width:455px;min-height:28px;margin:10px 0 0;font-size:9px;line-height:1.55}.course-options{gap:6px;max-width:455px;display:flex}.course-options button{text-align:left;background:#f9f8ffb0;border:1px solid #c5d3e2;border-radius:8px;flex-direction:column;flex:1;align-items:flex-start;gap:7px;min-width:0;min-height:73px;padding:12px 10px;display:flex;position:relative}.course-options button.selected{background:#f9f8ff;border-color:#4164f5;box-shadow:inset 3px 0 #4164f5}.course-number{font-size:10px;font-weight:900}.course-options strong{font-size:11px}.course-options button>span:last-of-type{color:#60708c;font-variant-numeric:tabular-nums;font-size:9px}.course-options i{color:#4164f5;text-align:center;width:13px;font-size:12px;font-style:normal;position:absolute;top:11px;right:9px}.ghost-control{align-items:center;gap:10px;max-width:455px;margin-top:9px;display:flex}.ghost-toggle{color:#62728d;white-space:nowrap;background:#f9f8ffc7;border:1px solid #becbdf;border-radius:8px;align-items:center;gap:6px;padding:8px 9px;font-size:9px;font-weight:800;display:inline-flex}.ghost-toggle.selected{color:#3d50b6;background:#eef0ff;border-color:#a8b5f0}.ghost-toggle>span{font-size:16px;line-height:.8}.ghost-control>span{color:#5f7088;font-size:9px;line-height:1.5}.color-picker{margin:15px 0 0}.color-label{margin-bottom:8px;font-size:8px}.color-swatches{gap:9px}.color-swatch{width:26px;height:26px;font-size:14px}.menu-appearance-link{align-items:center;gap:14px;margin:4px 0 9px;display:flex}.menu-appearance-link .button{min-height:29px;padding:5px 0;font-size:10px}.menu-appearance-link>span{color:#667a92;font-size:8px}.menu-buttons{gap:20px}.menu-buttons .play-button{width:253px;min-height:53px;padding:12px 21px;font-size:14px}.menu-buttons .button-plain{font-size:11px}.mode-time-trial .course-tour small{font-size:7px}.session-label{flex-wrap:wrap;justify-content:center;gap:7px;margin:15px 0 0;display:flex}.session-label>span{color:#445d9b;background:#e9edff;border:1px solid #d9e0f6;border-radius:6px;padding:6px 9px;font-size:9px;font-weight:700;display:inline-block}.intro-card .session-label{justify-content:flex-start;margin-top:13px}.result-session-label{margin:0 0 14px}.result-session-label>span{padding:5px 8px;font-size:8px}.solo-intro-best{border-block:1px solid #dce1ee;margin:16px 0;padding:17px 0}.solo-intro-best>span{color:#697998;letter-spacing:.08em;font-size:8px;font-weight:900;display:block}.solo-intro-best strong{color:#4164f5;letter-spacing:-.025em;margin-top:7px;font-size:24px;display:block}.intro-card .ghost-control{margin-bottom:21px}.course-modifier{color:#71829b;background:#eef1fb;border-radius:8px;flex-direction:column;gap:5px;margin:0 0 14px;padding:10px 12px;font-size:10px;line-height:1.45;display:flex}.course-modifier strong{text-transform:uppercase;letter-spacing:.08em;color:#465e9b;font-size:8px}.intro-route-choice{border-top:1px solid #dde3ef;margin:0 0 16px;padding-top:12px}.intro-route-choice>span{letter-spacing:.09em;color:#526687;font-size:8px;font-weight:900}.intro-route-choice p{align-items:baseline;gap:10px;margin:8px 0 0;font-size:9px;line-height:1.5;display:flex}.intro-route-choice strong{color:#243a65;min-width:78px;font-size:9px}.intro-route-choice p>span{color:#728198}.intro-card{flex-direction:column;max-height:calc(100dvh - 65px);display:flex;overflow:hidden}.intro-content{scrollbar-width:thin;min-height:0;overflow-y:auto}.intro-content>.eyebrow{color:#58698c;margin-bottom:5px}.intro-start{flex-shrink:0;padding-top:16px}.intro-start>.button{width:100%;min-height:50px;margin-top:19px;font-size:13px}.intro-start .intro-reset{margin-bottom:0}.mode-time-trial .hud-time{background:#fff4c7;min-width:125px}.mode-time-trial .hud-time strong{font-size:25px}.ghost-racing{margin:0}.ghost-racing .ghost-toggle{min-height:35px}.hud-split{min-width:124px;padding:12px 14px 10px}.hud-split>span{color:#66748f;letter-spacing:.04em;font-size:8px;font-weight:800;display:block}.hud-split strong{font-variant-numeric:tabular-nums;margin-top:6px;font-size:21px;display:block}.split-ahead{color:#148675!important}.split-behind{color:#bf4863!important}.hud-attempt-counts{border-left:1px solid #e1e4ef;flex-direction:column;justify-content:center;gap:8px;padding:10px 13px;display:flex}.hud-attempt-counts>span{color:#72809a;justify-content:space-between;align-items:center;gap:10px;font-size:7px;font-weight:700;display:flex}.hud-attempt-counts strong{color:#283d67;font-size:11px}.solo-result-card{text-align:left}.results-card,.final-card{scrollbar-width:thin;max-height:calc(100dvh - 52px);overflow-y:auto}.solo-result-card>.eyebrow{margin-top:0}.solo-result-card h2{font-size:37px}.solo-result-card .round-stamp{margin-bottom:16px}.solo-time-result{border-block:1px solid #dce2ef;margin:18px 0;padding:18px 0 15px}.solo-time-result>span{letter-spacing:.08em;color:#71809a;font-size:8px;font-weight:900}.solo-time-result strong{font-variant-numeric:tabular-nums;letter-spacing:-.04em;margin-top:7px;font-size:49px;font-weight:900;line-height:1.1;display:block}.solo-time-result p{color:#6f7e95;margin:9px 0 0;font-size:10px;line-height:1.5}.solo-time-result p.best-improvement{color:#178877;font-weight:800}.run-stat-grid{grid-template-columns:1.3fr .65fr 1fr 1fr;gap:8px;padding-bottom:16px;display:grid}.run-stat-grid>div>span{letter-spacing:.025em;color:#77839c;font-size:7px;font-weight:800;display:block}.run-stat-grid strong{margin-top:8px;font-size:12px;display:block}.split-list{border:1px solid #dce2ee;border-radius:9px;margin:0;padding:0;list-style:none;overflow:hidden}.split-list li{background:#fffefe;border-bottom:1px solid #e1e6f0;align-items:center;gap:12px;padding:10px 12px;font-size:10px;display:flex}.split-list li:last-child{border:0}.split-list li>span{color:#62748e;flex:1}.split-list strong,.split-list small{font-variant-numeric:tabular-nums}.split-list small{text-align:right;color:#7886a0;min-width:57px;font-size:9px}.solo-result-policy{color:#7e8aa0;text-align:center;margin:20px 0 0;font-size:8px}.tournament-record-detail{text-align:left;border:1px solid #dce1ef;border-radius:8px;max-height:27vh;margin-top:12px;padding:10px;overflow:auto}.tournament-record-detail summary{cursor:pointer;color:#536e93;font-size:9px;font-weight:700}.tournament-record-detail .solo-time-result{margin:12px 0;padding:12px 0}.tournament-record-detail .solo-time-result strong{font-size:30px}.tournament-record-detail .run-stat-grid strong{font-size:10px}.tournament-record-detail .split-list li{font-size:9px}.collection-modal{width:min(715px,100%)}.collection-modal h2{margin-bottom:12px;font-size:38px}.collection-intro{color:#6e7f95;margin:0 0 19px;font-size:11px;line-height:1.6}.collection-heading{justify-content:space-between;align-items:center;margin:19px 0 11px;font-size:9px;display:flex}.collection-heading>strong{letter-spacing:.08em}.collection-heading>span{color:#71849d;font-size:9px}.reward-grid{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.reward-card{text-align:center;background:#fffefe;border:1px solid #d8e1ee;border-radius:11px;flex-direction:column;min-width:0;padding:13px 10px 10px;display:flex}.reward-card.equipped{background:#eef9f5;border-color:#30bcae;box-shadow:inset 0 0 0 1px #30bcae}.reward-preview{justify-content:center;align-items:center;height:64px;margin-bottom:11px;display:flex}.reward-preview>span{color:#ffe56b;border:1px solid #17224a25;border-radius:45% 45% 40% 40%;justify-content:center;align-items:center;width:49px;height:57px;font-size:26px;font-weight:900;display:flex;box-shadow:inset -7px -4px #17224a13,0 5px #17224a10}.original-preview>span{color:#f9f8ff;font-size:21px}.reward-card>strong{font-size:11px;line-height:1.35}.reward-card>p{color:#73839b;min-height:26px;margin:7px 0;font-size:9px;line-height:1.5}.reward-card>small{color:#6e819d;margin-bottom:10px;font-size:8px;line-height:1.5}.reward-card button{background:#edf1ff;border:1px solid #bdcbdc;border-radius:7px;min-height:31px;margin-top:auto;padding:8px 5px;font-size:9px;font-weight:800}.reward-card button:disabled{cursor:default;color:#8b98ac;background:#f0f3f8;border-color:#dfe5ef}.reward-card.equipped button:disabled{color:#237e76;background:#e3f4ed}.reward-card.locked .reward-preview{opacity:.65}.achievement-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.achievement-card{background:#fffefe;border:1px solid #dce3ef;border-radius:9px;align-items:flex-start;gap:10px;padding:12px;display:flex}.achievement-check{color:#93a2b8;background:#edf1f8;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:21px;height:21px;font-size:12px;font-weight:900;display:flex}.achievement-card.earned{background:#edf7f2;border-color:#b9dfd0}.achievement-card.earned .achievement-check{color:#167f72;background:#cbece0}.achievement-card strong{font-size:11px}.achievement-card p{color:#6f8099;margin:6px 0 0;font-size:9px;line-height:1.5}.achievement-card small{color:#496c8b;margin-top:7px;font-size:8px;display:block}.legacy-records{color:#718098;border-top:1px solid #dce3ef;margin-top:17px;padding-top:15px;font-size:10px}.legacy-records summary{cursor:pointer;font-weight:700}.legacy-records p{line-height:1.6}.legacy-records ul{padding:0;list-style:none}.legacy-records li{justify-content:space-between;margin-top:8px;display:flex}.unlock-notice{pointer-events:auto;background:#fff1b4;border:1.5px solid #17224a;border-radius:12px;align-items:center;gap:12px;max-width:390px;padding:14px 15px;animation:.2s ease-out notice-arrive;display:flex;position:absolute;bottom:28px;right:27px;box-shadow:3px 4px #17224a22}.unlock-notice>svg{flex-shrink:0;width:24px;height:24px}.unlock-notice strong,.unlock-notice span,.unlock-notice small{display:block}.unlock-notice strong{letter-spacing:.09em;font-size:8px}.unlock-notice span{margin-top:6px;font-size:11px;font-weight:800;line-height:1.4}.unlock-notice small{color:#7a754f;margin-top:5px;font-size:8px}.unlock-notice .icon-button{width:27px;height:27px;box-shadow:none;background:0 0;flex-shrink:0}.unlock-notice .icon-button svg{width:16px;height:16px}.saving-status{color:#3c5776;background:#f9f8ffed;border:1px solid #17224a15;border-radius:7px;max-width:calc(100vw - 52px);padding:7px 10px;font-size:9px;position:absolute;bottom:9px;left:26px}.phase-menu>.saving-status{max-width:350px;bottom:92px;left:auto;right:26px}.phase-racing>.saving-status,.phase-countdown>.saving-status{max-width:310px;bottom:106px}@media (width<=1100px){.menu-copy{width:51%}.menu-copy h1{font-size:78px}.mode-selector button{gap:7px;padding:10px}.mode-selector button span{font-size:11px}.selection-heading>strong{font-size:7px}.menu-buttons .play-button{width:231px;padding-inline:16px;font-size:12px}}@media (height<=760px){.menu-copy{padding-top:20px}.menu-copy h1{margin-bottom:13px;font-size:77px}.menu-description{margin-bottom:12px;font-size:14px}.mode-selector button{padding-block:9px}.selection-heading{margin-top:12px}.difficulty-hint{min-height:24px;margin-top:8px;font-size:8px}.course-options button{min-height:33px;padding-block:7px}.color-picker{margin-top:12px}.menu-appearance-link{margin-bottom:6px}.menu-buttons .play-button{min-height:48px}.solo-time-result strong{font-size:42px}.solo-time-result{margin:14px 0;padding:15px 0 13px}.solo-result-card h2{font-size:34px}}@media (width<=800px){.menu-copy{width:54%;padding-top:19px}.menu-copy h1{margin-bottom:13px;font-size:65px}.menu-description{margin-bottom:13px;font-size:12px}.mode-selector{gap:3px;padding:4px}.mode-selector button{gap:6px;padding:9px}.mode-selector button svg{width:15px;height:15px}.mode-selector button span{font-size:10px}.mode-selector small{margin-top:4px;font-size:7px}.selection-heading{margin-block:10px 7px;font-size:7px}.selection-heading>strong{font-size:7px}.difficulty-selector button{min-height:31px;font-size:10px}.difficulty-hint{min-height:23px;font-size:8px}.course-options button{gap:8px;min-height:32px;padding:7px 9px}.course-options strong{font-size:10px}.course-options button>span:last-of-type{font-size:8px}.ghost-control{gap:8px;margin-top:7px}.ghost-toggle{padding:7px 8px;font-size:8px}.ghost-control>span{font-size:8px}.color-picker{margin-top:12px}.color-label{margin-bottom:6px;font-size:7px}.color-swatch{width:24px;height:24px}.menu-appearance-link{margin:3px 0 6px}.menu-appearance-link .button{min-height:25px;font-size:9px}.menu-appearance-link>span{font-size:7px}.menu-buttons{flex-direction:row;align-items:center;gap:10px}.menu-buttons .play-button{gap:9px;width:205px;min-height:45px;padding:10px 13px;font-size:11px}.menu-buttons .play-button svg{width:19px;height:19px}.menu-buttons .button-plain{font-size:9px}.mode-time-trial .hud-time{min-width:109px}.mode-time-trial .hud-time strong{font-size:22px}.mode-time-trial .hud-right{gap:6px}.ghost-racing .ghost-toggle{min-height:31px;font-size:8px}.hud-split{min-width:111px;padding:11px 11px 9px}.hud-split>span{font-size:7px}.hud-split strong{font-size:20px}.hud-attempt-counts{padding-inline:10px}.solo-result-card h2{font-size:29px}.intro-start{padding-top:13px}.intro-start>.button{min-height:45px;margin-top:16px;font-size:12px}.solo-time-result strong{font-size:37px}.run-stat-grid{gap:7px}.run-stat-grid>div>span{font-size:6px}.run-stat-grid strong{font-size:10px}.solo-result-card .result-actions{flex-wrap:wrap}.solo-result-card .result-actions .button-primary{flex-basis:100%}.solo-result-card .result-actions .button-secondary{flex:1}.collection-modal{padding-inline:25px}}@media (height<=620px){.menu-screen{padding-top:18px;padding-bottom:16px}.menu-copy{padding-top:16px}.menu-copy h1{margin-top:9px;margin-bottom:11px;font-size:58px}.menu-copy>.eyebrow{margin-bottom:7px;font-size:8px}.menu-description{margin-bottom:10px;font-size:11px}.mode-selector button{padding-block:8px}.course-options{flex-direction:row;gap:5px}.course-options button{flex-direction:column;flex:1;align-items:flex-start;gap:5px;min-width:0;min-height:52px;padding:8px;position:relative}.course-options .course-number{display:none}.course-options strong{padding-right:9px;font-size:9px}.course-options button>span:last-of-type{font-size:8px}.course-options i{font-size:10px;position:absolute;top:7px;right:5px}.color-picker{margin-top:9px}.color-label{margin-bottom:6px}.color-swatch{width:23px;height:23px}.menu-appearance-link{margin-block:2px 3px}.mode-time-trial .color-picker{margin-top:8px}.menu-buttons .play-button{min-height:43px}.menu-bottom{padding-top:12px}.course-tour{padding-top:10px}.solo-result-card{max-height:calc(100dvh - 40px);overflow-y:auto}.solo-result-card .round-stamp{margin-bottom:12px}.solo-time-result{margin:12px 0;padding-block:12px}.solo-time-result strong{font-size:33px}.solo-time-result p{font-size:9px}.split-list li{padding-block:8px;font-size:9px}.run-stat-grid{padding-bottom:13px}.solo-result-policy{margin-top:15px}}@media (width<=620px){.menu-screen{padding-inline:18px;overflow-y:auto}.menu-copy{width:78%;min-width:310px}.menu-copy h1{font-size:65px}.menu-description{font-size:12px}.preview-label{display:none}.menu-buttons{gap:13px}.course-tour{flex-wrap:wrap;justify-content:flex-start;gap:13px}.menu-bottom{margin-top:24px}.reward-grid{grid-template-columns:repeat(2,1fr)}.achievement-grid{grid-template-columns:1fr}.collection-modal h2{font-size:30px}.mode-time-trial .race-hud{left:12px;right:12px}.mode-time-trial .hud-course strong{max-width:87px}.mode-time-trial .hud-course>span{font-size:5px}.mode-time-trial .hud-center{left:43%}.mode-time-trial .hud-time{min-width:93px}.mode-time-trial .hud-time strong{font-size:19px}.ghost-racing .ghost-toggle{padding-inline:5px;font-size:7px}.ghost-racing .ghost-toggle>span,.mode-time-trial .hud-right>.icon-button:nth-of-type(2),.hud-attempt-counts{display:none}.unlock-notice{max-width:none;bottom:25px;left:18px;right:18px}}.touch-ui .ghost-toggle{min-height:44px;padding:9px 11px;font-size:11px}.touch-ui .reward-card button{min-height:44px;padding:9px 7px;font-size:11px}.touch-ui .legacy-records summary,.touch-ui .tournament-record-detail summary{align-items:center;min-height:44px;font-size:11px;display:flex}.touch-ui .intro-route-choice p,.touch-ui .intro-route-choice strong,.touch-ui .course-modifier{font-size:11px}.touch-ui .intro-route-choice p{gap:10px}.touch-ui .intro-route-choice p>span{color:#586b85}.touch-ui .saving-status{bottom:calc(var(--safe-bottom) + 9px);left:calc(var(--safe-left) + 12px);max-width:calc(100% - var(--safe-left) - var(--safe-right) - 24px);font-size:11px;right:auto}:is(.touch-ui:has(>.modal-backdrop)>.saving-status,.touch-ui:has(>.modal-backdrop)>.unlock-notice){display:none}.touch-ui .unlock-notice{top:calc(var(--safe-top) + 12px);bottom:auto;left:calc(var(--safe-left) + 12px);right:calc(var(--safe-right) + 12px);max-width:420px;padding:12px}.touch-ui .unlock-notice .icon-button{width:44px;height:44px}.touch-ui .unlock-notice strong{font-size:10px}.touch-ui .unlock-notice span{font-size:12px}.touch-ui .unlock-notice small{font-size:10px}:is(.touch-ui:has(>.unlock-notice) .results-card,.touch-ui:has(>.unlock-notice) .final-card){max-height:calc(var(--game-viewport-height,100dvh) - var(--safe-top) - var(--safe-bottom) - 144px);margin-top:100px}@media (width<=620px){.touch-ui.mode-time-trial .race-hud .hud-course strong{max-width:none}.touch-ui.mode-time-trial .race-hud .hud-course>span{font-size:9px}.touch-ui.mode-time-trial .hud-center{position:static;transform:none}.touch-ui.mode-time-trial .hud-time{min-width:111px}.touch-ui.mode-time-trial .hud-time strong{font-size:24px}.touch-ui.mode-time-trial .race-hud .hud-right>.icon-button{width:44px;height:44px;display:inline-flex}.touch-ui.mode-time-trial .ghost-racing{margin-right:auto}.touch-ui .ghost-racing .ghost-toggle{min-height:44px;padding-inline:11px;font-size:11px}.touch-ui .ghost-racing .ghost-toggle>span{display:inline}.touch-ui .hud-split{min-width:95px;padding:8px 9px}.touch-ui .hud-split>span{letter-spacing:0;max-width:94px;font-size:7px}.touch-ui .hud-split strong{margin-top:4px;font-size:17px}.touch-ui .hud-attempt-counts{gap:5px;padding:8px 9px;display:flex}.touch-ui .hud-attempt-counts>span{gap:7px;font-size:8px}.touch-ui .hud-attempt-counts strong{font-size:11px}.touch-ui .run-stat-grid{grid-template-columns:1fr 1fr;gap:16px;padding-bottom:18px}.touch-ui .run-stat-grid>div>span{font-size:9px}.touch-ui .run-stat-grid strong{font-size:13px}.touch-ui .solo-time-result strong{font-size:42px}.touch-ui .solo-time-result p{font-size:12px}.touch-ui .split-list li{gap:8px;padding:11px 9px;font-size:11px}.touch-ui .split-list small{min-width:50px;font-size:10px}.touch-ui .collection-intro,.touch-ui .achievement-card p{font-size:12px}.touch-ui .collection-heading{gap:10px;font-size:10px}.touch-ui .collection-heading>span{font-size:10px}.touch-ui .reward-card>strong,.touch-ui .achievement-card strong{font-size:13px}.touch-ui .reward-card>p,.touch-ui .reward-card>small,.touch-ui .achievement-card small{font-size:11px}.touch-ui .solo-result-card .result-actions .button-primary{flex-basis:100%}.touch-ui .solo-result-policy{font-size:10px}.touch-ui.phase-racing>.saving-status,.touch-ui.phase-countdown>.saving-status{bottom:calc(var(--safe-bottom) + 150px);max-width:250px}}@media (height<=500px) and (width<=1000px){.touch-ui.mode-time-trial .hud-time{min-width:110px}.touch-ui.mode-time-trial .hud-time strong{font-size:22px}.touch-ui .hud-split{min-width:110px;padding:7px 10px}.touch-ui .hud-split strong{margin-top:3px;font-size:18px}.touch-ui .hud-attempt-counts{gap:5px;padding:7px 10px}.touch-ui .solo-result-card .result-actions .button-primary{flex-basis:auto}.touch-ui .run-stat-grid{grid-template-columns:1fr 1fr;gap:12px}.touch-ui.phase-racing>.saving-status,.touch-ui.phase-countdown>.saving-status{bottom:calc(var(--safe-bottom) + 98px)}}.homepage-screen{isolation:isolate;gap:24px;padding:27px 4.7% 22px}.homepage-screen:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(at 70% 48%,#fff8dc52,#0000 48%),radial-gradient(at 0 0,#e8f0ff6b,#0000 55%);position:absolute;inset:0}.homepage-screen .menu-header{flex-shrink:0}.homepage-screen .brand-mark{font-size:10px}.homepage-screen .brand-symbol{width:45px;height:45px}.homepage-screen .top-actions .icon-button{background:#f9f8fff2;width:45px;height:45px}.homepage-hero{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,510px) minmax(0,1fr);gap:44px;min-height:0;display:grid}.homepage-screen .menu-copy{width:100%;min-width:0;max-width:none;padding-top:0}.homepage-screen .menu-copy>.eyebrow{letter-spacing:.14em;margin-bottom:9px;font-size:10px}.homepage-screen .menu-copy h1{text-transform:uppercase;margin:7px 0 18px;font-size:clamp(74px,6.5vw,104px);line-height:.82;transform:rotate(-2.5deg)}.homepage-screen .menu-description{letter-spacing:-.025em;margin-bottom:20px;font-size:16px;line-height:1.45}.homepage-setup{pointer-events:auto;background:#faf9fff2;border:1.5px solid #17224a;border-radius:21px;padding:18px;box-shadow:5px 6px #17224a15}.homepage-setup-heading{letter-spacing:.1em;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:10px;font-weight:900;display:flex}.homepage-setup-heading>span:last-child{color:#437c72;letter-spacing:.06em;font-size:9px}.homepage-screen .mode-selector{background:#e8edf8;border:0;border-radius:12px;gap:5px;max-width:none;padding:4px}.homepage-screen .mode-selector button{border-radius:9px;gap:9px;min-width:0;min-height:58px;padding:12px}.homepage-screen .mode-selector button span{font-size:14px}.homepage-screen .mode-selector small{margin-top:4px;font-size:10px;line-height:1.3}.homepage-screen .mode-selector button.selected{background:#4164f5;box-shadow:0 3px #2543ba}.homepage-screen .selection-heading{max-width:none;margin:17px 0 10px;font-size:10px}.homepage-screen .selection-heading>strong{color:#5a6981;font-size:10px}.homepage-screen .difficulty-selector{gap:7px;max-width:none}.homepage-screen .difficulty-selector button{background:#fffefe;border-color:#c8d2e4;justify-content:center;align-items:center;gap:7px;min-height:44px;font-size:13px;display:flex}.homepage-screen .difficulty-selector button>span{color:#4164f5;font-size:13px;font-weight:900}.homepage-screen .difficulty-selector button.selected{color:#253da8;background:#eaf0ff;border-color:#4164f5;box-shadow:inset 0 -3px #4164f5}.homepage-screen .difficulty-hint{color:#586982;max-width:none;min-height:33px;margin:10px 0 0;font-size:11px;line-height:1.5}.homepage-screen .course-options{gap:8px;max-width:none}.homepage-screen .course-options button{background:#fffefe;border-color:#c8d2e4;border-radius:11px;gap:5px;min-height:116px;padding:10px;position:relative}.homepage-screen .course-options button.selected{background:#eaf0ff;border-color:#4164f5;box-shadow:inset 3px 0 #4164f5}.homepage-screen .course-options .course-number{font-size:10px;display:block;position:absolute;top:10px;left:10px}.homepage-screen .course-options .homepage-course-glyph{align-self:center;width:63px;height:36px;margin:7px 0 1px}.homepage-screen .course-options strong{font-size:12px;line-height:1.3}.homepage-screen .course-options button>span:last-of-type{color:#586982;font-size:10px;line-height:1.35}.homepage-screen .course-options i{font-size:14px;top:9px;right:9px}.homepage-screen .ghost-control{gap:10px;max-width:none;margin-top:12px}.homepage-screen .ghost-toggle{min-height:37px;padding:9px;font-size:11px}.homepage-screen .ghost-control>span{color:#586982;font-size:11px}.homepage-screen .menu-buttons{flex-direction:row;align-items:center;gap:13px;margin-top:18px;display:flex}.homepage-screen .menu-buttons .play-button{background:#ffd75a;border-radius:12px;flex:1;width:auto;min-width:0;min-height:56px;padding:14px 19px;font-size:15px;box-shadow:0 5px #17224a}.homepage-screen .menu-buttons .play-button:hover{background:#ffe589}.homepage-screen .menu-buttons .button-plain{gap:7px;min-height:44px;padding-inline:0;font-size:12px}.homepage-showcase{pointer-events:none;min-width:0;position:relative}.homepage-progress{justify-content:flex-end;gap:11px;display:flex}.homepage-progress>div{background:#f9f8ff91;border:1px solid #17224a24;border-radius:13px;grid-template-columns:22px auto;align-items:center;column-gap:8px;padding:11px 14px;display:grid}.homepage-progress svg{color:#4864bf}.homepage-progress strong{font-variant-numeric:tabular-nums;font-size:20px;font-weight:900}.homepage-progress strong small{color:#536684;font-size:12px;font-weight:700}.homepage-progress div>span{color:#526580;grid-column:1/-1;margin-top:5px;font-size:10px}.homepage-screen .homepage-preview-label{gap:7px;top:18%;right:0}.homepage-screen .homepage-preview-label strong{font-size:20px}.homepage-screen .homepage-preview-label>span:last-child{font-size:11px}.homepage-screen .homepage-preview-label .preview-arrow{font-size:47px}.homepage-look-dock{pointer-events:auto;background:#f9f8ffdc;border:1px solid #17224a30;border-radius:15px;width:max-content;max-width:100%;padding:14px 19px 9px;position:absolute;bottom:5px;left:50%;transform:translate(-50%);box-shadow:0 4px #17224a12}.homepage-screen .color-picker{margin:0}.homepage-screen .color-label{color:#526580;margin-bottom:8px;font-size:10px}.homepage-screen .color-label strong{color:#304bbb;margin-left:6px;font-size:11px}.homepage-screen .color-swatches{gap:7px}.homepage-screen .color-swatch{border:2px solid #17224a50;width:35px;height:35px;font-size:17px}.homepage-screen .color-swatch.active{outline-offset:2px;border-color:#17224a;outline:2px solid #f9f8ff;box-shadow:0 0 0 3px #17224a}.homepage-screen .menu-appearance-link{justify-content:space-between;gap:16px;margin:8px 0 0}.homepage-screen .menu-appearance-link .button{min-height:34px;padding:5px 0;font-size:11px}.homepage-screen .menu-appearance-link>span{color:#5c6d86;white-space:nowrap;font-size:10px}.homepage-screen .menu-bottom{flex-shrink:0;gap:30px;margin-top:0;padding-top:0}.homepage-screen .course-tour{border:0;gap:15px;padding-top:0}.homepage-screen .tour-stop{background:#f9f8ff6b;border:1px solid #17224a21;border-radius:12px;gap:9px;padding:10px 12px;position:relative}.homepage-screen .tour-stop .homepage-course-glyph{width:47px;height:30px}.homepage-screen .tour-stop>span:first-of-type{color:#4164f5;font-size:10px;font-weight:900}.homepage-screen .tour-stop strong{font-size:12px}.homepage-screen .tour-stop small{letter-spacing:.07em;margin-top:4px;font-size:8px}.homepage-screen .tour-arrow{display:none}.homepage-screen .menu-footnote{font-size:10px}.homepage-screen .menu-footnote span{font-size:10px;line-height:1.4}.phase-menu:has(.homepage-screen) .saving-status{bottom:88px}@media (width>=1500px) and (height>=850px){.homepage-screen{gap:34px;padding-inline:6%}.homepage-hero{grid-template-columns:minmax(0,560px) minmax(0,1fr);gap:70px}.homepage-screen .menu-copy h1{font-size:108px}.homepage-screen .menu-description{margin-bottom:24px;font-size:18px}.homepage-setup{padding:22px}.homepage-look-dock{bottom:10px}}@media (width<=1100px){.homepage-screen{gap:19px;padding-inline:30px}.homepage-hero{grid-template-columns:minmax(0,48%) minmax(0,1fr);gap:24px}.homepage-screen .menu-copy h1{font-size:75px}.homepage-screen .homepage-preview-label{right:0}.homepage-progress{gap:7px}.homepage-progress>div{padding:9px 10px}.homepage-screen .tour-stop .homepage-course-glyph,.homepage-screen .menu-footnote{display:none}}@media (width>=621px) and (height>=721px) and (height<=840px){.homepage-screen .menu-copy h1{margin-bottom:15px}.homepage-screen .menu-description{margin-bottom:17px}.homepage-setup{padding:16px}.homepage-screen .selection-heading{margin-top:14px}.homepage-screen .course-options button{min-height:104px}.homepage-screen .menu-buttons{margin-top:15px}}@media (height<=720px){.homepage-screen{gap:16px;padding-block:18px 16px}.homepage-screen .menu-copy h1{margin-bottom:13px;font-size:64px}.homepage-screen .menu-description{margin-bottom:13px;font-size:13px}.homepage-screen .menu-copy>.eyebrow{margin-bottom:6px;font-size:9px}.homepage-setup{border-radius:17px;padding:14px}.homepage-setup-heading{margin-bottom:9px;font-size:9px}.homepage-screen .mode-selector button{min-height:47px;padding:8px 10px}.homepage-screen .mode-selector button span{font-size:12px}.homepage-screen .mode-selector small{font-size:9px}.homepage-screen .selection-heading{margin:12px 0 8px;font-size:9px}.homepage-screen .selection-heading>strong{font-size:9px}.homepage-screen .difficulty-selector button{min-height:38px;font-size:12px}.homepage-screen .difficulty-hint{min-height:29px;margin-top:8px;font-size:10px}.homepage-screen .course-options button{gap:4px;min-height:66px;padding:9px}.homepage-screen .course-options .homepage-course-glyph{display:none}.homepage-screen .course-options .course-number{font-size:9px;position:static}.homepage-screen .course-options strong{font-size:11px}.homepage-screen .course-options button>span:last-of-type{font-size:9px}.homepage-screen .ghost-control{margin-top:9px}.homepage-screen .ghost-control>span{font-size:10px}.homepage-screen .ghost-toggle{min-height:32px;font-size:10px}.homepage-screen .menu-buttons{gap:10px;margin-top:13px}.homepage-screen .menu-buttons .play-button{gap:9px;min-height:49px;padding:12px 13px;font-size:13px}.homepage-screen .menu-buttons .button-plain{font-size:11px}.homepage-screen .homepage-preview-label{top:20%}.homepage-screen .homepage-preview-label strong{font-size:16px}.homepage-screen .homepage-preview-label>span:last-child{font-size:10px}.homepage-look-dock{padding:11px 15px 7px;bottom:0}.homepage-screen .color-swatch{width:31px;height:31px}.homepage-screen .color-swatches{gap:6px}.homepage-screen .menu-appearance-link .button{min-height:29px;font-size:10px}.homepage-screen .tour-stop{padding-block:9px}.homepage-screen .tour-stop strong{font-size:11px}}@media (width<=820px){.homepage-screen{padding-inline:24px}.homepage-hero{grid-template-columns:minmax(0,52%) minmax(0,1fr);gap:20px}.homepage-screen .homepage-preview-label{display:none}.homepage-progress>div{column-gap:5px;padding:8px}.homepage-progress strong{font-size:17px}.homepage-progress div>span{font-size:9px}.homepage-screen .mode-selector button{gap:7px;padding-inline:8px}.homepage-screen .selection-heading>strong{font-size:8px}.homepage-screen .menu-buttons .button-plain{font-size:10px}.homepage-screen .color-label{font-size:9px}.homepage-screen .color-label strong{font-size:10px}.homepage-screen .menu-appearance-link>span{font-size:9px}.homepage-screen .course-tour{justify-content:space-between;gap:10px;width:100%}.homepage-screen .tour-stop{flex:1;padding-inline:10px}}@media (width>=621px) and (height<=640px){.homepage-screen .menu-copy h1{margin-bottom:9px;font-size:59px}.homepage-screen .menu-description{margin-bottom:10px}.homepage-setup{padding:12px}.homepage-setup-heading{margin-bottom:7px}.homepage-screen .mode-selector button{min-height:42px;padding-block:7px}.homepage-screen .selection-heading{margin-top:10px;margin-bottom:6px}.homepage-screen .ghost-control{margin-top:7px}.homepage-screen .menu-buttons{margin-top:10px}.homepage-screen .menu-buttons .play-button{min-height:47px}}@media (width<=620px){.homepage-screen{gap:20px;padding:21px 19px;overflow-y:auto;pointer-events:auto!important}.homepage-screen .brand-mark>span:last-child{display:none}.homepage-hero{flex-direction:column;flex:none;gap:23px;display:flex}.homepage-screen .menu-copy{width:100%;min-width:0}.homepage-screen .menu-copy h1{max-width:100%;font-size:68px}.homepage-screen .menu-description{font-size:14px}.homepage-setup{padding:16px}.homepage-screen .mode-selector button span{font-size:12px}.homepage-screen .mode-selector small,.homepage-screen .selection-heading>strong{font-size:9px}.homepage-screen .course-options strong{font-size:11px}.homepage-showcase{min-height:330px}.homepage-progress{justify-content:center}.homepage-look-dock{bottom:0}.homepage-screen .menu-bottom{margin-top:0}.homepage-screen .course-tour{flex-wrap:wrap;gap:8px}.homepage-screen .tour-stop{flex-basis:100%}.homepage-screen .tour-stop .homepage-course-glyph{display:block}.phase-menu:has(.homepage-screen) .saving-status{bottom:12px}}@media (width>=621px) and (height<=540px){.homepage-screen{overflow-y:auto;pointer-events:auto!important}.homepage-hero{flex:none}.homepage-showcase{min-height:360px}.homepage-screen .menu-copy h1{font-size:55px}.homepage-screen .menu-bottom{margin-top:0}}@media (width<=1000px) and (height<=580px){.touch-ui .homepage-screen .menu-header{position:relative;inset:auto}}@media (width<=1000px){.touch-ui .homepage-screen{padding:calc(var(--safe-top) + 16px) calc(var(--safe-right) + 18px) calc(var(--safe-bottom) + 22px) calc(var(--safe-left) + 18px);overscroll-behavior:contain;touch-action:pan-y pinch-zoom;overflow:hidden auto;pointer-events:auto!important}.touch-ui .homepage-screen .difficulty-selector button{min-height:44px;font-size:13px}.touch-ui .homepage-screen .ghost-toggle{min-height:44px;font-size:12px}.touch-ui .homepage-screen .color-swatch{flex-shrink:0;width:44px;min-width:44px;height:44px;min-height:44px}.touch-ui .homepage-screen .menu-appearance-link .button,.touch-ui .homepage-screen .menu-buttons .button-plain{min-height:44px;font-size:12px}.touch-ui .homepage-screen .selection-heading{flex-wrap:wrap;row-gap:5px;font-size:10px}.touch-ui .homepage-screen .selection-heading>strong{font-size:10px}}@media (width<=620px){.touch-ui .homepage-screen{padding-inline:calc(var(--safe-left) + 12px) calc(var(--safe-right) + 12px);gap:22px}.touch-ui .homepage-hero{gap:22px}.touch-ui .homepage-screen .menu-copy h1{letter-spacing:-.025em;margin:9px 0 15px;font-size:clamp(50px,16vw,66px);line-height:.88}.touch-ui .homepage-screen .menu-description{margin-bottom:16px;font-size:14px;line-height:1.5}.touch-ui .homepage-screen .menu-copy>.eyebrow{font-size:10px}.touch-ui .homepage-setup{border-radius:18px;padding:14px}.touch-ui .homepage-screen .mode-selector{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:4px;display:grid}.touch-ui .homepage-screen .mode-selector:has(.friends-mode-button) button{flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;min-height:78px;padding:10px 7px;display:flex}.touch-ui .homepage-screen .mode-selector button svg{display:none}.touch-ui .homepage-screen .mode-selector:has(.friends-mode-button) button span{white-space:normal;font-size:12px;line-height:1.25}.touch-ui .homepage-screen .mode-selector:has(.friends-mode-button) small{opacity:.9;margin-top:5px;font-size:10px;line-height:1.3}.touch-ui .homepage-screen .difficulty-hint{margin-top:10px;font-size:11px;line-height:1.5}.touch-ui .homepage-screen .course-options button{gap:7px;min-height:88px;padding:11px 8px}.touch-ui .homepage-screen .course-options strong{overflow-wrap:normal;padding-right:6px;font-size:12px;line-height:1.3}.touch-ui .homepage-screen .course-options button>span:last-of-type{font-size:10px;line-height:1.4}.touch-ui .homepage-screen .course-options .course-number{font-size:10px}.touch-ui .homepage-screen .ghost-control>span{font-size:11px}.touch-ui .homepage-screen .menu-buttons{flex-wrap:wrap;gap:10px;margin-top:17px}.touch-ui .homepage-screen .menu-buttons .play-button{white-space:normal;gap:7px;min-height:52px;padding:12px;font-size:13px}.touch-ui .homepage-screen .menu-buttons .play-button svg{width:19px;height:19px}.touch-ui .homepage-screen .menu-buttons .button-plain{gap:5px;padding:10px 0;font-size:12px}.touch-ui .homepage-showcase{min-height:410px}.touch-ui .homepage-look-dock{width:100%;max-width:340px;padding:14px 10px 10px;bottom:0}.touch-ui .homepage-screen .color-label{margin-bottom:11px;font-size:11px}.touch-ui .homepage-screen .color-label strong{font-size:12px}.touch-ui .homepage-screen .color-swatches{justify-content:space-between;gap:2px}.touch-ui .homepage-screen .menu-appearance-link{gap:8px;margin-top:9px}.touch-ui .homepage-screen .menu-appearance-link>span{font-size:10px}.touch-ui .homepage-progress div>span{font-size:11px}.touch-ui .homepage-screen .tour-stop strong{font-size:13px}.touch-ui .homepage-screen .tour-stop small{font-size:9px}}@media (height<=500px) and (width>=621px) and (width<=1000px){.touch-ui .homepage-screen{gap:16px}.touch-ui .homepage-hero{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:20px}.touch-ui .homepage-screen .menu-copy h1{font-size:56px}.touch-ui .homepage-screen .mode-selector:has(.friends-mode-button) button{gap:6px;min-height:62px;padding:9px}.touch-ui .homepage-screen .mode-selector:has(.friends-mode-button) button span{white-space:normal;font-size:12px;line-height:1.3}.touch-ui .homepage-screen .mode-selector:has(.friends-mode-button) small{font-size:10px}.touch-ui .homepage-showcase{min-height:415px}.touch-ui .homepage-look-dock{max-width:100%;padding:13px 10px 8px}.touch-ui .homepage-screen .color-swatches{justify-content:space-between;gap:3px}.touch-ui .homepage-screen .menu-buttons .play-button{white-space:normal;min-height:48px;font-size:13px}.touch-ui .homepage-screen .menu-buttons .button-plain{font-size:12px}}
