/* Accesibilidad compartida por todos los juegos */

/* Foco visible con teclado (sin dibujar anillo al hacer clic con el ratón) */
:focus-visible {
  outline: 2px solid var(--gold) !important;
  outline-offset: 2px;
}
/* Campos de texto: el foco se marca con el borde ámbar y un halo suave, sin doble anillo */
input:focus-visible {
  outline: none !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgb(var(--gold-rgb) / 0.28);
}

/* Texto solo para lectores de pantalla */
.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;
}

/* Quien pide menos movimiento: sin animaciones ni transiciones largas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
