/* ============================================================
   Simulador de Examen — Bases de Datos
   Paleta académica oscura, responsiva.
   ============================================================ */

:root {
  --bg: #09090b;
  --superficie: #131316;
  --superficie-2: #1b1b20;
  --borde: rgba(255, 255, 255, 0.1);
  --borde-fuerte: rgba(255, 255, 255, 0.18);
  --texto: #e4e4e7;
  --texto-suave: #a1a1aa;
  --texto-tenue: #71717a;
  --indigo: #818cf8;
  --indigo-fuerte: #6366f1;
  --ambar: #f59e0b;
  --verde: #34d399;
  --verde-fuerte: #10b981;
  --rojo: #f87171;
  --rojo-fuerte: #ef4444;
  --gris: #a1a1aa;
  --radio: 16px;
  --radio-chico: 10px;
  --sombra: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--texto);
  background-color: var(--bg);
  background-image:
    radial-gradient(60rem 30rem at 50% -10%, rgba(99, 102, 241, 0.14), transparent),
    radial-gradient(40rem 20rem at 100% 0%, rgba(245, 158, 11, 0.07), transparent);
  background-repeat: no-repeat;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
}

.oculto {
  display: none !important;
}

/* ----------------------------- Barra superior ----------------------------- */
.barra {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--borde);
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
}

.barra__marca {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.barra__logo-enlace {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.barra__logo-enlace:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35);
}

.barra__logo-enlace:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
}

.barra__logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #1e1b4b;
  background: linear-gradient(135deg, var(--indigo), var(--ambar));
  flex-shrink: 0;
}

.barra__titulo {
  font-weight: 700;
  line-height: 1.2;
}

.barra__subtitulo {
  font-size: 0.78rem;
  color: var(--texto-tenue);
  line-height: 1.2;
}

/* ----------------------------- Contenedor ----------------------------- */
.contenedor {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem) 3rem;
}

.pantalla {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ----------------------------- Botones ----------------------------- */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radio-chico);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease,
    opacity 0.15s ease;
  white-space: nowrap;
}

.boton:active {
  transform: translateY(1px);
}

.boton:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.boton:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
}

.boton--primario {
  background: var(--indigo-fuerte);
  color: #fff;
  box-shadow: 0 10px 24px -14px var(--indigo-fuerte);
}

.boton--primario:hover:not(:disabled) {
  background: #4f46e5;
}

.boton--secundario {
  background: var(--superficie-2);
  border-color: var(--borde);
  color: var(--texto);
}

.boton--secundario:hover:not(:disabled) {
  background: #26262c;
  border-color: var(--borde-fuerte);
}

.boton--fantasma {
  background: transparent;
  border-color: var(--borde);
  color: var(--texto-suave);
}

.boton--fantasma:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--texto);
}

.boton--peligro {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.4);
  color: var(--rojo);
}

.boton--peligro:hover {
  background: rgba(239, 68, 68, 0.22);
}

.boton--grande {
  padding: 0.95rem 1.6rem;
  font-size: 1.02rem;
  border-radius: 12px;
}

/* ----------------------------- Hero ----------------------------- */
.hero {
  text-align: center;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2.5rem);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), rgba(9, 9, 11, 0));
  box-shadow: var(--sombra);
}

.hero__etiqueta {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ambar);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero__titulo {
  margin-top: 1rem;
  font-size: clamp(1.5rem, 5.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero__descripcion {
  max-width: 46ch;
  margin: 1rem auto 0;
  color: var(--texto-suave);
}

.hero__datos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.75rem auto;
  max-width: 620px;
}

.dato {
  padding: 0.9rem 0.5rem;
  border-radius: var(--radio-chico);
  border: 1px solid var(--borde);
  background: rgba(255, 255, 255, 0.03);
}

.dato__valor {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--indigo);
}

.dato__texto {
  display: block;
  font-size: 0.75rem;
  color: var(--texto-tenue);
}

/* ----------------------------- Tarjetas ----------------------------- */
.tarjeta {
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: var(--superficie);
}

.tarjeta__cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.tarjeta__titulo {
  font-size: 1.05rem;
  font-weight: 700;
}

.tarjeta__titulo + .nota,
.tarjeta__cabecera + .nota {
  margin-top: 0.4rem;
}

.nota {
  font-size: 0.8rem;
  color: var(--texto-tenue);
}

.temas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.temas li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--texto-suave);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--borde);
}

/* ----------------------------- Aviso de banco ----------------------------- */
.aviso {
  padding: 1rem 1.1rem;
  border-radius: var(--radio-chico);
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.aviso--error {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.4);
}

.aviso ul {
  margin-top: 0.5rem;
  padding-left: 1.1rem;
  list-style: disc;
}

/* ----------------------------- Progreso ----------------------------- */
.progreso {
  position: sticky;
  top: 62px;
  z-index: 10;
  padding: 0.8rem 1rem;
  border: 1px solid var(--borde);
  border-radius: var(--radio-chico);
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(10px);
}

