/* Local EQ variant only. Reuses player typography, buttons and touch targets. */
.eq-section{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}
.eq-title,.eq-toggle,.eq-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.eq-title h3{font-size:1rem}.eq-badge{font-size:.75rem;color:#81551d;display:inline-flex;align-items:center;gap:5px}
.eq-badge>span:first-child{font-size:.65rem}.eq-actions{justify-content:center;gap:8px;margin-top:6px}
.eq-toggle{gap:8px;flex-wrap:nowrap;font-size:.82rem;color:var(--muted)}
.eq-switch{position:relative;width:52px;height:44px;min-width:52px;min-height:44px;border:0;padding:0;background:transparent!important;border-radius:12px}
.eq-switch::before{content:"";position:absolute;inset:7px 0;background:#758482;border:1px solid #647471;border-radius:20px;transition:background .15s}
.eq-switch>span{position:absolute;width:24px;height:24px;top:10px;left:3px;border-radius:50%;background:white;box-shadow:0 1px 3px #0003;transition:transform .15s}
.eq-switch[aria-checked=true]::before{background:#218451;border-color:#19693f}.eq-switch[aria-checked=true]>span{transform:translateX(22px)}
.eq-reset-icon{padding:9px;width:44px;display:grid;place-items:center}.eq-reset-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.eq-dialog{color:inherit;background:#f8fdfb;border:1px solid var(--line);border-radius:24px;padding:18px 22px;width:min(720px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;box-shadow:0 20px 80px #102e3045}
.eq-dialog::backdrop{background:#102e30b8}body:has(.eq-dialog[open]){overflow:hidden}
.eq-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.eq-dialog-header h2{font-size:1.3rem}
.eq-close{width:44px;height:44px;flex-shrink:0;padding:0;font-size:1.7rem;line-height:1}
.eq-dialog-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin:12px 0 8px}
.eq-bands{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.eq-band{display:flex;flex-direction:column;align-items:center;min-width:0;gap:5px}.eq-band label{font-size:.8rem;font-weight:650}.eq-band output{font-size:.74rem;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted)}
.eq-band input[type=range]{writing-mode:vertical-lr;direction:rtl;width:44px;min-width:44px;height:150px;min-height:100px;max-width:100%;padding:0;touch-action:none}
.eq-band.unavailable{opacity:.5}.eq-info{background:#e8f1ee;color:var(--muted);border-radius:10px;padding:8px 10px;margin-top:10px}
#eq-low-rate,#eq-error{margin-top:8px}
.cover-button{width:72px;height:72px;min-height:44px;border:0;background:transparent;padding:0;border-radius:10px;cursor:zoom-in}.cover-button:disabled{opacity:1;cursor:default}
.cover-dialog{width:min(580px,calc(100% - 24px))}.cover-dialog .eq-dialog-header h2{font-size:1rem;min-width:0}
#cover-large{display:block;max-width:100%;max-height:65vh;max-height:65dvh;width:auto;height:auto;margin:12px auto 0;object-fit:contain;border-radius:10px}
@media(max-width:600px){.eq-dialog{padding:14px 16px;border-radius:20px}.eq-bands{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 6px}.eq-band input[type=range]{height:115px}}
@media(forced-colors:active){.eq-switch::before{background:Canvas;border:1px solid ButtonText}.eq-switch>span{background:ButtonText}.eq-switch[aria-checked=true]::before{background:Highlight}}
@media(prefers-reduced-motion:reduce){.eq-switch::before,.eq-switch>span{transition:none}}
