/* Control global para el botón de activación de audio */
.audio-toggle-button {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

.audio-button {
  border: 1px solid rgba(124, 58, 237, 0.45);
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.25), rgba(6, 182, 212, 0.22));
  color: var(--text, #e2e8f0);
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.audio-button .audio-icon {
  width: 1.3rem;
  height: 1.3rem;
  display: block;
  color: inherit;
}

.audio-button .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.audio-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  border-color: rgba(6, 182, 212, 0.6);
}

.audio-button:active {
  transform: translateY(0);
}

.audio-button[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .audio-toggle-button {
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.6rem 0.9rem;
  }
}
