/* ---------- F1 : alerte « match trouvé » ---------- */
.banniere-alerte {
  display: grid; gap: 12px; justify-items: center; max-width: 520px; margin: 18px auto 0; padding: 14px 16px;
  background: var(--plaque); border: 1px solid var(--trait); border-left: 3px solid var(--rouge); text-align: left;
}
.banniere-alerte p { color: var(--texte); }
.actions-alerte { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.banniere-alerte .btn { min-height: 44px; }

.alerte-match:not([hidden]) {
  position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(circle at 50% 40%, rgba(227, 6, 19, .35), rgba(5, 3, 4, .92) 60%);
  animation: apparition-alerte .25s ease-out;
}
.carte-alerte {
  display: grid; gap: 16px; justify-items: center; width: min(440px, 100%); padding: 28px 22px;
  background: var(--plaque); border: 1px solid var(--trait); border-top: 4px solid var(--rouge); text-align: center;
  box-shadow: 0 0 60px rgba(227, 6, 19, .35);
}
.carte-alerte h2 { font: 700 clamp(34px, 9vw, 52px)/1 var(--f-titre); text-transform: uppercase; letter-spacing: .02em; }
.adversaire-alerte { display: flex; align-items: center; gap: 14px; text-align: left; }
.adversaire-alerte img, .avatar-alerte { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--rouge); }
.avatar-alerte { display: grid; place-items: center; background: var(--rouge); color: #fff; font: 700 30px/1 var(--f-titre); }
.adversaire-alerte b { display: block; margin-bottom: 6px; font: 700 22px/1.1 var(--f-titre); }
.carte-alerte p { color: var(--gris); }
.carte-alerte p b { color: var(--texte); font-size: 22px; }
.btn-pret-alerte { width: 100%; min-height: 56px; font-size: 20px; }
@keyframes apparition-alerte { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .alerte-match:not([hidden]) { animation: none; } }
