.eq-panel {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgba(255,255,255,0.92);

  /* "Amplifier"-like look */
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.08));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35) inset;
}

.eq-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.eq-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  opacity: 0.95;
  user-select: none;
}

.eq-toggle input {
  width: 16px;
  height: 16px;
}

.eq-preset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eq-preset-label {
  font-size: 12px;
  opacity: 0.85;
}

.eq-select {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.95);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  outline: none;
}

.eq-select:focus {
  border-color: rgba(255,255,255,0.28);
}

.eq-status {
  margin-left: auto;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
}

.eq-status.ok {
  background: rgba(0, 255, 120, 0.12);
}

.eq-status.warn {
  background: rgba(255, 190, 0, 0.12);
}

/* Topbar icon for EQ plugin */
.eq-topbar-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.eq-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.eq-title {
  font-weight: 700;
  font-size: 14px;
}

.eq-actions {
  display: flex;
  gap: 8px;
}

.eq-btn {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.95);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
}

.eq-btn:hover {
  background: rgba(255,255,255,0.14);
}

.eq-loading {
  padding: 14px;
  opacity: 0.85;
}

/* Slider bank (10 bands) */
.eq-bank {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  padding: 10px 6px 6px 6px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(0,0,0,0.12);
}

.eq-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.eq-freq {
  font-size: 11px;
  letter-spacing: 0.2px;
  opacity: 0.9;
}

.eq-db {
  font-size: 11px;
  opacity: 0.85;
  white-space: nowrap;
}

.eq-vrange {
  height: 220px;
  width: 22px;
  accent-color: rgba(255,255,255,0.75);

  /* Firefox */
  writing-mode: bt-lr;

  /* Chrome/Safari */
  -webkit-appearance: slider-vertical;
  appearance: slider-vertical;
}

.eq-vrange:focus {
  outline: none;
}

/* Thumb styling (WebKit) */
.eq-vrange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.35);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.eq-vrange::-webkit-slider-runnable-track {
  width: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.08));
  border-radius: 999px;
}

/* Thumb styling (Firefox) */
.eq-vrange::-moz-range-thumb {
  width: 22px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.35);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.eq-vrange::-moz-range-track {
  width: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.08));
  border-radius: 999px;
}

.eq-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.eq-knob {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eq-knob-label {
  font-size: 12px;
  opacity: 0.9;
}

.eq-knob-value {
  font-size: 12px;
  opacity: 0.9;
}

.eq-hrange {
  width: 100%;
}

.eq-hint {
  font-size: 12px;
  opacity: 0.75;
}
