/* Sitewide Men's Mental Health Month exit-intent message.
   Markup, layout, motion, and behavior match /offer (.o46-exit in offer-v4.css).
   Button look matches the /offer CTA (ice-white .fb-btn), scoped so it does not
   restyle other buttons on a page. */
.o46-exit {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 18px 18px;
  background: rgba(5, 8, 14, 0.74);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
.o46-exit *,
.o46-exit *::before,
.o46-exit *::after { box-sizing: border-box; }
.o46-exit[hidden] { display: none; }
.o46-exit-card {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 26px 22px 20px;
  border-radius: 22px;
  border: 1px solid rgba(188, 210, 244, 0.55);
  background:
    linear-gradient(180deg, rgba(188, 210, 244, 0.16), rgba(12, 16, 24, 0.97) 30%),
    #0c1018;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  color: #f2f4f8;
  animation: o46-rise 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes o46-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.o46-exit-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #f2f4f8;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.o46-exit-x:hover { background: rgba(188, 210, 244, 0.22); }
.o46-exit-kicker {
  margin: 0;
  color: #bcd2f4;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.o46-exit-title {
  margin: 10px 48px 0 0;
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.o46-exit-price {
  margin: 14px 0 0;
  color: #bcd2f4;
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.o46-exit-copy { margin: 10px 0 0; font-size: 1.0625rem; line-height: 1.5; color: #dfe3ea; }
.o46-exit-yes { display: block; width: 100%; margin-top: 20px; text-align: center; }
.o46-exit .fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 56px;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 1rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: #f5f5f7;
  color: #000 !important;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s, box-shadow 0.2s;
}
.o46-exit .fb-btn:hover {
  background: #fff;
  color: #000 !important;
  box-shadow: 0 8px 28px -8px rgba(188, 210, 244, 0.18);
}
.o46-exit .fb-btn:active { transform: scale(0.98); }
.o46-exit .o46-exit-yes { width: 100%; max-width: none; }
.o46-exit-no {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  border: 0;
  background: none;
  color: #c3c7cf;
  font: inherit;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.o46-exit-fine { margin: 10px 0 0; font-size: 0.8rem; line-height: 1.45; color: #9aa1ad; }
.o46-exit :focus-visible { outline: 2px solid #bcd2f4; outline-offset: 3px; }
body.o46-exit-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .o46-exit-card { animation: none; } }
