/* Stage static flow — dark theme matching the app paywall/checkout. */

:root {
  --bg: #3a3a3a;
  --panel: #0d0d0d;
  --panel-2: #161616;
  --green: #248b3b;
  --gold: #eab308;
  --text: #ffffff;
  --muted: #9a9a9a;
  --border: #2a2a2a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Phone-width centered column */
.stg-phone {
  max-width: 420px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--panel);
  display: flex;
  flex-direction: column;
}

/* ── Header ───────────────────────────────────────────────────────────────── */
.stg-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: #000;
}
.stg-header__back {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.stg-header__title { font-size: 1.15rem; font-weight: 700; }

/* ── Paywall body ─────────────────────────────────────────────────────────── */
.stg-paywall { flex: 1; padding: 1rem 1rem 7rem; display: flex; flex-direction: column; gap: 1rem; }

.stg-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0.625rem;
  overflow: hidden;
}
/* Source mp4 has letterbox bars baked into the frame — scale up slightly to crop them out. */
.stg-media video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.22); }
.stg-media__mute {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.stg-media__mute:active { background: rgba(0, 0, 0, 0.75); }
.stg-media__mute svg { width: 1.2rem; height: 1.2rem; }

.stg-offer-asset {
  width: 100%;
  border-radius: 0.625rem;
  display: block;
}

/* Paywall-asset experiment top image (replaces the video slot; keeps its own ratio). */
.stg-media__top-image {
  width: 100%;
  border-radius: 0.625rem;
  display: block;
}

/* ── Sticky footer CTA ────────────────────────────────────────────────────── */
.stg-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  background: #101010;
  padding: 0.85rem 1rem 0.6rem;
  z-index: 5;
}
.stg-cta {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 0.6rem;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.stg-cta:disabled { opacity: 0.5; cursor: default; }
.stg-fineprint {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
  padding: 0.75rem 1rem 0;
}

/* ── Common premium paywall (opt-in via PAYWALL_LAYOUT) ──────────────────── */
.stg-view--common-paywall {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 86% 6%, rgba(225, 13, 55, 0.12), transparent 27%),
    #050505;
}

.stg-paywall--common {
  display: block;
  min-height: 100dvh;
  padding: 1.1rem 1.15rem 8.7rem;
}

.stg-common-hero { position: relative; }

.stg-common-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10.75rem;
  align-items: flex-start;
  gap: 0.75rem;
}

.stg-common-eyebrow {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(225, 13, 55, 0.28);
  border-radius: 999px;
  background: rgba(225, 13, 55, 0.1);
  color: #ff355e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.stg-common-collage-wrap {
  position: relative;
  width: 100%;
}

.stg-common-collage {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #141414 url("https://media.stage.in/agentic_paywall/stage-content-collage.webp") center / cover no-repeat;
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 2.5rem rgba(198, 12, 12, 0.26);
}

