/* Compact acquisition sheet: intentionally scoped to the global app modal. */
html body .app-modal:has(.wtgo-acquisition-sheet) {
  z-index: 10030 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  background: rgba(2, 8, 8, .76) !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* The open-state flex rule above must never override the modal's closed state. */
html body .app-modal[aria-hidden="true"]:has(.wtgo-acquisition-sheet) {
  display: none !important;
}

html body .app-modal .wtgo-acquisition-sheet {
  --offer-green: #61ee90;
  position: relative !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: min(448px, calc(100vw - 40px)) !important;
  max-width: 448px !important;
  max-height: calc(100dvh - 40px) !important;
  overflow: hidden !important;
  padding: 27px 28px 25px !important;
  border: 1px solid rgba(255, 255, 255, .11) !important;
  border-radius: 25px !important;
  color: #fff !important;
  background: radial-gradient(ellipse at 85% -15%, rgba(50, 211, 117, .16), transparent 54%),
    linear-gradient(152deg, #151d1b 0%, #0d1413 55%, #090e0d 100%) !important;
  box-shadow: 0 28px 85px rgba(0, 0, 0, .7), inset 0 1px rgba(255, 255, 255, .065) !important;
  isolation: isolate;
}

/* The legacy entry-popup selectors carry extra specificity on desktop. */
html body .app-modal.is-entry-popup .wtgo-acquisition-sheet {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  row-gap: 0 !important;
  column-gap: 0 !important;
  width: min(448px, calc(100vw - 40px)) !important;
  max-width: 448px !important;
  max-height: calc(100dvh - 40px) !important;
  padding: 27px 28px 25px !important;
  overflow: hidden !important;
}

html body .app-modal .wtgo-acquisition-sheet::before { display: none !important; }
html body .app-modal .wtgo-acquisition-sheet::after {
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 2px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, transparent, var(--offer-green), transparent);
  opacity: .7;
  content: '';
  pointer-events: none;
}

html body .app-modal .wtgo-acquisition-sheet .app-popup-handle { display: none; }
html body .app-modal .wtgo-acquisition-sheet .app-modal-close {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  display: grid !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 50% !important;
  color: #e9f6ed !important;
  background: rgba(255,255,255,.045) !important;
  font-size: 27px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  cursor: pointer;
}

html body .app-modal .wtgo-acquisition-sheet .app-popup-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 38px !important;
  margin: 0 50px 23px 0 !important;
}
html body .app-modal .wtgo-acquisition-sheet .app-popup-brand img {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  border: 1px solid rgba(97,238,144,.28) !important;
  border-radius: 11px !important;
  box-shadow: 0 5px 18px rgba(0,0,0,.32) !important;
}
html body .app-modal .wtgo-acquisition-sheet .app-popup-brand span {
  display: block !important;
  color: #9ff6b6 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: .15em !important;
}
html body .app-modal .wtgo-acquisition-sheet h2 {
  max-width: none !important;
  margin: 0 0 10px !important;
  color: #fff !important;
  font-family: 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif !important;
  font-size: clamp(34px, 4vw, 43px) !important;
  font-weight: 900 !important;
  line-height: 1.02 !important;
  letter-spacing: -.055em !important;
  text-transform: none !important;
}
html body .app-modal .wtgo-acquisition-sheet h2 em {
  color: var(--offer-green) !important;
  font-style: normal !important;
}
html body .app-modal .wtgo-acquisition-sheet .app-popup-support {
  display: block !important;
  margin: 0 0 22px !important;
  color: #aebcb5 !important;
  font-size: 14px !important;
  line-height: 1.42 !important;
}

