/* Lanceur de dés — feuille propre à l'outil. Le socle partagé
   (/commun/outil.css et /commun/formulaire.css) est chargé avant elle. */

/* --- Saisie ---------------------------------------------------------------- */

.saisie input[type="text"] {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  font-size: 1.05rem;
}

.raccourcis {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.raccourcis .bouton { padding: 5px 10px; font-size: 0.85rem; }

.notation summary {
  color: var(--discret);
  font-size: 0.8rem;
  cursor: pointer;
}

.notation ul {
  margin: 6px 0 0;
  padding-left: 1.2em;
  color: var(--discret);
  font-size: 0.8rem;
}

/* --- Résultat -------------------------------------------------------------- */

.tirage { margin-top: 20px; text-align: center; }

.total {
  margin: 0;
  color: var(--accent);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.detail {
  margin: 10px 0 0;
  color: var(--discret);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.detail .groupe { white-space: normal; }
.detail .terme { color: var(--discret); }
.detail .de { color: var(--texte); }
.detail .de.max { color: var(--accent); }
.detail .de.min { color: var(--faible); }
.detail s.de { color: var(--discret); opacity: 0.6; }
.detail .face { color: var(--accent); font-size: 1.3rem; }

.resume { overflow-wrap: anywhere; }

/* --- Historique ------------------------------------------------------------ */

.historique { margin-top: 24px; }

.historique .ligne { justify-content: space-between; }

.historique h2 {
  margin: 0;
  color: var(--discret);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bouton.petit { padding: 3px 10px; font-size: 0.8rem; }

.historique ol {
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--discret);
}

.historique li { padding: 2px 0; overflow-wrap: anywhere; }
.historique strong { color: var(--texte); font-weight: 500; }
