/* === Petit BAC — solo contre BacBot : écran de réglage et lignes de résultat ===
   Le reste vient de jeu.css. */
#zone-jeu[hidden], .setup-screen[hidden] { display: none; }
.setup-screen { padding: 4px 0 10px; }
.setup-title { font-size: 1.2rem; font-weight: 800; color: var(--color-accent); margin-bottom: 4px; }
.setup-sub { font-size: 0.9rem; color: #94a3b8; margin-bottom: 16px; line-height: 1.45; }
.setup-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #cbd5e1;
  margin-bottom: 8px;
}
.diff-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 600px;
  margin: 0 auto 16px;
}
.diff-card {
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #e2e8f0;
  cursor: pointer;
}
.diff-card:hover { border-color: rgba(110, 231, 183, 0.4); }
.diff-card.active { border-color: var(--color-mid); background: rgba(52, 211, 153, 0.12); }
.diff-emoji { font-size: 1.5rem; }
.diff-nom { font-size: 0.95rem; font-weight: 800; }
.diff-meta { font-size: 0.78rem; color: #94a3b8; line-height: 1.35; }
.manches-choix { display: flex; gap: 10px; justify-content: center; margin-bottom: 16px; }
.manche-btn {
  font-family: 'Inter', sans-serif;
  width: 56px;
  height: 46px;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #cbd5e1;
  cursor: pointer;
}
.manche-btn:hover { border-color: rgba(110, 231, 183, 0.4); }
.manche-btn.actif { border-color: var(--color-mid); background: rgba(52, 211, 153, 0.12); color: var(--color-accent); }
.btn-commencer { min-width: 220px; font-size: 1.05rem; margin-bottom: 6px; }
.setup-erreur { min-height: 1.2em; font-size: 0.86rem; color: #fca5a5; margin-bottom: 12px; }
.setup-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.88rem;
  color: #cbd5e1;
  cursor: pointer;
  margin-bottom: 14px;
}
.setup-option input { width: 20px; height: 20px; accent-color: var(--color-mid); }

.mes-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 600px;
  margin: 0 auto 18px;
}
.mes-stats[hidden] { display: none; }
.mes-stats:has(+ .mes-lettres:not([hidden])) { margin-bottom: 8px; }
.mes-lettres { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 0 auto 18px; font-size: 0.9rem; color: #94a3b8; text-align: center; }
.mes-lettres strong { color: #fbbf24; font-size: 1.05rem; }
.stat-case { padding: 10px 6px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; }
.stat-valeur { font-size: 1.2rem; font-weight: 800; color: #fbbf24; }
.stat-libelle { font-size: 0.75rem; color: #94a3b8; }

.solo-regles {
  max-width: 640px;
  margin: 8px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.55;
}
.solo-regles h2 { font-size: 1rem; color: var(--color-light); margin-bottom: 8px; }
.solo-regles ul { margin: 0 0 10px 20px; }
.solo-regles li { margin-bottom: 5px; }
.solo-regles a { color: var(--color-accent); font-weight: 600; }

@media (max-width: 640px) {
  .diff-cards { gap: 6px; }
  .diff-card { padding: 10px 4px; }
  .diff-meta { font-size: 0.75rem; }
  .mes-stats { grid-template-columns: repeat(2, 1fr); }
  .btn-commencer { width: 100%; }
}
