/* Temple Oublié — page du défi du jour (en plus de jeu.css). */

.date-titre { text-align: center; color: #fde7c4; margin: 0 0 16px; font-weight: 600; }

.defi-intro {
  margin: 18px 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: #1c1004;
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.55;
  font-size: 0.95rem;
}
.defi-intro h2 { margin-top: 0; }
.defi-intro ul { padding-left: 20px; margin: 8px 0 0; }
.defi-intro li { margin: 4px 0; }

.defi-compte { text-align: center; margin: 14px 0 20px; line-height: 1.5; }
.defi-etat { text-align: center; font-size: 1rem; margin: 6px 0; line-height: 1.5; }
.defi-etat strong { color: #ffcc33; }

/* Le cadre du classement du jour (convention commune des pages de défi). Le
 * bloc lui-même vient du socle partagé (classement-bloc.css). */
.classement-section {
  max-width: 800px;
  margin: 24px auto 10px;
  padding: 16px 18px;
  background: rgba(148, 163, 184, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.classement-section h3 { margin: 0 0 10px; text-align: center; color: #ffcc33; }
.classement-invite, .classement-lien { text-align: center; font-size: 0.9rem; margin: 10px 0 0; }

/* Série et calendrier des 28 derniers jours. */
.defi-serie { text-align: center; margin: 12px auto 4px; max-width: 420px; }
.serie-texte { margin: 0 0 8px; }
.serie-texte strong { color: #ffcc33; }
.calendrier { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; max-width: 360px; margin: 0 auto; }
.cal-jour { display: inline-block; aspect-ratio: 1; min-width: 12px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }
.cal-jour.reussi { background: #ffcc33; border-color: #ffcc33; }
.cal-jour.perdu { background: #9a3412; border-color: #c2410c; }
.cal-jour.entame { background: #6b4a2a; }
.cal-legende { font-size: 0.8rem; color: #d6c2a3; margin: 8px 0 0; }
.cal-legende .cal-jour { width: 12px; vertical-align: middle; margin: 0 2px 0 8px; }

/* Pendant la partie : seul le jeu reste. */
body.to-en-partie .defi-serie,
body.to-en-partie .classement-section,
body.to-en-partie .defi-intro,
body.to-en-partie .date-titre,
body.to-en-partie #setup { display: none !important; }
