/* Mode révision : questions écrites (examen et entraînement) */
.stage.compact.quiz { display: flex; flex-direction: column; align-items: stretch; text-align: left; gap: 12px; padding: 22px 20px; }
.stage.compact.quiz::before, .stage.compact.quiz::after { display: none; }
.quiz-head { display: flex; align-items: center; gap: 10px; }
.quiz-kicker { font-size: 0.72rem; letter-spacing: 0.14em; font-weight: 700; color: #b9c4dd; text-transform: uppercase; flex: 1; min-width: 0; }
.quiz-badge { font-size: 0.85rem; font-weight: 700; color: #e9eefc; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.quiz-pad { width: 34px; height: 34px; color: #7df5e6; filter: drop-shadow(0 0 8px rgba(125, 245, 230, 0.45)); flex: 0 0 auto; }
.quiz-title { margin: 2px 0 0; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.stage.compact.quiz .quiz-ref { display: none !important; }
.stage.compact.quiz .quiz-ref br { display: none; } .stage.compact.quiz .quiz-ref br::after { content: ' · '; }
.stage.compact.quiz .quiz-q { font-size: 1.25rem; line-height: 1.5; color: #fff; margin: 0; max-width: none; }
.quiz-answer { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; padding: 16px 18px; }
.quiz-answer-head { display: flex; align-items: center; gap: 10px; color: #ff9ad8; font-weight: 700; font-size: 1.05rem; }
.quiz-answer-head svg { width: 24px; height: 24px; }
.quiz-answer.is-shown { background: rgba(125, 245, 230, 0.08); border-color: rgba(125, 245, 230, 0.35); }
.quiz-answer.is-shown .quiz-answer-head { color: #7df5e6; }
.quiz-answer-hint { margin: 8px 0 0; color: #aeb9d2; font-size: 0.98rem; }
.stage.compact.quiz .quiz-answer-text { margin: 10px 0 0; padding: 0; border: 0; background: none; color: #fff; font-size: 1.05rem; line-height: 1.55; }
.quiz-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.quiz-actions > :only-child { grid-column: 1 / -1; }
.stage.compact.quiz .quiz-reveal { min-height: 56px; border-radius: 16px; background: linear-gradient(120deg, #e07bd0, #c56bc6); border: 0; color: #fff; font-weight: 700; font-size: 1rem; margin: 0; padding: 12px; }
.stage.compact.quiz .quiz-next { min-height: 56px; border-radius: 16px; font-size: 1rem; padding: 12px; margin: 0; width: auto; }
.stage.compact.quiz .quiz-next:not(:disabled) { background: linear-gradient(140deg, #2a3350, #1e2740); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, 0.1); }
.stage.compact.quiz .quiz-next.draw::after { display: none; }
.stage.compact.quiz .quiz-hint { font-size: 0.82rem; color: #93a2c2; margin: 0; }
.stage.compact.quiz .quiz-intro { font-size: 1rem; color: #cfd8ec; }
.quiz-progress { margin-top: 6px; }
.quiz-progress-row { display: flex; justify-content: space-between; font-size: 0.85rem; color: #aeb9d2; margin-bottom: 8px; }
.quiz-progress-row strong { color: #fff; }
.quiz-progress-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.quiz-progress-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7df5e6, #5bd0ff); transition: width 0.4s ease; }
.stage.compact.quiz .signbox { margin: 4px 0; }
