/* Decorative animation only. Playback stays in the existing player script. */
#rbp-player .rbp-visualizer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2px;
  flex:0 1 180px;
  min-width:100px;
  max-width:180px;
  height:42px;
  margin:0 8px;
  pointer-events:none;
}
#rbp-player .rbp-visualizer span {
  display:block;
  flex:1 1 0;
  max-width:4px;
  height:var(--rbp-wave-height);
  min-height:2px;
  border-radius:99px;
  background:linear-gradient(180deg,#ff879d,var(--rbp-accent));
  opacity:.38;
  transform:scaleY(.08);
  transform-origin:center;
}
#rbp-player[data-state="playing"] .rbp-visualizer span {
  opacity:.92;
  animation:rbp-decorative-wave var(--rbp-wave-duration) ease-in-out var(--rbp-wave-delay) infinite;
}
@keyframes rbp-decorative-wave {
  0%,100% { transform:scaleY(.22); }
  20% { transform:scaleY(.85); }
  40% { transform:scaleY(.38); }
  60% { transform:scaleY(1); }
  80% { transform:scaleY(.55); }
}
@media(min-width:1001px) and (max-width:1150px) {
  #rbp-player .rbp-visualizer { flex-basis:115px; max-width:115px; margin:0; }
}
@media(max-width:640px) {
  #rbp-player .rbp-bar { flex-wrap:wrap; row-gap:8px; }
  #rbp-player .rbp-track-info { flex:1 1 0; }
  #rbp-player .rbp-visualizer {
    order:1;
    flex:0 0 100%;
    width:100%;
    min-width:0;
    max-width:none;
    height:22px;
    margin:0;
    gap:3px;
  }
  #rbp-player .rbp-visualizer span { max-width:5px; }
}
@media(max-width:380px) {
  #rbp-player .rbp-visualizer { height:18px; gap:2px; }
}
@media(prefers-reduced-motion:reduce) {
  #rbp-player[data-state="playing"] .rbp-visualizer span {
    animation:none !important;
    transform:scaleY(.4);
  }
}