.stg-common-rating {
  display: block;
  margin-top: 0.45rem;
  color: #d9b753;
  font-size: 0.67rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.stg-common-title {
  margin-top: 1rem;
  font-size: 2.2rem;
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.stg-common-title span { color: #e10d37; }

.stg-common-languages {
  margin-top: 0.9rem;
  color: #efefef;
  font-size: 0.85rem;
  font-weight: 650;
}

.stg-common-intro {
  margin-top: 1.4rem;
  max-width: 21rem;
  color: #b7b7b7;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.5;
}

.stg-common-benefits {
  display: grid;
  gap: 0.72rem;
  margin-top: 1.5rem;
  padding: 1.05rem;
  border: 1px solid #262626;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, #191919, #111);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.38);
}

.stg-common-benefit {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  align-items: center;
  gap: 0.8rem;
}

.stg-common-benefit__icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.75rem;
  background: rgba(225, 13, 55, 0.12);
  color: #ff355e;
  font-size: 1.45rem;
  font-weight: 800;
}

.stg-common-benefit strong,
.stg-common-benefit small { display: block; }
.stg-common-benefit strong { font-size: 0.92rem; line-height: 1.25; }
.stg-common-benefit small {
  margin-top: 0.14rem;
  color: #858585;
  font-size: 0.69rem;
  line-height: 1.3;
}

.stg-common-footer {
  padding: 0.8rem 1rem max(0.8rem, env(safe-area-inset-bottom));
  background: linear-gradient(to top, #070707 77%, rgba(7, 7, 7, 0));
}

.stg-common-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.15fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem;
  border: 1px solid rgba(225, 13, 55, 0.18);
  border-radius: 1rem;
  background: #171717;
  box-shadow: 0 -0.4rem 2rem rgba(225, 13, 55, 0.12);
}

.stg-common-price { min-width: 0; }
.stg-common-price > div { white-space: nowrap; }
.stg-common-price s { color: #767676; font-size: 0.82rem; }
.stg-common-price strong { margin-left: 0.2rem; font-size: 1.55rem; }
.stg-common-price span { color: #aaa; font-size: 0.78rem; }
.stg-common-price small {
  display: block;
  margin-top: 0.25rem;
  color: #e10d37;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.stg-common-cta {
  min-height: 3.6rem;
  border-radius: 0.85rem;
  background: #fff;
  color: #090909;
  font-size: 1rem;
}

.stg-common-cta:active { transform: scale(0.98); }

@media (max-width: 350px) {
  .stg-paywall--common { padding-inline: 0.85rem; }
  .stg-common-hero__grid { grid-template-columns: minmax(0, 1fr) 9.7rem; }
  .stg-common-title { font-size: 2rem; }
  .stg-common-offer { gap: 0.55rem; padding: 0.65rem; }
  .stg-common-price strong { font-size: 1.35rem; }
  .stg-common-price small { font-size: 0.62rem; }
}

/* ── Login drawer ─────────────────────────────────────────────────────────── */
.stg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 50;
}
.stg-overlay--solid { background: rgba(0, 0, 0, 0.92); align-items: center; }

.stg-drawer {
  width: 100%;
  max-width: 420px;
  background: var(--panel-2);
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 1.75rem 1.5rem 2.25rem;
  position: relative;
  border-top: 1px solid var(--border);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6);
  animation: stg-slide-up 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes stg-slide-up { from { transform: translateY(100%); } to { transform: translateY(0); } }

.stg-drawer__grab {
  position: absolute;
  top: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 0.28rem;
  border-radius: 1rem;
  background: #3a3a3a;
}
.stg-drawer__logo { height: 1.5rem; width: auto; display: block; margin: 0.5rem 0 1.25rem; opacity: 0.95; }
.stg-drawer__close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.stg-drawer__title { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.4rem; }
.stg-drawer__sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.4rem; }
.stg-link {
  background: none;
  border: none;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0;
}

.stg-field {
  display: flex;
  align-items: center;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  overflow: hidden;
  transition: border-color 0.15s;
}
.stg-field:focus-within { border-color: var(--green); }
.stg-field__cc {
  padding: 1rem 0.85rem;
  color: #fff;
  border-right: 1px solid var(--border);
  font-weight: 700;
  white-space: nowrap;
}
.stg-field__input {
  flex: 1;
  background: #000;
  border: none;
  outline: none;
  color: #fff;
  padding: 1rem 0.9rem;
  font-size: 1.1rem;
  font-family: inherit;
  letter-spacing: 0.05rem;
}

/* 4-box OTP */
.stg-otp-row { display: flex; gap: 0.75rem; justify-content: space-between; }
.stg-otp-box {
  flex: 1;
  aspect-ratio: 1 / 1;
  max-width: 4rem;
  background: #000;
  border: 1.5px solid var(--border);
  border-radius: 0.7rem;
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.stg-otp-box:focus,
.stg-otp-box.stg-keypad-active { border-color: var(--green); }
.stg-otp-box--err { border-color: #ff6b6b; }
/* Custom keypad drives inputs without native focus → fake the caret/highlight. */
.stg-field__input.stg-keypad-active { box-shadow: inset 2px 0 0 var(--green); }

.stg-error { color: #ff6b6b; font-size: 0.82rem; min-height: 1.1rem; margin: 0.6rem 0 0.85rem; }
.stg-drawer .stg-cta { margin-top: 0.25rem; }
.stg-trust { color: var(--muted); font-size: 0.8rem; text-align: center; margin-top: 0.9rem; }

/* Lift the drawer above the Meta custom keypad when it's open. */
.stg-drawer { margin-bottom: var(--meta-keypad-height, 0px); transition: margin-bottom 0.22s ease-out; }

/* ── Meta in-app custom numeric keypad ────────────────────────────────────── */
.stg-keypad {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  height: 14rem;
  padding: 0.75rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
  background: var(--panel-2);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.22s ease-out;
}
.stg-keypad--open { transform: translateY(0); }
.stg-keypad__key {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.6rem;
  background: #262626;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.stg-keypad__key:active { background: #333; }

/* ── Already-subscribed full-page modal ───────────────────────────────────── */
.stg-fullmodal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  animation: stg-fade-in 0.25s ease-out;
}
@keyframes stg-fade-in { from { opacity: 0; } to { opacity: 1; } }
.stg-fullmodal__content {
  width: 100%;
  max-width: 22rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.stg-fullmodal__icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  font-weight: 700;
  animation: stg-pop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
@keyframes stg-pop { from { transform: scale(0); } to { transform: scale(1); } }
.stg-fullmodal__title { font-size: 1.5rem; font-weight: 700; }
.stg-fullmodal__sub { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.stg-fullmodal .stg-cta { max-width: 18rem; margin-top: 0.5rem; }
.stg-fullmodal__timer { color: var(--muted); font-size: 0.85rem; margin-top: 0.25rem; }
.stg-fullmodal__timer b { color: #fff; }

/* ── Checkout ─────────────────────────────────────────────────────────────── */
.stg-checkout { flex: 1; padding: 1.25rem; display: flex; flex-direction: column; gap: 1.25rem; }
.stg-logo { height: 1.6rem; width: auto; align-self: flex-start; }

.stg-plan-card {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  overflow: hidden;
}
.stg-plan-card__head { background: var(--panel-2); padding: 1rem; }
.stg-plan-card__title { font-size: 1.3rem; font-weight: 700; }
.stg-plan-card__valid { color: var(--muted); font-size: 0.85rem; margin-top: 0.25rem; }
.stg-plan-card__body { padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.stg-row { display: flex; justify-content: space-between; align-items: center; }
.stg-row strong { font-weight: 700; }
.stg-row .stg-gold { color: var(--gold); }
.stg-divider { height: 1px; background: var(--border); }
.stg-plan-note { color: var(--muted); font-size: 0.82rem; line-height: 1.5; }

.stg-section-title { font-weight: 700; margin-bottom: 0.5rem; }
#stg-payment-options { display: flex; flex-direction: column; gap: 0.6rem; }

.stg-payopt {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.85rem;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
}
.stg-payopt__left { display: flex; align-items: center; gap: 0.65rem; }
.stg-payopt__icon { width: 28px; height: 28px; object-fit: contain; }
.stg-payopt__name { font-weight: 700; font-size: 0.95rem; }
.stg-payopt__tag { color: var(--green); font-size: 0.78rem; }
.stg-payopt__arrow { color: var(--muted); font-size: 1.4rem; }
.stg-payopt:active { border-color: var(--green); }

.stg-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* ── Payment loader ───────────────────────────────────────────────────────── */
.stg-payloader { text-align: center; padding: 2rem; max-width: 320px; }
.stg-payloader p { margin-top: 1.25rem; color: #fff; font-size: 1.05rem; line-height: 1.5; }
.stg-spinner {
  width: 2.75rem; height: 2.75rem; margin: 0 auto;
  border: 0.3rem solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: stg-spin 0.9s linear infinite;
}
@keyframes stg-spin { to { transform: rotate(360deg); } }

/* ── Result pages (success / fail) ────────────────────────────────────────── */
.stg-result {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  gap: 1rem;
}
.stg-result__badge {
  width: 5rem; height: 5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: #fff;
}
.stg-result__badge--ok { background: var(--green); }
.stg-result__badge--fail { background: #c0392b; }
.stg-result__title { font-size: 1.5rem; font-weight: 700; }
.stg-result__sub { color: var(--muted); line-height: 1.5; }
.stg-result .stg-cta { max-width: 300px; margin-top: 0.5rem; }

/* ── Content-led Duo payment success ─────────────────────────────────────── */
#view-success .stg-success-duo-new {
  flex: none;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  gap: 0;
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
  background: #000;
  color: #fff;
  font-family: "Bricolage Grotesque", "Noto Sans Devanagari", sans-serif;
}
.stg-duo-new__header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 64px;
  padding: 12px 20px;
  background: linear-gradient(90deg, rgba(37,176,88,.16), rgba(37,176,88,.06));
  border-bottom: 1px solid rgba(37,176,88,.2);
  color: #fff;
}
.stg-duo-new__success { display: flex; align-items: center; gap: 12px; }
.stg-duo-new__success i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: #25b058;
}
.stg-duo-new__success svg { width: 20px; height: 20px; stroke: #000; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stg-duo-new__success strong { display: block; font-size: 14px; line-height: 1.5; font-weight: 600; }
.stg-duo-new__success small { display: block; color: #e3e3e3; font-size: 12px; line-height: 1.5; }
.stg-duo-new__main { display: flex; flex: 1; min-height: 0; flex-direction: column; gap: 12px; padding: 0 0 8px; overflow-y: auto; overscroll-behavior-y: contain; }
.stg-duo-new__main > * { flex-shrink: 0; }
.stg-duo-new__intro p { color: #e3e3e3; font-size: 12px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.stg-duo-new__intro h1 { font-size: 28px; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; white-space: pre-line; }
.stg-duo-new__content { position: relative; overflow: hidden; margin: 0 20px; border: 1px solid #2a2a2a; border-radius: 12px; background: #1a1a1a; }
.stg-duo-new__media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #1a1a1a; }
.stg-duo-new__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.34); opacity: 0; }
.stg-duo-new__media.has-preview video { opacity: 1; }
.stg-duo-new__fallback { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 60px; }
.stg-duo-new__fallback img { width: 48px; height: 48px; border-radius: 12px; }
.stg-duo-new__fallback strong { font-size: 20px; text-align: center; overflow-wrap: anywhere; }
.stg-duo-new__collage { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stg-duo-new__preview-handoff { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.stg-duo-new__preview-handoff:disabled { cursor: wait; }
.stg-duo-new__preview-handoff:focus-visible { outline: 3px solid #25b058; outline-offset: -4px; }
.stg-duo-new__player-controls { position: absolute; inset: auto 0 0; z-index: 2; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px 0 12px; background: linear-gradient(transparent, rgba(0,0,0,.9)); pointer-events: none; }
.stg-duo-new__player-controls:not(:has(.stg-duo-new__preview-label:not([hidden]))) { display: none; }
.stg-duo-new__preview-label { flex: 1; min-width: 0; color: #fff; font-size: 12px; line-height: 1.5; font-weight: 600; }
.stg-duo-new__preview-toggle { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; pointer-events: auto; }
.stg-duo-new__preview-toggle:active { background: #2a2a2a; }
.stg-duo-new__preview-toggle svg { width: 20px; height: 20px; }
.stg-duo-new__preview-toggle[hidden], .stg-duo-new__preview-label[hidden] { display: none; }
.stg-duo-new__creators { position: relative; min-width: 0; overflow: hidden; background: #000; }
.stg-duo-new__portrait { display: block; width: 100%; height: 320px; height: min(40dvh, 352px); object-fit: cover; object-position: center top; mask-image: linear-gradient(#000 64%, transparent 100%); }
.stg-duo-new__creators > div { position: relative; margin-top: -64px; padding: 0 20px; min-width: 0; text-align: center; }
.stg-duo-new__benefits { margin: auto 20px 0; }
.stg-duo-new__benefits h2 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.stg-duo-new__benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px 0; list-style: none; }
.stg-duo-new__benefit-grid li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 4px; text-align: center; }
.stg-duo-new__benefit-grid li + li { border-left: 1px solid #2a2a2a; }
.stg-duo-new__benefit-grid li > div { min-width: 0; }
.stg-duo-new__benefit-grid strong { display: block; color: #fff; font-size: 12px; line-height: 1.5; font-weight: 600; }
.stg-duo-new__benefit-grid p { display: none; }
.stg-duo-new__benefit-icon { display: grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; color: #fff; }
.stg-duo-new__benefit-icon b { border: 1px solid currentColor; border-radius: 4px; padding: 0 2px; font-size: 12px; line-height: 1.5; }
.stg-duo-new__benefit-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.stg-duo-new__footer { flex-shrink: 0; padding: 12px 20px max(12px, env(safe-area-inset-bottom)); background: #1a1a1a; border-top: 1px solid #2a2a2a; border-radius: 16px 16px 0 0; }
.stg-duo-new__app-identity { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.stg-duo-new__app-identity > img { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 8px; }
.stg-duo-new__app-identity > div { min-width: 0; }
.stg-duo-new__app-identity strong { display: block; font-size: 16px; line-height: 1.5; font-weight: 700; }
.stg-duo-new__reassurance { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 8px; color: #e3e3e3; font-size: 12px; line-height: 1.5; text-align: center; }
.stg-duo-new__reassurance > svg { flex: 0 0 16px; width: 16px; height: 16px; stroke: #25b058; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stg-duo-new__primary { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 14px 16px; border: 0; border-radius: 12px; background: #fff; color: #000; font: inherit; font-size: 16px; line-height: 1.4; font-weight: 700; cursor: pointer; overflow-wrap: anywhere; }
.stg-duo-new__primary > svg { flex: 0 0 20px; width: 20px; height: 20px; }
.stg-duo-new__primary:active { background: #e3e3e3; }
.stg-duo-new__primary > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stg-duo-new__primary:disabled { background: #e3e3e3; color: #454545; cursor: wait; }
.stg-duo-new__primary:focus-visible, .stg-duo-new__preview-toggle:focus-visible { outline: 3px solid #25b058; outline-offset: 4px; }
.stg-duo-new__store-hint { font-size: 12px; line-height: 1.5; color: #e3e3e3; }
@media (max-height: 720px) {
  .stg-duo-new__header { padding: 8px 16px; }
  .stg-duo-new__main { gap: 8px; }
  .stg-duo-new__content { display: flex; align-items: center; margin: 0 16px; }
  .stg-duo-new__media { flex: 0 0 50%; width: 50%; }
  .stg-duo-new__player-controls { position: static; flex: 1; padding: 8px; background: none; }
  .stg-duo-new__content:not(:has(.stg-duo-new__preview-label:not([hidden]))) .stg-duo-new__media { flex-basis: 100%; width: 100%; }
  .stg-duo-new__fallback { padding: 8px; }
  .stg-duo-new__fallback img { width: 32px; height: 32px; }
  .stg-duo-new__fallback strong { font-size: 14px; }
  .stg-duo-new__benefits { margin-right: 16px; margin-left: 16px; }
  .stg-duo-new__footer { padding: 12px 16px max(12px, env(safe-area-inset-bottom)); }
}
@media (max-height: 480px) {
  #view-success .stg-success-duo-new { height: auto; min-height: 100dvh; overflow: visible; }
  .stg-duo-new__main { overflow: visible; }
}

/* ── Payment-success app-install experiment ──────────────────────────────── */
#view-success .stg-success-experiment {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  gap: 0;
  justify-content: flex-start;
  align-items: stretch;
  background: #000000;
  color: #FFFFFF;
  text-align: left;
  font-family: "Bricolage Grotesque", "Noto Sans Devanagari", sans-serif;
  overflow: hidden;
}
@keyframes stg-success-stage-collapse {
  0%, 70% { height: 100vh; height: 100dvh; border-radius: 0; }
  100% { height: 46vh; height: 46dvh; border-radius: 0 0 24px 24px; }
}
@keyframes stg-success-stage-collapse-compact {
  0%, 70% { height: 100vh; height: 100dvh; border-radius: 0; }
  100% { height: 52vh; height: 52dvh; border-radius: 0 0 24px 24px; }
}
@keyframes stg-success-pop {
  0% { opacity: 0; transform: scale(.64); }
  64% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes stg-success-draw {
  from { stroke-dashoffset: 24; }
  to { stroke-dashoffset: 0; }
}
@keyframes stg-success-content-reveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes stg-success-copy-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes stg-success-benefit-reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
#view-success .stg-success-experiment__success-stage {
  height: 100vh;
  height: 100dvh;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  background: #25B058;
  overflow: hidden;
  animation: stg-success-stage-collapse 4200ms cubic-bezier(.4,0,.2,1) both;
}
#view-success .stg-success-experiment__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(16px, env(safe-area-inset-top)) 16px 16px;
}
#view-success .stg-success-experiment__header img {
  width: 88px;
  height: auto;
  display: block;
}
#view-success .stg-success-experiment__main {
  height: 54vh;
  height: 54dvh;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 16px 16px max(136px, calc(env(safe-area-inset-bottom) + 128px));
  scrollbar-width: none;
  animation: stg-success-content-reveal 400ms ease-out 3700ms both;
}
#view-success .stg-success-experiment__main::-webkit-scrollbar { display: none; }
#view-success .stg-success-experiment__confirmation {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px 24px;
  text-align: center;
}
#view-success .stg-success-experiment__check {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
  animation: stg-success-pop 560ms cubic-bezier(.2,.8,.2,1) 120ms both;
}
#view-success .stg-success-experiment__check svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #25B058;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#view-success .stg-success-experiment__check path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: stg-success-draw 400ms ease-out 360ms forwards;
}
#view-success .stg-success-experiment__success-title {
  margin: 0;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
}
#view-success .stg-success-experiment__success-sub {
  margin: 4px 0 0;
  color: #E3E3E3;
  font-size: 14px;
  line-height: 20px;
}
#view-success .stg-success-experiment__benefits {
  width: 100%;
  max-width: 360px;
  margin: 24px auto 0;
  display: grid;
  gap: 16px;
  list-style: none;
  text-align: left;
}
#view-success .stg-success-experiment__benefits li {
  min-width: 0;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  opacity: 0;
  animation: stg-success-benefit-reveal 420ms cubic-bezier(.2,.8,.2,1) forwards;
}
#view-success .stg-success-experiment__benefits li:nth-child(1) { animation-delay: 800ms; }
#view-success .stg-success-experiment__benefits li:nth-child(2) { animation-delay: 1550ms; }
#view-success .stg-success-experiment__benefits li:nth-child(3) { animation-delay: 2300ms; }
#view-success .stg-success-experiment__benefits i {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #FFFFFF;
  color: #25B058;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}
#view-success .stg-success-experiment__randeep-promo {
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #111111;
  cursor: pointer;
}
#view-success .stg-success-experiment__randeep-promo img {
  width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}
#view-success .stg-success-experiment__randeep-promo:active { transform: scale(.99); }
#view-success .stg-success-experiment__randeep-promo:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 4px;
}
#view-success .stg-success-experiment__watch-card {
  position: relative;
  width: 100%;
  height: 160px;
  min-height: 160px;
  display: block;
  overflow: hidden;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  background: #1A1A1A;
  color: #FFFFFF;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
}
#view-success .stg-success-experiment__watch-card:active { transform: scale(.99); }
#view-success .stg-success-experiment__watch-card:disabled { cursor: default; }
#view-success .stg-success-experiment__preview {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 240ms ease-out;
}
#view-success .stg-success-experiment--preview-ready .stg-success-experiment__preview { opacity: 1; }
#view-success .stg-success-experiment__scrim {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.66) 52%, rgba(0,0,0,.18) 100%), linear-gradient(0deg, rgba(0,0,0,.64), transparent 58%);
}
#view-success .stg-success-experiment__watch-copy {
  position: absolute;
  left: 16px;
  right: 72px;
  bottom: 16px;
  display: block;
}
#view-success .stg-success-experiment__eyebrow {
  margin: 0;
  display: block;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}
#view-success .stg-success-experiment__watch-copy strong,
#view-success .stg-success-experiment__watch-copy em {
  display: block;
  font-style: normal;
}
#view-success .stg-success-experiment__watch-copy strong {
  margin-top: 4px;
  overflow: hidden;
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-success .stg-success-experiment__watch-copy em {
  margin-top: 2px;
  overflow: hidden;
  color: #E3E3E3;
  font-size: 12px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-success .stg-success-experiment__play {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(0,0,0,.56);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}
#view-success .stg-success-experiment__play svg {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
}
#view-success .stg-success-experiment__social-proof {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #FFFFFF;
  text-align: center;
}
#view-success .stg-success-experiment__social-proof > i {
  width: 1px;
  height: 28px;
  background: #2A2A2A;
}
#view-success .stg-success-experiment__social-proof span,
#view-success .stg-success-experiment__social-proof strong,
#view-success .stg-success-experiment__social-proof small {
  display: block;
}
#view-success .stg-success-experiment__social-proof strong {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  font-variant-numeric: tabular-nums;
}
#view-success .stg-success-experiment__social-proof small {
  margin-top: 4px;
  color: #888888;
  font-size: 10px;
  line-height: 12px;
}
#view-success .stg-success-experiment__value {
  padding: 16px;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  background: #1A1A1A;
}
#view-success .stg-success-experiment__value > header,
#view-success .stg-success-experiment__value > header strong,
#view-success .stg-success-experiment__value > header small,
#view-success .stg-success-experiment__value-grid article span,
#view-success .stg-success-experiment__value-grid article strong,
#view-success .stg-success-experiment__value-grid article small {
  display: block;
}
#view-success .stg-success-experiment__value > header strong {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}
#view-success .stg-success-experiment__value > header small {
  margin-top: 2px;
  color: #888888;
  font-size: 11px;
  line-height: 16px;
}
#view-success .stg-success-experiment__value-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
#view-success .stg-success-experiment__value-grid article {
  min-height: 72px;
  padding: 10px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  background: #222222;
}
#view-success .stg-success-experiment__value-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #2A2A2A;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
}
#view-success .stg-success-experiment__value-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#view-success .stg-success-experiment__value-icon svg path:first-child:last-child[d^="m9"] {
  fill: currentColor;
  stroke: none;
}
#view-success .stg-success-experiment__value-grid article span {
  min-width: 0;
}
#view-success .stg-success-experiment__value-grid article strong {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}
#view-success .stg-success-experiment__value-grid article small {
  margin-top: 2px;
  color: #888888;
  font-size: 10px;
  line-height: 12px;
}
#view-success .stg-success-experiment__actions {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px 16px max(8px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(0,0,0,0), #000000 22px, #000000 100%);
  animation: stg-success-copy-reveal 320ms ease-out 3900ms both;
}
@media (max-height: 720px) {
  #view-success .stg-success-experiment__success-stage {
    animation-name: stg-success-stage-collapse-compact;
  }
  #view-success .stg-success-experiment__main { height: 48vh; height: 48dvh; }
  #view-success .stg-success-experiment__header { padding: max(8px, env(safe-area-inset-top)) 16px 8px; }
  #view-success .stg-success-experiment__header img { width: 72px; }
  #view-success .stg-success-experiment__confirmation { padding: 0 16px 8px; }
  #view-success .stg-success-experiment__check { width: 56px; height: 56px; margin-bottom: 8px; }
  #view-success .stg-success-experiment__check svg { width: 28px; height: 28px; }
  #view-success .stg-success-experiment__success-title { line-height: 24px; }
  #view-success .stg-success-experiment__success-sub { margin-top: 2px; font-size: 12px; line-height: 16px; }
  #view-success .stg-success-experiment__benefits { margin-top: 14px; gap: 10px; }
  #view-success .stg-success-experiment__benefits li { font-size: 13px; line-height: 17px; }
  #view-success .stg-success-experiment__main { gap: 8px; padding-top: 10px; }
  #view-success .stg-success-experiment__watch-card { height: 128px; min-height: 128px; }
  #view-success .stg-success-experiment__value { padding: 12px; }
  #view-success .stg-success-experiment__value-grid { margin-top: 8px; }
  #view-success .stg-success-experiment__value-grid article { min-height: 64px; padding: 8px; gap: 8px; }
}
#view-success .stg-success-experiment__primary {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  font-family: inherit;
  cursor: pointer;
}
#view-success .stg-success-experiment__primary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 8px 16px;
  background: #FFFFFF;
  color: #000000;
  text-align: center;
}
#view-success .stg-success-experiment__primary span,
#view-success .stg-success-experiment__primary strong,
#view-success .stg-success-experiment__primary small {
  display: block;
}
#view-success .stg-success-experiment__primary strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}
#view-success .stg-success-experiment__primary small {
  margin-top: 2px;
  color: #555555;
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
}
#view-success .stg-success-experiment__primary:active { transform: translateY(1px); }
#view-success .stg-success-experiment__primary:disabled { opacity: .64; cursor: default; }
@media (hover: hover) {
  #view-success .stg-success-experiment__primary:hover { background: #E3E3E3; }
}
#view-success .stg-success-experiment__primary:focus-visible,
#view-success .stg-success-experiment__watch-card:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  #view-success .stg-success-experiment__success-stage,
  #view-success .stg-success-experiment__main,
  #view-success .stg-success-experiment__check,
  #view-success .stg-success-experiment__check path,
  #view-success .stg-success-experiment__benefits li,
  #view-success .stg-success-experiment__actions,
  #view-success .stg-success-experiment__preview {
    animation: none;
    transition: none;
  }
  #view-success .stg-success-experiment__success-stage { height: 46vh; height: 46dvh; border-radius: 0 0 24px 24px; }
  #view-success .stg-success-experiment__benefits li { opacity: 1; transform: none; }
  #view-success .stg-success-experiment__check path { stroke-dashoffset: 0; }
  #view-success .stg-success-experiment__primary:active,
  #view-success .stg-success-experiment__watch-card:active { transform: none; }
}