html body .app-modal .wtgo-acquisition-sheet .app-popup-desktop-install { margin: 0 0 20px !important; }
html body .app-modal .wtgo-acquisition-sheet .app-popup-qr {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 92px !important;
  margin: 0 0 10px !important;
  padding: 9px !important;
  border: 1px solid rgba(255,255,255,.095) !important;
  border-radius: 15px !important;
  background: rgba(255,255,255,.045) !important;
}
html body .app-modal.is-entry-popup .wtgo-acquisition-sheet .app-popup-qr {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  box-shadow: none !important;
}
html body .app-modal.is-entry-popup .wtgo-acquisition-sheet .app-popup-qr::before,
html body .app-modal.is-entry-popup .wtgo-acquisition-sheet .app-popup-qr::after { display: none !important; content: none !important; }
html body .app-modal .wtgo-acquisition-sheet .app-popup-qr img {
  width: 76px !important;
  height: 76px !important;
  flex: 0 0 76px !important;
  padding: 4px !important;
  border-radius: 10px !important;
  background: #fff !important;
  object-fit: contain !important;
}
html body .app-modal .wtgo-acquisition-sheet .app-popup-qr span { display: grid !important; gap: 3px !important; }
html body .app-modal .wtgo-acquisition-sheet .app-popup-qr strong { color: #f8fffb !important; font-size: 14px !important; }
html body .app-modal .wtgo-acquisition-sheet .app-popup-qr small { color: #a9bcb2 !important; font-size: 12px !important; }
html body .app-modal .wtgo-acquisition-sheet .app-popup-store-pair {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 9px !important;
  margin: 0 !important;
}
html body .app-modal .wtgo-acquisition-sheet .app-popup-store-pair .store-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-width: 0 !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 9px !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 10px !important;
  color: #eff9f2 !important;
  background: #080d0b !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

html body .app-modal .wtgo-acquisition-sheet .app-popup-email { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
html body .app-modal .wtgo-acquisition-sheet .app-popup-email-heading {
  margin: 0 0 9px !important;
  color: #a9bcb2 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: .015em !important;
  text-align: center !important;
}
html body .app-modal .wtgo-acquisition-sheet .app-popup-email-row {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 4px !important;
  border: 1px solid rgba(173,202,185,.28) !important;
  border-radius: 12px !important;
  background: #1a2520 !important;
}
html body .app-modal .wtgo-acquisition-sheet .app-popup-email-row input {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 38px !important;
  height: 38px !important;
  padding: 0 10px !important;
  border: 0 !important;
  outline: 0 !important;
  color: #fff !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 14px !important;
}
html body .app-modal .wtgo-acquisition-sheet .app-popup-email-row input::placeholder { color: #98a99f !important; }
html body .app-modal .wtgo-acquisition-sheet .app-popup-email-row button {
  flex: 0 0 auto !important;
  width: 74px !important;
  min-width: 70px !important;
  min-height: 38px !important;
  height: 38px !important;
  padding: 0 13px !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #08140c !important;
  background: var(--offer-green) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}
html body .app-modal .wtgo-acquisition-sheet .app-popup-email-fine {
  margin: 8px 0 0 !important;
  color: #94a89a !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  text-align: center !important;
}
html body .app-modal .wtgo-acquisition-sheet .app-popup-email-fine a { color: #b7edc4 !important; text-decoration: underline !important; }
html body .app-modal .wtgo-acquisition-sheet .app-popup-email-status { min-height: 0 !important; margin: 0 !important; color: #b8f7c6 !important; font-size: 12px !important; text-align: center !important; }
html body .app-modal .wtgo-acquisition-sheet .app-popup-email-status:not(:empty) { margin-top: 7px !important; }
html body .app-modal .wtgo-acquisition-sheet .app-popup-email-hp { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
html body .app-modal .wtgo-acquisition-sheet .app-popup-email-confirmed { display: grid; width: 100%; place-items: center; color: #c8ffd2; font-size: 13px; font-weight: 800; }
html body .app-modal .wtgo-acquisition-sheet :is(a,button,input):focus-visible { outline: 2px solid var(--offer-green) !important; outline-offset: 3px !important; }

@keyframes wtgo-acquisition-desktop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes wtgo-acquisition-mobile { from { opacity: 0; transform: translateY(42px); } to { opacity: 1; transform: translateY(0); } }
html body .app-modal[aria-hidden="false"] .wtgo-acquisition-sheet { animation: wtgo-acquisition-desktop .32s cubic-bezier(.16,1,.3,1) both !important; }

@media (max-width: 760px) {
  html body .app-modal:has(.wtgo-acquisition-sheet) { align-items: flex-end !important; padding: 0 !important; }
  html body .app-modal .wtgo-acquisition-sheet {
    width: 100% !important;
    max-width: 100% !important;
    max-height: min(58dvh, 490px) !important;
    margin: 0 !important;
    padding: 19px 20px max(18px, env(safe-area-inset-bottom)) !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 24px 24px 0 0 !important;
  }
  html body .app-modal.is-entry-popup .wtgo-acquisition-sheet {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: min(58dvh, 490px) !important;
    padding: 19px 20px max(18px, env(safe-area-inset-bottom)) !important;
    overflow: hidden !important;
  }
  html body .app-modal[aria-hidden="false"] .wtgo-acquisition-sheet { animation: wtgo-acquisition-mobile .44s cubic-bezier(.16,1,.3,1) both !important; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-handle { display: block !important; order: 0 !important; align-self: center; width: 36px; height: 4px; margin: -8px 0 14px; border-radius: 99px; background: rgba(225,244,231,.24); }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-brand { order: 1 !important; min-height: 32px !important; margin: 0 42px 14px 0 !important; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-brand img { width: 32px !important; height: 32px !important; flex-basis: 32px !important; }
  html body .app-modal .wtgo-acquisition-sheet h2 { order: 2 !important; margin-bottom: 7px !important; font-size: clamp(26px, 7vw, 31px) !important; line-height: 1.03 !important; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-support { order: 3 !important; margin-bottom: 16px !important; font-size: 12px !important; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-mobile-store {
    order: 4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 0 17px !important;
    padding: 0 14px !important;
    border: 1px solid #8bffae !important;
    border-radius: 13px !important;
    color: #06140c !important;
    background: #61ee90 !important;
    box-shadow: 0 9px 24px rgba(52,232,121,.2) !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    text-decoration: none !important;
  }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-mobile-store > b { margin-left: auto; font-size: 18px; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-mobile-store span { min-width: 0 !important; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-email { order: 5 !important; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-desktop-install { order: 4 !important; margin-bottom: 13px !important; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-desktop-install .app-popup-qr { display: none !important; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-store-pair .store-button { min-height: 48px !important; height: 48px !important; }
}

@media (max-width: 760px) and (max-height: 670px) {
  html body .app-modal .wtgo-acquisition-sheet { max-height: 62dvh !important; padding-top: 14px !important; padding-bottom: max(11px, env(safe-area-inset-bottom)) !important; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-handle { margin-bottom: 9px; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-brand { margin-bottom: 9px !important; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-support { margin-bottom: 10px !important; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-mobile-store { height: 48px !important; min-height: 48px !important; margin-bottom: 10px !important; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-email-heading { margin-bottom: 5px !important; }
  html body .app-modal .wtgo-acquisition-sheet .app-popup-email-fine { margin-top: 5px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html body .app-modal[aria-hidden="false"] .wtgo-acquisition-sheet { animation: none !important; }
  html body .app-modal .wtgo-acquisition-sheet :is(a,button) { transition: none !important; }
}