.progreso__cabecera {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--texto-suave);
  margin-bottom: 0.5rem;
}

.progreso__pista {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progreso__barra {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--indigo-fuerte), var(--ambar));
  transition: width 0.25s ease;
}

/* ----------------------------- Pregunta ----------------------------- */
.pregunta {
  padding: clamp(1.1rem, 3.5vw, 1.75rem);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: var(--superficie);
}

.pregunta__cabecera {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.chip {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--texto-suave);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--borde);
}

.chip--tema {
  color: var(--indigo);
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
}

.pregunta__enunciado {
  font-size: clamp(1.05rem, 3vw, 1.28rem);
  font-weight: 650;
  line-height: 1.45;
}

/* Código SQL */
.codigo {
  margin-top: 1rem;
  border: 1px solid var(--borde);
  border-radius: var(--radio-chico);
  background: #0c0c0f;
  overflow: hidden;
}

.codigo pre {
  margin: 0;
  padding: 1rem;
  overflow-x: auto;
}

.codigo code {
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #dbeafe;
  white-space: pre;
}

/* Tablas de ejemplo */
.tablas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.tablas .tabla-contenedor {
  margin-top: 0;
}

.tabla-contenedor {
  margin-top: 1rem;
}

/* Diagramas entidad-relación generados desde questions.js */
.diagrama {
  margin-top: 1rem;
}

.diagrama-er {
  margin-top: 0;
}

.diagrama-er__scroll {
  overflow-x: auto;
  border: 1px solid var(--borde);
  border-radius: var(--radio-chico);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.5rem;
}

.diagrama-er__svg {
  display: block;
  width: 100%;
  min-width: 680px;
  height: auto;
}

.diagrama-er__linea {
  stroke: var(--texto-suave);
  stroke-width: 2;
}

.diagrama-er__relacion {
  fill: rgba(245, 158, 11, 0.16);
  stroke: var(--ambar);
  stroke-width: 1.5;
}

.diagrama-er__relacion-texto {
  fill: var(--ambar);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.diagrama-er__cardinalidad {
  fill: var(--texto);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.diagrama-er__caja {
  fill: var(--superficie-2);
  stroke: var(--indigo);
  stroke-width: 1.5;
}

.diagrama-er__cabecera {
  fill: rgba(99, 102, 241, 0.22);
  stroke: var(--indigo);
  stroke-width: 1.5;
}

.diagrama-er__entidad-nombre {
  fill: var(--texto);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.diagrama-er__atributo {
  fill: var(--texto-suave);
  font-family: var(--mono);
  font-size: 12px;
}

.revision__item .diagrama-er {
  margin-top: 0.75rem;
}

.tabla__titulo {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--texto-suave);
  margin-bottom: 0.4rem;
}

.tabla-scroll {
  overflow-x: auto;
  border: 1px solid var(--borde);
  border-radius: var(--radio-chico);
}

.tabla {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.tabla th,
.tabla td {
  padding: 0.5rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--borde);
  white-space: nowrap;
}

.tabla th {
  background: rgba(99, 102, 241, 0.12);
  color: var(--indigo);
  font-weight: 700;
}

.tabla tr:last-child td {
  border-bottom: none;
}

/* ----------------------------- Opciones ----------------------------- */
.opciones {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.opcion {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 1rem;
  text-align: left;
  border-radius: var(--radio-chico);
  border: 1px solid var(--borde);
  background: var(--superficie-2);
  color: var(--texto);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}

.opcion:hover {
  border-color: var(--borde-fuerte);
  background: #22222a;
}

.opcion:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
}

.opcion__letra {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--texto-suave);
  background: rgba(255, 255, 255, 0.06);
}

.opcion__texto {
  flex: 1;
  word-break: break-word;
}

.opcion__texto code,
.opcion code {
  font-family: var(--mono);
  font-size: 0.9em;
}

.opcion--seleccionada {
  border-color: var(--indigo);
  background: rgba(99, 102, 241, 0.16);
}

.opcion--seleccionada .opcion__letra {
  background: var(--indigo-fuerte);
  color: #fff;
}

/* ----------------------------- Navegación ----------------------------- */
.navegacion {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  align-items: center;
}

.navegacion #btn-finalizar {
  margin-left: auto;
}

/* ----------------------------- Resultado ----------------------------- */
.resultado {
  text-align: center;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: var(--superficie);
  box-shadow: var(--sombra);
}

.resultado__etiqueta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto-tenue);
}

.resultado__nota {
  font-size: clamp(3.2rem, 14vw, 5rem);
  font-weight: 800;
  line-height: 1;
  margin-top: 0.5rem;
}

.resultado__sobre {
  color: var(--texto-tenue);
  font-size: 0.9rem;
}

.resultado__porcentaje {
  margin-top: 0.35rem;
  color: var(--texto-suave);
  font-weight: 600;
}

.resultado__mensaje {
  max-width: 48ch;
  margin: 1rem auto 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radio-chico);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--borde);
}

