/* 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; }
}

/* Page des t-shirts du concours (Nicolas, 24/11) : aperçus petits et marqués */
.tresor-donjon { max-width: 60rem; margin: 0 auto; }
.tresor-donjon .tresor-sur { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; color: var(--pico-muted-color); margin-bottom: 0.2rem; }
.tresor-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem; margin: 1.25rem 0; }
.tresor-grille figure { margin: 0; text-align: center; }
.tresor-grille img { width: 100%; max-width: 220px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 0.3rem; user-select: none; -webkit-user-drag: none; }
.tresor-grille figcaption { font-size: 0.85rem; font-weight: 600; margin-top: 0.3rem; }
.tresor-donjon .tresor-note { font-size: 0.9rem; color: var(--pico-muted-color); }
@media (max-width: 768px) { .tresor-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