/* ── Payment-success Saathi variant (isolated from app_install) ──────────── */
#view-success .stg-success-saathi {
  --saathi-line: rgba(255,255,255,.1);
  --saathi-green: #248b3b;
  --saathi-gold: #ffbc35;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  gap: 0;
  justify-content: flex-start;
  align-items: stretch;
  overflow-x: hidden;
  background: #09090a;
  color: #f6f6f7;
  text-align: left;
  font-family: Inter, "Noto Sans Devanagari", system-ui, sans-serif;
}
#view-success .stg-success-saathi__confirmation {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: max(14px, env(safe-area-inset-top)) 20px 14px;
  border-bottom: 1px solid var(--saathi-line);
  background: #111113;
}
#view-success .stg-success-saathi__check {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2b9b4a;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 0 0 6px rgba(43,155,74,.12);
}
#view-success .stg-success-saathi__success-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}
#view-success .stg-success-saathi__success-sub {
  margin: 3px 0 0;
  color: #8b8b91;
  font-size: 13px;
  line-height: 1.3;
}
#view-success .stg-success-saathi__body {
  display: grid;
  gap: 12px;
  padding: 16px 20px max(10px, calc(env(safe-area-inset-bottom) + 6px));
}
#view-success .stg-success-saathi__intro h2 {
  margin: 0;
  color: #f6f6f7;
  font-size: clamp(25px, 7vw, 31px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}
