/* Page /solveur. Le plateau vient de mastermind-jeu.css, les panneaux et le
   texte de mastermind-outils.css : ici, seulement la saisie du verdict et la
   mise en page du résultat. */

.solveur-titre-zone {
  margin: 4px 0 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #f0f3f6;
  text-align: left;
}

.solveur-titre-zone[hidden] {
  display: none;
}

/* Saisie du verdict : deux compteurs, noirs et blancs */
.solveur-verdict {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 16px;
}

.solveur-compteur {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.solveur-compteur-nom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--texte-doux);
}

.solveur-compteur-boutons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.solveur-pas {
  width: 44px;
  height: 44px;
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--texte);
  background: var(--surface-2);
  border: 1px solid var(--line-forte);
  border-radius: 6px;
  cursor: pointer;
  touch-action: manipulation;
}

.solveur-pas:hover {
  border-color: var(--color-light);
}

.solveur-valeur {
  min-width: 34px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #f0f3f6;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Résultat */
.solveur-calcul {
  font-weight: 700;
  color: var(--texte);
}

.solveur-coup {
  margin-top: 10px;
}

.solveur-coup .ligne-tentative {
  padding: 4px 0 8px;
}

.solveur-coup .btn {
  margin-top: 2px;
}

.outil-panneau .solveur-titre-liste {
  margin: 16px 0 0;
  font-size: 0.95rem;
}
