/* Quiz de culture générale : la question et ses quatre réponses. Le reste vient de /games/_shared/css/party.css. */

/* Inde : encre curcuma, texte en encre (jamais en blanc) sur le curcuma */
:root { --accent: var(--curcuma); --accent-dark: #a8740f; }
.btn-ink,
.chip input:checked + span,
.chip input:checked + span small,
.podium li.is-top,
.feedback.is-good { color: var(--ink); }
.btn-ink:hover:not(:disabled) { background: #e8b04a; }
/* Le curcuma est trop clair pour du texte sur le papier : une version foncée pour les chiffres */
.recap td.pts-3,
.recap td.pts-4,
.recap td .duel { color: #7a5208; }

/* Les douze thèmes, deux par ligne */
.chips-themes { display: grid; grid-template-columns: 1fr 1fr; }
.chips-themes .chip-sm > span { justify-items: start; text-align: left; padding: 0.55rem 0.75rem; }
.chips-all { margin-top: 0.6rem; }

.quiz-stage {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem 0.9rem 1rem;
  overflow-y: auto;
}

/* La question, sur une fiche à bord d'encre et ombre dure */
.quiz-card {
  width: min(100%, 30rem);
  margin: 0 auto;
  padding: 0.9rem 1rem 1rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
}
.quiz-theme { margin: 0 0 0.35rem; color: var(--soft); font-size: 0.85rem; font-weight: 700; }
.quiz-question { margin: 0; font-family: var(--title); font-weight: 800; font-size: 1.25rem; line-height: 1.3; }

/* Les quatre réponses, l'une sous l'autre : certaines sont longues */
.answers { display: grid; gap: 0.6rem; width: min(100%, 30rem); margin: 0 auto; }
.answer {
  min-height: 3.2rem;
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  text-align: left;
  box-shadow: 3px 3px 0 var(--ink);
  overflow-wrap: anywhere;
}
.answer:active:not(:disabled) { transform: translate(3px, 3px); box-shadow: none; }
.answer:disabled { cursor: default; }
.answer:disabled:not(.is-right):not(.is-wrong) { opacity: 0.45; box-shadow: none; }
.answer.is-right { background: var(--accent); color: var(--ink); }
.answer.is-wrong { background: var(--cinabre); color: #ffffff; }

.quiz-stage [data-feedback] { width: min(100%, 30rem); margin: 0 auto; }
