/* Nine independently measured FFT bands, not a repeating CSS waveform.
   Silence stays silent; speaking accent belongs to the genuine audio input. */
body.in-room #screenCall .participant-card .voice-wave-meter {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2.5px;
  box-sizing:border-box;
  position:absolute;
  left:50%;
  bottom:-12px;
  transform:translateX(-50%) translateY(3px);
  width:max-content;
  height:21px;
  padding:3px 7px;
  opacity:0;
  border-radius:10px;
  background:var(--eg-frost-heavy,#19252c);
  border:1px solid var(--eg-line,rgba(130,230,181,.16));
  box-shadow:0 3px 10px rgba(0,0,0,.10);
  transition:opacity .17s ease,transform .17s ease;
  pointer-events:none;
  z-index:4;
}
body.in-room #screenCall .participant-card.is-spectrum-active .voice-wave-meter,
body.in-room #screenCall .participant-card.speaking.is-spectrum-active .voice-wave-meter {
  opacity:.97;
  transform:translateX(-50%) translateY(0);
}
body.in-room #screenCall .participant-card .voice-wave-meter i,
body.in-room #screenCall .participant-card.speaking .voice-wave-meter i {
  display:block;
  width:2.5px;
  height:13px;
  flex:0 0 2.5px;
  border-radius:3px;
  background:linear-gradient(180deg,var(--green,#9ceac1),color-mix(in srgb,var(--green,#9ceac1) 65%,var(--eg-frost-heavy,#19252c)));
  transform:scaleY(var(--spectrum-level,.14));
  transform-origin:center center;
  transition:transform .065s linear;
  animation:none!important;
  will-change:auto;
}
body.in-room #screenCall .participant-card .voice-wave-meter i:nth-child(2n){opacity:.83}
@media (max-width:520px) {
  /* Allow the frequency pill to sit below the portrait without touching names. */
  body.in-room #screenCall .participant-card .avatar-wrap { margin-bottom:21px; }
  body.in-room #screenCall .participant-card .voice-wave-meter {
    height:19px;
    bottom:-3px;
    gap:2px;
    padding:3px 6px;
  }
  body.in-room #screenCall .participant-card .voice-wave-meter i,
  body.in-room #screenCall .participant-card.speaking .voice-wave-meter i{
    width:2.25px;height:11px;flex-basis:2.25px;
  }
}
:root[data-reduce-motion="true"] body.in-room #screenCall .participant-card .voice-wave-meter,
:root[data-reduce-motion="true"] body.in-room #screenCall .participant-card .voice-wave-meter i {
  transition:none!important;
  animation:none!important;
}
@media (prefers-reduced-motion:reduce) {
  body.in-room #screenCall .participant-card .voice-wave-meter,
  body.in-room #screenCall .participant-card .voice-wave-meter i { transition:none!important;animation:none!important; }
}
