
/* M2-07 audio controls use the existing settings system. */
.audio-volume-row {
  gap: 18px;
}
.audio-volume-row > span:first-child {
  min-width: 0;
}
.audio-volume-row input[type="range"] {
  width: min(180px, 42vw);
  accent-color: currentColor;
}
.audio-music-source {
  width: min(210px, 46vw);
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(8,10,28,.92);
  color: #fff;
  font: inherit;
  font-size: .75rem;
}
.audio-music-source:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.audio-now-playing {
  margin: -4px 0 6px;
  padding: 0 2px;
  font-size: .75rem;
  font-weight: 600;
  color: #9fe8ff;
}
.audio-now-playing::before {
  content: '\266B  ';
}
.audio-volume-row small {
  display: block;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 520px) {
  .audio-volume-row {
    align-items: center;
  }
  .audio-volume-row input[type="range"] {
    width: 42vw;
    min-width: 120px;
  }
}

/* Reduced Motion keeps every control, with no motion added by the mixer. */
@media (prefers-reduced-motion: reduce) {
  .audio-settings-group,
  .audio-settings-group * {
    animation: none !important;
    transition: none !important;
  }
}

/* Performance Mode keeps the same controls and drops extra filtering. */
body.performance-mode .audio-settings-group,
body.performance-mode .audio-volume-row input[type="range"] {
  filter: none;
  backdrop-filter: none;
}
