@charset "UTF-8";
:root{color-scheme:dark;--bg:#0a1016;--panel:#121a22;--line:#26323c;--muted:#8799a8;--text:#e8f0f5;--accent:#52c8e8;--amber:#efb968;font-family:"MiSans","HarmonyOS Sans SC","PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 20% 0,#16303f77,transparent 50%),var(--bg);color:var(--text)}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer;color:inherit;border:1px solid var(--line);background:#1a2630;border-radius:12px;min-height:48px;padding:10px 18px;transition:background .2s,border-color .2s}button:hover{background:#233744;border-color:#476170}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button[hidden],[hidden]{display:none!important}.app{max-width:1880px;margin:auto;padding:26px 36px 0}header{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:67px;margin-bottom:26px}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--text);font-weight:750;font-size:27px;letter-spacing:4px}.brand small{display:block;font-size:8px;letter-spacing:2px;color:var(--muted);font-weight:500;margin-top:4px}.brand-mark{display:grid;place-items:center;background:var(--accent);border-radius:12px;width:47px;height:47px;color:#0a2635;font-size:37px;line-height:1}.top-status{display:flex;gap:24px;font-size:13px;color:var(--muted);margin-left:auto}.top-status .live{color:var(--accent)}.header-actions{display:flex;gap:9px}.icon-button{min-width:48px;padding:8px 12px;background:transparent;font-size:16px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:650}main{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:24px}.panel{background:linear-gradient(145deg,#18232d,#10171e 70%);border:1px solid var(--line);border-radius:25px;box-shadow:0 16px 40px #0002}.instrument{padding:26px 30px 0;overflow:hidden;position:relative}.section-top{display:flex;align-items:center;justify-content:space-between;gap:12px}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-.5px;margin-top:7px}h2{font-size:21px;letter-spacing:-.5px;margin-top:7px}h3{font-size:17px}.chip{font-size:12px;background:#18303c;color:var(--accent);border:1px solid #2c5364;border-radius:8px;padding:8px 11px;white-space:nowrap}.chip.demo{color:var(--amber);background:#352a1d;border-color:#685031}.dial{position:relative;aspect-ratio:1.25;max-width:670px;margin:-6px auto -12px}canvas{width:100%;height:100%;display:block}.dial-center{position:absolute;left:0;right:0;top:41%;display:flex;align-items:center;flex-direction:column;pointer-events:none}.dial-center>span:first-child{font-size:12px;letter-spacing:3px;color:var(--accent);margin-bottom:1px}.dial-center strong{font-family:Bahnschrift,"DIN Alternate",sans-serif;font-weight:500;font-size:clamp(70px,8.6vw,151px);line-height:1.07;letter-spacing:-6px;font-variant-numeric:tabular-nums}.unit{font-size:12px;letter-spacing:5px;color:#9db0bd}.dial-center #speedCaption{font-size:12px;color:var(--muted);letter-spacing:0;margin-top:13px}.rpm-caption{position:absolute;bottom:9%;text-align:center;width:100%;font-family:Bahnschrift,sans-serif;font-size:22px;color:#bdd0db}.rpm-caption small{font-family:inherit;font-size:10px;letter-spacing:2px;color:var(--muted);margin-left:8px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);margin:5px 0 22px;border:1px solid var(--line);border-radius:15px;background:#0c141b80;padding:16px 0}.metrics>div{text-align:center;border-right:1px solid var(--line)}.metrics>div:last-child{border:0}.metrics span{color:var(--muted);font-size:12px}.metrics b{display:block;margin-top:6px;font-family:Bahnschrift,sans-serif;font-weight:500;font-size:31px;line-height:1.15}.metrics small{font-size:13px;color:var(--muted);margin-left:4px}.metrics i{font-style:normal}.start-row{display:flex;align-items:center;gap:20px}.power{background:var(--accent);color:#09202c;border:0;border-radius:15px;min-height:69px;min-width:180px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 4px 25px #52c8e819}.power:hover{background:#8bdeef}.power.active{background:#1b303b;border:1px solid #4a7e90;color:#a4e9fa}.power-icon{font-size:25px}.start-row strong{font-size:14px;font-weight:550}.start-row p{font-size:12px;color:var(--muted);line-height:1.6;margin-top:6px;max-width:280px}.instrument-foot{margin-top:22px;padding:15px 0;border-top:1px solid var(--line);font-size:10px;color:var(--muted);display:flex;justify-content:space-between;letter-spacing:1px}.controls{display:flex;flex-direction:column;gap:20px}.sound-panel,.data-panel{padding:26px 27px}.text-button{color:var(--accent);border:0;background:transparent;min-height:44px;padding:8px;font-size:12px;white-space:nowrap}.quick-profiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:23px}.voice-card{position:relative;overflow:hidden;min-width:0;text-align:left;padding:12px 13px;background:#0b131b;border-radius:15px;border:1px solid #2b3844}.voice-card.selected{border-color:var(--accent);box-shadow:0 0 0 1px #52c8e833;background:linear-gradient(150deg,#203a47,#101c25)}.voice-card .engine-art{height:65px;display:flex;align-items:center;justify-content:center;margin-bottom:9px;color:var(--voice,#52c8e8);background:radial-gradient(ellipse,var(--voice,#52c8e8),transparent 67%);background-blend-mode:soft-light;isolation:isolate}.engine-art svg{width:100%;height:65px;filter:drop-shadow(0 0 7px currentColor)}.voice-card strong{font-size:15px;display:block;white-space:nowrap}.voice-card small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.voice-card .selected-dot{position:absolute;right:9px;top:8px;background:var(--accent);border-radius:50%;width:16px;height:16px;color:#102633;font-size:10px;text-align:center;line-height:16px}.profile-bottom{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:17px}.profile-bottom p{font-size:12px;line-height:1.6;color:var(--muted);max-width:330px}.preview{font-size:12px;min-height:41px;padding:8px 13px;white-space:nowrap;background:#192a35}.divider{height:1px;background:var(--line);margin:21px 0}.range-title{display:flex;align-items:center;justify-content:space-between;font-size:14px;margin:3px 0 15px}output{font-family:Bahnschrift,sans-serif;font-size:24px}output span{font-size:12px;color:var(--muted);margin-left:4px}input[type=range]{appearance:none;width:100%;height:6px;background:linear-gradient(to right,var(--accent) 0 var(--fill,45%),#2a3b48 var(--fill,45%) 100%);border-radius:5px;outline:none;cursor:pointer;margin:10px 0 15px}input[type=range]::-webkit-slider-thumb{appearance:none;background:#e3f7fc;border:4px solid #3a7386;width:28px;height:28px;border-radius:50%;box-shadow:0 0 0 5px #52c8e813}input[type=range]::-moz-range-thumb{background:#e3f7fc;border:4px solid #3a7386;width:20px;height:20px;border-radius:50%}.range-ends{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;letter-spacing:1px}.segment{display:grid;grid-template-columns:1fr 1fr;background:#0b1219;border:1px solid var(--line);padding:5px;border-radius:13px;margin-top:21px;gap:5px}.segment button{border:1px solid transparent;background:transparent;color:var(--muted);font-size:14px;min-height:50px}.segment button.selected{border-color:#3a6477;background:#1d3543;color:#b8ecf8}.segment button.selected.demo{border-color:#856535;color:#f1c580;background:#352a1c}.data-summary{display:flex;justify-content:space-between;font-size:12px;margin:22px 0 11px}.data-summary span:last-child{color:var(--muted);font-size:11px}.gps-info p,.hint{font-size:12px;color:var(--muted);line-height:1.8}.signal-dot{width:9px;height:9px;border-radius:50%;background:#60717e}.signal-dot.live{background:var(--accent);box-shadow:0 0 0 5px #52c8e811}.tuning-panel{display:flex;align-items:center;justify-content:space-between;padding:22px 27px;flex:1;min-height:105px}.tuning-panel h2{font-size:18px}.tuning-panel p{font-size:12px;color:var(--muted);margin-top:5px}.round-arrow{border-radius:50%;width:49px;height:49px;padding:0;font-size:26px;background:transparent}.demo-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin:10px 0}.demo-actions button{font-size:12px;padding:9px 6px;user-select:none}.demo-actions button.pressed,.demo-actions button[aria-pressed=true]{background:#244655;border-color:var(--accent)}#demoControls{padding-top:20px}footer{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:74px;color:#6e8596;font-size:11px}footer>span:first-child{color:#b1c1cd}.tiny-mark{font-size:20px;color:var(--accent);margin-right:10px}dialog{color:var(--text);width:min(780px,92vw);max-height:90dvh;border:1px solid #354a5a;border-radius:24px;background:#121e28;padding:30px;box-shadow:0 30px 100px #000a}dialog::backdrop{background:#02070dbb;backdrop-filter:blur(7px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:20px}.dialog-head h2{font-size:26px}.dialog-head>button{border-radius:50%;min-width:47px;font-size:25px;padding:0}.search{width:100%;border:1px solid #354b5a;border-radius:10px;padding:14px 16px;background:#0c151d;color:var(--text)}.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0}.filter-row button{font-size:12px;padding:8px 13px;min-height:40px}.filter-row .active{color:var(--accent);border-color:var(--accent)}.profile-library{display:grid;grid-template-columns:1fr 1fr;gap:12px}.library-item{position:relative;display:grid;grid-template-columns:1fr 45px;gap:5px;padding:8px;background:#0d1720;border:1px solid var(--line);border-radius:14px}.library-item>button:first-child{border:0;text-align:left;background:transparent;padding:10px;min-height:96px}.library-item strong{display:block;font-size:18px}.library-item small{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:8px}.favorite{padding:0;min-width:40px;background:transparent;border:0;color:var(--muted);font-size:23px;align-self:start}.favorite.active{color:var(--amber)}.setting-range{display:block;font-size:15px;margin:25px 0}.setting-range output{float:right;font-size:18px}.setting-range input{display:block;margin-top:24px}.toggle{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:19px 0;font-size:15px}.toggle input{accent-color:var(--accent);width:24px;height:24px}.import-box{background:#0b141b;padding:20px;border-radius:14px;margin:12px 0 20px}.import-box p{font-size:12px;color:var(--muted);line-height:1.8;margin:10px 0}.import-box input[type=number]{background:#1b2c38;border:1px solid var(--line);color:var(--text);padding:8px;border-radius:5px;width:95px}.import-box label{font-size:12px}.import-box input[type=file]{display:block;font-size:12px;margin:18px 0;width:100%}.secondary{color:var(--accent);border-color:#3f687a}.help-steps{padding-left:23px;line-height:1.7}.help-steps li{padding:8px 0 12px}.help-steps p{font-size:13px;color:var(--muted);margin-top:5px}.notice{padding:17px;border:1px solid #625034;background:#2b261e;color:#d0bd9e;border-radius:12px;line-height:1.8;font-size:12px;margin:15px 0}#diagnosticResults>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:18px 0;font-size:14px}#diagnosticResults b{color:var(--accent)}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(20px);padding:15px 24px;background:#254355;border:1px solid #4b8197;border-radius:12px;max-width:90vw;font-size:13px;opacity:0;pointer-events:none;z-index:10;transition:.2s}#toast.show{opacity:1;transform:translateX(-50%)}#lockNotice{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:#172e3b;border:1px solid #396376;padding:10px 13px 10px 22px;border-radius:16px;font-size:13px;z-index:4;white-space:nowrap}#lockNotice button{margin-left:20px;color:var(--accent);min-height:40px}.focused main{grid-template-columns:1fr;max-width:1100px;margin:auto}.focused .controls,.focused footer,.focused .local-badge{display:none}.focused .dial{max-width:680px;aspect-ratio:1.65}.focused .dial-center{top:40%}.focused .dial-center strong{font-size:115px}.focused .instrument{padding-top:20px}.focused .metrics{max-width:700px;margin:0 auto 20px}.focused .start-row{justify-content:center}.focused .instrument-foot{margin-top:15px}.focused .instrument .section-top h1{font-size:23px}.focused .rpm-caption{bottom:1%}
@media(min-width:1600px){.app{padding-top:32px}main{gap:28px}.instrument{padding:30px 38px 0}.sound-panel,.data-panel{padding:30px 34px}.quick-profiles{margin-top:27px}.voice-card .engine-art{height:85px}.voice-card strong{font-size:18px}.controls{gap:25px}.tuning-panel{padding:26px 34px}h2{font-size:23px}.dial{margin-bottom:0}.data-summary{margin-top:27px}.start-row{gap:25px}.start-row strong{font-size:16px}.start-row p{font-size:13px}.power{min-width:210px}}
@media(max-width:1100px){.app{padding:20px 22px 0}.top-status{gap:12px;font-size:11px}.local-badge{display:none}.instrument{padding:24px 22px 0}.sound-panel,.data-panel{padding:23px 21px}main{gap:18px}.quick-profiles{gap:7px}.voice-card{padding:10px}.voice-card strong{font-size:12px}.voice-card small{font-size:9px}.start-row{gap:12px;align-items:flex-start}.power{min-width:144px;min-height:65px}.start-row p{font-size:11px}.start-row strong{font-size:12px}.dial-center #speedCaption{font-size:10px}.tuning-panel{padding:21px}.profile-bottom{align-items:flex-start}.profile-bottom p{font-size:11px}footer #footerHint{display:none}}
@media(max-width:760px){.app{padding:16px 15px 0}header{gap:12px;margin-bottom:18px;flex-wrap:wrap}.brand{font-size:24px;gap:9px}.brand-mark{width:40px;height:40px}.brand small{font-size:6px}.header-actions{margin-left:auto;gap:5px}.icon-button{min-width:42px;min-height:42px;font-size:13px;padding:7px}.top-status{order:3;width:100%;margin-top:2px;gap:18px}main{grid-template-columns:1fr}.instrument{padding:23px 21px 0;border-radius:22px}h1{font-size:26px}.dial{margin-top:0;aspect-ratio:1.2}.dial-center strong{font-size:100px}.dial-center{top:40%}.dial-center #speedCaption{font-size:11px}.metrics{padding:14px 0;margin-bottom:20px}.metrics b{font-size:28px}.start-row{align-items:center}.power{min-width:145px;min-height:66px;font-size:14px}.start-row p{font-size:11px}.start-row strong{font-size:12px}.controls{gap:17px}.sound-panel,.data-panel{padding:23px}.quick-profiles{gap:10px}.voice-card strong{font-size:14px}.voice-card small{font-size:10px}.voice-card .engine-art{height:62px}.profile-bottom p{font-size:12px}.tuning-panel{min-height:113px}footer{min-height:73px;font-size:10px}.profile-library{grid-template-columns:1fr}dialog{padding:23px}.dialog-head h2{font-size:23px}#lockNotice{font-size:11px;padding-left:12px}#lockNotice button{margin-left:10px;font-size:12px}.focused .dial{aspect-ratio:1.2}.focused .dial-center strong{font-size:110px}.focused .rpm-caption{bottom:9%}.focused .start-row{justify-content:flex-start}}
@media(min-width:761px) and (max-height:950px){.app{padding-top:15px}header{min-height:52px;margin-bottom:17px}.dial{height:clamp(290px,43vh,405px);aspect-ratio:auto;margin-top:-5px;margin-bottom:-7px}.dial-center{top:37%}.dial-center strong{font-size:clamp(76px,11vh,105px)}.dial-center #speedCaption{margin-top:8px}.rpm-caption{bottom:8%;font-size:19px}.instrument{padding-top:20px}.metrics{padding:12px 0;margin-bottom:17px}.metrics b{font-size:28px}.instrument-foot{margin-top:16px;padding:13px 0}.sound-panel,.data-panel{padding:20px 25px}.quick-profiles{margin-top:17px}.voice-card .engine-art{height:54px}.divider{margin:16px 0}.data-summary{margin-top:17px}.controls{gap:16px}.tuning-panel{padding:17px 25px;min-height:94px}footer{min-height:59px}.focused .dial{height:46vh;aspect-ratio:auto}.focused .dial-center strong{font-size:105px}}
.focus-volume{display:none}.focused .focus-volume{display:flex;align-items:center;gap:18px;max-width:650px;margin:18px auto 0;font-size:13px;color:var(--muted)}.focus-volume input{flex:1;margin:10px 0}.focus-volume output{min-width:44px;font-size:16px}
/* Full sound garage: native touch scrolling, mouse drag, wheel and explicit controls. */
.controls,.sound-panel{min-width:0}.quick-profiles{display:flex;min-width:0;max-width:100%;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#3a6175 #0c161e;padding:3px 2px 12px;overscroll-behavior-x:contain;touch-action:pan-x pan-y;cursor:grab;scroll-padding:2px}
.quick-profiles::-webkit-scrollbar{height:4px}.quick-profiles::-webkit-scrollbar-thumb{background:#3a6175;border-radius:5px}.quick-profiles::-webkit-scrollbar-track{background:#0c161e}.quick-profiles.dragging{scroll-snap-type:none;cursor:grabbing}.quick-profiles .voice-card{flex:0 0 calc((100% - 24px)/3);min-width:158px;scroll-snap-align:start;user-select:none}.voice-card strong{font-size:clamp(12px,1.1vw,17px);white-space:nowrap;letter-spacing:-.3px}.voice-card small{font-size:10px}.engine-art{pointer-events:none}.carousel-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px;margin-top:4px}.carousel-nav>div{display:flex;align-items:center;gap:9px}.carousel-nav button{width:38px;min-height:34px;padding:0;border-radius:8px;font-size:18px;background:#14232e}.carousel-nav button:disabled{opacity:.25}.carousel-nav #carouselCount{min-width:42px;text-align:center;font-family:Bahnschrift,sans-serif;font-size:11px}.profile-bottom{margin-top:12px}.dial-center strong{text-shadow:0 3px 0 #53616a,0 8px 14px #0009,0 -1px 0 #fff6}.dial-center .unit{text-shadow:0 2px 3px #000}.dial-center{top:37%}.rpm-caption{text-shadow:0 2px 3px #000}
@media(max-width:760px){main{grid-template-columns:minmax(0,1fr)}.quick-profiles .voice-card{flex-basis:calc((100% - 16px)/2.15);min-width:140px}.voice-card strong{font-size:14px}.quick-profiles{gap:10px}.carousel-nav{font-size:9px}.dial-center{top:34%}.dial-center strong{font-size:86px}.dial-center #speedCaption{font-size:10px;margin-top:9px}.rpm-caption{bottom:12%}.focused .dial-center{top:34%}.focused .dial-center strong{font-size:86px}}
@media(min-width:761px) and (max-height:950px){.dial-center{top:32%}.dial-center strong{font-size:clamp(72px,10.6vh,99px)}.dial-center #speedCaption{margin-top:6px}.rpm-caption{bottom:10%}.quick-profiles .voice-card{min-width:145px}.focused .dial-center{top:32%}}
@media(max-width:760px){.dial-center,.focused .dial-center{top:39%}.dial-center strong,.focused .dial-center strong{font-size:60px;letter-spacing:-2px}.dial-center>span:first-child{display:none}.dial-center .unit{font-size:10px;letter-spacing:3px}.dial-center #speedCaption{font-size:9px;margin-top:7px}.rpm-caption{font-size:16px;bottom:9%}.rpm-caption small{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}.quick-profiles{scroll-behavior:auto}}
