:root{color-scheme:dark;--bg:#101b22;--panel:#192932;--panel2:#1d3039;--edge:#36505a;--muted:#9aafb7;--cream:#f5f0e1;--gold:#ddbb82;--mint:#73ddb2;--alert:#f0c08a;--red:#e4aa95}*{box-sizing:border-box}html{min-height:100%;background:var(--bg);-webkit-text-size-adjust:100%}body{margin:0;min-height:100vh;color:var(--cream);font:15px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;overflow-x:hidden}button{font:inherit;-webkit-tap-highlight-color:transparent;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.ambient{position:fixed;inset:0;background:radial-gradient(ellipse 650px 380px at 50% -140px,#3e594c6b,transparent 80%),radial-gradient(ellipse 700px 700px at 120% 55%,#22435255,transparent 80%),var(--bg);z-index:-1}.app{max-width:845px;margin:0 auto;padding:33px 24px max(35px,env(safe-area-inset-bottom))}.header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.brand{display:flex;align-items:center;gap:13px}.brand-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;color:var(--gold);background:#283b3e;border:1px solid #53675a;flex:none}.brand-mark svg{width:28px;height:28px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.19em;color:var(--gold)}h1{font-size:27px;line-height:1.14;margin:3px 0 0;letter-spacing:-.8px;font-weight:730}.dot-period{color:var(--mint)}.top-pill{color:#cbdfda;border:1px solid #466055;border-radius:100px;padding:9px 14px;font-size:12px;white-space:nowrap;font-weight:750;letter-spacing:.05em}.top-pill span{color:var(--gold)}.tuner-panel{background:linear-gradient(155deg,#20343c 0%,#192932 50%,#15252e 100%);border:1px solid #496169;border-radius:26px;padding:24px 28px 20px;box-shadow:0 20px 65px #080e1270,inset 0 1px #ffffff10}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-title{font-size:11px;letter-spacing:.17em;color:#c9d6cd;font-weight:800;display:flex;align-items:center;gap:10px}.little-bars{display:flex;align-items:center;gap:3px;height:15px}.little-bars i{display:block;width:3px;height:7px;background:var(--gold);border-radius:4px}.little-bars i:nth-child(2){height:13px}.little-bars i:nth-child(3){height:10px}.little-bars i:nth-child(4){height:15px}.mic-pill{font-size:10px;font-weight:850;letter-spacing:.1em;color:#b7c5c7;white-space:nowrap;background:#102029;border:1px solid #3c505a;border-radius:100px;padding:8px 12px;display:flex;align-items:center;gap:8px}.mic-dot{width:7px;height:7px;border-radius:50%;background:#7c8f97}.mic-pill.on{border-color:#397961;color:#b5f1d8}.mic-pill.on .mic-dot{background:var(--mint);box-shadow:0 0 10px #73ddb2aa}.current-string{text-align:center;margin-top:15px}.minor-label{font-size:11px;font-weight:750;letter-spacing:.15em;color:#b9c8c5}.main-note{display:flex;justify-content:center;align-items:flex-start;font-size:116px;font-weight:740;letter-spacing:-8px;line-height:1.05;margin-top:1px;font-variant-numeric:tabular-nums;text-shadow:0 5px 25px #10211e70}.octave{font-size:42px;letter-spacing:0;color:var(--gold);font-weight:500;line-height:1.2;margin-top:15px;margin-left:9px}.target-frequency{color:#9faeb2;font-size:11px;letter-spacing:.12em;font-weight:750}.target-frequency strong{color:var(--cream);font-size:14px;letter-spacing:0;margin-left:7px}.dial-wrap{max-width:610px;margin:-4px auto 5px;position:relative}.pitch-dial{width:100%;height:auto;display:block;overflow:visible;filter:drop-shadow(0 2px 8px #06121833)}#needleGroup{transition:transform 130ms ease-out;transform-box:view-box;will-change:transform}#needleGroup.in-tune path{fill:var(--mint);stroke:var(--mint)}.dial-text{fill:#b1c0bc;font-size:15px;letter-spacing:2.5px;font-weight:800}.dial-text text:nth-child(2){font-size:14px;fill:var(--mint)}.dial-caption{font-size:9px;font-weight:750;fill:#8ca3a8;letter-spacing:2px}.feedback{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;min-height:42px;margin:0 0 12px}.feedback-icon{font-size:13px;color:var(--gold)}.feedback-main{font-size:16px;font-weight:850;letter-spacing:.06em}.feedback-sub{font-size:13px;color:#adc0bf}.feedback.tuned .feedback-main,.feedback.tuned .feedback-icon{color:var(--mint)}.feedback.flat .feedback-main,.feedback.sharp .feedback-main{color:var(--alert)}.data-strip{display:grid;grid-template-columns:1fr 1fr;text-align:center;border-top:1px solid #3e5660;border-bottom:1px solid #3e5660;margin-bottom:16px;padding:14px 0 15px}.data-strip>div:first-child{border-right:1px solid #3e5660}.data-label{font-size:10px;font-weight:800;letter-spacing:.12em;color:#9eafb5}.data-value{margin-top:3px;font-size:26px;font-weight:720;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.data-value small{font-size:14px;font-weight:550;color:#b5c8c4}.start-btn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:60px;background:var(--mint);border:1px solid #a2f8d6;color:#15342c;font-size:16px;font-weight:850;border-radius:15px;box-shadow:0 5px 24px #69e4b31f;transition:transform .15s,background .15s}.start-btn:active{transform:scale(.992)}.start-btn.on{color:#e1f8ed;background:#31564d;border-color:#6dbba2;box-shadow:none}.start-btn:disabled{opacity:.6;cursor:wait}.helper-text{min-height:21px;margin:12px 0 0;text-align:center;font-size:12px;line-height:1.5;color:#aebfc1}.helper-text.error{color:#ffb8ad}.strings-section{margin-top:31px}.strings-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:15px}.strings-head h2{margin:3px 0 2px;font-size:23px;letter-spacing:-.55px}.strings-head p{margin:0;font-size:12px;color:#b8c9cb;max-width:370px}.strings-head p b{color:var(--mint)}.toggle{display:flex;flex:none;padding:4px;background:#13242c;border:1px solid #3c5057;border-radius:12px}.toggle button{border:0;background:transparent;border-radius:9px;padding:9px 13px;font-size:12px;font-weight:800;color:#90a6aa;min-width:57px}.toggle button[aria-pressed="true"]{color:#133028;background:var(--mint)}.string-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.string-tile{display:flex;align-items:center;min-width:0;background:#172a32;border:1px solid #3b5259;border-radius:16px;transition:background .15s,border-color .15s}.string-tile.selected{background:#25433f;border-color:#8be6b5;box-shadow:inset 0 0 0 1px #70cba932}.choose-string{flex:1;display:flex;align-items:center;gap:12px;text-align:left;min-width:0;color:inherit;padding:12px 6px 12px 13px;background:transparent;border:0}.num{font-size:12px;color:#93adad;font-weight:800;letter-spacing:.02em;align-self:flex-start;margin-top:6px}.note-block{min-width:0;display:flex;flex-direction:column}.note-block b{font-size:28px;line-height:1.05;font-weight:730;letter-spacing:-.4px}.note-octave{font-size:14px;color:var(--gold);font-weight:550;margin-left:2px}.note-block small{font-size:11px;white-space:nowrap;color:#aec0c3;margin-top:4px;font-variant-numeric:tabular-nums}.tone-btn{width:40px;height:42px;margin-right:9px;flex:none;border:1px solid #55716d;border-radius:11px;background:#2a4344;color:#b6edca;font-size:24px;line-height:1}.tone-btn:active,.tone-btn.playing{background:#bfead0;color:#183d2f}.guide{border:1px solid #324951;border-radius:17px;padding:16px 18px;margin-top:22px;background:#172831;display:flex;align-items:start;gap:16px;color:#b1c3c3;font-size:12px;line-height:1.65}.guide strong{white-space:nowrap;color:var(--gold);letter-spacing:.12em;font-size:11px}.guide b{color:#e0ebe5;font-weight:750}footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 25px;margin-top:22px;color:#7f9ca0;font-size:10px;font-weight:750;letter-spacing:.08em}@media(max-width:650px){.app{padding:20px 12px max(28px,env(safe-area-inset-bottom))}.header{margin:0 5px 18px}.brand-mark{width:41px;height:41px}.brand{gap:10px}.brand h1{font-size:23px}.brand .eyebrow{font-size:9px}.top-pill{font-size:10px;padding:8px}.tuner-panel{border-radius:22px;padding:20px 16px 17px}.main-note{font-size:96px}.octave{font-size:35px;margin-top:12px}.current-string{margin-top:14px}.dial-wrap{margin:-8px -8px 7px}.feedback{gap:4px 10px}.feedback-main{font-size:14px}.feedback-sub{font-size:12px}.data-value{font-size:23px}.strings-section{margin-top:26px}.strings-head h2{font-size:20px}.strings-head p{max-width:230px}.string-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.choose-string{padding:10px 5px 10px 10px;gap:7px}.tone-btn{width:35px;height:38px;margin-right:7px;font-size:21px}.num{font-size:10px}.note-block b{font-size:24px}.note-block small{font-size:10px}.guide{flex-direction:column;gap:6px}}@media(max-width:370px){.brand h1{font-size:21px}.top-pill{display:none}.string-grid{gap:7px}.choose-string{gap:5px}.num{display:none}.tone-btn{width:32px;margin-right:5px}.string-tile{border-radius:13px}.strings-head p{max-width:205px}.toggle button{min-width:48px;padding:8px}.feedback-sub{width:100%;text-align:center}.panel-title{font-size:10px}.dial-text{font-size:13px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}
