.dnn-popup-overlay {position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.78)}
.dnn-popup-dialog {position:relative;z-index:2;max-width:min(94vw,720px);max-height:90dvh;box-sizing:border-box;padding-top:52px;line-height:0}
.dnn-popup-image {display:block;max-width:100%;max-height:calc(90dvh - 52px);width:auto;height:auto;object-fit:contain;border-radius:6px}
.dnn-popup-close {position:absolute;z-index:3;right:0;top:0;display:grid;place-items:center;width:44px;height:44px;padding:0;border:2px solid white;border-radius:50%;background:#111;color:white;font:32px/1 Arial,sans-serif;cursor:pointer;box-shadow:0 2px 8px #0008}
.dnn-popup-close:focus-visible {outline:3px solid #ffcd47;outline-offset:3px}
.dnn-popup-confetti {position:fixed;inset:0;overflow:hidden;z-index:3;pointer-events:none}
.dnn-popup-confetti i {position:absolute;top:-20px;width:9px;height:15px;opacity:.95;animation:dnn-popup-fall 4s linear forwards}
@keyframes dnn-popup-fall {to {transform:translateY(110vh) rotate(760deg);opacity:.4}}
@media (prefers-reduced-motion:reduce) {.dnn-popup-confetti {display:none}}
