/* Vera private-price exit offer. Commerce values always come from the server. */
.xo-banner[hidden],
.xo-modal:not([open]) {
  display: none !important;
}

.xo-banner {
  position: relative;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 9px max(18px, env(safe-area-inset-right)) 9px max(18px, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(125, 211, 255, .28);
  background:
    linear-gradient(105deg, rgba(125, 211, 255, .18), rgba(89, 156, 255, .08) 48%, rgba(125, 211, 255, .16)),
    #0c1118;
  color: #f7fbff;
  box-shadow: 0 16px 34px -28px #000;
  gap: 13px;
}

.xo-banner__tag {
  padding: 5px 8px;
  border: 1px solid rgba(125, 211, 255, .3);
  border-radius: 999px;
  background: rgba(125, 211, 255, .1);
  color: #9bdeff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.xo-banner__price {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
}

.xo-banner__price s {
  color: #ff7185;
  font-size: 13px;
  font-weight: 700;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

.xo-banner__price strong {
  color: #fff;
  font-size: 19px;
  font-weight: 780;
  letter-spacing: -.025em;
}

.xo-banner__copy {
  color: #b6c0cd;
  font-size: 12px;
}

.xo-banner__timer {
  padding: 7px 10px;
  border-radius: 9px;
  background: #f5f8fc;
  color: #0a0d12;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

html.xo-modal-open,
html.xo-modal-open body {
  overflow: hidden;
}

.xo-modal {
  width: min(650px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 25px;
  background: transparent;
  color: var(--ink-1, #f7f8fa);
}

.xo-modal::backdrop {
  background: rgba(2, 5, 9, .8);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.xo-modal__panel {
  position: relative;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 255, .25);
  border-radius: 25px;
  background:
    radial-gradient(500px 280px at 92% -5%, rgba(125, 211, 255, .18), transparent 68%),
    radial-gradient(360px 260px at 2% 110%, rgba(60, 125, 255, .1), transparent 70%),
    #15191f;
  box-shadow: 0 44px 130px -36px #000;
}

.xo-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .045);
  color: #c3ccd7;
  font: 400 25px/1 var(--font-body, sans-serif);
  cursor: pointer;
}

.xo-modal__close:hover,
.xo-modal__close:focus-visible {
  border-color: rgba(125, 211, 255, .55);
  color: #fff;
}

.xo-modal__eyebrow {
  display: block;
  color: #8dd8ff;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.xo-modal__badge {
  display: inline-flex;
  margin-top: 20px;
  padding: 6px 10px;
  border: 1px solid rgba(125, 211, 255, .32);
  border-radius: 999px;
  background: rgba(125, 211, 255, .09);
  color: #9ee1ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.xo-modal h2 {
  max-width: 540px;
  margin: 16px 48px 0 0;
  color: #f8fbff;
  font-size: clamp(36px, 6.4vw, 58px);
  font-weight: 690;
  letter-spacing: -.058em;
  line-height: .98;
}

.xo-modal h2 em {
  color: #7dd3ff;
  font-style: normal;
}

.xo-modal__panel > p {
  max-width: 540px;
  margin: 17px 0 0;
  color: #9ba6b5;
  font-size: 14px;
  line-height: 1.6;
}

.xo-modal__deal {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 25px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .095);
  border-radius: 17px;
  background: rgba(255, 255, 255, .032);
  gap: 15px;
}

.xo-modal__deal > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.xo-modal__deal span {
  color: #8f9aa8;
  font-size: 10px;
  font-weight: 680;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.xo-modal__deal s,
.xo-modal__deal strong {
  font-size: 31px;
  font-weight: 760;
  letter-spacing: -.04em;
}

.xo-modal__deal s {
  color: #ff7185;
  text-decoration-color: currentColor;
  text-decoration-thickness: 3px;
}

.xo-modal__deal-current strong {
  color: #fff;
}

.xo-modal__arrow {
  color: #7dd3ff !important;
  font-size: 22px !important;
}

.xo-modal__clock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding: 12px 15px;
  border: 1px solid rgba(125, 211, 255, .16);
  border-radius: 13px;
  background: rgba(125, 211, 255, .045);
  gap: 18px;
}

.xo-modal__clock span {
  color: #aab4c0;
  font-size: 12px;
}

.xo-modal__clock strong {
  color: #a6e4ff;
  font-family: var(--font-mono, monospace);
  font-size: 22px;
  letter-spacing: -.04em;
}

.xo-modal__accept {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  padding: 13px 20px;
  border: 0;
  border-radius: 14px;
  background: #7dd3ff;
  box-shadow: 0 14px 30px -19px #7dd3ff;
  color: #06131b;
  font: 780 15px/1.2 var(--font-body, sans-serif);
  cursor: pointer;
}

.xo-modal__accept:hover {
  background: #a0e1ff;
}

.xo-modal__accept[disabled] {
  cursor: wait;
  opacity: .58;
}

.xo-modal__decline {
  display: block;
  min-height: 44px;
  margin: 5px auto 0;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: #929daa;
  font: 600 12px/1.3 var(--font-body, sans-serif);
  cursor: pointer;
}

.xo-modal__decline:hover {
  color: #fff;
}

.xo-modal__fine {
  margin: 4px auto 0 !important;
  color: #6f7a87 !important;
  font-size: 10.5px !important;
  text-align: center;
}

[data-exit-price-original]:not([hidden]) {
  color: #ff6178 !important;
  text-decoration-color: currentColor !important;
  text-decoration-thickness: 2px !important;
}

body.xo-price-active [data-exit-price-current] {
  color: #fff !important;
}

.lp-card__price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.lp-card__price s {
  font-size: .72em;
}

@media (max-width: 640px) {
  .xo-banner {
    justify-content: space-between;
    min-height: 58px;
    padding-block: 8px;
    gap: 8px;
  }

  .xo-banner__tag {
    max-width: 108px;
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 9px;
    line-height: 1.25;
  }

  .xo-banner__copy {
    display: none;
  }

  .xo-banner__price strong {
    font-size: 17px;
  }

  .xo-banner__timer {
    padding: 6px 8px;
    font-size: 9px;
  }

  .xo-modal {
    width: 100%;
    max-height: calc(100dvh - 8px);
    margin: auto 0 0;
    border-radius: 24px 24px 0 0;
  }

  .xo-modal__panel {
    min-height: 0;
    padding: 25px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
  }

  .xo-modal__close {
    top: 12px;
    right: 12px;
  }

  .xo-modal__badge {
    margin-top: 16px;
  }

  .xo-modal h2 {
    margin-top: 13px;
    font-size: clamp(35px, 11.5vw, 48px);
  }

  .xo-modal__panel > p {
    margin-top: 13px;
    font-size: 12.5px;
  }

  .xo-modal__deal {
    margin-top: 18px;
    padding: 14px;
    gap: 10px;
  }

  .xo-modal__deal s,
  .xo-modal__deal strong {
    font-size: 26px;
  }

  .xo-modal__clock {
    padding: 10px 13px;
  }

  .xo-modal__accept {
    position: sticky;
    bottom: 0;
    min-height: 52px;
  }
}

@media (max-width: 360px) {
  .xo-banner__tag {
    display: none;
  }

  .xo-modal__deal span {
    font-size: 8.5px;
  }

  .xo-modal__deal s,
  .xo-modal__deal strong {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xo-modal *,
  .xo-banner * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ── Upsell-style skin (2026-08-26 r82c): same design language as the
   post-purchase Vera+ dialog — dark card, pink heat, lime money button.
   Markup rewritten in _exit_offer_modal.html; old __eyebrow/__badge/__deal/
   __clock/__accept/__decline rules above are now unused. ── */
.xo-modal__panel {
  width: min(540px, 94vw);
  padding: clamp(24px, 4.4vw, 36px) clamp(20px, 4vw, 34px) 18px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 22px;
  text-align: center;
  color: #f7f7f8;
  background:
    radial-gradient(ellipse 95% 60% at 72% 8%, rgba(255, 13, 101, .15), transparent 70%),
    linear-gradient(180deg, #101213 0%, #0b0d0e 55%, #0e1011 100%);
  box-shadow: 0 42px 110px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 13, 101, .06);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.xo-x {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  background: rgba(24, 25, 27, .82);
  color: #b7b9bd;
  font: 300 22px/1 Arial, sans-serif;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.xo-x:hover { border-color: rgba(255, 255, 255, .3); background: #202225; color: #fff; }
.xo-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 43, 115, .45);
  border-radius: 999px;
  background: rgba(255, 15, 98, .12);
  color: #ff7ba4;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.xo-pill b { font-size: 13px; }
.xo-pill strong {
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.xo-modal__panel h2 {
  margin: 15px 0 8px;
  font-size: clamp(27px, 5vw, 36px);
  font-weight: 850;
  letter-spacing: -.01em;
  line-height: 1.06;
  text-transform: uppercase;
}
.xo-modal__panel h2 em { color: #ff2b73; font-style: normal; }
.xo-sub {
  max-width: 40ch;
  margin: 0 auto;
  color: #b9bdc2;
  font-size: 13.5px;
  line-height: 1.5;
}
.xo-deal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 5vw, 34px);
  margin: 18px 0 16px;
  padding: 13px 18px 15px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035));
}
.xo-deal-col { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.xo-deal-col span {
  color: #85898e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.xo-deal-col s {
  position: relative;
  color: #8f939a;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  text-decoration: none;
}
.xo-deal-col s::after {
  content: "";
  position: absolute;
  left: -8%;
  top: 50%;
  width: 116%;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ff0f62, #ff2b73);
  box-shadow: 0 0 12px rgba(255, 15, 98, .5);
  transform: rotate(-8deg);
}
.xo-deal-arrow {
  color: #fff;
  font-size: 27px;
  font-weight: 900;
  animation: xoNudge 1s ease-in-out infinite alternate;
}
@keyframes xoNudge { from { transform: translateX(-2px); } to { transform: translateX(4px); } }
.xo-deal-col.yours {
  padding: 8px 20px 12px;
  border: 1px solid rgba(125, 211, 255, .38);
  border-radius: 14px;
  background: radial-gradient(ellipse 95% 95% at 50% 0%, rgba(125, 211, 255, .13), rgba(125, 211, 255, .04));
  box-shadow: 0 0 28px rgba(125, 211, 255, .14), inset 0 1px rgba(255, 255, 255, .12);
}
.xo-deal-col.yours span { color: #7DD3FF; }
.xo-deal-col.yours strong {
  color: #7DD3FF;
  font-size: 46px;
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1;
  text-shadow: 0 0 26px rgba(125, 211, 255, .4);
}
.xo-modal[open] .xo-deal-col.yours strong {
  animation: xoPricePop .5s cubic-bezier(.2, 1.6, .4, 1) .15s backwards;
}
@keyframes xoPricePop { from { transform: scale(.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .xo-deal-arrow, .xo-modal[open] .xo-deal-col.yours strong { animation: none; }
}
.xo-accept {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #9BDFFF, #7DD3FF);
  color: #08131C;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(125, 211, 255, .18), inset 0 1px rgba(255, 255, 255, .75), inset 0 -2px rgba(24, 94, 133, .22);
  transition: filter .16s ease, transform .16s ease, box-shadow .16s ease;
}
.xo-accept:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 11px 34px rgba(125, 211, 255, .26); }
.xo-decline {
  display: block;
  margin: 11px auto 0;
  padding: 4px 8px;
  border: 0;
  background: none;
  color: #8b8f94;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .22);
  text-underline-offset: 3px;
  transition: color .16s ease;
}
.xo-decline:hover { color: #d6d8db; }
.xo-fine { margin: 9px 0 0; color: #63676c; font-size: 11px; }
@media (max-width: 480px) {
  .xo-deal { gap: 12px; }
  .xo-deal-col s { font-size: 22px; }
  .xo-deal-col.yours { padding: 7px 14px 10px; }
  .xo-deal-col.yours strong { font-size: 36px; }
}

/* ── 2026-08-27 mobile fix: restore the centered card on phones. The
   pre-reskin ≤640px rules bottom-sheet the dialog (margin:auto 0 0,
   top-only radius) while the appended card skin narrows the panel,
   leaving it pinned low with clipped corners. Mirror desktop centering. ── */
@media (max-width: 640px) {
  .xo-modal {
    width: min(540px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    border-radius: 22px;
  }
  .xo-modal__panel {
    width: 100%;
    min-height: 0;
    padding: 22px 16px calc(16px + env(safe-area-inset-bottom));
    border-radius: 22px;
  }
}
/* mobile: the panel fills and centers the bottom sheet */
.xo-modal__panel { margin: 0 auto; }
@media (max-width: 640px) {
  .xo-modal__panel { width: 100%; border-radius: 24px 24px 0 0; padding: 26px 18px 14px; }
}
