.mb-popup{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.65)}
.mb-popup.is-open{display:flex}
.mb-popup__box{position:relative;max-width:min(960px,100%);max-height:100%}
.mb-popup__box img{display:block;width:100%;height:auto;max-height:calc(100vh - 32px);object-fit:contain;border-radius:6px;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.mb-popup .mb-popup__close{position:absolute;top:-14px;right:-14px;box-sizing:border-box;width:36px;height:36px;min-width:0;margin:0;padding:0;border:0;border-radius:50%;background:#c4003c;color:#fff;display:flex;align-items:center;justify-content:center;line-height:0;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.4)}
.mb-popup .mb-popup__close svg{display:block;width:16px;height:16px;pointer-events:none}
.mb-popup .mb-popup__close:hover,.mb-popup .mb-popup__close:focus-visible{background:#900;color:#fff;outline:2px solid #fff}
@media (max-width:600px){.mb-popup__close{top:-10px;right:-6px}}
