.sound-toggle {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid #83c5ff65;
  border-radius: 50px;
  background: #0b1124f5;
  box-shadow: 0 5px 25px #0005;
  color: var(--nexus-blue-light);
  font: 500 11px 'DM Sans', Arial, sans-serif;
  letter-spacing: .02em;
  transition: background .2s, border-color .2s, transform .2s;
}
.sound-toggle:hover { background: #172d50; border-color: var(--nexus-blue-light); }
.sound-toggle:active { transform: scale(.96); }
.sound-toggle[aria-pressed=false] { color: var(--nexus-muted); border-color: #a6b5d045; }
.sound-toggle[aria-busy=true] { opacity: .75; }
.sound-bars { display: flex; align-items: center; gap: 3px; height: 16px; width: 21px; }
.sound-bars i { display: block; width: 3px; height: 3px; border-radius: 3px; background: currentColor; }
.sound-toggle[aria-pressed=true] .sound-bars i { height: 13px; animation: audio-meter .85s ease-in-out infinite alternate; }
.sound-bars i:nth-child(2) { animation-delay: -.35s !important; }
.sound-bars i:nth-child(3) { animation-delay: -.6s !important; }
.sound-bars i:nth-child(4) { animation-delay: -.2s !important; }
@keyframes audio-meter { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
footer { padding-bottom: 85px; }
@media (max-width:760px) {
  .sound-toggle { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); font-size: 10px; padding: 10px 14px; }
}
