.eq-overlay {
    position: fixed;
    inset: 0;
    z-index: 26000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
}

.eq-overlay.active { display: flex; }

.eq-card {
    position: relative;
    width: min(520px, 100%);
    padding: 24px;
    border-radius: 22px;
    background: #161618;
    border: 1px solid rgba(255, 215, 0, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
    color: #fff;
}

.eq-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.eq-title {
    margin: 0;
    font-size: 21px;
    color: #ffd700;
}

.eq-sub {
    margin: 6px 0 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.eq-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 14px;
}

.eq-toggle {
    width: 20px;
    height: 20px;
    accent-color: #ffd700;
}

.eq-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0;
}

.eq-preset {
    padding: 7px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    cursor: pointer;
}

.eq-preset.active,
.eq-preset:hover {
    border-color: #ffd700;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.08);
}

.eq-bands {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 6px 8px;
    min-height: 230px;
}

.eq-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.eq-band input[type="range"] {
    writing-mode: vertical-lr;
    direction: rtl;
    width: 5px;
    height: 170px;
    accent-color: #ffd700;
    cursor: pointer;
}

.eq-value {
    min-height: 18px;
    font-size: 12px;
    color: #ffd700;
    font-family: monospace;
}

.eq-freq {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
}

.eq-status {
    min-height: 18px;
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.eq-status.success { color: #6ee7a8; }
.eq-status.error { color: #ff6b6b; }

@media (max-width: 600px) {
    .eq-overlay { align-items: flex-end; padding: 10px; }
    .eq-card { border-radius: 20px 20px 0 0; padding: 18px; }
    .eq-bands { min-height: 210px; }
    .eq-band input[type="range"] { height: 150px; }
}
