/* The music is optional; its control stays separate from consultation actions. */
.music-toggle {
  position: fixed;
  right: calc(18px + env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 22;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--gold-hi);
  background: #17171a;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  cursor: pointer;
}
.music-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.music-toggle .music-waves { display: none; }
.music-toggle[data-state="playing"] .music-waves { display: block; }
.music-toggle[data-state="playing"] .music-slash { display: none; }
.music-toggle[data-state="unavailable"] { color: var(--muted); }
body.has-music .fab { bottom: calc(76px + env(safe-area-inset-bottom)); }
body.viewing .music-toggle { display: none; }
.music-credit { margin-top: 12px; font-size: 11px; line-height: 1.65; color: var(--muted); }
.music-credit a { display: inline-flex; align-items: center; justify-content: center; min-width: 72px; min-height: 44px; padding: 0 10px; font-size: 13px; text-underline-offset: 3px; }
@media (max-width: 767px), (max-height: 520px) {
  .music-toggle { right: calc(12px + env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); }
  body.has-music .fab { bottom: calc(70px + env(safe-area-inset-bottom)); }
}
@media print { .music-toggle { display: none; } }