/* Colores por rango en la nota */
.resultado--excelente .resultado__nota { color: var(--verde); }
.resultado--bueno .resultado__nota { color: var(--indigo); }
.resultado--avance .resultado__nota { color: var(--ambar); }
.resultado--bajo .resultado__nota { color: var(--rojo); }

.resultado__resumen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.resumen__item {
  padding: 0.9rem 0.5rem;
  border-radius: var(--radio-chico);
  border: 1px solid var(--borde);
  background: rgba(255, 255, 255, 0.03);
}

.resumen__valor {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
}

.resumen__texto {
  font-size: 0.78rem;
  color: var(--texto-tenue);
}

.resumen__item--ok .resumen__valor { color: var(--verde); }
.resumen__item--mal .resumen__valor { color: var(--rojo); }
.resumen__item--vacio .resumen__valor { color: var(--gris); }

/* ----------------------------- Estadísticas por tema ----------------------------- */
.estadisticas {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1rem;
}

.estadistica__cabecera {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.estadistica__tema {
  font-weight: 600;
}

.estadistica__valor {
  color: var(--texto-suave);
  flex-shrink: 0;
}

.estadistica__pista {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.estadistica__barra {
  height: 100%;
  border-radius: 999px;
  background: var(--indigo);
  transition: width 0.3s ease;
}

.estadistica--ok .estadistica__barra { background: var(--verde-fuerte); }
.estadistica--media .estadistica__barra { background: var(--ambar); }
.estadistica--baja .estadistica__barra { background: var(--rojo-fuerte); }

/* ----------------------------- Revisión ----------------------------- */
.revision {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1rem;
}

.revision__item {
  padding: 1rem;
  border-radius: var(--radio-chico);
  border: 1px solid var(--borde);
  border-left-width: 4px;
  background: rgba(255, 255, 255, 0.02);
}

.revision__item--ok { border-left-color: var(--verde-fuerte); }
.revision__item--mal { border-left-color: var(--rojo-fuerte); }
.revision__item--vacio { border-left-color: var(--gris); }

.revision__cabecera {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.revision__numero {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--texto-tenue);
}

.revision__estado {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.revision__estado--ok { color: var(--verde); background: rgba(16, 185, 129, 0.14); }
.revision__estado--mal { color: var(--rojo); background: rgba(239, 68, 68, 0.14); }
.revision__estado--vacio { color: var(--gris); background: rgba(161, 161, 170, 0.14); }

.revision__pregunta {
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.revision__opciones {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.revision__opcion {
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  font-size: 0.88rem;
  border: 1px solid var(--borde);
  color: var(--texto-suave);
}

.revision__opcion--correcta {
  color: var(--verde);
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.1);
}

.revision__opcion--elegida-mal {
  color: var(--rojo);
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.1);
}

.revision__opcion--elegida-ok {
  color: var(--verde);
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(16, 185, 129, 0.16);
}

.revision__etiqueta {
  font-weight: 700;
  margin-right: 0.35rem;
}

.revision__explicacion {
  font-size: 0.88rem;
  color: var(--texto-suave);
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.revision__explicacion strong {
  color: var(--indigo);
}

.revision__tema {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: var(--texto-tenue);
}

/* ----------------------------- Acciones finales ----------------------------- */
.acciones-finales {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ----------------------------- Historial ----------------------------- */
.historial {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.historial__vacio {
  padding: 1rem;
  border-radius: var(--radio-chico);
  border: 1px dashed var(--borde);
  color: var(--texto-tenue);
  font-size: 0.88rem;
  text-align: center;
}

.historial__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radio-chico);
  border: 1px solid var(--borde);
  background: rgba(255, 255, 255, 0.02);
}

.historial__item--mejor {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.07);
}

.historial__intento {
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.historial__fecha {
  flex: 1;
  font-size: 0.78rem;
  color: var(--texto-tenue);
}

.historial__detalle {
  font-size: 0.78rem;
  color: var(--texto-suave);
}

.historial__nota {
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.historial__mejor-tag {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ambar);
}

/* ----------------------------- Diálogo ----------------------------- */
.dialogo {
  width: min(440px, calc(100% - 2rem));
  padding: 1.5rem;
  border: 1px solid var(--borde-fuerte);
  border-radius: var(--radio);
  background: var(--superficie);
  color: var(--texto);
  box-shadow: var(--sombra);
}

.dialogo::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
}

.dialogo__titulo {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.dialogo__mensaje {
  color: var(--texto-suave);
  font-size: 0.92rem;
}

.dialogo__acciones {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

/* ----------------------------- Pie ----------------------------- */
.pie {
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--texto-tenue);
}

/* ----------------------------- Responsivo ----------------------------- */
@media (max-width: 640px) {
  .barra__subtitulo {
    display: none;
  }

  .hero__datos,
  .resultado__resumen {
    grid-template-columns: 1fr;
  }

  .navegacion {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .navegacion .boton {
    width: 100%;
  }

  .navegacion #btn-finalizar {
    margin-left: 0;
  }

  .historial__item {
    flex-wrap: wrap;
  }

  .historial__fecha {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
