/* V18s: shared popup and mobile confirmation behavior */
.ipx-overlay[hidden] { display: none !important; }
.ipx-overlay { position:fixed; inset:0; z-index:2147483000; display:flex; align-items:center; justify-content:center; padding:clamp(12px,2vw,28px); background:rgba(0,0,0,.75); }
.ipx-panel { position:relative; width:min(1500px,100%); height:min(90dvh,980px); background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 18px 64px rgba(0,0,0,.4); display:flex; flex-direction:column; }
.ipx-frame { width:100%; height:100%; flex:1; border:0; background:#fff; }
.ipx-close { position:absolute; z-index:2; top:10px; right:10px; border:0; border-radius:5px; background:#202020; color:#fff; padding:9px 14px; font:600 14px Inter,Arial,sans-serif; cursor:pointer; }
.ipx-confirm-panel { width:min(420px,100%); height:auto; min-height:0; padding:30px 24px 22px; display:block; text-align:center; }
.ipx-confirm-panel p { margin:8px 0 25px; color:#202020; font:500 18px/1.5 Inter,Arial,sans-serif; }
.ipx-actions { display:flex; justify-content:center; gap:12px; }
.ipx-actions button { border:0; border-radius:5px; padding:13px 24px; min-width:112px; font:700 14px Inter,Arial,sans-serif; cursor:pointer; }
.ipx-return { background:#202020; color:white; }
.ipx-ok { background:#FE6B6B; color:#202020; }
body.ipx-locked { overflow:hidden !important; }
@media (max-width:767px) { .ipx-overlay { padding:16px; } .ipx-confirm-panel { padding:30px 20px 24px; } }
