.switchback{font-family:var(--font-inter,ui-sans-serif),system-ui,sans-serif;color:#faf2d9;font-synthesis:none;background:#9ba471}.switchback,.switchback *{box-sizing:border-box}.switchback,.switchback{width:100%;height:100%;margin:0;overflow:hidden}.switchback button,.switchback input{font:inherit}.switchback button{cursor:pointer;color:inherit;touch-action:manipulation;background:0 0;border:0;border-radius:6px;padding:10px 14px}.switchback button:focus-visible,.switchback input:focus-visible,.switchback canvas:focus-visible{outline-offset:5px;outline:3px solid #fff1ba}.switchback button:hover{background:#f4eccc20}.switchback button:active{transform:translateY(1px)}.switchback button:disabled{opacity:.4;cursor:default}.switchback [hidden]{display:none!important}.switchback #race-page{isolation:isolate;background:#9ba471;width:100%;height:100%;position:relative}.switchback #race-canvas{image-rendering:pixelated;outline-offset:-8px;touch-action:none;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.switchback .game-header{pointer-events:none;justify-content:space-between;align-items:center;padding:25px 34px;display:flex;position:absolute;inset:0 0 auto}.switchback .game-header>*{pointer-events:auto}.switchback .game-name{letter-spacing:-1.1px;font-size:23px;font-weight:750}.switchback .game-actions{align-items:center;gap:6px;font-size:14px;font-weight:600;display:flex}.switchback .game-actions button{background:#294541d9;padding:10px 16px}.switchback .start-screen{max-width:560px;position:absolute;top:50%;left:clamp(28px,7.5vw,120px);transform:translateY(-46%)}.switchback .start-screen h1{letter-spacing:-.072em;color:#fff3d7;text-shadow:0 3px #344a3d30;margin:0 0 25px;font-size:clamp(58px,8.8vw,126px);font-weight:750;line-height:.91}.switchback .start-screen>p{color:#fff3d7;max-width:340px;margin:0 0 28px;font-size:clamp(17px,1.6vw,21px);line-height:1.45}.switchback .start-actions{align-items:center;gap:12px;display:flex}.switchback .primary{color:#314c46;border-radius:7px;min-height:50px;padding:15px 22px;font-weight:700;background:#f5e8c5!important}.switchback .primary:hover{background:#fff3d8!important}.switchback .quiet{background:#294b41bd;min-height:49px;font-size:14px}.switchback .start-screen .start-controls{color:#f9edce;margin-top:30px;font-size:13px;line-height:1.6}.switchback .race-hud{pointer-events:none;align-items:start;gap:46px;display:flex;position:absolute;inset:94px auto auto 34px}.switchback .race-hud span{margin-bottom:5px;font-size:13px;font-weight:600;display:block}.switchback .race-hud strong{letter-spacing:-1.5px;font-variant-numeric:tabular-nums;font-size:37px;font-weight:650}.switchback .best-readout strong{letter-spacing:-.7px;font-size:23px}.switchback .best-readout{padding-top:2px}.switchback .speed-readout{pointer-events:none;align-items:baseline;gap:9px;display:flex;position:absolute;bottom:32px;right:36px}.switchback .speed-readout strong{letter-spacing:-4px;font-variant-numeric:tabular-nums;font-size:66px;font-weight:650;line-height:1}.switchback .speed-readout span{font-size:13px}.switchback #minimap{opacity:.9;pointer-events:none;width:150px;height:114px;image-rendering:pixelated;position:absolute;top:92px;right:30px}.switchback .countdown{letter-spacing:-5px;pointer-events:none;font-size:100px;font-weight:750;position:absolute;top:43%;left:50%;transform:translate(-50%,-50%)}.switchback .race-status{pointer-events:none;background:#294541d9;border-radius:6px;margin:0;padding:10px 16px;font-size:14px;font-weight:600;position:absolute;bottom:28px;left:34px}.switchback dialog{color:#334c43;background:#efe7cc;border:0;border-radius:12px;max-width:calc(100vw - 32px);padding:32px}.switchback dialog::backdrop{background:#223f398c}.switchback dialog h2{letter-spacing:-1.5px;margin:0 0 23px;font-size:36px;font-weight:650}.switchback dialog button{color:#334c43;min-height:46px}.switchback dialog .primary{color:#fff2d3;background:#365c4b!important}.switchback dialog .primary:hover{background:#294b3c!important}.switchback .game-dialog{width:340px}.switchback .game-dialog form{flex-direction:column;gap:9px;display:flex}.switchback .result-dialog>strong{letter-spacing:-2px;font-variant-numeric:tabular-nums;font-size:57px;display:block}.switchback .result-dialog p{margin:0 0 10px;font-size:14px}.switchback .result-dialog ol{font-variant-numeric:tabular-nums;margin:20px 0;padding-left:20px;font-size:14px;line-height:1.8}.switchback .result-dialog .primary{width:100%}.switchback .inspector-dialog{width:520px}.switchback .inspector-heading{justify-content:space-between;align-items:start;gap:18px;display:flex}.switchback .inspector-heading h2{max-width:260px;margin:4px 0 0;font-size:28px;line-height:1.05}.switchback .inspector-heading button{margin:-4px -12px 0 0;font-size:13px}.switchback .inspector-dialog canvas{image-rendering:pixelated;width:100%;height:auto;display:block}.switchback .inspector-dialog label{grid-template-columns:1fr auto;gap:10px;margin-top:17px;font-size:14px;display:grid}.switchback .inspector-dialog output{font-variant-numeric:tabular-nums}.switchback .inspector-dialog input{accent-color:#3b6852;cursor:ew-resize;grid-column:1/-1;width:100%}.switchback .inspector-dialog p{color:#53654e;margin:23px 0 0;font-size:13px}.switchback .touch-controls{bottom:max(21px,env(safe-area-inset-bottom));justify-content:space-between;gap:14px;display:flex;position:absolute;left:18px;right:18px}.switchback .touch-controls>div{align-items:end;gap:7px;display:flex}.switchback .touch-controls button{touch-action:none;-webkit-user-select:none;user-select:none;background:#284c41dc;width:53px;height:57px;padding:0;font-size:23px}.switchback .touch-controls>div:nth-child(2) button{width:49px;font-size:12px;font-weight:650}.switchback .touch-controls button[data-drive=throttle]{color:#345344;background:#f5e8c5;height:72px}.switchback .touch-controls button[data-held=true]{color:#284c41;background:#e2bd78}.switchback .no-script{color:#334c43;background:#efe7cc;padding:30px;position:absolute;top:40%;left:25%}@media (max-width:700px){.switchback .game-header{padding:19px 20px}.switchback .game-name{font-size:21px}.switchback .game-actions{gap:0;font-size:12px}.switchback .game-actions button{padding:9px 11px}.switchback .start-screen{top:43%;left:27px;right:20px;transform:translateY(-40%)}.switchback .start-screen h1{margin-bottom:20px;font-size:clamp(55px,14vw,85px)}.switchback .start-screen>p{font-size:18px}.switchback .start-actions{gap:8px}.switchback .start-actions .primary{padding:13px 17px;font-size:14px}.switchback .quiet{padding:10px 12px;font-size:12px}.switchback .start-screen .start-controls{font-size:12px}.switchback .race-hud{gap:22px;top:84px;left:22px}.switchback .race-hud strong{font-size:29px}.switchback .best-readout strong{font-size:18px}.switchback .race-hud span{font-size:11px}.switchback .speed-readout{bottom:114px;right:23px}.switchback .speed-readout strong{letter-spacing:-2px;font-size:44px}.switchback .race-status{padding:8px 10px;font-size:12px;bottom:112px;left:20px}.switchback #minimap{width:106px;height:80px;top:153px;right:18px}.switchback .countdown{font-size:80px}.switchback .inspector-dialog{padding:23px}.switchback .inspector-heading h2{font-size:25px}}@media (prefers-reduced-motion:reduce){.switchback button:active{transform:none}.switchback,.switchback *{scroll-behavior:auto!important}}.switchback .game-name{background:#294541;border-radius:6px;padding:8px 13px}.switchback .race-hud{background:#294541;border-radius:8px;max-width:calc(100vw - 44px);padding:13px 17px}.switchback .speed-readout{background:#294541;border-radius:8px;padding:10px 16px 12px}.switchback .game-actions button,.switchback .race-status{background:#294541}.switchback .game-actions{margin-left:auto}.switchback .result-dialog ol{padding-left:0;list-style:none}@media (max-width:700px){.switchback .race-hud{gap:22px}.switchback .speed-readout{padding:8px 12px 10px}.switchback .game-name{padding:8px 10px;font-size:18px}}.switchback .race-selection{align-items:start;gap:14px;margin:0 0 20px;display:flex}.switchback .race-selection>div{flex-direction:column;gap:6px;display:flex}.switchback .race-selection span{color:#f6ead0;font-size:12px}.switchback .race-selection button{text-align:left;background:#294541;min-width:150px;padding:11px 14px;font-size:14px}.switchback .choice-dialog{width:670px;max-height:calc(100dvh - 32px)}.switchback .choice-grid{gap:10px;margin-top:25px;display:grid}.switchback .garage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.switchback .circuit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.switchback .choice-grid button{text-align:left;background:#e4dec5;border-radius:8px;min-width:0;padding:8px 9px 13px;font-size:13px;font-weight:600}.switchback .choice-grid button[aria-pressed=true]{background:#c6d1b8}.switchback .choice-grid button:hover{background:#d4dcc1}.switchback .choice-grid canvas{width:100%;height:auto;image-rendering:pixelated;margin:0 0 5px;display:block}.switchback .choice-dialog>p{color:#53654e;margin:22px 0 0;font-size:12px;line-height:1.4}.switchback .choice-grid button:focus-visible{outline-color:#345b48}@media (max-width:700px){.switchback .race-selection{gap:9px;margin-bottom:18px}.switchback .race-selection button{min-width:139px;padding:10px 12px;font-size:12px}.switchback .start-screen{top:45%}.switchback .start-screen .start-controls{max-width:280px;margin-top:20px}.switchback .choice-dialog{padding:22px}.switchback .garage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.switchback .choice-grid{gap:8px;margin-top:20px}.switchback .choice-grid button{padding:5px 7px 10px;font-size:11px}.switchback .choice-dialog .inspector-heading h2{max-width:230px;font-size:27px}}.switchback .start-controls{white-space:pre-line}.switchback .race-selection{max-width:340px}.switchback .race-selection>div{flex:1;min-width:0}.switchback .race-selection button{white-space:nowrap;text-overflow:ellipsis;width:100%;overflow:hidden}@media (max-width:700px){.switchback .race-selection button{min-width:0}}.switchback #minimap{opacity:1;background:#294541;border-radius:8px;padding:8px}@media (max-width:700px){.switchback #minimap{top:171px}}.switchback .world-dialog{width:560px;margin:0;padding:18px 24px;position:fixed;inset:auto auto 20px 50%;transform:translate(-50%)}.switchback .world-dialog::backdrop{background:0 0}.switchback .world-dialog .inspector-heading h2{margin:4px 0 10px;font-size:25px}.switchback .world-dialog label{grid-template-columns:1fr auto;gap:5px 12px;margin-top:8px;font-size:13px;display:grid}.switchback .world-dialog input{accent-color:#3b6852;grid-column:1/-1;width:100%}.switchback .world-dialog output{font-variant-numeric:tabular-nums}.switchback .world-dialog button:focus-visible,.switchback .world-dialog input:focus-visible{outline-color:#345b48}.switchback #game-objective{white-space:pre-line}.switchback{isolation:isolate;width:100%;height:100dvh;display:block;position:relative;overflow:hidden}@media (max-width:420px){.switchback .game-name{display:none}}
