/* ---------- F11 : pendant la recherche ---------- */
.detail-recherche:not([hidden]) { display: grid; gap: 4px; justify-items: center; text-align: center; }
.plage-elo { font: 700 18px var(--f-chiffre); color: var(--texte); }
.plage-elo.elargie { animation: plage-elargie .4s ease-out; }
.rappel-recherche[hidden] { display: none; }
@keyframes plage-elargie { from { opacity: .55; transform: scaleX(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .plage-elo.elargie { animation: none; } }

/* ---------- F8 : pénalité et note de fair-play ---------- */
.bandeau-penalite:not([hidden]) { display: grid; gap: 4px; margin-bottom: 16px; padding: 14px 16px; background: var(--plaque); border: 1px solid var(--trait); border-left: 3px solid var(--ko); }
.bandeau-penalite b { font: 700 20px var(--f-titre); }
.bandeau-penalite span:last-child { color: var(--gris); }
.choix-type[hidden] { display: none; }

.note-apres { display: grid; gap: 10px; padding: 12px 14px; background: var(--sol); border: 1px solid var(--trait); }
.pouces { display: flex; gap: 8px; }
.pouce { width: 56px; height: 44px; background: var(--plaque); border: 1px solid var(--trait); font-size: 22px; cursor: pointer; }
.pouce[aria-pressed="true"] { border-color: var(--rouge-vif); box-shadow: inset 0 0 0 1px var(--rouge-vif); }
.etiquettes-note { display: flex; flex-wrap: wrap; gap: 6px; }
.etiquettes-note[hidden], .note-apres .btn[hidden] { display: none; }
.etiquette-note { padding: 6px 10px; background: var(--plaque); color: var(--gris); border: 1px solid var(--trait); font: inherit; cursor: pointer; }
.etiquette-note[aria-pressed="true"] { color: var(--texte); border-color: var(--rouge-vif); }
.note-apres .btn { justify-self: start; }
.pouce:focus-visible, .etiquette-note:focus-visible { outline: 2px solid var(--rouge-vif); outline-offset: 2px; }

.badge-fair-play { display: inline-block; padding: 2px 8px; color: var(--ok); border: 1px solid var(--ok); font: 700 13px var(--f-titre); text-transform: uppercase; letter-spacing: .04em; }
.score-fair-play { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.score-fair-play .chiffre { font-size: 32px; }
