/* « Signaler un joueur » (26/11/2026) : la fenêtre ROM (cadre bleu, echanges.css), trois motifs, un commentaire, un merci animé. */
.jm-op.jm-signaler { color: #ffb4a8; }
.jm-op.jm-signaler .pxi { filter: drop-shadow(0 0 3px rgba(255, 107, 90, .6)); }
.jm-op.jm-signaler[aria-disabled="true"] { color: #b8a8b0; }

.sig-modal .box { width: min(440px, 94vw); max-height: 96vh; overflow-y: auto; }
.sig-tete { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.sig-drapeau { flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: #3a1420; box-shadow: inset 0 0 0 2px #ff6b5a, 0 0 10px rgba(255, 107, 90, .45);
  animation: sigDrapeau 1.6s ease-in-out infinite; }
@keyframes sigDrapeau { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-1px); } }
.sig-qui { min-width: 0; }
.sig-titre { color: #ff9a8a; font-size: 22px; }
.sig-nom { color: var(--gold); font-size: 22px; overflow-wrap: anywhere; }
.sig-aide { font-size: 14px; line-height: 1.25; }
.sig-aide.sig-erreur { color: var(--bad); animation: sigSecoue .3s; }
@keyframes sigSecoue { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.sig-motifs { gap: 4px; }
.sig-motif { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; justify-content: flex-start; animation: jmOp .22s both; position: relative; }
.sig-mt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.sig-mt b { font-weight: normal; font-size: 20px; }
.sig-mt small { font-size: 13px; color: #aab3d6; text-shadow: 0 1px 0 #000; }
.sig-coche { margin-left: auto; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .2s cubic-bezier(.2, 1.6, .4, 1); }
.sig-motif.on { border-image-source: url('assets/ui/cadres/cadre1_yellow_fin.png'); color: #ffe27a; }
.sig-motif.on .sig-mt small { color: #ffe9b0; }
.sig-motif.on .sig-coche { opacity: 1; transform: none; }
.sig-motif.sig-pop { animation: sigPop .25s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes sigPop { 40% { transform: scale(1.04); } }

.sig-com { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.sig-com-t { font-size: 15px; color: #aab3d6; }
.sig-texte { font-size: 18px !important; width: 100%; box-sizing: border-box; }
.sig-compte { align-self: flex-end; font-size: 12px; color: #8ea3cf; }
.sig-compte.plein { color: var(--gold); }
.sig-note { font-size: 13px; margin-top: 4px; line-height: 1.25; }
.sig-bas { justify-content: flex-end; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.sig-ok { display: inline-flex; align-items: center; gap: 6px; }
.sig-ok:disabled { opacity: .45; filter: grayscale(.6); }
.sig-envoi .sig-ok { animation: sigAttente .6s steps(2) infinite; }
@keyframes sigAttente { 50% { opacity: .55; } }

/* Merci : le drapeau se plante, trois éclats */
.sig-merci { text-align: center; padding: 10px 4px 6px; }
.sig-merci[hidden] { display: none; }
.sig-merci-t { display: block; color: var(--ok); font-size: 22px; margin-top: 6px; animation: romIn .3s .15s both; }
.sig-plante { position: relative; display: inline-block; animation: sigPlante .5s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes sigPlante { from { transform: translateY(-30px) rotate(-25deg); opacity: 0; } 60% { transform: translateY(3px) rotate(4deg); opacity: 1; } to { transform: none; } }
.sig-eclat { position: absolute; width: 6px; height: 6px; background: var(--gold); left: 50%; top: 50%; opacity: 0; animation: sigEclat .6s .35s ease-out both; }
.sig-eclat.e1 { --dx: -34px; --dy: -18px; } .sig-eclat.e2 { --dx: 34px; --dy: -20px; } .sig-eclat.e3 { --dx: 0px; --dy: -38px; background: #fff; }
@keyframes sigEclat { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.3); } }

@media (max-width: 520px) { .sig-mt b { font-size: 18px; } .sig-titre, .sig-nom { font-size: 19px; } }
/* Téléphone couché (peu de hauteur) : les trois motifs côte à côte, sans les explications ni la note */
@media (max-height: 560px) {
  .sig-modal .box { width: min(620px, 96vw); }
  .sig-tete { margin-bottom: 4px; } .sig-drapeau { width: 34px; height: 34px; } .sig-aide { font-size: 13px; }
  .sig-motifs { flex-direction: row; } .sig-motif { justify-content: center; gap: 6px; padding-left: 4px; padding-right: 4px; }
  .sig-mt small, .sig-note, .sig-coche { display: none; }
  .sig-com { margin-top: 4px; } .sig-bas { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .sig-drapeau, .sig-motif, .sig-plante, .sig-eclat, .sig-merci-t, .sig-envoi .sig-ok { animation-duration: .01s !important; animation-iteration-count: 1 !important; }
}
