/* PS Editorial Popup - lightweight, elegant */
.psep-overlay{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(0,0,0,.55)}
.psep-card{width:min(520px,100%);border-radius:16px;box-shadow:0 18px 60px rgba(0,0,0,.35);overflow:hidden;border:1px solid rgba(255,255,255,.12);background:#fff}
.psep-header{padding:16px 18px 12px;display:flex;align-items:center;gap:12px}
.psep-title{font-size:18px;font-weight:800;line-height:1.2}
.psep-body{padding:0 18px 16px;font-size:15px;line-height:1.45}
.psep-body p{margin:0 0 10px}
.psep-body ul{margin:0 0 10px 18px}
.psep-footer{padding:14px 18px 18px;display:flex;justify-content:flex-end}
.psep-close{appearance:none;border:0;border-radius:999px;padding:10px 14px;font-weight:800;cursor:pointer}
.psep-close:focus{outline:2px solid rgba(11,31,58,.35);outline-offset:2px}

/* Positioning */
.psep-pos-bottom{align-items:flex-end;}
.psep-pos-bottom .psep-card{margin-bottom:18px}

/* Themes */
.psep-theme-brand .psep-card{background:#0b1f3a;color:#fff;border-color:rgba(255,255,255,.18)}
.psep-theme-brand .psep-body a{color:#fffcf4;text-decoration:underline}
.psep-theme-brand .psep-close{background:#fffcf4;color:#0b1f3a}

.psep-theme-dark .psep-card{background:#101318;color:#fff;border-color:rgba(255,255,255,.14)}
.psep-theme-dark .psep-close{background:#ffffff;color:#101318}

.psep-theme-light .psep-card{background:#ffffff;color:#101318;border-color:rgba(0,0,0,.08)}
.psep-theme-light .psep-close{background:#0b1f3a;color:#ffffff}

.psep-theme-neutral .psep-card{background:#f6f7f9;color:#101318;border-color:rgba(0,0,0,.08)}
.psep-theme-neutral .psep-close{background:#0b1f3a;color:#ffffff}

/* Font presets */
.psep-font-default .psep-card{font-family:inherit}
.psep-font-sans .psep-card{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.psep-font-serif .psep-card{font-family:Georgia,'Times New Roman',Times,serif}
.psep-font-condensed .psep-card{font-family:'Arial Narrow','Helvetica Neue Condensed',Arial,sans-serif}

/* Small screens */
@media (max-width: 420px){
  .psep-overlay{padding:14px}
  .psep-card{border-radius:14px}
  .psep-title{font-size:17px}
  .psep-body{font-size:14px}
}
