.push-optin[hidden] { display: none !important; }
.push-optin-manage[hidden] { display: none !important; }
.push-optin-manage { position: static; z-index: auto; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(129,140,248,.4); border-radius: .65rem; padding: .4rem .6rem; color: #e2e8f0; background: rgba(13,19,34,.72); font: inherit; font-size: .62rem; font-weight: 700; cursor: pointer; }
.push-optin-manage:hover { border-color: #818cf8; }
.push-optin { position: fixed; z-index: 100; inset: auto 1rem 1rem; display: flex; justify-content: center; pointer-events: none; }
.push-optin-card { width: min(100%, 680px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.15rem; border: 1px solid rgba(129, 140, 248, .45); border-radius: 1.2rem; color: #e2e8f0; background: rgba(13, 19, 34, .97); box-shadow: 0 22px 70px rgba(2, 6, 23, .48); backdrop-filter: blur(18px); pointer-events: auto; }
.push-optin-mark { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 1rem; color: white; font-size: 1.4rem; font-weight: 800; background: linear-gradient(135deg, #6366f1, #a855f7); }
.push-optin-mark img { width: 2rem; height: 2rem; border-radius: .55rem; object-fit: cover; }
.push-optin-image { width: min(100%, 360px); max-height: 130px; margin-top: .6rem; border-radius: .7rem; object-fit: cover; }
.push-optin-copy h2 { margin: 0; color: inherit; font-size: .95rem; font-weight: 800; }
.push-optin-copy p { margin: .25rem 0 0; color: #a8b3c7; font-size: .76rem; line-height: 1.45; }
.push-optin-copy .push-optin-status { color: #a5b4fc; }
.push-optin-actions { display: flex; align-items: center; gap: .5rem; }
.push-optin-actions button { border: 0; border-radius: .75rem; padding: .65rem .8rem; font: inherit; font-size: .72rem; font-weight: 750; cursor: pointer; white-space: nowrap; }
.push-optin-primary { color: #fff; background: #6366f1; }
.push-optin-primary:hover { filter: brightness(1.12); }
.push-optin-secondary { color: #cbd5e1; background: transparent; }
.push-optin-secondary:hover { background: rgba(148, 163, 184, .12); }
html[data-theme="light"] .push-optin-card { color: #172033; background: rgba(255,255,255,.98); border-color: rgba(99,102,241,.35); box-shadow: 0 22px 70px rgba(15,23,42,.2); }
html[data-theme="light"] .push-optin-copy p { color: #536176; }
html[data-theme="light"] .push-optin-secondary { color: #475569; }
html[data-theme="light"] .push-optin-manage { color: #172033; background: rgba(255,255,255,.97); }
html[data-theme="light"] .push-optin-manage { border-color: #c7d2fe; }
@media (max-width: 640px) {
    .push-optin { inset: auto .65rem .65rem; }
    .push-optin-card { grid-template-columns: auto minmax(0, 1fr); gap: .75rem; padding: .85rem; }
    .push-optin-actions { grid-column: 1 / -1; justify-content: flex-end; }
    .push-optin-actions button { flex: 1; }
}
