/* Font globale */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* Taille du poème (modifiable via JS) */
:root {
  --poem-font-size: 1.40rem;
}

.poem-line {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: var(--poem-font-size);
  line-height: 1.7;
  margin: 0.15rem 0;
  text-align: left;
}

/* Mode actif */
.mode-btn.is-active {
  background-color: #334155; /* slate-700 */
  color: white;
}

/* Boutons taille texte */
.text-btn {
  border-radius: 999px;
  border: 1px solid #334155;
  background-color: white;
  width: 1.7rem;
  height: 1.7rem;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.1s;
}
.text-btn:hover {
  background-color: #f1f5f9; /* slate-100 */
  transform: translateY(-1px);
}

/* Boutons de chants */
.chant-btn {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.1s;
}

.chant-btn.chant-active {
  background-color: #334155;
  color: white;
  border-color: #334155;
}

.chant-btn.chant-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
