.tuner-card{--tpink: #f43f5e;--tpink-2: #ec4899;--tgreen: #34d399;--tblue: #3b82f6;--tline: rgba(255, 255, 255, .1);--tdim: #b7a7b0;width:min(640px,96vw);max-height:94vh;max-height:94dvh;padding:0;overscroll-behavior:contain;overflow-x:hidden;overflow-y:auto;border-radius:26px;border:1px solid rgba(244,63,94,.28);background:radial-gradient(90% 45% at 50% 28%,rgba(244,63,94,.16),transparent 70%),radial-gradient(120% 60% at 50% 110%,rgba(236,72,153,.14),transparent 60%),linear-gradient(180deg,#1c0c14,#0d070b);box-shadow:0 30px 80px #000000a6,inset 0 1px #ffffff0d}.tuner{color:#f4eef2;padding:18px}.tuner-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.tuner-back{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.14);background:#ffffff0d;color:#f4eef2;cursor:pointer;transition:background .12s ease,border-color .12s ease}.tuner-back:hover{background:#f43f5e2e;border-color:var(--tpink)}.tuner-back:focus-visible{outline:2px solid var(--tpink);outline-offset:2px}.tuner-logo{flex:none;display:grid;place-items:center;width:38px;height:38px;color:var(--tpink);filter:drop-shadow(0 0 8px rgba(244,63,94,.6))}.tuner-logo svg{width:34px;height:34px}.tuner-title{display:flex;flex-direction:column;min-width:0;line-height:1.15}.tuner-brand{display:flex;align-items:center;justify-content:center;gap:7px;margin-bottom:10px;font-size:12px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:#fda4b4}.tuner-brand:before,.tuner-brand:after{content:"";flex:0 1 70px;height:1px;background:linear-gradient(90deg,transparent,rgba(244,63,94,.55))}.tuner-brand:after{background:linear-gradient(90deg,rgba(244,63,94,.55),transparent)}.tuner-brand img{width:15px;height:15px}.tuner-headbrand{display:none}.tuner-title h2{margin:2px 0;font-size:22px;font-weight:800;letter-spacing:-.01em;white-space:nowrap}.tuner-title h2 em{font-style:normal;background:linear-gradient(135deg,#fb7185,var(--tpink-2));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.tuner-sub{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--tdim)}.tuner-livedot{width:7px;height:7px;border-radius:50%;background:#6b5560;flex:none;transition:background .15s ease,box-shadow .15s ease}.tuner-livedot.listening{background:var(--tpink);box-shadow:0 0 6px #f43f5ecc}.tuner-livedot.on{background:var(--tgreen);box-shadow:0 0 #34d3998c;animation:tuner-pulse 1.1s ease-out infinite}@keyframes tuner-pulse{0%{box-shadow:0 0 #34d39980}70%{box-shadow:0 0 0 6px #34d39900}to{box-shadow:0 0 #34d39900}}.tuner-tuningpick{position:relative;margin-left:auto}.tuner-tuningbtn{display:inline-flex;align-items:center;gap:10px;max-width:220px;padding:10px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:#ffffff0d;color:#f4eef2;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer}.tuner-tuningbtn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tuner-chev{flex:none;color:var(--tpink);transition:transform .15s ease}.tuner-tuningbtn:hover{border-color:var(--tpink)}.tuner-tuningbtn:focus-visible{outline:2px solid var(--tpink);outline-offset:2px}.tuner-tuningmenu{position:absolute;right:0;top:calc(100% + 6px);z-index:5;list-style:none;margin:0;padding:6px;width:230px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:#1b1420;box-shadow:0 18px 40px #0000008c}.tuner-tuningmenu li{margin:0}.tuner-tuningmenu button{display:flex;flex-direction:column;gap:1px;width:100%;text-align:left;padding:8px 10px;border-radius:10px;border:none;background:none;color:#f4eef2;font-family:inherit;cursor:pointer}.tuner-tuningmenu button:hover{background:#f43f5e24}.tuner-tuningmenu button.active{background:#f43f5e33}.tuner-tuningmenu strong{font-size:13px;font-weight:700}.tuner-tuningmenu span{font-size:11px;color:#b7a7b0}.tuner-strings{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:4px}.tuner-string{display:inline-flex;align-items:center;justify-content:center;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg,#ffffff12,#ffffff05);color:#d9cad2;font-family:inherit;font-size:16px;font-weight:800;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease}.tuner-string:hover{border-color:#f43f5e8c;color:#fff}.tuner-string:focus-visible{outline:2px solid var(--tpink);outline-offset:2px}.tuner-string.active{color:#fff;border-color:#fb7185e6;background:linear-gradient(180deg,#f43f5e,#be123c);box-shadow:0 0 0 3px #f43f5e2e,0 0 22px #f43f5e8c,inset 0 1px #ffffff40}.tuner-string.active.intune{border-color:#6ee7b7;background:linear-gradient(180deg,#34d399,#059669);box-shadow:0 0 0 3px #34d3992e,0 0 22px #34d39980,inset 0 1px #ffffff40}.tuner-stage{position:relative;margin:0 -18px;padding:0 18px}.tuner-waves{position:absolute;left:0;top:30%;width:100%;height:54%;pointer-events:none}.tuner-gauge{position:relative;z-index:1;margin:0 auto;max-width:min(380px,40vh);max-width:min(380px,40dvh)}.tuner-arc{width:100%;display:block;overflow:visible}.tuner-ring{fill:none;stroke:#f43f5e21;stroke-width:1}.tuner-tick{stroke-width:2.4;stroke-linecap:round;opacity:.34;transition:opacity .15s ease}.tuner-tick.big{stroke-width:3.4;opacity:.55}.tuner-tick.zero{stroke-width:4.2;opacity:.95}.tuner-tick.lit{opacity:1}.tuner-tick.tip{stroke-width:4.4;filter:drop-shadow(0 0 5px currentColor)}.tuner-scale{fill:#e5d7de;font-size:13px;font-weight:700;font-family:inherit}.tuner-scale.zero{fill:#fff}.tuner-needle{stroke:#fb7185;stroke-width:4;stroke-linecap:round;filter:drop-shadow(0 0 6px rgba(244,63,94,.85));transition:stroke .2s ease,filter .2s ease}.tuner-needle.sharp{stroke:#60a5fa;filter:drop-shadow(0 0 6px rgba(59,130,246,.9))}.tuner-needle.intune{stroke:var(--tgreen);filter:drop-shadow(0 0 6px rgba(52,211,153,.9))}.tuner-hub{fill:#fdf2f5;stroke:var(--tpink);stroke-width:3.5;transition:stroke .2s ease}.tuner-hub.sharp{stroke:var(--tblue)}.tuner-hub.intune{stroke:var(--tgreen)}.tuner-hub-glow{fill:#f43f5e47;transition:fill .2s ease}.tuner-hub-glow.sharp{fill:#3b82f647}.tuner-hub-glow.intune{fill:#34d3994d}.tuner-note{position:absolute;left:0;right:0;bottom:23%;text-align:center;font-size:clamp(44px,min(17vw,9.5vh),88px);font-weight:900;line-height:1;letter-spacing:-.02em;color:#fb3a64;background:linear-gradient(180deg,#ff8199,#e11d48);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 18px rgba(244,63,94,.55));pointer-events:none;transition:opacity .2s ease}.tuner-note.intune{background-image:linear-gradient(180deg,#a7f3d0,#10b981);filter:drop-shadow(0 0 18px rgba(52,211,153,.55))}.tuner-note.idle{opacity:.45}.tuner-hz.empty strong,.tuner-cents.empty{opacity:.3}.tuner-readout{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:2px;margin-top:2px}.tuner-hz{font-size:18px;font-weight:700;color:#cbb9c3}.tuner-hz strong{font-size:38px;font-weight:800;color:#fff;margin-right:5px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.tuner-cents{font-size:20px;font-weight:800;color:#8f8189;font-variant-numeric:tabular-nums}.tuner-cents.flat{color:#fb7185}.tuner-cents.sharp{color:#60a5fa}.tuner-cents.intune{color:var(--tgreen)}.tuner-status{display:inline-flex;align-items:center;gap:7px;min-height:32px;margin-top:6px;padding:5px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:#ffffff0d;color:var(--tdim);font-size:14px;font-weight:700;transition:color .2s ease,background .2s ease,border-color .2s ease}.tuner-status.flat{color:#fecdd3;background:#f43f5e29;border-color:#f43f5e80}.tuner-status.flat svg{color:#fb7185}.tuner-status.sharp{color:#bfdbfe;background:#3b82f629;border-color:#3b82f680}.tuner-status.sharp svg{color:#60a5fa}.tuner-status.intune{color:#a7f3d0;background:#34d39924;border-color:#34d39980}.tuner-mid{display:grid;grid-template-columns:minmax(0,1fr) 140px minmax(0,1fr);gap:12px;align-items:center;margin-top:14px}.tuner-col{display:flex;flex-direction:column;gap:12px;min-width:0}.tuner-panel{display:flex;align-items:center;gap:12px;min-width:0;padding:14px;border-radius:16px;border:1px solid var(--tline);background:linear-gradient(180deg,#ffffff0d,#ffffff04)}.tuner-panel-ic{flex:none;display:grid;place-items:center;width:28px;color:var(--tpink)}.tuner-panel-ic svg{width:24px;height:24px}.tuner-panel-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.tuner-panel-body strong{font-size:13.5px;font-weight:700}.tuner-panel-body span{font-size:12px;color:var(--tdim);line-height:1.35}.tuner-panel-body .tuner-info-notes{font-size:13px;font-weight:600;letter-spacing:.24em;color:#e5d7de}.tuner-ref-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.tuner-ref-row span{white-space:nowrap}.tuner-step{flex:none;display:flex;gap:4px}.tuner-step button{width:26px;height:26px;border-radius:8px;border:1px solid var(--tline);background:#ffffff0d;color:#f4eef2;font-family:inherit;font-size:15px;font-weight:700;line-height:1;cursor:pointer}.tuner-step button:hover:not(:disabled){border-color:var(--tpink);color:var(--tpink)}.tuner-step button:focus-visible{outline:2px solid var(--tpink);outline-offset:1px}.tuner-step button:disabled{opacity:.35;cursor:default}.tuner-meter{display:flex;align-items:center;gap:8px}.tuner-meter-bars{flex:1;min-width:0;display:flex;gap:3px}.tuner-meter-bars i{flex:1;max-width:8px;height:14px;border-radius:3px;background:#ffffff1a;transition:background .08s linear}.tuner-meter-bars i.on{background:linear-gradient(180deg,#fb7185,#e11d48);box-shadow:0 0 6px #f43f5e99}.tuner-meter-bars i.on.hot{background:#fbbf24;box-shadow:0 0 6px #fbbf2499}.tuner-meter-label{flex:none;font-size:12px;font-weight:700;color:var(--tdim)}.tuner-meter-label.good{color:var(--tgreen)}.tuner-meter-label.hot{color:#fbbf24}.tuner-switch{flex:none;position:relative;width:46px;height:26px;padding:0;border:none;border-radius:999px;background:#ffffff29;cursor:pointer;transition:background .15s ease,box-shadow .15s ease}.tuner-switch:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #00000059;transition:transform .18s ease}.tuner-switch[aria-checked=true]{background:linear-gradient(135deg,var(--tpink),var(--tpink-2));box-shadow:0 0 12px #f43f5e80}.tuner-switch[aria-checked=true]:after{transform:translate(20px)}.tuner-switch:focus-visible{outline:2px solid #fff;outline-offset:2px}.tuner-headstock{display:block;width:100%;max-width:170px;margin:0 auto;filter:drop-shadow(0 12px 26px rgba(244,63,94,.3))}.tuner-hs-body{stroke:#fb718599;stroke-width:1.5}.tuner-hs-brand{fill:#ffffff9e;font-family:inherit;font-size:9px;font-weight:800;font-style:italic;letter-spacing:.04em}.tuner-hs-string{fill:none;stroke:#d6d3d1;stroke-linecap:round;stroke-linejoin:round;opacity:.8;transition:stroke .15s ease}.tuner-hs-string.active{stroke:#fb7185;opacity:1;filter:drop-shadow(0 0 3px rgba(244,63,94,.95))}.tuner-hs-key.active,.tuner-hs-post.active{filter:drop-shadow(0 0 5px rgba(244,63,94,.95))}.tuner-hs-pulse{fill:none;stroke:var(--tpink);stroke-width:2;transform-box:fill-box;transform-origin:center;animation:tuner-peg 1.2s ease-out infinite}@keyframes tuner-peg{0%{transform:scale(.6);opacity:.9}to{transform:scale(1.6);opacity:0}}.tuner-headstock.sharp .tuner-hs-string.active{stroke:#60a5fa;filter:drop-shadow(0 0 3px rgba(59,130,246,.95))}.tuner-headstock.sharp .tuner-hs-pulse{stroke:var(--tblue)}.tuner-headstock.sharp .tuner-hs-key.active,.tuner-headstock.sharp .tuner-hs-post.active{filter:drop-shadow(0 0 5px rgba(59,130,246,.95))}.tuner-headstock.intune .tuner-hs-key.active,.tuner-headstock.intune .tuner-hs-post.active{filter:drop-shadow(0 0 5px rgba(52,211,153,.95))}.tuner-headstock.intune .tuner-hs-string.active{stroke:var(--tgreen);filter:drop-shadow(0 0 3px rgba(52,211,153,.95))}.tuner-headstock.intune .tuner-hs-pulse{stroke:var(--tgreen)}.tuner-bar{display:flex;align-items:center;gap:14px;margin-top:14px;padding:12px 12px 12px 16px;border-radius:18px;border:1px solid var(--tline);background:#ffffff08}.tuner-tip{flex:1;min-width:0;margin:0;font-size:12.5px;line-height:1.4;color:var(--tdim)}.tuner-mic{flex:none;display:inline-flex;align-items:center;gap:8px;padding:12px 24px;border-radius:14px;border:1px solid rgba(251,113,133,.75);background:linear-gradient(135deg,#f43f5e,#be123c);color:#fff;font-family:inherit;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 0 20px #f43f5e73;transition:filter .12s ease,transform .12s ease}.tuner-mic:hover{filter:brightness(1.08);transform:translateY(-1px)}.tuner-mic:focus-visible{outline:2px solid #fff;outline-offset:2px}.tuner-mic.off{background:#ffffff0f;color:#fb7185;box-shadow:none}@media (max-width: 600px){.tuner-head{flex-wrap:wrap}.tuner-tuningpick{margin-left:0;width:100%;order:3}.tuner-tuningbtn{max-width:none;width:100%;justify-content:space-between}.tuner-tuningmenu{width:100%}.tuner-mid{grid-template-columns:minmax(0,1fr)}.tuner-col{display:contents}.tuner-headstock{order:-1;max-width:140px}}@media (max-width: 400px){.tuner-strings{gap:5px}.tuner-string{height:40px;font-size:15px}.tuner-bar{flex-direction:column;align-items:stretch;text-align:center}.tuner-mic{justify-content:center}}@media (prefers-reduced-motion: reduce){.tuner-hs-pulse,.tuner-livedot.on{animation:none}}@media (max-height: 900px){.tuner-card{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}.tuner{padding:12px 18px 14px}.tuner-brand{margin-bottom:6px;font-size:11px}.tuner-head{margin-bottom:10px}.tuner-back,.tuner-logo{width:34px;height:34px}.tuner-logo svg{width:30px;height:30px}.tuner-title h2{font-size:20px}.tuner-tuningbtn{padding:8px 12px}.tuner-string{height:38px;font-size:15px}.tuner-hz{font-size:16px}.tuner-hz strong{font-size:30px}.tuner-cents{font-size:16px}.tuner-status{min-height:28px;margin-top:4px;padding:3px 12px;font-size:13px}.tuner-mid{margin-top:10px;gap:10px}.tuner-col{gap:10px}.tuner-panel{padding:10px 12px;gap:10px}.tuner-panel-body strong{font-size:13px}.tuner-panel-body span{font-size:11.5px}.tuner-headstock{max-width:130px}.tuner-bar{margin-top:10px;padding:8px 8px 8px 14px}.tuner-mic{padding:9px 20px;font-size:14px}}@media (max-height: 740px){.tuner{padding:12px 16px}.tuner-stage{margin:0 -16px;padding:0 16px}.tuner-strings{gap:6px}.tuner-string{height:34px;font-size:14px}.tuner-hz strong{font-size:26px}.tuner-cents{font-size:14px}.tuner-info .tuner-panel-body>span:last-child{display:none}.tuner-headstock{max-width:105px}.tuner-mid,.tuner-bar{margin-top:8px}}@media (max-width: 600px){.modal-overlay.tuner-overlay{padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom));align-items:center}.tuner-card{width:calc(100vw - 20px);height:auto;max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);overflow-y:auto;overscroll-behavior:contain;border-radius:22px}.tuner{display:flex;flex-direction:column;padding:12px 14px}.tuner-stage{margin:0 -14px;padding:0 14px}.tuner-brand{display:none}.tuner-head{gap:8px;margin-bottom:10px}.tuner-headbrand{display:flex;align-items:center;gap:6px;flex:none;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#fda4b4}.tuner-headbrand img{width:18px;height:18px}.tuner-logo{margin-left:auto}.tuner-title{align-items:flex-end;text-align:right}.tuner-back,.tuner-logo{width:34px;height:34px}.tuner-logo svg{width:28px;height:28px}.tuner-title h2{font-size:17px}.tuner-logo{width:28px}.tuner-logo svg{width:24px;height:24px}.tuner-tuningbtn{padding:8px 12px}.tuner-strings{gap:6px}.tuner-string{height:36px;font-size:14px}.tuner-gauge{max-width:min(320px,34vh);max-width:min(320px,34dvh)}.tuner-note{font-size:clamp(36px,min(15vw,8dvh),72px)}.tuner-hz{font-size:15px}.tuner-hz strong{font-size:26px}.tuner-cents{font-size:14px}.tuner-status{min-height:26px;margin-top:4px;padding:3px 12px;font-size:13px}.tuner-mid{grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr);gap:6px;margin:10px 0;align-items:center}.tuner-col{display:flex;flex-direction:column;gap:6px}.tuner-headstock{order:0;display:block;max-width:112px}.tuner-panel{padding:6px 7px;gap:5px;border-radius:10px;align-items:flex-start}.tuner-panel-ic{width:14px}.tuner-panel-ic svg{width:14px;height:14px}.tuner-panel-body strong{font-size:10.5px}.tuner-panel-body span{font-size:9.5px}.tuner-panel-body .tuner-info-notes{font-size:10px;letter-spacing:.1em}.tuner-step button{width:20px;height:20px;font-size:11px}.tuner-meter{gap:4px}.tuner-meter-bars{gap:2px}.tuner-info .tuner-panel-body>span:last-child{display:none}.tuner-ref-row{flex-wrap:wrap}.tuner-bar{margin-top:4px;padding:8px 8px 8px 12px;gap:10px;border-radius:14px}.tuner-tip{font-size:12px}.tuner-mic{padding:10px 18px;font-size:14px}}.tuner-error{margin-top:12px;padding:10px 12px;border-radius:10px;background:#f43f5e1f;border:1px solid rgba(244,63,94,.35);color:#ffb3c0;font-size:13px;text-align:center}
