/* Offer card + notification opt-in — small, corner, easy to close */
.nx-pop { position: fixed; right: 18px; bottom: 96px; z-index: 70; width: min(340px, calc(100vw - 28px)); padding: 18px 18px 16px; border-radius: 18px;
  background: var(--surface, #fff); color: var(--fg, #1d1830); border: 1px solid var(--outline, rgba(0,0,0,.1));
  box-shadow: 0 24px 60px -24px rgba(40, 10, 90, .55), 0 2px 8px rgba(0,0,0,.06);
  opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.nx-pop.in { opacity: 1; transform: none; pointer-events: auto; }
.nx-pop h3 { margin: 6px 0 4px; font-size: 17px; letter-spacing: -.2px; padding-right: 22px; }
.nx-pop p { margin: 0; font-size: 13px; color: var(--muted, #666); line-height: 1.45; }
.nx-pop-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--muted, #666); cursor: pointer; display: grid; place-items: center; }
.nx-pop-x:hover { background: color-mix(in srgb, var(--fg, #000) 8%, transparent); }
.nx-pop-x .ms { font-size: 18px; }
.nx-pop-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--red, #fd6250); }
.nx-pop-tag .ms { font-size: 16px; }
.nx-pop-offer { overflow: hidden; }
.nx-pop-offer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #7a2bc4, #c58bff, #fd6250); }
.nx-code { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; cursor: pointer;
  border: 1.5px dashed color-mix(in srgb, var(--blue, #7a2bc4) 55%, transparent); background: color-mix(in srgb, var(--blue, #7a2bc4) 8%, transparent);
  color: var(--blue-ink, var(--blue, #7a2bc4)); font: 700 15px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 1.5px; }
.nx-code .ms { font-size: 18px; }
.nx-code.ok { border-style: solid; }
.nx-pop-cta { width: 100%; justify-content: center; margin-top: 10px; }
.nx-pop-push { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.nx-bell { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #7a2bc4, #fd6250); }
.nx-bell .ms { font-size: 24px; }
.nx-pop-row { display: flex; gap: 6px; margin-top: 12px; }
.nx-pop-row .btn { padding: 9px 16px; font-size: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .nx-pop-push.in .nx-bell .ms { animation: nx-bell 1.4s ease .4s 2; transform-origin: 50% 10%; }
  @keyframes nx-bell { 0%, 60%, 100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(6deg); } }
}
@media (max-width: 860px) {
  .nx-pop { left: 12px; right: 12px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media print { .nx-pop { display: none !important; } }
