.topbar__sound-glyph {
  flex-shrink: 0;
  display: grid;
  place-items: end center;
  height: 14px;
}

.topbar__sound-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
  color: inherit;
}

.topbar__sound-wave i {
  display: block;
  width: 1px;
  background: currentColor;
  transform-origin: bottom center;
  animation: topbarSoundWave 1.35s ease-in-out infinite;
}

.topbar__sound-wave i:nth-child(1) {
  height: 6px;
  animation-delay: 0s;
}

.topbar__sound-wave i:nth-child(2) {
  height: 11px;
  animation-delay: 0.18s;
}

.topbar__sound-wave i:nth-child(3) {
  height: 7px;
  animation-delay: 0.34s;
}

.topbar__sound-slash {
  position: relative;
  display: block;
  width: 13px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.topbar__sound-slash::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
  transform: translate(-1px, -50%) rotate(-32deg);
  transform-origin: left center;
}

@keyframes topbarSoundWave {
  0%,
  100% {
    transform: scaleY(0.32);
    opacity: 0.72;
  }

  45% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.topbar__sound--off .topbar__sound-slash {
  opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
  .topbar__sound-wave i {
    animation: none;
    transform: scaleY(0.65);
    opacity: 0.85;
  }
}

