/* Full-screen Date Night onboarding funnel (/date-night/start):
   dark cinema aesthetic matching date-night.css and welcome.css,
   centered 480px card, logical RTL properties, >= 44px touch targets,
   native Apple Pay / Google Pay Express Checkout primary slot. */

/* Safari 26+ derives its top status-bar tint from flat html background-color
   (matching <meta name="theme-color" content="#170E16"> in movie-night-start.html),
   so fade the 200px linear wash into the radial glow for a seamless top edge. */
html:has(body.st-body) {
  background: #170E16;
  color-scheme: dark;
}
body.st-body {
  margin: 0;
  min-height: 100dvh;
  background:
    linear-gradient(180deg, #170E16 0%, rgba(23, 14, 22, 0) 200px),
    radial-gradient(ellipse 80% 520px at 50% -120px, rgba(233, 30, 99, .14), transparent 70%),
    #0B0D10;
  color: #E6EBEF;
  font-family: var(--dn-font, "SF Pro Rounded", ui-rounded, "Open Runde", system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
}
.st *, .st *::before, .st *::after { box-sizing: border-box; }
.st [hidden] { display: none !important; }
.st button, .st input, .st a { font-family: inherit; }
.st svg { display: block; flex: none; }
.st :focus-visible { outline: 2px solid #FF6B9D; outline-offset: 2px; }
.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.st {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Minimal distraction-free top bar */
.st-top {
  width: 100%;
  padding: 0 24px;
}
.st-top-in {
  max-width: 1120px;
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
}
.st-top-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.st-home {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  border-radius: 10px;
}
.st-home img[src*="amora-wordmark"] {
  filter: brightness(1.24) saturate(1.06);
}
/* Synchronous head boot (start-boot.js): frame 1 is the final layout. The
   template marks the welcome view on; the boot script picks working (signed
   in, or back from Google, Apple or the extension) or the account view (a
   #checkout hash or a saved Google/Apple attempt) on <html>. start.js
   removes data-st-boot and st-boot-working the first time it changes view. */
html.st-boot-working .st [data-view="welcome"],
html[data-st-boot="signin"] .st [data-view="welcome"] { display: none; }
html.st-boot-working .st [data-view="working"],
html[data-st-boot="signin"] .st [data-view="signin"] { display: block; }
html[data-st-boot="signin"] .st [data-card-bar][hidden] { display: flex !important; }
html[data-st-installed] .st [data-installed-note][hidden] { display: inline-flex !important; }
.st .st-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: #A9B1BA;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.st .st-help:hover {
  color: #E6EBEF;
  background: rgba(255, 255, 255, .06);
}

/* Centered full-screen stage */
.st-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px 32px;
}
.st-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(480px, 100%);
  border-radius: 28px;
  padding: 32px 32px 28px;
  background: radial-gradient(ellipse 110% 180px at 50% 0%, rgba(233, 30, 99, .12), transparent 65%), linear-gradient(180deg, #1A1F26 0%, #14181E 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 36px 80px -24px rgba(0, 0, 0, .72);
  text-align: start;
}
.st-hero-wall {
  display: none;
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.st-hero-wall img {
  position: absolute;
  left: -4%;
  top: -6%;
  width: 108%;
  height: 112%;
  object-fit: cover;
  opacity: .34;
  filter: saturate(1.08);
}
/* Cinema hero card treatment for the "You already have Amora Max" screen:
   matches trydatenight.app/r and /date-night/welcome so it feels celebratory
   and intentional instead of a narrow sign-in dialog. */
.st[data-view-on="already-max"] .st-card {
  width: min(720px, 100%);
  padding: 48px 44px 40px;
  background: #08090B;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10), 0 32px 84px -24px rgba(0, 0, 0, .72);
}
.st[data-view-on="already-max"] .st-hero-wall {
  display: block;
}
.st[data-view-on="already-max"] .st-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 72% at 50% 42%, rgba(8, 9, 11, .90) 0%, rgba(8, 9, 11, .70) 56%, rgba(8, 9, 11, .34) 100%),
    radial-gradient(ellipse 84% 52% at 50% 0%, rgba(233, 30, 99, .24), transparent 68%),
    linear-gradient(180deg, rgba(8, 9, 11, .14) 0%, rgba(8, 9, 11, .42) 72%, rgba(8, 9, 11, .92) 100%);
}
.st-card-bar {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.st-round {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: #2A323A;
  color: #E6EBEF;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1);
}
.st-round:hover { background: #333C46; }
.st-round:active { transform: scale(.97); }
[dir="rtl"] .st-round svg { transform: scaleX(-1); }

/* Views */
.st-view { display: none; }
.st-view.is-on { display: block; }
.st-view:focus { outline: none; }

.st-body-grid { display: grid; }
.st-gap-20 { gap: 20px; }
.st-gap-24 { gap: 24px; }
.st-center { justify-items: center; text-align: center; }

/* Working */
.st-working {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  opacity: 0;
  animation: ck-show 0s 300ms forwards;
}

/* Headings & badges */
.st-head {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}
.st-mark {
  display: block;
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 8px 20px rgba(233, 30, 99, .32));
}
.st-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.st-app-ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
}
.st-pop-ic {
  width: 30px;
  height: 30px;
  display: block;
}
.st-h {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #FFF;
  text-wrap: balance;
}
.st-h-left { text-align: start; font-size: 24px; }
.st-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #A9B1BA;
  text-wrap: pretty;
}
.st-installed-pill {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(62, 219, 124, .12);
  box-shadow: inset 0 0 0 1px rgba(62, 219, 124, .28);
  color: #D7F5E3;
  font-size: 13.5px;
  font-weight: 600;
}
.st-ok-ic { display: inline-flex; color: #3EDB7C; }

/* Auth buttons */
.st-auth {
  display: grid;
  gap: 10px;
}
.st-btn {
  width: 100%;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  color: #E6EBEF;
  background: #2A323A;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, filter 160ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1);
}
.st-btn:hover { background: #333C46; color: #E6EBEF; }
.st-btn:active { transform: scale(.98); background: #3B4550; }
.st-btn:disabled { opacity: .6; cursor: default; }
.st-btn img { width: 18px; height: 18px; display: block; flex: none; }
.st-btn-auth {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
/* Which Google and Apple buttons show, in which order, and which is the white
   one, from the flags start-boot.js sets before paint (data-st-ios,
   data-st-inapp, data-st-mode). Apple first on iPhone and iPad. Google never
   inside a social app's browser (Google refuses it there). "Create your
   account" also follows the light sign-up page's rule (auth.js applyMode):
   no Apple off iPhone, because the Android app cannot sign an Apple account
   in, and no Google on iPhone. */
html[data-st-ios] .st [data-provider="apple"] { order: -1; }
html[data-st-inapp] .st [data-provider="google"],
html[data-st-mode="create"]:not([data-st-ios]) .st [data-provider="apple"],
html[data-st-mode="create"][data-st-ios] .st [data-provider="google"],
html[data-st-mode="create"][data-st-inapp]:not([data-st-ios]) .st [data-auth-or] { display: none; }
html[data-st-ios] .st [data-provider="apple"],
html:not([data-st-ios]):not([data-st-inapp]) .st [data-provider="google"],
html:not([data-st-ios])[data-st-inapp] .st [data-provider="apple"] {
  background: #F4F6F8;
  color: #14181E;
  font-weight: 700;
  box-shadow: none;
}
html[data-st-ios] .st [data-provider="apple"]:hover,
html:not([data-st-ios]):not([data-st-inapp]) .st [data-provider="google"]:hover,
html:not([data-st-ios])[data-st-inapp] .st [data-provider="apple"]:hover { background: #FFF; color: #14181E; }
html[data-st-ios] .st [data-provider="apple"] img,
html:not([data-st-ios])[data-st-inapp] .st [data-provider="apple"] img { filter: invert(1); }

/* "Create your account" and "Welcome back" share one view. */
html[data-st-mode="create"] .st .st-only-signin,
html[data-st-mode="signin"] .st .st-only-create { display: none; }

/* Welcome */
.st-welcome-art {
  display: flex;
  justify-content: center;
  width: 132px;
  height: 132px;
  margin: 2px auto 18px;
}
.st-stack { display: grid; gap: 10px; }
.st-stack > .ck-cta, .st-stack .ck-btn-1 { width: 100%; }

/* One line under the buttons: "Already have an account? Sign in". */
.st-swap {
  margin: 0;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.45;
  color: #A9B1BA;
}
.st-swap button {
  margin-inline-start: 4px;
  padding: 6px 2px;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: #FF6B9D;
  cursor: pointer;
}
.st-swap button:hover, .st-swap button:focus-visible { text-decoration: underline; }
.st-legal {
  margin: -8px 0 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.45;
  color: #7E8892;
  text-wrap: pretty;
}
.st-legal a { color: #A9B1BA; text-decoration: underline; text-underline-offset: 2px; }
.st-link-btn { border: 0; background: none; font: inherit; cursor: pointer; justify-self: center; }
.st-link-btn:disabled { opacity: .6; cursor: default; }
/* The new-password rule sits under the box: as a placeholder it was cut off
   beside the show-password eye at phone width in every language. */
.st-hint { font-size: 13px; line-height: 1.4; color: #8C96A1; }
.st-code { text-align: center; font-size: 20px; }
.st-code:not(:placeholder-shown) { letter-spacing: .3em; }
[data-code-sent] b { color: #E6EBEF; font-weight: 600; overflow-wrap: anywhere; }

/* Step 2: Benefits */
.st-benefits {
  margin: 0;
  padding: 14px 16px;
  list-style: none;
  display: grid;
  gap: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.st-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.35;
  color: #E6EBEF;
}
.st-b-ic {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(233, 30, 99, .2);
  color: #FF6B9D;
}

/* Step 2: Weekly / Yearly monthly-first tiles */
.st-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 8px;
}
.st-plan {
  position: relative;
  padding: 18px 14px 14px;
  border: 0;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: start;
  background: #20272F;
  color: #E6EBEF;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1);
}
.st-plan:hover { background: #262E38; }
.st-plan:active { transform: scale(.985); }
.st-plan[aria-checked="true"] {
  background: radial-gradient(ellipse 120% 100% at 50% 0%, rgba(233, 30, 99, .18), transparent 70%), #241A29;
  box-shadow: inset 0 0 0 2px #FF6B9D;
}
.st-plan-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.st-plan-n {
  font-size: 14px;
  font-weight: 700;
  color: #E6EBEF;
}
.st-save {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100% - 12px);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: clamp(9.5px, 2.7vw, 11px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  color: #FFF;
  background: linear-gradient(90deg, #E91E63, #C2185B);
  box-shadow: 0 4px 10px rgba(233, 30, 99, .35);
}
.st-plan-check {
  margin-inline-start: auto;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28);
}
.st-plan[aria-checked="true"] .st-plan-check {
  background: #E91E63;
  color: #FFF;
  box-shadow: none;
}
.st-plan-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #FFF;
  font-variant-numeric: tabular-nums;
}
.st-plan-per {
  font-size: 13px;
  font-weight: 600;
  color: #A9B1BA;
}
.st-plan-sub {
  font-size: 12.5px;
  line-height: 1.35;
  color: #A9B1BA;
  font-variant-numeric: tabular-nums;
}

/* Step 2: Native Apple Pay / Google Pay Express Checkout + Card Fallback */
.st-pay-actions {
  position: relative;
  display: grid;
  gap: 10px;
}
.st-express-wrap {
  width: 100%;
  min-height: 48px;
  border-radius: 25px;
  overflow: hidden;
}
/* Keep Express Checkout rendered with real layout width while Stripe checks wallet availability
   (mounting inside display:none can collapse or suppress ready events on WebKit/iOS Safari). */
.st-express-wrap.is-measuring {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}
.st-express-target {
  width: 100%;
  min-height: 48px;
}
.st-btn-card {
  min-height: 48px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  color: #E6EBEF;
  font-size: 15px;
  font-weight: 600;
}
.st-btn-card:hover {
  background: rgba(255, 255, 255, .12);
  color: #FFF;
}
.st-primary-cta .ck-btn-1 { min-height: 52px; }

/* Trust block (matches home.css) */
.st-trust {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}
.st .dn-trust-guar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: #D3DBE4;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.st .dn-trust-dot {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #34C759;
  color: #FFF;
  font-size: 10px;
  font-weight: 900;
}
.st .dn-trust-marks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
}
.st .dn-trust-marks span {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  border: .5px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #C6CFD8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .25px;
}
.st-fine {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #8C96A1;
  text-wrap: pretty;
}

/* Already Max browser branches */
.st-max-grid {
  gap: 20px;
}
.st-max-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 104px;
}
.st-max-halo {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233, 30, 99, .38), rgba(156, 39, 176, .16) 55%, transparent);
  filter: blur(22px);
  pointer-events: none;
}
.st-max-mark .ck-couple {
  position: relative;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .55));
}
.st-max-head {
  gap: 8px;
  max-width: 540px;
}
.st-h-hero {
  font-size: 38px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.025em;
}
.st-sub-hero {
  font-size: 16px;
  line-height: 1.48;
  color: #C4CCD6;
}
.st-branch { display: none; width: 100%; }
.st[data-browser="installed"] .st-branch-installed,
.st[data-browser="new"] .st-branch-new,
.st[data-browser="other"] .st-branch-other,
.st:not([data-browser]) .st-branch-other {
  display: grid;
  gap: 18px;
  justify-items: center;
}
.st-installed-line {
  margin: -4px 0 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #D7F5E3;
  font-size: 14.5px;
  font-weight: 600;
}
.st-full { width: 100%; }
.st-cta-hero {
  display: inline-flex;
  width: auto;
  min-width: 248px;
}
.st-cta-hero .ck-btn-1 {
  width: auto;
  min-width: 248px;
  height: 54px;
  padding: 0 30px 0 22px;
  border-radius: 27px;
  font-size: 16px;
  gap: 10px;
}
.st-cta-hero .ck-pool {
  bottom: -14px;
  height: 30px;
  opacity: .42;
}
.st-open-pop {
  width: 30px;
  height: 30px;
  margin-block: -4px;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(40, 0, 20, .45));
}
.st-cta-badge {
  width: 26px;
  height: 26px;
  border-radius: 13px;
  background: #FFF;
  display: inline-grid;
  place-items: center;
  flex: none;
}
.st-cta-badge img { width: 19px; height: 19px; display: block; }
.st-cta-badge:has(img[hidden]) { display: none; }

