:root{color-scheme:dark;--accent: #ff9e68;--accent-soft: rgba(255, 158, 104, .22);--surface: rgba(12, 10, 26, .54);--surface-hover: rgba(24, 20, 46, .78);--surface-strong: rgba(13, 11, 28, .92);--border: rgba(255, 255, 255, .16);--border-hover: rgba(255, 255, 255, .34);--text-main: #f7f6ff;--text-muted: rgba(235, 232, 252, .72);--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);--target-size: 36px;accent-color:var(--accent);scrollbar-color:rgba(255,255,255,.34) rgba(12,10,26,.6)}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;background-color:#05040d;color:var(--text-main);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;overflow-wrap:break-word}h1,h2,h3{text-wrap:balance}p{text-wrap:pretty}code{overflow-wrap:anywhere}button,select,input{touch-action:manipulation}.label-short,.inspect-hint-touch{display:none}::selection{background-color:var(--accent);color:#0d0818}.stage{position:relative;width:100vw;height:100vh;width:100dvw;height:100dvh;overflow:hidden}.scene-canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none;user-select:none}.scene-canvas:active{cursor:grabbing}body.is-game .scene-canvas{cursor:default}.loading-overlay{position:fixed;inset:0;z-index:40;display:grid;place-items:center;background:radial-gradient(circle at center,#100c22db,#04030af5);transition:opacity .55s ease,visibility .55s ease}.loading-overlay.is-hidden{opacity:0;visibility:hidden;pointer-events:none}.loading-pill{display:inline-flex;align-items:center;gap:12px;padding:12px 22px;border-radius:999px;background:#100e20d9;border:1px solid rgba(255,255,255,.2);font-size:13px;letter-spacing:.04em;color:var(--text-main);box-shadow:0 12px 36px #0000008c}.loading-spinner{width:15px;height:15px;border-radius:50%;border:2px solid rgba(255,255,255,.25);border-top-color:var(--accent);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.hud{position:fixed;z-index:20;transition:opacity .38s ease,transform .38s ease,visibility .38s ease}body.is-inspecting .hud,body.is-game .cruise-hud,body:not(.is-game) .game-hud{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px)}body.is-inspecting .scene-canvas{cursor:grab}body.is-inspecting .scene-canvas:active{cursor:grabbing}.inspect-banner{position:fixed;top:max(20px,calc(var(--safe-top) + 12px));left:50%;transform:translate(-50%,-10px);z-index:28;display:inline-flex;align-items:center;justify-content:center;gap:9px;max-width:calc(100dvw - 24px);padding:8px 16px;border-radius:999px;background:var(--surface-strong);border:1px solid var(--border-hover);backdrop-filter:blur(18px);font-size:12px;color:var(--text-main);box-shadow:0 12px 32px #0000008c;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s ease,transform .3s ease,visibility .3s ease}.inspect-tag{padding:2px 8px;border-radius:999px;background:#fff;color:#090814;font-size:11px;font-weight:700;flex-shrink:0}.inspect-reason{font-weight:600;color:#fff}.inspect-hint{color:var(--text-muted)}.inspect-actions{position:fixed;bottom:max(24px,calc(var(--safe-bottom) + 14px));left:50%;transform:translate(-50%,10px);z-index:28;display:inline-flex;align-items:center;gap:10px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s ease,transform .3s ease,visibility .3s ease}body.is-inspecting .inspect-banner{opacity:1;visibility:visible;transform:translate(-50%)}body.is-inspecting .inspect-actions{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%)}.go-inspect-btn{anchor-name:--go-inspect-btn;--interest-delay-start: .1s;interest-delay-start:var(--interest-delay-start);--interest-delay-end: .14s;interest-delay-end:var(--interest-delay-end)}.inspect-btn-dot{width:6px;height:6px;border-radius:50%;background:#ff5c77;box-shadow:0 0 8px #ff5c77b8;flex-shrink:0}.death-reason-popover{padding:11px 15px;border-radius:13px;border:1px solid rgba(255,255,255,.22);background:var(--surface-strong);color:var(--text-main);backdrop-filter:blur(22px);box-shadow:0 18px 46px #000000b8;max-width:min(330px,calc(100vw - 32px));text-align:left;z-index:60}.death-reason-popover:is(:popover-open,.\:popover-open,.is-fallback-open){display:flex;flex-direction:column;gap:4px}@supports not selector(:popover-open){.death-reason-popover:not(.\:popover-open):not(.is-fallback-open){display:none}}@supports (position-area: block-start){.death-reason-popover{position-anchor:--go-inspect-btn;inset:auto;margin:0 0 10px;position-area:block-start;position-try-fallbacks:flip-block,flip-inline}}@supports not (position-area: block-start){.death-reason-popover{position:fixed;inset:auto;margin:0}}.death-reason-tip-kicker{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;letter-spacing:.08em;color:#ffa8b8eb}.death-reason-tip-main{font-size:13px;font-weight:600;line-height:1.45;color:#fff}.death-reason-tip-hint{font-size:11px;color:var(--text-muted)}body:not(.is-game) .game-controls-bar{transform:translate(-50%,8px)}.hud-top-left{top:24px;left:28px;pointer-events:none}.hud-domain,.hud-start-cta{inset-inline:0;width:max-content;margin-inline:auto}.hud-domain{top:max(32px,calc(var(--safe-top) + 12px));font-size:16px;font-weight:600;letter-spacing:.06em;line-height:20px;text-shadow:0 1px 5px #080813,0 2px 14px rgba(0,0,0,.7);pointer-events:none}.hud-top-right{top:24px;right:28px;display:flex;align-items:center;gap:10px;user-select:none}.hud-bottom-left{bottom:24px;left:28px;display:flex;align-items:center;gap:8px;user-select:none}.hud-start-cta{bottom:20px;user-select:none}.start-race-btn{appearance:none;display:grid;grid-template-columns:14px auto 14px;align-items:center;justify-content:center;gap:9px;height:44px;padding:0 15px;border-radius:999px;border:1px solid rgba(255,255,255,.9);background:#fff;color:#090814;font-size:14px;font-weight:600;letter-spacing:.06em;font-family:inherit;cursor:pointer;box-shadow:0 10px 34px #00000085,0 0 24px #ffffff38;transition:transform .18s ease,box-shadow .22s ease,opacity .2s ease}.start-race-btn:hover{transform:translateY(-1px);box-shadow:0 14px 38px #00000094,0 0 32px #ffffff57}.start-race-btn:active{transform:scale(.97)}.hud-bottom-right{bottom:24px;right:28px;display:flex;align-items:center;gap:8px;user-select:none}.brand-title{margin:0;font-size:clamp(22px,2.4vw,30px);font-weight:600;letter-spacing:.06em;text-shadow:0 4px 24px rgba(0,0,0,.65)}.telemetry{margin-top:8px;display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:#0a081675;border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(12px);font-size:12px;color:var(--text-muted);font-variant-numeric:tabular-nums}.telemetry strong{color:var(--text-main);font-weight:600}.lens-meter{display:inline-flex;align-items:center;gap:10px;height:36px;padding:0 13px;border-radius:999px;background:var(--surface);border:1px solid var(--border);backdrop-filter:blur(14px);font-size:12px;color:var(--text-muted)}.lens-range{appearance:none;width:112px;height:100%;margin:0;padding:0;background:transparent;cursor:pointer;touch-action:none;--lens-track: linear-gradient(to right, #fff var(--lens-fill, 0%), rgba(255, 255, 255, .24) var(--lens-fill, 0%))}.lens-range::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:var(--lens-track)}.lens-range::-moz-range-track{height:4px;border-radius:4px;background:var(--lens-track)}.lens-range::-webkit-slider-thumb{appearance:none;width:12px;height:12px;margin-top:-4px;border-radius:50%;background:#fff}.lens-range::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:#fff}.lens-range:focus-visible{outline:2px solid white;outline-offset:2px;border-radius:4px}.lens-meter-pct{min-width:32px;text-align:right;font-variant-numeric:tabular-nums;color:var(--text-main)}.icon-circle-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:#fff;cursor:pointer;backdrop-filter:blur(16px);transition:background-color .2s ease,border-color .2s ease,transform .15s ease,box-shadow .2s ease}.icon-circle-btn:hover{background:var(--surface-hover);border-color:var(--border-hover)}.icon-circle-btn:active{transform:scale(.95)}.hint-icon-btn,.game-icon-btn{width:36px;height:36px}[hidden]{display:none!important}#gamePauseBtn[aria-pressed=false] .icon-play,#gamePauseBtn[aria-pressed=true] .icon-pause,#muteBtn[aria-pressed=false] .icon-sound-off,#muteBtn[aria-pressed=true] .icon-sound-on{display:none}.game-icon-btn[aria-pressed=true]{background:#ffffff2e;border-color:#ffffff80}.hint-trigger-wrap{position:relative;display:inline-flex;align-items:center}.controls-tooltip{position:absolute;left:0;bottom:calc(100% + 10px);padding:8px 13px;border-radius:10px;background:var(--surface-strong);border:1px solid var(--border-hover);backdrop-filter:blur(18px);color:var(--text-main);font-size:12px;white-space:nowrap;box-shadow:0 12px 30px #0000008c;opacity:0;visibility:hidden;transform:translateY(4px);pointer-events:none;transition:opacity .2s ease,transform .2s ease,visibility .2s ease}.hint-trigger-wrap:hover .controls-tooltip,.hint-trigger-wrap:focus-within .controls-tooltip{opacity:1;visibility:visible;transform:translateY(0)}.glass-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 15px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text-main);font-size:13px;font-weight:500;font-family:inherit;cursor:pointer;backdrop-filter:blur(16px);transition:background-color .2s ease,border-color .2s ease,transform .15s ease}.glass-btn:hover{background:var(--surface-hover);border-color:var(--border-hover)}.glass-btn:active{transform:scale(.97)}.glass-btn[aria-pressed=true]{border-color:#ffffff73;background:#ffffff29}.pill-select,.pill-select::picker(select){appearance:base-select}.pill-select{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;height:36px;min-width:106px;padding:0 13px 0 14px;border-radius:999px;border:1px solid var(--border);background-color:var(--surface);color:var(--text-main);font-size:13px;font-weight:500;font-family:inherit;cursor:pointer;backdrop-filter:blur(16px);transition:background-color .2s ease,border-color .2s ease}.pill-select:hover{background-color:var(--surface-hover);border-color:var(--border-hover)}.pill-select::picker-icon{content:"";width:12px;height:12px;flex-shrink:0;background:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");transition:transform .2s ease}.pill-select:open::picker-icon{transform:rotate(180deg)}.pill-select::picker(select){background-color:var(--surface-strong);color:var(--text-main);border:1px solid var(--border-hover);border-radius:14px;padding:6px;margin-bottom:8px;backdrop-filter:blur(22px);box-shadow:0 18px 42px #0000009e}.pill-select option{padding:8px 12px;border-radius:9px;color:var(--text-main);background-color:transparent;cursor:pointer}.pill-select option:hover,.pill-select option:checked{background-color:#ffffff24}.pill-select option::checkmark{color:#fff}@supports not (appearance: base-select){.pill-select{appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;background-size:12px 12px}.pill-select option{background-color:#110f24;color:#f7f6ff}}.start-race-btn:focus-visible,.glass-btn:focus-visible,.pill-select:focus-visible,.icon-circle-btn:focus-visible,.dialog-close-icon-btn:focus-visible,.solid-white-btn:focus-visible{outline:2px solid #ffffff;outline-offset:2px}.game-hud-top-left{top:24px;left:28px;pointer-events:none}.game-sector-row{display:inline-flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.08em;color:var(--text-muted);text-shadow:0 2px 12px rgba(0,0,0,.72)}.game-best-label strong{color:var(--text-main);font-variant-numeric:tabular-nums}.game-surge-badge{display:none;margin-left:4px;padding:2px 9px;border-radius:999px;border:1px solid rgba(255,255,255,.72);background:#ffffff29;color:#fff;font-size:11px;font-weight:600;letter-spacing:.06em;backdrop-filter:blur(10px)}.game-surge-badge.is-visible{display:inline-flex;align-items:center}.game-surge-badge.is-biting{color:#fff4e6;border-color:#ffaf75;background:#853018f0}.game-score-row{margin-top:4px;display:flex;align-items:baseline;gap:10px}.game-score-num{font-size:clamp(32px,3.6vw,44px);font-weight:700;line-height:1.04;letter-spacing:.02em;font-variant-numeric:tabular-nums;color:#fff;text-shadow:0 6px 26px rgba(0,0,0,.65)}.game-combo-badge{display:inline-flex;align-items:center;padding:2px 9px;border-radius:999px;background:#fff;color:#090814;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;opacity:0;transform:scale(.85);transition:opacity .2s ease,transform .2s ease}.game-combo-badge.is-visible{opacity:1;transform:scale(1)}.game-telemetry{margin-top:8px}.game-hud-top-right{top:24px;right:28px;display:flex;align-items:center;gap:8px;user-select:none}.game-hud-bottom-left{bottom:24px;left:28px;display:flex;flex-direction:column;gap:8px;padding:12px 15px;border-radius:16px;background:var(--surface);border:1px solid var(--border);backdrop-filter:blur(16px);pointer-events:none;min-width:224px}.game-health-row,.game-nitro-row,.game-jump-row{display:flex;align-items:center;gap:10px}.game-meter-tag{font-size:11px;letter-spacing:.06em;color:var(--text-muted);min-width:26px}.health-pips{display:inline-flex;align-items:center;gap:6px}.health-pip{width:28px;height:5px;border-radius:999px;background:#ffffff29;transition:background-color .22s ease,box-shadow .22s ease}.health-pip.is-active{background:#fff;box-shadow:0 0 10px #ffffff73}.status-chip{display:none;padding:2px 7px;border-radius:999px;border:1px solid rgba(255,255,255,.55);background:#ffffff24;color:#fff;font-size:10px;letter-spacing:.04em}.status-chip.is-active{display:inline-flex}.nitro-track{position:relative;flex:1 1 auto;height:5px;border-radius:999px;background:#ffffff29;overflow:hidden}.nitro-charge-spark{position:fixed;z-index:21;left:-36px;top:-2px;width:36px;height:4px;transform-origin:right center;border-radius:100%;background:linear-gradient(90deg,transparent,#359dff 65%,#edffff);filter:drop-shadow(0 0 5px #319cff);opacity:0;pointer-events:none}.nitro-charge-spark:after{content:"";position:absolute;right:-3px;top:-1px;width:6px;height:6px;border-radius:50%;background:#e5faff}.nitro-fill{width:45%;height:100%;border-radius:999px;background:#ffffffa6;transition:width .08s linear,background-color .2s ease,box-shadow .2s ease}.nitro-fill.is-ready{background:linear-gradient(90deg,var(--accent),#ffffff);box-shadow:0 0 12px var(--accent)}.nitro-fill.is-active{background:#fff;box-shadow:0 0 16px #ffffffd9}.nitro-threshold{position:absolute;left:30%;top:0;bottom:0;width:1px;background:#ffffff73}.game-meter-state{font-size:11px;color:var(--text-muted);min-width:36px;text-align:right;font-variant-numeric:tabular-nums}.game-meter-state.is-ready{color:#fff;font-weight:600}.game-jump-row{gap:7px;margin-top:1px}.jump-dot{width:6px;height:6px;border-radius:50%;background:#ffffff3d;transition:background-color .2s ease,box-shadow .2s ease}.jump-dot.is-ready{background:#fff;box-shadow:0 0 8px #ffffffa6}.game-jump-label{font-size:11px;color:var(--text-muted)}.game-controls-bar{bottom:24px;left:50%;transform:translate(-50%);display:inline-flex;align-items:center;gap:9px;padding:7px 16px;border-radius:999px;background:#0a08166b;border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(12px);font-size:12px;color:var(--text-muted);white-space:nowrap;pointer-events:none;user-select:none}.game-controls-bar.is-dimmed{opacity:.46}.game-hud-bottom-right{bottom:24px;right:28px;display:flex;align-items:center;gap:8px;user-select:none}.game-action-btn{min-width:68px}.game-jump-btn.is-ready{border-color:#ffffff70;background:#ffffff24;color:#fff}.game-nitro-btn.is-ready{background:#fff;color:#090814;border-color:#fff;font-weight:600}.game-callout{position:fixed;top:17vh;left:50%;transform:translate(-50%,10px);z-index:25;pointer-events:none;font-size:clamp(16px,2vw,22px);font-weight:600;letter-spacing:.12em;color:#fff;text-shadow:0 4px 24px rgba(0,0,0,.85);opacity:0;transition:opacity .25s ease,transform .28s cubic-bezier(.22,1,.36,1);white-space:nowrap}.game-callout.is-visible{opacity:1;transform:translate(-50%)}#skyPoints:not(:empty){margin-inline-start:.5em;color:#ffdc91;font-variant-numeric:tabular-nums;letter-spacing:.025em}.game-callout:has(#skyPoints:not(:empty)){width:max-content}.game-pause-banner{position:fixed;inset:0;z-index:26;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#05040e6b;backdrop-filter:blur(6px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease,visibility .25s ease}.game-pause-banner.is-visible{opacity:1;visibility:visible;pointer-events:auto}.game-pause-title{margin:0;font-size:24px;font-weight:600;letter-spacing:.16em;color:#fff;text-shadow:0 6px 26px rgba(0,0,0,.72)}.passage-pause-help{max-width:min(29em,84vw);margin:0;color:var(--text-muted);font-size:14px;line-height:1.7;text-align:center}.game-pause-actions{display:flex;align-items:center;gap:12px}.prompt-dialog{width:min(760px,calc(100dvw - 28px));max-height:min(88dvh,760px);margin:auto;padding:0;border:1px solid var(--border-hover);border-radius:20px;background:var(--surface-strong);color:var(--text-main);box-shadow:0 28px 80px #000000bf;overflow:hidden}.prompt-dialog::backdrop{background-color:#04030ca8;backdrop-filter:blur(6px)}.dialog-inner{display:flex;flex-direction:column;max-height:min(88dvh,760px);padding:24px 26px;gap:14px;overflow-y:auto;overscroll-behavior:contain}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.dialog-kicker{margin:0 0 4px;font-size:12px;color:var(--text-muted);letter-spacing:.08em}.dialog-title{margin:0;font-size:20px;font-weight:600}.dialog-close-icon-btn{appearance:none;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid rgba(255,255,255,.14);background:#ffffff0f;color:#fff;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,transform .15s ease}.dialog-close-icon-btn:hover{background:#ffffff29;border-color:#ffffff59}.dialog-close-icon-btn:active{transform:scale(.94)}.dialog-subbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.prompt-tabs{display:inline-flex;align-items:center;padding:3px;border-radius:999px;background:#ffffff0f;border:1px solid rgba(255,255,255,.12)}.prompt-tab{appearance:none;height:30px;padding:0 13px;border-radius:999px;border:none;background:transparent;color:var(--text-muted);font-size:12px;font-weight:500;font-family:inherit;cursor:pointer;transition:background-color .2s ease,color .2s ease}.prompt-tab:hover{color:var(--text-main)}.prompt-tab[aria-selected=true]{background:#fff;color:#0b0a16;font-weight:600}.prompt-tab:focus-visible{outline:2px solid #ffffff;outline-offset:2px}.dialog-desc{margin:0;font-size:12px;line-height:1.55;color:var(--text-muted);flex:1 1 280px}.prompt-code{margin:0;padding:16px 18px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:#060510c7;color:#eee9ff;font-family:inherit;font-size:13px;line-height:1.72;white-space:pre-wrap;overflow-y:auto;flex:1 1 auto;min-height:220px}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.copy-status{font-size:12px;color:var(--text-muted)}.dialog-actions{display:flex;align-items:center;gap:10px}.solid-white-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 22px;border-radius:999px;border:none;background:#fff;color:#0b0a16;font-size:13px;font-weight:600;font-family:inherit;cursor:pointer;transition:opacity .2s ease,transform .15s ease}.solid-white-btn:hover{opacity:.9}.solid-white-btn:active{transform:scale(.97)}.gameover-dialog{width:min(500px,calc(100vw - 32px))}.gameover-inner{gap:18px}.gameover-title-row{display:flex;align-items:center;gap:10px}.record-badge{display:none;padding:2px 9px;border-radius:999px;background:#fff;color:#090814;font-size:11px;font-weight:700;letter-spacing:.06em}.record-badge.is-visible{display:inline-flex}.gameover-hero{display:flex;flex-direction:column;align-items:center;padding:18px 16px;border-radius:16px;background:#ffffff0a;border:1px solid rgba(255,255,255,.1)}.gameover-hero-label{font-size:12px;letter-spacing:.1em;color:var(--text-muted)}.gameover-hero-score{margin-top:6px;font-size:44px;font-weight:700;line-height:1.05;font-variant-numeric:tabular-nums;color:#fff}.gameover-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gameover-stat-card{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:12px;background:#ffffff09;border:1px solid rgba(255,255,255,.09)}.stat-label{font-size:11px;color:var(--text-muted)}.stat-value{font-size:16px;font-weight:600;color:#fff;font-variant-numeric:tabular-nums}.gameover-footer{justify-content:flex-end;gap:10px}.mono-input{flex:1 1 auto;min-width:0;height:36px;padding:0 13px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:#ffffff0f;color:#fff;font-size:13px;font-family:inherit;outline:none;transition:border-color .2s ease,background-color .2s ease}.mono-input::placeholder{color:#ebe8fc75}.mono-input:focus{border-color:#ffffffbf;background:#ffffff1a}.mono-checkbox{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--text-muted);cursor:pointer;user-select:none}.mono-checkbox input{width:13px;height:13px;accent-color:#ffffff;cursor:pointer}.opc-id-tag,.opc-id-code{display:inline-flex;align-items:center;padding:2px 7px;border-radius:6px;background:#ffffff14;border:1px solid rgba(255,255,255,.14);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px;letter-spacing:.04em;color:#ebe8fcd1}.go-rank-section{display:flex;flex-direction:column;gap:8px;padding:13px 14px;border-radius:14px;background:#ffffff0a;border:1px solid rgba(255,255,255,.12)}.go-register-box{display:flex;flex-direction:column;gap:8px}.go-register-row{display:flex;align-items:center;gap:8px}.go-submit-btn{height:36px;padding:0 16px;flex-shrink:0}.go-register-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.go-geo-hint{font-size:11px;color:#ebe8fc8f}.go-synced-box{display:flex;align-items:center;justify-content:space-between;gap:12px}.go-synced-main{min-width:0;display:flex;flex-direction:column;gap:4px}.go-synced-identity{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.go-synced-name{font-size:14px;font-weight:600;color:#fff}.go-synced-msg{margin:0;font-size:12px;color:var(--text-muted)}.go-rank-link-btn{height:32px;padding:0 13px;font-size:12px;flex-shrink:0}.go-rank-feedback{margin:0;font-size:12px;color:#ffffffdb;min-height:0}.go-rank-feedback:empty{display:none}.leaderboard-dialog{width:min(680px,calc(100vw - 28px));max-height:min(86vh,780px)}.leaderboard-inner{max-height:min(86vh,780px);gap:13px}.lb-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;flex-shrink:0}.lb-country-select{height:34px;min-width:112px;font-size:12px}.lb-list{flex:1 1 auto;min-height:220px;max-height:46vh;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding-right:4px}.lb-empty-state{margin:44px auto;text-align:center;font-size:13px;color:var(--text-muted)}.lb-row{flex-shrink:0;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:#ffffff08;transition:background-color .18s ease,border-color .18s ease;overflow:hidden}.lb-row:hover{background:#fff1;border-color:#ffffff2e}.lb-row.is-me{background:#ffffff17;border-color:#ffffff5c}.lb-row-btn{appearance:none;width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;border:none;background:transparent;color:inherit;font-family:inherit;text-align:left;cursor:pointer}.lb-row-left{display:flex;align-items:center;gap:12px;min-width:0}.lb-rank-badge{width:30px;height:26px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--text-muted);flex-shrink:0}.lb-rank-badge.is-top1{background:#fff;color:#090814}.lb-rank-badge.is-top2{background:#ffffff38;color:#fff}.lb-rank-badge.is-top3{border:1px solid rgba(255,255,255,.34);color:#fff}.lb-player-info{min-width:0;display:flex;flex-direction:column;gap:2px}.lb-name-line{display:flex;align-items:center;gap:7px;min-width:0}.lb-nickname{font-size:14px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lb-me-pill{padding:1px 6px;border-radius:999px;background:#fff;color:#090814;font-size:10px;font-weight:700;flex-shrink:0}.lb-sub-line{font-size:11px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lb-score-val{font-size:16px;font-weight:700;color:#fff;font-variant-numeric:tabular-nums;flex-shrink:0}.lb-row-detail{display:none;padding:0 13px 10px 55px;border-top:1px solid rgba(255,255,255,.06);font-size:11px;color:var(--text-muted)}.lb-row.is-expanded .lb-row-detail{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:8px}.lb-detail-metrics{display:inline-flex;align-items:center;gap:10px;font-variant-numeric:tabular-nums}.lb-profile-drawer{flex-shrink:0;display:flex;flex-direction:column;gap:12px;padding:13px 15px;border-radius:14px;background:#ffffff0b;border:1px solid rgba(255,255,255,.14)}.lb-card-block{display:flex;flex-direction:column;gap:8px}.lb-claim-block{padding-top:10px;border-top:1px solid rgba(255,255,255,.08)}.lb-card-id-row,.lb-card-edit-row,.lb-card-options-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.lb-field-label{font-size:11px;letter-spacing:.05em;color:var(--text-muted)}.lb-save-btn,.lb-claim-btn{height:36px;padding:0 16px;flex-shrink:0}.lb-mini-btn{appearance:none;height:26px;padding:0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:#ffffff0f;color:#fff;font-size:11px;font-family:inherit;cursor:pointer;transition:background-color .18s ease,border-color .18s ease}.lb-mini-btn:hover{background:#ffffff26;border-color:#ffffff6b}.lb-transfer-result{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 11px;border-radius:10px;background:#ffffff12;border:1px solid rgba(255,255,255,.2);font-size:12px}.lb-transfer-code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:15px;letter-spacing:.14em;color:#fff}.lb-transfer-tip{font-size:11px;color:var(--text-muted)}.lb-my-bar{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.12)}.lb-my-summary{display:flex;align-items:center;gap:11px;min-width:0}.lb-my-rank{min-width:34px;height:30px;padding:0 7px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;background:#ffffff1f;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;color:#fff;flex-shrink:0}.lb-my-meta{min-width:0;display:flex;flex-direction:column;gap:2px}.lb-my-title-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.lb-my-sub{font-size:11px;color:var(--text-muted)}.lb-my-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.lb-my-score{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;color:#fff}@media(pointer:coarse){:root{--target-size: 44px}.glass-btn,.solid-white-btn,.pill-select,.dialog-close-icon-btn,.lb-mini-btn{min-block-size:40px}.start-race-btn,.game-action-btn,.inspect-actions .glass-btn,.inspect-actions .solid-white-btn,.gameover-footer .glass-btn,.gameover-footer .solid-white-btn{min-block-size:44px}.mono-input{font-size:16px;min-block-size:42px}.mono-checkbox{min-block-size:36px}}@media(max-width:900px){.hud-domain{top:max(22px,calc(var(--safe-top) + 12px));font-size:14px}.hud-top-right .glass-btn{padding-inline:12px}.hud-top-left,.game-hud-top-left{top:max(16px,calc(var(--safe-top) + 10px));left:max(16px,calc(var(--safe-left) + 10px))}.hud-top-right,.game-hud-top-right{top:max(16px,calc(var(--safe-top) + 10px));right:max(16px,calc(var(--safe-right) + 10px))}.hud-bottom-left{bottom:calc(max(16px,calc(var(--safe-bottom) + 10px)) + 54px);left:max(16px,calc(var(--safe-left) + 10px))}.hud-start-cta{bottom:calc(max(16px,calc(var(--safe-bottom) + 10px)) + 104px)}.hud-bottom-right{bottom:max(16px,calc(var(--safe-bottom) + 10px));left:max(16px,calc(var(--safe-left) + 10px));right:max(16px,calc(var(--safe-right) + 10px));justify-content:space-between}.hud-bottom-right .pill-select{min-width:0;flex:1 1 0}.game-hud-bottom-left{bottom:max(16px,calc(var(--safe-bottom) + 10px));left:max(16px,calc(var(--safe-left) + 10px));min-width:184px;padding:10px 12px}.game-hud-bottom-right{bottom:max(16px,calc(var(--safe-bottom) + 10px));right:max(16px,calc(var(--safe-right) + 10px))}.game-controls-bar{bottom:calc(max(16px,calc(var(--safe-bottom) + 10px)) + 74px);font-size:11px;padding:5px 12px}.game-controls-bar.is-dimmed{opacity:0}}@media(min-width:901px)and (max-width:1320px)and (min-height:501px){.hud-start-cta{bottom:calc(max(20px,var(--safe-bottom)) + 48px)}}@media(max-width:680px){.label-full{display:none}.label-short{display:inline}.hud-top-left,.game-hud-top-left{top:max(12px,calc(var(--safe-top) + 8px));left:max(14px,calc(var(--safe-left) + 10px))}.hud-top-right,.game-hud-top-right{top:max(12px,calc(var(--safe-top) + 8px));right:max(14px,calc(var(--safe-right) + 10px));gap:6px}.brand-title{font-size:clamp(18px,5vw,22px);letter-spacing:.04em}.hud-top-left .brand-title{display:flex;align-items:center;min-height:44px}.hud-top-left .telemetry{margin-top:4px}.telemetry{margin-top:12px;padding:5px 10px;gap:6px;font-size:11px}.game-telemetry{margin-top:6px}.hud-top-right .glass-btn,.game-hud-top-right .glass-btn{height:36px;min-block-size:36px;padding:0 11px;font-size:12px}.game-icon-btn{width:36px;height:36px;min-block-size:36px}.hud-bottom-left{gap:6px}.lens-meter{gap:6px;padding-inline:8px}.lens-range{width:clamp(90px,26vw,112px)}.hud-bottom-right{bottom:max(14px,calc(var(--safe-bottom) + 10px));left:max(14px,calc(var(--safe-left) + 10px));right:max(14px,calc(var(--safe-right) + 10px));gap:6px}.pill-select{height:40px;min-block-size:40px;padding:0 10px 0 11px;font-size:12px;gap:4px}.hud-start-cta{bottom:calc(max(14px,calc(var(--safe-bottom) + 10px)) + 108px)}.start-race-btn{height:46px;min-block-size:46px;font-size:14px}.game-sector-row{font-size:11px;gap:6px;flex-wrap:wrap;max-width:calc(56dvw - 12px)}.game-score-num{font-size:clamp(28px,8vw,36px)}.game-hud-bottom-left{bottom:max(16px,calc(var(--safe-bottom) + 10px));left:max(14px,calc(var(--safe-left) + 10px));min-width:150px;max-width:calc(48dvw - 16px);padding:9px 11px;gap:7px;border-radius:14px}.health-pip{width:20px}.game-jump-row{display:none}.game-hud-bottom-right{bottom:max(16px,calc(var(--safe-bottom) + 10px));right:max(14px,calc(var(--safe-right) + 10px));flex-direction:row;align-items:center;gap:8px}.game-action-btn{min-width:70px;height:48px;min-block-size:48px;padding:0 14px;border-radius:16px;font-size:13px;font-weight:600}.game-controls-bar{bottom:calc(max(16px,calc(var(--safe-bottom) + 10px)) + 68px);width:max-content;max-width:calc(100dvw - 28px);white-space:normal;text-align:center;font-size:11px;padding:6px 13px}.game-callout{position:absolute;top:calc(100% + 9px);left:calc(50vw - max(14px,var(--safe-left) + 10px));width:max-content;font-size:16px;letter-spacing:.08em;max-width:calc(100dvw - 32px);white-space:normal;text-align:center}.inspect-banner{top:max(12px,calc(var(--safe-top) + 8px));flex-wrap:wrap;white-space:normal;text-align:center;row-gap:4px;column-gap:7px;padding:9px 14px;border-radius:16px;font-size:11px;line-height:1.4}.inspect-sep{display:none}.inspect-hint-touch{flex-basis:100%;font-size:11px}.inspect-actions{bottom:max(16px,calc(var(--safe-bottom) + 10px));width:calc(100dvw - 28px);justify-content:center}.inspect-actions .glass-btn,.inspect-actions .solid-white-btn{flex:1 1 0;max-width:170px;height:44px}.prompt-dialog{width:calc(100dvw - 20px);max-height:min(90dvh,760px);border-radius:18px}.dialog-inner{max-height:min(90dvh,760px);padding:16px 16px calc(16px + var(--safe-bottom));gap:12px}.dialog-title{font-size:18px}.gameover-hero{padding:14px 12px}.gameover-hero-score{font-size:36px}.gameover-stat-card{padding:10px 12px}.gameover-footer{justify-content:stretch}.gameover-footer .glass-btn,.gameover-footer .solid-white-btn{flex:1 1 0;height:44px;padding:0 12px}.go-register-row,.go-synced-box,.lb-my-bar{flex-wrap:wrap}.go-synced-box .go-rank-link-btn,.lb-my-actions{margin-left:auto}.lb-tabs{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.lb-tab{padding:0 6px;font-size:11px;text-align:center}}@media(max-width:500px){.hud-domain{top:calc(var(--safe-top) + 6px);font-size:13px}.cruise-hud.hud-top-left,.cruise-hud.hud-top-right{top:calc(var(--safe-top) + 30px)}.brand-title{font-size:clamp(15px,4.5vw,21px)}}@media(max-width:360px){.hud-top-right .glass-btn{padding-inline:8px}}@media(max-height:500px)and (orientation:landscape){.hud-top-left,.game-hud-top-left{top:max(10px,calc(var(--safe-top) + 6px));left:max(14px,calc(var(--safe-left) + 8px))}.hud-top-right,.game-hud-top-right{top:max(10px,calc(var(--safe-top) + 6px));right:max(14px,calc(var(--safe-right) + 8px))}.hud-bottom-left,.hud-bottom-right,.game-hud-bottom-left,.game-hud-bottom-right{bottom:max(10px,calc(var(--safe-bottom) + 6px))}.hud-start-cta{bottom:calc(max(10px,calc(var(--safe-bottom) + 6px)) + 46px)}.hud-bottom-right{left:auto;right:max(14px,calc(var(--safe-right) + 8px));gap:6px}.hud-bottom-right .pill-select{flex:0 1 auto;height:36px;padding:0 10px;font-size:12px}.game-score-num{font-size:26px}.game-jump-row{display:none}.game-controls-bar{bottom:max(12px,calc(var(--safe-bottom) + 8px));max-width:calc(100vw - 440px);white-space:normal;text-align:center}.game-controls-bar.is-dimmed{opacity:0}.prompt-dialog{max-height:92dvh}.dialog-inner{max-height:92dvh;padding:14px 18px;gap:10px}.gameover-hero{padding:10px 12px}.gameover-hero-score{font-size:30px}}.pill-select[hidden]{display:none}.paint-swatch{display:inline-block;width:.85em;height:.85em;margin-inline-end:.5em;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:var(--paint);vertical-align:middle}#vehicleStatus{position:absolute;right:0;bottom:calc(100% + 8px);font-size:12px;white-space:nowrap;text-shadow:0 1px 4px #000}@media(max-width:650px)and (max-height:500px)and (orientation:landscape){.lens-range{width:82px}.hud-bottom-right{left:max(50%,calc(var(--safe-left) + 270px))}.hud-bottom-right .pill-select{flex:1 1 0;text-overflow:ellipsis}}@media(max-width:600px)and (orientation:portrait){.hud-bottom-right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hud-bottom-left{bottom:calc(max(14px,calc(var(--safe-bottom) + 10px)) + 96px)}.hud-start-cta{bottom:calc(max(14px,calc(var(--safe-bottom) + 10px)) + 148px)}}.controls-dialog{width:min(370px,calc(100dvw - 28px))}.controls-dialog h3{margin:0 0 4px;font-size:14px}.control-choice{display:inline-flex;align-items:center;gap:12px;color:var(--text-main);font-size:14px}.control-choice select{color-scheme:dark;min-height:40px;padding:4px 10px;font:inherit;color:#fff;border:1px solid var(--border-hover);border-radius:10px;background:#212331}.driving-guide{margin:0;color:var(--text-muted);font-size:13px;line-height:1.65}.game-pause-banner{padding:max(12px,var(--safe-top)) max(16px,var(--safe-right)) max(12px,var(--safe-bottom)) max(16px,var(--safe-left));overflow-y:auto;justify-content:safe center;text-align:center}.lane-controls{display:none}[data-input-mode=touch] .lens-meter{height:46px}[data-input-mode=touch] .inspect-hint-desktop{display:none}[data-input-mode=touch] .inspect-hint-touch{display:inline}[data-input-mode=touch] :is(.game-action-btn,.game-icon-btn,.hint-icon-btn,.control-choice select){min-height:44px}[data-input-mode=touch] :is(.game-icon-btn,.hint-icon-btn){min-width:44px}[data-control-preference=touch] .game-hud-bottom-right{left:max(14px,calc(var(--safe-left) + 10px));pointer-events:none}[data-control-preference=touch] .lane-controls{display:flex;gap:6px;margin-right:auto}[data-control-preference=touch] .lane-controls button{width:48px;height:48px;padding:0}[data-control-preference=touch] body.is-game:not(.is-inspecting) .game-hud-bottom-right button{pointer-events:auto}[data-control-preference=touch] .game-hud-bottom-left{bottom:calc(max(24px,var(--safe-bottom) + 16px) + 58px)}[data-input-mode=touch] .game-controls-bar.is-dimmed{opacity:0}@media(max-width:680px){.game-sector-row{max-width:min(56dvw,calc(100dvw - 192px - var(--safe-left) - var(--safe-right)))}}@media(max-width:380px){.game-surge-badge{margin-left:0;padding-inline:6px;letter-spacing:normal;text-wrap:balance}.game-hud-bottom-left{bottom:calc(max(16px,var(--safe-bottom) + 10px) + 58px)}}@media(max-width:680px)and (orientation:portrait){.game-controls-bar{inset-inline:auto max(14px,calc(var(--safe-right) + 10px));bottom:calc(max(16px,var(--safe-bottom) + 10px) + 64px);max-width:calc(50dvw - 25px - var(--safe-right));transform:none}}@media(max-height:500px)and (orientation:landscape)and (max-width:720px){.game-controls-bar{left:calc(50% + 16px);max-width:calc(100vw - 374px)}[data-control-preference=touch] .game-controls-bar{left:calc(50% - 20px);max-width:calc(100vw - 300px)}}.friend-dialog{width:min(420px,calc(100dvw - 32px));overflow-y:auto}.friend-dialog .dialog-inner{padding:24px;gap:16px}.friend-dialog .dialog-header{align-items:center}.friend-dialog .friend-course{margin:0;font-weight:650}.friend-course span{margin-left:8px;font-size:12px;color:var(--text-muted);font-weight:400}#friendEntry{display:grid;gap:16px}.friend-dialog label{display:grid;gap:6px;font-size:12px;color:var(--text-muted)}.friend-dialog input{min-width:0;padding:10px 12px;border:1px solid var(--border-hover);border-radius:9px;background:#ffffff0f;color:#fff;font:inherit;font-size:16px}#friendJoinForm{border-top:1px solid var(--border-hover);padding-top:16px;display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px}.friend-dialog [hidden],#friendHUD[hidden],#friendWatch[hidden]{display:none}.friend-code,.friend-actions,#friendSeats li{display:flex;align-items:center;justify-content:space-between;gap:8px}.friend-code{font-size:12px;color:var(--text-muted)}.friend-code strong{display:block;font:650 35px/1.3 ui-monospace,monospace;color:#fff;letter-spacing:.07em}#friendSeats{padding:0;margin:14px 0;list-style:none}#friendSeats li{min-height:36px;border-bottom:1px solid var(--border-hover);font-size:14px}#friendSeats small{color:var(--text-muted)}#friendStatus{margin:0;font-size:13px;min-height:1.3em;color:var(--text-muted)}.friend-dialog button:disabled{opacity:.45}.friend-actions button{flex:1}#friendHUD{position:fixed;z-index:6;left:max(16px,env(safe-area-inset-left));top:clamp(108px,18vh,170px);max-width:min(44vw,245px);padding:8px 12px;color:#fff;background:#090d18ba;border-radius:10px;font-size:12px;font-variant-numeric:tabular-nums;pointer-events:none}#friendGaps{line-height:1.5;white-space:pre-line}#friendWatch{pointer-events:auto;margin-top:5px}body.friend-racing #gamePauseBtn{display:none}@media(max-width:600px){.hud-top-right:has(#friendOpen){gap:4px}#friendHUD{left:8px;font-size:11px}}
