/* Habillage du masquage anti-spoiler. Voir quartz/spoiler.js. */

[data-sp-cache] {
  display: none !important;
}

/* Un lien vers une fiche encore à venir garde son texte mais perd sa cible :
   pas de survol, pas d'aperçu, rien à cliquer. */
.sp-lien {
  color: var(--gray);
  border-bottom: 1px dotted var(--lightgray);
  cursor: help;
}

.sp-verrou {
  margin: 3rem auto;
  max-width: 34rem;
  padding: 2rem;
  border: 1px solid var(--lightgray);
  border-radius: 6px;
  background: var(--light);
  text-align: center;
}

.sp-verrou h1 {
  margin-top: 0;
  font-size: 1.4rem;
}

.sp-verrou p {
  color: var(--darkgray);
}

#sp-barre {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--lightgray);
  border-radius: 6px;
  background: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  font-size: 0.8rem;
  color: var(--darkgray);
}

#sp-barre input {
  width: 4rem;
  padding: 0.2rem 0.3rem;
  border: 1px solid var(--lightgray);
  border-radius: 4px;
  background: var(--light);
  color: var(--dark);
  font: inherit;
  text-align: center;
}

#sp-etat {
  color: var(--gray);
  font-size: 0.72rem;
}

@media (max-width: 800px) {
  #sp-barre {
    right: 0.5rem;
    bottom: 0.5rem;
    font-size: 0.72rem;
  }
  #sp-etat {
    display: none;
  }
}
