/* Question et propositions : fond teinté de la couleur de la forme, forme = repère principal. */
.propositions { display: grid; gap: 0.625rem; margin-top: 0.75rem; }
@media (min-width: 700px) {
  .propositions { grid-template-columns: 1fr 1fr; }
}

.proposition {
  --opt: var(--muted);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  border: 2px solid color-mix(in srgb, var(--opt) 45%, var(--border));
  background: color-mix(in srgb, var(--opt) var(--tint), var(--surface));
  color: var(--text);
  font-size: 1.1rem;
  transition: opacity 0.2s, transform 0.1s, box-shadow 0.2s;
}
.proposition .shape { font-size: 1.4rem; color: var(--opt); }
.proposition .texte { flex: 1; z-index: 1; }
.proposition .count { font-weight: 700; z-index: 1; }
.proposition .bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--opt); opacity: 0.22;
  transition: width 0.6s ease-out;
  animation: grow 0.6s ease-out;
}
@keyframes grow { from { width: 0; } }

.opt-0 { --opt: var(--opt-0); }
.opt-1 { --opt: var(--opt-1); }
.opt-2 { --opt: var(--opt-2); }
.opt-3 { --opt: var(--opt-3); }
.opt-4 { --opt: var(--opt-4); }
.opt-5 { --opt: var(--opt-5); }
.shape.opt-0, .shape.opt-1, .shape.opt-2, .shape.opt-3, .shape.opt-4, .shape.opt-5 { color: var(--opt); }

button.proposition:not(:disabled):hover { border-color: var(--opt); }
button.proposition:not(:disabled):active { transform: scale(0.98); }
button.proposition:disabled { cursor: default; opacity: 1; }
button.proposition:disabled:not(.chosen) { opacity: 0.45; }
.proposition.chosen { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent); }
.proposition.correct { border-color: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 55%, transparent); }
.proposition.wrong { opacity: 0.5; }
.proposition.correct::after { content: "✔"; color: var(--ok); font-weight: 800; font-size: 1.2rem; z-index: 1; }

.numero { margin: 0 0 0.5rem; }
.countdown { font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.feedback { font-size: 1.3rem; font-weight: 700; }
