/* 0.87 : la fiche d'un défi (app/defi-entree.js). Les pièces du choix du niveau d'un quartier (ville.css : .choix-niveau,
   .carte-niveau, .force) ; ici seulement ce qui lui est propre : l'image et la phrase d'Alloy, la consigne, le bouton. */
.defi .vers-fiche { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.defi .vers-fiche:active { background: rgba(255,255,255,.06); }
.defi.ouvert .niveaux-defi { z-index: 2; }
.fiche-defi { min-height: 100%; }
.fiche-defi .kicker { color: var(--gold); }
.fiche-defi .defi-image { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.fiche-defi .defi-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.fiche-defi .defi-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,26,0) 40%, rgba(11,11,26,.9)); }
.fiche-defi .defi-image .appel { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; max-width: none; margin: 0; padding: 9px 13px 10px; border: 1px solid var(--pink); border-radius: 16px 16px 16px 4px; background: rgba(11,11,26,.84); font: 700 17px/1.2 var(--display, "Barlow Condensed", system-ui, sans-serif); color: var(--text); text-wrap: pretty; }
.fiche-defi .defi-image .appel b { display: block; margin-bottom: 3px; font: 700 10px/1 var(--body); letter-spacing: .18em; color: var(--pink); }
.fiche-defi button.carte-niveau { width: 100%; padding: 0; font: inherit; text-align: left; cursor: pointer; -webkit-appearance: none; appearance: none; }
.fiche-defi .carte-niveau { aspect-ratio: 16 / 5.6; }
.fiche-defi .carte-niveau > div { width: 62%; }
.fiche-defi .carte-niveau h3 { font-size: 17px; margin-bottom: 0; }
.fiche-defi .carte-niveau > img { object-position: right center; }
.fiche-defi .carte-niveau .etat { background: rgba(11,11,26,.86); border: 1px solid var(--gold); color: var(--text); }
.fiche-defi .carte-niveau .etat b { color: var(--gold); }
.fiche-defi .carte-niveau .etoiles i { width: 12px; height: 12px; }
.fiche-defi .carte-niveau:not(.ferme):active { transform: scale(.985); }
.fiche-defi .defi-consigne { margin: 2px 2px 18px; font: 600 14px/1.4 var(--body); opacity: .92; }
.fiche-defi a.cta.bas-fixe { margin-top: auto; flex: none; position: sticky; bottom: 6px; z-index: 2; text-decoration: none; box-shadow: 0 6px 0 #8A1457, 0 10px 0 8px var(--ink), 0 -10px 18px 10px var(--ink); }
.fiche-defi .cta span { text-align: center; padding: 0 8px; line-height: 1.2; }
.fiche-defi .cta b { font-size: clamp(20px, 6.6vw, 28px); white-space: nowrap; }
@media (max-height: 700px) { .fiche-defi .defi-image { aspect-ratio: 16 / 7.4; } .fiche-defi .carte-niveau { aspect-ratio: 16 / 5.2; } .fiche-defi .carte-niveau > .force { display: none; } .fiche-defi .defi-image .appel { font-size: 15px; } }
/* La présentation : l'écran d'annonce d'une étape (transition.css), la phrase d'Alloy écrite en gros. */
.transition.defi-presente .tr-geant { font-size: min(48px, 12.4vw); }
@media (max-height: 700px) { .transition.defi-presente .tr-geant { font-size: 40px; } }