/* Visual miniature Chrome toolbar + puzzle/pin guide (matches Welcome Page board) */
.st-pin-guide {
  margin-top: 6px;
  width: 100%;
  max-width: 580px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px 16px 16px;
  border-radius: 22px;
  background: rgba(18, 22, 28, .82);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px -18px rgba(0, 0, 0, .6);
  text-align: start;
}
.st-chrome {
  width: 212px;
  flex: none;
  display: grid;
  gap: 6px;
  font-family: system-ui, -apple-system, sans-serif;
}
.st-chrome-bar {
  height: 28px;
  padding: 0 6px 0 9px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #35363A;
  color: #BDC1C6;
}
.st-chrome-url {
  flex: 1;
  height: 18px;
  border-radius: 9px;
  background: #202124;
}
.st-chrome-ext {
  width: 22px;
  height: 22px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(138, 180, 248, .18);
  color: #8AB4F8;
  box-shadow: 0 0 0 1.5px #FF6B9D;
}
.st-chrome-menu {
  padding: 5px;
  border-radius: 10px;
  background: #292A2D;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
}
.st-chrome-row {
  height: 28px;
  padding: 0 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .06);
  font-size: 11.5px;
  color: #E8EAED;
}
.st-chrome-row img { width: 15px; height: 15px; display: block; flex: none; }
.st-chrome-row > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-chrome-pin {
  width: 21px;
  height: 21px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #8AB4F8;
  box-shadow: 0 0 0 1.5px #FF6B9D;
  flex: none;
}
.st-pin-copy { display: grid; gap: 4px; min-width: 0; }
.st-pin-copy strong { font-size: 15px; font-weight: 700; color: #FFF; }
.st-pin-copy span { font-size: 13.5px; line-height: 1.45; color: #A9B1BA; text-wrap: pretty; }
.st-else-btns { width: 100%; max-width: 440px; display: grid; gap: 10px; }
.st-copy-ic { display: inline-flex; }
.st-copy-btn .st-copied { display: none; color: #3EDB7C; }
.st-copy-btn.is-copied .st-copied { display: inline-flex; }
.st-copy-btn.is-copied .st-to-copy { display: none; }
.st-app-links {
  min-width: 0;
  width: 100%;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: grid;
  gap: 10px;
  justify-items: center;
}
.st-app-label {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #A9B1BA;
}
.st-store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.st-store-badges a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow: hidden;
  border-radius: 7px;
}
.st-store-badges img { display: block; width: auto; max-width: 100%; }

/* Store cancel views, shared CTA contrast overrides (beat .dn a pink link color),
   iOS 16px input size, >=44px touch targets, and Arabic RTL logical fixes */
.st a.ck-btn, .st a.ck-btn:hover { color: #E6EBEF; }
.st .ck-btn-1, .st a.ck-btn-1, .st a.ck-btn-1:hover, .st a.ck-btn-1:active {
  color: #FFF;
  background: linear-gradient(135deg, #D81B60, #C2185B 55%, #8E24AA);
}
.st a.ck-btn-done, .st a.ck-btn-done:hover, .st a.ck-btn-done:active { color: #161B20; }
.st .ck-link { min-height: 44px; }
.st .ck-new { height: auto; min-height: 44px; padding-block: 8px; }
.st .ck-eye { width: 44px; height: 44px; border-radius: 22px; }
.st .ck-field { height: 48px; }
.st .ck-field input { font-size: 16px; }
.st .ck-field-pw { padding: 0; padding-inline: 16px 4px; }
.st .ck-move-adds { margin-left: 0; margin-inline-start: auto; }
.st .ck-pop-2 { margin-left: 0; margin-inline-start: -14px; }
[dir="rtl"] .st .ck-move-arrow svg { transform: scaleX(-1); }

/* Signed-in switch-account pill in the top header */
.st-acct {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-inline: 14px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  min-width: 0;
}
.st-acct-who {
  font-size: 13px;
  color: #B4BDC8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 210px;
}
.st-signout {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
  color: #FF6B9D;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}
.st-signout:hover { background: rgba(255, 255, 255, .12); color: #FF8FB5; }

/* Minimal footer */
.st-foot {
  width: 100%;
  padding: 0 24px 24px;
}
.st-foot-in {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 13px;
  color: #7E8892;
}
.st-foot-in a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #A9B1BA;
  text-decoration: none;
}
.st-foot-in a:hover { color: #E6EBEF; }

@media (max-width: 680px) {
  .st-top { padding: 8px 16px 0; }
  .st-top-in { min-height: 52px; }
  .st-top-right { gap: 6px; }
  .st-acct-who { display: none; }
  .st-acct { padding-inline: 4px; background: transparent; box-shadow: none; }
  .st-signout { min-height: 44px; padding: 0 12px; border-radius: 22px; }
  .st-stage { padding: 8px 16px 24px; align-items: flex-start; }
  .st-card { padding: 24px 20px 22px; border-radius: 24px; }
  .st[data-view-on="already-max"] .st-card { padding: 32px 20px 26px; }
  .st-h { font-size: 24px; }
  .st-h-hero { font-size: 28px; }
  .st-cta-hero, .st-cta-hero .ck-btn-1 { width: 100%; min-width: 0; }
  .st-pin-guide { flex-direction: column; align-items: stretch; gap: 14px; padding: 14px; }
  .st-chrome { width: 100%; }
  .st-plans { gap: 8px; }
  .st-plan { padding: 18px 12px 12px; border-radius: 18px; }
  .st-plan-price { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .st-btn, .st-plan, .st-round { transition: none; }
}

/* Desktop "Sign in with Amora" button and dedicated QR view on /date-night/start. */
.st-btn-qr {
  background: linear-gradient(135deg, rgba(255, 79, 139, .18), rgba(156, 39, 176, .18));
  box-shadow:
    inset 0 0 0 1px rgba(255, 107, 157, .40),
    inset 0 1px 0 rgba(255, 255, 255, .14);
  color: #FFFFFF;
}
.st-btn-qr:hover {
  background: linear-gradient(135deg, rgba(255, 79, 139, .26), rgba(156, 39, 176, .26));
  box-shadow:
    inset 0 0 0 1px rgba(255, 107, 157, .54),
    inset 0 1px 0 rgba(255, 255, 255, .18);
  color: #FFFFFF;
}
.st-btn-qr:active {
  background: linear-gradient(135deg, rgba(255, 79, 139, .32), rgba(156, 39, 176, .32));
}
.st-btn-qr .ck-btn-ic,
.st-btn-qr svg {
  color: #FF6B9D;
  width: 18px;
  height: 18px;
  flex: none;
}
.st-btn-qr[hidden] { display: none; }

/* When "Sign in with Amora" leads the Welcome Back chooser on desktop, keep
   Google in the same dark-glass tier as Apple, /account, Checkout, and the
   extension so Amora leads cleanly. Mobile and flag-off views stay unchanged. */
html[data-st-mode="signin"]:not([data-st-ios]):not([data-st-inapp]) .st:has(.st-btn-qr:not([hidden])) [data-provider="google"] {
  background: rgba(255, 255, 255, .06);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
html[data-st-mode="signin"]:not([data-st-ios]):not([data-st-inapp]) .st:has(.st-btn-qr:not([hidden])) [data-provider="google"]:hover {
  background: rgba(255, 255, 255, .10);
  color: #FFFFFF;
}

.st-qr-view {
  justify-items: center;
  text-align: center;
}
.st-qr-slot {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 4px 0;
}
.st-qr-alt {
  border: 0;
  background: transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #A9B1BA;
  cursor: pointer;
  transition: color 140ms ease, background-color 140ms ease;
}
.st-qr-alt:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, .06);
}