#view-success .stg-success-saathi__intro p {
  max-width: 340px;
  margin: 8px 0 0;
  color: #9a9aa0;
  font-size: 14px;
  line-height: 1.45;
}
#view-success .stg-success-saathi__showcase {
  overflow: hidden;
  border: 1px solid var(--saathi-line);
  border-radius: 20px;
  background: #0d0d0f;
}
#view-success .stg-success-saathi__store-card {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--saathi-line);
  background: #151517;
}
#view-success .stg-success-saathi__app-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
#view-success .stg-success-saathi__app-row > img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
#view-success .stg-success-saathi__app-row strong,
#view-success .stg-success-saathi__app-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-success .stg-success-saathi__app-row strong {
  font-size: 16px;
  font-weight: 850;
}
#view-success .stg-success-saathi__app-row span {
  margin-top: 2px;
  color: #85858b;
  font-size: 12px;
}
#view-success .stg-success-saathi__store-name {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(42,157,63,.4);
  border-radius: 999px;
  background: rgba(42,157,63,.09);
  color: #63c977;
  font-size: 11px;
  font-weight: 750;
}
#view-success .stg-success-saathi__randeep-showcase {
  margin: 0;
  overflow: hidden;
  background: #111111;
}
#view-success .stg-success-saathi__randeep-showcase img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
#view-success .stg-success-saathi__listing-heading {
  padding: 11px 16px 8px;
}
#view-success .stg-success-saathi__listing-heading strong {
  color: #e9e9eb;
  font-size: 13px;
  font-weight: 800;
}
#view-success .stg-success-saathi__visual {
  position: relative;
  height: 360px;
  overflow: hidden;
  isolation: isolate;
}
#view-success .stg-success-saathi__glow {
  position: absolute;
  left: -8%;
  top: 5%;
  z-index: 0;
  width: 72%;
  height: 92%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(237,23,68,.28), rgba(129,9,34,.09) 52%, transparent 74%);
  filter: blur(16px);
}
#view-success .stg-success-saathi__portrait {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #070708;
}
#view-success .stg-success-saathi__portrait--main {
  left: 5.5%;
  top: 3%;
  z-index: 10;
  width: 51.5%;
  height: 94%;
  border: 1.5px solid rgba(237,53,85,.58);
  transform: rotate(-3deg);
  transform-origin: 54% 78%;
  box-shadow: 0 20px 42px rgba(0,0,0,.72), 0 0 30px rgba(237,23,68,.16);
}
#view-success .stg-success-saathi__portrait--rear {
  left: 28%;
  top: 9%;
  z-index: 5;
  width: 58%;
  height: 82%;
  border: 1px solid rgba(237,53,85,.26);
  opacity: .63;
  transform: rotate(3.5deg);
  transform-origin: 48% 72%;
  box-shadow: 0 18px 34px rgba(0,0,0,.72), 0 0 26px rgba(237,23,68,.11);
}
#view-success .stg-success-saathi__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 68%;
}
#view-success .stg-success-saathi__portrait--main img {
  transform: scale(1.1);
}
#view-success .stg-success-saathi__portrait--rear img {
  filter: blur(2px) brightness(.58) saturate(.72);
  transform: scale(1.12);
}
#view-success .stg-success-saathi__reviews {
  position: absolute;
  right: 3.5%;
  top: 24%;
  z-index: 20;
  width: 48%;
  display: grid;
  gap: 10px;
}
#view-success .stg-success-saathi__review {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(27,27,31,.96);
  box-shadow: 0 12px 24px rgba(0,0,0,.48);
}
#view-success .stg-success-saathi__reviewer {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding-right: 49px;
}
#view-success .stg-success-saathi__review--unverified .stg-success-saathi__reviewer { padding-right: 0; }
#view-success .stg-success-saathi__avatar {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #7a421c, #d18a4c);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
#view-success .stg-success-saathi__review:nth-child(2) .stg-success-saathi__avatar { background: linear-gradient(145deg, #31543e, #79a875); }
#view-success .stg-success-saathi__reviewer strong,
#view-success .stg-success-saathi__reviewer small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-success .stg-success-saathi__reviewer strong { font-size: 12px; font-weight: 800; }
#view-success .stg-success-saathi__reviewer small { margin-top: 1px; color: #93939a; font-size: 9px; }
#view-success .stg-success-saathi__reviewer em {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 3px 5px;
  border-radius: 999px;
  background: rgba(30,144,70,.16);
  color: #59cf7d;
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}
#view-success .stg-success-saathi__stars {
  display: block;
  margin-top: 7px;
  color: var(--saathi-gold);
  font-size: 12px;
  letter-spacing: .03em;
}
#view-success .stg-success-saathi__review q {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 4px;
  color: #e3e3e5;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  quotes: "“" "”";
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
#view-success .stg-success-saathi__metrics {
  min-height: 72px;
  display: grid;
  grid-template-columns: .85fr 1fr 1.4fr;
  align-items: center;
  border-top: 1px solid var(--saathi-line);
  background: #111113;
}
#view-success .stg-success-saathi__metrics > div {
  min-width: 0;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 0 4px;
  padding: 8px;
  text-align: center;
}
#view-success .stg-success-saathi__metrics > div + div { border-left: 1px solid var(--saathi-line); }
#view-success .stg-success-saathi__metrics strong { color: #f3f3f4; font-size: 16px; font-weight: 800; line-height: 1; }
#view-success .stg-success-saathi__metrics > div > span { color: var(--saathi-gold); font-size: 13px; }
#view-success .stg-success-saathi__metrics small { grid-column: 1 / 3; margin-top: 5px; color: #77777d; font-size: 9px; line-height: 1.2; }
#view-success .stg-success-saathi__actions { display: grid; gap: 2px; }
#view-success .stg-success-saathi__primary {
  width: 100%;
  border: 0;
  border-radius: 16px;
  font-family: inherit;
  cursor: pointer;
}
#view-success .stg-success-saathi__primary {
  min-height: 52px;
  padding: 12px 16px;
  background: linear-gradient(90deg, #18b94d, var(--saathi-green));
  color: #fff;
  box-shadow: 0 11px 29px rgba(36,139,59,.22);
  font-size: 16px;
  font-weight: 800;
}
#view-success .stg-success-saathi__primary:disabled { opacity: .72; cursor: default; }
#view-success .stg-success-saathi__primary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 360px) {
  #view-success .stg-success-saathi__body { padding-left: 16px; padding-right: 16px; }
  #view-success .stg-success-saathi__store-card { padding: 12px; }
  #view-success .stg-success-saathi__store-name { display: none; }
  #view-success .stg-success-saathi__visual { height: 350px; }
  #view-success .stg-success-saathi__portrait--main { width: 52.5%; }
  #view-success .stg-success-saathi__portrait--rear { left: 28%; width: 59%; }
  #view-success .stg-success-saathi__reviews { right: 2.5%; width: 50%; }
  #view-success .stg-success-saathi__review { padding: 9px; }
  #view-success .stg-success-saathi__review q { font-size: 10px; }
  #view-success .stg-success-saathi__metrics small { white-space: normal; }
}

