/* From assets/buzzer-soundwave 2 (Mickey, 30 Oct 2026), unchanged. */
/* Buzzer voice indicator. No dependencies. Overlay inside the existing head area. */
.buzzer-soundwave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 46px;
  height: 25px;
  color: var(--buzzer-wave-color, #50423b);
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}
.buzzer-soundwave[data-speaking="true"] { opacity: 1; }
.buzzer-soundwave > span {
  display: block;
  width: 6px;
  height: 19px;
  flex: 0 0 6px;
  border-radius: 55% 45% 48% 52%;
  background: currentColor;
  box-shadow: inset -1px -2px 1px #0002, inset 1px 1px 1px #fff5;
  transform: scaleY(.2);
}
.buzzer-soundwave[data-speaking="true"] > span {
  animation: buzzer-wave-bounce 670ms ease-in-out infinite alternate;
}
.buzzer-soundwave > span:nth-child(2) { animation-delay: -380ms; animation-duration: 530ms; }
.buzzer-soundwave > span:nth-child(3) { animation-delay: -170ms; animation-duration: 810ms; }
.buzzer-soundwave > span:nth-child(4) { animation-delay: -490ms; animation-duration: 610ms; }
.buzzer-soundwave > span:nth-child(5) { animation-delay: -260ms; animation-duration: 730ms; }
@keyframes buzzer-wave-bounce {
  0% { transform: scaleY(.18); }
  35% { transform: scaleY(.65); }
  68% { transform: scaleY(.35); }
  100% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .buzzer-soundwave[data-speaking="true"] > span { animation: none; transform: scaleY(.55); }
}
