@font-face{font-family:Roboto;src:url(../fonts/roboto.woff2) format("woff2");font-style:normal;font-weight:100 900;font-stretch:75% 100%;font-display:swap}@font-face{font-family:Barlow Condensed;src:url(../fonts/barlow-condensed.woff2) format("woff2");font-style:italic;font-weight:800;font-display:swap}:root{--orange:#ff7438;--ink:#181c1d;--soft:#b7bec0;--mono:ui-monospace,"DejaVu Sans Mono",monospace;--display:"Barlow Condensed",Impact,sans-serif;--edge:clamp(16px,2.6vw,44px);color-scheme:dark;font:16px Roboto,Arial,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--ink);color:#f6f5ee;height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:none}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,input:focus-visible{outline:2px solid #ffb38e;outline-offset:3px}button:disabled{cursor:default}button svg,i svg{width:1.15em;height:1.15em;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}i[data-icon]{display:inline-flex;align-items:center;justify-content:center;font-style:normal;flex:none}button{border:0;background:none}.topbar,.control-bar{position:relative;z-index:2;display:flex;align-items:center;flex-shrink:0;background:#191d1f;padding-inline:var(--edge)}.topbar{height:64px;border-bottom:1px solid #33383a;gap:19px}.brand,.mini-brand{display:flex;align-items:center;gap:11px}.brand img{width:33px;height:33px}.brand strong,.mini-brand{font:italic 800 30px/.95 var(--display);letter-spacing:-.02em}.brand-sub{color:#aeb4b4;border-left:1px solid #444a4b;padding-left:19px;font:600 10px/18px var(--mono);letter-spacing:.13em}.topbar nav{margin-left:auto;display:flex;align-items:center;gap:9px}.garage-btn,.icon-button,.control-bar button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:5px}.garage-btn{height:34px;border:1px solid #484d4f;padding:0 12px;font-size:14px;font-weight:600}.garage-btn i{color:#d2d4cf}.nav-rule{height:21px;width:1px;background:#404446;margin:0 4px}.icon-button{width:34px;height:34px;color:#d9ddda}.icon-button:active,.icon-button:hover,.garage-btn:hover,.control-bar button:hover{background:#353b3d}.icon-button i{font-size:17px}#stage{position:relative;isolation:isolate;flex:1;min-height:0;overflow:hidden;background:#91a6aa;touch-action:none;-webkit-user-select:none;user-select:none}#world,.vignette{position:absolute;inset:0;width:100%;height:100%;display:block}.vignette{pointer-events:none;background:linear-gradient(180deg,rgba(18,27,30,.27),transparent 24%,transparent 77%,rgba(11,16,15,.24));z-index:1}.track-heading,.race-unit,.speed-panel,.map-panel,.touch-controls,#waypoint{position:absolute;z-index:2}.track-heading{top:clamp(19px,3.7vh,40px);left:var(--edge);text-shadow:0 1px 9px #182429a8}.eyebrow,.small-label,.panel-heading,.gear-box span{font-family:var(--mono);font-weight:650;letter-spacing:.095em}.eyebrow{display:flex;align-items:center;gap:8px;font-size:11px}.route-tag{color:#fff7ee}.orange-rule{width:23px;height:4px;display:inline-block;background:var(--orange);transform:skew(-19deg)}h1,h2{font-stretch:77%;letter-spacing:-.035em}h1{margin:7px 0 9px;font-weight:830;font-size:clamp(30px,3vw,54px);line-height:1.06}.conditions{display:flex;align-items:center;gap:10px;color:#f2f2ea;font-weight:550;font-size:14px}.conditions span{display:flex;gap:3px;align-items:center}.conditions i{margin-right:4px}.conditions em{height:11px;width:1px;background:#e1e6dc8f}.conditions b{font-weight:inherit}.panel{background:#181d1de3;box-shadow:0 2px 10px #09100d1c;border:1px solid #ffffff20;border-radius:7px;color:#f4f5ed}.race-unit{top:clamp(19px,3.7vh,40px);right:var(--edge);display:flex;align-items:center;gap:14px;padding:11px 14px;min-height:53px}.race-time{display:flex;align-items:center;gap:9px}.race-time i{color:#ff965d}.race-time output{font:600 19px var(--mono);font-variant-numeric:tabular-nums;letter-spacing:-.06em}.race-rule{width:1px;height:27px;background:#ffffff32}.small-label{font-size:9px;letter-spacing:.07em;color:#c0c7c5}.checkpoint-info{display:flex;gap:5px;flex-direction:column}#checkmarks{display:flex;gap:5px}.checkpoint{display:block;height:4px;width:21px;transform:skew(-18deg);background:#686d68;border-radius:1px}.checkpoint.done{background:var(--orange)}.speed-panel,.map-panel{bottom:var(--edge)}.speed-panel{left:var(--edge);width:208px;padding:13px 16px 10px}.panel-heading{display:flex;align-items:center;gap:7px;font-size:10px;color:#e0e3db;line-height:15px;letter-spacing:.13em}.status-square{width:7px;height:7px;background:var(--orange);transform:skew(-13deg)}.speed-row{display:flex;justify-content:space-between;align-items:center;margin:4px 0 10px}.speed-value{display:flex;align-items:baseline;gap:8px}.speed-value output{font:italic 800 61px/.92 var(--display);font-variant-numeric:tabular-nums;min-width:30px}.speed-value span{font-size:14px;color:#c0c6bf}.gear-box{display:flex;flex-direction:column;align-items:center;gap:3px}.gear-box b{height:29px;min-width:30px;padding:1px 4px 0;display:grid;place-items:center;background:#f27837;color:#201e18;font:italic 800 25px/.9 var(--display);clip-path:polygon(13% 0,100% 0,88% 100%,0% 100%)}.gear-box span{font-size:8px;letter-spacing:.06em;color:#c5cac4}.tachometer{display:flex;gap:3px;height:7px;transform:skew(-15deg)}.tachometer b{flex:1;background:#58615a}.tachometer b.on{background:#e7e8d9}.tachometer b.red{background:#935032}.tachometer b.on.red{background:var(--orange)}.telemetry-foot{margin-top:11px;display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:6px;color:#dddeda}.telemetry-foot span{display:flex;align-items:center;gap:4px}.telemetry-foot span i{color:#9da8a2;font-size:14px}.telemetry-foot b{font-weight:550}.telemetry-foot .spinning,.telemetry-foot .spinning i{color:#ff9a65}.map-panel{right:var(--edge);width:198px;overflow:hidden}.map-head,.map-foot{display:flex;align-items:center}.map-head{justify-content:space-between;padding:9px 12px 4px}.map-head i{color:var(--orange)}#map-percent{font:600 11px var(--mono);color:#bfc7c1}#map{width:100%;height:91px;display:block}.map-foot{gap:6px;padding:7px 11px 8px;border-top:1px solid #ffffff17;font-size:12px;color:#bfc6bf}.map-foot i{color:#e3e6da}.map-foot b{margin-left:auto;font-family:var(--mono);font-size:12px;color:#f4f5eb}#waypoint{display:flex;flex-direction:column;align-items:center;gap:6px;left:0;top:0;pointer-events:none;will-change:transform}.world-marker{width:29px;height:29px;display:grid;place-items:center;transform:rotate(45deg);border:1px solid #ffcc9a;background:#e56b2d;color:#fff;box-shadow:0 1px 8px #413a273d;border-radius:4px}.world-marker i{transform:rotate(-45deg);font-size:16px}#way-distance{color:#fff;font:700 11px var(--mono);padding:2px 5px;border-radius:3px;background:#1d2422aa}.control-bar{height:49px;justify-content:space-between;gap:8px;border-top:1px solid #474a45}.key-guide,.key-guide span,.mobile-guide,.control-bar button{display:flex;align-items:center}.key-guide{gap:clamp(14px,2.5vw,40px)}.key-guide span,.control-bar button{gap:4px;font-size:12px;color:#c2c7c4}kbd{display:inline-grid;place-items:center;padding:0 5px;min-width:21px;height:21px;font:600 11px var(--mono);color:#e5e6df;background:#303536;border:1px solid #525859;border-radius:3px;box-shadow:0 1px #101213}.key-guide kbd:last-of-type{margin-right:4px}.control-bar button{gap:7px;padding:5px 6px;font-weight:520}.control-bar button i{color:#c1c8c4}.control-bar button kbd{margin-left:3px}.mobile-guide,.touch-controls{display:none}#loading{position:absolute;inset:0;background:#202928;z-index:8;display:grid;place-content:center;justify-items:center;gap:16px;text-align:center;padding:20px}.spinner{width:30px;height:30px;border:3px solid #647064;border-top-color:var(--orange);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{width:min(410px,calc(100% - 28px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #525853;border-radius:10px;background:#232928;color:#f3f3e9;padding:22px;box-shadow:0 22px 90px #0007}dialog::backdrop{background:#0c1514a8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.mini-brand{font-size:17px;gap:7px;color:#e3e5de}.mini-brand img{width:22px;height:22px}h2{font-size:31px;font-weight:780;margin:0 0 18px}fieldset{padding:2px 0 8px;border:0;border-bottom:1px solid #46504b;margin:0 0 14px}legend,.range-row label,.toggle-row{font-size:14px}legend{color:#b5beb7;font-size:12px;font-weight:650;margin-bottom:5px}.toggle-row{display:flex;align-items:center;justify-content:space-between;margin:8px 0;gap:12px;position:relative;cursor:pointer}.toggle-row small{color:#a4b1aa}.toggle-row input{position:absolute;right:0;opacity:0}.toggle-row b{width:33px;height:19px;background:#52605a;border-radius:16px;position:relative}.toggle-row b:after{content:"";display:block;width:13px;height:13px;border-radius:50%;background:#fff;position:absolute;top:3px;left:3px;transition:transform .16s}.toggle-row input:checked+b{background:#d65d29}.toggle-row input:checked+b:after{transform:translate(14px)}.toggle-row input:focus-visible+b{outline:2px solid white}.range-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px;margin-bottom:12px}.range-row output{color:#ff9a66;font:600 13px var(--mono)}.range-row input{width:100%;margin:2px 0;grid-column:1/-1;accent-color:var(--orange);cursor:pointer}.wide{width:100%;padding:11px 14px;border-radius:4px;font-weight:750;margin-top:7px}.primary{background:var(--orange);color:#201c17}.primary:hover{background:#ff8a55}.secondary{border:1px solid #54605a}.finish-tag{color:var(--orange);margin:8px 0}.results{font-size:14px}.results div{display:flex;justify-content:space-between;border-top:1px solid #414b45;padding:9px 0}.results dd{font:600 14px var(--mono)}@media(max-width:900px){.brand-sub{display:none}.topbar{height:55px}.control-bar{height:43px}.race-unit{gap:10px}.conditions{font-size:13px}.speed-panel{width:178px;padding:10px 12px}.speed-value output{font-size:49px}.map-panel{width:170px}#map{height:70px}}@media(pointer:coarse),(max-width:680px){.touch-controls{display:flex;justify-content:space-between;align-items:flex-end;left:var(--edge);right:var(--edge);bottom:max(13px,env(safe-area-inset-bottom));pointer-events:none}.touch-controls>div{display:flex;gap:7px;align-items:flex-end}.touch-controls button{pointer-events:auto;touch-action:none;-webkit-touch-callout:none;width:54px;height:53px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;background:#222825df;border:1px solid #e2e5cf73;border-radius:9px;color:#eff0e4;box-shadow:0 2px 7px #0003}.touch-controls button i{font-size:23px}.touch-controls small{font-size:8px;font-weight:700;letter-spacing:.06em}.touch-controls .gas{height:64px;background:#ef7236;color:#1c211d;border-color:#ffac74}.touch-controls button.held{background:#f9a572;color:#1c211d;transform:translateY(2px)}.speed-panel,.map-panel{bottom:93px}.key-guide{display:none}.mobile-guide{display:flex;align-items:center;gap:6px;font-size:12px;color:#b8c2ba}.control-bar button kbd{display:none}.topbar nav{gap:4px}.topbar{gap:5px}.brand strong{font-size:24px}.brand img{width:27px;height:27px}.brand{gap:7px}.garage-btn{font-size:12px;gap:5px;height:31px;padding:0 7px}.icon-button{width:30px;height:31px}.nav-rule{margin:0 1px}.control-bar{height:37px}}@media(max-width:680px){:root{--edge:13px}.topbar{height:50px}.race-unit{padding:8px;gap:6px;min-height:37px}.race-time{gap:5px}.race-time output{font-size:15px}.race-rule,.checkpoint-info{display:none}.track-heading,.race-unit{top:18px}h1{font-size:29px;max-width:79vw;margin-bottom:7px}.eyebrow{font-size:9px}.orange-rule{width:17px;height:3px}.conditions{font-size:12px;gap:7px}.map-panel{width:136px}.map-head{padding:6px 8px 2px}#map{height:51px}.map-foot{padding:5px 7px;font-size:10px}.map-foot b{font-size:10px}.speed-panel{width:143px;padding:8px 9px}.panel-heading{font-size:8px;gap:5px}.speed-row{margin:3px 0 7px}.speed-value output{font-size:40px}.speed-value span{font-size:11px}.gear-box b{height:22px;min-width:23px;font-size:19px}.gear-box span{font-size:6px}.tachometer{height:5px;gap:2px}.telemetry-foot{margin-top:7px;font-size:9px}.telemetry-foot span i{font-size:11px}.garage-btn span{display:none}.garage-btn{width:30px}.nav-rule{display:none}.brand strong{font-size:23px}.race-unit{top:12px}.temperature{display:none}}@media(max-height:510px)and (min-width:550px){:root{--edge:14px}.topbar{height:39px}.brand img{width:24px;height:24px}.brand strong{font-size:23px}.topbar nav button{height:28px}.control-bar{height:29px}.track-heading,.race-unit{top:10px}.track-heading h1{font-size:25px;margin:3px 0}.conditions{font-size:11px}.map-panel{width:120px;bottom:75px}.map-head{padding:4px 7px 0}#map{height:35px}.map-foot{padding:3px 7px;font-size:10px}.speed-panel{width:126px;bottom:75px;padding:5px 8px}.speed-panel>.panel-heading,.gear-box span,.telemetry-foot{display:none}.speed-row{margin:0 0 4px}.speed-value output{font-size:31px}.speed-value span{font-size:11px}.gear-box b{height:19px;min-width:22px;font-size:17px}.tachometer{height:4px}.race-unit{padding:6px 9px;min-height:32px}.race-time output{font-size:15px}.small-label{font-size:8px}.touch-controls{bottom:8px}.touch-controls button{height:44px}.touch-controls .gas{height:48px}.dialog-head{margin-bottom:6px}dialog{padding:12px 19px}h2{font-size:24px;margin-bottom:8px}.range-row{margin-bottom:6px}}@media(max-width:360px){.topbar{padding-inline:8px}.brand strong{font-size:20px}.race-unit{top:9px}.race-time i{display:none}.conditions{gap:5px}}@media(max-height:510px)and (min-width:550px){#modal:has(#tuning-view:not([hidden])){width:min(590px,calc(100vw - 32px))}#tuning-view:not([hidden]){display:grid;grid-template-columns:1fr 1fr;column-gap:24px;align-items:start}#tuning-view h2,#tuning-view .wide{grid-column:1/-1}#tuning-view fieldset{grid-column:1;grid-row:2/5;border-bottom:0}#tuning-view .range-row{grid-column:2;margin:0 0 5px}#tuning-view .wide{padding:8px 12px;margin-top:3px}}@media(max-width:680px)and (orientation:portrait){.speed-panel{width:126px;padding:6px 9px}.speed-panel,.map-panel{bottom:86px}.speed-row{margin:1px 0 5px}.speed-value output{font-size:35px}.speed-panel>.panel-heading{display:none}.map-panel{width:120px}#map{height:33px}.map-head{padding:3px 7px 0}.map-foot{padding:3px 6px}.telemetry-foot{margin-top:5px}}.map-foot span,.map-foot b{white-space:nowrap}@media(max-height:510px)and (min-width:550px){.map-foot{gap:3px}.map-foot i{display:none}}.telemetry-foot b{white-space:nowrap}#world{cursor:grab;outline:0}#world.dragging{cursor:grabbing}.route-tag{padding:0}.route-tag:hover span:last-child{color:var(--orange)}.drive-strip{flex:none;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:6px var(--edge);background:#202627;border-top:1px solid #454c48;z-index:2}.drive-locks,.adjustments,.quick-group,.drive-strip button,.rpm-row{display:flex;align-items:center}.drive-locks,.adjustments{gap:7px}.drive-strip button,.quick-group{border:1px solid #4c5652;border-radius:4px;background:#2b3232}.drive-strip button{min-height:32px;justify-content:center;gap:7px;padding:3px 9px;color:#d4dcd5;font-size:13px;font-weight:600}.drive-strip button:hover,.ghost-toggle:hover{background:#424a44}.drive-strip button[aria-pressed=true],.ghost-toggle[aria-pressed=true] i{color:#ffa16c}.drive-strip button[aria-pressed=true]{background:#46372b;border-color:#bd7950}.drive-strip i{font-size:17px}.drive-strip kbd{height:17px;min-width:17px;background:#202626;color:#b3bcb5;font-size:10px;border:0}.drive-strip button:disabled{color:#7b857e;cursor:default}.range-button strong{font-family:var(--mono)}.quick-group{padding:0 2px;gap:2px}.quick-group button{border:0;min-width:30px;min-height:30px;padding:2px 6px}.quick-group output{font:600 12px var(--mono);min-width:61px;text-align:center;color:#eef0e6;white-space:nowrap}.quick-group>i{color:#a9b4aa;padding-left:7px}.quick-group #manual-toggle{margin-right:3px;border-right:1px solid #4b5650;border-radius:0}.rpm-row{justify-content:space-between;color:#c6cec3;margin:0 0 5px;font:550 11px var(--mono)}.rpm-row output{color:#f0f0e5}.rpm-row b{font:700 9px var(--mono);color:#ff9d76}.ghost-toggle{position:absolute;z-index:2;right:var(--edge);top:calc(clamp(19px,3.7vh,40px) + 58px);display:flex;gap:6px;align-items:center;padding:5px 8px;font:550 12px Roboto,sans-serif}.ghost-toggle[aria-pressed=false] i{color:#a1aaa6}.ghost-toggle i{font-size:15px}#race-result{position:absolute;z-index:3;right:var(--edge);top:calc(clamp(19px,3.7vh,40px) + 94px);padding:8px 11px;display:grid;gap:3px;max-width:240px}#race-result b{color:#ffb07f}#race-result span{font-size:12px;color:#d8dfd5}.input-options{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px 12px}.input-options label{font-size:14px}.input-options select{min-width:0;background:#303935;color:#eee;border:1px solid #59665d;border-radius:4px;padding:6px;font:inherit;font-size:13px}.medals{display:flex;gap:8px;margin:10px 0}.medals div{flex:1;padding:8px;border-left:3px solid #e1b65b;background:#353b36}.medals div:nth-child(2){border-color:#b8c3c4}.medals div:nth-child(3){border-color:#bd8b6e}.medals dt{font-size:12px}.medals dd{margin:4px 0 0;font:600 14px var(--mono)}#personal-best{font-size:14px;color:#d1d9cf}.mode-option{display:block;text-align:left;padding:11px;width:100%;margin-top:7px;border-radius:4px;border:1px solid #546258}.mode-option:hover{background:#343e37}.mode-option b,.mode-option span{display:block}.mode-option span{font-size:13px;color:#bfcbc0;margin-top:3px}.touch-controls .handbrake[aria-pressed=true]{color:#ffbb92;background:#603c2b;border-color:#ff976a}@media(max-width:870px){.drive-strip{gap:6px}.drive-locks,.adjustments{gap:4px}.drive-strip button{padding:3px 6px;gap:4px}.drive-strip kbd{display:none}.drive-strip i{font-size:14px}.control-bar .camera-help{font-size:11px}}@media(max-width:600px)and (orientation:portrait){.drive-strip{display:grid;gap:4px;padding:4px var(--edge)}.drive-locks{display:grid;grid-template-columns:1fr .95fr 1fr .65fr}.adjustments{justify-content:space-between}.drive-strip button{font-size:12px;min-height:31px}.quick-group button{min-height:28px;min-width:28px}.quick-group output{font-size:11px;min-width:52px}.ghost-toggle{top:54px;padding:5px}.ghost-toggle span{display:none}.rpm-row{font-size:9px;margin:0 0 3px}.touch-controls>div{gap:4px}.touch-controls button{width:43px}.touch-controls .gas{width:49px}#race-result{top:101px;max-width:164px}.speed-panel .speed-row{margin-bottom:3px}}@media(max-height:510px)and (orientation:landscape){.drive-strip{padding:2px var(--edge);gap:4px}.drive-strip button{min-height:27px;font-size:11px}.quick-group button{min-height:25px;min-width:25px}.quick-group output{min-width:48px}.ghost-toggle{top:44px;padding:3px 6px}.rpm-row{font-size:9px;margin-bottom:2px}#race-result{top:70px;max-width:165px}.input-options{gap:4px}.input-options select{font-size:11px;padding:3px}}.drive-caption{color:#a5b0a8;font:600 10px var(--mono);letter-spacing:.1em;margin-right:4px}@media(max-width:1080px){.drive-caption,#range-name{display:none}}.car-picker select{width:100%;border:1px solid #59665d;border-radius:4px;background:#303935;color:#fff;padding:7px;font:600 15px Roboto,sans-serif}.car-picker legend{margin-bottom:3px}@media(max-width:870px)and (pointer:fine){.drive-locks kbd{display:inline-grid}}@media(max-width:680px)and (pointer:fine){.drive-locks i{display:none}}.vehicle-choice{display:grid;grid-template-columns:minmax(68px,24%) minmax(0,1fr);gap:10px;align-items:center}.vehicle-choice img{display:block;width:100%;height:auto;border-radius:4px}@media(max-width:680px)and (orientation:portrait){.speed-panel{width:140px}.telemetry-foot{gap:3px;font-size:10px}.telemetry-foot span{gap:2px}.telemetry-foot span i{font-size:11px}}#vehicle-specs{font-size:12px;color:#cbd4cc;margin:6px 0 1px;line-height:1.35}.wheel-option{font-size:12px}.rpm-row #parking-light{color:#231613;background:#ff9262;padding:2px 4px;border-radius:2px}#wheel-status{border-top:1px solid #ffffff26;margin-top:6px;padding-top:5px;color:#c3d2c5;font:10px/1.4 var(--mono);white-space:normal}#new-trial{margin-top:4px;text-align:left;padding:4px 0;color:#ffb387;font-weight:650;font-size:12px}#new-trial:hover{text-decoration:underline}.quick-group button:disabled,.drive-locks button:disabled{opacity:.52}@media(max-height:510px)and (min-width:550px){#tuning-view .car-picker{grid-column:1;grid-row:2/4;margin-bottom:4px}#tuning-view .input-options{grid-column:2;grid-row:2/4}#tuning-view .range-row{grid-column:auto}#tuning-view .wheel-option{grid-column:1/-1;margin:2px 0}}@media(max-width:380px)and (orientation:portrait){dialog{padding:14px}.dialog-head{margin-bottom:8px}#tuning-view h2{font-size:26px;margin-bottom:8px}#tuning-view fieldset{margin-bottom:7px;padding-bottom:6px}.vehicle-choice{grid-template-columns:72px 1fr;gap:4px 8px}.vehicle-choice>div{display:contents}.vehicle-choice select{grid-column:1/-1;grid-row:1}.vehicle-choice img{grid-column:1;grid-row:2}#vehicle-specs{margin:0}#tuning-view .range-row{margin-bottom:7px}}.stage-list{display:grid;gap:5px}.stage-list button{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid #4b5650;border-radius:5px;text-align:left;color:#e0e5db}.stage-list button[aria-pressed=true]{border-color:#e78c58;background:#43352a}.stage-list b{font-size:14px}.stage-list small{font:11px var(--mono);color:#adb8af;margin-left:auto}.stage-list span{font:700 12px var(--mono);color:#ffad7b}#stage-description{font-size:13px;color:#c8d3c9;margin:8px 0}.result-actions{display:flex;gap:10px;flex-wrap:wrap}.result-actions #next-stage{color:#ffe1bd;font-size:12px;font-weight:700;padding:4px 0}.lesson{position:absolute;z-index:4;left:var(--edge);top:clamp(140px,21vh,205px);width:min(275px,calc(100% - 28px));padding:12px 32px 12px 13px;border-left:3px solid var(--orange)}.lesson small,.lesson strong{display:block}.lesson small{font:650 9px var(--mono);letter-spacing:.12em;color:#ffc09c}.lesson strong{font-size:16px;margin-top:4px}.lesson p{margin:5px 0 0;font-size:13px;line-height:1.32;color:#d7e0d8}.lesson-close{position:absolute;right:3px;top:4px;padding:6px;color:#bcc8c1}.lesson #lesson-start{margin-top:7px;color:#ffa677;padding:0;font-size:13px;font-weight:700}@media(max-width:600px){.topbar nav{gap:2px}.lesson{top:96px;width:min(225px,63vw);padding:7px 22px 8px 9px}.lesson-close{right:0;top:1px;padding:4px}.lesson strong{font-size:14px}.lesson p,.lesson #lesson-start{font-size:11px}.lesson small{font-size:8px}}@media(max-height:510px)and (orientation:landscape){.lesson{top:60px;left:50%;transform:translate(-50%);width:220px;padding:6px 23px 6px 9px}.lesson strong,.lesson p{font-size:12px}.lesson small{font-size:8px}}.paint-row,.paint-row>div{display:flex;align-items:center;gap:7px}.paint-row{margin:6px 0 1px}.paint-row span{color:#c9d2c9;font-size:12px;margin-right:3px}.paint-row button{width:27px;height:24px;border-radius:4px;border:1px solid #778079;background:var(--paint,linear-gradient(135deg,#ba5934 0 34%,#547e99 34% 67%,#819779 67%));padding:0}.paint-row button[aria-pressed=true]{outline:2px solid #ffe2b8;outline-offset:1px}@media(max-width:380px){.topbar .brand strong{white-space:nowrap;font-size:20px}.topbar .brand{gap:5px}.topbar nav{gap:1px}.track-heading h1{font-size:clamp(22px,7.1vw,27px)}}.net-entry{border-color:#986542;color:#ffd3b6}.net-entry.in-room{color:#ffe9ba;border-color:#f59d69}.net-field{display:flex;flex-direction:column;gap:5px;color:#c7d0c6;font-size:13px}.net-field input,.net-field select{width:100%;min-width:0;padding:8px;background:#303936;color:#fff;border:1px solid #5b695f;border-radius:4px;font:600 14px Roboto,sans-serif}.net-tabs,.net-modes,.net-options{display:grid;grid-template-columns:1fr 1fr;gap:6px}.net-tabs{padding:3px;margin:14px 0;background:#171f1e;border-radius:5px}.net-tabs button{padding:7px 2px;border-radius:3px;color:#bbc7bf;font-size:13px}.net-tabs [aria-pressed=true]{background:#40493f;color:#fff}.net-options{gap:9px}.net-modes{padding:0 0 10px;margin-bottom:9px}.net-modes label{cursor:pointer}.net-modes input{position:absolute;opacity:0}.net-modes span{display:grid;gap:3px;border:1px solid #536157;background:#2e3734;border-radius:4px;padding:8px}.net-modes input:checked+span{border-color:#e49662;background:#45372c}.net-modes input:focus-visible+span{outline:2px solid #ffaf83}.net-modes b{font-size:14px}.net-modes small{color:#c3cfc3;font-size:11px}.net-hint,#room-course,#net-status{font-size:13px;line-height:1.38;color:#c8d3ca;margin:9px 0}#net-status:empty{display:none}#net-status{color:#ffc39e}.room-invitation{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px;border:1px solid #536158;border-radius:6px;background:#19221f}.room-invitation small,.net-summary small{display:block;font:10px var(--mono);color:#b2c4b8}.room-invitation b{font:750 26px var(--mono);letter-spacing:.12em}.room-invitation button,#net-details{padding:6px 8px;border:1px solid #58645d;border-radius:4px;font-size:12px}.crew-row{display:flex;align-items:center;gap:7px;padding:6px 0;border-bottom:1px solid #455046;font-size:14px}.crew-row span{margin-left:auto;color:#c3cec6;font-size:12px}.car-chip{width:9px;height:9px;background:var(--car,#bbb);border:1px solid #ffffff72;border-radius:3px;flex:none}#net-strip{display:flex;align-items:center;gap:12px;padding:5px var(--edge);background:#232a29;border-top:1px solid #464d47;min-height:40px}#live-crew{display:flex;gap:6px;overflow:auto;flex:1}.crew-pill{display:inline-flex;align-items:center;gap:5px;background:#303a34;border:1px solid #485749;padding:5px 7px;border-radius:4px;font-size:12px;white-space:nowrap}.crew-pill.mine{border-color:#af845f}.net-summary b{font-size:12px}.net-summary small{margin-top:2px}body.arcade .drive-strip,body.arcade #ghost-toggle,body.arcade #garage,body.arcade #learn,body.arcade #race-result,body.arcade #lesson,body.arcade #wheel-status,body.arcade .telemetry-foot span:nth-child(2){display:none!important}.finish-pickers{display:flex;gap:10px;margin-top:7px}.finish-pickers label{display:flex;align-items:center;gap:3px;font-size:12px;color:#ccd6ce}.finish-pickers input{width:27px;height:23px;padding:1px;background:#303935;border:1px solid #718077;border-radius:3px;cursor:pointer}@media(max-width:650px){.net-entry{width:30px;padding:0}.net-entry span{display:none}#net-strip{gap:5px;padding-block:3px}.net-summary b{font-size:10px}#net-details,.crew-pill{font-size:10px;padding:4px}.finish-pickers{gap:6px}}@media(max-width:380px){.topbar .brand strong{font-size:16px}.topbar{gap:4px}.net-options select{font-size:12px;padding:5px}.room-invitation button{max-width:110px}.net-tabs{margin:8px 0}}@media(max-width:350px){.topbar nav .icon-button,.topbar nav .garage-btn{width:28px;padding:0}.topbar .brand img{width:23px;height:23px}}#result-badge{flex:0 0 33px;width:33px;height:33px;color:#ffad7c;border:1px solid #ac6a43;background:#463529}#result-badge:hover{background:#67442f}#race-result{padding-right:35px}#close-result{right:3px;top:3px}#notice-stack{position:absolute;z-index:5;top:calc(clamp(19px,3.7vh,40px) + 97px);right:var(--edge);width:min(265px,40vw);display:grid;gap:5px;justify-items:end;pointer-events:none}#notice-stack .notice-slot{max-width:100%}#notice-stack .notice-slot:empty,#notice-stack .notice-slot:has(>[hidden]){display:none}#notice-stack button{display:flex;align-items:center;gap:7px;min-height:29px;max-width:100%;padding:6px 10px;border:1px solid #7f8e7c85;border-radius:5px;background:#202924ef;color:#eef1e5;pointer-events:auto;text-align:left;font:500 13px/1.25 Roboto,sans-serif;overflow-wrap:anywhere}#notice-stack .race-notice{border-color:#d9945d;background:#352d24f2;color:#ffe2bf;font-weight:650}#notice-stack i{flex:none;width:16px;height:16px;color:#ff9c61}#notice-stack[hidden],#notice-stack button[hidden],#result-badge[hidden]{display:none}#modal #notice-stack{position:static;width:100%;margin-top:5px;justify-items:start}@media(max-width:650px){#notice-stack{top:83px;max-width:53vw}#notice-stack button{font-size:12px}#result-badge{width:30px;height:30px;flex-basis:30px}}@media(max-height:510px)and (orientation:landscape){#notice-stack{top:65px}#notice-stack button{font-size:11px;min-height:24px}}#sound-tools{position:relative;display:flex;align-items:center;gap:1px}#play-tools{color:#e4e8dd}#play-tools summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}#play-tools summary::-webkit-details-marker{display:none}#play-tools summary i{font:600 16px/1 system-ui}#sound-tools summary{min-width:18px;height:34px}#sound-tools summary span{display:none}#sound-tools .play-options{position:absolute;z-index:4;top:calc(100% + 4px);right:0;width:220px;background:#202724;border:1px solid #636f63;border-radius:6px;box-shadow:0 5px 14px #0004}.topbar:has(#play-tools[open]){z-index:7}.play-options{display:grid;gap:8px;padding:12px}.play-options label{display:flex;align-items:center;justify-content:space-between;font-weight:600}.play-options input{width:100%;accent-color:var(--orange)}.play-options button{background:#303935;color:#eaf0e4;border:1px solid #59665f;border-radius:4px;padding:5px;font-size:13px}#dialog-tools summary,.sim-entry{font:500 13px Roboto,sans-serif;color:#d8dfd6}#dialog-tools summary{justify-content:space-between;margin-top:10px;padding:8px 0;border-top:1px solid #445047}.sim-entry{display:block;margin:9px auto 0;padding:5px 8px;text-decoration:underline;text-underline-offset:3px}@media(max-width:380px){#sound-tools summary{min-width:15px}.topbar .brand strong{font-size:15px}}#gate-hint{display:block;color:#ffbe86;font:600 11px/1.25 Roboto,sans-serif;margin-top:3px}@media(max-width:600px){#gate-hint{font-size:10px;max-width:90px}}