/* ── Neeraj payment-success supplied full-screen creative ──────────────── */
#view-success .stg-success-neeraj-image,
#view-success .stg-success-duo-image {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  max-height: 100vh;
  max-height: 100dvh;
  flex: 0 0 100vh;
  flex-basis: 100dvh;
  padding: 0;
  display: block;
  overflow: hidden;
  background: #000000;
}
#view-success .stg-success-neeraj-image__viewport,
#view-success .stg-success-duo-image__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000000;
}
#view-success .stg-success-neeraj-image__viewport > img,
#view-success .stg-success-duo-image__viewport > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
}
#view-success .stg-success-image__cta-layer {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(100%, calc(100dvh * 840 / 1736));
  aspect-ratio: 840 / 1736;
  transform: translate(-50%, -50%);
  pointer-events: none;
  container-type: inline-size;
}
#view-success .stg-success-image__metrics {
  position: absolute;
  right: 3.8%;
  left: 3.8%;
  height: 8%;
  display: grid;
  grid-template-columns: .78fr .92fr 1.5fr;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 0 0 4cqw 4cqw;
  background: #090909;
  color: #FFFFFF;
  pointer-events: none;
}
#view-success .stg-success-image__metrics > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7cqw;
  padding: 1.1cqw .7cqw;
  text-align: center;
}
#view-success .stg-success-image__metrics > span + span {
  border-left: 1px solid rgba(255,255,255,.14);
}
#view-success .stg-success-image__metrics strong {
  font-size: 4cqw;
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
}
#view-success .stg-success-image__metrics small {
  color: #A6A6A6;
  font-size: 2.45cqw;
  line-height: 1.15;
}
#view-success .stg-success-neeraj-image .stg-success-image__metrics,
#view-success .stg-success-randeep-sequence .stg-success-image__metrics {
  top: 64.4%;
}
#view-success .stg-success-duo-image .stg-success-image__metrics {
  top: 63.6%;
}
#view-success .stg-success-neeraj-image__cta,
#view-success .stg-success-duo-image__cta {
  position: absolute;
  z-index: 2;
  right: 3.8%;
  left: 3.8%;
  height: 5.7%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #24965F, #31B874 55%, #289F62);
  color: #FFFFFF;
  cursor: pointer;
  pointer-events: auto;
  font: inherit;
  font-size: 4.2cqw;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow: 0 10px 28px rgba(37,166,101,.18);
}
#view-success .stg-success-neeraj-image__cta {
  bottom: 4.5%;
}
#view-success .stg-success-duo-image__cta {
  bottom: 5.1%;
}
#view-success .stg-success-neeraj-image__cta:focus-visible,
#view-success .stg-success-duo-image__cta:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: -4px;
}

/* ── Randeep payment-success image sequence ─────────────────────────────── */
#view-success .stg-success-randeep-sequence {
  position: fixed;
  inset: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  background: #111111;
}
#view-success .stg-success-randeep-sequence__viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #111111;
}
#view-success .stg-success-randeep-sequence__frame {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #111111;
}
#view-success .stg-success-randeep-sequence .stg-success-image__metrics {
  opacity: 0;
  transition: opacity 120ms ease;
}
#view-success .stg-success-randeep-sequence.is-final .stg-success-image__metrics {
  opacity: 1;
}
#view-success .stg-success-randeep-sequence__cta {
  position: absolute;
  right: 3.8%;
  bottom: 6.4%;
  left: 3.8%;
  height: 5.7%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #24965F, #31B874 55%, #289F62);
  color: #FFFFFF;
  cursor: pointer;
  pointer-events: auto;
  font: inherit;
  font-size: 4.2cqw;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow: 0 10px 28px rgba(37,166,101,.18);
}
#view-success .stg-success-randeep-sequence__cta:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: -4px;
}

/* ── Premium creator payment-success shell ──────────────────────────────── */
#view-success .stg-success-premium,
#view-success .stg-success-premium *,
#view-success .stg-success-premium *::before,
#view-success .stg-success-premium *::after { box-sizing: border-box; }

#view-success .stg-success-premium {
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: stretch;
  justify-items: stretch;
  justify-content: stretch;
  gap: 0;
  overflow: hidden;
  background: #000000;
  color: #FFFFFF;
  text-align: left;
  font-family: "Bricolage Grotesque", "Noto Sans Devanagari", sans-serif;
}

#view-success .stg-success-premium__header {
  position: relative;
  z-index: 10;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(12px, env(safe-area-inset-top)) 16px 12px;
  border-bottom: 1px solid #1A1A1A;
  background: #000000;
}

#view-success .stg-success-premium__logo {
  width: 80px;
  height: auto;
  display: block;
}

#view-success .stg-success-premium__confirmation {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

#view-success .stg-success-premium__check {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25B058;
  color: #FFFFFF;
}

#view-success .stg-success-premium__check svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#view-success .stg-success-premium__confirmation > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

#view-success .stg-success-premium__confirmation strong,
#view-success .stg-success-premium__confirmation small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#view-success .stg-success-premium__confirmation strong {
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

#view-success .stg-success-premium__confirmation small {
  color: #888888;
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
}

#view-success .stg-success-premium__main,
#view-success .stg-success-premium__hero {
  min-height: 0;
  height: 100%;
}

#view-success .stg-success-premium__main { overflow: hidden; }

#view-success .stg-success-premium__hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #000000;
}

#view-success .stg-success-premium__visual {
  position: absolute;
  z-index: 0;
  inset: 0 0 64px;
  overflow: hidden;
  background: #000000;
}

#view-success .stg-success-premium__portrait {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}

#view-success .stg-success-premium__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  animation: stg-success-premium-image-in 420ms ease-out both;
}

#view-success .stg-success-premium--neeraj .stg-success-premium__portrait img { object-position: 64% 50%; }
#view-success .stg-success-premium--install .stg-success-premium__portrait img { transform: translateY(24px); }
#view-success .stg-success-premium--randeep .stg-success-premium__portrait img {
  object-position: 64% 50%;
  transform: translateY(24px);
}

#view-success .stg-success-premium__copy {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 16px;
  max-width: 280px;
  animation: stg-success-premium-copy-in 320ms ease-out both;
}

#view-success .stg-success-premium__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #E3E3E3;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: .08em;
}

#view-success .stg-success-premium__eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  flex: 0 0 24px;
  background: #C60C0C;
}

#view-success .stg-success-premium__copy h1 {
  max-width: 280px;
  margin: 12px 0 0;
  color: #FFFFFF;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.025em;
  text-wrap: balance;
}

#view-success .stg-success-premium__copy p {
  max-width: 260px;
  margin: 12px 0 0;
  color: #E3E3E3;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-wrap: balance;
}

#view-success .stg-success-premium[lang="hi"] .stg-success-premium__copy h1 { line-height: 1.16; }
#view-success .stg-success-premium[lang="hi"] .stg-success-premium__copy p { line-height: 22px; }

#view-success .stg-success-premium__content-cue {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid #1A1A1A;
  background: #000000;
}

#view-success .stg-success-premium__content-cue > i {
  width: 2px;
  height: 32px;
  flex: 0 0 2px;
  background: #C60C0C;
}

#view-success .stg-success-premium__content-cue > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

#view-success .stg-success-premium__content-cue small,
#view-success .stg-success-premium__content-cue strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#view-success .stg-success-premium__content-cue small {
  color: #888888;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
  letter-spacing: .08em;
}

#view-success .stg-success-premium__content-cue strong {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

#view-success .stg-success-premium--install .stg-success-premium__visual { bottom: 128px; }

#view-success .stg-success-premium__install-cue {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 128px;
  display: grid;
  grid-template-rows: 64px 64px;
  border-top: 1px solid #1A1A1A;
  background: #000000;
}

#view-success .stg-success-premium__install-app {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
}

#view-success .stg-success-premium__install-app > img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 12px;
}

#view-success .stg-success-premium__install-app > span {
  min-width: 0;
  flex: 1;
}

#view-success .stg-success-premium__install-app small,
#view-success .stg-success-premium__install-app strong,
#view-success .stg-success-premium__install-app em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#view-success .stg-success-premium__install-app small {
  color: #888888;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
}

#view-success .stg-success-premium__install-app strong {
  margin-top: 2px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

#view-success .stg-success-premium__install-app em {
  color: #E3E3E3;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 12px;
}

#view-success .stg-success-premium__install-app > b {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  background: #1A1A1A;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
}

#view-success .stg-success-premium__install-metrics {
  min-height: 64px;
  display: grid;
  grid-template-columns: .8fr 1fr 1.4fr;
  align-items: stretch;
  border-top: 1px solid #1A1A1A;
}

#view-success .stg-success-premium__install-metrics > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
}

#view-success .stg-success-premium__install-metrics > span + span { border-left: 1px solid #1A1A1A; }

#view-success .stg-success-premium__install-metrics strong,
#view-success .stg-success-premium__install-metrics small { display: block; }

#view-success .stg-success-premium__install-metrics strong {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  font-variant-numeric: tabular-nums;
}

#view-success .stg-success-premium__install-metrics small {
  margin-top: 4px;
  color: #888888;
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
}

