/* Compte à rebours avant l'ouverture du Donjon de l'Avent (demande de Nicolas du 24/11/2026), d'après sa maquette
   « OSR » : fond bordeaux très sombre, rouge vif, police à empattements, double filet autour du titre. Couleurs fixes,
   lisibles sur tous les thèmes. */
.compte-a-rebours {
  --car-rouge: #ec3b2c;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.9rem 2rem;
  margin: 0 0 1.25rem; padding: 1rem 1.25rem;
  background: #1a0b0c; color: var(--car-rouge);
  font-family: "Source Serif 4", Garamond, Georgia, serif;
}
.compte-a-rebours p { margin: 0; color: var(--car-rouge); }
.compte-a-rebours .car-titre {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0.5rem 1.6rem 0.7rem; border: 7px double var(--car-rouge); line-height: 1.05;
}
.compte-a-rebours .car-sur { font-size: 1rem; }
.compte-a-rebours .car-titre strong { font-size: 2.1rem; font-weight: 400; color: var(--car-rouge); }
.compte-a-rebours .car-droite { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; }
.compte-a-rebours .car-dans { font-size: 1.3rem; }
.compte-a-rebours .car-compteur { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; }
.compte-a-rebours .car-bloc {
  padding: 0.05rem 0.5rem; border: 2px solid var(--car-rouge); font-size: 1.45rem; line-height: 1.3; white-space: nowrap;
}
.compte-a-rebours .car-bloc b { font-weight: 400; font-variant-numeric: tabular-nums; }
.compte-a-rebours .car-gains { font-size: 0.95rem; color: #e9a197; }
.compte-a-rebours .car-gains a { color: var(--car-rouge); }
@media (max-width: 576px) {
  .compte-a-rebours .car-titre strong { font-size: 1.7rem; }
  .compte-a-rebours .car-bloc { font-size: 1.15rem; padding: 0.05rem 0.35rem; }
}
