.small { font-size: 0.85rem; }
.center { text-align: center; }

.back-link { color: var(--muted); font-size: 0.9rem; text-decoration: none; margin-top: 6px; }
.back-link:hover { color: var(--text); }
#input-code { letter-spacing: 0.12em; font-weight: 700; text-transform: uppercase; }
#input-code::placeholder { letter-spacing: normal; font-weight: 400; }

/* Présentation */
.intro-box { margin: auto 0; width: 100%; display: flex; flex-direction: column; gap: 10px; padding: 12px 0 24px; }
.intro-box h1 { font-size: 1.6rem; line-height: 1.3; margin-bottom: 4px; }
.intro-box label { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.rules {
  list-style: none;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 7px;
  font-size: 0.95rem;
}
.start-btn { font-size: 1.15rem; padding: 16px; margin-top: 12px; background: var(--ok); }

/* Question */
.timer-row { display: flex; justify-content: space-between; align-items: baseline; }
.seconds { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.seconds.urgent { color: #ff8fa3; }
.answer-btn:disabled { opacity: 0.55; }

/* Correction */
.fb-box { margin: auto 0; width: 100%; display: flex; flex-direction: column; gap: 14px; padding: 12px 0 24px; }
.fb-head { text-align: center; }
.fb-answer { background: var(--card); border-radius: var(--radius); padding: 12px 14px; }
.fb-answer:empty { display: none; }
.fb-ok h2, .fb-ok .points { color: #7dfa9c; }
.fb-ko h2 { color: #ff8fa3; }
.ex-block {
  background: rgba(255, 203, 0, 0.07);
  border: 1px solid rgba(255, 203, 0, 0.3);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.ex-block h3 { font-size: 1.1rem; }
.ex-media-solo:empty { display: none; }
.ex-media-solo img, .ex-media-solo video { width: 100%; max-height: 45dvh; object-fit: contain; border-radius: 10px; background: #000; }
.ex-media-solo audio { width: 100%; }
.ex-media-solo iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; }
.ex-text-solo { white-space: pre-wrap; line-height: 1.55; }
.ex-text-solo:empty { display: none; }

/* Fin */
.end-stats { display: flex; gap: 10px; justify-content: center; margin: 20px 0; flex-wrap: wrap; }
.end-stats div {
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px 14px;
  min-width: 92px;
  display: flex; flex-direction: column; gap: 2px;
}
.end-stats b { font-size: 1.45rem; }
.end-stats span { font-size: 0.78rem; color: var(--muted); }