#view-success .stg-success-premium--duo .stg-success-premium__visual { top: 96px; }
#view-success .stg-success-premium--duo .stg-success-premium__portrait img {
  object-position: 50% 32%;
  transform: scale(1.08);
  transform-origin: 50% 32%;
}

#view-success .stg-success-premium__actions {
  position: relative;
  z-index: 10;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid #1A1A1A;
  background: #000000;
}

#view-success .stg-success-premium__primary {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: #FFFFFF;
  color: #000000;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
}

#view-success .stg-success-premium__primary svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#view-success .stg-success-premium__primary:active { transform: scale(.99); }
#view-success .stg-success-premium__primary:disabled { opacity: .72; cursor: default; }
#view-success .stg-success-premium__primary:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }

#view-success .stg-success-premium__actions > p {
  margin: 4px 0 0;
  color: #888888;
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
  text-align: center;
}

@keyframes stg-success-premium-image-in {
  from { opacity: .68; }
  to { opacity: 1; }
}

@keyframes stg-success-premium-copy-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 340px) {
  #view-success .stg-success-premium__logo { width: 72px; }
  #view-success .stg-success-premium__confirmation { gap: 4px; }
  #view-success .stg-success-premium__copy { max-width: 248px; }
  #view-success .stg-success-premium__copy h1 { max-width: 248px; }
}

@media (max-height: 620px) {
  #view-success .stg-success-premium__header {
    min-height: 56px;
    padding-top: max(8px, env(safe-area-inset-top));
    padding-bottom: 8px;
  }
  #view-success .stg-success-premium__logo { width: 72px; }
  #view-success .stg-success-premium__check { width: 28px; height: 28px; flex-basis: 28px; }
  #view-success .stg-success-premium__copy { top: 16px; }
  #view-success .stg-success-premium__eyebrow { display: none; }
  #view-success .stg-success-premium__copy h1 { margin-top: 0; font-size: 24px; }
  #view-success .stg-success-premium__copy p { margin-top: 8px; font-size: 12px; line-height: 16px; }
  #view-success .stg-success-premium[lang="hi"] .stg-success-premium__copy p { line-height: 18px; }
  #view-success .stg-success-premium__visual { bottom: 56px; }
  #view-success .stg-success-premium--install .stg-success-premium__visual { bottom: 96px; }
  #view-success .stg-success-premium__content-cue { min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
  #view-success .stg-success-premium__install-cue { min-height: 96px; grid-template-rows: 48px 48px; }
  #view-success .stg-success-premium__install-app { gap: 8px; padding: 4px 16px; }
  #view-success .stg-success-premium__install-app > img { width: 40px; height: 40px; flex-basis: 40px; border-radius: 8px; }
  #view-success .stg-success-premium__install-app em { display: none; }
  #view-success .stg-success-premium__install-metrics { min-height: 48px; }
  #view-success .stg-success-premium__install-metrics > span { padding: 4px; }
  #view-success .stg-success-premium__install-metrics strong { font-size: 12px; line-height: 12px; }
  #view-success .stg-success-premium__install-metrics small { margin-top: 2px; font-size: 10px; line-height: 10px; }
  #view-success .stg-success-premium--duo .stg-success-premium__visual { top: 96px; }
  #view-success .stg-success-premium__actions { padding-top: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  #view-success .stg-success-premium__primary { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  #view-success .stg-success-premium__portrait img,
  #view-success .stg-success-premium__copy { animation: none; }
  #view-success .stg-success-premium__primary:active { transform: none; }
}

/* ── FOUC prevention: hide paywall content until variant is resolved ──────── */
/* Only hide content while a shimmer is actually present (async variant load).
   Scoped with :has() so an older cached app.js — which never adds the shimmer
   or the --ready class — leaves the paywall visible instead of blanking it. */
.stg-paywall:has(.stg-shimmer):not(.stg-paywall--ready) > *:not(.stg-shimmer) { display: none !important; }
.stg-paywall:not(.stg-paywall--ready) { min-height: 100vh; }

/* ── Shimmer (shown while GrowthBook variant resolves) ────────────────────── */
@keyframes stg-shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.stg-shimmer { display: flex; flex-direction: column; gap: 1rem; }
.stg-shimmer__block {
  width: 100%;
  border-radius: 0.625rem;
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 800px 100%;
  animation: stg-shimmer 1.5s infinite linear;
}
.stg-shimmer__video { aspect-ratio: 16 / 9; }
.stg-shimmer__card { height: 6rem; }
.stg-shimmer__btn { height: 3.2rem; border-radius: 0.6rem; }

/* ── Image paywall variant (?variant=image) ──────────────────────────────── */
.stg-variant-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.stg-variant-header {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.5;
}
.stg-variant-highlight { color: var(--green); }
.stg-variant-grid {
  width: 100%;
  border-radius: 0.625rem;
  display: block;
}
.stg-variant-card {
  width: 100%;
  border-radius: 0.625rem;
  display: block;
}

/* Single-page view switching (one index.html holds all four screens). */
.stg-view { flex: 1; display: flex; flex-direction: column; }
.stg-view[hidden] { display: none; }

