/* VERSION: 2.2.0 */
/* css/modal-eq.css */
/* Studio-Grade Taller Bottom Slideout Docked Drawer Equalizer */
/* Featuring Long-Throw Faders, Dual-Sided Calibration Ticks, and Full Theme Studio Compatibility */

#eq-modal.eq-drawer {
    position: absolute;
    bottom: 64px; /* Docked directly above .controls-wrapper */
    left: 10px;
    right: 10px;
    max-height: calc(100% - 72px);
    z-index: 45;
    /* Theme Studio Compatible Surface with Elevated Contrast */
    background: var(--bg-panel, #20242e);
    background: color-mix(in srgb, var(--bg-panel, #222632) 88%, #ffffff 12%);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.22));
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.92), 0 0 0 1px rgba(255, 255, 255, 0.14);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(calc(100% + 80px));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    user-select: none;
    -webkit-user-select: none;
    font-family: inherit;
    color: var(--text-main, #f4f4f5);
}

#eq-modal.eq-drawer.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* DRAWER PULL HANDLE */
.eq-drawer-handle {
    width: 100%;
    padding: 6px 0 3px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    transition: opacity 0.2s;
}

.eq-drawer-handle .handle-bar {
    width: 52px;
    height: 5px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 3px;
    transition: background 0.2s, width 0.2s, transform 0.2s;
}

.eq-drawer-handle:hover .handle-bar {
    background: var(--accent, #ff9e3b);
    width: 68px;
    transform: scaleY(1.3);
}

/* TOP NAVIGATION & CONTROLS BAR */
.eq-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.45);
    gap: 10px;
    flex-shrink: 0;
}

.eq-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.eq-brand .highlight {
    color: var(--accent, #ff9e3b);
    text-shadow: 0 0 8px var(--accent, #ff9e3b);
}

.eq-power-led {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #333;
    box-shadow: inset 1px 1px 2px #000;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.eq-power-led.active {
    background-color: var(--accent, #ff9e3b);
    box-shadow: 0 0 8px var(--accent, #ff9e3b), inset -1px -1px 2px rgba(0,0,0,0.4);
}

.eq-version-badge {
    font-size: 7.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    background: color-mix(in srgb, var(--accent, #ff9e3b) 15%, transparent);
    color: var(--accent, #ff9e3b);
    padding: 1.5px 5px;
    border-radius: 3px;
    border: 1px solid color-mix(in srgb, var(--accent, #ff9e3b) 30%, transparent);
}

/* RETRO DIGITAL LCD DISPLAY (MATCHING VJ & AUX) */
.eq-lcd {
    background: #06090e;
    border: 1px solid color-mix(in srgb, var(--accent, #ff9e3b) 30%, transparent);
    border-radius: 5px;
    padding: 3px 8px;
    font-family: var(--font-mono, 'SF Mono', 'Courier New', monospace);
    font-size: 10px;
    font-weight: bold;
    color: var(--accent, #ff9e3b);
    text-shadow: 0 0 6px var(--accent, #ff9e3b);
    letter-spacing: 1.2px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.85);
    min-width: 95px;
    text-align: center;
    flex-shrink: 0;
}

.eq-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.eq-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--accent, #ff9e3b);
    text-transform: uppercase;
}

.eq-title svg {
    color: var(--accent, #ff9e3b);
}

.eq-toggles {
    display: flex;
    align-items: center;
    gap: 5px;
}

.eq-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-main, #e4e6eb);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 9.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.eq-toggle-btn:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.eq-toggle-btn.active {
    background: color-mix(in srgb, var(--accent, #ff9e3b) 25%, transparent);
    border-color: var(--accent, #ff9e3b);
    color: var(--accent, #ff9e3b);
    box-shadow: 0 0 8px color-mix(in srgb, var(--accent, #ff9e3b) 30%, transparent);
}

/* 1-CLICK PRESETS CHIPS BAR */
.eq-presets-container {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.eq-presets-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 4px;
}

.eq-presets-chips::-webkit-scrollbar {
    display: none;
}

.eq-preset-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-main, #d1d5db);
    padding: 3px 9px;
    border-radius: 10px;
    font-size: 9.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.eq-preset-chip:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-1px);
}

.eq-preset-chip.active {
    background: var(--accent, #ff9e3b);
    border-color: var(--accent, #ff9e3b);
    color: #0b0e14;
    font-weight: 800;
    box-shadow: 0 0 12px var(--accent, #ff9e3b);
}

/* HEADER ACTIONS */
.eq-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

#vu-meter {
    background: #080a0d;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.eq-action-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-main, #e4e6eb);
    padding: 3px 8px;
    font-size: 9.5px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.eq-action-btn:hover {
    border-color: var(--accent, #ff9e3b);
    color: var(--accent, #ff9e3b);
    background: rgba(255, 255, 255, 0.16);
}

.eq-close-btn {
    background: transparent;
    border: none;
    color: var(--text-main, #e4e6eb);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s;
}

.eq-close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

/* EQ BODY - RESPONSIVE VERTICAL FLEX WITH ZERO SCROLLING */
.eq-body {
    display: flex;
    flex-direction: column;
    padding: clamp(4px, 1vh, 10px) 14px clamp(6px, 1.2vh, 14px);
    gap: clamp(4px, 1vh, 12px);
    overflow: hidden !important;
    overflow-y: hidden !important;
    flex: 1 1 auto;
    min-height: 0;
}

/* BODE PLOT CURVE & FFT SPECTRUM SECTION (FLUID VERTICAL ADAPTATION) */
.eq-curve-section {
    width: 100%;
    height: clamp(44px, 11vh, 110px);
    flex: 0 1 auto;
    min-height: 40px;
    max-height: 110px;
    position: relative;
}

.eq-curve-canvas-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

#eq-curve-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: crosshair;
}

.eq-curve-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    background: rgba(22, 26, 34, 0.96);
    border: 1.5px solid var(--accent, #ff9e3b);
    color: var(--accent, #ff9e3b);
    font-size: 9px;
    font-family: var(--font-mono, monospace);
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -120%);
    transition: opacity 0.1s ease;
    white-space: nowrap;
    z-index: 10;
}

/* DECK: KNOBS + 12 LONG-THROW SLIDERS (RESPONSIVE VERTICAL FLEX) */
.eq-deck {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex: 1 1 auto;
    min-height: 0;
}

/* PRE-AMP & MASTERING KNOB MODULES */
.eq-controls-left, .eq-controls-right {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 86px;
    flex-shrink: 0;
    min-height: 0;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: clamp(4px, 1vh, 12px) 6px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.4);
}

.knob-group {
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 1.2vh, 14px);
    align-items: center;
    justify-content: center;
}

.knob-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2px, 0.4vh, 4px);
}

.knob-label,
.knob-wrapper label {
    font-size: 7.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--text-muted, #9ea4b0);
    text-transform: uppercase;
}

.knob-val {
    font-size: 8px;
    font-family: var(--font-mono, 'SF Mono', monospace);
    color: var(--accent, #ff9e3b);
    font-weight: 700;
    text-shadow: 0 0 6px color-mix(in srgb, var(--accent, #ff9e3b) 50%, transparent);
}

/* HIGH-CONTRAST MACHINED ROTARY KNOBS (MATCHING EXACT VJ/AUX TEMPLATE) */
.knob {
    width: clamp(26px, 3.8vh, 38px);
    height: clamp(26px, 3.8vh, 38px);
    background: radial-gradient(circle at 35% 35%, #4a5060 0%, #2a2f3b 50%, #151820 100%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    cursor: grab;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8), inset 0 1px 2px rgba(255, 255, 255, 0.4), inset 0 -1px 2px rgba(0, 0, 0, 0.7);
    touch-action: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.knob:active {
    cursor: grabbing;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.95), inset 0 1px 3px rgba(0, 0, 0, 0.8);
}

.knob:hover {
    border-color: var(--accent, #00e5ff);
    box-shadow: 0 0 10px var(--accent, #00e5ff);
}

.knob::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    width: 3px;
    height: 10px;
    background: var(--accent, #00e5ff);
    border-radius: 1.5px;
    transform: translateX(-50%);
    box-shadow: 0 0 6px var(--accent, #00e5ff);
}

/* 12-BAND LONG-THROW SLIDERS DECK (LIGHTER RECESSED RACK BAY) */
.eq-sliders-deck {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: clamp(4px, 1vh, 10px) 14px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.45);
}

.eq-channel-subnav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: clamp(2px, 0.6vh, 8px);
}

.ch-tab-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-main, #d1d5db);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 8.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.ch-tab-btn.active {
    background: var(--accent, #ff9e3b);
    color: #0b0e14;
    border-color: var(--accent, #ff9e3b);
    box-shadow: 0 0 8px var(--accent, #ff9e3b);
}

/* RESPONSIVELY SCALED SLIDERS ROW (VERTICALLY ADAPTABLE WITH ZERO SCROLLBAR) */
.sliders-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1 1 auto;
    min-height: 70px;
    max-height: 210px;
    height: 100%;
    width: 100%;
}

/* MASTER SCALE RULER (+12 to -12) */
.slider-master-scale {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: clamp(8px, 1.5vh, 24px) 2px clamp(8px, 1.5vh, 26px);
    user-select: none;
    pointer-events: none;
}

/* STACKED COMPACT HARMONIZATION (When all 3 drawers or multiple drawers are open) */
#eq-modal.eq-drawer.stacked-compact .eq-body {
    padding: 4px 10px 6px;
    gap: 5px;
}
#eq-modal.eq-drawer.stacked-compact .eq-curve-section {
    height: 52px;
    min-height: 38px;
}
#eq-modal.eq-drawer.stacked-compact .sliders-row {
    min-height: 70px;
    max-height: 140px;
}
#eq-modal.eq-drawer.stacked-compact .eq-sliders-deck {
    padding: 4px 10px;
}
#eq-modal.eq-drawer.stacked-compact .eq-controls-left,
#eq-modal.eq-drawer.stacked-compact .eq-controls-right {
    width: 72px;
    padding: 4px 4px;
}
#eq-modal.eq-drawer.stacked-compact .knob {
    width: 28px;
    height: 28px;
}
#eq-modal.eq-drawer.stacked-compact .knob-group {
    gap: 5px;
}

.slider-master-scale .scale-label {
    font-size: 7.5px;
    font-family: var(--font-mono, monospace);
    font-weight: 700;
    color: var(--text-muted, rgba(255, 255, 255, 0.7));
    line-height: 1;
}

.slider-master-scale .scale-label.zero-scale {
    color: var(--accent, #ff9e3b);
    font-weight: 800;
    text-shadow: 0 0 6px var(--accent, #ff9e3b);
}

.slider-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    flex: 1;
    max-width: 56px;
    position: relative;
    border-radius: 6px;
    padding: 2px 1px;
    transition: background 0.15s ease;
}

.slider-col:hover {
    background: rgba(255, 255, 255, 0.05);
}

.slider-db {
    height: 12px;
    font-size: 8px;
    font-family: var(--font-mono, monospace);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2px;
    transition: color 0.15s, text-shadow 0.15s;
}

.slider-db.boost {
    color: var(--accent, #ff9e3b);
    text-shadow: 0 0 6px var(--accent, #ff9e3b);
}

.slider-db.cut {
    color: #ffaa33;
    text-shadow: 0 0 6px rgba(255, 170, 51, 0.6);
}

/* SLIDER TRACK WRAP WITH DUAL-SIDED CALIBRATION TICKS */
.slider-track-wrap {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex: 1;
    width: 100%;
    min-height: 0;
    position: relative;
    gap: 4px;
}

/* HIGH-CONTRAST DUAL-SIDED CALIBRATION TICK MARKS (Firefox & Chrome Compatible) */
.slider-ticks {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 14px;
    padding: 0;
    user-select: none;
    pointer-events: none;
}

.slider-ticks .tick {
    display: block;
    height: 2px;
    min-height: 2px;
    background: var(--text-muted, #a1a1aa);
    opacity: 0.85;
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
    transition: background 0.15s, width 0.15s, opacity 0.15s;
}

.ticks-left .tick {
    width: 6px;
    margin-left: auto;
}

.ticks-right .tick {
    width: 6px;
    margin-right: auto;
}

/* Major calibration notches: +12, +6, -6, -12 */
.slider-ticks .tick-12,
.slider-ticks .tick-6,
.slider-ticks .tick-n6,
.slider-ticks .tick-n12 {
    width: 9px;
    height: 2px;
    min-height: 2px;
    background: var(--text-main, #ffffff);
    opacity: 1;
    box-shadow: 0 0 2px var(--accent, rgba(255, 255, 255, 0.9)), 0 1px 2px rgba(0, 0, 0, 0.85);
}

/* Center 0 dB datum notch */
.slider-ticks .tick-0 {
    width: 13px;
    height: 2.5px;
    min-height: 2.5px;
    background: var(--accent, #ff9e3b);
    opacity: 1;
    box-shadow: 0 0 6px var(--accent, #ff9e3b), 0 1px 2px rgba(0, 0, 0, 0.85);
}

.slider-col:hover .slider-ticks .tick {
    background: var(--text-main, #ffffff);
    opacity: 1;
}

.slider-col:hover .slider-ticks .tick-0 {
    background: var(--accent, #ff9e3b);
    opacity: 1;
    box-shadow: 0 0 8px var(--accent, #ff9e3b);
}

/* HIGH-CONTRAST MACHINED SLIDER TRACK */
.slider-track {
    width: 6px;
    height: 100%;
    flex: 0 0 6px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(0, 0, 0, 0.65);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    touch-action: none;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: background 0.15s ease;
}

.slider-col:hover .slider-track,
.slider-track:hover {
    background: rgba(255, 255, 255, 0.32);
}

/* Expanded touch hit area */
.slider-track::before {
    content: '';
    position: absolute;
    left: -14px;
    right: -14px;
    top: 0;
    bottom: 0;
    z-index: 1;
}

/* CRISP 0 dB CENTER DATUM LINE (HIGH CONTRAST THEME SYNC) */
.slider-zero-line {
    position: absolute;
    top: 50%;
    left: -6px;
    right: -6px;
    height: 2px;
    background: var(--accent, #ff9e3b);
    box-shadow: 0 0 6px var(--accent, #ff9e3b), 0 1px 2px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 1;
}

.slider-fill {
    position: absolute;
    width: 100%;
    left: 0;
    background: var(--accent, #ff9e3b);
    opacity: 0.75;
    border-radius: 2px;
    pointer-events: none;
    box-shadow: 0 0 6px var(--accent, #ff9e3b);
    transition: height 0.05s ease, top 0.05s ease, bottom 0.05s ease;
}

/* TACTILE MACHINED ALUMINUM FADER CAP WITH KNURLED TEETH & CENTER SLOT */
.slider-handle {
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: 26px;
    height: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #d8dde6 30%, #9aa2b2 60%, #c4cad6 100%);
    border: 1px solid #16181d;
    transform: translate(-50%, 50%);
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    cursor: grab;
    pointer-events: none;
    transition: transform 0.08s ease, background 0.15s, box-shadow 0.15s;
}

/* Knurled grip grooves on fader sides */
.slider-handle::before {
    content: '';
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 3px;
    width: 2px;
    background: rgba(0, 0, 0, 0.28);
    box-shadow: 17px 0 0 rgba(0, 0, 0, 0.28);
}

/* Center illuminated indicator line */
.slider-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 4px;
    right: 4px;
    height: 2px;
    background: var(--accent, #ff9e3b);
    transform: translateY(-50%);
    border-radius: 1px;
    box-shadow: 0 0 5px var(--accent, #ff9e3b);
}

.slider-col:hover .slider-handle,
.slider-handle.active-drag {
    background: linear-gradient(180deg, #ffffff 0%, #eaf0f9 30%, #b4bed0 60%, #dbe1ed 100%);
    box-shadow: 0 0 14px var(--accent, #ff9e3b), 0 4px 10px rgba(0, 0, 0, 0.9);
    border-color: var(--accent, #ff9e3b);
    transform: translate(-50%, 50%) scale(1.12);
}

.freq-label {
    margin-top: 4px;
    color: var(--text-main, #ffffff);
    font-size: 8px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* RESPONSIVE HANDLING */
@media (max-width: 900px) {
    #eq-modal.eq-drawer {
        left: 6px;
        right: 6px;
        bottom: 60px;
        max-height: calc(100% - 66px);
    }
    .eq-curve-section {
        height: 90px;
    }
    .sliders-row {
        height: 160px;
    }
    .slider-col {
        max-width: 44px;
    }
    .slider-handle {
        width: 22px;
        height: 14px;
    }
    .eq-controls-left, .eq-controls-right {
        width: 74px;
        padding: 8px 4px;
    }
    .knob {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 640px) {
    #eq-modal.eq-drawer {
        left: 0;
        right: 0;
        bottom: 58px;
        border-radius: 12px 12px 0 0;
        max-height: 85vh;
    }
    .sliders-row {
        overflow-x: auto;
        justify-content: flex-start;
        gap: 8px;
        padding-bottom: 4px;
    }
    .slider-col {
        min-width: 38px;
    }
}

/* Reverb Selector & Balance Knob Styling (Items 9, 10) */
.reverb-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.eq-reverb-select {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.2));
    color: var(--accent, #ff9e3b);
    font-size: 7.5px;
    font-weight: 700;
    border-radius: 3px;
    padding: 2px 4px;
    cursor: pointer;
    outline: none;
    max-width: 68px;
    text-align: center;
    transition: border-color 0.2s;
}

.eq-reverb-select:hover, .eq-reverb-select:focus {
    border-color: var(--accent, #ff9e3b);
}

/* Parametric EQ Filter Type & Q Badge (Item 7) */
.filter-type-badge {
    display: inline-block;
    font-size: 7px;
    font-weight: 800;
    padding: 1px 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted, #94a3b8);
    cursor: pointer;
    margin-top: 2px;
    user-select: none;
    transition: all 0.15s ease;
}

.filter-type-badge:hover {
    background: color-mix(in srgb, var(--accent, #ff9e3b) 25%, transparent);
    color: var(--accent, #ff9e3b);
    border-color: var(--accent, #ff9e3b);
}

.filter-type-badge.type-notch {
    color: #f43f5e;
    border-color: rgba(244, 63, 94, 0.4);
}
.filter-type-badge.type-highpass {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.4);
}
.filter-type-badge.type-lowpass {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.4);
}

/* Light Mode Aesthetic Overrides for Studio EQ */
body.light-mode #eq-modal.eq-drawer {
    background: #f4f6f9;
    border-color: #cbd2db;
    color: #1e293b;
    box-shadow: 0 -8px 36px rgba(0, 0, 0, 0.08);
}
body.light-mode .eq-top-bar {
    background: #eaedf1;
    border-bottom: 1px solid #cbd2db;
}
body.light-mode #vu-meter {
    background: #e8ecf1;
    border-color: #cbd2db;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}
body.light-mode .eq-lcd {
    background: #e8ecf1;
    border-color: #cbd2db;
    color: #1e293b;
    text-shadow: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}
body.light-mode .eq-curve-canvas-wrap {
    background: #e8ecf1;
    border-color: #cbd2db;
}
body.light-mode .eq-sliders-deck,
body.light-mode .eq-controls-left,
body.light-mode .eq-controls-right {
    background: #f4f6f9;
    border-color: #cbd2db;
}
body.light-mode .eq-toggle-btn,
body.light-mode .eq-action-btn,
body.light-mode .ch-tab-btn,
body.light-mode .eq-preset-chip {
    background: #eaedf1;
    border-color: #cbd2db;
    color: #334155;
}
body.light-mode .eq-brand {
    color: #1e293b;
    text-shadow: none;
}
body.light-mode .knob {
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #eaedf1 55%, #dde1e7 100%);
    border: 2px solid #cbd2db;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), inset 0 1px 2px #ffffff;
}