@font-face{font-family:Commissioner;src:url(./commissioner--isDgiVY.ttf);font-weight:100 900;font-display:swap}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#20221e;background:#eeeade;font:15px/1.5 Commissioner,Arial,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #327b9b;outline-offset:4px}a{color:inherit;text-underline-offset:5px}.site-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;margin:0 4vw;border-bottom:1px solid #8e9385;font-size:12px}.site-head .brand img{width:166px;height:44px}.site-head>span{font-size:9px;letter-spacing:.12em}main{max-width:1600px;margin:auto;padding:0 4vw}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.12em}.race-intro{display:flex;align-items:flex-end;justify-content:space-between;padding:55px 0 45px;gap:20px}.race-intro h1{font-size:clamp(64px,9.5vw,148px);line-height:.86;letter-spacing:-.06em;font-weight:850;margin:22px 0 0}.race-intro em,em{color:#bd3429;font-style:normal}.intro-copy{position:relative;min-width:230px;padding-left:75px}.red-index{color:#bd3429;font-size:62px;font-weight:850;position:absolute;left:0;top:-12px;writing-mode:vertical-rl;line-height:1}.intro-copy p{font-size:20px;line-height:1.45}.intro-copy a{font-size:11px}.section-caption{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #92978a;padding:16px 0;gap:14px}.section-caption h2{font-size:20px;margin:0;font-weight:750}.section-caption>span{font-size:9px;letter-spacing:.09em}.garage-cars{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 35px}.car-card{position:relative;background:#f6f3e9;border:1px solid #b8bbae;text-align:left;padding:0;overflow:hidden;display:flex;flex-direction:column;transition:border-color .2s}.car-card[aria-pressed=true]{border-color:#bd3429;box-shadow:inset 0 -4px #bd3429}.car-card[aria-pressed=true]:after{content:"ВЫБРАНО";position:absolute;top:14px;right:14px;background:#bd3429;color:#fff;font-size:9px;font-weight:700;padding:4px 8px}.car-art{width:100%;height:clamp(150px,17vw,255px);background-repeat:no-repeat;background-size:300% 100%;background-color:#eeeade}.car-info{padding:16px 20px 20px;width:100%}.car-top{display:flex;gap:12px;align-items:baseline}.car-number{color:#bd3429;font-size:12px;font-weight:750}.car-info h3{font-size:30px;font-weight:850;letter-spacing:-.04em;margin:0;line-height:1}.car-tag{font-size:11px;margin:8px 0 14px}.car-power{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #d2d2c4;padding-top:12px;font-size:13px;font-weight:700}.car-power span{font-size:9px;font-weight:500;color:#626d5f}.autodrom{scroll-margin-top:12px}.race-stage{position:relative;height:clamp(510px,67vw,760px);background:#e9e6d8;border:1px solid #9aa18f;overflow:hidden;isolation:isolate;touch-action:none;outline-offset:3px}.race-stage canvas{display:block}#raceCanvas{position:absolute;top:0;right:0;bottom:0;left:0}.hud{position:absolute;top:max(14px,env(safe-area-inset-top));left:20px;right:20px;display:flex;gap:25px;align-items:flex-start;pointer-events:none}.hud>div{pointer-events:auto}.hud small{font-size:8px;letter-spacing:.1em;display:block;font-weight:700}.hud strong{font-weight:850;font-size:32px;line-height:1.1;font-variant-numeric:tabular-nums}.hud strong span{font-size:15px;color:#64705f}.hud-time{margin-left:auto}.hud-actions{display:flex;gap:6px;margin-left:8px}.hud-actions button{width:42px;height:42px;border:1px solid #a7ae9c;background:#eeeadee8;font-size:24px}.circuit-stamp{position:absolute;top:43%;left:43%;font-weight:850;font-size:clamp(30px,5vw,66px);line-height:.85;letter-spacing:-.05em;opacity:.16;transform:rotate(-12deg);pointer-events:none}.circuit-stamp span{display:block;font-size:8px;letter-spacing:.12em;margin-top:10px}.race-toast{position:absolute;left:50%;top:76px;transform:translate(-50%);padding:7px 12px;background:#f6f3e9ec;border-left:3px solid #bd3429;font-size:11px;text-align:center;max-width:65%;pointer-events:none}.start-panel,.result-panel{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:min(350px,calc(100% - 32px));padding:24px;background:#f6f3e9f5;border:1px solid #919c89;box-shadow:10px 10px #20221e16}.start-panel h3,.result-panel h3{font-size:40px;font-weight:850;line-height:1;letter-spacing:-.04em;margin:12px 0}.start-panel p{font-size:13px}.start-panel small{display:block;font-size:10px;color:#626e5c;line-height:1.5;margin:8px 0 16px}.assist-choice{font-size:12px;display:flex;align-items:center;gap:7px}.assist-choice input{accent-color:#bd3429;width:18px;height:18px}.primary{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:13px 20px;background:#bd3429;color:#fff;border:0;font-weight:750;width:100%}.touch-controls{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:2}.steer-cluster{position:absolute;left:max(20px,env(safe-area-inset-left));bottom:max(18px,env(safe-area-inset-bottom));pointer-events:auto}.ability-cluster{position:absolute;right:max(20px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));pointer-events:auto;text-align:right}#wheel{width:118px;height:118px;position:relative;border-radius:50%;background:#eeeadea8;touch-action:none}#wheel button{position:absolute;top:0;bottom:0;width:50%;border:0;background:none;color:transparent;z-index:1;touch-action:none}#steerLeft{left:0}#steerRight{right:0}.wheel-art{position:absolute;top:7px;right:7px;bottom:7px;left:7px;border:9px solid #313e34;border-radius:50%;transform:rotate(var(--steer,0deg));transition:transform .08s}.wheel-art:after{content:"";position:absolute;width:6px;height:12px;top:-10px;left:calc(50% - 3px);background:#bd3429}.wheel-art i{position:absolute;width:40%;height:8px;background:#313e34;left:10%;top:46%;transform-origin:right center}.wheel-art i:nth-child(2){transform:rotate(120deg)}.wheel-art i:nth-child(3){transform:rotate(240deg)}.wheel-art b{position:absolute;width:22px;height:22px;background:#bd3429;left:calc(50% - 11px);top:calc(50% - 11px);border:3px solid #eeeade;border-radius:50%}#brake{font-size:9px;font-weight:750;letter-spacing:.06em;border:1px solid #7c8873;background:#eeeadee8;width:118px;min-height:35px;margin-top:6px;touch-action:none}.ability-cluster>span{font-size:8px;font-weight:650;display:block;margin:0 0 7px}#ability{width:124px;height:124px;border-radius:50%;border:2px solid #eeeade;outline:2px solid #bd3429;background:#bd3429;color:#fff;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;touch-action:none}#ability:disabled{opacity:.8;background:#52634f;outline-color:#52634f}.ability-icon{font-size:37px;line-height:1}#ability strong{font-size:11px;letter-spacing:.03em}#ability small{font-size:8px}.charge-track{position:absolute;height:4px;width:58%;bottom:16px;background:#fff5}.charge-track i{display:block;width:100%;height:100%;background:#fff;transform-origin:left}.result-panel{max-height:calc(100% - 28px);overflow:auto}.result-score{display:flex;align-items:baseline;gap:10px}.result-score strong{font-size:58px;font-weight:850;line-height:1.2;color:#bd3429}.result-score span{font-size:9px}.result-row{display:flex;justify-content:space-between;border-top:1px solid #d2d2c4;font-size:11px;padding:5px 0}.result-panel p{font-size:11px}.plain{background:none;border:0;min-height:40px;width:100%;font-size:11px;text-decoration:underline}.play-notes{display:flex;gap:30px;font-size:11px;color:#65705e}.play-notes p{flex:1}.race-bottom{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding:45px 0 60px;border-top:1px solid #92978a;margin-top:25px}.race-bottom h2{font-size:clamp(30px,4vw,56px);line-height:1;margin:14px 0 20px;font-weight:850;letter-spacing:-.04em}.race-bottom p{font-size:13px;max-width:50ch}.text-button{border:0;background:none;padding:0;text-decoration:underline;min-height:44px;font-size:12px}.local-records{padding:18px 22px;border:1px solid #afb6a3;align-self:start}.record-row{padding:14px 0;border-bottom:1px solid #c2c6b6;display:flex;justify-content:space-between;gap:10px;font-size:13px}.record-row small{display:block;font-size:9px;color:#64705e}.record-row b{font-size:24px}.local-records>small{font-size:10px;display:block;line-height:1.6;margin-top:16px}.site-footer{margin:0 4vw;padding:18px 0;border-top:1px solid #92978a;display:flex;justify-content:space-between;font-size:10px}dialog{width:min(600px,calc(100% - 30px));background:#f6f3e9;color:#20221e;border:1px solid #929c89;padding:24px;max-height:90dvh;overflow:auto}dialog::backdrop{background:#20221eaa}dialog h2{font-size:32px;line-height:1.05}dialog p,dialog li{font-size:13px;line-height:1.7}.close-help{float:right;border:0;background:none;font-size:27px;min-height:44px;min-width:44px}.race-stage:fullscreen,.race-stage.is-expanded{width:100vw;height:100dvh;border:0;margin:0;background:#e9e6d8}.race-stage.is-expanded{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000}body.race-expanded{overflow:hidden}[hidden]{display:none!important}@media(max-width:700px){main{padding:0 16px}.site-head{margin:0 16px;padding:12px 0}.site-head .brand img{width:135px;height:36px}.site-head>span{display:none}.site-head>a:not(.brand){font-size:10px}.race-intro{display:block;padding:30px 0}.race-intro h1{font-size:clamp(58px,13vw,85px)}.intro-copy{padding-left:0;margin-top:25px;display:flex;align-items:center;gap:18px}.red-index{position:static;writing-mode:initial;font-size:48px}.intro-copy p{font-size:13px;margin:0}.intro-copy a{margin-left:auto;max-width:12ch;font-size:10px}.garage-cars{gap:7px;overflow:auto;grid-template-columns:repeat(3,minmax(180px,1fr));scroll-snap-type:x mandatory;padding-bottom:6px}.car-card{scroll-snap-align:start}.car-art{height:150px}.car-info{padding:12px}.car-info h3{font-size:24px}.car-top{gap:8px}.car-tag{font-size:9px}.car-power{font-size:11px;display:block}.car-power span{display:block;margin-top:4px}.car-card[aria-pressed=true]:after{font-size:7px;right:8px;top:8px}.section-caption h2{font-size:18px}.section-caption>span{max-width:17ch;text-align:right;font-size:8px}.race-stage{height:680px;max-height:90dvh;min-height:500px}.hud{left:12px;right:12px;top:12px;gap:14px}.hud strong{font-size:26px}.hud small{font-size:7px}.hud-actions{gap:4px;margin-left:0}.hud-actions button{width:36px;height:38px;font-size:21px}.hud-time{margin-left:auto}.start-panel{padding:20px;width:calc(100% - 55px)}.start-panel h3{font-size:32px}.start-panel small{font-size:9px}.circuit-stamp{display:none}.steer-cluster{left:12px;bottom:12px}#wheel{width:95px;height:95px}#brake{width:95px;min-height:32px}.ability-cluster{right:14px;bottom:18px}#ability{width:106px;height:106px}.ability-icon{font-size:31px}#ability strong{font-size:9px}.charge-track{bottom:12px}.ability-cluster>span{font-size:7px}.race-toast{top:66px;max-width:78%;width:max-content;font-size:9px}.play-notes{display:block;font-size:10px}.race-bottom{display:block;padding:26px 0}.local-records{margin-top:25px}.site-footer{margin:0 16px;font-size:8px;gap:15px}}@media(max-height:500px)and (orientation:landscape){.race-stage{height:calc(100dvh - 10px);min-height:300px}.hud{top:8px;left:12px;right:12px}.hud strong{font-size:24px}.hud small{font-size:7px}.hud-actions button{height:34px;width:36px}.race-toast{top:48px;font-size:9px}.start-panel{padding:14px 20px;width:280px}.start-panel h3{font-size:28px;margin:6px 0}.start-panel small{font-size:8px;margin:5px 0}.start-panel p{font-size:11px;margin:5px 0}.start-panel .primary{min-height:42px;padding:8px 14px}.steer-cluster{left:12px;bottom:10px}#wheel{width:86px;height:86px}#brake{width:86px;min-height:30px}.ability-cluster{right:16px;bottom:14px}#ability{width:93px;height:93px}.ability-icon{font-size:27px}#ability strong{font-size:8px}.charge-track{bottom:10px}.result-panel{width:400px;padding:14px 20px}.result-panel h3{font-size:25px;margin:5px 0}.result-score strong{font-size:34px}.result-row{padding:3px 0}.result-panel p{margin:5px 0;font-size:10px}.result-panel .primary{min-height:38px;padding:7px 12px}.plain{min-height:30px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.wheel-art,.car-card{transition:none}}.car-art{background-size:300% auto;height:clamp(170px,22vw,320px)}@media(max-width:700px){.car-art{height:150px}}.race-account{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #aeb5a3;padding:12px 0;font-size:11px}.race-account>div{display:flex;gap:16px;align-items:center}.race-account select{background:#f6f3e9;font:inherit;padding:5px;border:1px solid #aeb5a3}.track-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.track-card{display:grid;grid-template-columns:86px 1fr;align-items:center;gap:12px;background:#f6f3e9;border:1px solid #afb6a3;text-align:left;padding:12px;min-height:98px}.track-card[aria-pressed=true]{border:2px solid #bd3429;padding:11px}.track-card svg{width:86px;height:62px}.track-card strong{display:block;font-size:14px;line-height:1.2}.track-card small{display:block;font-size:9px;margin-top:5px;color:#63705e}.race-rank-filters{display:flex;flex-wrap:wrap;gap:10px}.race-rank-filters label{display:block;font-size:10px;flex:1}.race-rank-filters select{display:block;font:inherit;font-size:12px;padding:8px;background:#eeeade;border:1px solid #aab19e;width:100%;min-height:42px}.race-rank-row{display:grid;grid-template-columns:32px 1fr auto;gap:14px;padding:13px 0;border-top:1px solid #bbc2b0;align-items:center}.race-rank-row.you{color:#bd3429}.race-rank-row small{display:block;font-size:10px}.race-rank-row b{font-size:25px}#raceRankStatus,#saveRaceStatus{font-size:12px;line-height:1.5}.record-row.you{color:#bd3429}@media(max-width:700px){.race-account{display:block}.race-account>div{gap:12px;flex-wrap:wrap}.race-account p{margin:0 0 9px}.track-cards{display:flex;overflow:auto;scroll-snap-type:x mandatory}.track-card{flex:0 0 230px;scroll-snap-align:start;min-height:85px;grid-template-columns:65px 1fr;gap:8px}.track-card svg{width:65px;height:52px}.track-card strong{font-size:12px}.race-rank-filters label:last-child{flex-basis:100%}}@media(min-width:701px)and (min-height:501px){.race-stage{height:min(760px,calc(100dvh - 24px));min-height:480px}}#vr-unused{display:none}#wheel{border:2px solid #53665a;background:#eeeadee6;-webkit-user-select:none;user-select:none;cursor:crosshair}.joystick-ring{position:absolute;top:3px;right:3px;bottom:3px;left:3px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;font-size:15px;color:#64705f;pointer-events:none}.joystick-ring>span{width:100%;display:flex;justify-content:space-between;white-space:pre}.joystick-knob{position:absolute;width:38%;height:38%;left:31%;top:31%;background:#bd3429;border:4px solid #f6f3e9;border-radius:50%;box-shadow:0 2px 5px #20221e44;transform:translate(var(--jx,0px),var(--jy,0px));pointer-events:none}.joystick-arrow{position:absolute;left:40%;top:32%;font-size:27px;line-height:1;transform:rotate(var(--heading,0rad)) translate(27px);color:#bd3429;pointer-events:none}#renderError{position:absolute;left:15%;right:15%;top:38%;z-index:8;background:#bd3429;color:#fff;padding:20px}#switchTrackChoices{display:grid;gap:10px}#switchTrack{font-size:22px}#switchTrackDialog{z-index:20}.hud{gap:12px}@media(max-width:400px){.hud{left:8px;right:8px;gap:8px}.hud strong{font-size:22px}.hud-actions button{width:30px}.hud-actions{gap:3px}}
