/* Optional background sound, sized to fit beside the existing header links. */
.alvi-music-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: .375rem;
  min-height: 44px;
  margin-left: auto;
  padding: .625rem .75rem;
  border: 1px solid var(--hero-line, rgba(255, 255, 255, .34));
  border-radius: 999px;
  background: rgba(5, 17, 10, .55);
  color: var(--hero-ink, #fffdf8);
  font: 500 .75rem/1.3 "Lora", Georgia, serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms, border-color 180ms;
}
.alvi-music-toggle[hidden] { display: none; }
.alvi-music-toggle svg { width: 16px; height: 16px; flex: none; }
.alvi-music-toggle:hover { border-color: #e3d4a7; background: rgba(10, 23, 16, .85); }
.alvi-music-toggle:focus-visible { outline: 3px solid #fff3cf; outline-offset: 3px; }
.alvi-music-toggle[aria-pressed="true"] { color: #e3d4a7; border-color: #e3d4a7; }
.alvi-music-toggle[aria-pressed="true"] .alvi-music-toggle-slash { display: none; }
.alvi-music-toggle[data-state="loading"] { opacity: .75; }
.alvi-music-toggle--floating {
  position: fixed;
  z-index: 45;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  background: rgba(10, 23, 16, .94);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
}
.alvi-music-toggle--floating svg { width: 20px; height: 20px; }
html.promo-open .alvi-music-toggle--floating { visibility: hidden; }
.alvi-music-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 420px) {
  .hero .hero__chrome { gap: .5rem; }
  .alvi-music-toggle { gap: .25rem; padding: .625rem .5rem; font-size: .6875rem; }
  .hero .hero__chrome .certificate-link { padding: .625rem .5rem; font-size: .6875rem; letter-spacing: .03em; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .alvi-music-toggle { transition: none; } }
