/* Animations Pronos et Défis : couche modale, jamais au-dessus d’une erreur métier. */
.nfx-dialog{width:min(540px,calc(100vw - 20px),calc((100dvh - 86px)*.877));max-width:none;max-height:calc(100dvh - 16px);border:0;padding:0;margin:auto;background:transparent;overflow:auto;color:#fff0d6}
.nfx-dialog::backdrop{background:#03241ed9}
.nfx-stage{border-radius:16px;overflow:hidden;background:#082c23;aspect-ratio:600/684}
.nfx-canvas{display:block;width:100%;height:auto;background:#082c23}
.nfx-close{display:flex;align-items:center;gap:6px;margin:8px 2px 0 auto;min-height:44px;padding:8px 16px;border:1px solid #b8d0b8;border-radius:30px;background:#0d4339;color:#fff5e3;font:600 14px/1.1 var(--sans,"Space Grotesk",sans-serif);cursor:pointer}
.nfx-close:hover{background:#155446}.nfx-close:focus-visible{outline:3px solid #ec6b37;outline-offset:3px}
@media (orientation:landscape) and (max-height:500px){.nfx-dialog{width:min(calc((100dvh - 70px)*.877),calc(100vw - 20px))}.nfx-close{margin-top:6px}}
.nd-replay{border:1px solid #c69b5f;border-radius:999px;min-height:44px;padding:8px 14px;background:transparent;color:#164a38;font:650 13px/1.2 var(--sans);cursor:pointer}
.nd-replay:focus-visible{outline:2px solid #bd4e22;outline-offset:2px}
