#kitwp-overlay { position:fixed; inset:0; background:rgba(0,0,0,.6); display:flex; align-items:center; justify-content:center; z-index:99999; }
#kitwp-popup { position:relative; background:#000; padding:0; border-radius:10px; max-width:var(--kitwp-max-w,800px); max-height:var(--kitwp-max-h,600px); width:90vw; height:70vh; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,.4); }
#kitwp-stage { position:relative; width:100%; height:100%; background:#000; }
#kitwp-stage a, #kitwp-stage img { position:absolute; inset:0; display:block; width:100%; height:100%; }
#kitwp-stage img { object-fit:contain; opacity:0; transition:opacity .5s ease; }
#kitwp-close { position:absolute; top:6px; right:8px; background:transparent; border:0; font-size:28px; color:#fff; cursor:pointer; z-index:2; }

.kitwp-hidden { display:none; }

@media (max-width: 782px) {
  #kitwp-popup { width:var(--kitwp-mobile-max-w,90vw); height:65vh; border-radius:8px; }
}
