/*!
 * Winamp Resurrected
 * Designed & developed by Serkan Hursgunel — www.serkanhursgunel.com
 */

/* Figma "Equalizer Window" (10:290) */

.wa-window--eq .wa-window__content {
  gap: 24px;
  padding: 16px 24px 20px 20px;
}

.wa-eq__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.wa-eq__toggles {
  display: flex;
  gap: 12px;
}

/* ---------- EQ Curve (8:165) ---------- */
.wa-eq__curve {
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

.wa-eq__grid line {
  stroke: #fff;
  stroke-opacity: 0.22;
  stroke-width: 4;
}

.wa-eq__path {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  transition: opacity 150ms ease;
}

.wa-window--eq[data-eq-off] .wa-eq__path {
  opacity: 0.3;
}

.wa-eq__presets {
  width: 164px;
  height: 44px;
}

/* ---------- Bands ---------- */
.wa-eq__bands,
.wa-eq__freqs {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.wa-eq__band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.wa-eq__label {
  font: 20px/1 var(--wa-font-digits);
  color: var(--wa-lcd-label);
  opacity: 0.8;
  white-space: nowrap;
}

/* EQ Scale (10:145) */
.wa-eq__scale {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  flex-shrink: 0;
  width: 64px;
  height: 244px;
  font: 24px/1 var(--wa-font-scale);
  color: var(--wa-eq-scale-label);
  white-space: nowrap;
}

.wa-window--eq[data-eq-off] wa-slider[kind='eq'] .wa-slider__track {
  filter: saturate(0.35) brightness(0.8);
}

@media (prefers-reduced-motion: reduce) {
  .wa-eq__path {
    transition: none;
  }
}
