/* Quizz anglais — complète css/style.css et ../memoire/memoire.css */

.reglage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.selecteur {
  min-width: min(100%, 18rem);
  padding: .65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 63, .5);
  background: rgba(12, 13, 28, .6);
  color: var(--cream);
  font: inherit;
  font-size: .95rem;
  text-align: center;
}
.selecteur:focus { outline: none; border-color: var(--gold-light); box-shadow: 0 0 0 4px rgba(255, 210, 63, .25); }
.selecteur option { background: var(--bg-navy); color: var(--cream); }

/* Le mot à traduire */
#ecran-question { gap: .9rem; }
#ecran-question .consigne { font-size: .95rem; }
.mot {
  margin: 0 0 .4rem;
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 3.6rem);
  line-height: 1.1;
  color: var(--gold-light);
  text-shadow: 0 0 24px rgba(255, 230, 128, .4);
  overflow-wrap: anywhere; font-weight: 800;}

/* Les quatre propositions */
.liste-choix {
  list-style: none; margin: 0; padding: 0;
  width: 100%;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem;
}
.choix {
  position: relative;
  width: 100%; min-height: 3.6rem;
  padding: .8rem 1rem .8rem 2.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 210, 63, .4);
  background: linear-gradient(160deg, rgba(123, 92, 255, .35), rgba(20, 22, 43, .85));
  color: var(--cream);
  font: inherit; font-weight: 600; font-size: 1.05rem;
  text-align: left;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.choix:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--gold); }
.choix:disabled { cursor: default; opacity: .6; }
.touche {
  position: absolute; left: .8rem; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  font-family: var(--display); font-size: .75rem; font-weight: 800;
  color: #1a1c2c; background: var(--or);
}
.choix.bonne {
  opacity: 1;
  border-color: #7ee2a8;
  background: linear-gradient(160deg, rgba(46, 160, 100, .45), rgba(20, 22, 43, .85));
  box-shadow: 0 0 18px rgba(126, 226, 168, .35);
}
.choix.fausse {
  opacity: 1;
  border-color: #ff6b8a;
  background: linear-gradient(160deg, rgba(200, 50, 90, .45), rgba(20, 22, 43, .85));
}
@media (prefers-reduced-motion: no-preference) {
  .choix.fausse { animation: secoue .35s ease; }
}
@keyframes secoue {
  25% { transform: translateX(-5px); } 75% { transform: translateX(5px); }
}

.retour { min-height: 1.6em; margin: 0; font-weight: 600; }
.retour.ok { color: #7ee2a8; }
.retour.rate { color: #ff8fa6; }
.astuce { margin: 0; font-size: .75rem; color: rgba(233, 235, 243, .45); }
@media (hover: none) { .astuce { display: none; } }

/* Fin de partie */
.revoir {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 210, 63, .3);
  background: rgba(12, 13, 28, .45);
}
.revoir ul { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .3rem; }
.revoir li span:first-child { color: var(--gold-light); font-weight: 600; }
.boutons-fin { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: .5rem 0 0; }
.boutons-fin .lien-fort { margin-top: 0; }
.boutons-fin .bouton-contour { cursor: pointer; font: inherit; font-family: var(--display); font-weight: 800;}

@media (max-width: 30rem) {
  .liste-choix { grid-template-columns: minmax(0, 1fr); }
}
