:root{color-scheme:dark;--bg:#090c0b;--panel:#111613;--ink:#f4f1e7;--muted:#8e958a;--accent:#d5f86b;--line:rgba(234,244,213,.13);font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;color:inherit;border:1px solid var(--line);background:transparent;border-radius:12px;transition:background .2s,border-color .2s,box-shadow .2s}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:hover{background:rgba(255,255,255,.055)}button:active{transform:translateY(1px)}button:disabled{opacity:.45;cursor:default}button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent)}[hidden]{display:none!important}a{color:inherit;text-decoration:none}#app{max-width:1320px;margin:auto;padding:0 20px}.masthead{height:64px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.brand{display:flex;gap:10px;align-items:center;flex-shrink:0;font-size:21px;font-weight:650;letter-spacing:2px}.brand svg{width:37px;fill:none;stroke:var(--accent);stroke-width:1.4}.brand small{display:block;font-size:8px;letter-spacing:2.9px;color:var(--muted);font-weight:500;margin-top:4px}.header-controls{display:flex;align-items:center;gap:12px}.status{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.status i,.render-status i{width:5px;height:5px;border-radius:50%;background:var(--muted)}.status.live{color:var(--accent)}.status.live i{background:var(--accent)}.icon-button{width:40px;height:40px;display:grid;place-items:center;border:0;font-size:25px}.icon-button svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7}.volume{width:90px}input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:28px;background:transparent;margin:0;cursor:pointer;touch-action:pan-y}input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:5px;background:#343c2d}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;margin-top:-6px;border-radius:50%;background:var(--accent);border:2px solid #f8ffe5;box-shadow:0 0 12px #d5f86b33}input[type=range]::-moz-range-track{height:4px;background:#343c2d}input[type=range]::-moz-range-thumb{background:var(--accent);border:2px solid white;border-radius:50%;height:14px;width:14px}.mode-nav{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin:12px 0;height:52px;overflow:auto;scrollbar-width:none}.mode-nav button{border-color:transparent;font-size:14px;white-space:nowrap;display:flex;gap:9px;align-items:center;justify-content:center}.mode-nav svg{height:22px;width:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.mode-nav button[aria-pressed=true]{border:1px solid var(--accent);box-shadow:inset 0 0 24px #d5f86b0b}.stage{height:400px;position:relative;isolation:isolate;overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:radial-gradient(ellipse at 70% 60%,#20261c77,transparent 57%),#080a09}.scene-haze{position:absolute;inset:0;opacity:.16;background:radial-gradient(ellipse at 72% 70%,var(--accent),transparent 57%);transition:background .8s}.studio-lines{position:absolute;inset:0;background:linear-gradient(90deg,transparent 52%,#fff3 52.2%,transparent 52.7%,transparent 94%,#fff3 94.3%,transparent 94.7%);mask-image:linear-gradient(transparent,black 15%,transparent 85%);opacity:.4}.stage:not([data-mode=garage]) .studio-lines{display:none}#fx{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}.scene-heading{position:absolute;left:42%;top:24px;z-index:3;pointer-events:none}.scene-heading>span{font-size:9px;letter-spacing:3px;color:var(--accent)}h1{font-size:24px;font-weight:500;letter-spacing:1.2px;margin:9px 0 6px}.scene-heading p{font-size:11px;color:var(--muted);margin:0}.render-status{position:absolute;right:10px;top:12px;display:flex;align-items:center;gap:6px;color:var(--muted);font-size:9px;z-index:4}.render-status i{background:var(--accent)}.vehicle-art{position:absolute;width:62%;height:90%;right:-1%;bottom:-1%;background-image:url('assets/cars.webp');background-size:300% 200%;background-position:0 0;mix-blend-mode:screen;z-index:2;transition:filter .3s;transform-origin:50% 80%;filter:drop-shadow(0 16px 20px #000)}.gauge-shell{position:absolute;width:38%;max-width:380px;aspect-ratio:1;left:1%;top:50%;transform:translateY(-50%);z-index:4}#dial{width:100%;height:100%;position:absolute;inset:0}.speed-readout{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;padding-top:53%;font-variant-numeric:tabular-nums}.readout-label{font-size:8px;color:var(--muted);letter-spacing:1px}.speed-readout strong{font-size:42px;line-height:1.05;font-weight:450;letter-spacing:2px;text-shadow:0 0 16px #f5f6d533}.unit{font-size:9px;color:#b0b6a4;margin:3px 0 7px}.gear-row{display:flex;gap:14px;font-size:8px;color:var(--muted);align-items:center}.gear-row b{font-weight:500;font-size:14px;color:var(--ink)}.sim-label{position:absolute;bottom:11%;left:0;width:100%;text-align:center;font-size:7px;color:#6e7867;letter-spacing:.8px}.stage-bottom{position:absolute;bottom:14px;left:18px;right:18px;z-index:6;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.stage-bottom>span{color:var(--muted);font-size:10px;letter-spacing:1px}.special-button{pointer-events:auto;padding:0 16px;height:40px;background:#111711d9;backdrop-filter:blur(16px);font-size:12px;border-color:#ccd7b538}.special-button span{margin-left:15px;color:var(--accent)}.car-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding:12px 0}.car-option{position:relative;text-align:left;height:116px;overflow:hidden;background:linear-gradient(#11161366,#151a16bb);padding:0 12px 10px;display:flex;flex-direction:column;justify-content:flex-end;border-radius:10px}.car-thumb{width:100%;height:72px;position:absolute;top:-5px;left:0;background:url('assets/cars.webp');background-size:300% 200%;mix-blend-mode:screen}.car-option strong{font-size:13px;font-weight:550;z-index:1}.car-option small{font-size:8px;letter-spacing:.6px;color:var(--muted);margin-top:4px;z-index:1}.car-option[aria-pressed=true]:after{content:'';position:absolute;top:9px;right:9px;width:5px;height:5px;background:var(--accent);border-radius:50%;box-shadow:0 0 8px var(--accent)}.dashboard-row{display:flex;align-items:center;justify-content:space-between;padding:4px 0 14px;gap:10px}.dashboard-row>span{color:var(--muted);font-size:10px;letter-spacing:1px}.segments{display:flex;background:#141915;border:1px solid var(--line);border-radius:12px;padding:3px}.segments button{border-color:transparent;height:36px;min-width:120px;font-size:12px;border-radius:9px}.drive-controls{display:grid;grid-template-columns:1.1fr .9fr .9fr 1.5fr;gap:12px;border-top:1px solid var(--line);padding:15px 0;align-items:center}.primary{border:1px solid #e6ff9a;background:var(--accent);color:#151d09;min-height:56px;padding:0 20px;border-radius:14px;font-weight:650;font-size:17px;box-shadow:0 0 25px #c7f35e15;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:12px}.primary:hover{background:#e5ff9d}.primary.running{background:#172011;color:var(--accent);border-color:#768350}.power-icon{font-size:25px;font-weight:400}.secondary{height:50px;padding:0 15px;font-size:13px;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:8px;background:#111613}.secondary>span{font-size:21px}.throttle{padding-left:10px;border-left:1px solid var(--line)}.throttle>span{display:flex;justify-content:space-between;align-items:center;font-size:11px}.throttle b{font-weight:450;color:#c1c6b7}.throttle output{color:var(--accent);font-variant-numeric:tabular-nums;font-size:10px}.throttle small{font-size:8px;color:var(--muted);display:block;margin-top:-2px}.throttle input:disabled{opacity:.35}footer{display:flex;justify-content:space-between;gap:16px;padding:0 0 12px;font-size:9px;color:var(--muted);line-height:1.5}.footer-links{display:flex;gap:16px;flex-shrink:0}footer a:hover{color:var(--accent)}.sr-only{position:absolute;clip:rect(0,0,0,0);overflow:hidden;width:1px;height:1px}.scene-options{height:163px;display:flex;align-items:center;gap:12px;padding:20px}.scene-options>div{flex:1}.scene-options>div>span{font-size:15px}.scene-options p{font-size:11px;color:var(--muted);line-height:1.8;max-width:380px}.scene-options .secondary{font-size:12px;padding:0 15px}.character-art{position:absolute;inset:0 0 0 36%;background-size:300% 100%;background-position:0 0;z-index:2;mix-blend-mode:screen;transform-origin:50% 85%}.stage:not([data-mode=garage]) .scene-heading{left:22px;top:34px;max-width:48%}.stage:not([data-mode=garage]) .scene-heading h1{font-size:28px;max-width:240px;line-height:1.5}.stage:not([data-mode=garage]) .scene-heading p{line-height:1.8;max-width:210px}.stage:not([data-mode=garage]) .gauge-shell{left:22px;top:auto;bottom:56px;transform:none;width:150px;height:60px;aspect-ratio:auto}.stage:not([data-mode=garage]) #dial,.stage:not([data-mode=garage]) .gear-row,.stage:not([data-mode=garage]) .sim-label{display:none}.stage:not([data-mode=garage]) .speed-readout{display:block;padding:0}.stage:not([data-mode=garage]) .speed-readout strong{font-size:34px;display:inline-block;margin-top:6px}.stage:not([data-mode=garage]) .readout-label{display:block}.stage:not([data-mode=garage]) .unit{margin-left:8px}.scene-meter{position:absolute;left:22px;top:49%;width:185px;z-index:4}.scene-meter>span{font-size:10px;color:var(--muted);display:block}.scene-meter strong{display:block;font-size:32px;font-weight:450;margin:5px 0;color:var(--accent);font-variant-numeric:tabular-nums}.scene-meter strong span{font-size:12px;margin-left:5px}.meter-track{height:3px;background:#ffffff12;margin:8px 0 10px}.meter-track i{display:block;height:100%;background:var(--accent);width:0;box-shadow:0 0 10px var(--accent)}.speech{position:absolute;z-index:7;bottom:22px;left:32%;right:20px;padding:14px 18px;background:#111714e8;border:1px solid #ffffff27;border-radius:14px;backdrop-filter:blur(18px);min-height:72px;pointer-events:none}.speech>span{font-size:9px;color:var(--accent);letter-spacing:2px}.speech p{margin:7px 0 0;font-size:15px;line-height:1.6}.speech i{position:absolute;right:18px;top:17px;height:6px;width:6px;border-radius:50%;background:var(--accent);animation:breathe .5s infinite alternate}.stage[data-mode=horse] .character-art{inset:15% -3% 7% 28%;background-size:300% 200%}.stage[data-mode=girlfriend] .character-art,.stage[data-mode=empress] .character-art{inset:-5% -2% -2% 30%}.stage[data-mode=girlfriend] .scene-meter,.stage[data-mode=empress] .scene-meter{top:52%}.stage[data-mode=girlfriend] .stage-bottom,.stage[data-mode=empress] .stage-bottom{bottom:16px}.stage[data-mode=girlfriend] .speech,.stage[data-mode=empress] .speech{bottom:65px}.special-flash{position:absolute;inset:0;pointer-events:none;z-index:5;box-shadow:inset 0 0 90px var(--accent);opacity:0;transition:opacity .4s}.camera-box{position:absolute;right:14px;top:35px;width:150px;z-index:10;border:1px solid #ffffff40;border-radius:10px;overflow:hidden;background:#000}.camera-box video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;transform:scaleX(-1)}.camera-box span{display:block;font-size:8px;text-align:center;padding:5px;color:#c5cdbd}.camera-box button{position:absolute;right:2px;top:2px;width:28px;height:28px;background:#0009;font-size:18px;border:0}.stage[data-mode=garage][data-dashboard=digital] .gauge-shell{border-left:2px solid var(--accent);border-radius:0;width:36%;height:70%;top:51%;max-width:none}.stage[data-mode=garage][data-dashboard=digital] #dial{display:none}.stage[data-mode=garage][data-dashboard=digital] .speed-readout{padding:0 20px;align-items:flex-start;justify-content:center}.stage[data-mode=garage][data-dashboard=digital] .speed-readout strong{font-size:72px;font-weight:650;letter-spacing:-3px;line-height:1.1}.stage[data-mode=garage][data-dashboard=digital] .readout-label{letter-spacing:3px}.stage[data-mode=garage][data-dashboard=digital] .gear-row{border-top:1px solid var(--line);padding-top:14px;margin-top:12px;gap:18px}.stage[data-mode=garage][data-dashboard=digital] .gear-row b{font-size:23px}.stage[data-mode=garage][data-dashboard=digital] .sim-label{bottom:1%;text-align:left;left:20px}.stage[data-mode=garage][data-dashboard=hud] .gauge-shell{border:1px solid #c9ffab33;box-shadow:inset 0 0 28px #8fe4480c;clip-path:polygon(12% 0,100% 0,100% 84%,88% 100%,0 100%,0 16%);border-radius:0;width:36%;height:68%;top:52%}.stage[data-mode=garage][data-dashboard=hud] .speed-readout{padding:0;justify-content:center}.stage[data-mode=garage][data-dashboard=hud] .speed-readout strong{color:var(--accent);font-size:68px;font-weight:200}.stage[data-mode=garage][data-dashboard=hud] .gear-row{margin-top:18px}.stage[data-mode=garage][data-dashboard=hud] .sim-label{bottom:8%}.stage[data-mode=garage][data-dashboard=hud] #dial{opacity:.17}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#e0efbc;color:#182010;padding:12px 18px;border-radius:12px;box-shadow:0 8px 40px #000a;z-index:30;font-size:13px;max-width:90%;width:max-content}dialog{color:var(--ink);background:#141a15;border:1px solid #d5f86b44;border-radius:22px;padding:25px;max-width:460px;width:calc(100% - 32px);max-height:90vh}dialog::backdrop{background:#000b;backdrop-filter:blur(6px)}dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}dialog h2{font-size:22px;font-weight:550;margin:0}dialog label{display:flex;align-items:center;justify-content:space-between;font-size:14px}select{background:#222b22;color:var(--accent);border:1px solid #d5f86b44;border-radius:8px;padding:10px}dialog p{color:#aab4a4;font-size:12px;line-height:1.9}.setting-note{border-top:1px solid var(--line);padding-top:18px;margin:20px 0}.setting-note b{font-size:16px;font-weight:500}dialog .primary{width:100%}@keyframes breathe{to{opacity:.25}}@media(min-width:1100px){#app{padding:8px 36px}.stage{height:460px}.scene-heading{top:30px}.gauge-shell{left:2%}.speed-readout strong{font-size:50px}.car-option{height:125px}.car-thumb{height:85px}.mode-nav{margin:16px 0}.scene-options{height:172px}.scene-heading h1{font-size:30px}}
@media(max-height:720px) and (min-width:641px){#app{padding:0 16px}.masthead{height:50px}.brand{font-size:18px}.brand svg{width:32px}.brand small{font-size:7px;margin-top:2px}.mode-nav{height:44px;margin:8px 0}.mode-nav button{font-size:12px;gap:7px}.mode-nav svg{width:18px;height:18px}.stage{height:294px}.scene-heading{top:18px}.scene-heading h1{font-size:20px;margin:7px 0}.scene-heading p{font-size:10px}.scene-heading>span{font-size:8px}.render-status{font-size:8px}.gauge-shell{width:35%;left:2%}.speed-readout strong{font-size:33px}.gear-row b{font-size:12px}.gear-row{font-size:7px}.unit{font-size:8px;margin:2px 0 4px}.readout-label{font-size:7px}.sim-label{font-size:6px;bottom:9%}.car-strip{padding:9px 0;gap:6px}.car-option{height:84px;padding:0 8px 8px}.car-thumb{height:53px;top:-6px}.car-option strong{font-size:11px}.car-option small{font-size:7px;margin-top:3px}.dashboard-row{padding:0 0 9px}.segments button{height:30px;min-width:100px;font-size:11px}.dashboard-row>span{font-size:9px}.drive-controls{padding:10px 0;gap:9px}.primary{min-height:50px;padding:0 12px;font-size:16px;border-radius:12px;gap:8px}.secondary{height:46px;font-size:12px;padding:0 10px}.throttle small{font-size:7px}footer{font-size:8px;padding-bottom:8px}.scene-options{height:145px;padding:16px 8px}.stage:not([data-mode=garage]) .scene-heading{top:22px}.stage:not([data-mode=garage]) .scene-heading h1{font-size:23px}.stage:not([data-mode=garage]) .gauge-shell{bottom:44px;height:44px}.stage:not([data-mode=garage]) .speed-readout strong{font-size:25px}.scene-meter{top:47%;width:150px}.scene-meter strong{font-size:22px;margin:4px 0}.scene-meter>span{font-size:9px}.meter-track{margin:6px 0}.stage-bottom{bottom:9px}.special-button{height:35px;font-size:11px}.speech{padding:10px 14px}.speech p{font-size:13px}.stage[data-mode=garage][data-dashboard=digital] .speed-readout strong{font-size:58px}.stage[data-mode=garage][data-dashboard=hud] .speed-readout strong{font-size:54px}.stage[data-mode=garage][data-dashboard=digital] .gear-row{margin-top:8px;padding-top:10px}.scene-options>div>span{font-size:14px}}
@media(max-width:640px){#app{padding:0 14px}.masthead{height:62px}.brand{font-size:18px;letter-spacing:1px;gap:7px}.brand svg{width:29px}.brand small{font-size:6px;letter-spacing:2px}.header-controls{gap:3px}.volume{display:none}.status{font-size:9px;gap:4px}.icon-button{width:34px}.mode-nav{display:flex;gap:7px;height:46px;margin:10px 0}.mode-nav button{min-width:104px;font-size:12px;padding:0 12px;gap:6px}.mode-nav svg{width:17px}.stage{height:350px;border-radius:0}.scene-heading{left:16px;top:17px}.scene-heading h1{font-size:21px}.scene-heading p{font-size:10px}.scene-heading>span{font-size:8px}.render-status{font-size:7px;right:6px;top:12px}.vehicle-art{height:62%;width:95%;right:-15%;bottom:35px;opacity:.8}.gauge-shell{width:55%;left:-2%;top:64%}.speed-readout strong{font-size:29px}.gear-row{font-size:6px;gap:8px}.gear-row b{font-size:10px}.unit{font-size:7px;margin:2px 0 3px}.readout-label{font-size:6px}.sim-label{font-size:5px;bottom:10%}.stage-bottom{left:10px;right:10px;bottom:10px}.stage-bottom>span{font-size:8px}.special-button{height:37px;font-size:11px;padding:0 12px}.car-strip{display:flex;overflow:auto;scrollbar-width:none;padding:10px 0}.car-option{min-width:104px;height:100px;padding:0 9px 10px}.car-thumb{height:65px}.car-option strong{font-size:12px}.car-option small{font-size:7px}.dashboard-row{padding:0 0 12px}.dashboard-row>span{display:none}.segments{width:100%}.segments button{flex:1;min-width:0;font-size:11px;height:34px}.drive-controls{grid-template-columns:1.15fr 1fr 1fr;gap:7px;padding:12px 0}.primary{font-size:14px;min-height:48px;padding:0 9px;gap:5px}.power-icon{font-size:21px}.secondary{font-size:11px;padding:0 7px;height:46px;gap:5px}.secondary>span{font-size:17px}.throttle{grid-column:1/-1;border:0;padding:6px 2px 0}.throttle>span{font-size:11px}.throttle small{text-align:right;font-size:8px}.throttle input{height:36px}footer{font-size:8px;display:block;padding-bottom:15px}.footer-links{margin-top:7px;justify-content:space-between}.scene-options{height:133px;padding:13px 0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.scene-options>div{grid-column:1/-1}.scene-options>div>span{font-size:13px}.scene-options p{font-size:10px;margin:5px 0 0}.scene-options .secondary{height:37px;font-size:11px}.stage:not([data-mode=garage]) .scene-heading{left:16px;top:25px;max-width:65%}.stage:not([data-mode=garage]) .scene-heading h1{font-size:23px;max-width:170px}.stage:not([data-mode=garage]) .scene-heading p{max-width:140px;font-size:10px}.stage:not([data-mode=garage]) .gauge-shell{left:16px;bottom:55px}.stage:not([data-mode=garage]) .speed-readout strong{font-size:28px}.scene-meter{left:16px;top:46%;width:125px}.scene-meter strong{font-size:25px}.scene-meter>span{font-size:8px}.character-art{inset:10% -15% 10% 25%}.stage[data-mode=horse] .character-art{inset:30% -18% 13% 17%}.stage[data-mode=girlfriend] .character-art,.stage[data-mode=empress] .character-art{inset:5% -27% 0 15%;opacity:.84}.speech{left:22%;right:8px;padding:10px 12px;min-height:60px}.speech p{font-size:12px}.speech>span{font-size:8px}.stage[data-mode=girlfriend] .speech,.stage[data-mode=empress] .speech{bottom:60px}.stage[data-mode=garage][data-dashboard=digital] .gauge-shell,.stage[data-mode=garage][data-dashboard=hud] .gauge-shell{width:49%;height:51%;top:61%;left:3%}.stage[data-mode=garage][data-dashboard=digital] .speed-readout strong{font-size:47px}.stage[data-mode=garage][data-dashboard=hud] .speed-readout strong{font-size:45px}.stage[data-mode=garage][data-dashboard=digital] .speed-readout{padding:0 12px}.stage[data-mode=garage][data-dashboard=digital] .gear-row{gap:9px;margin-top:6px;padding-top:8px}.stage[data-mode=garage][data-dashboard=digital] .gear-row b{font-size:15px}.stage[data-mode=garage][data-dashboard=digital] .sim-label{left:12px}.camera-box{width:105px;top:34px;right:8px}.camera-box span{font-size:6px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.speech i{animation:none}}
.vehicle-art{height:auto;aspect-ratio:1;width:59%;bottom:-39%;right:0;background-repeat:no-repeat;mask-image:linear-gradient(transparent,black 12%,black 83%,transparent)}
.car-thumb{height:auto;aspect-ratio:1;top:-15px;background-repeat:no-repeat;mask-image:linear-gradient(black 45%,transparent 72%)}
.car-option strong,.car-option small{position:relative}.speed-readout{padding-top:40%}
.car-option:before{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#111712 73%);z-index:1}.car-option strong,.car-option small{z-index:2}.car-option[aria-pressed=true]:after{z-index:3}
.stage[data-mode=girlfriend] .character-art,.stage[data-mode=empress] .character-art{inset:0 2% 0 auto;width:45%;background-size:300% auto;background-repeat:no-repeat;mask-image:linear-gradient(90deg,transparent,black 13%,black 95%,transparent)}

.stage[data-mode=horse] .character-art{inset:-8% -2% auto auto;width:61%;aspect-ratio:1;background-size:300% 200%;mask-image:radial-gradient(ellipse,black 35%,transparent 74%)}
.scene-meter{top:44%}.stage[data-mode=girlfriend] .scene-meter,.stage[data-mode=empress] .scene-meter{top:44%}
.stage[data-mode=rocket] .speech{left:auto;right:18px;width:44%;bottom:58px;min-height:60px;padding:10px 14px}.stage[data-mode=rocket] .speech p{font-size:12px}
@media(max-height:720px) and (min-width:641px){.stage{height:286px}.vehicle-art{bottom:-51%}.scene-meter{top:43%;width:150px}.stage[data-mode=girlfriend] .scene-meter,.stage[data-mode=empress] .scene-meter{top:43%}.scene-meter strong{font-size:20px}.scene-meter>span:last-child{font-size:8px}.stage:not([data-mode=garage]) .gauge-shell{bottom:38px}.stage:not([data-mode=garage]) .speed-readout strong{margin-top:3px;font-size:23px}.stage[data-mode=horse] .character-art{top:-20%}}
@media(min-width:1100px){.vehicle-art{bottom:-36%}.car-thumb{top:-23px}.car-option{padding-bottom:9px}}
@media(max-width:640px){.vehicle-art{width:85%;bottom:-15%;right:-20%;opacity:.86}.car-thumb{top:-7px}.speed-readout{padding-top:40%}.stage[data-mode=girlfriend] .character-art,.stage[data-mode=empress] .character-art{inset:0 -4% 0 auto;width:63%;opacity:1}.stage[data-mode=horse] .character-art{inset:27% -8% auto auto;width:85%}.stage[data-mode=rocket] .speech{width:60%;right:8px;bottom:65px}.scene-meter,.stage[data-mode=girlfriend] .scene-meter,.stage[data-mode=empress] .scene-meter{top:45%}}
.stage[data-mode=garage][data-dashboard=hud] #dial{display:none}.stage[data-mode=garage][data-dashboard=hud] .gauge-shell{background:linear-gradient(#bfff8f08 1px,transparent 1px),linear-gradient(90deg,#bfff8f08 1px,transparent 1px);background-size:26px 26px}
.rpm-track{display:none;position:absolute;bottom:25px;left:20px;right:20px;height:4px;background:#ffffff14}.rpm-track i{display:block;height:100%;width:0;background:var(--accent);box-shadow:0 0 10px #d5f86b33}.stage[data-mode=garage][data-dashboard=digital] .rpm-track,.stage[data-mode=garage][data-dashboard=hud] .rpm-track{display:block}
.stage[data-mode=horse] .character-art{width:min(48%,390px);top:0;right:6%}
@media(max-height:720px) and (min-width:641px){.stage[data-mode=horse] .character-art{width:310px;top:0;right:8%}.rpm-track{bottom:21px}}
@media(max-width:640px){.stage:not([data-mode=garage]) .scene-heading p{display:none}.stage:not([data-mode=garage]) .scene-heading h1{font-size:21px;max-width:185px}.stage[data-mode=horse] .character-art{width:76%;right:-2%;top:18%}.rpm-track{bottom:23px;height:3px}}

.scene-options .speech{position:relative;inset:auto;flex:1;min-width:0;margin:0;padding:14px 18px;min-height:76px;border-color:color-mix(in srgb,var(--accent) 24%,transparent);background:#121813;backdrop-filter:none}.scene-options .speech p{font-size:14px;line-height:1.6}.scene-options.talking>div:not(.speech){display:none}.scene-options .speech>span{font-size:9px;color:var(--accent)}
@media(max-width:640px){.scene-options.talking{height:auto;min-height:145px}.scene-options .speech{grid-column:1/-1;min-height:72px;padding:10px 12px}.scene-options .speech p{font-size:12px;margin-top:5px}}

.scene-options .speech p{color:var(--ink)}
