.rpm-popup-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:99999}
.rpm-popup-backdrop{position:absolute;inset:0}
.rpm-popup-content{position:relative;max-width:min(95vw,1200px);max-height:90vh;box-shadow:0 10px 30px rgba(0,0,0,.4)}
.rpm-popup-image{display:block;max-width:100%;max-height:90vh;height:auto;width:auto}
.rpm-popup-close{position:absolute;top:-12px;right:-12px;border:none;background:#fff;color:#333;border-radius:50%;width:32px;height:32px;font-size:20px;line-height:32px;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.3)}
@media (max-width: 600px){
  .rpm-popup-close{top:6px;right:6px;background:rgba(255,255,255,.85)}
}