/* ── Scarcity timer (checkout 5-min countdown) ─────────────────────────── */
.stg-scarcity { display: flex; align-items: center; flex-shrink: 0; }
.stg-scarcity__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #e53935, #ff6f00);
  border-radius: 1.25rem;
  padding: 0.32rem 0.4rem 0.32rem 0.6rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.35);
  -webkit-tap-highlight-color: transparent;
}
.stg-scarcity__badge--collapsed { padding: 0.32rem; }
.stg-scarcity__badge--collapsed .stg-scarcity__text { display: none; }
.stg-scarcity__badge--expired {
  background: linear-gradient(135deg, #ff6f00, #ffa000);
  cursor: default;
}
.stg-scarcity__icon { width: 0.85rem; height: 0.85rem; flex-shrink: 0; color: #fff; }
.stg-scarcity__text { font-size: 0.72rem; font-weight: 600; color: #fff; letter-spacing: 0.01rem; }
.stg-scarcity__time {
  background: #fff;
  color: #e53935;
  font-size: 0.74rem;
  font-weight: 800;
  border-radius: 0.7rem;
  padding: 0.12rem 0.45rem;
  letter-spacing: 0.04rem;
  font-variant-numeric: tabular-nums;
  animation: stg-scarcity-pulse 1s ease-in-out infinite;
}
@keyframes stg-scarcity-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.72; } }
/* Desktop: hide scarcity timer */
@media (min-width: 768px) { .stg-scarcity { display: none; } }

/* Row wrapper: section title + scarcity timer side by side */
.stg-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
/* ── Inline ancillary treatment ──────────────────────────────────────────── */
.stg-view--ancillary {
  background: #080808;
  overflow-y: auto;
}
.stg-view--ancillary .stg-cdp {
  min-height: 100%;
  padding-bottom: calc(7rem + env(safe-area-inset-bottom));
  background: #080808;
}
.stg-cdp-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}
.stg-cdp-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to bottom, transparent, #080808);
  pointer-events: none;
}
.stg-cdp-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stg-cdp-hero__mute {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 0.35rem 0.45rem 0.35rem 0.75rem;
  color: #fff;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  font: 600 0.65rem/1 inherit;
}
.stg-cdp-hero__mute svg { width: 1.25rem; height: 1.25rem; }
.stg-cdp-details {
  position: relative;
  z-index: 1;
  margin-top: -2.25rem;
  padding: 0 1rem 0.5rem;
}
.stg-cdp-title {
  margin: 0;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 700;
}
.stg-cdp-meta {
  margin-top: 0.7rem;
  color: #d1d1d1;
  font-size: 0.78rem;
  font-weight: 500;
}
.stg-cdp-description {
  margin: 0.8rem 0 0;
  color: #aaa;
  font-size: 0.78rem;
  line-height: 1.45;
}
.stg-cdp-description.is-collapsed span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stg-cdp-description button {
  padding: 0;
  border: 0;
  background: none;
  color: #ddd;
  font: 600 0.75rem inherit;
}
.stg-cdp-skeleton {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}
.stg-cdp-skeleton__block {
  background: linear-gradient(90deg, #171717 25%, #292929 50%, #171717 75%);
  background-size: 800px 100%;
  animation: stg-shimmer 1.5s infinite linear;
}
.stg-cdp-skeleton__hero {
  width: 100%;
  aspect-ratio: 16 / 10;
}
.stg-cdp-skeleton__details {
  position: relative;
  z-index: 1;
  margin-top: -1.5rem;
  padding: 0 1rem 0.5rem;
}
.stg-cdp-skeleton__title {
  width: 38%;
  height: 1.75rem;
  border-radius: 0.35rem;
}
.stg-cdp-skeleton__meta {
  width: 55%;
  height: 0.8rem;
  margin-top: 0.8rem;
  border-radius: 0.3rem;
}
.stg-cdp-skeleton__copy {
  width: 100%;
  height: 2.5rem;
  margin-top: 0.9rem;
  border-radius: 0.4rem;
}
.stg-cdp-skeleton__cta {
  width: 100%;
  height: 3.35rem;
  margin-top: 1rem;
  border-radius: 0.65rem;
}
.stg-cdp--loading .stg-cdp-skeleton__cta {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: calc(0.85rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 388px;
  margin: 0;
}
.stg-cdp-skeleton__section { padding-top: 1rem; }
.stg-cdp-skeleton__heading {
  width: 42%;
  height: 1.25rem;
  margin: 0 1rem 0.75rem;
  border-radius: 0.35rem;
}
.stg-cdp-skeleton__posters {
  display: grid;
  grid-template-columns: repeat(3, 7.5rem);
  gap: 0.65rem;
  width: max-content;
  padding: 0 1rem;
}
.stg-cdp-skeleton__poster {
  width: 7.5rem;
  height: 11.25rem;
  border-radius: 0.5rem;
}
.stg-cdp-skeleton__add {
  width: 7.5rem;
  height: 2rem;
  margin-top: 0.4rem;
  border-radius: 0.45rem;
}
.stg-cdp-skeleton__landscape {
  display: grid;
  grid-template-columns: repeat(2, 16.25rem);
  gap: 0.75rem;
  width: max-content;
  padding: 0 1rem;
}
.stg-cdp-skeleton__landscape .stg-cdp-skeleton__block {
  width: 16.25rem;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
}
.stg-cdp-start {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.stg-cdp-start__icon {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-flex;
}
.stg-cdp-start__icon svg { width: 100%; height: 100%; }
.stg-cdp-sticky {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  padding: 1.25rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, #080808 65%, rgba(8,8,8,0));
}
.stg-cdp-heading {
  margin: 0;
  padding: 1rem 1rem 0.65rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
}
.stg-cdp-similar__rail {
  display: flex;
  gap: 0.65rem;
  padding: 0 1rem 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.stg-cdp-similar__rail::-webkit-scrollbar { display: none; }
.stg-cdp-similar__card { flex: 0 0 7.5rem; }
.stg-cdp-similar__poster {
  height: 11.25rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #1a1a1a;
}
.stg-cdp-similar__poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.stg-cdp-similar__add {
  width: 100%;
  min-height: 2rem;
  margin-top: 0.4rem;
  border: 0;
  border-radius: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: #fff;
  background: #292929;
  font: 600 0.62rem/1.1 inherit;
}
.stg-cdp-similar__add svg { width: 1rem; height: 1rem; }
.stg-cdp-similar__add.is-active { color: var(--green); }
.stg-cdp-rails { display: flex; flex-direction: column; gap: 1.5rem; }
.stg-paywall-ancillary {
  margin: 0.5rem -1rem 0;
  padding: 0.5rem 0 0.75rem;
  border-top: 1px solid var(--border);
}
.stg-anc-section { padding: 0; }
.stg-anc-section__title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  padding: 1rem 1rem 0.5rem;
}

.stg-anc-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 1rem;
  scrollbar-width: none;
}
.stg-anc-scroll::-webkit-scrollbar { display: none; }

.stg-anc-card {
  flex-shrink: 0;
  position: relative;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  scroll-snap-align: start;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  padding: 0;
  color: inherit;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
.stg-anc-card--16x9 { width: 16.25rem; }
.stg-anc-card--9x16 { width: 9.6875rem; }
.stg-anc-card--1x1  { width: 48vw; max-width: 200px; }
.stg-anc-card--3x4  { width: 44vw; max-width: 185px; }

/* Thumbnail keeps the aspect ratio; body (title + CTA) sits below it */
.stg-anc-card__thumb { position: relative; width: 100%; }
.stg-anc-card--16x9 .stg-anc-card__thumb { aspect-ratio: 16 / 9; }
.stg-anc-card--9x16 .stg-anc-card__thumb { aspect-ratio: 9 / 16; }
.stg-anc-card--1x1  .stg-anc-card__thumb { aspect-ratio: 1 / 1; }
.stg-anc-card--3x4  .stg-anc-card__thumb { aspect-ratio: 3 / 4; }

.stg-anc-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stg-anc-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.stg-anc-card--9x16 .stg-anc-card__play { width: 2.5rem; height: 2.5rem; }
.stg-anc-card__play svg { width: 1.5rem; height: 1.5rem; }

.stg-anc-card__body {
  padding: 0.75rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}
.stg-anc-card--9x16 .stg-anc-card__body { text-align: center; }
.stg-anc-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stg-anc-card--9x16 .stg-anc-card__title { font-size: 0.75rem; font-weight: 500; }
.stg-anc-card__description {
  color: #9b9b9b;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stg-anc-card__tag {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  background: #CE4A4A;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
}

.stg-anc-card__duration {
  position: absolute;
  bottom: 0.4rem;
  right: 0.4rem;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.1rem 0.35rem;
  border-radius: 0.2rem;
}
.stg-anc-card__views {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  padding: 0.125rem 0.375rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

/* Ancillary shimmer loading */
.stg-anc-shimmer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.stg-anc-shimmer__title {
  width: 40%;
  height: 1.1rem;
  border-radius: 0.3rem;
  margin: 0 1rem;
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 800px 100%;
  animation: stg-shimmer 1.5s infinite linear;
}
.stg-anc-shimmer__row { display: flex; gap: 0.75rem; padding: 0.65rem 1rem 0; }
.stg-anc-shimmer__card {
  flex-shrink: 0;
  width: 72vw;
  max-width: 300px;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 800px 100%;
  animation: stg-shimmer 1.5s infinite linear;
}

/* ── Fullscreen video overlay (card tap) ─────────────────────────────── */
.stg-video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  animation: stg-fade-in 0.2s ease-out;
}
.stg-no-scroll { overflow: hidden; }
.stg-video-overlay__stage {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 0;
}
.stg-video-overlay__card {
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  background: #1a1a1a;
}
.stg-video-overlay__card--vertical { max-width: 280px; }
.stg-video-overlay video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 10rem);
  object-fit: cover;
  background: #000;
}
.stg-video-overlay__card--vertical video { max-height: calc(100vh - 13rem); }
.stg-video-overlay__meta {
  position: relative;
  z-index: 1;
  padding: 0.75rem 0.875rem;
  background: #1a1a1a;
}
.stg-video-overlay__card--vertical .stg-video-overlay__meta {
  margin-top: -0.25rem;
  padding-top: 1rem;
  text-align: center;
}
.stg-video-overlay__title { color: #fff; font-size: 0.875rem; font-weight: 600; }
.stg-video-overlay__card--vertical .stg-video-overlay__title {
  font-size: 0.75rem;
  font-weight: 500;
}
.stg-video-overlay__description {
  margin-top: 0.2rem;
  color: #9b9b9b;
  font-size: 0.75rem;
}
.stg-video-overlay__nav {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  padding: 0.5rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  cursor: pointer;
}
.stg-video-overlay__nav[hidden] { visibility: hidden; display: block; }
.stg-video-overlay__nav svg { width: 100%; height: 100%; }
.stg-video-overlay__nav--previous { margin-right: 0.5rem; }
.stg-video-overlay__nav--next { margin-left: 0.5rem; }
.stg-video-overlay__footer {
  width: 100%;
  padding: 1.5rem 1rem calc(1rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, #000, rgba(0,0,0,0.9), transparent);
}
.stg-video-overlay__cta {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.stg-video-overlay__cta-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
}
.stg-video-overlay__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 101;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stg-video-overlay__close:active { background: rgba(255,255,255,0.3); }

/* ── Paywall + Checkout combined (Type B) ────────────────────────────── */
.stg-paywall-checkout {
  flex: 1;
  padding: 1rem 1rem 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stg-paywall-checkout .stg-offer-asset {
  width: 100%;
  border-radius: 0.625rem;
  display: block;
}

.stg-paywall-checkout-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  background: #101010;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  z-index: 5;
}
.stg-paywall-checkout-footer .stg-cta { width: 100%; }

/* Title truncates instead of pushing the timer past the edge */
.stg-section-row .stg-section-title {
  margin-bottom: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Checkout variant: QR dropdown (control/timer) ─────────────────────────── */
.stg-qr-drop { border: 1px solid var(--border); border-radius: 0.7rem; overflow: hidden; margin-top: 0.6rem; }
.stg-qr-drop__head { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0.9rem; cursor: pointer; background: #141414; border: none; font-family: inherit; }
.stg-qr-drop__left { display: flex; align-items: center; gap: 0.7rem; }
.stg-qr-drop__ico { width: 1.9rem; height: 1.9rem; border-radius: 0.45rem; background: #fff; color: #000; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.stg-qr-drop__name { color: #fff; font-size: 0.95rem; font-weight: 600; }
.stg-qr-drop__chev { color: var(--muted); transition: transform 0.2s; }
.stg-qr-drop.stg-qr-drop--open .stg-qr-drop__chev { transform: rotate(180deg); }
.stg-qr-drop__body { display: none; padding: 1.1rem; text-align: center; background: #0d0d0d; }
.stg-qr-drop.stg-qr-drop--open .stg-qr-drop__body { display: block; }
.stg-qr-img { width: 180px; height: 180px; border-radius: 0.6rem; background: #fff; margin: 0 auto; padding: 10px; display: flex; align-items: center; justify-content: center; }
.stg-qr-img svg { width: 100%; height: 100%; }
.stg-qr-hint { color: var(--muted); font-size: 0.78rem; margin-top: 0.7rem; }

/* ── Checkout variant: generic UPI card (upi) ──────────────────────────────── */
.stg-upi-card { background: var(--panel-2); border: 1px solid var(--border); border-radius: 0.85rem; padding: 1rem; margin-top: 0.3rem; }
.stg-upi-apps { display: flex; align-items: center; gap: 0.5rem; }
.stg-upi-apps img { width: 2.15rem; height: 2.15rem; border-radius: 0.55rem; background: #fff; padding: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.stg-upi-apps__more { color: var(--muted); font-size: 0.8rem; margin-left: 0.15rem; }
.stg-upi-steps { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 1.1rem; }
.stg-upi-step { flex: 1; text-align: center; }
.stg-upi-step__n { display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: rgba(36,139,59,0.16); color: #45c463; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.35rem; }
.stg-upi-step__t { display: block; font-size: 0.72rem; color: var(--muted); line-height: 1.25; }
.stg-upi-step__arrow { color: #333; align-self: center; font-size: 0.9rem; margin-bottom: 0.9rem; }
.stg-upi-trust { display: flex; gap: 0.4rem; margin-top: 0.85rem; }
.stg-upi-trust span { flex: 1; text-align: center; background: #141414; border: 1px solid var(--border); border-radius: 0.55rem; padding: 0.55rem 0.3rem; font-size: 0.72rem; color: #cfcfcf; }
.stg-upi-trust b { display: block; font-size: 0.95rem; margin-bottom: 0.1rem; }

/* ── Special Access offer and playback (Flutter app flow) ─────────────────── */
.stg-sa { position: fixed; z-index: 90; inset: 0 auto 0 50%; width: min(100%, 420px); height: 100vh; height: 100dvh; transform: translateX(-50%); background: #050505; color: #fff; overflow: hidden; isolation: isolate; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 1.5rem 5rem rgba(0,0,0,.6); }
.stg-sa[hidden], .stg-sa__offer[hidden], .stg-sa__playback[hidden], .stg-sa__ended[hidden], .stg-sa__loading[hidden], .stg-sa__notice[hidden] { display: none; }
.stg-sa__offer, .stg-sa__playback, .stg-sa__ended { position: absolute; inset: 0; background: #050505; }
.stg-sa__video, .stg-sa__playback video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #050505; }
.stg-sa__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.1) 50%, #050505 100%); pointer-events: none; }
.stg-sa__top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: max(1rem, env(safe-area-inset-top)) 1rem 0; }
.stg-sa__brand { display: flex; align-items: center; gap: .45rem; font-size: .83rem; font-weight: 800; letter-spacing: .02em; text-shadow: 0 1px 8px #000; }
.stg-sa__brand-mark { width: 1rem; height: 1rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, #ef1747 0 48%, #9f0029 50%); box-shadow: 0 0 .75rem rgba(239,23,71,.45); }
.stg-sa__brand em { margin-left: .15rem; padding: .28rem .5rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(7,7,7,.45); color: rgba(255,255,255,.8); font-size: .62rem; font-style: normal; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(10px); }
.stg-sa__close { z-index: 6; width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(8,8,8,.55); color: #fff; font: inherit; font-size: 1.65rem; line-height: 1; cursor: pointer; backdrop-filter: blur(12px); }
.stg-sa__close:active { transform: scale(.96); }
.stg-sa__thumbnail { position: absolute; left: 50%; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .65rem; transform: translateX(-50%); pointer-events: none; animation: stg-sa-thumbnail-in .55s cubic-bezier(.2,.8,.2,1) both; }
.stg-sa__thumbnail img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border: 1px solid rgba(255,255,255,.18); border-radius: .85rem; box-shadow: 0 .85rem 2.5rem rgba(0,0,0,.7); }
.stg-sa__thumbnail div { max-width: 16rem; color: #fff; font-size: 1.15rem; font-weight: 750; line-height: 1.2; text-align: center; text-shadow: 0 2px 10px #000; }
.stg-sa__cta { position: absolute; z-index: 4; bottom: 0; left: 0; right: 0; display: flex; flex-direction: column; gap: .8rem; padding: 1.5rem 1.25rem max(1.25rem, calc(env(safe-area-inset-bottom) + .8rem)); }
.stg-sa__copy { display: flex; flex-direction: column; gap: .25rem; text-shadow: 0 1px 10px #000; }
.stg-sa__copy span { color: #54d873; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.stg-sa__copy strong { color: #fff; font-size: 1.28rem; line-height: 1.25; }
.stg-sa__notice { padding: .7rem .85rem; border: 1px solid rgba(255,190,70,.35); border-radius: .7rem; background: rgba(40,27,4,.88); color: #ffd98b; font-size: .82rem; line-height: 1.35; }
.stg-sa__claim, .stg-sa__start { width: 100%; min-height: 3.25rem; border: 0; border-radius: .75rem; background: #24933b; color: #fff; font-family: inherit; font-size: 1rem; font-weight: 750; cursor: pointer; box-shadow: 0 .55rem 1.5rem rgba(18,119,44,.25); }
.stg-sa__claim:active, .stg-sa__start:active { transform: translateY(1px); }
.stg-sa__start { position: relative; overflow: hidden; background: rgba(255,255,255,.14); }
.stg-sa__start > span:first-child { position: absolute; inset: 0 auto 0 0; width: 0; background: #24933b; }
.stg-sa__start > span:last-child { position: relative; z-index: 1; }
.stg-sa--playback { left: 0; width: 100%; transform: none; }
.stg-sa--playback .stg-sa__playback { display: flex; align-items: center; justify-content: center; }
.stg-sa--playback .stg-sa__playback video { position: relative; inset: auto; width: 100%; height: auto; max-height: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.stg-sa--portrait .stg-sa__playback video { width: auto; height: 100%; max-width: 100%; aspect-ratio: 9 / 16; }
.stg-sa__playback-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.68), transparent 24%, transparent 62%, rgba(0,0,0,.92)); pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.stg-sa__playback-top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: max(.85rem, env(safe-area-inset-top)) 1rem .75rem; opacity: 0; transform: translateY(-.35rem); transition: opacity .2s ease, transform .2s ease; }
.stg-sa__playback-top .stg-sa__brand em { color: #a7edb6; border-color: rgba(84,216,115,.28); background: rgba(11,55,23,.48); }
.stg-sa__playback-center { position: absolute; z-index: 5; left: 50%; top: 50%; width: 4rem; height: 4rem; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(0,0,0,.58); color: #fff; font: 700 1.35rem/1 inherit; padding-left: .2rem; backdrop-filter: blur(12px); opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.stg-sa__playback-center[hidden] { display: none; }
.stg-sa__playback-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: .65rem; padding: 3.5rem 1rem max(.9rem, env(safe-area-inset-bottom)); opacity: 0; transform: translateY(.35rem); transition: opacity .2s ease, transform .2s ease; }
.stg-sa__playback.is-controls-visible .stg-sa__playback-shade, .stg-sa__playback.is-controls-visible .stg-sa__playback-center { opacity: 1; }
.stg-sa__playback.is-controls-visible .stg-sa__playback-top, .stg-sa__playback.is-controls-visible .stg-sa__playback-controls { opacity: 1; transform: translateY(0); }
.stg-sa__playback-title { color: #fff; font-size: 1rem; font-weight: 750; line-height: 1.25; text-shadow: 0 1px 8px #000; }
.stg-sa__playback-progress { width: 100%; height: 1.15rem; margin: 0; accent-color: #43ca62; cursor: pointer; }
.stg-sa__playback-actions { min-height: 2.75rem; display: flex; align-items: center; gap: .35rem; }
.stg-sa__playback-actions button { width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font: 700 1rem/1 inherit; cursor: pointer; }
.stg-sa__playback-actions button:active { background: rgba(255,255,255,.2); transform: scale(.96); }
.stg-sa__playback-actions span { color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.stg-sa__playback-spacer { flex: 1; }
@media (orientation: portrait) { .stg-sa--playback:not(.stg-sa--portrait) .stg-sa__playback-controls { padding-bottom: max(1rem, env(safe-area-inset-bottom)); } }
.stg-sa__loading { position: absolute; z-index: 12; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 2rem; background: radial-gradient(circle at 50% 42%, rgba(36,147,59,.14), transparent 32%), rgba(4,4,4,.88); text-align: center; backdrop-filter: blur(8px); }
.stg-sa__loading strong { margin-top: .45rem; font-size: 1rem; }
.stg-sa__loading span { color: #999; font-size: .8rem; }
.stg-sa__spinner { width: 2.5rem; height: 2.5rem; border: 3px solid rgba(255,255,255,.14); border-top-color: #43ca62; border-radius: 50%; animation: stg-sa-spin .8s linear infinite; }
.stg-sa__ended { display: flex; align-items: center; justify-content: center; padding: 2rem 1.35rem; text-align: center; background: radial-gradient(circle at 50% 30%, rgba(239,23,71,.16), transparent 33%), linear-gradient(180deg, #111, #050505); }
.stg-sa__ended-copy { width: min(100%, 22rem); color: #fff; }
.stg-sa__ended-icon { width: 4rem; height: 4rem; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(239,23,71,.42); border-radius: 50%; background: rgba(239,23,71,.14); color: #ff6685; font-size: 1.7rem; }
.stg-sa__ended-copy > span { color: #ff6685; font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.stg-sa__ended-copy h2 { margin: .55rem 0 0; font-size: 1.65rem; line-height: 1.2; }
.stg-sa__ended-copy p { margin: .75rem auto 1.5rem; color: #aaa; font-size: .95rem; font-weight: 400; line-height: 1.5; }
.stg-sa__ended-copy button { width: 100%; min-height: 3.25rem; border: 0; border-radius: .75rem; padding: .85rem 1.2rem; background: #e5093f; color: #fff; font: inherit; font-size: .95rem; font-weight: 750; cursor: pointer; }
.stg-sa__ended-copy .stg-sa__ended-close { margin-top: .55rem; background: transparent; color: #aaa; font-weight: 600; box-shadow: none; }
@keyframes stg-sa-spin { to { transform: rotate(360deg); } }
@keyframes stg-sa-thumbnail-in { from { opacity: 0; transform: translateX(-50%) translateY(4%) scale(.82); } to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .stg-sa__spinner, .stg-sa__thumbnail { animation: none; } .stg-sa__start > span:first-child { transition: none !important; } }
