@charset "UTF-8";
:root{color-scheme:dark;--bg:#101517;--ink:#f2f2e9;--muted:#81908f;--line:rgba(207,224,219,.11);--lime:#c5f66b;--red:#ed654d;--mono:'Bahnschrift','DIN Alternate','Consolas',monospace}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Segoe UI','Microsoft YaHei',sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible,input:focus-visible{outline:2px solid var(--lime);outline-offset:5px}button{color:inherit}svg{display:block}button svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.app-shell{max-width:1600px;min-height:100vh;margin:auto;padding:0 4.4vw;background:radial-gradient(ellipse at 34% 50%,rgba(87,111,91,.06),transparent 50%)}
.topbar{height:90px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:15px;align-items:center}.brand>svg{width:39px;height:30px;fill:none;stroke:var(--lime);stroke-width:2.7;stroke-linejoin:round}.brand>span{font-family:var(--mono);letter-spacing:4px;font-size:21px;font-weight:600;display:flex;align-items:center;gap:20px}.brand small{font-family:'Microsoft YaHei',sans-serif;font-weight:400;font-size:12px;letter-spacing:3px;color:#a8b3ae;padding-left:20px;border-left:1px solid #48514e}.header-middle{display:flex;align-items:center;gap:10px;font-size:12px;letter-spacing:1px;color:#a1aca5}.live-dot,.status-dot{width:6px;height:6px;background:var(--lime);border-radius:50%;display:inline-block;flex:none}.live-dot{box-shadow:0 0 10px #c5f66b30}.divider{margin:0 6px;color:#43524b}.header-actions{display:flex;align-items:center;gap:20px}.header-actions time{font-family:var(--mono);font-size:17px;letter-spacing:2px;color:#c3cbc6}.icon-button{border:0;background:none;padding:12px;color:#8b9892;display:grid;place-items:center;min-width:44px;min-height:44px}.icon-button:hover{color:var(--ink)}.icon-button svg{width:20px;height:20px}.settings-button,.close-settings{display:none}
.cockpit{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:6vw;align-items:center;min-height:calc(100vh - 143px);max-width:1300px;margin:0 auto}.instrument{position:relative;min-width:0;padding:24px 0}.instrument-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0 12px}.eyebrow{font-family:var(--mono);font-size:9px;letter-spacing:2.7px;color:#74847a;font-weight:500}h1{font-size:19px;letter-spacing:2px;font-weight:400;margin:8px 0 0}h1 span{color:var(--lime)}.data-tag{font-size:10px;letter-spacing:1px;border:1px solid #40513d;color:#bcc7aa;border-radius:4px;padding:6px 10px;white-space:nowrap}.dial-wrap{position:relative;max-width:625px;width:min(100%,69vh);margin:3px auto -8px;isolation:isolate}.dial-halo{position:absolute;inset:15%;border-radius:50%;box-shadow:0 0 130px 45px #afc98b08;z-index:-1}#dial{width:100%;overflow:visible}.rpm-label{font:10px var(--mono);letter-spacing:3px;fill:#6a706b}.face-brand{font:600 14px var(--mono);fill:#474f47}.face-caption{font:7px var(--mono);letter-spacing:1px;fill:#8b9185}.face-detail{font:8px var(--mono);letter-spacing:2px;fill:#8c938a}.speed-unit{font:11px var(--mono);fill:#9fa9a6;letter-spacing:2px}.speed-number{font:400 80px var(--mono);fill:#f8f9ec;font-variant-numeric:tabular-nums;letter-spacing:-3px}.gear-number{font:500 21px var(--mono);fill:#fff4e9;letter-spacing:2px}.dial-corner{position:absolute;bottom:4%;display:flex;flex-direction:column;gap:7px;min-width:65px}.corner-left{left:0}.corner-right{right:0;text-align:right}.dial-corner span{font:8px var(--mono);color:#6c7f74;letter-spacing:2px}.dial-corner strong{font:16px var(--mono);font-weight:400;letter-spacing:1px;color:#aebdb1}.instrument-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:580px;margin:14px auto 0;font-size:10px;letter-spacing:1px;color:#91a395}.engine-indicator{display:flex;align-items:center;gap:8px}.engine-indicator .status-dot{background:#6a796d}.engine-indicator .status-dot.active{background:var(--lime);box-shadow:0 0 10px #c5f66b44}.shift-note{display:flex;align-items:center;gap:12px}.small-line{width:18px;height:1px;background:#47594c}
.controls{border-left:1px solid var(--line);padding:15px 0 10px 30px;margin:18px 0;min-width:0}.control-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}h2{font-size:17px;font-weight:400;letter-spacing:2px;margin:7px 0 0}.console-mark{font-family:var(--mono);font-size:28px;color:#3f4b43;font-weight:300}.start-button{width:100%;min-height:56px;border-radius:7px;background:var(--lime);color:#1c2b12;border:1px solid transparent;display:flex;align-items:center;gap:12px;font-size:15px;font-weight:600;letter-spacing:1px;padding:0 18px;box-shadow:0 4px 20px #c5f66b0a}.start-button:hover{background:#d4ff8b}.start-button.on{background:#1f2c1d;color:var(--lime);border-color:#596d40}.start-button svg{width:20px;height:20px}.button-arrow{margin-left:auto;font-size:22px;font-weight:400}.audio-caption{color:#748477;font-size:10px;line-height:1.7;letter-spacing:.5px;margin:10px 0 19px}.control-section{border-top:1px solid var(--line);padding-top:19px;margin-top:20px}.label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#c2cdc4;margin-bottom:13px}.label-row>span{font-size:9px;color:#6b7d70}.label-row strong{font-weight:400;color:var(--lime);font-family:var(--mono);font-size:19px}.label-row strong span{font-size:9px;color:#7c8d80}.sound-presets{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:5px;background:#0b1011;padding:4px;border:1px solid #242f27;border-radius:6px}.sound-presets button{border:0;background:transparent;color:#7f9083;border-radius:3px;min-height:36px;font-size:11px}.sound-presets button.selected{background:#2c3a2d;color:#e5f0d4;box-shadow:0 2px 5px #0004}.volume-row{display:flex;align-items:center;gap:12px;margin-top:18px}.volume-row svg{width:16px;height:16px;fill:none;stroke:#839780;stroke-width:1.5;flex:none}.volume-row output{font-family:var(--mono);font-size:10px;color:#8b9d8b;min-width:28px;text-align:right}input[type=range]{-webkit-appearance:none;appearance:none;background:transparent;cursor:pointer;width:100%;height:25px;margin:0;--fill:0%}input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:linear-gradient(to right,var(--lime) var(--fill),#344238 var(--fill))}input[type=range]::-moz-range-track{height:3px;border-radius:3px;background:#344238}input[type=range]::-moz-range-progress{height:3px;background:var(--lime)}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:13px;height:13px;border-radius:50%;background:#d5e0c7;border:3px solid #a1b68c;margin-top:-5px;box-shadow:0 0 0 4px #b6dd7910}input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:#d5e0c7;border:3px solid #a1b68c}input.speed-slider::-webkit-slider-thumb{width:18px;height:18px;margin-top:-7px;background:var(--lime);border-color:#d4ff8c}.scale-labels{display:flex;justify-content:space-between;color:#667968;font:9px var(--mono);margin:3px 0 18px}.pedals{display:grid;grid-template-columns:1fr 1.25fr;gap:10px}.pedal{border:1px solid #36413a;background:#18201b;border-radius:7px;min-height:62px;display:flex;align-items:center;justify-content:center;gap:14px;font-size:13px;user-select:none;touch-action:none}.pedal-icon{display:flex;gap:3px;border:1px solid #7b827c;padding:5px 4px;border-radius:3px}.pedal-icon i{display:block;height:12px;width:2px;background:#7b827c}.throttle{color:#d4e3c7;border-color:#46523b;background:#222d1e}.throttle-icon{transform:skewY(-8deg)}.throttle-icon i{height:20px;background:#b2c598}.pedal:active,.pedal.pressed{background:#c5f66b;color:#1a2814;border-color:#dcffac;box-shadow:0 0 25px #c5f66b18}.pedal.brake:active,.pedal.brake.pressed{background:#9b3f32;color:#fff3e8;border-color:#de6851}.demo-row{display:flex;align-items:center;gap:10px;margin-top:14px;justify-content:space-between}.demo-button{padding:9px 12px;border:1px solid #354c35;background:none;border-radius:5px;display:flex;align-items:center;gap:10px;font-size:11px;color:#b7cf9e;min-height:40px}.demo-button[aria-pressed=true]{background:#263820;border-color:#6c9248;color:#d4f7b2}.play-icon{font-size:10px}.reset-button{background:none;border:0;color:#748574;font-size:11px;padding:10px 3px;min-height:40px}.reset-button:hover{color:#d6e4cc}.telemetry-preview{padding-top:16px}.telemetry-preview .label-row{margin-bottom:6px}#speedChart{width:100%;height:40px}.console-footer{border-top:1px solid var(--line);margin-top:16px;padding-top:14px;display:flex;align-items:center;gap:7px;color:#5d7561;font-size:9px;letter-spacing:.5px}.console-footer .status-dot{width:4px;height:4px;background:#6e8f64}.page-footer{height:53px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);gap:20px;font-size:9px;color:#627668;letter-spacing:.5px}.page-footer>span:first-child,.page-footer>span:last-child{font-family:var(--mono);font-size:8px;letter-spacing:2px}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);padding:12px 20px;background:#d7eac9;color:#203019;border:1px solid #96ae80;border-radius:7px;opacity:0;pointer-events:none;transition:.2s;font-size:13px;z-index:30;max-width:85vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
body.focus-mode .controls,body.focus-mode .instrument-heading,body.focus-mode .page-footer{display:none}body.focus-mode .cockpit{display:flex;justify-content:center;min-height:calc(100vh - 90px)}body.focus-mode .instrument{width:100%;max-width:1000px}body.focus-mode .dial-wrap{width:min(76vh,86vw);max-width:780px}body.focus-mode .instrument-bottom{max-width:650px}
@media(min-width:1500px){.cockpit{gap:100px;grid-template-columns:minmax(0,1fr) 350px}.controls{padding-left:40px}.dial-wrap{width:min(100%,73vh);max-width:680px}.instrument-heading{padding:0 30px}}
@media(max-height:760px) and (min-width:900px){.topbar{height:65px}.cockpit{min-height:calc(100vh - 103px);gap:4vw;grid-template-columns:minmax(0,1fr) 290px}.instrument{padding:12px 0}.instrument-heading h1{font-size:16px}.instrument-heading .eyebrow{font-size:8px}.dial-wrap{width:min(100%,72vh);margin-top:-4px;margin-bottom:-8px}.instrument-bottom{margin-top:8px;font-size:9px}.controls{padding:8px 0 8px 25px;margin:10px 0}.control-heading{margin-bottom:14px}h2{font-size:15px}.start-button{min-height:48px}.audio-caption{margin:7px 0 12px}.control-section{margin-top:13px;padding-top:13px}.sound-presets button{min-height:32px}.volume-row{margin-top:10px}.label-row{margin-bottom:7px}.pedal{min-height:52px}.scale-labels{margin-bottom:10px}.demo-row{margin-top:6px}.telemetry-preview{display:none}.console-footer{margin-top:10px;padding-top:10px}.page-footer{height:38px}}
@media(max-width:899px){.app-shell{padding:0 25px}.topbar{height:68px}.brand>span{font-size:18px;gap:10px}.brand small{padding-left:10px;font-size:11px;letter-spacing:1px}.header-middle{font-size:10px}.header-middle .divider,.header-middle>span:last-child{display:none}.header-actions{gap:7px}.header-actions time{font-size:14px}.cockpit{grid-template-columns:minmax(0,1fr);gap:0;min-height:calc(100vh - 112px)}.instrument{width:100%;padding:18px 0}.instrument-heading{max-width:650px;margin:auto}.dial-wrap{width:min(72vh,90vw);max-width:610px}.instrument-bottom{max-width:600px}.controls{display:none;position:fixed;right:12px;top:75px;bottom:12px;z-index:20;overflow-y:auto;width:320px;padding:20px;background:#131d17;box-shadow:0 0 0 100vmax #050905a8;border:1px solid #42533d;border-radius:10px;margin:0}.controls.open{display:block}.settings-button,.close-settings{display:grid}.console-mark{display:none}.page-footer{height:44px}.page-footer>span:first-child{display:none}.page-footer>span:nth-child(2){font-size:9px}.instrument-heading h1{font-size:17px}.brand>svg{width:29px}.instrument-bottom{padding:0 8px}.header-actions time{display:none}body.focus-mode .controls.open{display:block}}
@media(max-width:550px){.app-shell{padding:0 15px}.topbar{gap:8px}.brand{gap:8px}.brand small{display:none}.header-actions{gap:0}.header-middle{margin-left:auto;font-size:9px;letter-spacing:0}.instrument-heading{padding:0 5px}.instrument-heading h1{font-size:15px}.eyebrow{font-size:8px}.data-tag{font-size:9px;padding:5px 7px}.dial-wrap{width:min(80vh,98vw);margin:15px -6px 0}.dial-corner{bottom:2%}.dial-corner strong{font-size:13px}.instrument-bottom{font-size:8px}.shift-note{gap:7px}.small-line{width:10px}.page-footer>span:last-child{display:none}.controls{max-width:calc(100vw - 24px)}}
@media(prefers-reduced-motion:reduce){.toast{transition:none}}
@media(max-height:640px) and (min-width:900px){.topbar{height:55px}.cockpit{min-height:calc(100vh - 83px)}.page-footer{height:28px}.control-heading{margin-bottom:9px}.control-heading .eyebrow{display:none}.control-heading h2{margin-top:0}.console-mark{font-size:22px}.start-button{min-height:44px}.audio-caption{margin:5px 0 8px}.control-section{margin-top:10px;padding-top:10px}.label-row{margin-bottom:5px}.volume-row{margin-top:7px}.scale-labels{margin-bottom:8px}.pedal{min-height:48px}.console-footer{margin-top:8px;padding-top:8px}.controls{padding-top:5px;padding-bottom:5px}.instrument-heading .eyebrow{display:none}.instrument-heading h1{margin-top:0}.dial-wrap{width:min(100%,73vh)}.instrument-bottom{margin-top:6px}}
@media(max-height:720px) and (max-width:899px){.topbar{height:56px}.cockpit{min-height:calc(100vh - 84px)}.instrument{padding:10px 0}.instrument-heading .eyebrow{display:none}.instrument-heading h1{margin:0}.dial-wrap{width:min(69vh,90vw);margin:0 auto -8px}.instrument-bottom{margin-top:6px}.page-footer{height:28px}.controls{top:65px}}
[hidden]{display:none!important}.mode-switch{display:flex;background:#0c1111;border:1px solid #344033;border-radius:5px;padding:3px;gap:3px;margin-right:6px}.mode-switch button{border:0;background:none;color:#8d9c8e;font-size:11px;min-height:33px;padding:0 13px;border-radius:3px;white-space:nowrap}.mode-switch button.selected{background:#34462b;color:#d9efc3}.gps-panel>strong{font-size:16px;color:#c5f66b;font-weight:400;line-height:1.7}.gps-panel p{font-size:11px;line-height:1.8;color:#84977f;min-height:48px}.gps-panel .demo-button{width:100%;justify-content:center}.data-tag.live{color:#c5f66b;border-color:#6a8c42}.data-tag.waiting{color:#d6b97e;border-color:#665436}.live-dot.waiting{background:#d6b97e}.gps-panel .label-row>span{font-family:var(--mono)}.header-middle .live-dot{margin-left:4px}
@media(max-width:1100px){.header-middle{gap:6px}.mode-switch button{padding:0 9px}.header-middle>#sourceLabel{display:none}.brand>span{gap:12px}.brand small{padding-left:12px}}@media(max-width:550px){.mode-switch button{font-size:10px;padding:0 7px;min-height:30px}.header-middle .live-dot{display:none}}

.rdg-session-gate{max-width:620px;margin:18vh auto;padding:32px;border:1px solid #40503c;border-radius:14px;background:#182119;line-height:1.8}.rdg-session-gate strong{font-size:24px}.rdg-session-gate p{color:#a6b49e}.rdg-session-gate a,.rdg-session-gate button{display:inline-block;min-height:44px;padding:8px 16px;color:#d9edbf;border:1px solid #4f6546;border-radius:6px;background:none;text-decoration:none;margin:5px}.rdg-back-link{color:#9eb48c;font-size:12px;text-decoration:none;padding:12px 8px;white-space:nowrap}.rdg-account-status{display:flex;align-items:center;gap:12px;min-width:0}.rdg-account-status>span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rdg-account-status button{border:0;background:none;color:#b5ce9d;font-size:10px;min-height:28px;white-space:nowrap;cursor:pointer}.rdg-binding-panel{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,90vw);padding:28px;background:#182319;border:1px solid #708359;border-radius:14px;box-shadow:0 0 0 100vmax #050a05b8;z-index:45}.rdg-binding-panel p{line-height:1.8;color:#dbe9cc}.rdg-binding-panel small{display:block;color:#9aaf8d;line-height:1.8}.rdg-binding-panel a{display:inline-block;color:#c5f66b;margin-top:18px}.rdg-binding-panel>button{position:absolute;right:10px;top:10px;background:none;border:0;color:#cbd9c2;min-width:44px;min-height:44px}html:not([data-rdg-speedometer-access="allowed"]) .app-shell{display:none!important}@media(max-width:900px){.brand small{display:none}.rdg-back-link{font-size:11px;padding:10px 2px}.brand>span{letter-spacing:2px}.topbar{gap:10px}.rdg-account-status>span{max-width:100px}.rdg-session-gate{margin:12vh 20px}}.page-footer>.rdg-account-status{display:flex}

.gps-diagnostics{margin-top:16px;border-top:1px solid #ffffff20;padding-top:12px}.gps-diagnostics summary{cursor:pointer;font-size:13px;color:#c5f66b}.gps-diagnostics pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 Consolas,monospace;color:#d9dfd5;margin:10px 0}.gps-diagnostics small{font-size:11px;color:#a0aba3}

/* Four selectable tones, with large car-browser touch targets. */
.sound-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.sound-presets button{min-height:42px}.sound-presets button[data-sound="heavy"].selected{background:#493c23;color:#ffdda0}

/* Starship is the default skin. Classic rules above remain intact. */
.starship-display{display:none}.appearance-section{margin:0 0 20px;padding:0 0 18px;border-top:0;border-bottom:1px solid var(--line)}.appearance-presets{display:grid;grid-template-columns:1fr 1fr;gap:6px}.appearance-presets button{min-height:44px;border:1px solid #40503c;border-radius:5px;background:#111a15;color:#b4c3ae;font-size:12px}.appearance-presets button.selected{background:#30432a;color:#e3f3d7;border-color:#849b62}
html[data-dial-theme="starship"]{--lime:#7de2ff;--line:#83c9ee25;--ink:#eaf7ff;--bg:#030a12}
html[data-dial-theme="starship"] body{background:#030a12 url('./speedometer-panorama-v1.webp') center center/cover fixed no-repeat}
html[data-dial-theme="starship"] .app-shell{max-width:none;padding:0 4vw;background:linear-gradient(180deg,#02091355,#02091308 35%,#02091360);position:relative}
html[data-dial-theme="starship"] .topbar{height:68px;background:linear-gradient(180deg,#020a12a0,#020a1230);border-bottom-color:#83c9ee25;position:relative;z-index:3}
html[data-dial-theme="starship"] .brand small,html[data-dial-theme="starship"] .header-actions time{display:none}
html[data-dial-theme="starship"] .brand>span{font-size:23px;font-style:italic;letter-spacing:4px}
html[data-dial-theme="starship"] .mode-switch{background:#050e1de0;border-color:#86cbe43d;border-radius:10px;padding:4px}
html[data-dial-theme="starship"] .mode-switch button{min-height:40px;padding:0 22px;color:#b9d1e7;border-radius:6px}
html[data-dial-theme="starship"] .mode-switch button.selected{background:#14324c;box-shadow:inset 0 0 12px #4fcaff30;border:1px solid #7cd7ff;color:#effbff}
html[data-dial-theme="starship"] .rdg-back-link{color:#a2c9e7}
html[data-dial-theme="starship"] .cockpit{display:flex;align-items:center;min-height:calc(100vh - 108px);max-width:1440px;gap:0}
html[data-dial-theme="starship"] .instrument{width:100%;padding:30px 0 18px}
html[data-dial-theme="starship"] .instrument-heading{position:absolute;right:0;top:8px;z-index:2}
html[data-dial-theme="starship"] .instrument-heading>div{display:none}
html[data-dial-theme="starship"] .data-tag{background:#030c18d9;color:#b3ddff;border-color:#5692ad80;font-size:11px;max-width:40vw;overflow:hidden;text-overflow:ellipsis}
html[data-dial-theme="starship"] .data-tag.waiting{color:#ffcf8b;border-color:#c39455}
html[data-dial-theme="starship"] .dial-wrap{display:none}
html[data-dial-theme="starship"] .starship-display{display:block;position:relative;width:100%;height:clamp(330px,66vh,650px);max-width:1300px;margin:auto}
.starship-caption{position:absolute;left:50%;top:4px;transform:translateX(-50%);font:10px var(--mono);letter-spacing:4px;color:#8bb4cb;white-space:nowrap}.starship-caption span{margin:0 12px;color:#53c9ed}
.starship-arcs{position:absolute;left:0;top:18px;width:100%;height:calc(100% - 90px);fill:none;pointer-events:none}.ship-frame{stroke:#56a0c7;stroke-opacity:.28;stroke-width:7}.ship-energy{stroke:#7ae4ff;stroke-width:7;stroke-dasharray:100;stroke-dashoffset:100;filter:drop-shadow(0 0 6px #47caff80)}.ship-guide{stroke:#73bcdd;stroke-opacity:.4;stroke-width:1}
.ship-speed{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;text-align:center;width:45%;font-family:var(--mono);color:#f2fbff}.ship-kicker{font:9px var(--mono);letter-spacing:6px;color:#9bb9cd;margin-bottom:9px}.ship-speed strong{font-size:clamp(100px,16vw,210px);font-weight:500;line-height:1;letter-spacing:-7px;font-variant-numeric:tabular-nums;text-shadow:0 0 30px #72c8ff30}.ship-unit{font-size:20px;letter-spacing:5px;color:#c2daec;margin-top:12px}
.ship-card{position:absolute;top:39%;transform:translateY(-50%);padding:22px 24px;background:linear-gradient(135deg,#071625ec,#030b14ca);border:1px solid #68bbdf60;box-shadow:inset 0 0 30px #2685b10c;min-width:150px;max-width:23%;display:flex;flex-direction:column;gap:8px;border-radius:3px}.ship-card>span{font-size:11px;letter-spacing:2px;color:#9bbdd3}.ship-card strong{font:40px var(--mono);font-variant-numeric:tabular-nums;color:#e3f5ff;letter-spacing:2px}.ship-card small{font:8px var(--mono);letter-spacing:2px;color:#86acc7}.ship-rpm{left:2%}.ship-gear{right:2%;text-align:right;border-right-color:#e3a96380}.ship-power-track{height:5px;margin-top:8px;background:#223844;overflow:hidden}.ship-power-track i{display:block;height:100%;width:100%;background:#7ae4ff;transform:scaleX(0);transform-origin:left;box-shadow:0 0 10px #7ae4ff}
.ship-sound{position:absolute;left:12%;right:12%;bottom:12px;height:60px;display:flex;align-items:center;gap:24px;background:linear-gradient(90deg,#04111ecc,#071625e6,#04111ecc);border:1px solid #5cb1d348;border-radius:4px;padding:12px 24px}.ship-sound>span{font-size:12px;color:#acdfff;white-space:nowrap}.ship-sound>.ship-sound-label{color:#759bb3;font-size:10px;letter-spacing:2px}.ship-wave{height:36px;display:flex;align-items:center;justify-content:center;gap:5px;flex:1;overflow:hidden}.ship-wave i{display:block;height:100%;width:3px;min-width:2px;background:#73dcff;border-radius:2px;transform:scaleY(.025);box-shadow:0 0 7px #57cafa33;transform-origin:center}.ship-wave i:nth-child(n+23){background:#e9b87d}
html[data-dial-theme="starship"] .instrument-bottom{max-width:none;padding:0 3%;margin:0;font-size:10px;color:#a3bfd1}
html[data-dial-theme="starship"] .settings-button,html[data-dial-theme="starship"] .close-settings{display:grid}
html[data-dial-theme="starship"] .controls{display:none;position:fixed;right:16px;top:78px;bottom:16px;width:340px;max-width:calc(100vw - 32px);overflow-y:auto;padding:24px;margin:0;z-index:20;background:#071522f5;border:1px solid #669ab064;box-shadow:0 0 0 100vmax #01060bb5;border-radius:10px}
html[data-dial-theme="starship"] .controls.open{display:block}
html[data-dial-theme="starship"] .console-mark{display:none}
html[data-dial-theme="starship"] .page-footer{height:40px;font-size:9px;color:#8ca9bd;border-top-color:#80c7ea24}
html[data-dial-theme="starship"] .appearance-presets button{background:#0a1b2a;border-color:#52798d;color:#bad4e5}
html[data-dial-theme="starship"] .appearance-presets button.selected{background:#15354c;border-color:#8fe3ff;color:#effbff}
html[data-dial-theme="starship"] .start-button.on{background:#132d3b;border-color:#6096ae;color:#aff0ff}
html[data-dial-theme="starship"] .control-section{border-color:#94d0ee22}
html[data-dial-theme="starship"] .sound-presets{background:#07121d;border-color:#4d85994a}
html[data-dial-theme="starship"] .sound-presets button.selected{background:#193b4b;color:#e1faff}
@media(max-height:600px){html[data-dial-theme="starship"] .topbar{height:54px}html[data-dial-theme="starship"] .cockpit{min-height:calc(100vh - 82px)}html[data-dial-theme="starship"] .instrument{padding-top:24px;padding-bottom:6px}html[data-dial-theme="starship"] .starship-display{height:calc(100vh - 144px);min-height:270px}html[data-dial-theme="starship"] .page-footer{height:28px}html[data-dial-theme="starship"] .controls{top:62px;bottom:8px}.ship-sound{height:44px;bottom:2px}.ship-wave{height:26px}.ship-card{padding:15px 18px}.ship-speed strong{font-size:clamp(100px,22vh,155px)}.ship-unit{font-size:14px;margin-top:6px}.starship-caption{font-size:8px;top:0}}
@media(max-width:900px){html[data-dial-theme="starship"] .app-shell{padding:0 3vw}html[data-dial-theme="starship"] .mode-switch button{padding:0 13px;min-height:34px}.ship-card{min-width:110px;padding:14px 16px}.ship-card strong{font-size:30px}.ship-card>span{font-size:9px}.ship-card small{font-size:7px}.ship-rpm{left:0}.ship-gear{right:0}.ship-sound{left:7%;right:7%;gap:12px;padding:8px 16px}.ship-sound>.ship-sound-label{display:none}.ship-speed strong{font-size:clamp(100px,16vw,145px)}.starship-caption{letter-spacing:2px}}
@media(max-width:550px){.ship-card{min-width:80px;padding:10px 8px;max-width:25%}.ship-card strong{font-size:23px}.ship-card>span{font-size:8px;letter-spacing:0}.ship-card small{font-size:6px;letter-spacing:0}.ship-speed strong{font-size:80px;letter-spacing:-3px}.ship-unit{font-size:12px}.ship-kicker{font-size:7px;letter-spacing:2px}.starship-caption{font-size:8px}.ship-sound{left:0;right:0;gap:10px}.ship-wave{gap:3px}.ship-sound>span{font-size:10px}}

/* Dismissal also works when Classic uses the wide-screen inline console. */
body.speedometer-controls-closed .controls{display:none!important}body.speedometer-controls-closed .settings-button{display:grid}body.speedometer-controls-closed .cockpit{grid-template-columns:minmax(0,1fr)}

.header-middle.gps-only>#sourceLabel{display:inline!important;font-size:10px;letter-spacing:1px}

.exhaust-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;border:1px solid #52738a66;border-radius:5px;background:#101b24;color:#bad5e6;padding:10px 12px;font-size:12px}.exhaust-toggle strong{font-size:11px;color:#879eab;font-weight:400}.exhaust-toggle[aria-pressed="true"]{border-color:#b39059;background:#382d1d}.exhaust-toggle[aria-pressed="true"] strong{color:#ffdaa3}.exhaust-section p{font-size:10px;color:#8b9ca3;line-height:1.8;margin-bottom:0}

/* Exterior motion stays behind all controls and never moves the cockpit frame. */
#starshipSpace{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;display:block}
#starshipSpace[hidden],html[data-dial-theme="classic"] #starshipSpace{display:none!important}
html[data-dial-theme="starship"] .app-shell{z-index:1}
@media(prefers-reduced-motion:reduce){#starshipSpace{display:none!important}}

/* Panoramic canopy: scenery surrounds stationary, lightly frosted instruments. */
html[data-dial-theme="starship"] .app-shell{background:linear-gradient(180deg,#02091324,transparent 35%,#02091324)}
html[data-dial-theme="starship"] .topbar{background:#03101a38;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
html[data-dial-theme="starship"] .ship-speed,
html[data-dial-theme="starship"] .ship-card,
html[data-dial-theme="starship"] .ship-sound{background:linear-gradient(135deg,#06172555,#06172525);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);border:1px solid #a6e5ff3d;box-shadow:inset 0 1px 0 #d2f4ff20,0 8px 32px #01091525;border-radius:16px}
html[data-dial-theme="starship"] .ship-speed{padding:20px 8px;max-width:560px;text-shadow:0 2px 10px #000b}
html[data-dial-theme="starship"] .ship-speed strong[data-compact="true"]{font-size:clamp(65px,11vw,150px);letter-spacing:-3px}
html[data-dial-theme="starship"] .ship-frame{stroke-width:2;stroke-opacity:.17}
html[data-dial-theme="starship"] .ship-guide{stroke-opacity:.22}
html[data-dial-theme="starship"] .page-footer,
html[data-dial-theme="starship"] .instrument-bottom{background:#04101b45;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);text-shadow:0 1px 4px #000}
html[data-dial-theme="starship"] .instrument-bottom{padding:10px 3%;border-radius:10px}
@media(max-width:550px){html[data-dial-theme="starship"] .ship-speed{padding:18px 4px;border-radius:12px}html[data-dial-theme="starship"] .ship-speed strong[data-compact="true"]{font-size:48px;letter-spacing:-2px}.ship-card,.ship-sound{border-radius:10px}}

/* Clear floating glass: preserve the landscape and keep only local reading surfaces. */
html[data-dial-theme="starship"] body{background-color:#020810;background-size:contain}
html[data-dial-theme="starship"] .app-shell{background:none}
html[data-dial-theme="starship"] .topbar{background:#02081012;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
html[data-dial-theme="starship"] .starship-arcs{display:none}
html[data-dial-theme="starship"] .ship-speed,html[data-dial-theme="starship"] .ship-card{background:linear-gradient(135deg,#163a4e12,#06172508);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);border-color:#c1ecff24;box-shadow:inset 0 1px 0 #d2f4ff16,0 6px 24px #01091512;text-shadow:0 2px 7px #000,0 0 18px #020810cc}
html[data-dial-theme="starship"] .ship-speed{width:clamp(160px,29vw,360px);max-width:45%;padding:12px 8px;border-radius:14px;top:40%}
html[data-dial-theme="starship"] .ship-speed strong{font-size:clamp(80px,12vw,160px);letter-spacing:-4px}
html[data-dial-theme="starship"] .ship-speed strong[data-compact="true"]{font-size:clamp(52px,8vw,108px);letter-spacing:-2px}
html[data-dial-theme="starship"] .ship-kicker{margin-bottom:5px}
html[data-dial-theme="starship"] .ship-unit{font-size:15px;margin-top:6px}
html[data-dial-theme="starship"] .ship-card{padding:14px 16px;min-width:130px;top:40%}
html[data-dial-theme="starship"] .ship-card strong{font-size:32px}
html[data-dial-theme="starship"] .instrument-bottom,html[data-dial-theme="starship"] .page-footer{background:#02081015;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
html[data-dial-theme="starship"] .controls .ship-sound{position:relative;inset:auto;left:auto;right:auto;bottom:auto;max-width:100%;height:42px;margin:12px 0 20px;padding:6px 10px;gap:10px;box-shadow:none;background:#0a1b2a;border-radius:6px;backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-dial-theme="starship"] .controls .ship-wave{height:24px;gap:3px}
html[data-dial-theme="classic"] .controls .ship-sound{display:none}
@media(max-width:900px){html[data-dial-theme="starship"] .ship-card{min-width:100px;padding:12px}html[data-dial-theme="starship"] .ship-card strong{font-size:28px}}
@media(max-width:550px){html[data-dial-theme="starship"] body{background-position:center 66%}html[data-dial-theme="starship"] .ship-speed{width:44%;padding:12px 4px}html[data-dial-theme="starship"] .ship-speed strong{font-size:76px}html[data-dial-theme="starship"] .ship-speed strong[data-compact="true"]{font-size:46px}html[data-dial-theme="starship"] .ship-card{min-width:78px;padding:10px 7px}html[data-dial-theme="starship"] .ship-card strong{font-size:23px}}

/* Edge-to-edge exterior, including the static/reduced-motion fallback. */
html[data-dial-theme="starship"] body{background-image:url('./speedometer-panorama-landscape-v2.webp'),url('./speedometer-panorama-portrait-v2.webp');background-size:cover;background-position:center center;background-repeat:no-repeat}
@media(orientation:portrait){html[data-dial-theme="starship"] body{background-image:url('./speedometer-panorama-portrait-v2.webp'),url('./speedometer-panorama-landscape-v2.webp');background-position:center center}}
