/* ZELEN Pay Cloudflare Pages Build — extracted from Step 1305. */
/* ===== BEGIN STYLE BLOCK: pg-step334-instore-return-bypass-css ===== */
html.pg-instore-returning #pg-mobile-auth-entry{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  display:none !important;
}
/* =========================================================
   STEP 1023 — MOBILE ONLY: REWARDS GATEWAY FULL-WIDTH IPHONE FIX
   Goal:
   - Fix iPhone overlap where #pg-rewards-gateway-usd compresses over “AVAILABLE REWARDS”
   - Expand #pg-rewards-gateway to full available mobile width first
   - Keep USD value locked on the same row, right aligned, and non-shrinking
   - Keep title/tagline clean with no collision or wrapping
   - Preserve existing tap behavior, rewards sync, icon, glow, and desktop/tablet lock
   Scope: ONLY #pg-rewards-gateway on mobile (<=520px)
========================================================= */
@media (max-width: 520px){
  #pg-rewards-gateway.pg-rewards-gateway{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 10px 0 18px 0 !important;
    padding: 10px 13px 10px 14px !important;
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) max-content !important;
    grid-template-rows: 18px 17px !important;
    column-gap: 10px !important;
    row-gap: 2px !important;
    align-items: center !important;
    justify-content: stretch !important;
    box-sizing: border-box !important;
  }
  #pg-rewards-gateway .pg-rg-left{
    display: contents !important;
    min-width: 0 !important;
  }
  #pg-rewards-gateway .pg-rg-copy{
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-rows: 18px 17px !important;
    gap: 2px !important;
    align-items: center !important;
    overflow: hidden !important;
  }
  #pg-rewards-gateway .pg-rg-title{
    grid-row: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-right: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    text-align: left !important;
  }
  #pg-rewards-gateway .pg-rg-sub{
    grid-row: 2 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    text-align: left !important;
  }
  #pg-rewards-gateway #pg-rewards-gateway-usd.pg-rg-amount,
  #pg-rewards-gateway .pg-rg-amount{
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: end !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    text-align: right !important;
  }
}
/* ===== END STYLE BLOCK: pg-step334-instore-return-bypass-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step329-mobile-auth-css ===== */
...
/* ===== END STYLE BLOCK: pg-step329-mobile-auth-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1300-mobile-auth-css ===== */
#pg-mobile-auth-entry{
    display:none;
  }
  @media (max-width: 520px){
    #pg-mobile-auth-entry{
      --zp-bg:#050607;
      --zp-panel:#0a0d10;
      --zp-surface:#0a0d10;
      --zp-surface-2:#0f1518;
      --zp-primary:#00e5c2;
      --zp-secondary:#11b5d9;
      --zp-primary-rgb:0,229,194;
      --zp-secondary-rgb:17,181,217;
      --zp-text:#ffffff;
      --zp-text-soft:rgba(255,255,255,0.72);
      --zp-text-muted:rgba(255,255,255,0.50);
      --zp-line:rgba(255,255,255,0.10);
      position:fixed;
      inset:0;
      z-index:2147482000;
      display:block;
      width:100vw;
      height:100vh;
      height:100dvh;
      overflow:hidden;
      color:var(--zp-text);
      background:
        radial-gradient(700px 520px at 50% 102%, rgba(var(--zp-primary-rgb),0.26), rgba(0,0,0,0.00) 58%),
        radial-gradient(520px 420px at 22% 8%, rgba(var(--zp-secondary-rgb),0.12), rgba(0,0,0,0.00) 62%),
        radial-gradient(460px 360px at 86% 18%, rgba(255,255,255,0.055), rgba(0,0,0,0.00) 60%),
        linear-gradient(180deg, #07090b 0%, #030405 100%);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
      text-rendering: geometricPrecision;
      touch-action: pan-y;
      isolation:isolate;
    }
    #pg-mobile-auth-entry.pg-auth-hidden{
      display:none !important;
    }
    #pg-mobile-auth-entry::before{
      content:"";
      position:absolute;
      inset:-24%;
      z-index:0;
      pointer-events:none;
      background:
        radial-gradient(circle at 50% 78%, rgba(var(--zp-primary-rgb),0.18), rgba(var(--zp-primary-rgb),0.00) 30%),
        conic-gradient(from 230deg at 50% 76%,
          rgba(var(--zp-primary-rgb),0.00) 0deg,
          rgba(var(--zp-primary-rgb),0.16) 58deg,
          rgba(var(--zp-secondary-rgb),0.08) 112deg,
          rgba(var(--zp-primary-rgb),0.00) 176deg,
          rgba(255,255,255,0.035) 250deg,
          rgba(var(--zp-primary-rgb),0.00) 360deg);
      filter:blur(28px);
      opacity:0.72;
      animation:pgZpAuthAurora 18s linear infinite;
      transform-origin:50% 72%;
    }
    #pg-mobile-auth-entry::after{
      content:"";
      position:absolute;
      inset:0;
      z-index:0;
      pointer-events:none;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.00) 18%),
        radial-gradient(1px 1px at 18% 22%, rgba(255,255,255,0.16), transparent 100%),
        radial-gradient(1px 1px at 74% 18%, rgba(255,255,255,0.11), transparent 100%),
        radial-gradient(1px 1px at 88% 54%, rgba(var(--zp-primary-rgb),0.18), transparent 100%);
      opacity:0.72;
    }
    @keyframes pgZpAuthAurora{
      to{ transform:rotate(360deg); }
    }
    #pg-mobile-auth-entry .pg-zpa-shell{
      position:relative;
      z-index:1;
      width:100%;
      height:100%;
      min-height:100%;
      display:grid;
      grid-template-rows:auto 1fr auto;
      padding:
        max(18px, env(safe-area-inset-top))
        20px
        max(18px, env(safe-area-inset-bottom))
        20px;
      box-sizing:border-box;
      overflow:hidden;
    }
    #pg-mobile-auth-entry .pg-zpa-top{
      height:52px;
      display:flex;
      align-items:center;
      justify-content:center;
      position:relative;
      flex:0 0 auto;
    }
    #pg-mobile-auth-entry .pg-zpa-brand{
      display:inline-flex;
      align-items:baseline;
      justify-content:center;
      gap:9px;
      line-height:1;
      white-space:nowrap;
      user-select:none;
      filter:drop-shadow(0 16px 28px rgba(0,0,0,0.48));
    }
    #pg-mobile-auth-entry .pg-zpa-brand-zelen{
      color:#ffffff;
      font-size:17px;
      font-weight:500;
      letter-spacing:0.58em;
      text-transform:uppercase;
      padding-left:0.58em;
    }
    #pg-mobile-auth-entry .pg-zpa-brand-pay{
      color:rgb(var(--zp-primary-rgb));
      font-size:18px;
      font-weight:500;
      letter-spacing:0.01em;
      text-shadow:0 0 18px rgba(var(--zp-primary-rgb),0.34);
    }
    #pg-mobile-auth-entry .pg-zpa-stage{
      position:relative;
      width:100%;
      height:100%;
      min-height:0;
      display:grid;
      place-items:center;
      overflow:hidden;
    }
    #pg-mobile-auth-entry .pg-zpa-screen{
      position:absolute;
      inset:0;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      padding:8px 0 12px;
      box-sizing:border-box;
      opacity:0;
      transform:translateX(24px) scale(0.985);
      pointer-events:none;
      transition:
        opacity 340ms cubic-bezier(.22,.92,.18,1),
        transform 420ms cubic-bezier(.22,.92,.18,1),
        filter 340ms ease;
      filter:blur(4px);
    }
    #pg-mobile-auth-entry[data-auth-screen="1"] .pg-zpa-screen[data-screen="1"],
    #pg-mobile-auth-entry[data-auth-screen="2"] .pg-zpa-screen[data-screen="2"],
    #pg-mobile-auth-entry[data-auth-screen="3"] .pg-zpa-screen[data-screen="3"],
    #pg-mobile-auth-entry[data-auth-screen="4"] .pg-zpa-screen[data-screen="4"],
    #pg-mobile-auth-entry[data-auth-screen="5"] .pg-zpa-screen[data-screen="5"],
    #pg-mobile-auth-entry[data-auth-screen="6"] .pg-zpa-screen[data-screen="6"],
    #pg-mobile-auth-entry[data-auth-screen="7"] .pg-zpa-screen[data-screen="7"],
    #pg-mobile-auth-entry[data-auth-screen="8"] .pg-zpa-screen[data-screen="8"]{
      opacity:1;
      transform:translateX(0) scale(1);
      pointer-events:auto;
      filter:blur(0);
    }
    /* Screen transition direction map — Phase 5 expanded to 10 screens */
    #pg-mobile-auth-entry[data-auth-screen="2"] .pg-zpa-screen[data-screen="1"],
    #pg-mobile-auth-entry[data-auth-screen="3"] .pg-zpa-screen[data-screen="1"],
    #pg-mobile-auth-entry[data-auth-screen="3"] .pg-zpa-screen[data-screen="2"],
    #pg-mobile-auth-entry[data-auth-screen="4"] .pg-zpa-screen[data-screen="1"],
    #pg-mobile-auth-entry[data-auth-screen="4"] .pg-zpa-screen[data-screen="2"],
    #pg-mobile-auth-entry[data-auth-screen="4"] .pg-zpa-screen[data-screen="3"],
    #pg-mobile-auth-entry[data-auth-screen="5"] .pg-zpa-screen[data-screen="1"],
    #pg-mobile-auth-entry[data-auth-screen="5"] .pg-zpa-screen[data-screen="2"],
    #pg-mobile-auth-entry[data-auth-screen="5"] .pg-zpa-screen[data-screen="3"],
    #pg-mobile-auth-entry[data-auth-screen="5"] .pg-zpa-screen[data-screen="4"],
    #pg-mobile-auth-entry[data-auth-screen="6"] .pg-zpa-screen[data-screen="1"],
    #pg-mobile-auth-entry[data-auth-screen="6"] .pg-zpa-screen[data-screen="2"],
    #pg-mobile-auth-entry[data-auth-screen="6"] .pg-zpa-screen[data-screen="3"],
    #pg-mobile-auth-entry[data-auth-screen="6"] .pg-zpa-screen[data-screen="4"],
    #pg-mobile-auth-entry[data-auth-screen="6"] .pg-zpa-screen[data-screen="5"],
    #pg-mobile-auth-entry[data-auth-screen="7"] .pg-zpa-screen[data-screen="1"],
    #pg-mobile-auth-entry[data-auth-screen="7"] .pg-zpa-screen[data-screen="2"],
    #pg-mobile-auth-entry[data-auth-screen="7"] .pg-zpa-screen[data-screen="3"],
    #pg-mobile-auth-entry[data-auth-screen="7"] .pg-zpa-screen[data-screen="4"],
    #pg-mobile-auth-entry[data-auth-screen="7"] .pg-zpa-screen[data-screen="5"],
    #pg-mobile-auth-entry[data-auth-screen="7"] .pg-zpa-screen[data-screen="6"],
    #pg-mobile-auth-entry[data-auth-screen="8"] .pg-zpa-screen[data-screen="1"],
    #pg-mobile-auth-entry[data-auth-screen="8"] .pg-zpa-screen[data-screen="2"],
    #pg-mobile-auth-entry[data-auth-screen="8"] .pg-zpa-screen[data-screen="3"],
    #pg-mobile-auth-entry[data-auth-screen="8"] .pg-zpa-screen[data-screen="4"],
    #pg-mobile-auth-entry[data-auth-screen="8"] .pg-zpa-screen[data-screen="5"],
    #pg-mobile-auth-entry[data-auth-screen="8"] .pg-zpa-screen[data-screen="6"],
    #pg-mobile-auth-entry[data-auth-screen="8"] .pg-zpa-screen[data-screen="7"]{
      opacity:0;
      transform:translateX(-24px) scale(0.985);
    }
    #pg-mobile-auth-entry[data-auth-screen="1"] .pg-zpa-screen[data-screen="2"],
    #pg-mobile-auth-entry[data-auth-screen="1"] .pg-zpa-screen[data-screen="3"],
    #pg-mobile-auth-entry[data-auth-screen="1"] .pg-zpa-screen[data-screen="4"],
    #pg-mobile-auth-entry[data-auth-screen="1"] .pg-zpa-screen[data-screen="5"],
    #pg-mobile-auth-entry[data-auth-screen="1"] .pg-zpa-screen[data-screen="6"],
    #pg-mobile-auth-entry[data-auth-screen="2"] .pg-zpa-screen[data-screen="3"],
    #pg-mobile-auth-entry[data-auth-screen="2"] .pg-zpa-screen[data-screen="4"],
    #pg-mobile-auth-entry[data-auth-screen="2"] .pg-zpa-screen[data-screen="5"],
    #pg-mobile-auth-entry[data-auth-screen="2"] .pg-zpa-screen[data-screen="6"],
    #pg-mobile-auth-entry[data-auth-screen="3"] .pg-zpa-screen[data-screen="4"],
    #pg-mobile-auth-entry[data-auth-screen="3"] .pg-zpa-screen[data-screen="5"],
    #pg-mobile-auth-entry[data-auth-screen="3"] .pg-zpa-screen[data-screen="6"],
    #pg-mobile-auth-entry[data-auth-screen="4"] .pg-zpa-screen[data-screen="5"],
    #pg-mobile-auth-entry[data-auth-screen="4"] .pg-zpa-screen[data-screen="6"],
    #pg-mobile-auth-entry[data-auth-screen="5"] .pg-zpa-screen[data-screen="6"],
    #pg-mobile-auth-entry[data-auth-screen="1"] .pg-zpa-screen[data-screen="7"],
    #pg-mobile-auth-entry[data-auth-screen="1"] .pg-zpa-screen[data-screen="8"],
    #pg-mobile-auth-entry[data-auth-screen="2"] .pg-zpa-screen[data-screen="7"],
    #pg-mobile-auth-entry[data-auth-screen="2"] .pg-zpa-screen[data-screen="8"],
    #pg-mobile-auth-entry[data-auth-screen="3"] .pg-zpa-screen[data-screen="7"],
    #pg-mobile-auth-entry[data-auth-screen="3"] .pg-zpa-screen[data-screen="8"],
    #pg-mobile-auth-entry[data-auth-screen="4"] .pg-zpa-screen[data-screen="7"],
    #pg-mobile-auth-entry[data-auth-screen="4"] .pg-zpa-screen[data-screen="8"],
    #pg-mobile-auth-entry[data-auth-screen="5"] .pg-zpa-screen[data-screen="7"],
    #pg-mobile-auth-entry[data-auth-screen="5"] .pg-zpa-screen[data-screen="8"],
    #pg-mobile-auth-entry[data-auth-screen="6"] .pg-zpa-screen[data-screen="7"],
    #pg-mobile-auth-entry[data-auth-screen="6"] .pg-zpa-screen[data-screen="8"],
    #pg-mobile-auth-entry[data-auth-screen="7"] .pg-zpa-screen[data-screen="8"]{
      opacity:0;
      transform:translateX(24px) scale(0.985);
    }
    #pg-mobile-auth-entry .pg-zpa-hero{
      width:min(272px, 76vw);
      height:min(272px, 76vw);
      position:relative;
      display:grid;
      place-items:center;
      margin:-6px auto 28px;
      border-radius:999px;
    }
    #pg-mobile-auth-entry .pg-zpa-hero::before{
      content:"";
      position:absolute;
      inset:16%;
      border-radius:999px;
      background:
        radial-gradient(circle at 50% 50%, rgba(var(--zp-primary-rgb),0.22), rgba(var(--zp-primary-rgb),0.06) 40%, rgba(0,0,0,0.00) 72%);
      box-shadow:
        0 0 0 1px rgba(var(--zp-primary-rgb),0.16),
        0 0 44px rgba(var(--zp-primary-rgb),0.24),
        inset 0 0 34px rgba(var(--zp-primary-rgb),0.10);
      filter:blur(0.2px);
    }
    #pg-mobile-auth-entry .pg-zpa-growth-orb{
      position:relative;
      width:184px;
      height:184px;
      border-radius:999px;
      display:grid;
      place-items:center;
      background:
        radial-gradient(circle at 36% 28%, rgba(255,255,255,0.18), rgba(255,255,255,0.00) 28%),
        radial-gradient(circle at 50% 50%, rgba(var(--zp-primary-rgb),0.18), rgba(0,0,0,0.28) 68%),
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(0,0,0,0.16));
      border:1px solid rgba(var(--zp-primary-rgb),0.38);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 0 32px rgba(var(--zp-primary-rgb),0.30),
        0 34px 72px rgba(0,0,0,0.48);
      overflow:hidden;
    }
    #pg-mobile-auth-entry .pg-zpa-growth-orb::before{
      content:"";
      position:absolute;
      inset:22px;
      border-radius:999px;
      border:1px solid rgba(var(--zp-primary-rgb),0.30);
      box-shadow:0 0 28px rgba(var(--zp-primary-rgb),0.18) inset;
      opacity:0.92;
    }
    #pg-mobile-auth-entry .pg-zpa-growth-orb::after{
      content:"";
      position:absolute;
      width:148%;
      height:148%;
      border-radius:999px;
      background:conic-gradient(from 210deg,
        rgba(var(--zp-primary-rgb),0.00),
        rgba(var(--zp-primary-rgb),0.28),
        rgba(var(--zp-secondary-rgb),0.12),
        rgba(var(--zp-primary-rgb),0.00) 62%);
      filter:blur(10px);
      opacity:0.72;
      animation:pgZpOrbSpin 14s linear infinite;
    }
    @keyframes pgZpOrbSpin{
      to{ transform:rotate(360deg); }
    }
    #pg-mobile-auth-entry .pg-zpa-leaf-mark{
      position:relative;
      z-index:2;
      width:68px;
      height:68px;
      filter:drop-shadow(0 0 18px rgba(var(--zp-primary-rgb),0.38));
    }
    #pg-mobile-auth-entry .pg-zpa-leaf-mark svg{
      width:100%;
      height:100%;
      display:block;
    }
    #pg-mobile-auth-entry .pg-zpa-horizon{
      position:absolute;
      left:-14%;
      right:-14%;
      bottom:18px;
      height:84px;
      border-radius:50% 50% 0 0;
      background:
        radial-gradient(80% 100% at 50% 100%, rgba(var(--zp-primary-rgb),0.38), rgba(var(--zp-primary-rgb),0.00) 54%),
        linear-gradient(180deg, rgba(var(--zp-primary-rgb),0.00), rgba(var(--zp-primary-rgb),0.18));
      border-top:1px solid rgba(var(--zp-primary-rgb),0.58);
      box-shadow:0 -12px 42px rgba(var(--zp-primary-rgb),0.22);
      opacity:0.68;
      filter:blur(0.1px);
    }
    #pg-mobile-auth-entry .pg-zpa-copy{
      width:100%;
      text-align:center;
      margin:0 auto;
    }
    #pg-mobile-auth-entry .pg-zpa-kicker{
      margin:0 0 10px;
      color:rgb(var(--zp-primary-rgb));
      font-size:11px;
      line-height:1;
      font-weight:700;
      letter-spacing:0.28em;
      text-transform:uppercase;
      text-shadow:0 0 16px rgba(var(--zp-primary-rgb),0.28);
    }
    #pg-mobile-auth-entry .pg-zpa-title{
      margin:0;
      color:#ffffff;
      font-size:25px;
      line-height:1.12;
      letter-spacing:-0.035em;
      font-weight:650;
      text-align:center;
    }
    #pg-mobile-auth-entry .pg-zpa-sub{
      margin:14px auto 0;
      max-width:292px;
      color:var(--zp-text-soft);
      font-size:14px;
      line-height:1.55;
      font-weight:430;
      text-align:center;
    }
    #pg-mobile-auth-entry .pg-zpa-actions{
      width:100%;
      display:flex;
      flex-direction:column;
      gap:12px;
      margin-top:30px;
    }
    #pg-mobile-auth-entry .pg-zpa-google{
      width:100%;
      height:54px;
      border:1px solid rgba(var(--zp-primary-rgb),0.46);
      border-radius:14px;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:11px;
      color:#ffffff;
      background:
        radial-gradient(120% 160% at 18% 8%, rgba(255,255,255,0.10), rgba(255,255,255,0.00) 42%),
        linear-gradient(180deg, rgba(var(--zp-primary-rgb),0.18), rgba(var(--zp-secondary-rgb),0.10) 52%, rgba(255,255,255,0.035));
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.055) inset,
        0 18px 38px rgba(0,0,0,0.46),
        0 0 28px rgba(var(--zp-primary-rgb),0.18);
      font-size:14px;
      font-weight:720;
      letter-spacing:-0.01em;
      cursor:pointer;
      -webkit-tap-highlight-color:transparent;
      transition:transform 120ms ease, filter 180ms ease, box-shadow 180ms ease;
    }
    #pg-mobile-auth-entry .pg-zpa-google:active{
      transform:scale(0.988);
      filter:brightness(1.06);
    }
    #pg-mobile-auth-entry .pg-zpa-google-icon{
      width:18px;
      height:18px;
      border-radius:999px;
      background:#ffffff;
      display:grid;
      place-items:center;
      font-size:12px;
      font-weight:900;
      color:#0a0d10;
      box-shadow:0 0 14px rgba(255,255,255,0.18);
    }
    #pg-mobile-auth-entry .pg-zpa-login{
      border:0;
      background:transparent;
      color:rgba(var(--zp-primary-rgb),0.95);
      font-size:13px;
      font-weight:650;
      text-decoration:none;
      cursor:pointer;
    }
    #pg-mobile-auth-entry .pg-zpa-footnote{
      margin-top:18px;
      color:rgba(255,255,255,0.42);
      font-size:11px;
      line-height:1.45;
      text-align:center;
    }
    #pg-mobile-auth-entry .pg-zpa-loader-wrap{
      width:min(250px, 70vw);
      height:min(250px, 70vw);
      position:relative;
      display:grid;
      place-items:center;
      margin:-18px auto 34px;
    }
    #pg-mobile-auth-entry .pg-zpa-loader-core{
      position:relative;
      width:150px;
      height:150px;
      border-radius:999px;
      display:grid;
      place-items:center;
      background:
        radial-gradient(circle at 38% 28%, rgba(255,255,255,0.18), rgba(255,255,255,0.00) 34%),
        radial-gradient(circle at 50% 50%, rgba(var(--zp-primary-rgb),0.22), rgba(0,0,0,0.32) 70%);
      border:1px solid rgba(var(--zp-primary-rgb),0.46);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 0 42px rgba(var(--zp-primary-rgb),0.35),
        0 30px 68px rgba(0,0,0,0.52);
      overflow:hidden;
    }
    #pg-mobile-auth-entry .pg-zpa-loader-core::before,
    #pg-mobile-auth-entry .pg-zpa-loader-core::after{
      content:"";
      position:absolute;
      inset:10px;
      border-radius:999px;
      border:1px solid rgba(var(--zp-primary-rgb),0.22);
      animation:pgZpLoaderPulse 2.8s ease-in-out infinite;
    }
    #pg-mobile-auth-entry .pg-zpa-loader-core::after{
      inset:28px;
      animation-delay:0.55s;
      opacity:0.7;
    }
    @keyframes pgZpLoaderPulse{
      0%,100%{ transform:scale(0.96); opacity:0.36; }
      50%{ transform:scale(1.05); opacity:0.82; }
    }
    #pg-mobile-auth-entry .pg-zpa-loader-ring{
      position:absolute;
      inset:-28px;
      border-radius:999px;
      background:conic-gradient(from 0deg,
        rgba(var(--zp-primary-rgb),0.00),
        rgba(var(--zp-primary-rgb),0.58),
        rgba(var(--zp-secondary-rgb),0.28),
        rgba(var(--zp-primary-rgb),0.00) 62%);
      filter:blur(11px);
      opacity:0.74;
      animation:pgZpLoaderSpin 1.8s linear infinite;
    }
    @keyframes pgZpLoaderSpin{
      to{ transform:rotate(360deg); }
    }
    #pg-mobile-auth-entry .pg-zpa-user-mark{
      position:relative;
      z-index:2;
      width:44px;
      height:44px;
      color:rgb(var(--zp-primary-rgb));
      filter:drop-shadow(0 0 16px rgba(var(--zp-primary-rgb),0.38));
    }
    #pg-mobile-auth-entry .pg-zpa-user-mark svg{
      width:100%;
      height:100%;
      display:block;
    }
    #pg-mobile-auth-entry .pg-zpa-progress{
      width:min(260px, 74vw);
      height:3px;
      border-radius:999px;
      background:rgba(255,255,255,0.10);
      margin:28px auto 0;
      overflow:hidden;
      box-shadow:0 0 0 1px rgba(255,255,255,0.04) inset;
    }
    #pg-mobile-auth-entry .pg-zpa-progress-fill{
      height:100%;
      width:36%;
      border-radius:999px;
      background:linear-gradient(90deg, rgba(var(--zp-primary-rgb),0.95), rgba(var(--zp-secondary-rgb),0.86));
      box-shadow:0 0 18px rgba(var(--zp-primary-rgb),0.42);
      animation:pgZpProgress 2.25s ease-in-out infinite;
    }
    @keyframes pgZpProgress{
      0%{ transform:translateX(-105%); width:36%; }
      50%{ width:58%; }
      100%{ transform:translateX(292%); width:36%; }
    }
    #pg-mobile-auth-entry .pg-zpa-bottom{
      min-height:34px;
      display:flex;
      align-items:flex-end;
      justify-content:center;
      color:rgba(255,255,255,0.34);
      font-size:11px;
      letter-spacing:0.18em;
      text-transform:uppercase;
      text-align:center;
      pointer-events:none;
      user-select:none;
    }
    #pg-mobile-auth-entry .pg-zpa-dots{
      position:absolute;
      left:50%;
      bottom:calc(max(18px, env(safe-area-inset-bottom)) + 34px);
      transform:translateX(-50%);
      display:flex;
      gap:8px;
      z-index:4;
      pointer-events:none;
    }
    #pg-mobile-auth-entry .pg-zpa-dot{
      width:6px;
      height:6px;
      border-radius:999px;
      background:rgba(255,255,255,0.20);
      transition:width 220ms ease, background 220ms ease, box-shadow 220ms ease;
    }
    #pg-mobile-auth-entry[data-auth-screen="1"] .pg-zpa-dot:nth-child(1),
    #pg-mobile-auth-entry[data-auth-screen="2"] .pg-zpa-dot:nth-child(2),
    #pg-mobile-auth-entry[data-auth-screen="3"] .pg-zpa-dot:nth-child(3),
    #pg-mobile-auth-entry[data-auth-screen="4"] .pg-zpa-dot:nth-child(4),
    #pg-mobile-auth-entry[data-auth-screen="5"] .pg-zpa-dot:nth-child(5),
    #pg-mobile-auth-entry[data-auth-screen="6"] .pg-zpa-dot:nth-child(6),
    #pg-mobile-auth-entry[data-auth-screen="7"] .pg-zpa-dot:nth-child(7),
    #pg-mobile-auth-entry[data-auth-screen="8"] .pg-zpa-dot:nth-child(8){
      width:18px;
      background:rgba(var(--zp-primary-rgb),0.95);
      box-shadow:0 0 12px rgba(var(--zp-primary-rgb),0.36);
    }
    /* =========================================================
       STEP 1300 — SCREENS 03–04 AUTH FORM + OTP KEYPAD
       Scope: isolated to #pg-mobile-auth-entry only.
       Visual DNA mirrors the gateway rewards keypad without sharing selectors.
    ========================================================= */
    #pg-mobile-auth-entry .pg-zpa-form-screen{
      justify-content:flex-start;
      align-items:stretch;
      padding:34px 0 12px;
    }
    #pg-mobile-auth-entry .pg-zpa-form-copy{
      width:100%;
      text-align:left;
      margin:0 0 20px;
    }
    #pg-mobile-auth-entry .pg-zpa-form-title{
      margin:0;
      color:#ffffff;
      font-size:23px;
      line-height:1.18;
      letter-spacing:-0.035em;
      font-weight:620;
      text-align:left;
    }
    #pg-mobile-auth-entry .pg-zpa-form-sub{
      margin:12px 0 0;
      max-width:292px;
      color:var(--zp-text-soft);
      font-size:13px;
      line-height:1.48;
      font-weight:430;
      text-align:left;
    }
    #pg-mobile-auth-entry .pg-zpa-field-label{
      display:block;
      margin:22px 0 8px;
      color:rgba(255,255,255,0.70);
      font-size:11px;
      line-height:1;
      font-weight:560;
      letter-spacing:0.03em;
    }
    #pg-mobile-auth-entry .pg-zpa-phone-card{
      height:50px;
      border-radius:10px;
      display:grid;
      grid-template-columns:auto 1fr;
      gap:10px;
      align-items:center;
      padding:0 13px;
      color:rgba(255,255,255,0.92);
      background:
        radial-gradient(120% 160% at 16% 0%, rgba(255,255,255,0.08), rgba(255,255,255,0.00) 46%),
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.022)),
        rgba(9,14,17,0.88);
      border:1px solid rgba(255,255,255,0.10);
      box-shadow:
        0 18px 36px rgba(0,0,0,0.34),
        0 0 0 1px rgba(var(--zp-primary-rgb),0.08) inset;
    }
    #pg-mobile-auth-entry .pg-zpa-flag{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:5px;
      color:rgba(255,255,255,0.72);
      font-size:15px;
      white-space:nowrap;
    }
    #pg-mobile-auth-entry .pg-zpa-phone-value{
      color:rgba(255,255,255,0.92);
      font-size:13px;
      font-weight:520;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    #pg-mobile-auth-entry .pg-zpa-phone-card{
      cursor:pointer;
      -webkit-tap-highlight-color:transparent;
      transition:border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease, transform 100ms ease;
    }
    #pg-mobile-auth-entry .pg-zpa-phone-card:active,
    #pg-mobile-auth-entry .pg-zpa-phone-card.is-active{
      border-color:rgba(var(--zp-primary-rgb),0.42);
      box-shadow:
        0 18px 36px rgba(0,0,0,0.34),
        0 0 0 1px rgba(var(--zp-primary-rgb),0.14) inset,
        0 0 22px rgba(var(--zp-primary-rgb),0.14);
      filter:brightness(1.04);
    }
    #pg-mobile-auth-entry .pg-zpa-phone-card.is-empty .pg-zpa-phone-value{
      color:rgba(255,255,255,0.44);
      font-size:13px;
      font-weight:520;
      text-shadow:none;
    }
    #pg-mobile-auth-entry .pg-zpa-phone-card.is-filled .pg-zpa-phone-value{
      color:rgb(var(--zp-primary-rgb));
      font-size:15px;
      font-weight:560;
      letter-spacing:0.005em;
      text-shadow:0 0 12px rgba(var(--zp-primary-rgb),0.28);
    }
    #pg-mobile-auth-entry .pg-zpa-phone-keypad{
      margin-top:14px;
    }
    #pg-mobile-auth-entry .pg-zpa-screen-phone .pg-zpa-primary-btn{
      margin-top:16px;
    }
    #pg-mobile-auth-entry .pg-zpa-screen-phone .pg-zpa-mini-note{
      margin-top:12px;
    }
    #pg-mobile-auth-entry .pg-zpa-primary-btn{
      width:100%;
      height:52px;
      border:0;
      border-radius:10px;
      margin-top:20px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:rgba(0,18,17,0.88);
      background:linear-gradient(135deg, rgba(var(--zp-primary-rgb),0.98), rgba(var(--zp-secondary-rgb),0.88));
      box-shadow:
        0 20px 44px rgba(0,0,0,0.42),
        0 0 28px rgba(var(--zp-primary-rgb),0.28),
        inset 0 1px 0 rgba(255,255,255,0.26);
      font-size:13px;
      font-weight:760;
      letter-spacing:-0.01em;
      cursor:pointer;
      -webkit-tap-highlight-color:transparent;
      transition:transform 120ms ease, filter 160ms ease;
    }
    #pg-mobile-auth-entry .pg-zpa-primary-btn:active{
      transform:scale(0.988);
      filter:brightness(1.06);
    }
    #pg-mobile-auth-entry .pg-zpa-mini-note{
      margin:14px auto 0;
      color:rgba(255,255,255,0.42);
      font-size:11px;
      line-height:1.35;
      text-align:center;
    }
    #pg-mobile-auth-entry .pg-zpa-otp-row{
      display:grid;
      grid-template-columns:repeat(6, 1fr);
      gap:7px;
      width:100%;
      margin:20px 0 12px;
    }
    #pg-mobile-auth-entry .pg-zpa-otp-box{
      height:43px;
      border-radius:9px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:rgba(255,255,255,0.92);
      font-size:20px;
      font-weight:520;
      background:
        radial-gradient(120% 130% at 28% 0%, rgba(255,255,255,0.075), rgba(255,255,255,0.00) 45%),
        rgba(7,11,13,0.82);
      border:1px solid rgba(255,255,255,0.15);
      box-shadow:
        0 12px 24px rgba(0,0,0,0.34),
        inset 0 0 0 1px rgba(255,255,255,0.035);
    }
    #pg-mobile-auth-entry .pg-zpa-otp-box.is-filled{
      border-color:rgba(var(--zp-primary-rgb),0.56);
      box-shadow:
        0 0 0 1px rgba(var(--zp-primary-rgb),0.13) inset,
        0 0 18px rgba(var(--zp-primary-rgb),0.20),
        0 12px 24px rgba(0,0,0,0.34);
      color:rgb(var(--zp-primary-rgb));
      text-shadow:0 0 12px rgba(var(--zp-primary-rgb),0.34);
    }
    #pg-mobile-auth-entry .pg-zpa-resend{
      color:rgba(255,255,255,0.48);
      font-size:11px;
      line-height:1.3;
      text-align:left;
      margin:0 0 15px;
    }
    #pg-mobile-auth-entry .pg-zpa-resend span{
      color:rgba(var(--zp-primary-rgb),0.96);
    }
    #pg-mobile-auth-entry .pg-auth-keypad{
      width:100%;
      display:grid;
      grid-template-columns:repeat(3, minmax(0, 1fr));
      gap:7px;
      margin-top:4px;
    }
    #pg-mobile-auth-entry .pg-auth-key{
      height:52px;
      border:1px solid rgba(255,255,255,0.085);
      border-radius:8px;
      color:rgba(255,255,255,0.92);
      background:
        radial-gradient(120% 170% at 50% 0%, rgba(255,255,255,0.105), rgba(255,255,255,0.00) 44%),
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015) 48%, rgba(0,0,0,0.34) 100%),
        rgba(10,15,17,0.92);
      box-shadow:
        0 11px 24px rgba(0,0,0,0.38),
        inset 0 1px 0 rgba(255,255,255,0.065),
        inset 0 -1px 0 rgba(0,0,0,0.46);
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap:1px;
      font-size:19px;
      line-height:1;
      font-weight:500;
      cursor:pointer;
      -webkit-tap-highlight-color:transparent;
      transition:transform 90ms ease, border-color 140ms ease, box-shadow 140ms ease, filter 140ms ease;
    }
    #pg-mobile-auth-entry .pg-auth-key:active{
      transform:scale(0.985) translateY(1px);
      border-color:rgba(var(--zp-primary-rgb),0.46);
      box-shadow:
        0 0 20px rgba(var(--zp-primary-rgb),0.18),
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -1px 0 rgba(0,0,0,0.46);
      filter:brightness(1.08);
    }
    #pg-mobile-auth-entry .pg-auth-key small{
      color:rgba(255,255,255,0.56);
      font-size:7px;
      line-height:1;
      font-weight:700;
      letter-spacing:0.08em;
      text-transform:uppercase;
      min-height:8px;
    }
    #pg-mobile-auth-entry .pg-auth-key-zero{
      grid-column:2;
    }
    #pg-mobile-auth-entry .pg-auth-key-back{
      font-size:20px;
      color:rgba(255,255,255,0.78);
    }
    #pg-mobile-auth-entry .pg-zpa-screen-code .pg-zpa-form-copy{
      margin-bottom:6px;
    }
    /* =========================================================
       STEP 1300 — SCREENS 05–06 PHONE VERIFIED + SECURE ACCOUNT
       Scope: isolated to #pg-mobile-auth-entry only.
    ========================================================= */
    #pg-mobile-auth-entry .pg-zpa-center-screen{
      justify-content:center;
      align-items:center;
      text-align:center;
      padding:8px 0 12px;
    }
    #pg-mobile-auth-entry .pg-zpa-check-hero{
      position:relative;
      width:172px;
      height:172px;
      border-radius:999px;
      display:grid;
      place-items:center;
      margin:-6px auto 30px;
    }
    #pg-mobile-auth-entry .pg-zpa-check-hero::before{
      content:"";
      position:absolute;
      inset:32px;
      border-radius:999px;
      background:
        radial-gradient(circle at 36% 28%, rgba(255,255,255,0.16), rgba(255,255,255,0.00) 34%),
        radial-gradient(circle at 50% 50%, rgba(var(--zp-primary-rgb),0.18), rgba(0,0,0,0.32) 72%);
      border:1px solid rgba(var(--zp-primary-rgb),0.58);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 0 32px rgba(var(--zp-primary-rgb),0.34),
        0 0 78px rgba(var(--zp-primary-rgb),0.16),
        0 28px 62px rgba(0,0,0,0.50);
    }
    #pg-mobile-auth-entry .pg-zpa-check-hero::after{
      content:"";
      position:absolute;
      inset:18px;
      border-radius:999px;
      border:1px solid rgba(var(--zp-primary-rgb),0.18);
      box-shadow:0 0 42px rgba(var(--zp-primary-rgb),0.14) inset;
      animation:pgZpVerifiedPulse 2.8s ease-in-out infinite;
    }
    @keyframes pgZpVerifiedPulse{
      0%,100%{ transform:scale(0.96); opacity:0.34; }
      50%{ transform:scale(1.06); opacity:0.78; }
    }
    #pg-mobile-auth-entry .pg-zpa-check-icon{
      position:relative;
      z-index:2;
      width:62px;
      height:62px;
      color:rgb(var(--zp-primary-rgb));
      filter:
        drop-shadow(0 0 18px rgba(var(--zp-primary-rgb),0.50))
        drop-shadow(0 0 42px rgba(var(--zp-primary-rgb),0.18));
    }
    #pg-mobile-auth-entry .pg-zpa-check-icon svg{
      width:100%;
      height:100%;
      display:block;
    }
    #pg-mobile-auth-entry .pg-zpa-verified-title{
      margin:0;
      color:#ffffff;
      font-size:20px;
      line-height:1.15;
      letter-spacing:-0.02em;
      font-weight:560;
      text-align:center;
    }
    #pg-mobile-auth-entry .pg-zpa-verified-sub{
      margin:14px auto 0;
      max-width:240px;
      color:rgba(255,255,255,0.70);
      font-size:12px;
      line-height:1.55;
      font-weight:420;
      text-align:center;
    }
    #pg-mobile-auth-entry .pg-zpa-verified-action{
      position:absolute;
      left:0;
      right:0;
      bottom:58px;
      width:100%;
    }
    #pg-mobile-auth-entry .pg-zpa-secure-screen{
      justify-content:flex-start;
      align-items:stretch;
      padding:54px 0 12px;
    }
    #pg-mobile-auth-entry .pg-zpa-secure-copy{
      width:100%;
      text-align:left;
      margin:0 0 24px;
    }
    #pg-mobile-auth-entry .pg-zpa-secure-title{
      margin:0;
      color:#ffffff;
      font-size:20px;
      line-height:1.2;
      letter-spacing:-0.025em;
      font-weight:560;
      text-align:left;
    }
    #pg-mobile-auth-entry .pg-zpa-secure-sub{
      margin:14px auto 0;
      max-width:250px;
      color:rgba(255,255,255,0.68);
      font-size:12px;
      line-height:1.52;
      font-weight:420;
      text-align:center;
    }
    #pg-mobile-auth-entry .pg-zpa-security-options{
      display:flex;
      flex-direction:column;
      gap:12px;
      width:100%;
      margin-top:28px;
    }
    #pg-mobile-auth-entry .pg-zpa-security-option{
      width:100%;
      min-height:58px;
      border:1px solid rgba(255,255,255,0.075);
      border-radius:10px;
      display:grid;
      grid-template-columns:42px 1fr 18px;
      align-items:center;
      gap:10px;
      padding:9px 11px;
      color:#ffffff;
      background:
        radial-gradient(120% 180% at 16% 0%, rgba(255,255,255,0.075), rgba(255,255,255,0.00) 44%),
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012) 52%, rgba(0,0,0,0.28)),
        rgba(8,13,15,0.88);
      box-shadow:
        0 14px 30px rgba(0,0,0,0.34),
        inset 0 1px 0 rgba(255,255,255,0.045),
        inset 0 0 0 1px rgba(255,255,255,0.025);
      cursor:pointer;
      -webkit-tap-highlight-color:transparent;
      transition:transform 100ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
    }
    #pg-mobile-auth-entry .pg-zpa-security-option:active{
      transform:scale(0.988);
      filter:brightness(1.06);
      border-color:rgba(var(--zp-primary-rgb),0.38);
      box-shadow:
        0 0 22px rgba(var(--zp-primary-rgb),0.16),
        0 14px 30px rgba(0,0,0,0.34),
        inset 0 1px 0 rgba(255,255,255,0.06);
    }
    #pg-mobile-auth-entry .pg-zpa-security-icon{
      width:34px;
      height:34px;
      border-radius:10px;
      display:grid;
      place-items:center;
      color:rgb(var(--zp-primary-rgb));
      background:rgba(var(--zp-primary-rgb),0.07);
      box-shadow:
        0 0 18px rgba(var(--zp-primary-rgb),0.14),
        inset 0 0 0 1px rgba(var(--zp-primary-rgb),0.10);
    }
    #pg-mobile-auth-entry .pg-zpa-security-icon svg{
      width:22px;
      height:22px;
      display:block;
      filter:drop-shadow(0 0 10px rgba(var(--zp-primary-rgb),0.34));
    }
    #pg-mobile-auth-entry .pg-zpa-security-main{
      min-width:0;
      text-align:left;
    }
    #pg-mobile-auth-entry .pg-zpa-security-label{
      display:block;
      color:rgba(255,255,255,0.94);
      font-size:12px;
      line-height:1.2;
      font-weight:560;
      letter-spacing:-0.01em;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    #pg-mobile-auth-entry .pg-zpa-security-note{
      display:block;
      margin-top:3px;
      color:rgba(255,255,255,0.54);
      font-size:10px;
      line-height:1.2;
      font-weight:420;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    #pg-mobile-auth-entry .pg-zpa-security-arrow{
      color:rgba(var(--zp-primary-rgb),0.94);
      font-size:18px;
      line-height:1;
      text-align:right;
      text-shadow:0 0 12px rgba(var(--zp-primary-rgb),0.20);
    }
    #pg-mobile-auth-entry .pg-zpa-skip{
      position:absolute;
      left:0;
      right:0;
      bottom:62px;
      border:0;
      background:transparent;
      color:rgba(var(--zp-primary-rgb),0.92);
      font-size:12px;
      line-height:1;
      font-weight:560;
      cursor:pointer;
      -webkit-tap-highlight-color:transparent;
      text-align:center;
    }
    /* =========================================================
       STEP 1300 — SCREENS 07–08 CREATE PIN + BIOMETRIC ENABLED
       Scope: isolated to #pg-mobile-auth-entry only.
       Reuses auth keypad visual language for continuity.
    ========================================================= */
    #pg-mobile-auth-entry .pg-zpa-pin-screen{
      justify-content:flex-start;
      align-items:stretch;
      padding:26px 0 12px;
    }
    #pg-mobile-auth-entry .pg-zpa-pin-copy{
      width:100%;
      text-align:left;
      margin:0 0 18px;
    }
    #pg-mobile-auth-entry .pg-zpa-pin-title{
      margin:0;
      color:#ffffff;
      font-size:22px;
      line-height:1.18;
      letter-spacing:-0.032em;
      font-weight:590;
      text-align:left;
    }
    #pg-mobile-auth-entry .pg-zpa-pin-sub{
      margin:10px 0 0;
      max-width:250px;
      color:rgba(255,255,255,0.68);
      font-size:12px;
      line-height:1.48;
      font-weight:420;
      text-align:left;
    }
    #pg-mobile-auth-entry .pg-zpa-pin-sub.is-error{
      color:rgb(var(--zp-primary-rgb));
      text-shadow:0 0 12px rgba(var(--zp-primary-rgb),0.22);
    }
    #pg-mobile-auth-entry .pg-zpa-pin-dots{
      display:grid;
      grid-template-columns:repeat(6, 1fr);
      gap:7px;
      width:100%;
      margin:20px 0 42px;
    }
    #pg-mobile-auth-entry .pg-zpa-pin-dot{
      height:34px;
      border-radius:7px;
      display:flex;
      align-items:center;
      justify-content:center;
      background:
        radial-gradient(120% 130% at 28% 0%, rgba(255,255,255,0.06), rgba(255,255,255,0.00) 45%),
        rgba(7,11,13,0.72);
      border:1px solid rgba(255,255,255,0.13);
      box-shadow:
        0 10px 22px rgba(0,0,0,0.30),
        inset 0 0 0 1px rgba(255,255,255,0.026);
    }
    #pg-mobile-auth-entry .pg-zpa-pin-dot::after{
      content:"";
      width:5px;
      height:5px;
      border-radius:999px;
      background:rgba(255,255,255,0.38);
      box-shadow:0 0 8px rgba(255,255,255,0.08);
      transition:background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }
    #pg-mobile-auth-entry .pg-zpa-pin-dot.is-filled{
      border-color:rgba(var(--zp-primary-rgb),0.56);
      box-shadow:
        0 0 0 1px rgba(var(--zp-primary-rgb),0.13) inset,
        0 0 18px rgba(var(--zp-primary-rgb),0.20),
        0 10px 22px rgba(0,0,0,0.30);
    }
    #pg-mobile-auth-entry .pg-zpa-pin-dot.is-filled::after{
      background:rgb(var(--zp-primary-rgb));
      box-shadow:
        0 0 12px rgba(var(--zp-primary-rgb),0.50),
        0 0 24px rgba(var(--zp-primary-rgb),0.20);
      transform:scale(1.08);
    }
    #pg-mobile-auth-entry .pg-zpa-pin-screen .pg-auth-keypad{
      margin-top:0;
    }
    #pg-mobile-auth-entry .pg-zpa-biometric-hero{
      position:relative;
      width:190px;
      height:190px;
      border-radius:999px;
      display:grid;
      place-items:center;
      margin:-8px auto 34px;
    }
    #pg-mobile-auth-entry .pg-zpa-biometric-hero::before{
      content:"";
      position:absolute;
      inset:26px;
      border-radius:999px;
      background:
        radial-gradient(circle at 38% 30%, rgba(255,255,255,0.15), rgba(255,255,255,0.00) 34%),
        radial-gradient(circle at 50% 50%, rgba(var(--zp-primary-rgb),0.17), rgba(0,0,0,0.34) 72%);
      border:1px solid rgba(var(--zp-primary-rgb),0.42);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.055) inset,
        0 0 36px rgba(var(--zp-primary-rgb),0.30),
        0 0 82px rgba(var(--zp-primary-rgb),0.14),
        0 30px 68px rgba(0,0,0,0.48);
    }
    #pg-mobile-auth-entry .pg-zpa-biometric-hero::after{
      content:"";
      position:absolute;
      inset:6px;
      border-radius:999px;
      background:conic-gradient(from 210deg,
        rgba(var(--zp-primary-rgb),0.00),
        rgba(var(--zp-primary-rgb),0.24),
        rgba(var(--zp-secondary-rgb),0.12),
        rgba(var(--zp-primary-rgb),0.00) 62%);
      filter:blur(14px);
      opacity:0.55;
      animation:pgZpOrbSpin 14s linear infinite;
    }
    #pg-mobile-auth-entry .pg-zpa-fingerprint-icon{
      position:relative;
      z-index:2;
      width:96px;
      height:96px;
      color:rgb(var(--zp-primary-rgb));
      filter:
        drop-shadow(0 0 18px rgba(var(--zp-primary-rgb),0.48))
        drop-shadow(0 0 42px rgba(var(--zp-primary-rgb),0.18));
    }
    #pg-mobile-auth-entry .pg-zpa-fingerprint-icon svg{
      width:100%;
      height:100%;
      display:block;
    }
    #pg-mobile-auth-entry .pg-zpa-biometric-action{
      width:100%;
      margin-top:30px;
    }
    /* =========================================================
       STEP 1300 — SCREENS 09–10 REWARDS WALLET CREATION + WALLET CREATED
       Scope: isolated to #pg-mobile-auth-entry only.
       Final visual foundation before production auth/backend wiring.
    ========================================================= */
    #pg-mobile-auth-entry[data-auth-screen="9"] .pg-zpa-screen[data-screen="9"],
    #pg-mobile-auth-entry[data-auth-screen="10"] .pg-zpa-screen[data-screen="10"]{
      opacity:1;
      transform:translateX(0) scale(1);
      pointer-events:auto;
      filter:blur(0);
    }
    #pg-mobile-auth-entry[data-auth-screen="9"] .pg-zpa-screen[data-screen="1"],
    #pg-mobile-auth-entry[data-auth-screen="9"] .pg-zpa-screen[data-screen="2"],
    #pg-mobile-auth-entry[data-auth-screen="9"] .pg-zpa-screen[data-screen="3"],
    #pg-mobile-auth-entry[data-auth-screen="9"] .pg-zpa-screen[data-screen="4"],
    #pg-mobile-auth-entry[data-auth-screen="9"] .pg-zpa-screen[data-screen="5"],
    #pg-mobile-auth-entry[data-auth-screen="9"] .pg-zpa-screen[data-screen="6"],
    #pg-mobile-auth-entry[data-auth-screen="9"] .pg-zpa-screen[data-screen="7"],
    #pg-mobile-auth-entry[data-auth-screen="9"] .pg-zpa-screen[data-screen="8"],
    #pg-mobile-auth-entry[data-auth-screen="10"] .pg-zpa-screen[data-screen="1"],
    #pg-mobile-auth-entry[data-auth-screen="10"] .pg-zpa-screen[data-screen="2"],
    #pg-mobile-auth-entry[data-auth-screen="10"] .pg-zpa-screen[data-screen="3"],
    #pg-mobile-auth-entry[data-auth-screen="10"] .pg-zpa-screen[data-screen="4"],
    #pg-mobile-auth-entry[data-auth-screen="10"] .pg-zpa-screen[data-screen="5"],
    #pg-mobile-auth-entry[data-auth-screen="10"] .pg-zpa-screen[data-screen="6"],
    #pg-mobile-auth-entry[data-auth-screen="10"] .pg-zpa-screen[data-screen="7"],
    #pg-mobile-auth-entry[data-auth-screen="10"] .pg-zpa-screen[data-screen="8"],
    #pg-mobile-auth-entry[data-auth-screen="10"] .pg-zpa-screen[data-screen="9"]{
      opacity:0;
      transform:translateX(-24px) scale(0.985);
    }
    #pg-mobile-auth-entry[data-auth-screen="1"] .pg-zpa-screen[data-screen="9"],
    #pg-mobile-auth-entry[data-auth-screen="1"] .pg-zpa-screen[data-screen="10"],
    #pg-mobile-auth-entry[data-auth-screen="2"] .pg-zpa-screen[data-screen="9"],
    #pg-mobile-auth-entry[data-auth-screen="2"] .pg-zpa-screen[data-screen="10"],
    #pg-mobile-auth-entry[data-auth-screen="3"] .pg-zpa-screen[data-screen="9"],
    #pg-mobile-auth-entry[data-auth-screen="3"] .pg-zpa-screen[data-screen="10"],
    #pg-mobile-auth-entry[data-auth-screen="4"] .pg-zpa-screen[data-screen="9"],
    #pg-mobile-auth-entry[data-auth-screen="4"] .pg-zpa-screen[data-screen="10"],
    #pg-mobile-auth-entry[data-auth-screen="5"] .pg-zpa-screen[data-screen="9"],
    #pg-mobile-auth-entry[data-auth-screen="5"] .pg-zpa-screen[data-screen="10"],
    #pg-mobile-auth-entry[data-auth-screen="6"] .pg-zpa-screen[data-screen="9"],
    #pg-mobile-auth-entry[data-auth-screen="6"] .pg-zpa-screen[data-screen="10"],
    #pg-mobile-auth-entry[data-auth-screen="7"] .pg-zpa-screen[data-screen="9"],
    #pg-mobile-auth-entry[data-auth-screen="7"] .pg-zpa-screen[data-screen="10"],
    #pg-mobile-auth-entry[data-auth-screen="8"] .pg-zpa-screen[data-screen="9"],
    #pg-mobile-auth-entry[data-auth-screen="8"] .pg-zpa-screen[data-screen="10"],
    #pg-mobile-auth-entry[data-auth-screen="9"] .pg-zpa-screen[data-screen="10"]{
      opacity:0;
      transform:translateX(24px) scale(0.985);
    }
    #pg-mobile-auth-entry[data-auth-screen="9"] .pg-zpa-dot:nth-child(9),
    #pg-mobile-auth-entry[data-auth-screen="10"] .pg-zpa-dot:nth-child(10){
      width:18px;
      background:rgba(var(--zp-primary-rgb),0.95);
      box-shadow:0 0 12px rgba(var(--zp-primary-rgb),0.36);
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-screen{
      justify-content:center;
      align-items:center;
      text-align:center;
      padding:8px 0 12px;
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-hero{
      position:relative;
      width:224px;
      height:224px;
      border-radius:999px;
      display:grid;
      place-items:center;
      margin:-14px auto 30px;
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-hero::before{
      content:"";
      position:absolute;
      inset:20px;
      border-radius:999px;
      background:
        radial-gradient(circle at 38% 30%, rgba(255,255,255,0.14), rgba(255,255,255,0.00) 34%),
        radial-gradient(circle at 50% 50%, rgba(var(--zp-primary-rgb),0.18), rgba(0,0,0,0.34) 72%);
      border:1px solid rgba(var(--zp-primary-rgb),0.28);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.045) inset,
        0 0 42px rgba(var(--zp-primary-rgb),0.28),
        0 0 96px rgba(var(--zp-primary-rgb),0.13),
        0 32px 72px rgba(0,0,0,0.52);
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-hero::after{
      content:"";
      position:absolute;
      inset:46px;
      border-radius:999px;
      border:1px solid rgba(var(--zp-primary-rgb),0.18);
      box-shadow:0 0 46px rgba(var(--zp-primary-rgb),0.14) inset;
      animation:pgZpWalletPulse 3s ease-in-out infinite;
    }
    @keyframes pgZpWalletPulse{
      0%,100%{ transform:scale(0.96); opacity:0.36; }
      50%{ transform:scale(1.08); opacity:0.74; }
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-orbit{
      display:none !important;
      opacity:0 !important;
      visibility:hidden !important;
      pointer-events:none !important;
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-icon{
      position:relative;
      z-index:2;
      width:126px;
      height:98px;
      display:grid;
      place-items:center;
      filter:
        drop-shadow(0 0 18px rgba(var(--zp-primary-rgb),0.36))
        drop-shadow(0 28px 42px rgba(0,0,0,0.42));
      animation:pgZpWalletFloat 4.2s ease-in-out infinite;
    }
    @keyframes pgZpWalletFloat{
      0%,100%{ transform:translateY(0) rotate(-2deg); }
      50%{ transform:translateY(-8px) rotate(2deg); }
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-icon svg{
      width:100%;
      height:100%;
      display:block;
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-badge{
      position:absolute;
      right:-4px;
      bottom:6px;
      width:36px;
      height:36px;
      border-radius:999px;
      display:grid;
      place-items:center;
      color:rgb(var(--zp-primary-rgb));
      background:
        radial-gradient(circle at 40% 28%, rgba(255,255,255,0.16), rgba(255,255,255,0.00) 38%),
        rgba(5,10,11,0.88);
      border:1px solid rgba(var(--zp-primary-rgb),0.58);
      box-shadow:
        0 0 18px rgba(var(--zp-primary-rgb),0.34),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-badge svg{
      width:22px;
      height:22px;
      display:block;
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-kicker{
      margin:0 0 12px;
      color:rgb(var(--zp-primary-rgb));
      font-size:11px;
      line-height:1;
      font-weight:700;
      letter-spacing:0.26em;
      text-transform:uppercase;
      text-shadow:0 0 16px rgba(var(--zp-primary-rgb),0.28);
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-title{
      margin:0;
      color:#ffffff;
      font-size:20px;
      line-height:1.18;
      letter-spacing:-0.025em;
      font-weight:560;
      text-align:center;
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-sub{
      margin:12px auto 0;
      max-width:250px;
      color:rgba(255,255,255,0.68);
      font-size:12px;
      line-height:1.52;
      font-weight:420;
      text-align:center;
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-progress{
      width:min(300px, 84vw);
      height:3px;
      border-radius:999px;
      background:rgba(255,255,255,0.10);
      margin:34px auto 0;
      overflow:hidden;
      box-shadow:0 0 0 1px rgba(255,255,255,0.035) inset;
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-progress-fill{
      height:100%;
      width:34%;
      border-radius:999px;
      background:linear-gradient(90deg, rgba(var(--zp-primary-rgb),0.96), rgba(var(--zp-secondary-rgb),0.84));
      box-shadow:0 0 18px rgba(var(--zp-primary-rgb),0.42);
      animation:pgZpWalletProgress 2.45s ease-in-out infinite;
    }
    @keyframes pgZpWalletProgress{
      0%{ transform:translateX(-95%); width:34%; }
      48%{ width:58%; }
      100%{ transform:translateX(290%); width:34%; }
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-created-action{
      width:100%;
      margin-top:30px;
    }
    /* =========================================================
       STEP 1300 — SCREEN 11 WELCOME BACK / RETURNING USER UNLOCK
       Scope: isolated to #pg-mobile-auth-entry only.
       Activated by the Welcome screen Log in action for visual review.
    ========================================================= */
    #pg-mobile-auth-entry[data-auth-screen="11"] .pg-zpa-screen[data-screen="11"]{
      opacity:1;
      transform:translateX(0) scale(1);
      pointer-events:auto;
      filter:blur(0);
    }
    #pg-mobile-auth-entry[data-auth-screen="11"] .pg-zpa-screen:not([data-screen="11"]){
      opacity:0;
      transform:translateX(-24px) scale(0.985);
      pointer-events:none;
      filter:blur(4px);
    }
    #pg-mobile-auth-entry:not([data-auth-screen="11"]) .pg-zpa-screen[data-screen="11"]{
      opacity:0;
      transform:translateX(24px) scale(0.985);
      pointer-events:none;
      filter:blur(4px);
    }
    #pg-mobile-auth-entry .pg-zpa-welcome-back-screen{
      justify-content:flex-start;
      align-items:stretch;
      padding:18px 0 12px;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-hero{
      width:min(272px, 76vw);
      height:min(272px, 76vw);
      position:relative;
      display:grid;
      place-items:center;
      margin:-6px auto 18px;
      border-radius:999px;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-hero::before{
      content:"";
      position:absolute;
      inset:16%;
      border-radius:999px;
      background:
        radial-gradient(circle at 50% 50%, rgba(var(--zp-primary-rgb),0.22), rgba(var(--zp-primary-rgb),0.06) 40%, rgba(0,0,0,0.00) 72%);
      box-shadow:
        0 0 0 1px rgba(var(--zp-primary-rgb),0.16),
        0 0 44px rgba(var(--zp-primary-rgb),0.24),
        inset 0 0 34px rgba(var(--zp-primary-rgb),0.10);
      filter:blur(0.2px);
    }
    #pg-mobile-auth-entry .pg-zpa-wb-growth-orb{
      position:relative;
      width:184px;
      height:184px;
      border-radius:999px;
      display:grid;
      place-items:center;
      background:
        radial-gradient(circle at 36% 28%, rgba(255,255,255,0.18), rgba(255,255,255,0.00) 28%),
        radial-gradient(circle at 50% 50%, rgba(var(--zp-primary-rgb),0.18), rgba(0,0,0,0.28) 68%),
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(0,0,0,0.16));
      border:1px solid rgba(var(--zp-primary-rgb),0.38);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 0 32px rgba(var(--zp-primary-rgb),0.30),
        0 34px 72px rgba(0,0,0,0.48);
      overflow:hidden;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-growth-orb::before{
      content:"";
      position:absolute;
      inset:22px;
      border-radius:999px;
      border:1px solid rgba(var(--zp-primary-rgb),0.30);
      box-shadow:0 0 28px rgba(var(--zp-primary-rgb),0.18) inset;
      opacity:0.92;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-growth-orb::after{
      content:"";
      position:absolute;
      width:148%;
      height:148%;
      border-radius:999px;
      background:conic-gradient(from 210deg,
        rgba(var(--zp-primary-rgb),0.00),
        rgba(var(--zp-primary-rgb),0.28),
        rgba(var(--zp-secondary-rgb),0.12),
        rgba(var(--zp-primary-rgb),0.00) 62%);
      filter:blur(10px);
      opacity:0.72;
      animation:pgZpOrbSpin 14s linear infinite;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-avatar{
      position:relative;
      z-index:2;
      width:82px;
      height:82px;
      border-radius:999px;
      display:grid;
      place-items:center;
      color:rgb(var(--zp-primary-rgb));
      background:
        radial-gradient(circle at 38% 28%, rgba(255,255,255,0.10), rgba(255,255,255,0.00) 38%),
        radial-gradient(circle at 50% 54%, rgba(var(--zp-primary-rgb),0.13), rgba(0,0,0,0.22) 66%),
        rgba(5,10,11,0.36);
      border:1px solid rgba(var(--zp-primary-rgb),0.24);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.05) inset,
        0 0 22px rgba(var(--zp-primary-rgb),0.20),
        0 20px 44px rgba(0,0,0,0.34);
      font-size:36px;
      line-height:1;
      font-weight:780;
      letter-spacing:-0.065em;
      text-shadow:
        0 0 18px rgba(var(--zp-primary-rgb),0.34),
        0 10px 28px rgba(0,0,0,0.38);
    }
    #pg-mobile-auth-entry .pg-zpa-wb-horizon{
      position:absolute;
      left:-14%;
      right:-14%;
      bottom:18px;
      height:84px;
      border-radius:50% 50% 0 0;
      background:
        radial-gradient(80% 100% at 50% 100%, rgba(var(--zp-primary-rgb),0.38), rgba(var(--zp-primary-rgb),0.00) 54%),
        linear-gradient(180deg, rgba(var(--zp-primary-rgb),0.00), rgba(var(--zp-primary-rgb),0.18));
      border-top:1px solid rgba(var(--zp-primary-rgb),0.58);
      box-shadow:0 -12px 42px rgba(var(--zp-primary-rgb),0.22);
      opacity:0.68;
      filter:blur(0.1px);
    }
    #pg-mobile-auth-entry .pg-zpa-wb-copy{
      width:100%;
      text-align:left;
      margin:0 0 22px;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-kicker{
      margin:0 0 8px;
      color:rgba(255,255,255,0.94);
      font-size:17px;
      line-height:1.2;
      letter-spacing:-0.03em;
      font-weight:480;
      text-align:left;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-name{
      margin:0;
      color:#ffffff;
      font-size:32px;
      line-height:1.05;
      letter-spacing:-0.055em;
      font-weight:760;
      text-align:left;
      text-shadow:0 22px 42px rgba(0,0,0,0.44);
    }
    #pg-mobile-auth-entry .pg-zpa-wb-sub{
      margin:16px 0 0;
      max-width:280px;
      color:rgba(255,255,255,0.66);
      font-size:14px;
      line-height:1.55;
      font-weight:420;
      text-align:left;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-options{
      display:flex;
      flex-direction:column;
      gap:14px;
      width:100%;
      margin-top:8px;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-divider{
      display:grid;
      grid-template-columns:1fr auto 1fr;
      align-items:center;
      gap:14px;
      color:rgba(255,255,255,0.46);
      font-size:12px;
      font-weight:650;
      letter-spacing:0.02em;
      text-transform:uppercase;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-divider::before,
    #pg-mobile-auth-entry .pg-zpa-wb-divider::after{
      content:"";
      height:1px;
      background:rgba(255,255,255,0.10);
    }
    #pg-mobile-auth-entry .pg-zpa-wb-option{
      width:100%;
      min-height:66px;
      border:1px solid rgba(255,255,255,0.085);
      border-radius:14px;
      display:grid;
      grid-template-columns:50px 1fr 18px;
      align-items:center;
      gap:12px;
      padding:10px 12px;
      color:#ffffff;
      background:
        radial-gradient(120% 190% at 16% 0%, rgba(var(--zp-primary-rgb),0.13), rgba(255,255,255,0.00) 44%),
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014) 52%, rgba(0,0,0,0.28)),
        rgba(8,13,15,0.90);
      box-shadow:
        0 16px 34px rgba(0,0,0,0.36),
        inset 0 1px 0 rgba(255,255,255,0.05),
        inset 0 0 0 1px rgba(255,255,255,0.026);
      cursor:pointer;
      -webkit-tap-highlight-color:transparent;
      transition:transform 100ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-option:active{
      transform:scale(0.988);
      filter:brightness(1.06);
      border-color:rgba(var(--zp-primary-rgb),0.42);
      box-shadow:
        0 0 24px rgba(var(--zp-primary-rgb),0.18),
        0 16px 34px rgba(0,0,0,0.36),
        inset 0 1px 0 rgba(255,255,255,0.06);
    }
    #pg-mobile-auth-entry .pg-zpa-wb-icon{
      width:42px;
      height:42px;
      border-radius:999px;
      display:grid;
      place-items:center;
      color:rgb(var(--zp-primary-rgb));
      background:rgba(var(--zp-primary-rgb),0.07);
      box-shadow:
        0 0 20px rgba(var(--zp-primary-rgb),0.16),
        inset 0 0 0 1px rgba(var(--zp-primary-rgb),0.12);
    }
    #pg-mobile-auth-entry .pg-zpa-wb-icon svg{
      width:25px;
      height:25px;
      display:block;
      filter:drop-shadow(0 0 10px rgba(var(--zp-primary-rgb),0.34));
    }
    #pg-mobile-auth-entry .pg-zpa-wb-main{
      min-width:0;
      text-align:left;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-label{
      display:block;
      color:rgba(255,255,255,0.96);
      font-size:15px;
      line-height:1.2;
      font-weight:610;
      letter-spacing:-0.025em;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-note{
      display:block;
      margin-top:5px;
      color:rgba(255,255,255,0.58);
      font-size:12px;
      line-height:1.2;
      font-weight:420;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-arrow{
      color:rgba(var(--zp-primary-rgb),0.96);
      font-size:28px;
      line-height:1;
      text-align:right;
      text-shadow:0 0 14px rgba(var(--zp-primary-rgb),0.24);
    }
    #pg-mobile-auth-entry .pg-zpa-wb-protected{
      margin:34px auto 0;
      max-width:240px;
      display:flex;
      flex-direction:column;
      align-items:center;
      gap:9px;
      color:rgba(255,255,255,0.50);
      font-size:12px;
      line-height:1.45;
      text-align:center;
    }
    #pg-mobile-auth-entry .pg-zpa-wb-shield{
      width:30px;
      height:30px;
      color:rgb(var(--zp-primary-rgb));
      opacity:0.92;
      filter:drop-shadow(0 0 14px rgba(var(--zp-primary-rgb),0.32));
    }
    #pg-mobile-auth-entry .pg-zpa-wb-shield svg{
      width:100%;
      height:100%;
      display:block;
    }
    /* =========================================================
       STEP 1300 — FINAL SECURITY OPTIONS PARITY POLISH
       Scope: ONLY Screen 06 security option selectors.
       Purpose: match Welcome Back option scale, spacing, divider,
       icon sizing, typography, arrow treatment, and card presence.
    ========================================================= */
    #pg-mobile-auth-entry .pg-zpa-security-options{
      display:flex;
      flex-direction:column;
      gap:14px;
      width:100%;
      margin-top:30px;
    }
    #pg-mobile-auth-entry .pg-zpa-security-divider{
      display:grid;
      grid-template-columns:1fr auto 1fr;
      align-items:center;
      gap:14px;
      color:rgba(255,255,255,0.46);
      font-size:12px;
      line-height:1;
      font-weight:650;
      letter-spacing:0.02em;
      text-transform:uppercase;
    }
    #pg-mobile-auth-entry .pg-zpa-security-divider::before,
    #pg-mobile-auth-entry .pg-zpa-security-divider::after{
      content:"";
      height:1px;
      background:rgba(255,255,255,0.10);
    }
    #pg-mobile-auth-entry .pg-zpa-security-option{
      width:100%;
      min-height:66px;
      border:1px solid rgba(255,255,255,0.085);
      border-radius:14px;
      display:grid;
      grid-template-columns:50px 1fr 18px;
      align-items:center;
      gap:12px;
      padding:10px 12px;
      color:#ffffff;
      background:
        radial-gradient(120% 190% at 16% 0%, rgba(var(--zp-primary-rgb),0.13), rgba(255,255,255,0.00) 44%),
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014) 52%, rgba(0,0,0,0.28)),
        rgba(8,13,15,0.90);
      box-shadow:
        0 16px 34px rgba(0,0,0,0.36),
        inset 0 1px 0 rgba(255,255,255,0.05),
        inset 0 0 0 1px rgba(255,255,255,0.026);
      cursor:pointer;
      -webkit-tap-highlight-color:transparent;
      transition:transform 100ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
    }
    #pg-mobile-auth-entry .pg-zpa-security-option:active{
      transform:scale(0.988);
      filter:brightness(1.06);
      border-color:rgba(var(--zp-primary-rgb),0.42);
      box-shadow:
        0 0 24px rgba(var(--zp-primary-rgb),0.18),
        0 16px 34px rgba(0,0,0,0.36),
        inset 0 1px 0 rgba(255,255,255,0.06);
    }
    #pg-mobile-auth-entry .pg-zpa-security-icon{
      width:42px;
      height:42px;
      border-radius:999px;
      display:grid;
      place-items:center;
      color:rgb(var(--zp-primary-rgb));
      background:rgba(var(--zp-primary-rgb),0.07);
      box-shadow:
        0 0 20px rgba(var(--zp-primary-rgb),0.16),
        inset 0 0 0 1px rgba(var(--zp-primary-rgb),0.12);
    }
    #pg-mobile-auth-entry .pg-zpa-security-icon svg{
      width:25px;
      height:25px;
      display:block;
      filter:drop-shadow(0 0 10px rgba(var(--zp-primary-rgb),0.34));
    }
    #pg-mobile-auth-entry .pg-zpa-security-main{
      min-width:0;
      text-align:left;
    }
    #pg-mobile-auth-entry .pg-zpa-security-label{
      display:block;
      color:rgba(255,255,255,0.96);
      font-size:15px;
      line-height:1.2;
      font-weight:610;
      letter-spacing:-0.025em;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    #pg-mobile-auth-entry .pg-zpa-security-note{
      display:block;
      margin-top:5px;
      color:rgba(255,255,255,0.58);
      font-size:12px;
      line-height:1.2;
      font-weight:420;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    #pg-mobile-auth-entry .pg-zpa-security-arrow{
      color:rgba(var(--zp-primary-rgb),0.96);
      font-size:28px;
      line-height:1;
      text-align:right;
      text-shadow:0 0 14px rgba(var(--zp-primary-rgb),0.24);
    }
    /* =========================================================
       STEP 1300 — FINAL ORB HERO SYSTEM POLISH
       Scope: ONLY orb/icon hero selectors for Screens 02, 05, 08, 09, 10.
       Purpose: align orb size, centerline, glow footprint, and hero spacing
       while preserving each screen's unique icon and animation.
    ========================================================= */
    #pg-mobile-auth-entry .pg-zpa-loader-wrap,
    #pg-mobile-auth-entry .pg-zpa-check-hero,
    #pg-mobile-auth-entry .pg-zpa-biometric-hero,
    #pg-mobile-auth-entry .pg-zpa-wallet-hero{
      width:224px;
      height:224px;
      position:relative;
      display:grid;
      place-items:center;
      border-radius:999px;
      margin:-10px auto 30px;
    }
    #pg-mobile-auth-entry .pg-zpa-loader-core{
      width:156px;
      height:156px;
      background:
        radial-gradient(circle at 38% 28%, rgba(255,255,255,0.17), rgba(255,255,255,0.00) 34%),
        radial-gradient(circle at 50% 50%, rgba(var(--zp-primary-rgb),0.19), rgba(0,0,0,0.34) 72%);
      border:1px solid rgba(var(--zp-primary-rgb),0.46);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.055) inset,
        0 0 40px rgba(var(--zp-primary-rgb),0.32),
        0 0 88px rgba(var(--zp-primary-rgb),0.13),
        0 31px 70px rgba(0,0,0,0.50);
    }
    #pg-mobile-auth-entry .pg-zpa-loader-core::before{
      inset:21px;
      border-color:rgba(var(--zp-primary-rgb),0.25);
      box-shadow:0 0 34px rgba(var(--zp-primary-rgb),0.15) inset;
    }
    #pg-mobile-auth-entry .pg-zpa-loader-core::after{
      inset:39px;
      border-color:rgba(var(--zp-primary-rgb),0.18);
      opacity:0.72;
    }
    #pg-mobile-auth-entry .pg-zpa-check-hero::before,
    #pg-mobile-auth-entry .pg-zpa-biometric-hero::before,
    #pg-mobile-auth-entry .pg-zpa-wallet-hero::before{
      inset:34px;
      border-radius:999px;
      background:
        radial-gradient(circle at 38% 30%, rgba(255,255,255,0.15), rgba(255,255,255,0.00) 34%),
        radial-gradient(circle at 50% 50%, rgba(var(--zp-primary-rgb),0.18), rgba(0,0,0,0.34) 72%);
      border:1px solid rgba(var(--zp-primary-rgb),0.44);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.052) inset,
        0 0 40px rgba(var(--zp-primary-rgb),0.31),
        0 0 88px rgba(var(--zp-primary-rgb),0.13),
        0 31px 70px rgba(0,0,0,0.50);
    }
    #pg-mobile-auth-entry .pg-zpa-check-hero::after,
    #pg-mobile-auth-entry .pg-zpa-biometric-hero::after{
      inset:8px;
      border-radius:999px;
      background:conic-gradient(from 210deg,
        rgba(var(--zp-primary-rgb),0.00),
        rgba(var(--zp-primary-rgb),0.22),
        rgba(var(--zp-secondary-rgb),0.12),
        rgba(var(--zp-primary-rgb),0.00) 62%);
      border:0;
      box-shadow:none;
      filter:blur(14px);
      opacity:0.52;
      animation:pgZpOrbSpin 15s linear infinite;
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-hero::after{
      inset:56px;
      border-radius:999px;
      border:1px solid rgba(var(--zp-primary-rgb),0.20);
      box-shadow:0 0 46px rgba(var(--zp-primary-rgb),0.14) inset;
      background:transparent;
      filter:none;
      opacity:1;
      animation:pgZpWalletPulse 3s ease-in-out infinite;
    }
    #pg-mobile-auth-entry .pg-zpa-check-icon{
      width:126px;
      height:126px;
    }
    #pg-mobile-auth-entry .pg-zpa-fingerprint-icon{
      width:126px;
      height:126px;
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-icon{
      width:128px;
      height:100px;
    }
    #pg-mobile-auth-entry .pg-zpa-wallet-orbit{
      display:none !important;
      opacity:0 !important;
      visibility:hidden !important;
      pointer-events:none !important;
    }
    @media (max-height: 700px){
      #pg-mobile-auth-entry .pg-zpa-loader-wrap,
      #pg-mobile-auth-entry .pg-zpa-check-hero,
      #pg-mobile-auth-entry .pg-zpa-biometric-hero,
      #pg-mobile-auth-entry .pg-zpa-wallet-hero{
        width:190px;
        height:190px;
        margin:-6px auto 24px;
      }
      #pg-mobile-auth-entry .pg-zpa-loader-core{
        width:136px;
        height:136px;
      }
      #pg-mobile-auth-entry .pg-zpa-check-hero::before,
      #pg-mobile-auth-entry .pg-zpa-biometric-hero::before,
      #pg-mobile-auth-entry .pg-zpa-wallet-hero::before{
        inset:27px;
      }
      #pg-mobile-auth-entry .pg-zpa-check-hero::after,
      #pg-mobile-auth-entry .pg-zpa-biometric-hero::after{
        inset:4px;
      }
      #pg-mobile-auth-entry .pg-zpa-wallet-hero::after{
        inset:45px;
      }
      #pg-mobile-auth-entry .pg-zpa-check-icon{
        width:58px;
        height:58px;
      }
      #pg-mobile-auth-entry .pg-zpa-fingerprint-icon{
        width:82px;
        height:82px;
      }
      #pg-mobile-auth-entry .pg-zpa-wallet-icon{
        width:108px;
        height:84px;
      }
      #pg-mobile-auth-entry .pg-zpa-wallet-orbit{
        display:none !important;
        opacity:0 !important;
        visibility:hidden !important;
        pointer-events:none !important;
      }
    }
    @media (max-height: 700px){
      #pg-mobile-auth-entry .pg-zpa-wallet-hero{
        width:186px;
        height:186px;
        margin-bottom:24px;
      }
      #pg-mobile-auth-entry .pg-zpa-wallet-icon{
        width:108px;
        height:84px;
      }
      #pg-mobile-auth-entry .pg-zpa-wallet-progress{
        margin-top:24px;
      }
    }
    @media (max-height: 700px){
      #pg-mobile-auth-entry .pg-zpa-pin-screen{ padding-top:18px; }
      #pg-mobile-auth-entry .pg-zpa-pin-title{ font-size:20px; }
      #pg-mobile-auth-entry .pg-zpa-pin-dots{ margin:16px 0 28px; }
      #pg-mobile-auth-entry .pg-zpa-pin-dot{ height:30px; }
      #pg-mobile-auth-entry .pg-zpa-biometric-hero{ width:164px; height:164px; margin-bottom:24px; }
      #pg-mobile-auth-entry .pg-zpa-fingerprint-icon{ width:82px; height:82px; }
    }
    @media (max-height: 700px){
      #pg-mobile-auth-entry .pg-zpa-shell{
        padding-top:max(12px, env(safe-area-inset-top));
        padding-bottom:max(12px, env(safe-area-inset-bottom));
      }
      #pg-mobile-auth-entry .pg-zpa-top{ height:44px; }
      #pg-mobile-auth-entry .pg-zpa-hero{
        width:min(220px, 66vw);
        height:min(220px, 66vw);
        margin-bottom:18px;
      }
      #pg-mobile-auth-entry .pg-zpa-growth-orb{
        width:154px;
        height:154px;
      }
      #pg-mobile-auth-entry .pg-zpa-wb-hero{
        width:min(220px, 66vw);
        height:min(220px, 66vw);
        margin-bottom:14px;
      }
      #pg-mobile-auth-entry .pg-zpa-wb-growth-orb{
        width:154px;
        height:154px;
      }
      #pg-mobile-auth-entry .pg-zpa-wb-avatar{
        width:72px;
        height:72px;
        font-size:32px;
      }
      #pg-mobile-auth-entry .pg-zpa-loader-wrap{
        width:216px;
        height:216px;
        margin-bottom:22px;
      }
      #pg-mobile-auth-entry .pg-zpa-title{ font-size:23px; }
      #pg-mobile-auth-entry .pg-zpa-sub{ font-size:13px; margin-top:10px; }
      #pg-mobile-auth-entry .pg-zpa-actions{ margin-top:22px; }
      #pg-mobile-auth-entry .pg-zpa-form-screen{ padding-top:20px; }
      #pg-mobile-auth-entry .pg-zpa-form-title{ font-size:21px; }
      #pg-mobile-auth-entry .pg-zpa-form-sub{ font-size:12px; margin-top:9px; }
      #pg-mobile-auth-entry .pg-auth-key{ height:46px; }
      #pg-mobile-auth-entry .pg-zpa-otp-box{ height:38px; }
      #pg-mobile-auth-entry .pg-zpa-primary-btn{ height:48px; }
    }
    /* =========================================================
       STEP 1300 — FINAL PIN ENTRY / KEYPAD PARITY POLISH
       Scope: ONLY Screen 07 PIN entry + PIN keypad selectors.
       Purpose: match Screen 04 verification code box sizing,
       spacing, card treatment, and keypad vertical position.
    ========================================================= */
    #pg-mobile-auth-entry .pg-zpa-pin-dots{
      display:grid;
      grid-template-columns:repeat(6, 1fr);
      gap:7px;
      width:100%;
      margin:20px 0 12px;
    }
    #pg-mobile-auth-entry .pg-zpa-pin-dot{
      height:43px;
      border-radius:9px;
      display:flex;
      align-items:center;
      justify-content:center;
      background:
        radial-gradient(120% 130% at 28% 0%, rgba(255,255,255,0.075), rgba(255,255,255,0.00) 45%),
        rgba(7,11,13,0.82);
      border:1px solid rgba(255,255,255,0.15);
      box-shadow:
        0 12px 24px rgba(0,0,0,0.34),
        inset 0 0 0 1px rgba(255,255,255,0.035);
    }
    #pg-mobile-auth-entry .pg-zpa-pin-dot::after{
      content:"";
      width:0;
      height:0;
      border-radius:999px;
      background:transparent;
      box-shadow:none;
      transition:none;
    }
    #pg-mobile-auth-entry .pg-zpa-pin-dot.is-filled{
      border-color:rgba(var(--zp-primary-rgb),0.56);
      box-shadow:
        0 0 0 1px rgba(var(--zp-primary-rgb),0.13) inset,
        0 0 18px rgba(var(--zp-primary-rgb),0.20),
        0 12px 24px rgba(0,0,0,0.34);
    }
    #pg-mobile-auth-entry .pg-zpa-pin-dot.is-filled::after{
      width:8px;
      height:8px;
      background:rgb(var(--zp-primary-rgb));
      box-shadow:
        0 0 12px rgba(var(--zp-primary-rgb),0.50),
        0 0 24px rgba(var(--zp-primary-rgb),0.20);
      transform:none;
    }
    #pg-mobile-auth-entry .pg-zpa-pin-screen .pg-auth-keypad{
      width:100%;
      display:grid;
      grid-template-columns:repeat(3, minmax(0, 1fr));
      gap:7px;
      margin-top:4px;
    }
    /* =========================================================
       STEP 1301 — iPHONE WELCOME HERO FULL-BLEED POLISH
       Scope: ONLY Screen 01 Welcome hero visual layers on iPhone/WebKit.
       Purpose: allow the hero horizon/glow field to span the full iPhone
       viewport while keeping the orb/leaf centered and preserving all copy,
       animations, desktop, Android, and flow logic.
    ========================================================= */
    @supports (-webkit-touch-callout: none){
      #pg-mobile-auth-entry .pg-zpa-screen-welcome .pg-zpa-hero{
        width:100vw !important;
        max-width:none !important;
        height:min(272px, 76vw) !important;
        margin-left:calc(50% - 50vw) !important;
        margin-right:calc(50% - 50vw) !important;
        border-radius:0 !important;
        overflow:visible !important;
      }
      #pg-mobile-auth-entry .pg-zpa-screen-welcome .pg-zpa-hero::before{
        inset:auto !important;
        left:50% !important;
        top:50% !important;
        width:min(272px, 76vw) !important;
        height:min(272px, 76vw) !important;
        transform:translate(-50%, -50%) !important;
        border-radius:999px !important;
      }
      #pg-mobile-auth-entry .pg-zpa-screen-welcome .pg-zpa-horizon{
        left:0 !important;
        right:0 !important;
        width:100vw !important;
      }

      /* Welcome Back: match the iPhone full-bleed hero field from Screen 01 */
      #pg-mobile-auth-entry .pg-zpa-screen-welcome-back .pg-zpa-wb-hero{
        width:100vw !important;
        max-width:none !important;
        height:min(272px, 76vw) !important;
        margin-left:calc(50% - 50vw) !important;
        margin-right:calc(50% - 50vw) !important;
        border-radius:0 !important;
        overflow:visible !important;
      }
      #pg-mobile-auth-entry .pg-zpa-screen-welcome-back .pg-zpa-wb-hero::before{
        inset:auto !important;
        left:50% !important;
        top:50% !important;
        width:min(272px, 76vw) !important;
        height:min(272px, 76vw) !important;
        transform:translate(-50%, -50%) !important;
        border-radius:999px !important;
      }
      #pg-mobile-auth-entry .pg-zpa-screen-welcome-back .pg-zpa-wb-horizon{
        left:0 !important;
        right:0 !important;
        width:100vw !important;
      }
    }

    @media (prefers-reduced-motion: reduce){
      #pg-mobile-auth-entry *,
      #pg-mobile-auth-entry *::before,
      #pg-mobile-auth-entry *::after{
        animation:none !important;
        transition:none !important;
      }
    }
  }
/* ===== END STYLE BLOCK: pg-step1300-mobile-auth-css ===== */



/* ===== BEGIN STYLE BLOCK: inline-style ===== */
:root{
      --z-bg:#070A0B;
      --z-aurora-2: rgba(255,255,255,0.06);
      --z-surface:#0B1012;
      --z-surface-2:#0E1518;
      --z-card: rgba(11,16,18,0.92);
      --z-border: rgba(255,255,255,0.10);
      --z-border-2: rgba(255,255,255,0.08);
      --z-text: rgba(255,255,255,0.92);
      --z-text-2: rgba(255,255,255,0.66);
      --z-muted: rgba(255,255,255,0.58);
      --accent:#00ffd5;
      --accent-rgb: 0,255,213;
      --accent-border: rgba(var(--accent-rgb),0.60);
      --accent-soft: rgba(var(--accent-rgb),0.18);
      --accent-glow: rgba(var(--accent-rgb),0.22);
      --accent-glow-strong: rgba(var(--accent-rgb),0.38);
      --radius-card:22px;
      --radius-control:16px;
      --shadow-card: 0 18px 60px rgba(0,0,0,0.55);
      --shadow-inner: inset 0 1px 0 rgba(255,255,255,0.06);
    }
  /* Desktop/Tablet: hide legacy hybrid UI always (safety) */
  #pg-hybrid-row,
  .pg-hybrid-row{
    display:none !important;
  }
  /* Desktop/Tablet: hide NEW Mobile-only hero hybrid payment button */
  @media (min-width: 641px){
    #pg-hybredpayment-hero-row,
    #pg-hybredpayment-hero{
      display:none !important;
    }
  }
  /* =========================================================
   STEP 350 — DESKTOP ONLY: REMOVE IN-STORE QR BOARD
   GOAL:
   - Remove any in-store binding UI from the Desktop Gateway
   - Do NOT affect mobile or POS simulator
   Scope: DESKTOP ONLY (>= 641px)
   ========================================================= */
@media (min-width: 641px){
  .pg-instore-qr-board,
  #pg-instore-qr-board,
  .pg-instore-qr-shell,
  .pg-instore-stage-shell,
  #pg-instore-bind-link {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}
/* =========================================================
   STEP 351 — DESKTOP ONLY: PRE-PAINT HARD HIDE APPLY REWARDS FLASH
   GOAL:
   - Prevent the mobile rewards amount / keypad from flashing on desktop
   - Desktop only
   - Do NOT affect mobile
   ========================================================= */
@media (min-width: 521px){
  #pg-ar-overlay,
  #pg-ar-overlay *,
  #pg-ar-entered,
  #pg-ar-keypad,
  .pg-ar-inner,
  .pg-ar-stack,
  .pg-ar-enter,
  .pg-ar-keypad,
  .pg-ar-key,
  .pg-ar-key-dot,
  .pg-ar-key-back{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
  }
}
  /* Mobile: ensure hero button is visible (overrides any safety hides) */
  @media (max-width: 640px){
    #pg-hybredpayment-hero-row{
      display:block !important;
    }
    #pg-hybredpayment-hero{
      display:flex !important;
    }
  }
/* ==========================================
   POPUP / STANDALONE PAGE FRAME OVERRIDES
   (Scoped ONLY to /luke2 via html.zelen-gateway-embed)
   Goal: Remove Duda header/footer + extra page padding/margins
   ========================================== */
html.zelen-gateway-embed,
html.zelen-gateway-embed body{
  background: #0b0f12 !important;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
html.zelen-gateway-embed body{
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  width: 100% !important;
}
/* Hard-hide Duda header/footer remnants in embed popup (DESKTOP ONLY) */
html.zelen-gateway-embed #hamburger-header,
html.zelen-gateway-embed #hamburger-header-container,
html.zelen-gateway-embed #mobile-hamburger-header,
html.zelen-gateway-embed #mobile-hamburger-header-container,
html.zelen-gateway-embed #stickyHeaderSpacer,
html.zelen-gateway-embed .stickyHeaderSpacer,
html.zelen-gateway-embed .hamburger-header,
html.zelen-gateway-embed .hamburger-header-container{
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}
/* Remove any outer Duda layout padding/gutters around custom code */
html.zelen-gateway-embed #dmRoot,
html.zelen-gateway-embed #dm-outer-wrapper,
html.zelen-gateway-embed #dm-outer-wrapper *[class*="dmResp"],
html.zelen-gateway-embed .dmRespRow,
html.zelen-gateway-embed .dmRespCol,
html.zelen-gateway-embed .dmRespColsWrapper{
  padding: 0 !important;
  margin: 0 !important;
}
/* Hide Duda header + footer ONLY on this page */
html.zelen-gateway-embed header,
html.zelen-gateway-embed footer,
html.zelen-gateway-embed .dmHeaderContainer,
html.zelen-gateway-embed .dmFooterContainer,
html.zelen-gateway-embed .dmHeader,
html.zelen-gateway-embed .dmFooter,
html.zelen-gateway-embed .dmFooterResp,
html.zelen-gateway-embed .dmFooterWrapper,
html.zelen-gateway-embed .dmNavBar,
html.zelen-gateway-embed .dmWidget-footer,
html.zelen-gateway-embed .site-footer,
html.zelen-gateway-embed .footer {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}
/* Remove any layout padding around the embed so the popup is tight */
html.zelen-gateway-embed #dm,
html.zelen-gateway-embed #dmRoot,
html.zelen-gateway-embed .dmBody,
html.zelen-gateway-embed .dmContent,
html.zelen-gateway-embed .dmInner,
html.zelen-gateway-embed .dmContentArea,
html.zelen-gateway-embed .dmRespRow,
html.zelen-gateway-embed .dmRespColsWrapper,
html.zelen-gateway-embed .dmRespCol,
html.zelen-gateway-embed .dmWidget,
html.zelen-gateway-embed .dmWidgetContent {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* Gateway root should not introduce extra whitespace */
html.zelen-gateway-embed #crypto-gateway-demo-root{
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 5px !important; /* 5px symmetrical frame around gateway */
  box-sizing: border-box !important;
  background: #0b0f12 !important;
}
/* Desktop-only: keep the gateway centered and prevent any full-width stretching */
@media (min-width: 1025px){
  html.zelen-gateway-embed body{
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
  }
  html.zelen-gateway-embed #crypto-gateway-demo-root{
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 5px !important; /* 5px symmetrical frame around gateway */
  box-sizing: border-box !important;
  background: #0b0f12 !important;
}
  html.zelen-gateway-embed .pg-layout{
    max-width: 980px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
}
    /* Shape mapping from widget builder */
    html[data-shape="pill"]{
      --radius-control: 999px;
      --radius-card: 26px;
    }
    html[data-shape="rounded"]{
      --radius-control: 18px;
      --radius-card: 22px;
    }
    html[data-shape="sharp"]{
      --radius-control: 12px;
      --radius-card: 18px;
    }
    /* ---------- ZELEN THEME OVERRIDES (popup + gateway) ---------- */
    body{
      background: radial-gradient(1200px 700px at 15% 12%, rgba(var(--accent-rgb),0.18), rgba(0,0,0,0)) ,
                  radial-gradient(900px 500px at 85% 22%, var(--z-aurora-2), rgba(0,0,0,0)) ,
                  var(--z-bg);
      color: var(--z-text);
    }
    #crypto-gateway-demo-root{
      padding: 24px;
      color: var(--z-text);
    }
    /* Centered single-column canvas (Option A) */
    .pg-layout{
      grid-template-columns: 1fr !important;
      max-width: 980px !important;
      margin: 0 auto !important;
    }
    @media (max-width: 1024px){
      .pg-layout{ max-width: 860px !important; }
    }
    /* Hide any legacy summary/right rail containers */
    .summary-card, .pg-summary, .pg-summary-card{
      display: none !important;
    }
    .pg-card{
      background: var(--z-card) !important;
      border: 1px solid var(--z-border) !important;
      border-radius: var(--radius-card) !important;
      box-shadow: var(--shadow-card), var(--shadow-inner) !important;
      color: var(--z-text) !important;
    }
    /* Text harmonies */
    .pg-card h1, .pg-card h2, .pg-card h3, .pg-card h4,
    .pg-title, .pg-subtitle, .pg-os-title{
      color: var(--z-text) !important;
      display: flex;
      align-items: center;
      gap: 12px;
      line-height: 1.05;
    }
    .pg-os-brand{
      height: 24px; /* 22–26px spec */
      width: auto;
      display: block;
      flex: 0 0 auto;
      margin: 0;
      /* Accent glow (matches widget builder accent) */
      filter:
        drop-shadow(0 0 8px rgba(var(--accent-rgb),0.34))
        drop-shadow(0 0 18px rgba(var(--accent-rgb),0.22));
      opacity: 0.47;
    }
    .pg-muted, .pg-os-meta, .pg-os-line.pg-os-muted{
      color: var(--z-text-2) !important;
    }
    /* ===== Order Details – Subtotal/Taxes/Fees readability (Desktop only) ===== */
    /* Only affects: Subtotal, Excise Tax, Local Tax, Service Fee */
    .pg-os-drawer .pg-os-line.pg-os-muted{
      color: #000000 !important;
      font-weight: 300 !important;
    }
    /* Tiles (payment + assets) */
    .pg-tile, .pg-asset-pill{
      background: rgba(255,255,255,0.04) !important;
      border: 1px solid var(--z-border-2) !important;
      border-radius: var(--radius-control) !important;
      color: var(--z-text) !important;
    }
    .pg-tile:hover, .pg-asset-pill:hover{
      border-color: rgba(255,255,255,0.14) !important;
    }
    .pg-tile-active, .pg-asset-active{
      border-color: var(--accent-border) !important;
      box-shadow: 0 0 0 3px var(--accent-soft), 0 0 26px var(--accent-glow) !important;
      background: radial-gradient(800px 260px at 20% 30%, rgba(var(--accent-rgb),0.10), rgba(255,255,255,0.03)) !important;
    }
    /* Inputs */
    #crypto-gateway-demo-root input,
    #crypto-gateway-demo-root select,
    #crypto-gateway-demo-root textarea{
      background: rgba(255,255,255,0.04) !important;
      border: 1px solid var(--z-border-2) !important;
      border-radius: var(--radius-control) !important;
      color: var(--z-text) !important;
    }
    #crypto-gateway-demo-root input::placeholder{
      color: rgba(255,255,255,0.38) !important;
    }
    #crypto-gateway-demo-root input:focus,
    #crypto-gateway-demo-root select:focus,
    #crypto-gateway-demo-root textarea:focus{
      outline: none !important;
      border-color: var(--accent-border) !important;
      box-shadow: 0 0 0 3px var(--accent-soft), 0 0 18px var(--accent-glow) !important;
    }
    /* Primary button mapped to emphasis */
    .pg-btn{
      border-radius: var(--radius-control) !important;
    }
    html[data-emphasis="solid"] .pg-btn-primary{
      background: linear-gradient(180deg, rgba(var(--accent-rgb),1), rgba(var(--accent-rgb),0.72)) !important;
      color: rgba(0,0,0,0.85) !important;
      border: 1px solid rgba(var(--accent-rgb),0.72) !important;
      box-shadow: 0 10px 30px rgba(var(--accent-rgb),0.16) !important;
    }
    html[data-emphasis="outline"] .pg-btn-primary{
      background: rgba(0,0,0,0) !important;
      color: rgba(var(--accent-rgb),1) !important;
      border: 1px solid rgba(var(--accent-rgb),0.72) !important;
      box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.08) !important;
    }
    html[data-emphasis="glow"] .pg-btn-primary{
      background: rgba(var(--accent-rgb),0.10) !important;
      color: rgba(var(--accent-rgb),1) !important;
      border: 1px solid rgba(var(--accent-rgb),0.72) !important;
      box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.10), 0 0 34px rgba(var(--accent-rgb),0.26) !important;
    }
    .pg-btn-primary:hover{
      filter: brightness(1.05);
      box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.18), 0 0 38px rgba(var(--accent-rgb),0.30) !important;
    }
    /* Order summary button */
    .pg-os-details-btn{
      border-radius: var(--radius-control) !important;
      border: 1px solid var(--z-border-2) !important;
      background: rgba(255,255,255,0.03) !important;
      color: var(--z-text) !important;
    }
    .pg-os-details-btn:hover{
      border-color: var(--accent-border) !important;
      box-shadow: 0 0 0 3px var(--accent-soft) !important;
    }
    /* Mobile padding */
/* Desktop/Tablet safety: never show the mobile overlay */
.pg-mobile-customer-overlay{ display:none; }
    @media (max-width: 520px){
      #crypto-gateway-demo-root{ padding: 16px; }
      .pg-layout{ max-width: 100% !important; }
    }
   /* === RESET / BASE === */
    /* Desktop/Tablet: hide the mobile-only asset header inside meta */
    .pg-meta-assethead{ display:none; }
    #crypto-gateway-demo-root * {
      box-sizing: border-box;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }
    /* ===== MOBILE FIX: Price / Amount / Method left-aligned, % badge centered ===== */
    @media (max-width: 640px) {
      .pg-crypto-meta-value {
  color: var(--z-text) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 2px;
        width: 100%;
        text-align: left !important;
      }
      /* Ensure the actual value text hugs the left edge */
      .pg-crypto-meta-value span,
      #pg-meta-price,
      #pg-meta-amount,
      #pg-meta-method {
        text-align: left !important;
        align-self: flex-start !important;
      }
      /* Keep the ▲ / ▼ % centered under the price */
      .pg-crypto-meta-change {
        font-size: 12px;
        align-self: center !important;
        text-align: center !important;
        width: 100%;
      }
    }
    #crypto-gateway-demo-root {
      padding: 24px;
      background: #f7f9fc;
      color: #111827;
      font-size: 16px;
      line-height: 1.5;
      overflow-x: hidden;
    }
    .pg-layout {
      width: 100%;
      max-width: 1180px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2.1fr 1fr;
      gap: 24px;
    }
    @media (max-width: 960px) {
      .pg-layout {
        grid-template-columns: 1fr;
        gap: 18px;
      }
    }
    /* === CARDS === */
    .pg-card {
      background: #ffffff;
      border-radius: 22px;
      box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
      padding: 22px 24px 24px;
      position: relative;
      max-width: 100%;
    }
    .pg-main-card {}
    .pg-summary-card {}
    .pg-card-header{
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 18px;
      margin-top: 25px;
    }
    .pg-title {
      font-size: 22px;
      font-weight: 700;
      letter-spacing: 0.01em;
    }
    .pg-pill {
      font-size: 13px;
      font-weight: 600;
      padding: 5px 12px;
      border-radius: 999px;
      background: #ecfdf3;
      color: #16a34a;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      white-space: nowrap;
    }
    .pg-pill-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #22c55e;
      box-shadow: 0 0 8px #4ade80;
    }
    /* === STEPPER === */
    .pg-stepper {
      display: flex;
      gap: 20px;
      margin: 0;
      padding: 0;
      align-items: center;
      justify-content: flex-end;
      user-select: none;
    }
    .pg-step {
      display: flex;
      align-items: center;
      gap: 7px;
      cursor: default;
    }
    .pg-step-circle {
      width: 34px;
      height: 34px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255,255,255,0.24);
      background: rgba(255,255,255,0.06);
      color: rgba(255,255,255,0.85);
      font-weight: 800;
      font-size: 14px;
      line-height: 1;
    }
    .pg-step.pg-step-active .pg-step-circle {
      border-color: rgba(var(--accent-rgb),0.9);
      background: rgba(var(--accent-rgb),0.95);
      color: #03110c;
      box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.14);
    }
    .pg-step.pg-step-active span:last-child {
      color: rgba(255,255,255,0.92);
    }
    /* === PAYMENT TYPE GRID === */
    .pg-section-label {
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #6b7280;
      margin-bottom: 10px;
      margin-top: 8px;
    }
    .pg-payment-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 18px;
    }
    .pg-tile {
      border-radius: 18px;
      border: 1px solid #e5e7eb;
      padding: 12px 12px;
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
      background: #fff;
      transition: all 0.17s ease-out;
      position: relative;
      max-width: 100%;
    }
    .pg-tile:hover {
      border-color: #d1d5db;
      box-shadow: 0 14px 40px rgba(15,23,42,0.06);
      transform: translateY(-1px);
    }
    .pg-tile.pg-tile-active {
      border-color: var(--accent);
      box-shadow: 0 0 0 1px var(--accent), 0 22px 50px rgba(var(--accent-rgb),0.24);
    }
    .pg-radio {
      width: 16px;
      height: 16px;
      border-radius: 999px;
      border: 2px solid #d1d5db;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .pg-radio-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: transparent;
    }
    .pg-tile-active .pg-radio { border-color: var(--accent); }
    .pg-tile-active .pg-radio-dot { background: var(--accent); }
    .pg-tile-main {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 16px;
      font-weight: 600;
    }
    .pg-tile-sub {
      font-size: 14px;
      color: #6b7280;
      margin-top: 3px;
      display: none;
    }
    .pg-tile[data-paymode="crypto"] .pg-tile-sub,
    .pg-tile[data-paymode="card"] .pg-tile-sub { display: block; }
    .pg-logo-chip {
      min-width: 34px;
      height: 22px;
      border-radius: 8px;
      background: #f3f4f6;
      color: #111827;
      border: 1px solid #d4d4d8;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 700;
      flex-shrink: 0;
    }
    .pg-tile-active .pg-logo-chip {
      border-color: var(--accent);
      box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.4);
    }
    .pg-smile-icon {
      width: 26px;
      height: 26px;
      border-radius: 999px;
      background: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 18px rgba(var(--accent-rgb),0.7);
      overflow: hidden;
    }
    .pg-smile-icon img {
      width: 22px;
      height: 22px;
      border-radius: 999px;
      display: block;
    }
    /* === CRYPTO ROW === */
    .pg-crypto-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 10px;
    }
    .pg-asset-pill {
      border-radius: 14px;
      padding: 10px 12px;
      border: 1px solid #e5e7eb;
      display: flex;
      align-items: center;
      gap: 9px;
      font-size: 14px;
      cursor: pointer;
      background: #fff;
      transition: all 0.17s ease-out;
      min-width: 0;
    }
    .pg-asset-pill:hover {
      border-color: #d1d5db;
      box-shadow: 0 4px 16px rgba(15,23,42,0.08);
      transform: translateY(-1px);
    }
    .pg-asset-pill.pg-asset-active {
      border-color: var(--accent);
      box-shadow: 0 0 0 1px var(--accent), 0 14px 32px rgba(var(--accent-rgb),0.25);
      background: radial-gradient(circle at top left, rgba(var(--accent-rgb),0.09), #ffffff);
    }
    .pg-asset-symbol {
      width: 28px;
      height: 28px;
      border-radius: 999px;
      background: #e5e7eb;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      overflow: hidden;
    }
    .pg-asset-logo {
      width: 24px;
      height: 24px;
      border-radius: 999px;
      object-fit: cover;
      display: block;
    }
    .pg-asset-pill.pg-asset-active .pg-asset-symbol { background: var(--accent); }
    .pg-asset-label-main { font-weight: 600; }
    .pg-asset-label-sub { font-size: 12px; color: #6b7280; line-height: 1.3; }
    @media (max-width: 960px) {
      .pg-crypto-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    .pg-crypto-meta {
      display: grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap: 12px;
      margin-top: 14px;
      margin-bottom: 12px;
    }
    .pg-crypto-meta-item {
      border-radius: 14px;
      border: 1px dashed rgba(var(--accent-rgb),0.3);
      background: rgba(var(--accent-rgb),0.03);
      padding: 9px 10px;
      font-size: 13px;
    }
    .pg-crypto-meta-label {
  color: var(--z-text-2) !important;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      font-size: 12px;
      color: var(--z-text) !important;
      margin-bottom: 4px;
    }
    .pg-crypto-meta-value {
  color: var(--z-text) !important;
      font-weight: 600;
      font-size: 14px;
      color: var(--z-text) !important;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .pg-crypto-meta-note {
  color: var(--z-muted) !important;
      color: var(--z-text) !important;
      font-size: 12px;
      margin-top: 2px;
    }
    .pg-crypto-meta-change { font-size: 13px; font-weight: 600; }
    .pg-crypto-meta-change.pg-up { color: #16a34a; }
    .pg-crypto-meta-change.pg-down { color: #dc2626; }
    /* Volatility Banner */
    .pg-volatility-note {
      text-align: center;
      font-weight: 600;
      font-size: 16px;
      color: #111827;
      padding: 14px 0;
      margin: 12px 0 18px;
      border: 1px solid rgba(var(--accent-rgb),0.35);
      border-radius: 8px;
      background: rgba(255,255,255,0.82);
    }
    .pg-volatility-note .mobile-break { display: none; }
    @media (max-width: 640px) {
      .pg-volatility-note {
        font-size: 14px;
        line-height: 1.32;
        padding: 12px 6px;
      }
      .pg-volatility-note .mobile-break { display: block; }
    }
    /* visual flow strip removed */
/* === FORMS === */
    .pg-form {
      border-radius: 16px;
      border: 1px solid rgba(var(--accent-rgb),0.4);
      background: rgba(var(--accent-rgb),0.01);
      padding: 12px 14px 14px;
      margin-top: 10px;
      margin-bottom: 14px;
    }
    .pg-field { margin-bottom: 10px; }
    .pg-label {
      font-size: 13px;
      font-weight: 600;
      color: #4b5563;
      margin-bottom: 3px;
      display: inline-block;
    }
    .pg-required { color: #ef4444; margin-left: 2px; }
    .pg-input-row { display: flex; gap: 10px; }
    .pg-input,
    .pg-select {
      width: 100%;
      padding: 8px 10px;
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      font-size: 14px;
      outline: none;
      transition: all 0.15s ease-out;
      background: #f9fafb;
    }
    .pg-input:focus,
    .pg-select:focus {
      border-color: var(--accent);
      background: #ffffff;
      box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px rgba(var(--accent-rgb),0.16);
    }
    .pg-helper { font-size: 12px; color: #9ca3af; margin-top: 3px; }
    /* === MOBILE FORM STACKING FIX === */
    @media (max-width: 640px) {
      .pg-form .pg-input-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px;
      }
      .pg-form .pg-input-row > * {
        width: 100% !important;
        max-width: 100% !important;
      }
      .pg-form .pg-input-row.pg-phone-row {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px;
      }
      .pg-form .pg-input-row.pg-phone-row > * {
        width: auto !important;
        max-width: 100% !important;
        flex: 1 1 auto;
      }
      .pg-form .pg-input-row.pg-phone-row > .pg-input:first-child {
        max-width: 90px;
        flex: 0 0 auto;
      }
    }
    /* === BUTTONS === */
    .pg-button-row {
      margin-top: 6px;
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
    }
    .pg-btn {
      border-radius: 999px;
      padding: 10px 18px;
      border: none;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.15s ease-out;
      white-space: nowrap;
    }
    .pg-btn-primary {
      background: linear-gradient(135deg, var(--accent), #fb56ff);
      color: #fff;
      box-shadow: 0 14px 34px rgba(var(--accent-rgb),0.4);
    }
    .pg-btn-primary:hover {
      transform: translateY(-1px) scale(1.01);
      box-shadow: 0 20px 50px rgba(var(--accent-rgb),0.55);
    }
    .pg-btn-ghost { background: transparent; color: #6b7280; }
    .pg-btn-ghost:hover { background: #f3f4f6; }
    .pg-btn-small { padding: 7px 12px; font-size: 13px; }
    /* === SUMMARY CARD === */
    .pg-summary-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
    .pg-summary-sub { font-size: 14px; color: #6b7280; line-height: 1.5; margin-bottom: 10px; }
    .pg-summary-block { font-size: 14px; border-top: 1px dashed #e5e7eb; padding-top: 10px; margin-top: 6px; }
    .pg-summary-row { display: flex; justify-content: space-between; margin-bottom: 3px; }
    .pg-summary-row span:last-child { white-space: nowrap; }
    .pg-summary-total { border-top: 1px solid #e5e7eb; margin-top: 8px; padding-top: 6px; font-weight: 700; }
    /* === CALLOUT CARDS === */
    .pg-callouts { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
    .pg-callouts-mobile { display: none; }
    .pg-callout-card {
      border-radius: 16px;
      border: 1px solid #e5e7eb;
      padding: 10px 11px;
      font-size: 14px;
      background: #f9fafb;
    }
    .pg-callout-card.card-mode { background: #eff6ff; border-color: #bfdbfe; }
    .pg-callout-card.crypto-mode { background: #eef2ff; border-color: #a5b4fc; }
    .pg-callout-card.smile-mode { background: #fdf2ff; border-color: #f9a8ff; }
    .pg-callout-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
    .pg-callout-list { padding-left: 16px; margin: 0; list-style-position: inside; }
    .pg-callout-list li { margin-bottom: 3px; }
    .pg-callout-pill {
      display: inline-block;
      font-size: 12px;
      padding: 2px 9px;
      border-radius: 999px;
      background: rgba(34, 197, 94, 0.1);
      color: #16a34a;
      margin-top: 5px;
    }
    /* === MODAL === */
    /* === CONNECT WALLET MODAL (DESKTOP/TABLET) — SoT v3 === */
    /* The modal is anchored to the CUSTOMER container (same place billing drawer appears). */
    #pg-customer { position: relative; }
    /* Gateway outline overlay frame (sits above dim overlay, below modal) */
#zs-gateway-outline-overlay{
  position:fixed;
  left:0; top:0;
  width:0; height:0;
  background:transparent;
  pointer-events:none;
  z-index:99995;
}
.pg-modal{
      /* LOCKED MODAL SHELL */
      width:100%;
      height: var(--pg-modal-h, 471px);
      min-height: var(--pg-modal-h, 471px);
      max-height: var(--pg-modal-h, 471px);
      position:relative;
      overflow:hidden;
      box-sizing:border-box;
      /* QR sizing controls (single source of truth) */
      --pg-qr-size: 147px;       /* rendered QR pixels (Step 9) */       /* rendered QR pixels */
      --pg-qr-board: 5px;        /* white board padding (QR+10 = 157px) */       /* white board padding */
      --pg-qr-outer-pad: 8.5px;   /* outer frame padding (157 + 17 = 174px) */   /* teal outer frame padding */
      border-radius:22px;
      background:rgba(0,0,0,0.24);
      border:1px solid rgba(255,255,255,0.08);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 0 32px rgba(var(--accent-rgb),0.22);
    }
    /* specular highlight */
    .pg-modal::before{
      content:"";
      position:absolute;
      inset:0;
      pointer-events:none;
      background:
        radial-gradient(1200px 420px at 20% 0%,
          rgba(255,255,255,0.16),
          rgba(255,255,255,0.08) 35%,
          rgba(255,255,255,0.0) 70%),
        radial-gradient(900px 300px at 80% 12%,
          rgba(var(--accent-rgb),0.16),
          rgba(var(--accent-rgb),0.0) 65%);
      mix-blend-mode: screen;
      opacity: 0.8;
    }
    .pg-modal-header{
      height: 70px;
      padding: 18px 22px;
     border-top-left-radius: 12px;
     border-top-right-radius: 12px;
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      background: linear-gradient(180deg, rgba(var(--accent-rgb),0.26), rgba(var(--accent-rgb),0.08) 55%, rgba(0,0,0,0));
    }
    .pg-modal-hero{
      font-size: 22px;   
      letter-spacing: 5px;   
      font-weight: 407px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.92);
      line-height: 1.05;
      white-space: nowrap;
    }
    .pg-modal-timer-row{
      margin-top: 10px;
      font-size: 14px;
      letter-spacing: 2px;
      text-transform: uppercase;
      display:flex;
      gap: 10px;
      align-items:center;
      color: rgba(255,255,255,0.72);
    }
    .pg-modal-timer{ color: #fb0505; font-weight: 400; letter-spacing: 1px; text-shadow: 0 2px 10px rgba(0,0,0,0.85), 0 0 18px rgba(0,0,0,0.55); }
    .pg-modal-timer-label{ display:inline-block !important; }
    .pg-modal.pg-wc-success #pg-modal-timer{ display:none !important; }
    .pg-modal-close-btn{
      width: 44px;
      height: 44px;
      border-radius: 10px;
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(0,0,0,0.25);
      color: rgba(255,255,255,0.85);
      font-weight: 700;
      cursor:pointer;
      box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;
    }
    .pg-modal-close-btn:hover{ background: rgba(0,0,0,0.35); }
    .pg-modal-grid{
      height: calc(100% - 96px);
      padding: 18px 22px 18px 22px;
      display:grid;
      grid-template-columns: 300px 1fr 420px;
      column-gap: 26px;
      align-items:start;
    }
    /* LEFT QR */
    .pg-modal-asset-label{
      font-size: 14px;
      letter-spacing: 4px;
      color: rgba(255,255,255,0.7);
      text-transform: uppercase;
      margin-bottom: 12px;
    }
    .pg-qr-outer{
      width: calc(var(--pg-qr-size) + (var(--pg-qr-board) * 2) + (var(--pg-qr-outer-pad) * 2));
      height: calc(var(--pg-qr-size) + (var(--pg-qr-board) * 2) + (var(--pg-qr-outer-pad) * 2));
      padding: var(--pg-qr-outer-pad);
      border-radius:18px;
      position:relative;
      overflow:hidden;
      background:
        radial-gradient(120% 120% at 20% 15%, rgba(255,255,255,0.20), rgba(255,255,255,0.02) 42%, rgba(16,190,175,0.14) 72%, rgba(16,190,175,0.10) 100%);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.10) inset,
        0 0 20px rgba(16,190,175,0.22),
        0 0 44px rgba(16,190,175,0.24),
        0 18px 34px rgba(0,0,0,0.36),
        inset 0 0 2px rgba(var(--accent-rgb), 0.22);
      display:flex;
      align-items:center;
      justify-content:center;
      box-sizing:border-box;
      margin-right:30px; /* per SoT */
    }
    .pg-qr-outer::before{
      content:"";
      position:absolute;
      inset:-1px;
      border-radius:18px;
      background:
        linear-gradient(135deg,
          rgba(255,255,255,0.36) 0%,
          rgba(255,255,255,0.10) 18%,
          rgba(255,255,255,0.00) 44%,
          rgba(255,255,255,0.14) 74%,
          rgba(255,255,255,0.00) 100%);
      mix-blend-mode: screen;
      opacity:0.55; /* specular highlight */
      pointer-events:none;
    }
    .pg-qr-outer::after{
      content:"";
      position:absolute;
      inset:0;
      border-radius:18px;
      background:
        radial-gradient(70% 60% at 18% 22%, rgba(255,255,255,0.22), rgba(255,255,255,0.00) 60%),
        radial-gradient(90% 90% at 80% 95%, rgba(16,190,175,0.24), rgba(16,190,175,0.00) 62%);
      filter: blur(0.4px);
      opacity:0.85; /* cool lighting aura */
      pointer-events:none;
    }
    .pg-qr-white{
      width: calc(var(--pg-qr-size) + (var(--pg-qr-board) * 2));
      height: calc(var(--pg-qr-size) + (var(--pg-qr-board) * 2));
      padding: var(--pg-qr-board);
      border-radius:12px;
      background:#ffffff;
      position:relative;
      box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06) inset;
      display:flex;
      align-items:center;
      justify-content:center;
      box-sizing:border-box;
    }
    .pg-qr-img{
      width: var(--pg-qr-size) !important;
      height: var(--pg-qr-size) !important;
      max-width: var(--pg-qr-size) !important;
      max-height: var(--pg-qr-size) !important;
      aspect-ratio: 1 / 1;
      display:block;
      image-rendering: pixelated;
      border-radius: 6px;
    }
    /* Center asset logo (default = white 2px circular border, NO glow) */
    .pg-qr-center-logo{
      width:40px;
      height:40px;
      position:absolute;
      left:50%;
      top:50%;
      transform: translate(-50%,-50%);
      border-radius:999px;
      border:2px solid #ffffff;
      box-sizing:border-box;
      padding:0;
      background:transparent;
      box-shadow: 0 10px 18px rgba(0,0,0,0.36);
      pointer-events:none;
      opacity:1;
    }
    /* Wallet-clicked view helpers */
    .pg-wv-close{
  position: absolute;
  top: -19px;
  right: -12px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(6,9,11,0.66);
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  line-height: 2px;
  cursor: pointer;
      display:none;
      z-index:999;
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.08) inset,
        0 12px 22px rgba(0,0,0,0.35);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
    }
    /* Wallet compatibility buttons (Wallet-clicked view only) */
    .pg-wv-compat{
      margin-top: 15px;
      display: none;
      justify-content: center;
      width: 100%;
    }
    .pg-modal.pg-wallet-view-active .pg-wv-compat{ display:flex; }
    .pg-wv-compat-track{
      position: relative;
      transform: translateX(10px);
      display: flex;
      gap: 2px;
      padding: 4px;
      border-radius: 11px;
      background: rgba(8, 14, 22, 0.42);
      border: 1px solid rgba(255,255,255,0.18);
      box-shadow:
        0 10px 24px rgba(0,0,0,0.38),
        inset 0 0 0 1px rgba(255,255,255,0.06);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      overflow: hidden;
    }
    .pg-wv-compat-btn{
      position: relative;
      z-index: 2;
      appearance: none;
      border: 0;
      background: transparent;
      color: rgba(255,255,255,0.78);
      font-size: 11px;
      letter-spacing: 0.5px;
      padding: 6px 10px;
      border-radius: 999px;
      cursor: pointer;
      transition: color .18s ease, transform .18s ease, filter .18s ease;
      user-select: none;
      white-space: nowrap;
    }
    .pg-wv-compat-btn:hover{
      color: rgba(255,255,255,0.95);
      filter: drop-shadow(0 0 10px rgba(var(--accent-rgb),0.40));
      transform: translateY(-1px);
    }
    .pg-wv-compat-slider{
      position: absolute;
      top: 6px;
      left: 6px;
      height: calc(100% - 12px);
      width: var(--pg-wv-slider-w, 70px);
      transform: translateX(var(--pg-wv-slider-x, 0px));
      border-radius: 8px;
      background: linear-gradient(180deg,
        rgba(255,255,255,0.14),
        rgba(var(--accent-rgb),0.10)
      );
      box-shadow:
        0 0 22px rgba(var(--accent-rgb),0.34),
        0 0 2px rgba(255,255,255,0.18),
        inset 0 0 0 1px rgba(255,255,255,0.18);
      transition: transform .18s ease, width .18s ease, opacity .18s ease;
      z-index: 1;
      opacity: 0.92;
    }
    .pg-wv-close:hover{
      transform: translateY(-1px);
      border-color: rgba(var(--accent-rgb),0.55);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.10) inset,
        0 0 22px rgba(var(--accent-rgb),0.25),
        0 14px 26px rgba(0,0,0,0.40);
    }
    .pg-wallet-view-active .pg-wv-close{ display:block; }
    /* Blur the placeholder wallet QR so it can't be scanned */
.pg-wallet-view-active .pg-qr-outer{ overflow: visible; }
.pg-wallet-view-active .pg-wv-compat{ transform: translateX(-80px); }
    #pg-modal-qr.pg-wallet-qr{
      filter: blur(3px);
      transform: translateZ(0);
    }
    /* Loading state: animate ONLY the center logo while QR is preloading */
    .pg-qr-white.pg-qr-loading .pg-qr-center-logo{
      animation: pgAssetPulse 0.5s ease-in-out 1 both;
      filter: none;
    }
    .pg-qr-white.pg-qr-loading .pg-qr-img{
      opacity:0;
      visibility:hidden;
    }
    .pg-qr-img{
      opacity:1;
      visibility:visible;
      transition: opacity 25ms ease;
    }
    @keyframes pgAssetPulse{
      0%{
        transform: translate(-50%,-50%) scale(1);
        filter: blur(0px);
        box-shadow:
          0 10px 18px rgba(0,0,0,0.36);
      }
      45%{
        transform: translate(-50%,-50%) scale(3.5); /* ~140px visual burst */
        filter: blur(2.5px);
        box-shadow:
          0 0 0 8px rgba(255,255,255,0.10),
          0 0 34px rgba(var(--accent-rgb),0.55),
          0 0 68px rgba(var(--accent-rgb),0.38),
          0 24px 34px rgba(0,0,0,0.30);
      }
      100%{
        transform: translate(-50%,-50%) scale(1);
        filter: blur(0px);
        box-shadow:
          0 10px 18px rgba(0,0,0,0.36);
      }
    }
    .pg-qr-caption{
      margin-top: 14px;
      font-size: 14px;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.72);
      width: calc(var(--pg-qr-size) + (var(--pg-qr-board) * 2)); /* match white board width */
      text-align: center;
      margin-left: auto;
      margin-right: auto;
      white-space: nowrap;
      line-height: 1;
          transform: translateX(-63px);
}
    /* FEATURED wallets */
    .pg-modal-section-title{
      font-size: 17px;
      letter-spacing: 4px;
      font-weight: 200;
      color: rgba(255,255,255,0.9);
      margin: 8px 0 14px;
      text-align:left;
      transform: translateX(10px);
    }
    .pg-featured-grid{
      display:grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2.5px 19px;
      align-content:start;
      justify-items:start;
      transform: translateX(10px);
    }
    /* STEP 24: Align modal columns with Featured Wallets + Order Details (Desktop/Tablet only) */
    @media (min-width: 521px){
      .pg-modal-col-wallets{ transform: translateX(-145px); }
      .pg-modal-col-details{ transform: translateX(-140px); }
    }
    .pg-featured-tile{
      background: transparent;
      border: none;
      padding: 0;
      cursor:pointer;
      display:flex;
      flex-direction:column;
      align-items:center;
      gap: 8px;
      width: 67px; /* match tile frame width for consistent label truncation */
    }
    .pg-featured-frame{
      width: 67px;              /* 62 + 10*2 */
      height: 67px;
      padding:10px;
      border-radius: 12px;      /* ~5% */
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.18);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 10px 22px rgba(0,0,0,0.35);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      display:flex;
      align-items:center;
      justify-content:center;
    }
    .pg-featured-logo{
      width:47px;
      height:47px;
      display:block;
      border-radius: 10px;
    }
    .pg-featured-name{
      font-size: 12px;
      font-weight: 300;
      color: rgba(255,255,255,0.78);
      letter-spacing: 0.6px;
      max-width: 67px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-align:center;
      line-height: 1.1;
      user-select:none;
    }
    /* STEP 25: Featured wallets bottom row spacing */
    .pg-featured-grid .pg-featured-tile:nth-child(n+4){
      margin-top: 10px; /* move ONLY the bottom row down */
    }
    /* STEP 25: Medium hover aura on each tile */
    .pg-featured-tile:hover .pg-featured-logo{
      filter: drop-shadow(0 0 12px rgba(var(--accent-rgb),0.35));
    }
    .pg-featured-tile:hover .pg-featured-frame{
      border-color: rgba(var(--accent-rgb),0.58);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.07) inset,
        0 0 18px rgba(var(--accent-rgb),0.20),
        0 10px 22px rgba(0,0,0,0.35);
    }
    .pg-modal-cancel-row{
      margin-top: 18px;
      font-size: 14px;
      color: rgba(255,255,255,0.65);
      display:none !important;
    }
    /* ORDER DETAILS (right) */
    .pg-order-card{
      width: 86%;
      border-radius: 16px;
      background: rgba(0,0,0,0.36);
      border: 1px solid rgba(255,255,255,0.10);
      padding: 16px 18px;
      box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
    }
    /* ============================
       ORDER COMPLETE (Connect Wallet Modal) — UI ONLY
       - No Radom/WC core logic changes
    ============================ */
    .pg-modal-grid{ position: relative; }
    /* Success layer covers LEFT + FEATURED columns (keeps Order Details visible) */
    .pg-wc-success-layer{
      grid-column: 1 / 3;
      grid-row: 1;
      height: 100%;
      border-radius: 18px;
      background: radial-gradient(120% 120% at 50% 30%, rgba(var(--accent-rgb),0.16), rgba(0,0,0,0.10) 55%, rgba(0,0,0,0.00) 70%);
      display:none;
      align-items:center;
      justify-content:center;
      overflow:hidden;
      position: relative;
    }
    .pg-wc-success-inner{
      width: 92%;
      height: 88%;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap: 14px;
      position: relative;
    }
    .pg-wc-check-wrap{
      width: 301px;
      height: 301px;
      border-radius: 999px;
      position: relative;
      display:flex;
      align-items:center;
      justify-content:center;
      filter: drop-shadow(0 0 26px rgba(var(--accent-rgb),0.22));
    }
    .pg-wc-aurora-ring{
      position:absolute;
      inset: -18px;
      border-radius: 999px;
      background:
        radial-gradient(closest-side at 35% 30%, rgba(255,255,255,0.16), rgba(255,255,255,0.00) 45%),
        conic-gradient(from 200deg,
          rgba(var(--accent-rgb),0.00),
          rgba(var(--accent-rgb),0.40),
          rgba(255,255,255,0.08),
          rgba(var(--accent-rgb),0.24),
          rgba(var(--accent-rgb),0.00));
      opacity: 0.47;
      filter: blur(8px);
      animation: pgAuroraSpin 18s linear infinite;
    }
    @keyframes pgAuroraSpin{ to{ transform: rotate(360deg);} }
    .pg-wc-check-svg{
      width: 210px;
      height: 210px;
      margin-top: 80px;
      z-index: 2;
    }
    .pg-wc-check-glow{
      filter: drop-shadow(0 0 22px rgba(var(--accent-rgb),0.55)) drop-shadow(0 0 44px rgba(var(--accent-rgb),0.24));
    }
    .pg-wc-specular{
      position:absolute;
      width: 120px;
      height: 120px;
      margin-top: 80px;
      border-radius: 999px;
      top: 36px;
      left: 56px;
      background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.36), rgba(255,255,255,0.00) 62%);
      transform: rotate(-12deg);
      filter: blur(2px);
      z-index: 3;
      mix-blend-mode: screen;
      pointer-events:none;
    }
    .pg-wc-assets-row{
      display:flex;
      align-items:center;
      gap: 12px;
      margin-top: 2px;
    }
    .pg-wc-assets-row{ position: relative; }
    .pg-wc-flow-beam{
      position:absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 100%;
      height: 28px;
      pointer-events:none;
      opacity: 0;
      background: linear-gradient(90deg, rgba(var(--accent-rgb),0.00), rgba(var(--accent-rgb),0.42), rgba(var(--accent-rgb),0.00));
      filter: blur(10px);
    }
    /* ==========================================================
       ORDER COMPLETE — Option B (Flow + Rewards Hero)
       - Animation only (no layout shifts)
       - Driven by stage classes added in enterOrderCompleteUI()
         .pg-flow-s1 -> paid tile charges
         .pg-flow-s2 -> lock engages + beam sweep
         .pg-flow-s3 -> ZLNC tile bloom
         .pg-flow-s4 -> rewards row hero pop
    ========================================================== */
    /* Base: keep beam hidden unless a stage is active */
    .pg-modal.pg-wc-success .pg-wc-flow-beam{ opacity:0; }
    /* Particle ride-along + micro sparks (no extra DOM nodes) */
    .pg-wc-flow-beam::before,
    .pg-wc-flow-beam::after{
      content:"";
      position:absolute;
      top: 50%;
      left: 0;
      width: 18px;
      height: 18px;
      transform: translate(-40px,-50%);
      border-radius: 999px;
      opacity: 0;
      pointer-events:none;
    }
    .pg-wc-flow-beam::before{
      background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(var(--accent-rgb),0.65) 35%, rgba(var(--accent-rgb),0.08) 70%, rgba(var(--accent-rgb),0.00) 100%);
      filter: blur(0.2px);
      box-shadow: 0 0 14px rgba(var(--accent-rgb),0.42), 0 0 28px rgba(var(--accent-rgb),0.20);
    }
    .pg-wc-flow-beam::after{
      width: 44px;
      height: 44px;
      background: radial-gradient(circle, rgba(var(--accent-rgb),0.22) 0%, rgba(var(--accent-rgb),0.08) 30%, rgba(var(--accent-rgb),0.00) 70%);
      filter: blur(1px);
      mix-blend-mode: screen;
    }
    /* Subtle focus pulse (keeps user oriented; no layout changes) */
    @keyframes pgFocusPulse{
      0%{ box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 10px 18px rgba(0,0,0,0.35); }
      60%{ box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.22) inset, 0 0 22px rgba(var(--accent-rgb),0.22), 0 10px 18px rgba(0,0,0,0.35); }
      100%{ box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 10px 18px rgba(0,0,0,0.35); }
    }
/* Stage 1: "charge" the paid tile */
    .pg-modal.pg-flow-s1 .pg-wc-asset-paid{ animation: pgChargeUp 1.05s cubic-bezier(.2,.9,.2,1) 1, pgFocusPulse 1.20s ease-in-out 1; }
    .pg-modal.pg-flow-s1 #pg-wc-asset-paid-logo{ animation: pgLogoNudge 1.05s ease-out 1; }
    /* Stage 2: lock engages + beam sweep + particle run */
    .pg-modal.pg-flow-s2 .pg-wc-asset-lock{ animation: pgLockEngage 1.10s cubic-bezier(.2,.9,.2,1) 1, pgFocusPulse 1.20s ease-in-out 1; }
    .pg-modal.pg-flow-s2 .pg-wc-asset-lock svg{ animation: pgLockSpin 1.20s ease-in-out 1; transform-origin: 50% 50%; }
    .pg-modal.pg-flow-s2 .pg-wc-flow-beam{
      opacity: 1;
      animation: pgFlowBeamSweep 1.60s ease-in-out 1;
    }
    .pg-modal.pg-flow-s2 .pg-wc-flow-beam::before{ animation: pgFlowParticle 1.60s ease-in-out 1; }
    .pg-modal.pg-flow-s2 .pg-wc-flow-beam::after{ animation: pgFlowSpark 1.60s ease-in-out 1; }
    /* Stage 3: ZLNC tile blooms */
    .pg-modal.pg-flow-s3 .pg-wc-asset-reward{ animation: pgRewardBloom 1.15s cubic-bezier(.2,.9,.2,1) 1, pgFocusPulse 1.20s ease-in-out 1; }
    .pg-modal.pg-flow-s3 #pg-wc-asset-reward-logo{ animation: pgRewardShimmer 1.25s ease-in-out 1; }
    /* Stage 4: rewards hero */
    .pg-modal.pg-flow-s4 .pg-oc-rewards-row,
    .pg-modal.pg-flow-s4 #pg-oc-rewards-row{
      animation: pgRewardsHero 1.25s cubic-bezier(.18,.98,.18,1) 1, pgFocusPulse 1.20s ease-in-out 1;
    }
    .pg-modal.pg-flow-s4 #pg-oc-rewards{
      animation: pgRewardsTextPop 1.05s cubic-bezier(.18,.98,.18,1) 1;
    }
    /* Keyframes */
    @keyframes pgChargeUp{
      0%{
        transform: translateY(0) scale(1);
        border-color: rgba(255,255,255,0.14);
        box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 10px 18px rgba(0,0,0,0.35);
      }
      55%{
        transform: translateY(-1px) scale(1.02);
        border-color: rgba(var(--accent-rgb),0.65);
        box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.22) inset, 0 0 22px rgba(var(--accent-rgb),0.24), 0 10px 18px rgba(0,0,0,0.35);
      }
      100%{
        transform: translateY(0) scale(1);
        border-color: rgba(255,255,255,0.18);
        box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 10px 18px rgba(0,0,0,0.35);
      }
    }
    @keyframes pgLogoNudge{
      0%{ transform: translateZ(0) scale(1); filter: drop-shadow(0 0 0 rgba(var(--accent-rgb),0)); }
      55%{ transform: translateZ(0) scale(1.08); filter: drop-shadow(0 0 10px rgba(var(--accent-rgb),0.32)); }
      100%{ transform: translateZ(0) scale(1); filter: drop-shadow(0 0 0 rgba(var(--accent-rgb),0)); }
    }
    @keyframes pgLockEngage{
      0%{ transform: translateY(0) scale(1); box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 10px 18px rgba(0,0,0,0.35); }
      45%{ transform: translateY(-1px) scale(1.04); box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.20) inset, 0 0 26px rgba(var(--accent-rgb),0.22), 0 10px 18px rgba(0,0,0,0.35); }
      100%{ transform: translateY(0) scale(1); box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 10px 18px rgba(0,0,0,0.35); }
    }
    @keyframes pgLockSpin{
      0%{ transform: rotate(0deg) scale(1); }
      55%{ transform: rotate(10deg) scale(1.06); }
      100%{ transform: rotate(0deg) scale(1); }
    }
    @keyframes pgFlowBeamSweep{
      0%{ opacity:0; transform: translate(-40%, -50%); }
      12%{ opacity:0.75; }
      65%{ opacity:0.55; }
      100%{ opacity:0; transform: translate(40%, -50%); }
    }
    @keyframes pgFlowParticle{
      0%{ opacity:0; transform: translate(-40px,-50%) scale(0.70); }
      12%{ opacity:1; }
      55%{ opacity:1; transform: translate(calc(50% - 9px),-50%) scale(1); }
      100%{ opacity:0; transform: translate(calc(100% + 40px),-50%) scale(0.80); }
    }
    @keyframes pgFlowSpark{
      0%{ opacity:0; transform: translate(-40px,-50%) scale(0.6); }
      18%{ opacity:0.55; }
      55%{ opacity:0.42; transform: translate(calc(50% - 22px),-50%) scale(1); }
      100%{ opacity:0; transform: translate(calc(100% + 40px),-50%) scale(0.7); }
    }
    @keyframes pgRewardBloom{
      0%{
        transform: translateY(0) scale(1);
        border-color: rgba(255,255,255,0.18);
        box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 10px 18px rgba(0,0,0,0.35);
      }
      55%{
        transform: translateY(-1px) scale(1.06);
        border-color: rgba(var(--accent-rgb),0.80);
        box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.26) inset, 0 0 34px rgba(var(--accent-rgb),0.42), 0 10px 18px rgba(0,0,0,0.35);
      }
      100%{
        transform: translateY(0) scale(1);
        border-color: rgba(255,255,255,0.18);
        box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 10px 18px rgba(0,0,0,0.35);
      }
    }
    @keyframes pgRewardShimmer{
      0%{ filter: drop-shadow(0 0 0 rgba(var(--accent-rgb),0)); transform: scale(1); }
      45%{ filter: drop-shadow(0 0 14px rgba(var(--accent-rgb),0.38)); transform: scale(1.08); }
      100%{ filter: drop-shadow(0 0 0 rgba(var(--accent-rgb),0)); transform: scale(1); }
    }
    @keyframes pgRewardsHero{
      0%{
        transform: translateY(0) scale(1);
        box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
        border-color: rgba(255,255,255,0.18);
      }
      35%{
        transform: translateY(-1px) scale(1.015);
        box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.22) inset, 0 0 26px rgba(var(--accent-rgb),0.20);
        border-color: rgba(var(--accent-rgb),0.55);
      }
      100%{
        transform: translateY(0) scale(1);
        box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
        border-color: rgba(255,255,255,0.18);
      }
    }
    @keyframes pgRewardsTextPop{
      0%{ transform: translateY(0) scale(1); letter-spacing: 0.02em; }
      45%{ transform: translateY(-1px) scale(1.03); letter-spacing: 0.03em; text-shadow: 0 0 14px rgba(var(--accent-rgb),0.36); }
      100%{ transform: translateY(0) scale(1); letter-spacing: 0.02em; text-shadow: none; }
    }
/* PATCH: removed stray orphaned keyframe steps (was breaking CSS parsing) */
/* 40%{ box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.22) inset, 0 0 18px rgba(var(--accent-rgb),0.22), 0 10px 18px rgba(0,0,0,0.35); border-color: rgba(var(--accent-rgb),0.55); } */
/*       100%{ box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 10px 18px rgba(0,0,0,0.35); border-color: rgba(255,255,255,0.18); } */
/*     } */
    /* Rewards fade-in after flow completes */
    .pg-modal.pg-wc-success #pg-oc-rewards-row{
      opacity: 0;
      transform: translateY(4px);
      transition: opacity 420ms ease, transform 420ms ease;
    }
    .pg-modal.pg-wc-success.pg-rewards-ready #pg-oc-rewards-row{
      opacity: 1;
      transform: translateY(0);
    }
    .pg-wc-asset-tile{
      width: 50px;
      height: 50px;
      border-radius: 12px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.18);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 10px 18px rgba(0,0,0,0.35);
      display:flex;
      align-items:center;
      justify-content:center;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      overflow:hidden;
    }
    .pg-wc-asset-tile img{
      width: 30px;
      height: 30px;
      object-fit: contain;
      filter: drop-shadow(0 0 10px rgba(0,0,0,0.35));
    }
/* Force paid-asset logo visibility inside success layer (some browsers were not painting the IMG) */
.pg-wc-asset-tile.pg-wc-asset-paid img{
  display:block !important;
  opacity:1 !important;
  visibility:visible !important;
  position:relative !important;
  z-index:3 !important;
  filter:none !important;
}
.pg-wc-asset-link{
      width: 44px;
      height: 44px;
      border-radius: 999px;
      border: 1px solid rgba(var(--accent-rgb),0.36);
      background: rgba(0,0,0,0.26);
      display:flex;
      align-items:center;
      justify-content:center;
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 0 18px rgba(var(--accent-rgb),0.24);
      position: relative;
      overflow:hidden;
    }
    .pg-wc-asset-link:before{
      content:"";
      position:absolute;
      inset:-40%;
      background: conic-gradient(from 0deg, rgba(var(--accent-rgb),0.00), rgba(var(--accent-rgb),0.32), rgba(var(--accent-rgb),0.00));
      animation: pgLinkSpin 1.8s linear infinite;
      filter: blur(10px);
      opacity: 0.85;
    }
    @keyframes pgLinkSpin{ to{ transform: rotate(360deg);} }
    .pg-wc-asset-link svg{
      width: 18px;
      height: 18px;
      z-index: 2;
      opacity: 0.92;
      filter: drop-shadow(0 0 10px rgba(var(--accent-rgb),0.30));
    }
    .pg-wc-success-caption{
      margin-top: 8px;
      font-size: 18px;
      letter-spacing: 3px;
      color: rgba(255,255,255,0.92);
      text-transform: uppercase;
      text-shadow: 0 0 18px rgba(var(--accent-rgb),0.24);
    }
    .pg-wc-rewards-micro{
      font-size: 12px;
      letter-spacing: 1.2px;
      color: rgba(255,255,255,0.70);
      text-transform: uppercase;
      margin-top: -4px;
      display:flex;
      align-items:center;
      gap:8px;
    }
    .pg-wc-rewards-dot{
      width: 10px;
      height: 10px;
      border-radius: 999px;
      border: 2px solid rgba(255,255,255,0.24);
      border-top-color: rgba(var(--accent-rgb),0.72);
      animation: pgSpinner 0.85s linear infinite;
    }
    @keyframes pgSpinner{ to{ transform: rotate(360deg);} }
    /* Toggle states */
    .pg-modal.pg-wc-success .pg-modal-col-qr,
    .pg-modal.pg-wc-success .pg-modal-col-wallets{ display:none; }
    .pg-modal.pg-wc-success #pg-wc-success-layer{ display:flex; }
    .pg-order-complete-panel{ display:none; }
    .pg-modal.pg-wc-success .pg-order-details-panel{ display:none; }
    .pg-modal.pg-wc-success .pg-wallet-search-panel{ display:none; }
    .pg-modal.pg-wc-success .pg-order-complete-panel{ display:block; }
    /* Keep Order Complete card aligned with original Order Details column */
    @media (min-width: 521px){
      /* Shift ONLY the SUCCESS CARD; Order Details remains locked in normal state */
      .pg-modal.pg-wc-success #pg-order-card{ transform: translateX(212.9px); }
      .pg-modal.pg-wc-success #pg-order-complete-panel{ transform:none; }
    }
/* === WALLET SEARCH (Find Your Wallet) — Desktop/Tablet ONLY === */
     @media (min-width: 521px){
       .pg-wallet-search-panel{ display:none; }
       .pg-modal.pg-wallet-search-active .pg-order-details-panel{ display:none; }
       .pg-modal.pg-wallet-search-active .pg-wallet-search-panel{ display:flex; flex-direction:column; gap:10px; }
       .pg-modal.pg-wallet-search-active .pg-order-card{ padding:10px; }
       .pg-wallet-search-top{
         display:flex;
         gap:10px;
         align-items:center;
       }
       .pg-wallet-search-field{
         position:relative;
         flex:1;
       }
       .pg-wallet-search-ico{
         position:absolute;
         left: 12px;
         top: 50%;
         transform: translateY(-50%);
         width: 16px;
         height: 16px;
         opacity: 0.85;
         pointer-events:none;
         filter: drop-shadow(0 0 10px rgba(var(--accent-rgb),0.25));
       }
       .pg-wallet-search-input{
         width:100%;
         height: 42px;
         border-radius: 8px;
         border: 1px solid rgba(255,255,255,0.14);
         background: rgba(0,0,0,0.36);
         color: rgba(255,255,255,0.92);
         font-size: 14px;
         letter-spacing: 1px;
         padding: 0 12px 0 40px;
         outline: none;
         box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;
         backdrop-filter: blur(10px);
         -webkit-backdrop-filter: blur(10px);
       }
       .pg-wallet-search-input::placeholder{
         color: rgba(255,255,255,0.72);
         letter-spacing: 1px;
       }
       .pg-wallet-search-input:focus{
         border-color: rgba(var(--accent-rgb),0.55);
         box-shadow:
           0 0 0 1px rgba(var(--accent-rgb),0.22) inset,
           0 0 22px rgba(var(--accent-rgb),0.22),
           0 0 0 1px rgba(255,255,255,0.06) inset;
       }
       .pg-wallet-search-close{
         width: 42px;
         height: 42px;
         border-radius: 8px;
         border: 1px solid rgba(255,255,255,0.14);
         background: rgba(0,0,0,0.36);
         color: rgba(255,255,255,0.90);
         font-weight: 700;
         cursor:pointer;
         box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;
         backdrop-filter: blur(10px);
         -webkit-backdrop-filter: blur(10px);
       }
       .pg-wallet-search-close:hover{
         background: rgba(0,0,0,0.36);
         border-color: rgba(var(--accent-rgb),0.58);
         box-shadow:
           0 0 0 1px rgba(255,255,255,0.07) inset,
           0 0 18px rgba(var(--accent-rgb),0.20),
           0 10px 22px rgba(0,0,0,0.35);
       }
       .pg-wallet-search-scroll-wrap{
         position:relative;
         border-radius: 12px;
         border: 1px solid rgba(255,255,255,0.10);
         background: rgba(255,255,255,0.06);
         box-shadow:
           0 0 0 1px rgba(255,255,255,0.06) inset,
           0 14px 26px rgba(0,0,0,0.32);
         backdrop-filter: blur(12px);
         -webkit-backdrop-filter: blur(12px);
         padding: 10px; /* 10px between wallets and outline */
         overflow:hidden;
       }
       .pg-wallet-search-scroll{
         height: 194px; /* ~2 rows + partial 3rd (reduced by 60px) */
         overflow:auto;
         padding-right: 8px;
         scrollbar-width: thin;
         scrollbar-color: rgba(255,255,255,0.24) rgba(0,0,0,0.0);
       }
       .pg-wallet-search-scroll::-webkit-scrollbar{ width: 10px; }
       .pg-wallet-search-scroll::-webkit-scrollbar-track{
         background: rgba(0,0,0,0.0);
         border-radius: 12px;
       }
       .pg-wallet-search-scroll::-webkit-scrollbar-thumb{
         background: rgba(255,255,255,0.16);
         border: 1px solid rgba(255,255,255,0.24);
         border-radius: 12px;
         box-shadow:
           0 0 0 1px rgba(0,0,0,0.35) inset,
           0 0 18px rgba(var(--accent-rgb),0.18);
       }
       .pg-wallet-search-scroll::-webkit-scrollbar-thumb:active{
         background: rgba(255,255,255,0.22);
         box-shadow:
           0 0 0 1px rgba(0,0,0,0.35) inset,
           0 0 26px rgba(var(--accent-rgb),0.30);
       }
       .pg-wallet-search-scroll-wrap::after{
         content:"";
         position:absolute;
         left:0; right:0; bottom:0;
         height: 40px; /* blur reveal */
         pointer-events:none;
         background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.32));
         backdrop-filter: blur(10px);
         -webkit-backdrop-filter: blur(10px);
       }
       .pg-wallet-search-grid{
         display:grid;
         grid-template-columns: repeat(4, 1fr);
         gap: 12px 12px;
         align-content:start;
         justify-items:center;
       }
       .pg-search-tile{
         background: transparent;
         border: none;
         padding: 0;
         cursor:pointer;
         display:flex;
         flex-direction:column;
         align-items:center;
         gap: 6px;
         width: 56px; /* frame width for label truncation */
       }
       .pg-search-frame{
         width: 54px;              /* ~80% of 67px */
         height: 54px;
         padding: 8px;
         border-radius: 10px;
         background: rgba(255,255,255,0.08);
         border: 1px solid rgba(255,255,255,0.18);
         box-shadow:
           0 0 0 1px rgba(255,255,255,0.06) inset,
           0 10px 22px rgba(0,0,0,0.35);
         backdrop-filter: blur(8px);
         -webkit-backdrop-filter: blur(8px);
         display:flex;
         align-items:center;
         justify-content:center;
       }
       .pg-search-logo{
         width: 38px;
         height: 38px;
         display:block;
         border-radius: 8px;
       }
       .pg-search-name{
         font-size: 13px;
         font-weight: 300;
         color: rgba(255,255,255,0.82);
         letter-spacing: 1px;
         max-width: 56px;
         white-space: nowrap;
         overflow: hidden;
         text-overflow: ellipsis;
         text-align:center;
         line-height: 1.1;
         user-select:none;
       }
       .pg-search-tile:hover .pg-search-logo{
         filter: drop-shadow(0 0 12px rgba(var(--accent-rgb),0.35));
       }
       .pg-search-tile:hover .pg-search-frame{
         border-color: rgba(var(--accent-rgb),0.58);
         box-shadow:
           0 0 0 1px rgba(255,255,255,0.07) inset,
           0 0 18px rgba(var(--accent-rgb),0.20),
           0 10px 22px rgba(0,0,0,0.35);
       }
     }
.pg-order-title{
      font-size: 17px;
      font-weight: 500;
      letter-spacing: 4px;
      margin-bottom: 12px;
      color: rgba(255,255,255,0.9);
    }
    /* ORDER DETAILS (modal) — Step 26: new data layout */
    .pg-order-title{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:12px;
    }
    .pg-order-title-text{
      display:block;
    }
    .pg-order-brand{
      display:flex;
      flex-direction:column;
      align-items:flex-end;
      text-align:right;
      line-height:1;
      font-size:12px;
      font-weight:400;
      letter-spacing:1.5px;
      color:#ffffff;
      text-transform:uppercase;
      filter: drop-shadow(0 0 6px rgba(var(--accent-rgb),0.55));
      opacity:0.95;
      margin-top:2px;
    }
    .pg-order-brand-top{ margin-bottom:1px; }
    .pg-order-brand-bottom{ margin-top:-1px; }
    .pg-od-rows{
      display:flex;
      flex-direction:column;
      gap:10px;
    }
    .pg-od-row{
      display:flex;
      align-items:baseline;
      justify-content:space-between;
      gap:14px;
      font-size:14px;
      line-height:1.25;
    }
    .pg-od-k{
      color: rgba(255,255,255,0.72);
      font-weight:400;
      letter-spacing:0.2px;
      white-space:nowrap;
    }
    .pg-od-v{
      color: rgba(255,255,255,0.92);
      font-weight:500;
      text-align:right;
      max-width: 58%;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .pg-od-total{
      font-weight:600;
    }
    .pg-od-divider{
      height:1px;
      background: rgba(255,255,255,0.10);
      margin: 6px 0 2px;
    }
    .pg-od-row-rewards .pg-od-k,
    .pg-od-row-rewards .pg-od-v{
      font-size:15px;
    }
    .pg-od-legacy{
      position:absolute !important;
      left:-99999px !important;
      top:auto !important;
      width:1px !important;
      height:1px !important;
      overflow:hidden !important;
      opacity:0 !important;
      pointer-events:none !important;
    }
    .pg-order-rows{ display:flex; flex-direction:column; gap: 10px; }
    .pg-order-row{
      display:flex;
      justify-content:space-between;
      gap: 14px;
      font-size: 14px;
      color: rgba(255,255,255,0.78);
    }
    .pg-order-k{ color: rgba(255,255,255,0.68); }
    .pg-order-v{ color: rgba(255,255,255,0.90); font-weight: 600; text-align:right; max-width: 260px; overflow:hidden; text-overflow: ellipsis; white-space: nowrap; }
    .pg-payaddr{
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .pg-payaddr-label{
      font-size: 13px;
      color: rgba(255,255,255,0.68);
      margin-bottom: 8px;
    }
    .pg-payaddr-row{
      display:flex;
      gap: 10px;
      align-items:center;
    }
    .pg-payaddr-input{
      flex:1;
      height: 44px;
      display:flex;
      align-items:center;
      padding: 0 12px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.10);
      background: rgba(0,0,0,0.22);
      color: rgba(255,255,255,0.82);
      font-size: 13px;
      overflow:hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .pg-payaddr-copy{
      height: 44px;
      padding: 0 18px;
      border-radius: 999px;
      border: 1px solid rgba(var(--accent-rgb),0.55);
      background: rgba(var(--accent-rgb),0.18);
      color: rgba(255,255,255,0.9);
      cursor:pointer;
      box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
    }
    .pg-payaddr-copy:hover{ background: rgba(var(--accent-rgb),0.24); }
    .pg-modal-status{
      margin-top: 12px;
      font-size: 13px;
      color: rgba(255,255,255,0.66);
    }
    /* Ensure no scrollbars inside modal */
    .pg-modal, .pg-modal-grid { overflow: hidden; }
    .pg-modal-backdrop{
      /* FULL-SCREEN DIM OVERLAY (order-summary + modal + outline sit above) */
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0.80);
      padding: 0;
      overflow: hidden;
      z-index: 9998;
      display: none;
    }
    .pg-modal {
      height: var(--pg-modal-h, 541px);
      width:100%;
background: radial-gradient(circle at top, rgba(var(--accent-rgb),0.07), #020617);
      color: #e5e7eb;
      border-radius: 22px;
      padding: 20px 20px 18px;
      box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
      border: 1px solid rgba(148,163,184,0.4);
    }
    .pg-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 25px;
    }
    .pg-modal-title { font-size: 17px; font-weight: 700; }
    .pg-badge-sm {
      font-size: 12px;
      padding: 3px 7px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148,163,184,0.7);
    }
    .pg-modal-body { font-size: 14px; }
    .pg-wallet-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin-top: 12px;
      margin-bottom: 12px;
    }
    .pg-wallet-btn {
      border-radius: 14px;
      border: 1px solid rgba(148,163,184,0.7);
      padding: 8px 7px;
      font-size: 13px;
      cursor: pointer;
      background: rgba(15,23,42,0.96);
      color: #e5e7eb;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      transition: all 0.15s ease-out;
    }
    .pg-wallet-btn:hover {
      background: rgba(30,64,175,0.85);
      border-color: #60a5fa;
      transform: translateY(-1px);
    }
    .pg-modal-row { display: flex; gap: 12px; margin-top: 10px; align-items: center; flex-wrap: wrap; }
    .pg-qr-placeholder {
      width: 110px;
      height: 110px;
      border-radius: 18px;
      border: 1px dashed rgba(148,163,184,0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      color: #9ca3af;
      background: rgba(15,23,42,0.9);
      flex-shrink: 0;
    }
    .pg-modal-meta { font-size: 13px; color: #cbd5f5; flex: 1 1 0; min-width: 0; }
    .pg-modal-meta strong { color: #f9fafb; }
    .pg-modal-flow { font-size: 12px; margin-top: 4px; color: #9ca3af; }
    .pg-timer { font-size: 13px; color: #fed7aa; margin-top: 4px; }
    .pg-modal-footer {
      margin-top: 14px;
      display: flex;
      justify-content: space-between;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
    }
    .pg-close { cursor: pointer; font-size: 18px; }
    .pg-success-banner {
      margin-top: 14px;
      border-radius: 18px;
      background: #ecfdf5;
      padding: 12px 12px;
      font-size: 14px;
      display: none;
    }
    .pg-success-title { font-weight: 700; margin-bottom: 4px; }
    .pg-success-sub { font-size: 13px; color: #047857; }
    /* === MOBILE-ONLY TWEAKS === */
    @media (max-width: 960px) {
      .pg-summary-card { order: -1; }
      .pg-main-card { order: 0; }
      .pg-summary-card .pg-callouts { display: none; }
      .pg-callouts-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
      }
    }
    @media (max-width: 640px) {
      #crypto-gateway-demo-root { padding: 0; }
      .pg-layout { max-width: 100%; margin: 0; }
      .pg-card { border-radius: 0; box-shadow: none; padding: 16px 14px; }
      .pg-stepper { font-size: 12px; }
      /* Hide legacy rewards input field on MOBILE (we're replacing it with the new Rewards Panel) */
      .pg-rewards-field{ display:none !important; }
      /* Prevent any Billing Address flash on mobile refresh */
      #pg-card-billing{ display:none !important; }
/* =========================================================
         STEP 67 — MOBILE ONLY: REWARDS PANEL (pg-rewards-code)
         Goal:
         - Match the "Direction A with a hint of energy" render (no stars)
         - 333px x 160px card, elegant inner glow, ghost-outline fade (left 1/4)
         - Fused input + Apply button with gradient merge
         Scope: MOBILE ONLY (<= 640px). Desktop/Tablet untouched.
      ========================================================= */
      #pg-rewards-code.pg-rw-card:not(.is-code-open){
  /* CLOSED STATE ONLY (MOBILE): mirror DevTools final look */
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Flat charcoal fill (no tint / no glass gradients) */
  background-color: #0b0f13 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  /* No border stroke (outline is handled by box-shadow hairlines) */
  border: none !important;
  /* Sharper edge definition (matches computed) */
  box-shadow:
    0 10px 22px rgba(0,0,0,0.62),
    0 0 0 1px rgba(var(--accent-rgb),0.20),
    inset 0 -1px 0 rgba(0,0,0,0.58),
    inset 0 0 0 1px rgba(255,255,255,0.06) !important;
  /* Reduce GPU text/edge blur on mobile */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
#pg-rewards-code.pg-rw-card.is-code-open::before,
#pg-rewards-code.pg-rw-card.is-code-open::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
}
/* Neutral inner edge highlight (cool white) */
#pg-rewards-code.pg-rw-card.is-code-open::before{
  inset: 1px;
  border-radius: 7px;
  /* Inner glass + bright line highlights to frame the container */
  background:
    /* TOP: hairline highlight — MATCHES bottom (no glow / no diffusion) */
linear-gradient(90deg,
  rgba(255,255,255,0.00) 0%,
    rgba(255,255,255,0.30) 20%,
  rgba(255,255,255,0.30) 80%,
  rgba(255,255,255,0.00) 100%) 0 0/100% 1px no-repeat,
/* Corner wisps (tight + controlled) — keep right-corner hit */
radial-gradient(34px 14px at 8% 6px, rgba(255,255,255,0.28), rgba(255,255,255,0.00) 72%),
radial-gradient(34px 14px at 92% 6px, rgba(255,255,255,0.28), rgba(255,255,255,0.00) 72%),
    /* Drawer separator (locks to bottom so it stays correct in CLOSED + OPEN) */
    linear-gradient(90deg,
      rgba(255,255,255,0.00) 0%,
      rgba(255,255,255,0.26) 18%,
      rgba(255,255,255,0.26) 82%,
      rgba(255,255,255,0.00) 100%) 0 calc(100% - 44px)/100% 1px no-repeat,
    /* Drawer "lip" highlight (small line just inside the plate) */
        linear-gradient(90deg,
      rgba(255,255,255,0.00) 0%,
      rgba(255,255,255,0.14) 22%,
      rgba(255,255,255,0.14) 78%,
      rgba(255,255,255,0.00) 100%) 0 calc(100% - 40px)/100% 1px no-repeat,
    /* BOTTOM framing line (stronger to match the design reference) */
    linear-gradient(90deg,
      rgba(255,255,255,0.00) 0%,
      rgba(255,255,255,0.30) 20%,
      rgba(255,255,255,0.30) 80%,
      rgba(255,255,255,0.00) 100%) 0 100%/100% 1px no-repeat,
    /* Soft inner edge highlight */
    linear-gradient(180deg,
      rgba(255,255,255,0.14) 0%,
      rgba(255,255,255,0.035) 48%,
      rgba(0,0,0,0.00) 76%) 0 0/100% 100% no-repeat;
  opacity: 0.96;
  filter: none;
}
/* Localized specular "hits" on the stroke (white-ish, NOT brand) */
#pg-rewards-code.pg-rw-card.is-code-open::after{
  /* Specular hits + subtle spectral sheen (neutral white) */
  background:
    radial-gradient(22px 22px at 92% 18%, rgba(255,255,255,0.34), rgba(255,255,255,0.00) 74%),
    radial-gradient(28px 28px at 92% 86%, rgba(255,255,255,0.20), rgba(255,255,255,0.00) 76%),
    radial-gradient(22px 22px at 10% 18%, rgba(255,255,255,0.18), rgba(255,255,255,0.00) 74%),
    /* bottom-center hit to subtly "announce" the drawer area */
    radial-gradient(46px 22px at 50% 96%, rgba(255,255,255,0.14), rgba(255,255,255,0.00) 70%),
    /* soft side bloom */
    radial-gradient(260px 140px at 100% 50%, rgba(255,255,255,0.065), rgba(255,255,255,0.00) 62%);
  opacity: 0.64;
  mix-blend-mode: screen;
}
      #pg-rewards-code{
        display:block !important;
        /* Match #pg-order-summary full-bleed width on MOBILE */
        width: calc(100% + 28px);
        max-width: none;
        height: 74px;
        /* Move up 25px from prior placement (38px -> 13px) */
        margin: 13px -14px 38px -14px;
        /* Match bottom corner radius of #pg-order-summary (18px) */
        border-radius: 12px;
        position: relative;
        /* Pill + bottom glow position control (MOBILE) */
        /* +value moves DOWN, -value moves UP */
        --pg-rw-indicator-shift: -24px;
        overflow: visible;
        padding: 14px 16px 12px;
        box-sizing: border-box;
        /* Expand-on-demand (Rewards code drawer) */
        transition: height 260ms cubic-bezier(.2,.9,.2,1), transform 220ms ease;
        will-change: transform;
        /* Smoky glass charcoal */
        background:
          /* TOP: crisp 2px highlight + soft “white wisp” underlay (no blur) */
            linear-gradient(90deg,
            rgba(255,255,255,0.00) 0%,
            rgba(255,255,255,0.42) 14%,
            rgba(255,255,255,0.42) 86%,
            rgba(255,255,255,0.00) 100%) 0 0/100% 2px no-repeat,
          linear-gradient(180deg,
            rgba(255,255,255,0.16) 0%,
            rgba(255,255,255,0.06) 0%,
            rgba(0,0,0,0.00) 70%) 0 0/100% -10px no-repeat,
          /* Glass body */
        radial-gradient(160% 200% at 20% -10%, rgba(255,255,255,0.030), rgba(0,0,0,0) 55%),
        radial-gradient(190% 240% at 85% 18%, rgba(255,255,255,0.045), rgba(0,0,0,0) 60%),
        linear-gradient(180deg, rgba(255,255,255,0.016) 0%, rgba(0,0,0,0.06) 48%, rgba(0,0,0,0.18) 100%),
        rgba(7,10,11,0.985);
        backdrop-filter: blur(14px) saturate(0.55);
        -webkit-backdrop-filter: blur(14px) saturate(0.55);
        /* Brand outline (closed state) */
        border: 1px solid rgba(var(--accent-rgb),0.80);
        isolation: isolate;
        /* Inner glow, NOT loud */
        box-shadow:
          0 14px 32px rgba(0,0,0,0.55),
          inset 0 0 0 1px rgba(255,255,255,0.06),
          inset 0 10px 26px rgba(0,0,0,0.40),
          inset 0 -18px 28px rgba(255,255,255,0.02);
      }
      /* RESTORED DATA STYLES (mobile-only) */
      #pg-rewards-code .pg-rw-top{
        display:flex;
        align-items:flex-start;
        justify-content:space-between;
        gap: 12px;
        margin-bottom: 8px;
        position: relative;
        z-index: 2;
      }
      /* Open-state asset meta row (ZLNC / BASE mainnet) — hidden when collapsed */
      #pg-rewards-code .pg-rw-assetmeta{
        display:flex;
        align-items:center;
        gap: 10px;
        margin: -4px 0 8px;
        padding: 0;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: translateY(-6px);
        pointer-events: none;
        transition:
          max-height 260ms cubic-bezier(.2,.9,.2,1),
          opacity 200ms ease,
          transform 260ms cubic-bezier(.2,.9,.2,1);
      }
      #pg-rewards-code .pg-rw-zlogo{
        width: 18px;
        height: 18px;
        border-radius: 6px;
        object-fit: contain;
        filter:
          drop-shadow(0 0 10px rgba(var(--accent-rgb),0.26))
          drop-shadow(0 10px 18px rgba(0,0,0,0.55));
        opacity: 1;
        flex: 0 0 auto;
      }
      #pg-rewards-code .pg-rw-assetmeta-text{ min-width: 0; }
      #pg-rewards-code .pg-rw-assetmeta-top{
        display:flex;
        align-items:baseline;
        gap: 10px;
        white-space: nowrap;
      }
      #pg-rewards-code .pg-rw-asset-ticker{
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.92);
        text-shadow: 0 12px 26px rgba(0,0,0,0.55);
      }
      #pg-rewards-code .pg-rw-asset-net{
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.04em;
        color: rgba(255,255,255,0.62);
        text-shadow: 0 12px 26px rgba(0,0,0,0.55);
      }
      /* Reveal meta row only on expand */
      #pg-rewards-code.is-code-open .pg-rw-assetmeta{
        opacity: 1;
        max-height: 28px;
        transform: none;
        pointer-events: auto;
      }
      #pg-rewards-code .pg-rw-title{
        font-size: 18px;
        margin-top: -7px;
        font-weight: 650;
        letter-spacing: 0.2px;
        color: rgba(255,255,255,0.92);
        text-shadow: 0 10px 22px rgba(0,0,0,0.55);
      }
      #pg-rewards-code .pg-rw-usd{
        font-size: 18px;
        font-weight: 400;
        color: rgba(255,255,255,0.96);
        text-shadow:
          0 12px 26px rgba(0,0,0,0.55),
          0 0 14px rgba(255,255,255,0.10);
        margin-top: -7px;
        white-space: nowrap;
      }
      #pg-rewards-code .pg-rw-mid{
        display:flex;
        justify-content:space-between;
        gap: 16px;
        margin: 0;
        position: relative;
        z-index: 2;
        /* CLOSED state: hidden (SoT closed = title + value only) */
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: translateY(-6px);
        pointer-events: none;
        transition:
          max-height 260ms cubic-bezier(.2,.9,.2,1),
          opacity 200ms ease,
          transform 260ms cubic-bezier(.2,.9,.2,1);
      }
      #pg-rewards-code .pg-rw-block{ min-width: 0; }
      #pg-rewards-code .pg-rw-right{ text-align: right; }
      #pg-rewards-code .pg-rw-label{
        font-size: 13px;
        color: rgba(255,255,255,0.62);
        letter-spacing: 0.4px;
        margin-bottom: -2px;
      }
      #pg-rewards-code .pg-rw-price,
      #pg-rewards-code .pg-rw-amt{
        font-size: 18px;
        font-weight: 600;
        color: rgba(255,255,255,0.92);
        line-height: 1.05;
        text-shadow: 0 10px 22px rgba(0,0,0,0.55);
      }
      #pg-rewards-code .pg-rw-change{
        margin-top: 4px;
        font-size: 14px;
        font-weight: 700;
        display:inline-flex;
        gap: 6px;
        align-items:center;
        line-height: 1;
        letter-spacing: 0.2px;
      }
      #pg-rewards-code .pg-rw-up{
        color: rgba(34,197,94,0.98); /* green */
        text-shadow: 0 0 12px rgba(34,197,94,0.14);
      }
      #pg-rewards-code .pg-rw-down{
        color: rgba(239,68,68,0.98); /* red */
        text-shadow: 0 0 12px rgba(239,68,68,0.18);
      }
      #pg-rewards-code .pg-rw-arrow{
        font-size: 13px;
        transform: translateY(-1px);
      }
      /* =========================================================
         STEP 163C — Token Amount foreground + unclip when nudged upward
         Fix: .pg-rw-label + #pg-rw-amt were being clipped by .pg-rw-mid overflow
         ========================================================= */
      #pg-rewards-code.is-code-open .pg-rw-mid{
        overflow: visible; /* allow upward shift without clipping */
      }
      #pg-rewards-code.is-code-open .pg-rw-block.pg-rw-right{
        position: absolute;
        right: 0;
        top: -42px;      /* move up into the assetmeta row */
        z-index: 80;     /* above any glass / mid overlay */
        pointer-events: none; /* display-only */
      }
      #pg-rewards-code.is-code-open .pg-rw-block.pg-rw-right .pg-rw-label,
      #pg-rewards-code.is-code-open .pg-rw-block.pg-rw-right #pg-rw-amt{
        position: relative;
        z-index: 81;
      }
/* Ghost-outline fade (left quarter fades away) */
      #pg-rewards-code::before{
        content:"";
        position:absolute;
        inset:0;
        border-radius: 18px;
        padding: 1px; /* border thickness */
        pointer-events:none;
        /* Border-only paint (prevents any brand tint in the fill) */
        background: linear-gradient(110deg,
          rgba(var(--accent-rgb),0.) 0%,
          rgba(var(--accent-rgb),0.92) 40%,
          rgba(255,255,255,0.22) 62%,
          rgba(var(--accent-rgb),0.42) 100%) border-box;
        /* Make it border-only, then fade the left side for the ghost-outline look */
        -webkit-mask:
          linear-gradient(#000 0 0) content-box,
          linear-gradient(#000 0 0),
          linear-gradient(90deg,
            rgba(0,0,0,0.00) 0%,
            rgba(0,0,0,0.35) 18%,
            rgba(0,0,0,1.00) 44%,
            rgba(0,0,0,1.00) 100%);
        -webkit-mask-composite: xor, destination-in;
        mask:
          linear-gradient(#000 0 0) content-box,
          linear-gradient(#000 0 0),
          linear-gradient(90deg,
            rgba(0,0,0,0.00) 0%,
            rgba(0,0,0,0.35) 18%,
            rgba(0,0,0,1.00) 44%,
            rgba(0,0,0,1.00) 100%);
        mask-composite: exclude, intersect;
        opacity: 1;
        filter: none;
      }
      /* Brand shimmer accents on the stroke (subtle, premium) */
      #pg-rewards-code::after{
        content:"";
        position:absolute;
        inset:0;
        border-radius: 18px;
        padding: 1px;
        pointer-events:none;
        /* Small white-ish shimmer hits on the outline (premium, not loud) */
        background:
          radial-gradient(18px 18px at 22% 18%, rgba(255,255,255,0.20), rgba(255,255,255,0.00) 70%),
          radial-gradient(26px 26px at 86% 30%, rgba(255,255,255,0.16), rgba(255,255,255,0.00) 72%),
          linear-gradient(90deg, rgba(255,255,255,0.00) 0%, rgba(255,255,255,0.10) 24%, rgba(255,255,255,0.00) 52%) border-box;
        /* Border-only */
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        mask-composite: exclude;
        opacity: 0.85;
        filter: blur(0.20px);
        mix-blend-mode: screen;
      }
      /* --- Rewards Code: sexy "tap / swipe" drawer (no clipping) --- */
      #pg-rewards-code .pg-rw-codebar{
        max-height: 0;
        opacity: 0;
        transform: translateY(8px);
        pointer-events: none;
        transition:
          max-height 260ms cubic-bezier(.2,.9,.2,1),
          opacity 200ms ease,
          transform 260ms cubic-bezier(.2,.9,.2,1);
      }
      /* Subtle footer fade + micro pill indicator (MOBILE) */
      #pg-rewards-code .pg-rw-bottom{
        position:absolute;
        left:0; right:0; bottom:-30px;
        transform: translateY(var(--pg-rw-indicator-shift));
        will-change: transform;
        height:34px;
        border-radius: 0 0 18px 18px;
        pointer-events:auto;
        z-index: 4;
        overflow:hidden;
        background: transparent;
      }
      #pg-rewards-code .pg-rw-bottom::before{
        content:"";
        position:absolute;
        inset:0;
        border-radius: 0 0 18px 18px;
        background: linear-gradient(180deg,
          rgba(255,255,255,0.06) 0%,
          rgba(255,255,255,0.015) 18%,
          rgba(0,0,0,0.22) 58%,
          rgba(0,0,0,0.46) 100%),
        /* Divider line at top of ribbon (crisp) */
        linear-gradient(90deg,
          rgba(255,255,255,0.00) 0%,
          rgba(255,255,255,0.22) 18%,
          rgba(255,255,255,0.22) 82%,
          rgba(255,255,255,0.00) 100%) 0 0/100% 1px no-repeat,
        /* Slight inner lift (announces “drawer”) */
        radial-gradient(120px 26px at 50% 10%, rgba(255,255,255,0.08), rgba(255,255,255,0.00) 70%);
        opacity: 0.95;
        pointer-events:none;
      }
      /* Toggle button overlays card (tap anywhere) — CLOSED: entire card is tappable */
      #pg-rewards-code .pg-rw-toggle{
        position:absolute;
        inset:0;
        width:100%;
        height:100%;
        border:0;
        padding:0;
        background: transparent;
        pointer-events: auto;
        cursor:pointer;
        z-index: 6;                 /* sit above glass layers */
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;  /* faster taps, less “ghost” scroll */
      }
      /* OPEN: disable the overlay so the input + Apply button are fully interactive */
      #pg-rewards-code.is-code-open .pg-rw-toggle{
        pointer-events:none;
      }
      #pg-rewards-code .pg-rw-sr{
        position:absolute !important;
        width:1px; height:1px;
        padding:0; margin:-1px;
        overflow:hidden; clip:rect(0,0,0,0);
        white-space:nowrap; border:0;
      }
      #pg-rewards-code .pg-rw-pill{
        position:absolute;
        left:50%;
        bottom:-10px;
        transform: translateX(-50%) translateY(var(--pg-rw-indicator-shift));
        width: 32px;
        height: 8px;
        border-radius: 999px;
        background: linear-gradient(90deg,
          rgba(var(--accent-rgb),0.18),
          rgba(var(--accent-rgb),0.92),
          rgba(var(--accent-rgb),0.18));
        box-shadow:
          0 0 0 1px rgba(var(--accent-rgb),0.32) inset,
          0 0 18px rgba(var(--accent-rgb),0.35),
          0 12px 24px rgba(0,0,0,0.58);
        opacity: 0.88;
        pointer-events:none;
        animation: pgRwPillPulse 2.8s ease-in-out infinite;
      }
      #pg-rewards-code .pg-rw-pill::after{
        content:"";
        position:absolute;
        inset:-60% -80%;
        background: linear-gradient(90deg,
          rgba(255,255,255,0.00),
          rgba(255,255,255,0.24),
          rgba(255,255,255,0.00));
        transform: translateX(-35%);
        animation: pgRwPillSheen 3.6s ease-in-out infinite;
        opacity: 0.9;
      }
      @keyframes pgRwPillPulse{
        0%,100%{ transform: translateX(-50%) translateY(var(--pg-rw-indicator-shift)) scaleX(1); opacity:0.68; filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
        50%{ transform: translateX(-50%) translateY(var(--pg-rw-indicator-shift)) scaleX(1.06); opacity:0.86; filter: drop-shadow(0 0 10px rgba(255,255,255,0.10)); }
      }
      @keyframes pgRwPillSheen{
        0%{ transform: translateX(-45%); opacity:0.0; }
        18%{ opacity:0.0; }
        50%{ opacity:0.9; }
        82%{ opacity:0.0; }
        100%{ transform: translateX(45%); opacity:0.0; }
      }
      /* =========================================================
   STEP 1013 — MOBILE ONLY: HIDE CLOSED LEGACY REWARDS WITHOUT COLLAPSING LAYOUT
   Goal:
   - Hide the old #pg-rewards-code shell on the main gateway
   - Preserve its layout height so the rewards entry screen/keypad stays locked
   - Do NOT affect .is-code-open or .is-ar-open rewards entry states
   Scope: MOBILE ONLY. No JS/API changes.
========================================================= */
@media (max-width: 640px){
  #pg-rewards-code:not(.is-code-open):not(.is-ar-open){
    display: block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
/* =========================================================
   OPEN / CLOSE BEHAVIOR (SoT)
   Closed (default): only title + rewards total + pill.
   Open (tap): show meta row + price/amount + codebar.
========================================================= */
#pg-rewards-code.is-code-open{
  height: 74px; /* keep closed height; open overlays instead of pushing content */
}
/* OPEN overlays: show additional content WITHOUT changing layout height (overlays asset carousel) */
#pg-rewards-code.is-code-open{
  z-index: 50;
  overflow: visible;
}
/* OPEN panel backdrop (SoT: open state has its own glass panel background) */
#pg-rewards-code.is-code-open::before{
  /* OPEN BACKDROP (authoritative) — this is the background you adjust */
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: 172px;                 /* visual open height (covers meta + codebar) */
  border-radius: 18px;
  pointer-events:none;
  z-index: 1;
  /* IMPORTANT: disable any mask stacks while open (prevents "no effect" transparency) */
  -webkit-mask: none !important;
  mask: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  /* Dark glass backdrop (requested ~82% opacity) */
  background:
    linear-gradient(180deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.90) 100%) !important;
  /* Keep outline crisp (doesn't wash out) */
  box-shadow:
    0 18px 38px rgba(0,0,0,0.60),
    0 0 0 1px rgba(var(--accent-rgb),0.80) inset,
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 12px 26px rgba(0,0,0,0.58) !important;
  opacity: 1 !important;
}
/* =========================================================
   OPEN state: HIDE CLOSED drawer ribbon visuals (pill/sweep/bottom outline)
   Keep the tap-area so users can still tap the bottom zone to close.
   (Visuals only — no JS changes)
========================================================= */
#pg-rewards-code.is-code-open{
  /* Remove the CLOSED bottom "drawer plate" layer so it doesn't show through the OPEN overlay */
  background-image:
    /* main body glass shading */
    linear-gradient(180deg,
      rgba(255,255,255,0.050) 0%,
      rgba(255,255,255,0.022) 34%,
      rgba(0,0,0,0.14) 58%,
      rgba(0,0,0,0.42) 100%),
    /* subtle bottom deepen */
    linear-gradient(180deg,
      rgba(0,0,0,0.00) 0%,
      rgba(0,0,0,0.00) 62%,
      rgba(0,0,0,0.24) 100%) !important;
}
/* Hide the closed-state bottom ribbon visuals while open */
#pg-rewards-code.is-code-open .pg-rw-bottom{
  opacity: 0 !important;
}
#pg-rewards-code.is-code-open .pg-rw-bottom::before,
#pg-rewards-code.is-code-open .pg-rw-bottom::after{
  opacity: 0 !important;
}
/* Hide the pill + its sheen while open (tap-zone remains via .pg-rw-toggle) */
#pg-rewards-code.is-code-open .pg-rw-pill,
#pg-rewards-code.is-code-open .pg-rw-pill::after{
  opacity: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
/* Ensure overlay content sits above the backdrop */
#pg-rewards-code.is-code-open .pg-rw-top,
#pg-rewards-code.is-code-open .pg-rw-assetmeta,
#pg-rewards-code.is-code-open .pg-rw-mid,
#pg-rewards-code.is-code-open .pg-rw-codebar,
#pg-rewards-code.is-code-open .pg-rw-bottom{
  z-index: 5;
}
/* Micro: soften carousel behind the open rewards panel (premium focus shift) */
#pg-asset-row{
  position: relative;
  transition: filter 220ms ease, transform 260ms cubic-bezier(.2,.9,.2,1);
  will-change: filter, transform;
}
/* Dim veil + defocus for premium focus shift when Rewards is open */
html.pg-rw-open #pg-asset-row::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.44));
}
html.pg-rw-open #pg-asset-row{
  filter: blur(1.9px) saturate(0.90) brightness(0.78);
  transform: translateY(6px) scale(0.992);
  pointer-events: none;
}
#pg-rewards-code.is-code-open .pg-rw-assetmeta,
#pg-rewards-code.is-code-open .pg-rw-mid,
#pg-rewards-code.is-code-open .pg-rw-codebar{
  position: absolute;
  left: 16px;
  right: 16px;
}
#pg-rewards-code.is-code-open .pg-rw-assetmeta{
  top: 44px; /* sits under the title row */
}
#pg-rewards-code.is-code-open .pg-rw-mid{
  top: 76px;
}
#pg-rewards-code.is-code-open .pg-rw-codebar{
  top: 140px;
  bottom: auto;
}
/* Keep the CLOSED ribbon visuals hidden while OPEN (pill/sweep already finalized) */
#pg-rewards-code.is-code-open .pg-rw-bottom{
  opacity: 0 !important;
  pointer-events: none !important;
}
/* Reveal meta + mid blocks on open */
#pg-rewards-code.is-code-open .pg-rw-assetmeta{
  opacity: 1;
  max-height: 28px;
  transform: none;
  pointer-events: auto;
}
#pg-rewards-code.is-code-open .pg-rw-mid{
  opacity: 1;
  max-height: 72px;
  margin-bottom: 12px;
  transform: none;
  pointer-events: auto;
}
/* --- STEP 146A: Safety overrides to ensure OPEN content is actually visible (no washout / no clipping) --- */
#pg-rewards-code .pg-rw-assetmeta,
#pg-rewards-code .pg-rw-mid,
#pg-rewards-code .pg-rw-codebar{
  position: relative;
  z-index: 7; /* above any glass/bottom fades */
}
#pg-rewards-code .pg-rw-top{ position: relative; z-index: 8; }
#pg-rewards-code .pg-rw-bottom{ z-index: 9; }
#pg-rewards-code .pg-rw-toggle{ z-index: 10; } /* click layer */
/* When OPEN, bring the content stack to the very top */
#pg-rewards-code.is-code-open .pg-rw-assetmeta,
#pg-rewards-code.is-code-open .pg-rw-mid,
#pg-rewards-code.is-code-open .pg-rw-codebar{
  z-index: 60;
}
      #pg-rewards-code .pg-rw-codebar{
        position:absolute;
        left: 16px;
        right: 16px;
        margin-top: -18px;
        bottom: 34px;                /* moved up 78px to overlay the hidden data */
        height:  41px;                /* reduced height */
        border-radius: 8px;
        overflow: hidden;
        display:flex;
        align-items:center;
        padding: 0;
        box-sizing: border-box;
        /* OFF state hidden */
        max-height: 0;
        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;
        transition:
          opacity 220ms ease,
          transform 300ms cubic-bezier(.2,.9,.2,1),
          max-height 260ms cubic-bezier(.2,.9,.2,1);
        /* Smoky glass + inner highlight */
        background:
          radial-gradient(120% 160% at 25% 35%, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 34%, rgba(0,0,0,0.00) 70%),
          linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.36)),
          rgba(8,12,14,0.55);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow:
          0 12px 24px rgba(0,0,0,0.58),
          inset 0 0 0 1px rgba(255,255,255,0.10),
          inset 0 10px 22px rgba(0,0,0,0.34),
          0 0 18px rgba(255,255,255,0.08);
      }
      #pg-rewards-code.is-code-open .pg-rw-codebar{
        max-height: 60px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
      }
      /* Input */
      #pg-rewards-code .pg-rw-input{
        flex: 1 1 auto;
        border-radius: 8px;
        height: 100%;
        border: 0;
        outline: none;
        background: transparent;
        color: rgba(255,255,255,0.86);
        font-size: 18px;
        letter-spacing: 0.12px;
        padding: 0 96px 0 18px;     /* space for ghost Apply */
        box-sizing: border-box;
        text-shadow: 0 2px 10px rgba(0,0,0,0.55);
      }
      #pg-rewards-code .pg-rw-input::placeholder{
        color: rgba(255,255,255,0.55);
      }
      /* Ghost Apply button (inside the same container) */
      #pg-rewards-code .pg-rw-apply{
        position:absolute;
        top:0; right:0; bottom:0;
        width: 96px;
        border-radius: 0 8px 8px 0;
        border:0;
        background:
          radial-gradient(120% 140% at 20% 50%, rgba(255,255,255,0.10) 0%, rgba(0,0,0,0.00) 62%),
          linear-gradient(90deg, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.22) 40%, rgba(0,0,0,0.46) 100%);
        color: rgba(255,255,255,0.92);
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.12px;
        cursor: pointer;
        display:flex;
        align-items:center;
        justify-content:center;
        box-shadow:
          inset 0 0 0 1px rgba(255,255,255,0.08);
        -webkit-tap-highlight-color: transparent;
      }
      #pg-rewards-code .pg-rw-apply::before{
        content:"";
        position:absolute;
        left:0; top:8px; bottom:8px;
        width:1px;
        background: linear-gradient(180deg,
          rgba(255,255,255,0.00) 0%,
          rgba(255,255,255,0.24) 38%,
          rgba(255,255,255,0.08) 70%,
          rgba(255,255,255,0.00) 100%);
        box-shadow: 0 0 12px rgba(255,255,255,0.18);
      }
      #pg-rewards-code .pg-rw-apply:active{
        filter: brightness(1.08);
      }
      /* Micro “hero” reveal: a soft light sweep */
      #pg-rewards-code.is-code-open .pg-rw-codebar::after{
        content:"";
        position:absolute;
        inset:-40% -30%;
        background: linear-gradient(110deg,
          rgba(255,255,255,0.00) 0%,
          rgba(255,255,255,0.06) 45%,
          rgba(255,255,255,0.06) 52%,
          rgba(255,255,255,0.00) 70%);
        transform: translateX(-45%) rotate(6deg);
        animation: pgRwSweep 620ms cubic-bezier(.2,.9,.2,1) 1;
        pointer-events:none;
        mix-blend-mode: screen;
      }
      @keyframes pgRwSweep{
        0%{ transform: translateX(-55%) rotate(6deg); opacity:0.0; }
        18%{ opacity:0.9; }
        100%{ transform: translateX(55%) rotate(6deg); opacity:0.0; }
      }
      @keyframes pgRwGhostShimmer{
        0%, 100%{ opacity:0.94; filter: drop-shadow(0 0 0 rgba(255,255,255,0.0)); }
        50%{ opacity:0.96; filter: drop-shadow(0 0 6px rgba(255,255,255,0.06)); }
      }
/* =========================================================
@media (max-width: 640px){
         STEP 45 — MOBILE ONLY: FULL-WIDTH, STICKY HEADER
         Goal:
         - Remove side spacing so header touches the phone edges
         - Pin the header to the top so Total + logos are always visible
         Scope: MOBILE ONLY (<= 640px). Desktop/Tablet untouched.
         ========================================================= */
      #pg-order-summary{
        position: sticky !important;
        top: 0 !important;
        z-index: 10050 !important;
        /* Full-bleed across the device (cancel .pg-card padding) */
        margin: -16px -14px 14px -14px !important;
        width: calc(100% + 28px) !important;
        /* Match “edge-to-edge” look */
        border-radius: 0 !important;
      }
      .pg-payment-grid .pg-tile:nth-child(1),
      .pg-payment-grid .pg-tile:nth-child(2) { grid-column: 1 / -1; }
      .pg-payment-grid .pg-tile { padding: 11px 11px; }
      .pg-payment-grid .pg-tile-main { flex-direction: row; align-items: center; gap: 8px; }
      .pg-payment-grid .pg-tile-main span { font-size: 14px; font-weight: 600; line-height: 1.25; }
      .pg-payment-grid .pg-tile-sub { margin-top: 2px; font-size: 12px; }
      .pg-payment-grid .pg-logo-chip,
      .pg-payment-grid .pg-smile-icon { align-self: flex-start; }
    }
    /* === SPLASH OVERLAY FOR SUMMARY CALLOUTS (IN-GATEWAY) === */
    .pg-splash-shell {
      margin-top: 12px;
      border-radius: 16px;
      overflow: hidden;
      position: relative;
    }
    .pg-splash-layer {
      position: relative;
      width: 100%;
      height: 670px;
      overflow: hidden;
      border-radius: 16px;
    }
    .pg-splash-video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .pg-splash-hero {
      position: absolute;
      top: 22%;
      left: 50%;
      transform: translateX(-50%) translateY(var(--pg-rw-indicator-shift));
      width: 100%;
      padding: 0 18px;
      text-align: center;
      font-size: 28px;
      font-weight: 700;
      letter-spacing: 0.5px;
      color: #ffffff;
      text-shadow:
        0 0 12px rgba(255, 0, 255, 0.58),
        0 0 26px rgba(0, 255, 255, 0.35);
      opacity: 0;
      animation:
        pgHeroFadeIn 1.4s ease forwards 0.6s,
        pgHeroFloat 4s ease-in-out infinite 0.6s;
    }
    .pg-splash-hero::after {
      content: "";
      position: absolute;
      top: 0;
      left: -150%;
      width: 100%;
      height: 100%;
      background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
      animation: pgHeroShimmer 4.5s ease-in-out infinite 1s;
    }
    .pg-summary-card .pg-callouts {
      margin-top: 0;
      opacity: 0;
      pointer-events: none;
    }
    .pg-splash-fade-out { animation: pgSplashFadeOut 1.6s ease forwards; }
    .pg-callouts-fade-in { animation: pgCalloutsFadeIn 1.2s ease forwards; }
    @keyframes pgHeroFadeIn {
      from { opacity: 0; transform: translate(-50%, 10px); }
      to   { opacity: 1; transform: translate(-50%, 0); }
    }
    @keyframes pgHeroFloat {
      0%, 100% { transform: translate(-50%, 0); }
      50%      { transform: translate(-50%, -4px); }
    }
    @keyframes pgHeroShimmer {
      0%   { left: -150%; }
      60%  { left: 150%;  }
      100% { left: 150%;  }
    }
    @keyframes pgSplashFadeOut {
      from { opacity: 1; }
      to   { opacity: 0; visibility: hidden; }
    }
    @keyframes pgCalloutsFadeIn {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }
/* =========================================================
   STEP 1010 — MOBILE ONLY: NEW GATEWAY REWARDS VIEW
   Goal:
   - Add a simple rewards view directly under #pg-crypto-meta
   - Display live available rewards from #pg-rw-usd
   - Tap opens the existing footer Rewards section
   Scope: MOBILE ONLY. Desktop/tablet untouched. No API changes.
   ========================================================= */
#pg-rewards-gateway{ display:none; }
@media (max-width: 520px){
  #pg-rewards-gateway.pg-rewards-gateway{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:7px 0 18px 0 !important;
    min-height:74px; padding:13px 14px;
    border-radius:9px; border:1px solid rgba(255,255,255,0.58);
    background:linear-gradient(180deg, rgba(10,13,16,0.96), rgba(6,8,10,0.98));
    box-shadow:0 12px 24px rgba(0,0,0,0.44),0 0 0 1px rgba(var(--accent-rgb,0,255,213),0.18),inset 0 1px 0 rgba(255,255,255,0.08);
    color:rgba(255,255,255,0.94); display:flex; align-items:center; justify-content:space-between; gap:10px;
    box-sizing:border-box; cursor:pointer; -webkit-tap-highlight-color:transparent; touch-action:manipulation;
  }
  #pg-rewards-gateway .pg-rg-left{display:flex;align-items:center;gap:12px;min-width:0;flex:1 1 auto;}
  #pg-rewards-gateway .pg-rg-icon{width:24px;height:24px;flex:0 0 24px;display:block;color:rgb(var(--accent-rgb,0,255,213));background:currentColor;-webkit-mask:url("https://irp.cdn-website.com/630a36f4/dms3rep/multi/rewards-return.svg") center/contain no-repeat;mask:url("https://irp.cdn-website.com/630a36f4/dms3rep/multi/rewards-return.svg") center/contain no-repeat;filter:drop-shadow(0 0 10px rgba(var(--accent-rgb,0,255,213),0.34));}
  #pg-rewards-gateway .pg-rg-copy{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1 1 auto;}
  #pg-rewards-gateway .pg-rg-title{font-size:13px;line-height:1.05;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;color:rgba(255,255,255,0.94);white-space:nowrap;}
  #pg-rewards-gateway .pg-rg-sub{font-size:12px;line-height:1.15;font-weight:500;letter-spacing:0.02em;color:rgba(255,255,255,0.76);white-space:nowrap;overflow:visible;text-overflow:clip;}
  #pg-rewards-gateway .pg-rg-amount{flex:0 0 auto;font-size:15px;line-height:1;font-weight:800;letter-spacing:0.02em;color:rgba(var(--accent-rgb,0,255,213),1);text-shadow:0 0 14px rgba(var(--accent-rgb,0,255,213),0.22);white-space:nowrap;}
  #pg-rewards-gateway:active{transform:scale(0.992);}
}
/* STEP 1012 — MOBILE ONLY: rewards return icon for gateway view + footer rewards tab */
@media (max-width: 520px){
  .pg-dock-btn .pg-dock-ico.pg-dock-rewards-mask{
    width:24px;height:24px;display:block;background:currentColor;opacity:0.72;
    -webkit-mask:url("https://irp.cdn-website.com/630a36f4/dms3rep/multi/rewards-return.svg") center/contain no-repeat;
    mask:url("https://irp.cdn-website.com/630a36f4/dms3rep/multi/rewards-return.svg") center/contain no-repeat;
    filter:drop-shadow(0 0 0 rgba(0,0,0,0));
    transition:transform 120ms ease, opacity 120ms ease, filter 140ms ease;
  }
}
    /* ============================
       ORDER SUMMARY + DETAILS DRAWER
       (PayPal-style, gateway-matched)
    ============================= */
    .pg-order-summary{
      margin: 0 0 18px 0;
      padding: 18px 18px 14px 18px;
      border: 1px solid var(--z-border-2);
      border-radius: var(--radius-card);
      /* Neutral “black glass” header (no brandColor tint) */
      position: relative;
      z-index: 10002; /* keep above backdrop */
      overflow: hidden;
      background:
        radial-gradient(1200px 420px at 12% 0%, rgba(255,255,255,0.08), transparent 56%),
        radial-gradient(900px 360px at 88% 18%, rgba(255,255,255,0.04), transparent 60%),
        linear-gradient(180deg, rgba(16,18,20,0.78), rgba(10,11,12,0.78));
      backdrop-filter: blur(14px) saturate(120%);
      -webkit-backdrop-filter: blur(14px) saturate(120%);
      box-shadow: var(--shadow-card), var(--shadow-inner);
    }
    .pg-os-row{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap: 18px;
    }
    .pg-os-left{
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      text-align:left;
    }
    .pg-os-title{
      font-size: 26px;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: #101018;
      margin: 0 0 6px 0;
    }
    .pg-os-merchant{
      font-size: 16px;
      font-weight: 600;
      color: rgba(16,16,24,0.85);
      margin: 0 0 8px 0;
      line-height: 1.25;
    }
    .pg-os-dot{opacity:0.6; margin: 0 6px;}
    .pg-os-details-btn{
      display:inline-flex;
      align-items:center;
      gap: 8px;
      padding: 9px 12px;
      border-radius: 12px;
      border: 1px solid rgba(0,0,0,0.10);
      background: rgba(255,255,255,0.7);
      color: rgba(16,16,24,0.85);
      font-size: 14px;
      font-weight: 700;
      cursor:pointer;
      transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    }
    .pg-os-details-btn:hover{
      transform: translateY(-1px);
      box-shadow: 0 10px 24px rgba(20,20,40,0.10);
    }
    .pg-os-caret{
      display:inline-block;
      transition: transform .18s ease;
    }
    .pg-os-right{
      text-align:right;
      min-width: 210px;
    }
    .pg-os-meta{
      font-size: 14px;
      font-weight: 700;
      color: rgba(16,16,24,0.65);
      margin: 2px 0 6px 0;
    }
    .pg-os-total{
      font-size: 26px;
      font-weight: 900;
      color: #101018;
      line-height: 1.05;
      margin: 0 0 6px 0;
    }
    .pg-os-demo{
      font-size: 16px;
      font-weight: 800;
      color: rgba(16,16,24,0.72);
      margin: 0;
    }
    /* Drawer (slide-down) */
    .pg-os-drawer{
      margin-top: 12px;
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transform: translateY(-6px);
      transition: max-height .28s ease, opacity .22s ease, transform .22s ease;
      border-radius: 14px;
    }
    .pg-order-summary.pg-os-open .pg-os-drawer{
      max-height: 520px;
      opacity: 1;
      transform: translateY(0);
    }
    .pg-order-summary.pg-os-open .pg-os-caret{
      transform: rotate(180deg);
    }
    .pg-os-drawer-inner{
      padding: 16px 16px 14px 16px;
      background: rgba(255,255,255,0.72);
      border: 1px solid rgba(0,0,0,0.06);
      border-radius: 14px;
    }
    .pg-os-drawer-title{
      font-size: 16px;
      font-weight: 900;
      color: #101018;
      margin: 0 0 4px 0;
    }
    .pg-os-drawer-merchant{
      font-size: 14px;
      font-weight: 800;
      color: rgba(16,16,24,0.85);
    }
    .pg-os-drawer-license{
      font-size: 13px;
      font-weight: 700;
      color: rgba(16,16,24,0.65);
      margin-top: 2px;
    }
    .pg-os-license-note{opacity:0.7; font-weight:700;}
    .pg-os-lines{
      margin-top: 12px;
      border-radius: 12px;
      background: rgba(255,255,255,0.55);
      border: 1px solid rgba(0,0,0,0.06);
      padding: 10px 12px;
    }
    .pg-os-line{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 12px;
      font-size: 14px;
      font-weight: 800;
      color: rgba(16,16,24,0.85);
      padding: 7px 2px;
    }
    .pg-os-muted{
      font-weight: 750;
      color: rgba(16,16,24,0.68);
    }
    .pg-os-grand{
      font-size: 15px;
      font-weight: 900;
      color: #101018;
    }
    .pg-os-sep{
      height: 1px;
      background: rgba(0,0,0,0.10);
      margin: 6px 0;
    }
    /* Responsive */
    @media (max-width: 820px){
      .pg-order-summary{padding: 16px 14px 12px 14px;}
      .pg-os-title{font-size: 24px;}
      .pg-os-total{font-size: 24px;}
      .pg-os-right{min-width: 0;}
    }
    @media (max-width: 520px){
      /* Step 14 (MOBILE ONLY): Move pricing block beside the View details button */
      .pg-os-row{flex-direction: column; align-items: flex-start;}
      /* Pull the pricing block up and to the right so it sits on the same row as the button */
      .pg-os-right{
        text-align: left;
        margin-top: -44px;          /* aligns with 38px button height + spacing */
        margin-left: 140px;         /* button width (~125px) + gap */
        width: calc(100% - 140px);
        max-width: 260px;
      }
      .pg-os-total{margin-top: 2px;}
      /* Slightly tighten type so it fits cleanly beside the button */
      .pg-os-right .pg-os-muted{font-size: 12px;}
      .pg-os-right .pg-os-total{font-size: 19px; line-height: 1.05;}
      .pg-os-right .pg-os-demo{font-size: 13px;}
    }
    @media (max-width: 520px) {
  .pg-os-brand,
  #pg-os-merchant-logo {
    margin-top: 20px; /* adjust if needed */
  }
}
    /* Order Summary typography (dark theme) */
    .pg-os-title{ color: var(--z-text) !important; }
    .pg-os-merchant{ color: var(--z-text) !important; opacity: 0.92; }
    .pg-os-merchant .pg-os-dot{ opacity: 0.55; }
    .pg-os-right .pg-os-muted{ color: var(--z-text-muted) !important; }
    .pg-os-right .pg-os-total{ color: var(--z-text) !important; }
    .pg-os-right .pg-os-demo{ color: var(--z-text-muted) !important; }
    /* Desktop/Tablet split: payment types left (stacked), asset selection right */
/* Width authority: payment column + rewards field must match */
:root{
  --pg-paycol-width: 353px; /* single source of truth (matches rewards field) */
}
/* Rewards PANEL (mobile-only; hidden on desktop/tablet) */
#pg-rewards-code{ display:none; }
/* Rewards code field (left column) */
    .pg-rewards-field{
      width: var(--pg-paycol-width);
      max-width: var(--pg-paycol-width);
      height: 46px !important;
      margin-top: 0px;
      margin-bottom: 20px;
      border-radius: 8px !important;
      transform: translateY(-7px);
      overflow: visible;
    }
    .pg-rewards-input{
      width: 100%;
      height: 100%;
      min-height: 44px;
      background: var(--z-surface-2);
      border: 1px solid var(--z-border);
      border-radius: 8px !important;
      padding: 0 18px;
      color: var(--z-text);
      font-size: 16px;
      font-weight: 600;
      text-align: center;
      outline: none;
      transition: box-shadow .18s ease, border-color .18s ease, background .18s ease;
    }
    .pg-rewards-input::placeholder{
      color: var(--z-accent);
      opacity: .95;
    }
    .pg-rewards-input:focus{
      border-color: color-mix(in srgb, var(--z-accent) 70%, transparent);
      box-shadow:
        0 0 0 1px color-mix(in srgb, var(--z-accent) 45%, transparent),
        0 0 18px color-mix(in srgb, var(--z-accent) 35%, transparent);
      background: color-mix(in srgb, var(--z-surface-2) 86%, var(--z-accent) 14%);
    }
.pg-pay-asset-split{
      display: grid;
      grid-template-columns: var(--pg-paycol-width) 1fr;
      gap: 18px;
      align-items: start;
      margin-top: 6px;
    }
        .pg-pay-col{
      width: var(--pg-paycol-width);
      max-width: var(--pg-paycol-width);
    }
.pg-pay-col .pg-payment-grid{
      grid-template-columns: 1fr !important; /* stack crypto + card */
      gap: 6px !important; /* tighter spacing to match SoT */
    }
    /* Asset column disabled until crypto selected */
    .pg-asset-col.pg-disabled{
      opacity: 0.38;
      filter: grayscale(0.25);
      pointer-events: none;
    }
    .pg-asset-col .pg-section-label{ margin-top: 0 !important; }
    /* Responsive: collapse to single column on mobile */
    @media (max-width: 860px){
      .pg-pay-asset-split{
        grid-template-columns: 1fr;
      }
      .pg-pay-col{
        width: 100%;
        max-width: 100%;
      }
      .pg-asset-col.pg-disabled{
        opacity: 1;
        filter: none;
        pointer-events: auto;
      }
    }
    /* Customer collapsible */
    .pg-customer{
      margin-top: 16px;
      padding: 14px 16px;
      border: 1px solid var(--z-border-2);
      border-radius: var(--radius-card);
      background:
        radial-gradient(900px 260px at 12% 0%, rgba(var(--accent-rgb),0.10), transparent 55%),
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
      box-shadow: var(--shadow-inner);
    }
    .pg-customer-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 12px;
    }
    .pg-customer-title{
      font-size: 14px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--z-text-muted);
      font-weight: 700;
    }
    .pg-customer-meta{
      display:flex;
      align-items:center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content:flex-end;
    }
    .pg-customer-welcome{
      color: var(--z-text);
      opacity: 0.92;
      font-weight: 650;
    }
    .pg-customer-btn{
      padding: 8px 12px !important;
      font-size: 13px !important;
    }
    .pg-customer-drawer-inner{
      padding-top: 12px;
    }
/* === ZELEN PRODUCTION TIGHTEN: Larger payment options, tighter assets/meta (layout only) === */
:root{
  --payopt-pad-y: 20px;
  --payopt-pad-x: 22px;
  --payopt-title: 19px;
  --payopt-sub: 13px;
  --asset-pad-y: 10px;
  --asset-pad-x: 12px;
  --asset-title: 14px;
  --asset-sub: 11px;
  --asset-minh: 58px;
  --meta-pad-y: 10px;
  --meta-pad-x: 12px;
  --meta-minh: 72px;
  --meta-title: 11px;
  --meta-value: 15px;
  --meta-note: 11px;
}
/* Payment option cards (left) */
.pg-paytype-card{
  padding: var(--payopt-pad-y) var(--payopt-pad-x) !important;
  min-height: 104px !important;
}
.pg-paytype-title{
  font-size: var(--payopt-title) !important;
  line-height: 1.15 !important;
}
.pg-paytype-sub{
  font-size: var(--payopt-sub) !important;
  line-height: 1.25 !important;
  opacity: .78 !important;
}
/* Asset tiles (right) */
.pg-asset-btn{
  padding: var(--asset-pad-y) var(--asset-pad-x) !important;
  min-height: var(--asset-minh) !important;
}
.pg-asset-symbol{
  font-size: var(--asset-title) !important;
  line-height: 1.1 !important;
}
.pg-asset-name{
  font-size: var(--asset-sub) !important;
  line-height: 1.15 !important;
  opacity: .76 !important;
}
/* Real-time pricing meta boxes */
.pg-crypto-meta-item{
  padding: var(--meta-pad-y) var(--meta-pad-x) !important;
  min-height: var(--meta-minh) !important;
}
.pg-crypto-meta-label{
  font-size: 11px !important;
  letter-spacing: .14em !important;
}
.pg-crypto-meta-value{
  font-size: var(--meta-value) !important;
}
.pg-crypto-meta-note{
  font-size: var(--meta-note) !important;
}
/* Keep everything visually aligned */
.pg-payasset-grid{
  align-items: start !important;
}
    /* =========================================================
       MOBILE LAYOUT PATCH (Payment types + Crypto tiles + Live pricing)
       Scope: mobile only (<= 640px). Desktop/Tablet remain unchanged.
       ========================================================= */
    @media (max-width: 640px) {
      /* Keep everything within viewport (no horizontal clipping) */
      html, body { width: 100%; max-width: 100%; overflow-x: hidden; margin: 0; padding: 0; }
      #crypto-gateway-demo-root {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 0;
        padding-bottom: 0;
        background: transparent;
      }
      .pg-layout { width: 100%; max-width: 100%; margin-left: auto; margin-right: auto; }
      /* Remove any outer "frame" on mobile and maximize phone viewport */
      .pg-card.pg-main-card{
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        box-shadow: none !important;
      }
      /* Payment buttons: stacked full-width (matches reference) */
      .pg-payment-grid { grid-template-columns: 1fr !important; gap: 6px !important; /* tighter spacing to match SoT */ }
      .pg-payment-grid .pg-tile { width: 100%; min-width: 0; }
      /* Crypto buttons: 2-column grid */
      .pg-crypto-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
      .pg-asset-pill { min-width: 0; }
      /* Live pricing preview: 3-column grid (compact, no overflow) */
      .pg-crypto-meta { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 10px !important; }
      .pg-crypto-meta-item { min-width: 0 !important; padding: 10px 8px !important; overflow: hidden; }
      .pg-crypto-meta-label { font-size: 11px !important; letter-spacing: 0.14em !important; }
      .pg-crypto-meta-value { font-size: 14px !important; }
      .pg-crypto-meta-note { font-size: 11px !important; }
      /* ============================
   MOBILE FIT + NO RIGHT CLIP
   Scope: MOBILE ONLY (<=520px)
   - removes outside frame/border look
   - guarantees no horizontal overflow
   - scales down payment + asset + meta blocks proportionally
============================ */
@media (max-width: 520px){
  /* 1) HARD STOP horizontal clipping */
  html, body{
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  /* Root wrapper (no “outside border/frame”) */
  #crypto-gateway-demo-root{
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    background: transparent !important;
  }
  /* Layout must be full width */
  .pg-layout{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* Main card should go edge-to-edge on phone */
  .pg-card{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    /* keep safe tap padding but not huge */
    padding: 16px 12px 18px !important;
    /* remove the “outside container/border” look */
    border-radius: 0 !important;
  }
  /* 2) This is the big one: allow grid/flex children to shrink */
  .pg-card *,
  .pg-layout *{
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  /* 3) Proportional tightening (payment tiles / asset tiles / meta boxes) */
  :root{
    --payopt-pad-y: 18px;
    --payopt-pad-x: 16px;
    --payopt-title: 18px;
    --payopt-sub: 12px;
    --asset-pad-y: 10px;
    --asset-pad-x: 10px;
    --asset-title: 13px;
    --asset-sub: 11px;
    --asset-minh: 56px;
    --meta-pad-y: 10px;
    --meta-pad-x: 8px;
    --meta-minh: 70px;
    --meta-value: 14px;
    --meta-note: 11px;
  }
  /* 4) Tighten grids so nothing spills */
  .pg-payasset-grid{
    gap: 10px !important;
  }
  .pg-crypto-meta{
    gap: 10px !important;
  }
    }
/* =========================================================
   MOBILE ONLY — Header / Customer / Stepper spacing refinements
   (Desktop + Tablet locked)
   ========================================================= */
@media (max-width: 520px){
  /* --- Order Summary layout --- */
  /* (Mobile header layout handled below in MOBILE HEADER FINAL OVERRIDES) */
/* --- Customer bar --- */
  .pg-customer{
    height: 63px !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
  }
  .pg-customer-title{
    display: none !important; /* removes broken CUSTOMER label on 2 lines */
  }
  .pg-customer-head{
    align-items: center !important;
  }
    .pg-customer-meta{
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    gap: 10px !important;
    min-width: 0 !important;
  }
  /* Match View details button sizing/alignment */
  .pg-customer-btn{
    width: 135px !important;
    height: 42px !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    line-height: 1 !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }
  /* Customer name: same vibe as merchant line, align to right edge */
  .pg-customer-welcome{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin-left: auto !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-align: right !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    opacity: 0.92 !important;
  }
/* --- Payment Type & Billing header + stepper --- */
  .pg-card-header{
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .pg-title{
    font-size: 22px !important;
    line-height: 1.12 !important;
    white-space: nowrap; /* keep title on one line */
  }
  .pg-stepper{
    width: 100% !important;
    justify-content: center !important;
    gap: 6px !important; /* tighter spacing to match SoT */
    transform: scale(0.9);
    transform-origin: center top;
  }
  .pg-step{
    gap: 8px !important;
  }
  .pg-step-circle{
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }
  .pg-step span{
    font-size: 13px !important;
  }
  .pg-os-meta,
  .pg-os-total,
  .pg-os-demo{
    text-align: left !important;
    width: 100% !important;
  }
  /* Buttons: View details + Edit details */
  .pg-os-details-btn{
    width: 135px !important;
    height: 42px !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    line-height: 1 !important;
  }
  #pg-os-toggle.pg-os-details-btn{
    top: 0px !important;
    right: 0px !important;
  }
  /* Customer bar height + welcome text */
  .pg-customer{
    height: 63px !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
  }
  /* Payment Type & Billing title + centered stepper scaled down 10% */
  .pg-title{
    font-size: 22px !important;
    line-height: 1.12 !important;
    white-space: nowrap;
  }
  .pg-stepper{
    justify-content: center !important;
    transform: scale(0.9);
    transform-origin: center top;
  }
}
/* =========================================================
   MOBILE HEADER FINAL OVERRIDES (scope: mobile only)
   Adjusts ONLY:
   - Order Summary header layout
   - Customer bar (Welcome / Edit details)
   - Payment Type & Billing title + stepper sizing
========================================================= */
@media (max-width: 520px){
  /* ---------- Order Summary header ---------- */
  /* Goal:
     - Row 1: logos
     - Row 2: merchant line
     - Row 3: View details (left) + totals (right) on SAME ROW
     - No absolute positioning (prevents totals dropping below)
  */
  .pg-order-summary{
    padding: 16px 12px 16px !important;
  }
  .pg-os-row{
    display: grid !important;
    grid-template-columns: 150px 1fr !important; /* button col + totals col */
    grid-template-rows: auto auto auto !important;
    column-gap: 6px !important; /* tighter spacing to match SoT */
    row-gap: 10px !important;
    align-items: start !important;
    align-content: start !important; /* keep grid pinned to top (no stretch) */
  }
  /* Let inner children participate in the grid */
  .pg-os-left{
    display: contents !important;
    padding-right: 0 !important;
  }
  .pg-os-title{
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
  }
  .pg-os-merchant{
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin-top: 0 !important;
  }
  /* View details button (Row 3, Col 1) */
  #pg-os-toggle.pg-os-details-btn{
    grid-column: 1 !important;
    grid-row: 3 !important;
    position: static !important;
    margin: 0 !important;
    width: 135px !important;
    height: 42px !important;
    padding: 0 14px !important;
    justify-self: start !important;
    align-self: start !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }
  /* Totals block (Row 3, Col 2) */
  .pg-os-right{
    grid-column: 2 !important;
    grid-row: 3 !important;
    position: static !important;
    width: auto !important;
    justify-self: end !important;
    align-self: start !important;
    text-align: left !important;
    margin: 0 !important;
  }
  .pg-os-right .pg-os-meta{
    margin: 0 0 6px 0 !important; /* align top with button */
    line-height: 1.05 !important;
    text-align: left !important;
  }
  .pg-os-right .pg-os-total{
    margin: 0 0 4px 0 !important;
    line-height: 1.05 !important;
    text-align: left !important;
  }
  .pg-os-right .pg-os-demo{
    margin: 0 !important;
    line-height: 1.05 !important;
    text-align: left !important;
  }
  /* ---------- Customer bar (Welcome + Edit details) ---------- */
  /* Mobile customer row must be a strict 2-column layout:
     [ Edit details button ] [ Customer name ]
     No wrapping, no clipping, no off-screen shifts.
  */
  .pg-customer-title{ display: none !important; } /* remove broken CUSTOMER label */
  .pg-customer{
    overflow: visible !important;
  }
  .pg-customer-head{
    height: 63px !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    overflow: visible !important;
  }
  .pg-customer-meta{
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 135px 1fr !important;
    align-items: center !important;
    column-gap: 6px !important; /* tighter spacing to match SoT */
    min-width: 0 !important;
    overflow: visible !important;
  }
  /* Button (LEFT) — match View details exactly */
  #pg-customer-toggle.pg-customer-btn{
    grid-column: 1 !important;
    justify-self: start !important;
    width: 135px !important;
    height: 42px !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    margin: 14px !important;
    flex: 0 0 auto !important;
  }
  /* Customer name (RIGHT) — visible, right-aligned, same style as merchant line */
  #pg-customer-welcome{
    grid-column: 2 !important;
    justify-self: end !important;
    align-self: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.92) !important;
    line-height: 1.2 !important;
    text-align: right !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: -110px !important;
    transform: none !important;
  }
  /* ---------- Payment Type & Billing title + stepper ---------- */
  .pg-card-header{
    gap: 10px !important;
  }
  .pg-title{
    font-size: 18px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }
  .pg-stepper{
    margin-left: auto !important;
    margin-right: auto !important;
    transform: scale(0.9) !important;  /* reduce by 10% */
    transform-origin: center top !important;
  }
  .pg-step span{
    white-space: nowrap !important;
    font-size: 12px !important;
  }
  /* Step20: keep Order Summary title on one line (logo + text) */
  .pg-os-title{
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    min-width: 0 !important;
  }
  .pg-os-title span{
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}
/* =====================================================================
   POPUP/EMBED FRAME NORMALIZATION (Desktop only)
   - Keep 20px breathing room around the gateway
   - Remove any Duda header/footer + reserved space
   - Do NOT touch core gateway logic
   ===================================================================== */
html.zelen-gateway-embed #hamburger-header,
html.zelen-gateway-embed #hamburger-header-container,
html.zelen-gateway-embed .hamburger-header,
html.zelen-gateway-embed .p_hfcontainer,
html.zelen-gateway-embed header,
html.zelen-gateway-embed #header,
html.zelen-gateway-embed #headerWrapper,
html.zelen-gateway-embed .dmHeader,
html.zelen-gateway-embed .dmHeaderContainer,
html.zelen-gateway-embed .dmHeaderContainerWrapper,
html.zelen-gateway-embed #dm-outer-wrapper header,
html.zelen-gateway-embed #dm-outer-wrapper #hamburger-header {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html.zelen-gateway-embed #dmFooter,
html.zelen-gateway-embed footer,
html.zelen-gateway-embed .dmFooter,
html.zelen-gateway-embed .dmFooterContainer,
html.zelen-gateway-embed .dmFooterContainerWrapper {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
/* The ONLY outside spacing we want is a 20px frame around the gateway */
@media (min-width: 521px) {
  html.zelen-gateway-embed #crypto-gateway-demo-root{
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 5px !important; /* 5px symmetrical frame around gateway */
  box-sizing: border-box !important;
  background: #0b0f12 !important;
}
  html.zelen-gateway-embed .pg-layout,
  html.zelen-gateway-embed .pg-main-card,
  html.zelen-gateway-embed .pg-card {
    margin: 0 !important;
  }
}
/* Allow scrolling in editor/mobile previews (do NOT lock the page) */
html.zelen-gateway-embed body {
  position: relative !important;
}
/* If any global rules try to kill scrolling, override them in embed mode */
html.zelen-gateway-embed body,
html.zelen-gateway-embed #dm-outer-wrapper,
html.zelen-gateway-embed #dm-root,
html.zelen-gateway-embed #dm-outer-wrapper * {
  overscroll-behavior: auto;
}
/* Merchant logo (replaces "Order Summary" text) */
.pg-os-merchant-logo{
  height: 28px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
  display: none;
}
/* =========================================================
   STEP 6 — MOBILE ONLY: REMOVE DUDA HAMBURGER NAV BUTTON
   - Spacing handled in editor; we only hide the hamburger trigger.
   - Scope: MOBILE ONLY (<=520px). Desktop/Tablet remain unchanged.
   ========================================================= */
@media (max-width: 520px){
  button#layout-drawer-hamburger,
  #layout-drawer-hamburger,
  .layout-drawer-hamburger,
  .hamburger-on-header{
    display: none !important;
  }
}
/* =========================================================
   STEP 8 — HARD REMOVE DUDA HAMBURGER / NAV (ALL SCREENS)
   Scope: This unique gateway page should show NO navigation.
   NOTE: Targets ONLY the known Duda hamburger elements.
   ========================================================= */
html.zelen-gateway-embed #hamburger-header-container,
html.zelen-gateway-embed #hamburger-header,
html.zelen-gateway-embed #layout-drawer-hamburger,
html.zelen-gateway-embed button#layout-drawer-hamburger,
html.zelen-gateway-embed .layout-drawer-hamburger,
html.zelen-gateway-embed .hamburger-header-container,
html.zelen-gateway-embed .hamburger-header,
html.zelen-gateway-embed .hamburger-on-header,
html.zelen-gateway-embed .dmHamburger,
html.zelen-gateway-embed #dmHamburger {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* Remove any reserved spacing that some templates keep for the header/nav */
html.zelen-gateway-embed .stickyHeaderSpacer,
html.zelen-gateway-embed #stickyHeaderSpacer,
html.zelen-gateway-embed #dmFirstContainer,
html.zelen-gateway-embed .dmFirstContainer {
  margin-top: 0 !important;
}
/* =========================================================
   STEP 10 — MOBILE ONLY: View details button placement + size
   GOAL (match "Correct Design" 1:1):
   - Move "View details" BELOW merchant line (not top-right)
   - Size: 114px x 36px
   Scope: MOBILE ONLY (<=520px). Desktop/Tablet untouched.
   ========================================================= */
@media (max-width: 520px){
  /* Undo prior mobile rules that pinned the button top-right */
  .pg-os-left{
    padding-right: 0 !important; /* no reserved space for button */
  }
  #pg-os-toggle.pg-os-details-btn{
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    margin-top: 10px !important; /* sits directly under merchant line */
    width: 114px !important;
    height: 36px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    line-height: 1 !important;
  }
  /* Keep totals block in normal flow (no absolute pin) */
  .pg-os-right{
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    text-align: left !important;
    margin-top: 6px !important;
  }
  .pg-order-summary{
    padding: 16px 12px 14px !important; /* remove extra bottom padding reserved for pinned totals */
  }
}
/* =====================================================================
   STEP 18 (TACTICAL) — MOBILE ONLY
   Move customer name + Edit details 80px to the right.
   Scope: mobile (<= 520px) ONLY. No other changes.
   ===================================================================== */
@media (max-width: 520px) {
  /* Shift the entire customer row (button + name) right by 80px */
  .pg-customer-head {
    padding-left: calc(12px + 80px) !important;
    padding-right: 12px !important;
  }
}
/* =====================================================================
   STEP 19 — MOBILE ONLY (TACTICAL)
   - Move ONLY the customer name onto the same row as the Edit details button
   - Shift ONLY the customer name 80px to the right
   Scope: mobile (<= 520px) ONLY. No other changes.
   ===================================================================== */
@media (max-width: 520px) {
  /* Force button + name into the same row */
  .pg-customer-meta{
    display: grid !important;
    grid-template-columns: 135px 1fr !important;
    grid-template-rows: 42px !important;
    align-items: center !important;
    column-gap: 6px !important; /* tighter spacing to match SoT */
    min-width: 0 !important;
    overflow: visible !important;
  }
  #pg-customer-toggle.pg-customer-btn{
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  #pg-customer-welcome{
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    /* Move ONLY the name 80px to the right */
    transform: translateX(30px) !important;
    will-change: transform;
  }
}
/* =============================
   MOBILE CUSTOMER FULLSCREEN OVERLAY
   (mobile-only, triggered by Edit details)
   ============================= */
@media (max-width: 520px){
  .pg-mobile-customer-overlay{ display:none; }
  .pg-mobile-customer-overlay.is-open{ display:block; }
  .pg-mobile-customer-overlay{
    position: fixed;
    inset: 0;
    z-index: 99990;
    background:
      radial-gradient(1200px 900px at 35% -10%, rgba(var(--accent-rgb, 0,255,213), 0.24), rgba(0,0,0,0) 55%),
      radial-gradient(900px 700px at 90% 15%, rgba(255,255,255,0.06), rgba(0,0,0,0) 55%),
      rgba(6,10,12,0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  html.pg-mco-lock, body.pg-mco-lock{ overflow: hidden !important; }
  .pg-mco-shell{
    height: 100vh;
    height: 100dvh;
    display: grid;
    grid-template-rows: 58px 1fr;
    /* keep original visual position (slightly more inset than last update) */
    padding: 16px 18px 18px;
    box-sizing: border-box;
    animation: pgMcoFade 180ms ease-out;
  }
  @keyframes pgMcoFade{
    from{ opacity:0; transform: translateY(6px); }
    to{ opacity:1; transform: translateY(0); }
  }
  .pg-mco-header{
    display:grid;
    grid-template-columns: 44px 1fr auto;
    align-items:center;
    gap: 10px;
    color: rgba(255,255,255,0.92);
  }
  .pg-mco-back{
    width: 44px; height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.25);
    color: rgba(255,255,255,0.92);
    display:flex; align-items:center; justify-content:center;
  }
  .pg-mco-title{ font-size: 20px; font-weight: 700; letter-spacing: 0.2px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pg-mco-name{ font-size: 14px; font-weight: 600; opacity: 0.9; text-align:right; }
  .pg-mco-card{
    border-radius: 22px;
    border: 1px solid rgba(var(--accent-rgb, 0,255,213), 0.35);
    box-shadow:
      0 0 0 1px rgba(var(--accent-rgb, 0,255,213), 0.10) inset,
      0 12px 44px rgba(0,0,0,0.55);
    background: rgba(10,14,16,0.55);
    overflow: visible;
    padding: 12px;
    padding-bottom: 18px;
    display:flex;
    flex-direction:column;
    gap: 12px;
  }
  .pg-mco-actions{
    padding: 6px 0 2px;
    display:flex;
    flex-direction:column;
    gap: 12px;
  }
  .pg-mco-error{
    display:none;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 80, 80, 0.35);
    background: rgba(255, 60, 60, 0.10);
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15px;
  }
  .pg-mco-invalid{
    border-color: rgba(255, 80, 80, 0.55) !important;
    box-shadow: 0 0 0 1px rgba(255, 80, 80, 0.24) inset, 0 0 18px rgba(255, 80, 80, 0.15);
  }
  .pg-mco-fields{ display:flex; flex-direction:column; gap: 10px; }
  .pg-mco-fields label{
    display:none !important;
  }
  .pg-mco-fields input,
  .pg-mco-fields select{
    width:100%;
    height: 44px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.22);
    color: rgba(255,255,255,0.85);
    padding: 0 14px;
    outline: none;
    box-sizing: border-box;
  }
  .pg-mco-fields input:focus,
  .pg-mco-fields select:focus{
    border-color: rgba(var(--accent-rgb, 0,255,213), 0.75);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 0,255,213), 0.24);
  }
  .pg-mco-row2{ display:grid; grid-template-columns: 1fr; gap: 10px; }
  .pg-mco-phone{ display:grid; grid-template-columns: 70px 1fr; gap: 10px; }
  #pg-mco-phone-country{ text-align:center; padding:0; }
  .pg-mco-select{ position: relative; }
  .pg-mco-select select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 46px;
  }
  .pg-mco-select:after{
    content: "";
    position:absolute;
    right: 16px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255,255,255,0.85);
    border-bottom: 2px solid rgba(255,255,255,0.85);
    transform: translateY(-65%) rotate(45deg);
    pointer-events:none;
    opacity: 0.9;
  }
  .pg-mco-save{
    width: 100%;
    height: 60px;
    border-radius: 22px;
    border: 1px solid rgba(var(--accent-rgb, 0,255,213), 0.55);
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(0,0,0,0.24));
    color: rgba(255,255,255,0.92);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
    box-shadow:
      0 0 0 1px rgba(var(--accent-rgb, 0,255,213), 0.14) inset,
      0 0 22px rgba(var(--accent-rgb, 0,255,213), 0.34),
      0 14px 30px rgba(0,0,0,0.60);
    transition: opacity 140ms ease, filter 140ms ease, box-shadow 140ms ease;
  }
  .pg-mco-save:before{
    content:"";
    position:absolute;
    inset: 0;
    background: radial-gradient(900px 120px at 50% -20%, rgba(255,255,255,0.26), rgba(255,255,255,0) 55%);
    opacity: 0.9;
    pointer-events:none;
  }
  .pg-mco-save:after{
    content:"";
    position:absolute;
    inset: -40px;
    background: radial-gradient(260px 90px at 50% 120%, rgba(var(--accent-rgb, 0,255,213), 0.52), rgba(0,0,0,0) 65%);
    filter: blur(16px);
    opacity: 0.47;
    pointer-events:none;
  }
  .pg-mco-save[disabled]{
    opacity: 0.38;
    filter: saturate(0.55);
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.07) inset,
      0 0 10px rgba(var(--accent-rgb, 0,255,213), 0.18),
      0 10px 24px rgba(0,0,0,0.55);
  }
  /* Mobile billing/payment swap controls */
  #pg-mco-to-payment{ display:block; }
  .pg-mco-pay-actions{ display:none; gap:10px; align-items:center; grid-template-columns: 1fr 0.6fr 0.6fr; }
  .pg-mco-pay-btn{
    height: 54px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.24);
    color: rgba(255,255,255,0.92);
    font-weight: 700;
    font-size: 16px;
  }
  .pg-mco-pay-primary{
    border-color: rgba(var(--accent-rgb, 0,255,213), 0.70);
    background: radial-gradient(900px 120px at 50% -20%, rgba(255,255,255,0.24), rgba(0,0,0,0.10) 55%),
                linear-gradient(180deg, rgba(255,255,255,0.10), rgba(0,0,0,0.24));
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb, 0,255,213), 0.14) inset,
                0 0 26px rgba(var(--accent-rgb, 0,255,213), 0.40),
                0 14px 30px rgba(0,0,0,0.60);
  }
  .pg-mco-pay-btn[disabled]{
    opacity: 0.38;
    filter: saturate(0.55);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset,
                0 0 10px rgba(var(--accent-rgb, 0,255,213), 0.10),
                0 10px 24px rgba(0,0,0,0.55);
  }
  .pg-mco-pay-primary[disabled]{
    border-color: rgba(var(--accent-rgb, 0,255,213), 0.36);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb, 0,255,213), 0.10) inset,
                0 0 12px rgba(var(--accent-rgb, 0,255,213), 0.24),
                0 10px 24px rgba(0,0,0,0.55);
  }
.pg-mco-pay-ghost{
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.10);
    font-weight: 600;
  }
  .pg-mco-pay-row{ grid-template-columns: 1fr 1fr; }
  .pg-mco-save.is-active{
    opacity: 1;
    filter: saturate(1);
    box-shadow:
      0 0 0 1px rgba(var(--accent-rgb, 0,255,213), 0.16) inset,
      0 0 26px rgba(var(--accent-rgb, 0,255,213), 0.42),
      0 14px 30px rgba(0,0,0,0.60);
  }
  .pg-mco-pay-primary.is-active{
    border-color: rgba(var(--accent-rgb, 0,255,213), 0.78);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb, 0,255,213), 0.24) inset,
                0 0 30px rgba(var(--accent-rgb, 0,255,213), 0.48),
                0 14px 30px rgba(0,0,0,0.60);
  }
}
/* STEP 28: Desktop/Tablet - show Billing Info inside Customer container */
 (min-width: 521px){
  #pg-card-billing{ display:none !important; }
  #pg-card-billing-proxy{ margin-top: 14px; }
  #pg-card-payment-proxy{ margin-top: 14px; }
}
/* === CONNECT WALLET MODAL FINALIZE OVERRIDES (SoT Step-1) === */
@media (min-width: 521px){
  /* Step-34 Wallet Search: tighten modal outline to match gateway card */
  .pg-modal{ height:503px !important; min-height:503px !important; max-height:503px !important; }
}
.pg-modal-header{ height: 77px !important; min-height: 77px !important; }
.pg-modal-col-qr{ padding-right: 30px !important; }
/* QR image (generated) */
#pg-modal-qr{
      width: var(--pg-qr-size) !important;
      height: var(--pg-qr-size) !important;
      max-width: var(--pg-qr-size) !important;
      max-height: var(--pg-qr-size) !important;
      aspect-ratio: 1 / 1;
      display:block;
      object-fit: contain;
    }
    .pg-qr-img{
      width: var(--pg-qr-size) !important;
      height: var(--pg-qr-size) !important;
      max-width: var(--pg-qr-size) !important;
      max-height: var(--pg-qr-size) !important;
      aspect-ratio: 1 / 1;
      display:block;
      object-fit: contain;
      image-rendering: pixelated;
      border-radius:6px;
    }
    /* ==========================================================
       Wallet Drag & Drop (Search <-> Featured) - Desktop/Tablet
       ========================================================== */
    .pg-featured-tile[draggable="true"],
    .pg-search-tile[draggable="true"]{ cursor: grab; }
    .pg-featured-tile.pg-dragging,
    .pg-search-tile.pg-dragging{ cursor: grabbing; opacity: 0.85; transform: translateZ(0) scale(0.99); }
    .pg-featured-tile.pg-drop-target,
    .pg-search-tile.pg-drop-target{
      outline: 2px solid rgba(var(--accent-rgb),0.55);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.18) inset,
        0 0 14px rgba(var(--accent-rgb),0.32),
        0 12px 22px rgba(0,0,0,0.35);
    }
    @keyframes pgDropBurst {
      0%   { box-shadow: 0 0 0 rgba(var(--accent-rgb),0); transform: scale(1); }
      35%  { box-shadow: 0 0 18px rgba(var(--accent-rgb),0.55), 0 0 40px rgba(var(--accent-rgb),0.22); transform: scale(1.02); }
      100% { box-shadow: 0 0 0 rgba(var(--accent-rgb),0); transform: scale(1); }
    }
    .pg-drop-burst{ animation: pgDropBurst 520ms ease-out; }
/* =========================================================
   STEP 51 — MOBILE ONLY: FOOTER NAV DOCK + ACCOUNT OVERLAY (v1)
   Scope: MOBILE ONLY. Desktop/Tablet untouched.
   - Persistent footer dock (Option B)
   - Account overlay: full-screen sheet w/ grab handle + back stack + close
   ========================================================= */
/* =========================================================
   MOBILE FOOTER NAV DOCK + OVERLAYS — VISIBILITY GUARD (Step-58)
   Goal:
   - Desktop/Tablet: NOTHING from the mobile dock/overlays should render or take layout space
   - Mobile (<=640px): dock renders normally and overlays can open
   ========================================================= */
/* Default (desktop/tablet): hard-hide the dock + overlays */
#pg-mobile-dock.pg-mobile-dock{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
#pg-mobile-tab-overlay.pg-mobile-overlay,
#pg-mobile-account-overlay.pg-mobile-overlay{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
/* Ensure cursor/pointer is visible (devtools + inspection) */
html.zelen-gateway-embed,
html.zelen-gateway-embed body,
#crypto-gateway-demo-root{
  cursor:auto !important;
}
/* Mobile nav mask: hides underlying gateway during overlay/tab transitions */
#pg-mobile-nav-mask{
  display:none;
  position:fixed;
  inset:0;
  z-index:10070; /* below overlays (10080), above gateway */
  background: rgba(6, 10, 12, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/* Mobile (<=640px): enable dock; overlays still hidden until opened */
@media (max-width: 640px){
  html.pg-mnav-lock #pg-mobile-nav-mask{ display:block; }
  #pg-mobile-dock.pg-mobile-dock{
    display:grid !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
  }
  /* Overlays: only show when opened */
  #pg-mobile-tab-overlay.pg-mobile-overlay,
  #pg-mobile-account-overlay.pg-mobile-overlay{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
  }
  #pg-mobile-tab-overlay.pg-mobile-overlay.is-open,
  #pg-mobile-account-overlay.pg-mobile-overlay.is-open,
  #pg-mobile-tab-overlay[aria-hidden="false"],
  #pg-mobile-account-overlay[aria-hidden="false"]{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
    cursor:auto !important;
  }
}
  :root{
    --pg-dock-h: 78px;
    --pg-dock-pad-x: 14px;
    --pg-dock-top-radius: 14px;
    --pg-dock-bottom-radius: 5px; /* requested */
  }
  /* =========================================================
     MOBILE HERO HYBRID PAYMENT BUTTON (fresh) — MOBILE ONLY
     id: #pg-hybredpayment-hero-row / #pg-hybredpayment-hero
     Visual language: black-glass base (#050608) + cinematic edge highlights
     Hue source: --accent-rgb (already synced to featured asset)
     ========================================================= */
  :root{
    --pg-hph-rgb: var(--pg-active-coin-rgb, var(--accent-rgb));
  }
  /* Desktop/Tablet safety: never show */
  #pg-hybredpayment-hero-row{ display:none !important; }
  @media (max-width: 640px){
    #pg-hybredpayment-hero-row{
      display:block !important;
      position: fixed;
      left: 50%;
      transform: translateX(-50%);
      width: 95vw;             /* spec: 95% */
      max-width: 640px;
      height: 76px;            /* spec */
      bottom: calc(var(--pg-dock-h) + 10px); /* spec: 15px above dock */
      z-index: 10055;          /* above gateway, below overlays */
      pointer-events: auto;    /* allow taps/clicks on Pay by Card + Pay Now */
    }
#pg-hybredpayment-hero{
  width: 100%;
  height: 76px;
  border-radius: 14px;     /* locked */
  position: relative;
  display:flex;
  overflow: visible;       /* no outer-frame clipping; right pill handles its own */
  background: #050608;     /* black-glass base only (no container frame) */
  /* Subtle base depth ONLY (no outline/frame) */
  box-shadow:
    0 12px 28px rgba(0,0,0,0.62);
  pointer-events: auto;
}
/* Container sheen removed (no outer container frame) */
#pg-hybredpayment-hero::before{ content:none !important; }
/* Container under-glow removed (no outer container frame) */
#pg-hybredpayment-hero::after{ content:none !important; }
    .pg-hph-side{
      height: 100%;
      border: 0;
      background: transparent;
      padding: 0;
      margin: 0;
      display:flex;
      align-items:center;
      justify-content:center;
      cursor: pointer;
      color: rgba(255,255,255,0.92);
      font-weight: 600;
      letter-spacing: 0.01em;
      user-select:none;
      pointer-events:auto;
      touch-action: manipulation;
    }
    .pg-hph-left{
      flex: 0 0 44%;
      z-index: 1;
      border-top-left-radius: 14px;
      border-bottom-left-radius: 14px;
      border-top-right-radius: 12px;
      border-bottom-right-radius: 12px;
      position: relative;
      /* Neutral dark glass */
      background:
        radial-gradient(120% 140% at 20% 0%,
          rgba(255,255,255,0.08),
          rgba(255,255,255,0.00) 58%),
        linear-gradient(180deg,
          rgba(255,255,255,0.03),
          rgba(255,255,255,0.01));
      opacity: 0.95;
    }
/* Pay-by-Card outline frame (ghosts out into the right pill) */
.pg-hph-left{
  overflow: hidden; /* keep stroke clean on left radius */
}
.pg-hph-left::after{
  content:"";
  position:absolute;
  /* Match the raised right-pill outline height:
     right pill uses margin 6px top/bottom (height: calc(100% - 12px)) */
  inset: 6px 0 6px 0;
  padding: 1px;                 /* stroke thickness */
  border-radius: 14px 12px 12px 14px;
  pointer-events:none;
  /* Ghost stroke that fades INTO the right pill */
  background: linear-gradient(90deg,
    rgba(255,255,255,0.26) 0%,
    rgba(255,255,255,0.16) 38%,
    rgba(var(--pg-hph-rgb),0.28) 70%,
    rgba(var(--pg-hph-rgb),0.00) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.90;
}
        /* Divider: removed — the right side is a raised ghost-pill (SoT style) */
    .pg-hph-divider{ display:none !important; }
.pg-hph-right{
      flex: 1 1 auto;
      position: relative;
      z-index: 3; /* sits above left side */
      /* Raised ghost-pill geometry (no hard center line) */
      margin: 6px 6px 6px -12px; /* overlap left for fused seam */
      height: calc(100% - 12px);
      border-radius: 14px;
      overflow: hidden;
      /* Ghost outline: bright at left, fades toward far right edge */
      border: 1px solid transparent;
      background:
        /* ONE primary hue interior (fills) + black-glass base */
        radial-gradient(120% 180% at 22% 10%,
          rgba(var(--pg-hph-rgb),0.26),
          rgba(var(--pg-hph-rgb),0.08) 46%,
          rgba(0,0,0,0.00) 76%) padding-box,
        linear-gradient(180deg,
          rgba(var(--pg-hph-rgb),0.10),
          rgba(0,0,0,0.00) 70%) padding-box,
        linear-gradient(#050608,#050608) padding-box,
        /* Orbiting outline highlight (accent + white spec pop) */
        conic-gradient(from var(--pg-hph-orbit),
          rgba(var(--pg-hph-rgb),0.00) 0deg,
          rgba(var(--pg-hph-rgb),0.00) 250deg,
          rgba(var(--pg-hph-rgb),0.85) 316deg,
          rgba(255,255,255,0.70) 334deg,
          rgba(var(--pg-hph-rgb),0.22) 346deg,
          rgba(var(--pg-hph-rgb),0.00) 360deg
        ) border-box,
        /* Ghost outline: bright at left, fades toward far right edge */
        linear-gradient(90deg,
          rgba(var(--pg-hph-rgb),0.95) 0%,
          rgba(var(--pg-hph-rgb),0.55) 42%,
          rgba(var(--pg-hph-rgb),0.18) 74%,
          rgba(var(--pg-hph-rgb),0.00) 100%
        ) border-box;
      /* Depth + controlled bloom */
      box-shadow:
        0 16px 30px rgba(0,0,0,0.62),
        0 0 0 1px rgba(255,255,255,0.05) inset,
        0 0 0 1px rgba(var(--pg-hph-rgb),0.18) inset,
        0 0 26px rgba(var(--pg-hph-rgb),0.20);
      /* Orbit animation driver (custom angle animates the conic outline) */
      --pg-hph-orbit: 0deg;
      animation: pgHphOrbit 7.8s linear infinite;
    }
    /* Seamless fused center seam (no hard line) */
    .pg-hph-right::before{
      content:"";
      position:absolute;
      left:-34px;
      top:0;
      bottom:0;
      width: 90px;
      pointer-events:none;
      background:
        radial-gradient(80% 140% at 60% 50%,
          rgba(255,255,255,0.10),
          rgba(255,255,255,0.00) 66%),
        radial-gradient(70% 160% at 60% 50%,
          rgba(var(--pg-hph-rgb),0.18),
          rgba(var(--pg-hph-rgb),0.00) 70%);
      filter: blur(0.2px);
      opacity: 0.92;
    }
    /* Subtle animated sweep (luxury) — toned down */
    .pg-hph-right::after{
      content:"";
      position:absolute;
      inset:-30% -30%;
      pointer-events:none;
      background:
        linear-gradient(105deg,
          rgba(255,255,255,0.00) 40%,
          rgba(255,255,255,0.10) 50%,
          rgba(255,255,255,0.00) 60%);
      transform: translateX(-35%);
      opacity: 0.18;
      animation: pgHphSweep 4.6s ease-in-out infinite;
      mix-blend-mode: screen;
    }
    @keyframes pgHphSweep{
      0%{ transform: translateX(-42%) rotate(0.001deg); }
      55%{ transform: translateX(18%) rotate(0.001deg); }
      100%{ transform: translateX(42%) rotate(0.001deg); }
    }
    /* Orbit: subtle rotating highlight around the Connect Wallet outline */
    @property --pg-hph-orbit{
      syntax: "<angle>";
      inherits: true;
      initial-value: 0deg;
    }
    @keyframes pgHphOrbit{
      to{ --pg-hph-orbit: 360deg; }
    }
    /* Typography: match the "asset name" vibe (pg-asset-label-sub) — clean + slightly luminous */
    .pg-hph-text{
      font-size: 15px;
      line-height: 1;
      padding: 0 12px;
      text-shadow: 0 1px 0 rgba(0,0,0,0.55);
      opacity: 0.92;
    }
    .pg-hph-right-text{
      display:flex;
      flex-direction: column;
      align-items: center;
      justify-content:center;
      gap: 3px;
      font-size: 18px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-align: center;
      text-shadow:
        0 1px 0 rgba(0,0,0,0.60),
        0 0 10px rgba(var(--pg-hph-rgb),0.12);
      opacity: 0.96;
    }
    .pg-hph-line1, .pg-hph-line2{ display:block; }
    /* Keep text to EXACTLY two lines on the right side */
    .pg-hph-line1{ white-space: nowrap; }
    .pg-hph-line2{ white-space: nowrap; }
    /* Make sure the buttons are clickable later (but no handlers now) */
    #pg-hybredpayment-hero .pg-hph-side{ pointer-events:auto; }
  }
  /* Give the main card enough room so content never hides behind the dock */
  .pg-card{
    padding-bottom: calc(18px + var(--pg-dock-h)) !important;
  }
  /* ---------- Footer Dock Shell ---------- */
  .pg-mobile-dock{
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: var(--pg-dock-h);
    z-index: 10120;
    display: grid;
    place-items: center;
    padding: 8px var(--pg-dock-pad-x) 10px;
    box-sizing: border-box;
    background: rgba(8, 12, 14, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255,255,255,0.18); /* Unicorn Sprinkles: crisp seam */
    box-shadow:
      0 -10px 28px rgba(0,0,0,0.35),
      0 0 0 1px rgba(var(--accent-rgb, 0,255,213), 0.08) inset;
    border-top-left-radius: 0px; /* Unicorn Sprinkles: square top */
    border-top-right-radius: 0px;  /* Unicorn Sprinkles: square top */
    border-bottom-left-radius: var(--pg-dock-bottom-radius);
  /* ============================
     ZELEN Dock Style: "Unicorn Sprinkles"
     Edge Bloom Gradient (a.k.a. Neon Under-Glow)
     Quick pulse on tab change: strong burst → elegant settle
     Timing: 520ms cubic-bezier(0.16, 1, 0.3, 1)
  ============================ */
  .pg-mobile-dock::before{
    content:"";
    position:absolute;
    left: 14px;
    right: 14px;
    top: -1px;              /* sit on the seam */
    height: 3px;
    pointer-events:none;
    opacity: 0.42;          /* elegant resting glow */
    transform: scaleX(1);
    transform-origin: 50% 50%;
    background:
      radial-gradient(60% 240% at 50% 50%,
        rgba(var(--accent-rgb, 0,255,213), 0.78) 0%,
        rgba(var(--accent-rgb, 0,255,213), 0.36) 35%,
        rgba(var(--accent-rgb, 0,255,213), 0.00) 72%);
    filter: blur(7px);
  }
  .pg-mobile-dock.pg-dock-pulse::before{
    animation: pgDockEdgeBloomPulse 520ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes pgDockEdgeBloomPulse{
    0%   { opacity: 0.00; transform: scaleX(0.86); filter: blur(12px); }
    18%  { opacity: 1.00; transform: scaleX(1.00); filter: blur(10px); }
    100% { opacity: 0.42; transform: scaleX(1.00); filter: blur(7px); }
  }
    border-bottom-right-radius: var(--pg-dock-bottom-radius);
  }
  .pg-dock-row{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    align-items: center;
  }
    .pg-dock-btn{
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    border: 0;
    background: transparent;
    padding: 6px 4px;
    display: grid;
    grid-template-rows: 28px 16px;
    justify-items: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
    /* Off-state: readable but subdued */
    color: rgba(255,255,255,0.72);
  }
  /* ICONS
     - SVGs: drive stroke/fill from currentColor so Brand color can flow through
     - IMG fallbacks: keep opacity handling (in case an old build injects PNGs)
  */
  svg.pg-dock-ico{
    width: 24px;
    height: 24px;
    display: block;
    opacity: 0.72;
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
    transition: transform 120ms ease, opacity 120ms ease, filter 140ms ease;
  }
  svg.pg-dock-ico [stroke]{ stroke: currentColor !important; }
  svg.pg-dock-ico [fill]:not([fill="none"]){ fill: currentColor !important; }
  img.pg-dock-ico{
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
    opacity: 0.72;
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
    transition: transform 120ms ease, opacity 120ms ease, filter 140ms ease;
  }
  .pg-dock-label{
    font-size: 11px;
    letter-spacing: 0.2px;
    color: rgba(255,255,255,0.72);
    transition: color 120ms ease, opacity 120ms ease;
    white-space: nowrap;
  }
  /* Active / pressed (app-like) */
  .pg-dock-btn:active .pg-dock-ico{ transform: scale(0.95); }
  /* Active state:
     - Icon color = Brand color (widget builder)
     - Label = pure white
     - Glow uses Brand color
  */
  .pg-dock-btn.is-active{
    color: rgb(var(--accent-rgb, 0,255,213));
  }
  .pg-dock-btn.is-active .pg-dock-ico{
    opacity: 1;
    filter:
      drop-shadow(0 0 10px rgba(var(--accent-rgb, 0,255,213), 0.42))
      drop-shadow(0 0 18px rgba(var(--accent-rgb, 0,255,213), 0.24));
  }
  .pg-dock-btn.is-active .pg-dock-label{
    color: #ffffff;
  }
  .pg-dock-btn.is-disabled{
    opacity: 0.35;
    pointer-events: none;
  }
  /* ---------- Generic Overlay Shell (for tabs) ---------- */
  .pg-mobile-overlay{ display:none; }
  .pg-mobile-overlay.is-open{ display:block; }
  .pg-mobile-overlay{
    position: fixed;
    inset: 0;
    z-index: 10080;
    /* 10–15% backdrop as requested */
    background: rgba(0,0,0,0.15);
  }
  html.pg-mnav-lock, body.pg-mnav-lock{ overflow: hidden !important; }
  .pg-mo-sheet{
    position: absolute;
    left: 0; right: 0; bottom: 0; top: 0;
    background:
      radial-gradient(1200px 900px at 35% -10%, rgba(var(--accent-rgb, 0,255,213), 0.18), rgba(0,0,0,0) 55%),
      radial-gradient(900px 700px at 90% 15%, rgba(255,255,255,0.08), rgba(0,0,0,0) 55%),
      rgba(6,10,12,0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: grid;
    grid-template-rows: 18px 58px 1fr;
    padding: 10px 16px calc(16px + var(--pg-dock-h) + env(safe-area-inset-bottom));
    box-sizing: border-box;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    animation: pgMoIn 200ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
  }
  @keyframes pgMoIn{
    from{ opacity:0; transform: translateY(10px); }
    to{ opacity:1; transform: translateY(0); }
  }
  .pg-mo-handle{
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
    justify-self: center;
    align-self: center;
  }
  .pg-mo-header{
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.92);
  }
  .pg-mo-back, .pg-mo-close{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.22);
    color: rgba(255,255,255,0.92);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
  }
  .pg-mo-back.is-hidden{ visibility: hidden; pointer-events:none; }
  .pg-mo-title{
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pg-mo-content{
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 8px;
  }
  /* ---------- Account “card rows” (premium, not line-links) ---------- */
  .pg-acct-card{
    border-radius: 20px;
    border: 1px solid rgba(var(--accent-rgb, 0,255,213), 0.22);
    background: rgba(0,0,0,0.24);
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.08) inset,
      0 18px 40px rgba(0,0,0,0.35);
    overflow: hidden;
    margin-bottom: 12px;
  }
  .pg-acct-row{
    display:grid;
    grid-template-columns: 34px 1fr auto 18px;
    align-items:center;
    gap: 10px;
    padding: 14px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .pg-acct-row:last-child{ border-bottom: 0; }
  .pg-acct-ico{
    width: 28px;
    height: 28px;
    border-radius: 12px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb, 0,255,213), 0.08) inset;
    color: rgba(255,255,255,0.9);
  }
  .pg-acct-label{
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
  }
  .pg-acct-sub{
    font-size: 12px;
    color: rgba(255,255,255,0.58);
    margin-top: 2px;
  }
  .pg-acct-meta{
    font-size: 12px;
    color: rgba(255,255,255,0.58);
    max-width: 130px;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pg-acct-chevron{
    opacity: 0.55;
  }
  .pg-acct-tap{
    cursor:pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .pg-acct-tap:active{ transform: scale(0.995); }
  .pg-acct-section-title{
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.58);
    margin: 10px 2px 10px;
  }
  .pg-acct-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin: 10px 2px 10px;
  }
  .pg-acct-head .pg-acct-section-title{
    margin:0;
  }
  .pg-acct-edit-btn{
    appearance:none;
    border:1px solid rgba(var(--accent-rgb, 0,255,213), 0.34);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.92);
    border-radius: 999px;
    height: 34px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.06) inset,
      0 10px 22px rgba(0,0,0,0.24);
    -webkit-tap-highlight-color: transparent;
  }
  .pg-acct-edit-btn:active{
    transform: scale(0.985);
  }
  .pg-acct-row.pg-acct-row-wrap{
    align-items:flex-start;
  }
  .pg-acct-row.pg-acct-row-wrap .pg-acct-sub{
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
  }
  /* =========================================================
     STEP 1139 — MOBILE ACCOUNT DEMO INDUSTRY PROFILE SELECTOR
     Scope: Account overlay UI + demo/admin profile theme hooks only.
     No Radom/session/wallet trigger changes.
  ========================================================= */
  .pg-acct-card.pg-acct-demo-card{
    border-color: rgba(var(--pg-demo-brand-rgb, 232,24,61), 0.46);
    box-shadow:
      0 0 0 1px rgba(var(--pg-demo-brand-rgb, 232,24,61),0.18) inset,
      0 18px 40px rgba(0,0,0,0.35),
      0 0 26px rgba(var(--pg-demo-brand-rgb, 232,24,61),0.12);
  }
  .pg-acct-row.pg-acct-demo-row{
    grid-template-columns: 34px minmax(0,1fr) auto 18px;
    border-bottom:0;
    background:
      radial-gradient(220px 90px at 100% 50%, rgba(var(--pg-demo-brand-rgb, 232,24,61),0.12), rgba(0,0,0,0) 62%),
      rgba(0,0,0,0.12);
  }
  .pg-acct-demo-row .pg-acct-ico{
    color: rgba(255,255,255,0.94);
    border-color: rgba(var(--pg-demo-brand-rgb, 232,24,61),0.34);
    background: rgba(var(--pg-demo-brand-rgb, 232,24,61),0.16);
    box-shadow:
      0 0 0 1px rgba(var(--pg-demo-brand-rgb, 232,24,61),0.20) inset,
      0 0 16px rgba(var(--pg-demo-brand-rgb, 232,24,61),0.16);
  }
  .pg-acct-demo-main{
    min-width:0;
  }
  .pg-acct-demo-right{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:7px;
    min-width:0;
  }
  .pg-acct-demo-value{
    font-size: 12px;
    line-height:1;
    color: rgb(var(--pg-demo-brand-rgb, 232,24,61));
    font-weight: 800;
    max-width: 118px;
    text-align:right;
    white-space: nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    text-shadow: 0 0 14px rgba(var(--pg-demo-brand-rgb, 232,24,61),0.20);
  }
  .pg-acct-demo-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:22px;
    padding:0 9px;
    border-radius:999px;
    font-size:11px;
    line-height:1;
    font-weight:800;
    color: rgba(255,255,255,0.92);
    border:1px solid rgba(var(--pg-demo-brand-rgb, 232,24,61),0.38);
    background: rgba(var(--pg-demo-brand-rgb, 232,24,61),0.24);
    box-shadow:0 0 15px rgba(var(--pg-demo-brand-rgb, 232,24,61),0.14);
  }
  .pg-acct-profile-logo{
    width:112px;
    max-width:112px;
    height:26px;
    object-fit:contain;
    display:none;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,0.34));
  }
  .pg-acct-profile-logo.is-visible{ display:block; }
  .pg-demo-profile-note{
    margin: -2px 2px 14px;
    font-size:12px;
    line-height:1.35;
    color: rgba(255,255,255,0.62);
  }
  .pg-demo-options{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:12px;
  }
  .pg-demo-option{
    appearance:none;
    width:100%;
    min-height:70px;
    border-radius:16px;
    border:1px solid rgba(var(--accent-rgb,0,255,213),0.22);
    background: rgba(0,0,0,0.22);
    color: rgba(255,255,255,0.92);
    display:grid;
    grid-template-columns:52px 1fr 24px;
    align-items:center;
    gap:12px;
    padding:10px 12px;
    text-align:left;
    box-shadow:0 0 0 1px rgba(255,255,255,0.06) inset;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  .pg-demo-option.is-selected{
    border-color: rgba(var(--pg-demo-option-rgb, var(--accent-rgb,0,255,213)),0.86);
    box-shadow:
      0 0 0 1px rgba(var(--pg-demo-option-rgb, var(--accent-rgb,0,255,213)),0.34) inset,
      0 0 28px rgba(var(--pg-demo-option-rgb, var(--accent-rgb,0,255,213)),0.18);
  }
  .pg-demo-option-logoWrap{
    width:46px;
    height:46px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:rgba(255,255,255,0.94);
    border:1px solid rgba(255,255,255,0.12);
  }
  .pg-demo-option-logoWrap.pg-demo-blaze-logoWrap{
    background: rgba(27,197,233,0.12);
  }
  .pg-demo-option-logo{
    width:38px;
    max-width:38px;
    height:auto;
    display:block;
    object-fit:contain;
  }
  .pg-demo-option-title{
    font-size:14px;
    font-weight:800;
    line-height:1.1;
  }
  .pg-demo-option-sub{
    margin-top:4px;
    font-size:12px;
    color:rgba(255,255,255,0.62);
    line-height:1.2;
  }
  .pg-demo-option-check{
    width:22px;
    height:22px;
    border-radius:999px;
    border:2px solid rgba(255,255,255,0.34);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:900;
    color:#fff;
  }
  .pg-demo-option.is-selected .pg-demo-option-check{
    border-color:rgba(var(--pg-demo-option-rgb, var(--accent-rgb,0,255,213)),1);
    background:rgb(var(--pg-demo-option-rgb, var(--accent-rgb,0,255,213)));
  }
  .pg-demo-apply{
    margin-top:24px;
    width:100%;
    height:54px;
    border:0;
    border-radius:14px;
    color:#fff;
    font-size:16px;
    font-weight:850;
    background:linear-gradient(135deg, rgb(var(--pg-demo-brand-rgb,232,24,61)), rgba(var(--pg-demo-brand-rgb,232,24,61),0.78));
    box-shadow:0 18px 34px rgba(var(--pg-demo-brand-rgb,232,24,61),0.22);
  }
  html.pg-demo-profile-livenation #pg-mobile-account-overlay{
    --pg-demo-brand-rgb: 232,24,61;
  }
  html.pg-demo-profile-ticketmaster #pg-mobile-account-overlay{
    --pg-demo-brand-rgb: 0,108,227;
  }
  .pg-demo-option-logoWrap.pg-demo-ticketmaster-logoWrap{
    background: rgba(255,255,255,0.96);
  }
  .pg-demo-option-logoWrap.pg-demo-ticketmaster-logoWrap .pg-demo-option-logo{
    width:42px;
    max-width:42px;
  }
  /* View switching */
  .pg-mo-view{ display:none; }
  .pg-mo-view.is-active{ display:block; }
}
/* =========================================================
   STEP 69 — MOBILE ONLY: HERO HEADER (BLAZE + ZELEN PAY)
   - Visual-only redesign (no functional changes)
   - Keeps existing Order Details toggle functionality intact
   - Reverted: NO "Company Details" overlay changes
   Scope: MOBILE ONLY (<=640px). Desktop/Tablet untouched.
   ========================================================= */
@media (max-width: 640px){
  /* --- Header shell / hero background --- */
  #pg-order-summary{
    /* HERO GLOW = Widget Builder brand color */
    --pg-hero-rgb: var(--accent-rgb, 0,255,213);
    position: sticky !important;
    top: 0 !important;
    z-index: 10050 !important;
    /* Full-bleed across the device (cancel parent padding) */
    margin: -16px -14px 14px -14px !important;
    width: calc(100% + 28px) !important;
    /* Logo row sits 20px down from top edge */
    padding: 20px 0 12px !important;
    /* Full-width bar: NO top radius, only bottom corners */
    border-radius: 0 0 18px 18px !important;
    overflow: hidden !important;
    /* Smokey charcoal / glass (NO brand-color bleed in the BG) */
    background:
      radial-gradient(1100px 260px at 50% -40px, rgba(255,255,255,0.10), rgba(0,0,0,0) 62%),
      linear-gradient(180deg, rgba(7,9,10,0.94) 0%, rgba(4,6,7,0.86) 100%) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
      /* outer hero aura (brand color) */
      0 0 34px rgba(var(--pg-hero-rgb), 0.2),
      0 0 12px rgba(var(--pg-hero-rgb), 0.0),
      0 18px 42px rgba(0,0,0,0.62),
      /* clean single edge (prevents “double outline” look) */
      0 0 0 1px rgba(255,255,255,0.06) inset,
      0 0 0 1px rgba(var(--pg-hero-rgb), 0.16),
      /* bottom pin-line definition (brand color) */
      inset 0 -1px 0 rgba(var(--pg-hero-rgb), 0.32),
      inset 0 -14px 28px rgba(var(--pg-hero-rgb), 0.08);
  }
  /* Subtle micro-texture (very light) */
  #pg-order-summary::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:0.06;
    background-image:
      radial-gradient(circle at 14% 28%, rgba(255,255,255,0.35) 0 1px, rgba(255,255,255,0) 2px),
      radial-gradient(circle at 34% 72%, rgba(255,255,255,0.22) 0 1px, rgba(255,255,255,0) 2px),
      radial-gradient(circle at 78% 44%, rgba(255,255,255,0.24) 0 1px, rgba(255,255,255,0) 2px);
    filter: blur(0.25px);
  }
  /* Bottom seam: Edge Bloom Gradient (Neon Under-Glow) */
  #pg-order-summary::after{
    /* Bottom under-glow seam (brand color) */
    content:"";
    position:absolute;
    left:0; right:0; bottom:-2px;
    height: 10px;
    pointer-events:none;
    background:
      radial-gradient(80% 140% at 50% 20%,
        rgba(var(--pg-hero-rgb), 0.70) 0%,
        rgba(var(--pg-hero-rgb), 0.24) 42%,
        rgba(var(--pg-hero-rgb), 0.00) 75%);
    opacity: 0.70;
    filter: blur(8px);
  }
  /* Content padding (keeps header background full-bleed, but aligns logos/text) */
  #pg-order-summary .pg-os-row{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  /* --- Layout: logo row + merchant/total row --- */
  .pg-os-row{
    display:grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: 34px 28px !important;
    column-gap: 6px !important; /* tighter spacing to match SoT */
    row-gap: 10px !important;
    align-items:center !important;
  }
  /* Logo row container */
  .pg-os-title{
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    display:flex !important;
    align-items:center !important;
    justify-content: space-between !important;
    gap: 6px !important; /* tighter spacing to match SoT */
    min-width: 0 !important;
    position: relative !important;
    padding-bottom: 8px !important; /* space for the logo separator glow */
  }
  /* SWAP POSITIONS:
     - Merchant logo LEFT
     - ZELEN PAY brand RIGHT
  */
  .pg-os-title #pg-os-merchant-logo{ order: 1 !important; }
  .pg-os-title .pg-os-brand{ order: 2 !important; }
  /* Logo sizing */
  .pg-os-title #pg-os-merchant-logo,
  .pg-os-title .pg-os-brand{
    height: 26px !important;
    width: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.38));
  }
  .pg-os-title #pg-os-merchant-logo{ max-width: 66% !important; }
  .pg-os-title .pg-os-brand{ max-width: 34% !important; opacity: 0.92 !important; }
  /* Hero separator UNDER the logo row (between logos and company/total) */
  .pg-os-title::after{
    content:"";
    position:absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    pointer-events:none;
    background:
      linear-gradient(90deg,
        rgba(var(--pg-hero-rgb), 0.00) 0%,
        rgba(var(--pg-hero-rgb), 0.20) 14%,
        rgba(var(--pg-hero-rgb), 0.95) 50%,
        rgba(var(--pg-hero-rgb), 0.20) 86%,
        rgba(var(--pg-hero-rgb), 0.00) 100%);
    opacity: 0.85;
    filter: blur(0.25px);
    box-shadow: 0 0 14px rgba(var(--pg-hero-rgb), 0.22);
  }
  /* Merchant name row (this is the visible "ABC Dispensary") */
  .pg-os-merchant{
    grid-column: 1 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    display:inline-flex !important;
    align-items:center !important;
    gap: 10px !important; /* carrot exactly 10px from name */
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    color: rgba(255,255,255,0.88) !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  /* Remove dot + "Online Order" on mobile for clean header */
  .pg-os-dot{ display:none !important; }
  .pg-os-merchant > span{ display:none !important; }
  /* Carrot indicator (inline, 10px gap handled by flex) */
  .pg-os-merchant::after{
    content:"";
    display:inline-block;
    font-size: 22px;
    line-height: 1;
    opacity: 0.90;
    color: rgba(var(--pg-hero-rgb,0,255,213), 0.95);
    filter: drop-shadow(0 0 10px rgba(var(--pg-hero-rgb,0,255,213), 0.34));
  }
  /* Keep original toggle functional: invisible hit area aligned over merchant row */
  #pg-os-toggle.pg-os-details-btn{
    grid-column: 1 !important;
    grid-row: 2 !important;
    position: relative !important;
    width: 100% !important;
    height: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    opacity: 0 !important;
    z-index: 5 !important;
    cursor: pointer !important;
  }
  #pg-os-toggle.pg-os-details-btn .pg-os-caret{ display:none !important; }
  /* Total on the right */
  .pg-os-right{
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    text-align: right !important;
    display:flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }
  .pg-os-right .pg-os-meta{ display:none !important; }
  .pg-os-right .pg-os-total{
    margin: 0 !important;          /* reset all sides */
    margin-top: 20px !important;    /* LOWER (increase to go lower) */
    margin-left: 14px !important; 
    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1px !important;
    color: rgba(255,255,255,0.96) !important;
    text-shadow: 0 10px 20px rgba(0,0,0,0.58);
  }
  .pg-os-right .pg-os-total #pg-order-total-display{
    font-weight: 800 !important;
  }
  /* Optional: ensure visible row also shows pointer for Firefox hover testing */
  .pg-os-merchant{ cursor: pointer !important; }
}
/* =========================================================
   STEP 75.1 — MOBILE HOME CLEANUP (HIDE FEATURES)
   Goal: Create room for the HERO "Choose Asset & Pay" section (no-scroll Home).
   Scope: MOBILE ONLY (<=520px). Desktop/Tablet untouched.
   NOTE: We are NOT removing functionality—only hiding these legacy UI blocks on MOBILE.
   ========================================================= */
@media (max-width: 520px){
  /* 1) Hide customer strip (Edit details / name row) */
  #pg-customer,
  .pg-customer{
    display: none !important;
  }
  /* 2) Hide stepper (Details / Payment / Confirm) */
  #pg-stepper,
  .pg-stepper{
    display: none !important;
  }
  /* 3) Hide legacy payment type tiles + asset tiles column block (will be replaced by HERO carousel) */
  #pg-pay-asset-split,
  .pg-pay-asset-split{
    display: none !important;
  }
/* 4) Hide legacy "Continue · Connect Wallet / Back to payment types" actions (replaced by HERO hybrid button) */
  #pg-crypto-section,
  #pg-crypto-section > div{
    display: none !important;
  }
  /* Tighten header spacing now that stepper + split are hidden */
  .pg-card-header{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    gap: 8px !important;
  }
  /* Ensure no accidental scrollbars during HERO build stage */
  html, body{
    overflow-x: hidden !important;
  }
}
/* =========================================================
   STEP 77.1 — MOBILE HOME FINAL CLEANUP
   Hide residual crypto continue / back links (MOBILE ONLY)
========================================================= */
@media (max-width: 520px){
  #pg-crypto-continue,
  #pg-crypto-back{
    display: none !important;
  }
}
/* =========================================================
   STEP 78.1 — MOBILE HOME: REMOVE BLANK SCROLL + FAINT SEAM
   Goal: No-scroll HOME while HERO module is being built
   Scope: MOBILE ONLY (<=520px). Desktop/Tablet untouched.
========================================================= */
@media (max-width: 520px){
  /* The mobile dock is fixed; earlier global rules add large bottom padding to ALL cards.
     For HOME we want a clean canvas, so remove the extra dock-padding on the MAIN card only. */
  .pg-main-card.pg-card{
    padding-bottom: 14px !important; /* was calc(18px + var(--pg-dock-h)) */
    margin-bottom: 0 !important;
  }
  /* Remove any stray horizontal separators that can show up in the empty HOME body */
  .pg-main-card hr,
  .pg-main-card .pg-od-divider,
  .pg-main-card .pg-divider,
  .pg-main-card .pg-sep,
  .pg-main-card .pg-separator{
    display: none !important;
  }
  /* Defensive: prevent tiny overflow from rounding/glow while Home is empty */
  #crypto-gateway-demo-root{
    overflow-x: hidden !important;
  }
}
/* =========================================================
   STEP 81 — MOBILE HOME: HERO ASSET CAROUSEL + META + HYBRID
   Scope: MOBILE ONLY (<=520px). Desktop/Tablet untouched.
   Notes: Keeps existing IDs so Radom/WC hooks remain intact.
========================================================= */
@media (max-width: 520px){
  /* Show the split wrapper again (we'll hide only the left payment-type column) */
  #pg-pay-asset-split,
  .pg-pay-asset-split{
    display: block !important;
    margin-top: 6px !important;
  }
  /* Hide payment type tiles + rewards code (mobile default is crypto) */
  #pg-pay-asset-split .pg-pay-col{
    display: none !important;
  }
  /* HERO column becomes full-width */
  #pg-asset-col{
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  /* Hide the old "Select Digital Asset" label (hero title already exists) */
  #pg-crypto-step-label{
    display: none !important;
  }
  /* === ASSET CAROUSEL ROW === */
  /* Move hero title up a touch (requested: -20px) */
  .pg-title{
    margin-top: -40px !important;
  }
  #pg-asset-row{
    width: 100% !important; /* requested */
    margin-top: 35px !important;
    padding: 10px 15px 5px !important; /* tuned: 10px top / 5px bottom */
    display: flex !important;
    align-items: flex-end !important;
    gap: 3px !important; /* tighter spacing to match SoT */
    overflow-x: hidden !important; /* JS-driven carousel; prevent native scroll fight */
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding: 50% !important; /* centers snaps nicely */
    scrollbar-width: none !important;
    position: relative !important;
    touch-action: none !important; /* JS handles drag; blocks page/row scroll */
    overscroll-behavior: none !important;
    contain: layout !important; /* allow glows to render outside */
    isolation: isolate !important;
    background: radial-gradient(140% 130% at 50% 85%, rgba(0,0,0,0.55), rgba(0,0,0,0.00) 60%) !important;
  }
  #pg-asset-row::-webkit-scrollbar{ display:none !important; }
  /* Edge breathing room so the side tiles/glows never kiss the screen edge */
  #pg-asset-row::before,
  #pg-asset-row::after{
    content:"";
    flex: 0 0 32px; /* edge gutter (tighter so flank tiles sit closer) */
    height: 1px;
  }
  /* Per-asset glow hues (used for active hero ring) */
  #pg-asset-row .pg-asset-pill[data-asset="BTC"]{ --coin-rgb: 255,146,36; }
  #pg-asset-row .pg-asset-pill[data-asset="ETH"]{ --coin-rgb: 120,190,255; }
  #pg-asset-row .pg-asset-pill[data-asset="ZLNC"]{ --coin-rgb: var(--accent-rgb); }
  #pg-asset-row .pg-asset-pill[data-asset="USDT"]{ --coin-rgb: 42,232,186; }
  #pg-asset-row .pg-asset-pill[data-asset="XRP"]{ --coin-rgb: 235,240,255; }
  #pg-asset-row .pg-asset-pill[data-asset="BNB"]{ --coin-rgb: 255,206,77; }
  #pg-asset-row .pg-asset-pill[data-asset="BASE"]{ --coin-rgb: 0,133,255; }
  #pg-asset-row .pg-asset-pill[data-asset="DOGE"]{ --coin-rgb: 201,160,74; }
  #pg-asset-row .pg-asset-pill[data-asset="TRX"]{ --coin-rgb: 255,52,52; }
  #pg-asset-row .pg-asset-pill[data-asset="LTC"]{ --coin-rgb: 164,170,176; }
  #pg-asset-row .pg-asset-pill[data-asset="SOL"]{ --coin-rgb: 139,92,246; }
  #pg-asset-row .pg-asset-pill[data-asset="AVAX"]{ --coin-rgb: 226,72,92; }
  #pg-asset-row .pg-asset-pill[data-asset="USDC"]{ --coin-rgb: 39,117,202; }
  #pg-asset-row .pg-asset-pill[data-asset="MATIC"]{ --coin-rgb: 130,71,229; }
  #pg-asset-row .pg-asset-pill[data-asset="DOT"]{ --coin-rgb: 232,30,99; }
  .pg-mobile-only-asset{ display:none !important; }
  @media (max-width: 640px){
    #pg-asset-row .pg-mobile-only-asset{
      display:flex !important;
    }
  }
  /* Base tile (transition state) — reduced by ~20% from 84px */
  #pg-asset-row .pg-asset-pill{
    flex: 0 0 auto !important;
    width: 109px !important;
    height: 109px !important;
    border-radius: 20px !important;
    display: grid !important;
    place-items: center !important;
    position: relative !important;
    scroll-snap-align: center !important;
    background:
      radial-gradient(120px 120px at 30% 25%, rgba(255,255,255,0.10), rgba(255,255,255,0.00) 58%),
      linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow:
      0 12px 24px rgba(0,0,0,0.62),
      inset 0 1px 0 rgba(255,255,255,0.10),
      inset 0 -1px 0 rgba(0,0,0,0.38) !important;
    transform: translateZ(0) scale(0.80) !important; /* JS will animate to sweet spot */
    opacity: 0.92 !important;
    transition: box-shadow 220ms ease, border-color 220ms ease !important;
    will-change: transform, filter, opacity;
    z-index: 2 !important;
  }
  #pg-asset-row .pg-asset-pill .pg-asset-fav{
    position:absolute;
    top:12px;
    right:12px;
    width:22px;
    height:22px;
    padding:0;
    margin:0;
    border:0;
    outline:none;
    background:transparent;
    opacity:0;
    transform: scale(0.82);
    pointer-events:none;
    transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
    z-index:8;
    -webkit-tap-highlight-color: transparent;
    touch-action:none;
    user-select:none;
    -webkit-user-select:none;
  }
  #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-fav{
    opacity:1;
    transform: scale(1);
    pointer-events:auto;
  }
  #pg-asset-row .pg-asset-pill,
  #pg-asset-row .pg-asset-pill *,
  #pg-asset-row .pg-asset-pill .pg-asset-symbol,
  #pg-asset-row .pg-asset-pill .pg-asset-logo{
    -webkit-touch-callout:none;
    user-select:none;
    -webkit-user-select:none;
  }
  #pg-asset-row .pg-asset-pill .pg-asset-symbol,
  #pg-asset-row .pg-asset-pill .pg-asset-logo{
    pointer-events:none !important;
  }
  #pg-asset-row .pg-asset-pill .pg-asset-logo{
    -webkit-user-drag:none;
    user-drag:none;
  }
  #pg-asset-row .pg-asset-pill .pg-asset-fav::before{
    content:"";
    position:absolute;
    inset:0;
    background:#05070a;
    -webkit-mask: url("https://irp.cdn-website.com/630a36f4/dms3rep/multi/favorite-asset-SVG.svg") center/contain no-repeat;
    mask: url("https://irp.cdn-website.com/630a36f4/dms3rep/multi/favorite-asset-SVG.svg") center/contain no-repeat;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.04),
      0 0 12px rgba(0,0,0,0.34),
      0 2px 8px rgba(0,0,0,0.48);
    filter:
      drop-shadow(0 0 6px rgba(0,0,0,0.72))
      drop-shadow(0 2px 6px rgba(0,0,0,0.42));
    transition: background 180ms ease, filter 180ms ease, transform 180ms ease;
  }
  #pg-asset-row .pg-asset-pill.pg-asset-favorite .pg-asset-fav::before{
    background: rgb(var(--coin-rgb, 255,255,255));
    filter:
      drop-shadow(0 0 6px rgba(0,0,0,0.84))
      drop-shadow(0 2px 8px rgba(0,0,0,0.58))
      drop-shadow(0 0 10px rgba(var(--coin-rgb, 255,255,255),0.18));
  }
  #pg-asset-row .pg-asset-pill.pg-asset-fav-holding .pg-asset-fav::before{
    transform: scale(1.06);
    filter:
      drop-shadow(0 0 8px rgba(0,0,0,0.86))
      drop-shadow(0 2px 10px rgba(0,0,0,0.62))
      drop-shadow(0 0 14px rgba(var(--coin-rgb, 255,255,255),0.24));
  }
  #pg-asset-row .pg-asset-pill.pg-asset-fav-pop .pg-asset-fav::before{
    animation: pgAssetFavPop 360ms cubic-bezier(.2,.9,.2,1) 1;
  }
  @keyframes pgAssetFavPop{
    0%{ transform: scale(0.86); }
    58%{ transform: scale(1.18); }
    100%{ transform: scale(1); }
  }
  /* Calm aura behind every tile (kept subtle) */
  #pg-asset-row .pg-asset-pill::before{
    content:"";
    position:absolute;
    inset: -10px;
    border-radius: 26px;
    background: radial-gradient(70% 70% at 50% 55%, rgba(var(--accent-rgb),0.18), rgba(0,0,0,0) 70%);
    opacity: 0.25;
    filter: blur(6px);
    pointer-events:none;
    transition: opacity 220ms ease, filter 220ms ease;
  }
  /* Specular highlight */
  #pg-asset-row .pg-asset-pill::after{
    content:"";
    position:absolute;
    left: 10px;
    top: 9px;
    width: 56%;
    height: 46%;
    border-radius: 18px;
    background: radial-gradient(70% 80% at 30% 30%, rgba(255,255,255,0.26), rgba(255,255,255,0.00) 68%);
    opacity: 0.18;
    filter: blur(0.2px);
    pointer-events:none;
  }
  /* Labels: ACTIVE uses clean bottom label; SIDE tiles use short ticker (ETH/BTC/USDT) */
#pg-asset-row .pg-asset-pill > div:last-child{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
}
/* ACTIVE (featured): show the bottom label only (clean text, no container) */
#pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-label-main{ display:none !important; }
#pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-label-sub{
  display:block !important;
  margin-top: -5px !important; /* moved up 15px */
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.82) !important;
  line-height: 1 !important;
}
/* TX pending countdown replaces the full-name sub label */
#crypto-gateway-demo-root.pg-tx-countdown-active #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-label-sub{
  margin-top: -5px !important;
  font-size: 18px !important;
  font-weight: 450 !important;
  letter-spacing: 0.32em !important;
  text-transform: none !important;
  color: rgba(255,255,255,0.98) !important;
  text-shadow:
    0 2px 0 rgba(0,0,0,0.72),
    0 6px 18px rgba(0,0,0,0.82),
    0 0 14px rgba(0,0,0,0.36);
}
#crypto-gateway-demo-root.pg-tx-countdown-active #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-label-sub::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:72px;
  height:22px;
  transform: translate(-50%,-50%);
  border-radius:999px;
  background: radial-gradient(60% 100% at 50% 50%, rgba(0,0,0,0.42), rgba(0,0,0,0.18) 62%, rgba(0,0,0,0.00) 100%);
  filter: blur(4px);
  z-index:-1;
  pointer-events:none;
}
#crypto-gateway-demo-root.pg-tx-countdown-active #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-label-sub[data-tx-countdown]{
  position:relative !important;
  display:inline-block !important;
}
/* TX complete: freeze the active ring, swap logo to a centered check, and replace timer text with COMPLETED */
#crypto-gateway-demo-root.pg-tx-complete-label-active #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-label-sub{
  position:relative !important;
  display:inline-block !important;
  margin-top: -5px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.92) !important;
  text-shadow:
    0 2px 0 rgba(0,0,0,0.68),
    0 6px 18px rgba(0,0,0,0.78),
    0 0 14px rgba(0,0,0,0.34);
  transition: opacity .18s ease, transform .22s ease;
}
#crypto-gateway-demo-root.pg-tx-complete-label-active #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-label-sub.is-tx-complete-swapping{
  opacity: 0 !important;
  transform: translateY(4px) scale(0.98);
}
#crypto-gateway-demo-root.pg-tx-complete-label-active #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-label-sub::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:108px;
  height:22px;
  transform: translate(-50%,-50%);
  border-radius:999px;
  background: radial-gradient(60% 100% at 50% 50%, rgba(0,0,0,0.42), rgba(0,0,0,0.18) 62%, rgba(0,0,0,0.00) 100%);
  filter: blur(4px);
  z-index:-1;
  pointer-events:none;
}
@media (max-width: 520px){
  #crypto-gateway-demo-root.pg-tx-asset-ring-freeze #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol{
    overflow: visible !important;
    isolation: isolate;
  }
  #crypto-gateway-demo-root.pg-tx-asset-ring-freeze #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol > .pg-tx-ring-clone,
  #crypto-gateway-demo-root.pg-tx-asset-ring-freeze #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol > .pg-tx-ring-aura{
    position:absolute;
    display:block;
    border-radius:999px;
    pointer-events:none;
  }
  #crypto-gateway-demo-root.pg-tx-asset-ring-freeze #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol > .pg-tx-ring-clone{
    inset:-10px;
    z-index:1;
    opacity:0.98;
    transform: rotate(326deg) scale(1);
    filter:
      drop-shadow(0 0 12px rgba(var(--coin-rgb, var(--accent-rgb)),0.34))
      drop-shadow(0 0 24px rgba(var(--coin-rgb, var(--accent-rgb)),0.22));
    animation:none !important;
  }
  #crypto-gateway-demo-root.pg-tx-asset-ring-freeze #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol > .pg-tx-ring-aura{
    inset:-15px;
    z-index:0;
    opacity:0.44;
    filter: blur(1.35px);
    animation:none !important;
  }
  #crypto-gateway-demo-root.pg-tx-complete-hero #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol{
    position:relative !important;
    overflow: visible !important;
    isolation:isolate !important;
  }
  /* STEP-321 — Mobile complete hero: prep-lock the logo + checkmark as centered overlays BEFORE the swap starts */
  #crypto-gateway-demo-root.pg-tx-complete-hero #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol,
  #crypto-gateway-demo-root.pg-tx-complete-hero.pg-hero-order-complete-prep #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol{
    position:relative !important;
    overflow:visible !important;
    isolation:isolate !important;
  }
  #crypto-gateway-demo-root.pg-tx-complete-hero #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol > img.pg-asset-logo,
  #crypto-gateway-demo-root.pg-tx-complete-hero.pg-hero-order-complete-prep #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol > img.pg-asset-logo{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:48px !important;
    height:48px !important;
    max-width:none !important;
    min-width:0 !important;
    object-fit:contain !important;
    display:block !important;
    flex:none !important;
    flex-shrink:0 !important;
    margin:0 !important;
    z-index:3 !important;
    pointer-events:none !important;
    transform:translate(-50%,-50%) !important;
    transform-origin:50% 50% !important;
    opacity:1 !important;
    filter:none !important;
    transition: opacity .20s ease, filter .20s ease !important;
  }
  #crypto-gateway-demo-root.pg-tx-complete-hero #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol > img.pg-hero-order-complete-checkmark,
  #crypto-gateway-demo-root.pg-tx-complete-hero.pg-hero-order-complete-prep #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol > img.pg-hero-order-complete-checkmark{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:81px !important;
    height:59px !important;
    max-width:none !important;
    min-width:0 !important;
    object-fit:contain !important;
    display:block !important;
    flex:none !important;
    flex-shrink:0 !important;
    margin:0 !important;
    z-index:4 !important;
    pointer-events:none !important;
    opacity:0 !important;
    transform:translate(-50%,-50%) !important;
    transform-origin:50% 50% !important;
    filter:blur(0.35px) drop-shadow(0 0 8px rgba(255,255,255,0.18)) !important;
    transition: opacity .16s ease, filter .20s ease !important;
  }
  #crypto-gateway-demo-root.pg-tx-complete-hero.is-tx-complete-logo-swapping #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol > img.pg-asset-logo{
    opacity:0 !important;
    filter:blur(0.35px) !important;
  }
  #crypto-gateway-demo-root.pg-tx-complete-hero.is-tx-complete-logo-swapping #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol > img.pg-hero-order-complete-checkmark{
    opacity:1 !important;
    filter:drop-shadow(0 0 8px rgba(255,255,255,0.18)) !important;
  }
}
/* SIDE (non-active): hide full name + show the ticker (label-main) as clean text */
#pg-asset-row .pg-asset-pill:not(.pg-asset-active) .pg-asset-label-sub{ display:none !important; }
#pg-asset-row .pg-asset-pill:not(.pg-asset-active) .pg-asset-label-main{
  display:block !important;
  margin-top: 2px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.72) !important;
  line-height: 1 !important;
}
/* Coin ring (hybrid option): soft coin circle inside the square */
  #pg-asset-row .pg-asset-symbol{
    width: 66px !important;
    height: 66px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius: 999px !important;
    background:
      radial-gradient(70% 70% at 30% 25%, rgba(255,255,255,0.20), rgba(255,255,255,0.02) 60%),
      radial-gradient(120% 120% at 50% 55%, rgba(0,0,0,0.36), rgba(0,0,0,0.55)) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.24),
      0 10px 18px rgba(0,0,0,0.55) !important;
    position: relative !important;
  }
  /* Inner coin ring glow */
  #pg-asset-row .pg-asset-symbol::after{
    content:"";
    position:absolute;
    inset: -2px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow:
      0 0 12px rgba(var(--accent-rgb),0.10),
      inset 0 0 10px rgba(0,0,0,0.55);
    pointer-events:none;
    opacity: 0.55;
  }
  #pg-asset-row .pg-asset-logo{
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
    transform: translateZ(0);
  }
  /* Greyscale + calm glow for non-selected assets */
  #pg-asset-row .pg-asset-pill:not(.pg-asset-active){
    filter: saturate(0.72) brightness(0.95);
    position: relative;
    top: 34px; /* lowered to sit nearer the featured base */
    z-index: 5 !important;
    border-color: rgba(255,255,255,0.12) !important;
    box-shadow:
      0 12px 24px rgba(0,0,0,0.62),
      inset 0 1px 0 rgba(255,255,255,0.12),
      inset 0 -2px 0 rgba(255,255,255,0.10),
      0 0 18px rgba(255,255,255,0.06) !important;}
  #pg-asset-row .pg-asset-pill:not(.pg-asset-active) .pg-asset-logo{
    filter: grayscale(1) saturate(0) brightness(0.95) contrast(1.05) !important;
    opacity: 0.92 !important;
  }
  /* Selected (hero) asset — SoT-ish square + coin + heavy lighting */
  #pg-asset-row .pg-asset-pill.pg-asset-active{
    width: 166px !important;
    height: 166px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(var(--coin-rgb, var(--accent-rgb)),0.55) !important;
    background:
      radial-gradient(240px 120px at 50% -8%, rgba(var(--coin-rgb, var(--accent-rgb)),0.22), rgba(0,0,0,0) 65%),
      radial-gradient(260px 180px at 50% 35%, rgba(var(--coin-rgb, var(--accent-rgb)),0.32), rgba(0,0,0,0) 60%),
      radial-gradient(180px 140px at 35% 30%, rgba(255,255,255,0.24), rgba(255,255,255,0.00) 62%),
      linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)) !important;
    box-shadow:
      0 22px 44px rgba(0,0,0,0.72),
      0 0 58px rgba(var(--coin-rgb, var(--accent-rgb)),0.58),
      0 0 0 1px rgba(0,0,0,0.30) inset,
      inset 0 1px 0 rgba(255,255,255,0.14) !important;
    opacity: 1 !important;
    transform: translate3d(0,0,0) scale(1) !important; /* lock featured size */
    z-index: 3 !important;}
  #pg-asset-row .pg-asset-pill.pg-asset-active::before{
    content:"";
    position:absolute;
    /* extend past tile so the glow can breathe */
    inset: -22px -22px -34px !important;
    border-radius: 30px;
    pointer-events:none;
    z-index: -1; /* keep aura BEHIND flanking tiles */
    /* Horizon beam system: core line + bloom + depth fade */
    background:
      /* Soft aura body */
      radial-gradient(70% 70% at 50% 52%, rgba(var(--coin-rgb, var(--accent-rgb)),0.46), rgba(0,0,0,0) 72%),
      /* Depth fade downward */
      radial-gradient(90% 55% at 50% 98%, rgba(var(--coin-rgb, var(--accent-rgb)),0.28), rgba(0,0,0,0) 70%),
      /* Core beam (sharp) */
      linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(var(--coin-rgb, var(--accent-rgb)),0.95) 50%, rgba(0,0,0,0) 100%);
    background-repeat: no-repeat;
    background-size:
      auto,
      auto,
      74% 2px; /* core beam width/height */
    background-position:
      center,
      center,
      50% calc(100% - 18px); /* sits just under tile base */
    opacity: 0.95;
    filter: blur(10px);
  }
  #pg-asset-row .pg-asset-pill.pg-asset-active::after{
    content:"";
    position:absolute;
    inset: 6px;
    border-radius: 18px;
    pointer-events:none;
    z-index: 4;
    /* Noticeable but premium light sweep */
    background: linear-gradient(115deg,
      rgba(255,255,255,0.00) 18%,
      rgba(255,255,255,0.18) 38%,
      rgba(255,255,255,0.06) 48%,
      rgba(255,255,255,0.00) 62%);
    transform: translateX(-22%);
    opacity: 0.55;
    filter: blur(0.15px);
    animation: pgHeroSweep 2.9s cubic-bezier(.2,.9,.2,1) infinite;
    mix-blend-mode: screen;
  }
  @keyframes pgHeroSweep{
    0%{ transform: translateX(-28%); opacity: 0.00; }
    18%{ opacity: 0.62; }
    52%{ transform: translateX(28%); opacity: 0.55; }
    78%{ opacity: 0.08; }
    100%{ transform: translateX(28%); opacity: 0.00; }
  }
  #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol{
    width: 115px !important;
    height: 115px !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.20),
      0 18px 26px rgba(0,0,0,0.65),
      0 0 22px rgba(var(--coin-rgb, var(--accent-rgb)),0.22) !important;
  }
  #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol::after{
    opacity: 0.95;
    box-shadow:
      0 0 18px rgba(var(--coin-rgb, var(--accent-rgb)),0.20),
      0 0 46px rgba(var(--coin-rgb, var(--accent-rgb)),0.14),
      inset 0 0 12px rgba(0,0,0,0.55);
  }
    /* =========================================================
     STEP 129 — MOBILE ONLY: FEATURED HORIZON BEAM (NO CLIP) + TOP CROWN
     Scope: MOBILE ONLY, #pg-asset-row only (NO logic changes)
     Why: #pg-asset-row uses paint containment, so effects must render INSIDE the active tile.
     Result:
       - Horizon beam: crisp colored line at the *inside-bottom edge* + bloom
       - Crown: soft top halo to make the featured asset feel "lit from above"
       - No wide external glow / dust / fake reflections
  ========================================================= */
  /* Featured: INTERNAL horizon beam + bloom + crown (kept inside the tile to avoid clipping) */
  #pg-asset-row .pg-asset-pill.pg-asset-active{
    background:
      /* Horizon bloom (bottom, internal) */
      radial-gradient(150px 36px at 50% 100%,
        rgba(var(--coin-rgb, var(--accent-rgb)),0.34),
        rgba(0,0,0,0) 72%),
      /* Crown halo (top, internal) */
      radial-gradient(180px 64px at 50% 0%,
        rgba(var(--coin-rgb, var(--accent-rgb)),0.20),
        rgba(0,0,0,0) 70%),
      /* Existing hero wash */
      radial-gradient(260px 180px at 50% 35%,
        rgba(var(--coin-rgb, var(--accent-rgb)),0.32),
        rgba(0,0,0,0) 60%),
      radial-gradient(180px 140px at 35% 30%,
        rgba(255,255,255,0.24),
        rgba(255,255,255,0.00) 62%),
      /* Horizon core beam (2–3px line at the inside-bottom edge) */
      linear-gradient(90deg,
        rgba(0,0,0,0) 0%,
        rgba(var(--coin-rgb, var(--accent-rgb)),0.92) 22%,
        rgba(var(--coin-rgb, var(--accent-rgb)),0.92) 78%,
        rgba(0,0,0,0) 100%),
      /* Base glass */
      linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)) !important;
    background-repeat: no-repeat !important;
    background-size:
      100% 100%, /* bloom */
      100% 100%, /* crown */
      100% 100%, /* hero wash */
      100% 100%, /* spec wash */
      72% 3px,   /* beam */
      100% 100%  !important;
    background-position:
      50% 50%,
      50% 50%,
      50% 50%,
      50% 50%,
      50% 100%,
      50% 50% !important;
    /* Keep your hero lift, but avoid the "wide fog" look */
    box-shadow:
      0 22px 44px rgba(0,0,0,0.72),
      0 0 34px rgba(var(--coin-rgb, var(--accent-rgb)),0.24),
      0 12px 26px rgba(var(--coin-rgb, var(--accent-rgb)),0.14),
      0 0 0 1px rgba(0,0,0,0.30) inset,
      inset 0 1px 0 rgba(255,255,255,0.14) !important;
  }
#pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-logo{
    width: 97px !important;
    height: 97px !important;
    filter: none !important;
    opacity: 1 !important;
  }
  /* Featured asset short label (BTC / ETH / ZLNC) */
  #pg-asset-row .pg-asset-tag{ display:none !important; }
#pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-tag{ display:none !important; }
/* Snap "sweet spot" micro-pop */
  #pg-asset-row .pg-asset-pill.pg-snap-pop{
    animation: pgSnapGlow 520ms cubic-bezier(.2,.9,.2,1) both;
  }
  @keyframes pgSnapGlow{
    0%{
      box-shadow:
        0 22px 44px rgba(0,0,0,0.72),
        0 0 26px rgba(var(--coin-rgb, var(--accent-rgb)),0.22),
        0 0 0 1px rgba(0,0,0,0.30) inset,
        inset 0 1px 0 rgba(255,255,255,0.14);
    }
    45%{
      box-shadow:
        0 24px 48px rgba(0,0,0,0.76),
        0 0 54px rgba(var(--coin-rgb, var(--accent-rgb)),0.38),
        0 0 0 1px rgba(0,0,0,0.30) inset,
        inset 0 1px 0 rgba(255,255,255,0.16);
    }
    100%{
      box-shadow:
        0 22px 44px rgba(0,0,0,0.72),
        0 0 42px rgba(var(--coin-rgb, var(--accent-rgb)),0.42),
        0 0 0 1px rgba(0,0,0,0.30) inset,
        inset 0 1px 0 rgba(255,255,255,0.14);
    }
  }
    35%{ transform: translateZ(0) scale(1.035); }
    100%{ transform: translateZ(0) scale(1.00); }
  }
/* =========================================================
   ASSET DATA TOGGLE (DESKTOP/TABLET)
   - Keep toggle behavior for MOBILE only
   - Prevent any "Toggle Asset Details" artifact on desktop/tablet
========================================================= */
@media (min-width: 521px){
  #pg-ad-toggle,
  #pg-crypto-meta .pg-ad-bottom{
    display: none !important;
  }
}
/* === META (Current Price / Token Amount / Network) === */
/* MOBILE-ONLY: Premium Asset Data Display (pg-crypto-meta)
   - Two states: CLOSED (compact) + OPEN (expanded)
   - Keeps ALL existing IDs/bindings (pg-meta-price, pg-meta-amount, pg-crypto-meta-note, pg-meta-method, pg-meta-change, pg-meta-path, pg-meta-logo, pg-meta-ticker)
   - Visual language matches #pg-rewards-code: glass, stroke, top hairline, bottom drawer + pill + sweep
   - Pill hue is driven by the active asset via --pg-active-coin-rgb (synced in JS)
*/
@media (max-width: 520px){
  #pg-crypto-meta{
    /* sizing */
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    grid-column: 1 / -1 !important;
    height: 94px !important; /* CLOSED height +20px */                /* CLOSED height (SoT) */
    margin: -2px 0 0 !important;
    padding: 0 0 10px 0 !important;        /* +10px breathing room below values before ribbon */
    border-radius: 14px !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
    /* font */
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    /* Neutral charcoal glass (NO brand tint) */
    background:
      radial-gradient(120% 140% at 50% 28%, rgba(255,255,255,0.06), rgba(255,255,255,0.02) 52%, rgba(0,0,0,0.00) 76%),
      linear-gradient(180deg, rgba(13,18,20,0.92), rgba(6,8,10,0.96)) !important;
    /* Stroke (same family as Rewards) */
    border: 1px solid rgba(235,245,255,0.18) !important;
    box-shadow:
      0 16px 36px rgba(0,0,0,0.62),
      inset 0 1px 0 rgba(255,255,255,0.08) !important;
    overflow: hidden !important;
    /* CLOSED layout: 3 columns (labels row + values row) */
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: 18px 30px !important;
    column-gap: 16px !important;
    row-gap: 6px !important;
    align-items: start !important;
    align-content: start !important; /* keep grid pinned to top (no stretch) */
  }
  /* Active asset-driven hue (synced from active pill) */
  #pg-crypto-meta{ --pg-ad-rgb: var(--pg-active-coin-rgb, var(--accent-rgb)); }
  /* OPEN state (expanded) */
  #pg-crypto-meta.is-ad-open{
    height: 148px !important;               /* OPEN height (SoT) */
    grid-template-rows: 0px 48px 58px 28px !important; /* combine label row into value row so header sits higher (matches CLOSED) */ /* add detail rows */
    align-content: start !important; /* prevent grid track stretch -> header shift */
  }
  /* === top framing hairline (white-ish) to sharpen the top edge === */
  #pg-crypto-meta::before{
    content:"";
    position:absolute;
    left: 10px;
    right: 10px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg,
      rgba(255,255,255,0.00) 0%,
      rgba(255,255,255,0.32) 18%,
      rgba(255,255,255,0.32) 82%,
      rgba(255,255,255,0.00) 100%);
    opacity: 0.9;
    pointer-events:none;
    z-index: 3;
  }
  /* === top glow (asset-hued) === */
  #pg-crypto-meta::after{
    content:"";
    position:absolute;
    left:50%;
    top:-2px;
    transform: translateX(-50%);
    width: 78%;
    height: 12px;
    pointer-events:none;
    background:
      radial-gradient(260px 16px at 50% 0%,
        rgba(var(--pg-ad-rgb),0.44),
        rgba(var(--pg-ad-rgb),0.16) 44%,
        rgba(255,255,255,0.06) 60%,
        rgba(0,0,0,0.00) 80%);
    opacity: 0.95;
    filter: blur(0.2px);
    z-index: 2;
  }
  /* Subtle internal dividers (clean, premium) */
  #pg-crypto-meta{
    background-image:
      /* vertical seams between 3 cols */
      linear-gradient(180deg,
        rgba(255,255,255,0.00) 0%,
        rgba(255,255,255,0.10) 50%,
        rgba(255,255,255,0.00) 100%),
      linear-gradient(180deg,
        rgba(255,255,255,0.00) 0%,
        rgba(255,255,255,0.08) 50%,
        rgba(255,255,255,0.00) 100%),
      /* label/value divider */
      linear-gradient(90deg,
        rgba(255,255,255,0.00) 0%,
        rgba(255,255,255,0.08) 50%,
        rgba(255,255,255,0.00) 100%),
      /* bottom neutral bar */
      linear-gradient(90deg,
        rgba(255,255,255,0.00) 0%,
        rgba(255,255,255,0.22) 50%,
        rgba(255,255,255,0.00) 100%),
      /* base glass gradients (kept from above) */
      radial-gradient(120% 140% at 50% 28%, rgba(255,255,255,0.06), rgba(255,255,255,0.02) 52%, rgba(0,0,0,0.00) 76%),
      linear-gradient(180deg, rgba(13,18,20,0.92), rgba(6,8,10,0.96));
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-size:
      1px 64%,                 /* seam 1 */
      1px 64%,                 /* seam 2 */
      88% 1px,                 /* row divider */
      78% 2px,                 /* bottom bar */
      auto, auto;
    background-position:
      33.333% 58%,             /* seam 1 */
      66.666% 58%,             /* seam 2 */
      50% 34px,                /* label/value divider */
      50% 98%,                 /* bottom bar */
      center, center;
  }
  /* Flatten legacy meta item cards */
  #pg-crypto-meta .pg-crypto-meta-item{
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: contents !important; /* lets children place in grid */
  }
  /* Labels (row 1) */
  #pg-crypto-meta .pg-crypto-meta-label{
    display:block !important;
    grid-row: 1 / 2;
    align-self: center;
    font-size: 12px !important;
    font-weight: 450 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.10em !important;
    color: rgba(255,255,255,0.72) !important;
    opacity: 0.95 !important;
    margin: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  /* Place each label by DOM order (1..3) */
  #pg-crypto-meta .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-label{ grid-column: 1 / 2; }
  #pg-crypto-meta .pg-crypto-meta-item:nth-child(2) .pg-crypto-meta-label{ grid-column: 2 / 3; text-align:center; }
  #pg-crypto-meta .pg-crypto-meta-item:nth-child(3) .pg-crypto-meta-label{ grid-column: 3 / 4; text-align:right; position:relative; left:-54px; top:5px; }
  /* Values (row 2) */
  #pg-crypto-meta #pg-meta-price{
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    align-self: start;
    justify-self: start;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0.02em !important;
    color: rgba(255,255,255,0.98) !important;
    line-height: 1.1 !important;
  }
  /* Remove percent from CLOSED value row (it lives in OPEN detail section) */
  #pg-crypto-meta #pg-meta-change{
    display:none !important;
  }
  #pg-crypto-meta #pg-meta-amount{
    display:block !important;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    align-self: start;
    justify-self: center;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0.02em !important;
    color: rgba(255,255,255,0.98) !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }
  #pg-crypto-meta #pg-crypto-meta-note{
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    align-self: start;
    margin-top: 0 !important;
    justify-self: end;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: rgba(255,255,255,0.98) !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }
  #pg-crypto-meta #pg-crypto-meta-note .pg-meta-total-label{ display:none !important; } /* SoT: no 'Total' label in closed row */
  #pg-crypto-meta #pg-crypto-meta-note .pg-meta-total-amount{ font-weight: 675 !important; font-size: 14px !important; letter-spacing: 0.02em !important; }
  #pg-crypto-meta #pg-crypto-meta-note .pg-meta-total-usd{
    font-weight: 400 !important;
    font-size: 12px !important;
    opacity: 0.86 !important;
    margin-left: 6px !important;
    letter-spacing: 0.10em !important;
  }
  /* Hide legacy “Price Lock 90s” note always */
  #pg-crypto-meta .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-note{ display:none !important; }
  /* Hide network + path in CLOSED (they are OPEN-only details) */
  #pg-crypto-meta #pg-meta-method{ display:none !important; }
  #pg-crypto-meta #pg-meta-path{ display:none !important; }
  #pg-crypto-meta .pg-meta-assethead{ display:none !important; }
  /* === OPEN details layout (matches SoT opened render) === */
  #pg-crypto-meta.is-ad-open #pg-meta-change{ display:flex !important; }
  #pg-crypto-meta.is-ad-open #pg-meta-method{ display:block !important; }
  #pg-crypto-meta.is-ad-open #pg-meta-path{ display:inline !important; }
  #pg-crypto-meta.is-ad-open .pg-meta-assethead{ display:flex !important; }
  /* detail header (logo + ticker + network) */
  #pg-crypto-meta .pg-meta-assethead{
    grid-column: 1 / 4;
    grid-row: 3 / 4;
    align-self: start;
    justify-self: start;
    display:flex;
    align-items:center;
    gap: 10px;
    min-width: 0;
    padding-top: 2px;
    z-index: 5;
  }
  #pg-crypto-meta .pg-meta-coin{
    width: 28px;
    height: 28px;
    border-radius: 999px;
    overflow:hidden;
    background: rgba(255,255,255,0.06);
    box-shadow: 0 10px 18px rgba(0,0,0,0.55);
    display:flex;
    align-items:center;
    justify-content:center;
    flex: 0 0 auto;
  }
  #pg-crypto-meta .pg-meta-logo{
    width: 28px;
    height: 28px;
    object-fit: cover;
    display:block;
  }
  #pg-crypto-meta .pg-meta-ticker{
    font-weight: 675 !important;
    font-size: 16px !important;
    letter-spacing: 0.10em !important;
    color: rgba(255,255,255,0.98) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  /* network text sits to the right of ticker, like the SoT */
  #pg-crypto-meta #pg-meta-method{
    margin-left: 10px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    color: rgba(255,255,255,0.86) !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
  }
  #pg-crypto-meta #pg-meta-method .pg-meta-sub{
    font-weight: 400 !important;
    font-size: 12px !important;
    opacity: 0.86 !important;
    margin-left: 6px !important;
  }
  /* percent change row (left, under header) */
  #pg-crypto-meta #pg-meta-change{
    grid-column: 1 / 4;
    grid-row: 3 / 4;
    align-self: end;
    justify-self: start;
    margin-top: 30px !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    color: rgba(255,255,255,0.92) !important; /* percent stays white */
    display:flex;
    align-items:center;
    gap: 6px;
    white-space: nowrap;
  }
  /* Keep triangles colored, percent white */
  #pg-crypto-meta #pg-meta-change.pg-up::before{
    content:"";
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid #22c55e;
    display:inline-block;
    transform: translateY(1px);
    margin-right: 6px;
  }
  #pg-crypto-meta #pg-meta-change.pg-down::before{
    content:"";
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid #ef4444;
    display:inline-block;
    transform: translateY(1px);
    margin-right: 6px;
  }
  /* path row (centered) */
  #pg-crypto-meta .pg-crypto-meta-item:nth-child(3) .pg-crypto-meta-note{
    grid-column: 1 / 4;
    grid-row: 4 / 5;
    align-self: center;
    justify-self: center;
    text-align:center;
    font-weight: 400 !important;
    font-size: 12px !important;
    color: rgba(255,255,255,0.74) !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px !important;
  }
  /* Bottom drawer ribbon + toggle (matches Rewards language) */
  #pg-crypto-meta .pg-ad-bottom{
    position:absolute;
    left:0; right:0; bottom:-30px;
    height:34px;
    border-radius: 0 0 18px 18px;
    pointer-events:auto;
    z-index: 6;
    overflow:hidden;
    background: transparent;
  }
  #pg-crypto-meta .pg-ad-bottom::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(180deg,
      rgba(255,255,255,0.06) 0%,
      rgba(255,255,255,0.015) 18%,
      rgba(0,0,0,0.22) 58%,
      rgba(0,0,0,0.46) 100%),
      /* Divider line at top of ribbon (crisp hairline) */
      linear-gradient(90deg,
        rgba(255,255,255,0.00) 0%,
        rgba(255,255,255,0.22) 18%,
        rgba(255,255,255,0.22) 82%,
        rgba(255,255,255,0.00) 100%) 0 0/100% 1px no-repeat,
      /* slight inner lift */
      radial-gradient(120px 26px at 50% 10%, rgba(255,255,255,0.08), rgba(255,255,255,0.00) 70%);
    opacity: 0.95;
    pointer-events:none;
  }
  #pg-crypto-meta .pg-ad-toggle{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
    padding:0;
    background: transparent;
    cursor:pointer;
    z-index: 7;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  #pg-crypto-meta .pg-ad-sr{
    position:absolute;
    width:1px;height:1px;
    padding:0;margin:-1px;
    overflow:hidden;clip:rect(0,0,0,0);
    white-space:nowrap;border:0;
  }
  #pg-crypto-meta .pg-ad-pill{
    position:absolute;
    left:50%;
    bottom:-10px;
    transform: translateX(-50%);
    width: 32px;
    height: 8px;
    border-radius: 999px;
    /* Dynamic asset hue */
    background: linear-gradient(90deg,
      rgba(var(--pg-ad-rgb),0.18),
      rgba(var(--pg-ad-rgb),0.92),
      rgba(var(--pg-ad-rgb),0.18));
    box-shadow:
      0 0 0 1px rgba(var(--pg-ad-rgb),0.32) inset,
      0 0 18px rgba(var(--pg-ad-rgb),0.35),
      0 12px 24px rgba(0,0,0,0.58);
    opacity: 0.90;
    pointer-events:none;
    transition: background 260ms ease, box-shadow 260ms ease, filter 260ms ease;
    animation: pgAdPillPulse 2.8s ease-in-out infinite;
  }
  #pg-crypto-meta .pg-ad-pill::after{
    content:"";
    position:absolute;
    inset:-60% -80%;
    background: linear-gradient(90deg,
      rgba(255,255,255,0.00),
      rgba(255,255,255,0.24),
      rgba(255,255,255,0.00));
    transform: translateX(-35%);
    animation: pgAdPillSheen 3.6s ease-in-out infinite;
    opacity: 0.9;
  }
  @keyframes pgAdPillPulse{
    0%,100%{ transform: translateX(-50%) scaleX(1); opacity:0.68; filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
    50%{ transform: translateX(-50%) scaleX(1.06); opacity:0.86; filter: drop-shadow(0 0 10px rgba(255,255,255,0.10)); }
  }
  @keyframes pgAdPillSheen{
    0%{ transform: translateX(-45%); opacity:0.0; }
    18%{ opacity:0.0; }
    50%{ opacity:0.9; }
    82%{ opacity:0.0; }
    100%{ transform: translateX(45%); opacity:0.0; }
  }
}
@media (max-width: 520px){
/* === HYBRID BUTTON (visual only for now) === */
  #pg-crypto-section{
    display: block !important;
    width: 95% !important;
    margin: 12px auto 0 !important;
    padding: 10px 15px 0 !important;
  }
  #pg-crypto-section > .pg-hybrid-row{
    display: flex !important;
    gap: 6px !important; /* tighter spacing to match SoT */
    align-items: center !important;
  }
  .pg-hybrid-btn{
    flex: 1 1 0 !important;
    height: 52px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    background: rgba(255,255,255,0.06) !important;
    color: #e9f4f7 !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    box-shadow:
      0 14px 26px rgba(0,0,0,0.55),
      0 0 18px rgba(var(--accent-rgb),0.18) !important;
    transition: transform 160ms cubic-bezier(.2,.9,.2,1),
                box-shadow 220ms ease,
                filter 220ms ease !important;
  }
  .pg-hybrid-btn:active{
    transform: translateY(1px) scale(0.99) !important;
    filter: brightness(1.10) !important;
  }
  .pg-hybrid-btn-card{
    opacity: 0.78 !important; /* secondary */
  }
  .pg-hybrid-btn-crypto{
    position: relative !important;
    isolation: isolate !important;
    border-color: rgba(var(--accent-rgb),0.42) !important;
    background: rgba(var(--accent-rgb),0.10) !important;
    box-shadow:
      0 14px 26px rgba(0,0,0,0.55),
      0 0 22px rgba(var(--accent-rgb),0.22) !important;
  }
  /* Optional: subtle "orbit" highlight that travels around the outline (mobile has no hover) */
  .pg-hybrid-btn-crypto::before{
    content:"";
    position:absolute;
    inset:-1px;                 /* let the glow breathe */
    border-radius: inherit;
    padding: 1px;               /* stroke thickness */
    pointer-events:none;
    z-index: 2;
    /* A single moving highlight (accent + a white spec pop) */
    background: conic-gradient(
      from 0deg,
      rgba(var(--accent-rgb),0.00) 0deg,
      rgba(var(--accent-rgb),0.00) 260deg,
      rgba(var(--accent-rgb),0.85) 318deg,
      rgba(255,255,255,0.75) 336deg,
      rgba(var(--accent-rgb),0.20) 348deg,
      rgba(var(--accent-rgb),0.00) 360deg
    );
    /* Keep ONLY the border ring visible */
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.88;
    filter:
      drop-shadow(0 0 10px rgba(var(--accent-rgb),0.22))
      drop-shadow(0 0 18px rgba(var(--accent-rgb),0.14));
    animation: pgHybridOrbitStroke 7.5s linear infinite;
  }
  /* Hide legacy crypto buttons row (we keep it for JS hooks) */
  #pg-crypto-section .pg-legacy-crypto-actions{
    display: none !important;
  }
  @keyframes pgHybridOrbitStroke{
    to{ transform: rotate(360deg); }
  }
}
@media (max-width: 520px){
  /* =========================================================
     STEP 133B — AUTHORITATIVE ACTIVE OUTER GLOW (INSIDE STYLE, MOBILE ONLY)
     Scope: ONLY #pg-asset-row .pg-asset-pill.pg-asset-active
     Notes: Placed here to win cascade against earlier duplicates.
  ========================================================= */
  #pg-asset-row .pg-asset-pill.pg-asset-active{
    /* Stronger OUTER aura (very noticeable) */
    box-shadow:
      0 26px 52px rgba(0,0,0,0.80),
      0 0 64px rgba(var(--coin-rgb, var(--accent-rgb)),0.46),
      0 0 128px rgba(var(--coin-rgb, var(--accent-rgb)),0.26),
      0 0 0 1px rgba(0,0,0,0.30) inset,
      inset 0 1px 0 rgba(255,255,255,0.18) !important;
  }
}
/* =========================================================
   STEP 190 — MOBILE ONLY: ASSET DATA (CLOSED) 3-COLUMN TYPO + FULL WIDTH + PILL/SWEEP
   Scope: ONLY #pg-crypto-meta (pg-crypto-meta) on mobile (<=520px)
   Goal:
   - Closed view matches SoT: 3 columns (CURRENT PRICE / TOKEN AMOUNT / TOTAL)
   - Labels: Segoe UI 15px
   - Values: Segoe UI 22px bold
   - Container width: 100%
   - Bottom drawer pill + light sweep visible (match pg-rewards-code language)
========================================================= */
@media (max-width: 520px){
  /* Hard authority on width + alignment */
  #pg-crypto-meta{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Ensure the bottom drawer (pill) can render (SoT shows it) */
  #pg-crypto-meta{
    overflow: visible !important; /* allow drawer to show */
    padding-bottom: 28px !important; /* reserve space for drawer */
  }
  /* Closed state: make the base layout a clean 3-col grid (labels row + values row) */
  #pg-crypto-meta{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: 22px 34px !important; /* room for 15px labels + 22px values */
    column-gap: 18px !important;
    row-gap: 4px !important;
    align-items: start !important;
    align-content: start !important; /* keep grid pinned to top (no stretch) */
  }
  /* Remove any legacy "tile" styling inside the meta items (we want pure text) */
  #pg-crypto-meta .pg-crypto-meta-item{
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
  }
  /* --- Column 1: CURRENT PRICE --- */
  #pg-crypto-meta .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-label{
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.78) !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  #pg-crypto-meta .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-value{
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
    color: rgba(255,255,255,0.98) !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  /* Hide price-lock note + change in CLOSED */
  #pg-crypto-meta .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-note{ display:none !important; }
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-change{ display:none !important; }
  /* --- Column 2: TOKEN AMOUNT --- */
  #pg-crypto-meta .pg-crypto-meta-item:nth-child(2) .pg-crypto-meta-label{
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.78) !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  #pg-crypto-meta .pg-crypto-meta-item:nth-child(2) #pg-meta-amount{
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    color: rgba(255,255,255,0.98) !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  /* --- Column 3: TOTAL --- */
  #pg-crypto-meta #pg-crypto-meta-note{
    grid-column: 3 / 4 !important;
    grid-row: 2 / 3 !important;
    align-self: start !important;
    justify-self: end !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: rgba(255,255,255,0.98) !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    position: relative !important;
  }
  /* Put the TOTAL label above the amount (SoT header row) */
  #pg-crypto-meta #pg-crypto-meta-note::before{
    content: "TOTAL";
    position: absolute;
    right: 0;
    top: -22px; /* aligns with label row */
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.78) !important;
    white-space: nowrap !important;
    pointer-events: none;
  }
  #pg-crypto-meta #pg-crypto-meta-note .pg-meta-total-label{ display:none !important; } /* SoT header is separate */
  #pg-crypto-meta #pg-crypto-meta-note .pg-meta-total-amount{ font-weight: 700 !important; font-size: 15px !important; }
  #pg-crypto-meta #pg-crypto-meta-note .pg-meta-total-usd{
    font-weight: 400 !important;
    font-size: 11px !important;
    opacity: 0.86 !important;
    margin-left: 6px !important;
    letter-spacing: 0.10em !important;
  }
  /* Hide network + path in CLOSED (OPEN-only) */
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-method{ display:none !important; }
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-path{ display:none !important; }
  #pg-crypto-meta:not(.is-ad-open) .pg-meta-assethead{ display:none !important; }
  #pg-crypto-meta:not(.is-ad-open) .pg-crypto-meta-item:nth-child(3){ display:none !important; }
  /* OPEN state: restore the 3rd item and details (existing rules still apply) */
  #pg-crypto-meta.is-ad-open .pg-crypto-meta-item:nth-child(3){ display:block !important; }
  /* Bottom drawer / pill: ensure it is visible and aligned (matches rewards language) */
  #pg-crypto-meta .pg-ad-bottom{
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important; /* visible inside the card */
    height: 34px !important;
    border-radius: 0 0 18px 18px !important;
    pointer-events: auto !important;
    z-index: 6 !important;
    overflow: hidden !important;
    background: transparent !important;
  }
  /* If any earlier rule pushed it outside, override */
  #pg-crypto-meta .pg-ad-toggle{
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 34px !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
  }
}
/* =========================================================
   STEP 191 — MOBILE ONLY: ASSET DATA CLOSED VIEW (SoT TYPO + TRUE 3-COL)
   Fixes:
   - CLOSED state shows ONLY: Current Price / Token Amount / Total (Payment Network hidden)
   - Labels: Segoe UI 15px (uppercase)
   - Values: Segoe UI 22px bold
   - Ensure columns do not collapse/overlap
   - Make pill + sweep visible in CLOSED by keeping ribbon INSIDE container (no overflow clip)
   Scope: ONLY #pg-crypto-meta on mobile (<=520px)
========================================================= */
@media (max-width: 520px){
  /* ---- CLOSED STATE ONLY ---- */
  #pg-crypto-meta:not(.is-ad-open){
    /* lock SoT height and reserve space for the bottom ribbon */
    height: 112px !important;
    padding: 14px 14px 40px !important; /* bottom space for ribbon/pill */
    overflow: hidden !important;        /* keep glass clean; ribbon is now inside */
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: 18px 30px !important;
    column-gap: 16px !important;
    row-gap: 6px !important;
    align-items: start !important;
    align-content: start !important; /* keep grid pinned to top (no stretch) */
  }
  /* Hide the 3rd meta tile (Payment Network) in CLOSED */
  #pg-crypto-meta:not(.is-ad-open) .pg-crypto-meta-item:nth-child(3){
    display:none !important;
  }
  /* neutralize any tile padding that could push text off-grid */
  #pg-crypto-meta:not(.is-ad-open) .pg-crypto-meta-item{
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
  }
  /* ----- LABELS (row 1) ----- */
  #pg-crypto-meta:not(.is-ad-open) .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-label{
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 300 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.78) !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  #pg-crypto-meta:not(.is-ad-open) .pg-crypto-meta-item:nth-child(2) .pg-crypto-meta-label{
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    justify-self: center !important;
    text-align: center !important;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 300 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.78) !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  /* TOTAL label comes from the note block */
  #pg-crypto-meta:not(.is-ad-open) #pg-crypto-meta-note .pg-meta-total-label{
    display:block !important;
    grid-column: 3 / 4 !important;
    grid-row: 1 / 2 !important;
    justify-self: end !important;
    text-align: right !important;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 300 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.78) !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  /* ----- VALUES (row 2) ----- */
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-price{
    grid-column: 1 / 2 !important;
    grid-row: 2 / 3 !important;
    justify-self: start !important;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    color: rgba(255,255,255,0.98) !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }
  /* In CLOSED: hide percent change next to price */
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-change{ display:none !important; }
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-amount{
    grid-column: 2 / 3 !important;
    grid-row: 2 / 3 !important;
    justify-self: center !important;
    text-align: center !important;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 300 !important;
    letter-spacing: 0.01em !important;
    color: rgba(255,255,255,0.98) !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }
  /* Place the TOTAL value block in col 3 row 2 */
  #pg-crypto-meta:not(.is-ad-open) #pg-crypto-meta-note{
    grid-column: 3 / 4 !important;
    grid-row: 2 / 3 !important;
    justify-self: end !important;
    align-self: start !important;
    text-align: right !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  #pg-crypto-meta:not(.is-ad-open) #pg-crypto-meta-note .pg-meta-total-amount{
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 100 !important;
    letter-spacing: 0.01em !important;
    color: rgba(255,255,255,0.98) !important;
    line-height: 1.05 !important;
  }
  #pg-crypto-meta:not(.is-ad-open) #pg-crypto-meta-note .pg-meta-total-usd{
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    opacity: 0.86 !important;
    margin-left: 6px !important;
    letter-spacing: 0.10em !important;
  }
  /* Hide legacy "Price Lock 90s" note entirely (SoT closed doesn't show it) */
  #pg-crypto-meta:not(.is-ad-open) .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-note{
    display:none !important;
  }
  /* Hide network/path in CLOSED (open-only details) */
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-method{ display:none !important; }
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-path{ display:none !important; }
  #pg-crypto-meta:not(.is-ad-open) .pg-meta-assethead{ display:none !important; }
  /* ----- Bottom ribbon + pill (INSIDE container so it can't be clipped) ----- */
  #pg-crypto-meta .pg-ad-bottom{
    left:0 !important;
    right:0 !important;
    bottom:0 !important;          /* was negative */
    height:24px !important;
    border-radius: 0 0 18px 18px !important;
  }
  #pg-crypto-meta .pg-ad-pill{
    bottom:6px !important;        /* was negative */
    width: 36px !important;
    height: 8px !important;
  }
}
/* =========================================================
   STEP-200 UPDATE (MOBILE ONLY) — TRUE FULL-WIDTH ASSET DATA
   Goal: Make #pg-crypto-meta match the full-bleed width behavior
         of the Rewards container, WITHOUT altering any open/close
         logic or lighting system.
   Root cause: parent card (.pg-card.pg-main-card) has 12px side padding,
               so children max out at (100% - 24px). We cancel that here.
   Changes: width full-bleed + left/right negative margins only.
========================================================= */
@media (max-width: 520px){
  /* Full-bleed inside the main card (cancels 12px L/R padding on .pg-main-card) */
  #pg-crypto-meta{
    width: calc(100% + 24px) !important;
    max-width: calc(100% + 24px) !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    justify-self: stretch !important;
    box-sizing: border-box !important;
  }
}
/* =========================================================
   STEP 203 — MOBILE ONLY: ASSET DATA (CLOSED STATE) SoT MATCH
   Goal (CLOSED only): show exactly 3 columns:
   CURRENT PRICE | TOKEN AMOUNT | TOTAL
   Typography spec (per AJ):
   - Labels: 12px / 400 / letter-spacing 0.1em (uppercase)
   - Values: 14px / 675 / letter-spacing 0.1em
   Notes:
   - Keep existing container + open/close logic intact.
   - We only normalize CLOSED layout + typography.
========================================================= */
@media (max-width: 520px){
  /* Ensure the meta card itself is full-bleed like Rewards (mobile only) */
  #pg-crypto-meta{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  /* ---- CLOSED STATE ONLY ---- */
  #pg-crypto-meta:not(.is-ad-open){
    /* keep your finalized glass/container — only layout/spacing */
    height: 84px !important;
    padding: 14px 14px 26px !important; /* keep bottom space for pill/sweep */
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto !important;
    column-gap: 18px !important;
    row-gap: 6px !important;
    align-items: start !important;
    align-content: start !important; /* keep grid pinned to top (no stretch) */
  }
  /* In CLOSED, make each meta-item “transparent” to the parent grid so its children can be placed in the 3-col grid */
  #pg-crypto-meta:not(.is-ad-open) .pg-crypto-meta-item{
    display: contents !important;
  }
  /* Hide OPEN-only / extra content in CLOSED */
  #pg-crypto-meta:not(.is-ad-open) .pg-crypto-meta-item:nth-child(3){ display:none !important; } /* Payment Network tile */
  #pg-crypto-meta:not(.is-ad-open) .pg-meta-assethead{ display:none !important; }
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-method{ display:none !important; }
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-path{ display:none !important; }
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-change{ display:none !important; }
  #pg-crypto-meta:not(.is-ad-open) .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-note{ display:none !important; } /* “Price Lock 90s” */
  /* ---- LABELS (Row 1) ---- */
  #pg-crypto-meta:not(.is-ad-open) .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-label{
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
    justify-self: start !important;
    text-align: left !important;
  }
  #pg-crypto-meta:not(.is-ad-open) .pg-crypto-meta-item:nth-child(2) .pg-crypto-meta-label{
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    justify-self: center !important;
    text-align: center !important;
  }
  /* TOTAL label is generated above the amount (keeps DOM clean) */
  #pg-crypto-meta:not(.is-ad-open) #pg-crypto-meta-note{
    grid-column: 3 / 4 !important;
    grid-row: 2 / 3 !important;
    justify-self: end !important;
    text-align: right !important;
    position: relative !important;
  }
  #pg-crypto-meta:not(.is-ad-open) #pg-crypto-meta-note::before{
    content: none !important;
    display: none !important;
  }
  /* TOTAL label — use the real DOM node (avoids pseudo spacing weirdness) */
  #pg-crypto-meta:not(.is-ad-open) #pg-crypto-meta-note .pg-meta-total-label{
    display: block !important;
    position: absolute !important;
    right: 0 !important;
    top: -20px !important; /* aligns with row-1 labels */
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.78) !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    pointer-events: none !important;
  }
  /* ---- VALUES (Row 2) ---- */
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-price{
    grid-column: 1 / 2 !important;
    grid-row: 2 / 3 !important;
    justify-self: start !important;
    text-align: left !important;
  }
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-amount{
    grid-column: 2 / 3 !important;
    grid-row: 2 / 3 !important;
    justify-self: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  /* Shared value typography */
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-price,
  #pg-crypto-meta:not(.is-ad-open) #pg-meta-amount,
  #pg-crypto-meta:not(.is-ad-open) #pg-crypto-meta-note .pg-meta-total-amount{
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 675 !important;
    letter-spacing: 0.1em !important;
    color: rgba(255,255,255,0.96) !important;
    margin: 0 !important;
    line-height: 1.15 !important;
  }
  /* TOTAL amount + USD styling */
  #pg-crypto-meta:not(.is-ad-open) #pg-crypto-meta-note .pg-meta-total-label{ display: block !important; } /* SoT: no “Total” label inline */
  #pg-crypto-meta:not(.is-ad-open) #pg-crypto-meta-note .pg-meta-total-usd{
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 0.1em !important;
    opacity: 0.86 !important;
    margin-left: 6px !important;
    white-space: nowrap !important;
  }
}
/* =========================================================
   STEP-204 PATCH (MOBILE ONLY) — RESTORE TRUE FULL-WIDTH
   Reason: ensure #pg-crypto-meta remains full-bleed even if
           later rules reintroduce constrained widths.
   Scope: width only (no layout/typography changes).
========================================================= */
@media (max-width: 520px){
  #pg-crypto-meta{
    width: calc(100% + 24px) !important;
    max-width: calc(100% + 24px) !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    justify-self: stretch !important;
    box-sizing: border-box !important;
  }
}
/* =============================================================
   STEP-219 — OPEN STATE: REMOVE DUPLICATE HEADER + MIRROR CLOSED (ROBUST)
   Scope: MOBILE ONLY (<=520px)
   Why:
     - OPEN state was still rendering / positioning a second header (labels + values)
       because nth-child targeting is unreliable when #pg-crypto-meta has extra children.
   Approach:
     - In OPEN state, hide ALL .pg-crypto-meta-label nodes.
     - Recreate the 3 header labels via ::before on the 3 value nodes, identical to CLOSED.
     - Place the 3 value nodes directly into the parent grid rows 1-2.
     - Keep details strictly below header (rows 3-4) with zero header shift.
   Touches: #pg-crypto-meta.is-ad-open only.
   ============================================================= */
@media (max-width: 520px){
  /* OPEN container grid: header rows + detail rows */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    grid-template-rows: 18px 30px 40px 22px !important; /* label, value, detail, detail */
    column-gap: 16px !important;
    row-gap: 6px !important;
    align-items: start !important;
    align-content: start !important; /* keep grid pinned to top (no stretch) */
  }
  /* Make .pg-crypto-meta-item transparent to grid so we can position inner nodes by id */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open .pg-crypto-meta-item{ display: contents !important; }
  /* 1) Nuke ALL built-in labels in OPEN (prevents any duplicate header / 'NETWORK' etc) */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open .pg-crypto-meta-label{ display:none !important; }
  /* 2) HEADER VALUES — lock positions (same as CLOSED) */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-price{
    grid-column: 1 / 2 !important;
    grid-row: 2 / 3 !important;
    justify-self: start !important;
    text-align: left !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-amount{
    grid-column: 2 / 3 !important;
    grid-row: 2 / 3 !important;
    justify-self: center !important;
    text-align: center !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-crypto-meta-note{
    grid-column: 3 / 4 !important;
    grid-row: 2 / 3 !important;
    justify-self: end !important;
    text-align: right !important;
    margin: 0 !important;
    white-space: nowrap !important;
    position: relative !important; /* for TOTAL ::before */
  }
  /* Kill legacy note blocks that should never appear in the SoT header */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open .pg-crypto-meta-note{ display:none !important; }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-change{ display:none !important; }
  /* Ensure any inline TOTAL label inside the note is off (we render TOTAL via ::before) */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-crypto-meta-note .pg-meta-total-label{ display:none !important; }
  /* 3) HEADER LABELS via ::before (Row 1) — matches CLOSED typography */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-price,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-amount,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-crypto-meta-note{
    padding-top: 18px !important; /* creates space for the label row */
    top: -23px !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-price::before,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-amount::before,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-crypto-meta-note::before{
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    content: "";
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 300 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.78) !important;
    white-space: nowrap !important;
    pointer-events: none;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-price{ position: relative !important; }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-amount{ position: relative !important; }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-price::before{ content:"PRICE"; }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-amount::before{ content:"TOKEN AMOUNT"; left:50%; transform: translateX(-50%); }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-crypto-meta-note::before{ content:"TOTAL"; right:0; left:auto; }
  /* 4) DETAILS — positioned below header (match Finalized Open design) */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open .pg-meta-assethead{
    grid-column: 1 / 2 !important;
    grid-row: 3 / 5 !important;
    display:flex !important;
    align-items:center !important;
    gap: 10px !important;
    justify-self: start !important;
    align-self: start !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-method{
    grid-column: 2 / 3 !important;
    grid-row: 3 / 4 !important;
    justify-self: center !important;
    align-self: center !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    position: relative !important;
    top: -14px !important;
    max-width: 100% !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-path{
    grid-column: 2 / 3 !important;
    grid-row: 4 / 5 !important;
    justify-self: center !important;
    align-self: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    position: relative !important;
    top: -8px !important;
  }
  /* =============================================================
     STEP-241 — MICRO ADJUSTMENTS (MOBILE OPEN STATE ONLY)
     Goal: Match CLOSED header vertical placement 1:1
     - Move BTC mainnet (#pg-meta-method) up 2px
     - Move path line (#pg-meta-path) up 20px and left 5px
     - Prevent clipping while nudging position
     - Restore / pin % change (#pg-meta-change) under assethead
     ============================================================= */
  /* Network line (e.g., BTC mainnet) — FINAL: align with BTC ticker row */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-method{
    position: relative !important;
    top: -15px !important;
  }
  /* Path line (e.g., BTC - Stablecoin - FIAT - Instantly) — FINAL placement */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-path{
    position: relative !important;
    top: -25px !important;  /* move UP 15px */
    left: -10px !important;  /* move LEFT 5px */
    overflow: visible !important;
    text-overflow: clip !important;
  }
  /* The note wrapper that contains #pg-meta-path can clip; force visible */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open .pg-crypto-meta-note{
    overflow: visible !important;
  }
  /* % change under assethead (left column detail) */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-change{
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    grid-column: 1 / 2 !important;
    grid-row: 3 / 4 !important;
    justify-self: start !important;
    align-self: start !important;
    margin-top: 17px !important; /* move DOWN 15px */
    opacity: 1 !important;
  }
}
/* =============================================================
   STEP-224 PATCH — OPEN STATE: Restore TOTAL + Lock Header (Mobile Only)
   Goal:
     - In OPEN (.is-ad-open), the top header (PRICE / TOKEN AMOUNT / TOTAL) must be
       identical to CLOSED with zero shift.
     - Move "Payment Network" / path content into the detail rows (no overlap with header).
     - Ensure TOTAL label + value are visible in OPEN (right column).
   Touches: #pg-crypto-meta (mobile <=520px) only
============================================================= */
@media (max-width: 520px){
  /* 0) Header always wins: keep TOTAL note in the top-right value cell */
  #pg-crypto-meta.is-ad-open #pg-crypto-meta-note{
    display:block !important;
    grid-column: 3 / 4 !important;
    grid-row: 2 / 3 !important;
    align-self: start !important;
    justify-self: end !important;
    z-index: 6 !important;
  }
  /* Keep the TOTAL label (pseudo) in the top label row */
  #pg-crypto-meta.is-ad-open #pg-crypto-meta-note::before{
    top: 0px !important; /* identical to closed header alignment */
    z-index: 6 !important;
  }
  /* 1) Prevent the 3rd meta item's label/value from colliding with header */
  #pg-crypto-meta.is-ad-open .pg-crypto-meta-item:nth-child(3) .pg-crypto-meta-label{
    display:none !important; /* hides "Payment Network" label */
  }
  /* 2) Reposition OPEN detail content into rows 3-4 (matches SoT opened design) */
  /* Logo + ticker block (left column, row 3) */
  #pg-crypto-meta.is-ad-open .pg-meta-assethead{
    display:flex !important;
    grid-column: 1 / 2 !important;
    grid-row: 3 / 4 !important;
    align-self: center !important;
    justify-self: start !important;
    margin-top: -10px;
    padding-top: 0 !important;
    z-index: 6 !important;
  }
  /* % change (left column, row 4) */
  #pg-crypto-meta.is-ad-open #pg-meta-change{
    display:flex !important;
    grid-column: 1 / 2 !important;
    grid-row: 4 / 5 !important;
    align-self: start !important;
    justify-self: start !important;
    margin: 4px 0 0 0 !important; /* no push into header */
    z-index: 6 !important;
  }
  /* Network method (middle column, row 3) */
  #pg-crypto-meta.is-ad-open #pg-meta-method{
    display:block !important;
    grid-column: 2 / 3 !important;
    grid-row: 3 / 4 !important;
    align-self: center !important;
    justify-self: start !important;
    margin: 0 !important;
    z-index: 6 !important;
  }
  /* Path text (middle column, row 4) */
  #pg-crypto-meta.is-ad-open .pg-crypto-meta-item:nth-child(3) .pg-crypto-meta-note{
    display:block !important;
    grid-column: 2 / 4 !important;
    grid-row: 4 / 5 !important;
    align-self: start !important;
    justify-self: start !important;
    margin: 4px 0 0 0 !important;
    z-index: 6 !important;
  }
  #pg-crypto-meta.is-ad-open #pg-meta-path{
    display:inline !important;
    white-space: nowrap !important;
  }
  /* 3) Disable any legacy rule that "restores" item 3 as a header column */
  #pg-crypto-meta.is-ad-open .pg-crypto-meta-item:nth-child(3){
    /* stays flattened via display:contents from base rules; nothing to do here */
  }
}
/* =============================================================
   STEP-236 — OPEN STATE: MATCH CLOSED HEADER PADDING (NO SHIFT)
   Scope: MOBILE ONLY (<=520px)
   Fix:
     - OPEN state was inheriting padding: 0 (computed top/left/right 0px)
     - CLOSED state uses padding: 14px 14px ... (header alignment)
     - We set OPEN to the same left/right/top padding so PRICE/TOKEN/TOTAL
       sit 1:1 between CLOSED and OPEN.
   ============================================================= */
@media (max-width: 520px){
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open{
    padding-top: 10px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    /* keep the OPEN bottom breathing room consistent with the open layout */
    padding-bottom: 28px !important;
    align-content: start !important; /* keep grid pinned to top (no stretch) */
    box-sizing: border-box !important;
  }
}
/* POPUP GAP FIX: ensure Duda wrappers do not force fixed height (CSS fallback) */
html.zelen-gateway-embed #dmFirstContainer,
html.zelen-gateway-embed #dmStyle_innerContainer,
html.zelen-gateway-embed #dmStyle_outerContainer,
html.zelen-gateway-embed .dmLayoutWrapper,
html.zelen-gateway-embed .site_content,
html.zelen-gateway-embed .dmInner,
html.zelen-gateway-embed .dmOuter,
html.zelen-gateway-embed .dmRespRow,
html.zelen-gateway-embed .dmRespColsWrapper,
html.zelen-gateway-embed .dmRespCol,
html.zelen-gateway-embed .dmCustomHtml{
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
    /* Desktop/Tablet safety: never show Apply Rewards body markup */
/* =========================================================
   APPLY REWARDS — BLACK OVERLAY (MOBILE ONLY)
   Trigger: #pg-ar-switch (ON)  •  Micro-delay before showing
   Bounds: top of #pg-rewards-code → top of #pg-hybredpayment-hero
   ========================================================= */
@media (max-width: 520px){
  #pg-ar-overlay{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: none;
    pointer-events: auto;
    background: rgba(0,0,0,0.78);
    /* strong dark glass like SoT */
    backdrop-filter: blur(10px) saturate(0.90);
    -webkit-backdrop-filter: blur(10px) saturate(0.90);
    z-index: 10000;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.72),
      0 0 0 1px rgba(255,255,255,0.06) inset,
      0 0 0 1px rgba(var(--accent-rgb),0.10);
    overflow: hidden;
  }
  /* ===== Apply Rewards overlay CONTENT (mobile-only) ===== */
  #pg-ar-overlay{
    --pg-ar-rewards-h: 74px; /* JS updates to match #pg-rewards-code height */
    /* ===== CONTROL POINTS (Apply Rewards keypad + amount) ===== */
    --pg-ar-content-shift-y: -40px; /* move amount+keypad DOWN (Y) */
    --pg-ar-content-shift-x: 0px;   /* move amount+keypad LEFT/RIGHT (X) */
    --pg-ar-enter-shift-x: 100px;   /* move $ amount LEFT/RIGHT without moving keypad */
    --pg-ar-enter-shift-y: 8px;   /* move $ amount DOWN/UP without moving keypad */
    --pg-ar-enter-font-size: 35px;  /* $ amount size */
    --pg-ar-enter-font-weight: 450; /* $ amount weight */
  }
  #pg-ar-overlay .pg-ar-inner{
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  padding: calc(var(--pg-ar-rewards-h) + 18px) 16px 16px;
    gap: 18px;
  }
  /* Content wrapper that actually moves (so control points always work) */
  #pg-ar-overlay .pg-ar-stack{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    transform: translate3d(var(--pg-ar-content-shift-x), var(--pg-ar-content-shift-y), 0);
    will-change: transform;
    position: relative;
  }
  /* Ensure amount sits ABOVE keypad (guards against any DOM / builder reordering) */
  #pg-ar-overlay .pg-ar-enter{ order: 0; width: 100%; }
  #pg-ar-overlay #pg-ar-keypad{ order: 1; }
  /* Amount readout */
  #pg-ar-entered.pg-ar-entered{
    width: 100%;
    text-align: center;
    font-size: var(--pg-ar-enter-font-size);
    line-height: 1;
    font-weight: var(--pg-ar-enter-font-weight);
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.92);
    text-shadow:
      0 18px 46px rgba(0,0,0,0.65),
      0 0 22px rgba(var(--accent-rgb),0.10);
    user-select: none;
    pointer-events: none;
      transform: translate3d(var(--pg-ar-enter-shift-x), var(--pg-ar-enter-shift-y), 0);
  }
  /* Keypad grid */
  #pg-ar-keypad.pg-ar-keypad{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 36px;
    align-items: center;
    justify-items: center;
    padding: 6px 4px 2px;
  }
  #pg-ar-keypad .pg-ar-key{
    width: 100%;
    height: 64px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,0.92);
    font-size: 34px;
    font-weight: 300;
    letter-spacing: 0.2px;
    border-radius: 18px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
  }
  #pg-ar-keypad .pg-ar-key span{
    display: inline-block;
    transform: translateZ(0);
    filter: drop-shadow(0 10px 28px rgba(0,0,0,0.55));
  }
  /* Elegant press feedback (micro animation) */
  #pg-ar-keypad .pg-ar-key::before{
    content:"";
    position:absolute;
    inset: 8px 18px;
    border-radius: 999px;
    background: radial-gradient(120px 60px at 50% 55%, rgba(255,255,255,0.10), rgba(255,255,255,0));
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 140ms ease, transform 160ms cubic-bezier(.2,.9,.2,1);
    pointer-events:none;
  }
  #pg-ar-keypad .pg-ar-key.is-pressed::before{
    opacity: 1;
    transform: scale(1);
  }
  #pg-ar-keypad .pg-ar-key.is-pressed span{
    transform: scale(0.94);
    transition: transform 120ms cubic-bezier(.2,.9,.2,1);
  }
  /* Backspace icon sizing */
  #pg-ar-keypad .pg-ar-key-back{
    font-size: 40px;
  }
  #pg-ar-keypad .pg-ar-key-back .pg-ar-back{
    font-size: 42px;
    line-height: 1;
    opacity: 0.92;
  }
  }
  html.pg-ar-overlay-open #pg-ar-overlay{
    display: block;
  }
  /* When Apply Rewards overlay is open, LOCK the rewards card (no expand/collapse / no pill) */
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-toggle,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-toggle *{
    pointer-events: none !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-indicator,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-toggle-chev,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-chev-svg{
    opacity: 0 !important;
  }
  /* Disable rewards drawer interactions while Apply Rewards overlay is open */
  html.pg-ar-overlay-open #pg-rewards-code,
  html.pg-ar-overlay-open #pg-rewards-code *{
    pointer-events: none !important;
  }
  html.pg-ar-overlay-open #pg-rw-toggle{
    pointer-events: none !important;
  }
  /* Keep ONLY the hybrid pay hero ABOVE the overlay (Pay buttons + switch) */
  html.pg-ar-overlay-open #pg-hybredpayment-hero{
    position: relative;
    z-index: 10020;
  }
  /* Keep the footer dock ABOVE the overlay WITHOUT changing its fixed positioning */
  html.pg-ar-overlay-open #pg-mobile-dock.pg-mobile-dock{
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 10020 !important;
  }
/* Rewards Data OVERVIEW above the overlay (no shift) */
html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card{
  position: relative;
  z-index: 10020;
}
/* While overlay is open, remove the rewards-card outline/box and keep ONLY a top hairline */
html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
/* Replace the full border pseudo with a single top ghost line */
html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::before{
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(var(--accent-rgb),0.22) 16%,
    rgba(255,255,255,0.16) 52%,
    rgba(var(--accent-rgb),0.18) 76%,
    rgba(255,255,255,0) 100%);
  opacity: 0.92;
  filter: drop-shadow(0 0 10px rgba(var(--accent-rgb),0.18));
}
html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::after{
  content: none !important;
}
/* Auto-open rewards drawer while overlay is open (visual only — no input) */
html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar{
  display: none !important; /* hide Enter Rewards Code */
}
/* Opacity rules inside the expanded rewards view */
html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-assetmeta,
html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-mid{
  opacity: 0.50;
}
html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-title,
html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card #pg-rw-usd{
  opacity: 1;
}
}
    @media (min-width: 521px){
      #pg-crypto-meta .pg-ar-body{ display:none !important; }
    }
/* =========================================================
       APPLY REWARDS SCREEN (MOBILE ONLY)
       Triggered by: tapping "Pay Now" (button.pg-hph-side.pg-hph-right)
       - Reuses #pg-crypto-meta shell + top hairline + top glow
       - Locks container to expanded height (186px)
       - Hides the asset-details ribbon/pill for this screen
       ========================================================= */
    @media (max-width: 520px){
      /* When Apply Rewards is active */
      #pg-crypto-meta.is-ar-open{
        height: 186px !important; /* Photoshop measured */
        grid-template-rows: 18px 30px auto !important;
        align-content: start !important;
        padding-bottom: 14px !important;
      }
      /* Keep ONLY the 3 top tiles + their values; hide meta notes in this screen */
      #pg-crypto-meta.is-ar-open .pg-crypto-meta-note{
        display:none !important;
      }
       /* Keep TOTAL visible in Apply Rewards */
       #pg-crypto-meta.is-ar-open #pg-crypto-meta-note{
         display:block !important;
       }
      /* Remove the bottom ribbon/pill for Apply Rewards */
      #pg-crypto-meta.is-ar-open .pg-ad-bottom{
        display:none !important;
      }
      /* Body area (title + switch + available) */
      #pg-crypto-meta .pg-ar-body{
        display:none;
        opacity:0;
        transform: translateY(-6px);
        transition:
          opacity 180ms ease,
          transform 220ms cubic-bezier(.2,.9,.2,1);
        padding: 8px 12px 0 12px;
        grid-column: 1 / -1;
        position: relative;
        z-index: 2;
      }
      #pg-crypto-meta.is-ar-open .pg-ar-body{
        display:block;
        opacity:1;
        transform:none;
      }
      #pg-crypto-meta .pg-ar-title{
        font-size: 16px;
        font-weight: 650;
        letter-spacing: 0.2px;
        color: rgba(255,255,255,0.92);
        text-shadow: 0 10px 22px rgba(0,0,0,0.55);
        margin: -15px 0 10px 0;
      }
      #pg-crypto-meta .pg-ar-row{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap: 12px;
      }
      /* Switch */
      #pg-crypto-meta .pg-ar-switch{
        appearance: none;
        -webkit-appearance: none;
        border: 0;
        background: transparent;
        padding: 0;
        margin: 0;
        width: 100px;
        height: 40px;
        border-radius: 999px;
        cursor: pointer;
        position: relative;
        outline: none;
        touch-action: pan-y;
        z-index: 25;
        pointer-events: auto !important;
      }
      #pg-crypto-meta .pg-ar-switch,
      #pg-crypto-meta .pg-ar-switch *{
        pointer-events: auto !important;
      }
      #pg-crypto-meta .pg-ar-track{
        position:absolute;
        inset: 0;
        border-radius: 999px;
        background:
          radial-gradient(120% 140% at 50% 24%, rgba(255,255,255,0.08), rgba(0,0,0,0.00) 58%),
          linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
        border: 1px solid rgba(235,245,255,0.18);
        box-shadow:
          inset 0 1px 0 rgba(255,255,255,0.08),
          0 14px 30px rgba(0,0,0,0.55);
        overflow:hidden;
      }
      #pg-crypto-meta .pg-ar-track::after{
        content:"";
        position:absolute;
        inset:0;
        opacity: 0;
        transition: opacity 220ms ease;
        background:
          radial-gradient(120% 140% at 50% 18%, rgba(var(--pg-ad-rgb),0.28), rgba(0,0,0,0.00) 62%),
          linear-gradient(180deg, rgba(var(--pg-ad-rgb),0.30), rgba(var(--pg-ad-rgb),0.14));
      }
      #pg-crypto-meta .pg-ar-knob{
        position:absolute;
        top: 4px;
        left: 4px;
        width: 32px;
        height: 32px;
        border-radius: 999px;
        background:
          radial-gradient(120% 120% at 40% 30%, rgba(255,255,255,0.22), rgba(255,255,255,0.06) 55%, rgba(0,0,0,0.10) 100%),
          linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
        border: 1px solid rgba(var(--pg-ad-rgb),0.55);
        box-shadow:
          0 10px 22px rgba(0,0,0,0.52),
          inset 0 1px 0 rgba(255,255,255,0.10);
        transform: translateX(0);
        transition: transform 240ms cubic-bezier(.2,.9,.2,1);
        will-change: transform;
      }
      /* ON state */
      #pg-crypto-meta .pg-ar-switch.is-on .pg-ar-track::after{
        opacity: 1;
      }
      #pg-crypto-meta .pg-ar-switch.is-on .pg-ar-knob{
        transform: translateX(60px); /* 100 - 4 - 32 - 4 = 60 */
        background:
          radial-gradient(120% 120% at 40% 30%, rgba(255,255,255,0.22), rgba(var(--pg-ad-rgb),0.22) 52%, rgba(0,0,0,0.08) 100%),
          linear-gradient(180deg, rgba(var(--pg-ad-rgb),0.55), rgba(var(--pg-ad-rgb),0.26));
        border-color: rgba(var(--pg-ad-rgb),0.62);
        box-shadow:
          0 12px 26px rgba(0,0,0,0.55),
          0 0 18px rgba(var(--pg-ad-rgb),0.18);
      }
      /* Rewards meta (right side) */
      #pg-crypto-meta .pg-ar-meta{
        min-width: 0;
        display:flex;
        justify-content:flex-end;
        flex: 1 1 auto;
      }
      #pg-crypto-meta .pg-ar-meta-top{
        display:flex;
        align-items:center;
        gap: 10px;
        min-width: 0;
      }
      #pg-crypto-meta .pg-ar-zlogo{
        width: 20px;
        height: 20px;
        margin-top: -21px;
        border-radius: 7px;
        flex: 0 0 auto;
        filter:
          drop-shadow(0 0 10px rgba(var(--pg-ad-rgb),0.26))
          drop-shadow(0 10px 18px rgba(0,0,0,0.55));
      }
      #pg-crypto-meta .pg-ar-meta-lines{ min-width: 0; }
      #pg-crypto-meta .pg-ar-meta-line1{
        display:flex;
        align-items:baseline;
        gap: 8px;
        white-space: nowrap;
      }
      #pg-crypto-meta .pg-ar-ticker{
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.92);
        text-shadow: 0 12px 26px rgba(0,0,0,0.55);
      }
      #pg-crypto-meta .pg-ar-price{
        font-size: 14px;
        font-weight: 400;
        color: rgba(255,255,255,0.78);
        text-shadow: 0 12px 26px rgba(0,0,0,0.55);
      }
      #pg-crypto-meta .pg-ar-meta-line2{
        margin-top: 2px;
        font-size: 14px;
        font-weight: 400;
        color: rgba(255,255,255,0.86);
        text-shadow:
          0 12px 26px rgba(0,0,0,0.55),
          0 0 14px rgba(255,255,255,0.10);
        white-space: nowrap;
      }
      #pg-crypto-meta .pg-ar-usd{
        font-weight: 650;
        color: rgba(255,255,255,0.96);
      }
    }
/* --- Step 270: Move Change Arrow + Change Value (90px Right, 30px Up) --- */
/* IMPORTANT: Only targeting the specific selectors requested */
#pg-rewards-code .pg-rw-arrow,
#pg-rewards-code .pg-rw-change-val {
  position: relative;
  left: 78px;
  top: -20px;
}
/* --- Step 311b: Desktop/Tablet hard-hide Rewards Keypad Overlay (remove top-left numbers) --- */
@media (min-width: 521px){
  #pg-ar-overlay,
  #pg-ar-overlay * ,
  #pg-ar-keypad,
  #pg-ar-entered{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
  }
}
/* =========================================================
   STEP 1118 — MOBILE ONLY: COMPACT ORDER REVIEW HEADER STANDARD
   Goal:
   - Keep the header footprint compact; do NOT add vertical height
   - No pill-style order card; use a light, elegant rectangular glass outline
   - Align Total visually to the right edge under ZELEN Pay
   - Preserve existing .pg-os-total / #pg-order-total-display DOM and payment logic
   Scope: #pg-order-summary mobile gateway header only (<=520px)
========================================================= */
@media (max-width: 520px){
  #pg-order-summary.pg-order-summary{
    position: sticky !important;
    top: 0 !important;
    z-index: 10050 !important;
    width: calc(100% + 24px) !important;
    max-width: none !important;
    margin: -40px -12px 16px -12px !important;
    padding: 5px 0px 5px 5px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #0b0f12 !important;
    box-shadow: none !important;
    overflow: visible !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  #pg-order-summary.pg-order-summary::before,
  #pg-order-summary.pg-order-summary::after{
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    background: none !important;
    box-shadow: none !important;
    filter: none !important;
  }
  #pg-order-summary .pg-os-row{
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    grid-template-rows: 30px 64px !important;
    column-gap: 10px !important;
    row-gap: 10px !important;
    align-items: center !important;
    align-content: start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    isolation: isolate !important;
  }
  /* Elegant order-review outline — not a pill. */
  #pg-order-summary .pg-os-row::after{
    content: "" !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    border-radius: 16px !important;
    background:
      radial-gradient(520px 130px at 12% 0%, rgba(255,255,255,0.060), rgba(255,255,255,0.00) 58%),
      radial-gradient(420px 120px at 92% 16%, rgba(var(--accent-rgb, 0,255,213),0.050), rgba(var(--accent-rgb, 0,255,213),0.00) 66%),
      linear-gradient(180deg, rgba(15,20,24,0.92), rgba(7,10,12,0.96)) !important;
    border: 1px solid rgba(150,205,255,0.22) !important;
    box-shadow:
      0 12px 24px rgba(0,0,0,0.34),
      0 0 0 1px rgba(255,255,255,0.025) inset,
      inset 0 1px 0 rgba(255,255,255,0.045) !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }
  #pg-order-summary .pg-os-left{
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #pg-order-summary .pg-os-title{
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    min-height: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 1px !important;
    position: relative !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    z-index: 2 !important;
  }
  #pg-order-summary .pg-os-title::before,
  #pg-order-summary .pg-os-title::after{
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    background: none !important;
    box-shadow: none !important;
    filter: none !important;
  }
  #pg-order-summary #pg-os-merchant-logo{
    order: 1 !important;
    display: block !important;
    height: 27px !important;
    width: auto !important;
    max-width: 68% !important;
    min-width: 0 !important;
    object-fit: contain !important;
    object-position: left center !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
    vertical-align: middle !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
  #pg-order-summary .pg-os-brand{
    order: 2 !important;
    flex: 0 0 auto !important;
    display: block !important;
    height: 27px !important;
    width: auto !important;
    max-width: 32% !important;
    object-fit: contain !important;
    object-position: right center !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
    transform: none !important;
    filter: none !important;
    opacity: 0.94 !important;
  }
  #pg-order-summary .pg-os-merchant{
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: center !important;
    justify-self: stretch !important;
    margin: 0 !important;
    padding: 0 8px 0 17px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    font-size: clamp(14px, 4.65vw, 14px) !important;
    line-height: 1.02 !important;
    font-weight: 760 !important;
    color: rgba(255,255,255,0.96) !important;
    letter-spacing: -0.025em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    opacity: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent !important;
    z-index: 2 !important;
  }
  #pg-order-summary .pg-os-merchant::after{
    content: "3 items • Review  ›" !important;
    display: block !important;
    max-width: 100% !important;
    font-size: clamp(13px, 3.85vw, 13px) !important;
    line-height: 1.04 !important;
    font-weight: 650 !important;
    letter-spacing: -0.02em !important;
    color: rgba(var(--accent-rgb, 0,255,213),0.96) !important;
    text-shadow: 0 0 10px rgba(var(--accent-rgb, 0,255,213),0.14) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    opacity: 1 !important;
  }
  #pg-order-summary #pg-os-toggle.pg-os-details-btn{
    position: absolute !important;
    left: -99999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;
    min-height: 1px !important;
    max-width: 1px !important;
    max-height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  #pg-order-summary .pg-os-right{
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: center !important;
    justify-self: end !important;
    margin: 0 !important;
    padding: 0 17px 0 6px !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    text-align: right !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 2 !important;
  }
  #pg-order-summary .pg-os-meta,
  #pg-order-summary .pg-os-demo{
    display: none !important;
  }
  /* IMPORTANT: Preserve existing Total DOM/value. Visual-only typography/layout. */
  #pg-order-summary .pg-os-total{
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    white-space: nowrap !important;
    text-align: right !important;
    font-size: clamp(20px, 6.2vw, 20px) !important;
    line-height: 1 !important;
    font-weight: 820 !important;
    letter-spacing: -0.035em !important;
    color: rgba(255,255,255,0.98) !important;
    text-shadow: 0 10px 20px rgba(0,0,0,0.56) !important;
  }
  #pg-order-summary .pg-os-total #pg-order-total-display{
    display: inline !important;
    margin-left: 4px !important;
  }
  #pg-order-summary .pg-os-drawer{
    grid-column: 1 / -1 !important;
  }
}
/* ===== END STYLE BLOCK: inline-style ===== */



/* ===== BEGIN STYLE BLOCK: inline-style ===== */
(prevents JS parse failures)
     Touches: #pg-asset-row and children only
  ========================================================= */
  (function(){
    try{
      if(document.getElementById('pg-step136-style')) return;
      var st = document.createElement('style');
      st.id = 'pg-step136-style';
      st.textContent = '@media (max-width: 520px){\n  /* STEP 136 — FIX GLOW CLIP + LAYER FLANKS ABOVE HERO AURA */\n  #pg-asset-row{\n    contain: layout !important;       /* was: layout paint (clips glow) */\n    overflow: visible !important;     /* allow halos to render */\n    padding-bottom: 22px !important;  /* gives the glow room so it doesn’t hit a hard edge */\n  }\n  #pg-asset-row .pg-asset-pill{ position: relative !important; z-index: 2; }\n  #pg-asset-row .pg-asset-pill::before,\n  #pg-asset-row .pg-asset-pill::after{ z-index: 1; } /* tile highlights stay behind tile contents */\n  #pg-asset-row .pg-asset-pill > *{ position: relative; z-index: 3; } /* icon/labels always crisp */\n  #pg-asset-row .pg-asset-pill.pg-asset-active{ z-index: 3 !important; }\n  #pg-asset-row .pg-asset-pill.pg-asset-active::before{ z-index: 0 !important; } /* HERO aura behind everything */\n  #pg-asset-row .pg-asset-pill:not(.pg-asset-active){ z-index: 4 !important; }\n}';
      (document.head || document.documentElement).appendChild(st);
    }catch(_e){}
  })();
})();
/* =========================================================
   STEP 251 — MOBILE ONLY: APPLY REWARDS SCREEN (Pay Now)
   - Shows rewards number entry ONLY when rewards > 0
   - Reuses the existing mobile rewards overlay / keypad
   - Bypasses the inline Apply Rewards toggle on first Pay click
   ========================================================= */
(function(){
  // Mobile definition: keep aligned with the rest of the gateway (<= 640px).
  const mq = window.matchMedia ? window.matchMedia('(max-width: 640px)') : { matches:false };
  function isMobile(){
    const w = Math.min(window.innerWidth || 9999, document.documentElement.clientWidth || 9999);
    return (w <= 640) || !!mq.matches;
  }
  function numFrom(el){
    if(!el) return 0;
    const t = (el.textContent || '').replace(/[^0-9.]+/g,'');
    const n = parseFloat(t);
    return Number.isFinite(n) ? n : 0;
  }
  // Bind once the required DOM exists (Duda can reorder/mount after scripts run).
  const START = Date.now();
  const MAX_WAIT_MS = 6000;
  function init(){
    const metaCard  = document.getElementById('pg-crypto-meta');
    const arBody    = document.getElementById('pg-ar-body');
    const arSwitch  = document.getElementById('pg-ar-switch');
    const arPrice   = document.getElementById('pg-ar-price');
    const arUsd     = document.getElementById('pg-ar-usd');
    const rwUsd   = document.getElementById('pg-rw-usd');
    const rwPrice = document.getElementById('pg-rw-price');
    if(!metaCard || !arBody || !arSwitch){
      if(Date.now() - START < MAX_WAIT_MS) requestAnimationFrame(init);
      return;
    }
    if(metaCard.dataset.pgArBound === '1') return;
    metaCard.dataset.pgArBound = '1';
    function setArVisible(visible){
      arBody.setAttribute('aria-hidden', visible ? 'false' : 'true');
      // Inline overrides guarantee visibility even if other CSS rules win.
      if(visible){
        arBody.style.display = 'block';
        arBody.style.opacity = '1';
        arBody.style.pointerEvents = 'auto';
      }else{
        arBody.style.display = 'none';
        arBody.style.opacity = '0';
        arBody.style.pointerEvents = 'none';
      }
    }
    // --- Switch logic (tap + drag) ---
// --- Rewards Amount Overlay (black overlay) ---
const arOverlay = document.getElementById('pg-ar-overlay');
let pgArPrevRewardsOpen = null;
function forceRewardsDrawerOpenForOverlay(open){
  const card = document.getElementById('pg-rewards-code');
  if(!card) return;
  const toggleBtn = document.getElementById('pg-rw-toggle');
  const meta = card.querySelector('.pg-rw-assetmeta');
  if(open){
    if(pgArPrevRewardsOpen === null) pgArPrevRewardsOpen = card.classList.contains('is-code-open');
    card.classList.add('is-code-open');
    document.documentElement.classList.add('pg-rw-open');
    if(toggleBtn) toggleBtn.setAttribute('aria-expanded','true');
    if(meta) meta.setAttribute('aria-hidden','false');
  }else{
    if(pgArPrevRewardsOpen === null) return;
    const shouldOpen = !!pgArPrevRewardsOpen;
    card.classList.toggle('is-code-open', shouldOpen);
    document.documentElement.classList.toggle('pg-rw-open', shouldOpen);
    if(toggleBtn) toggleBtn.setAttribute('aria-expanded', shouldOpen ? 'true':'false');
    if(meta) meta.setAttribute('aria-hidden', shouldOpen ? 'false':'true');
    pgArPrevRewardsOpen = null;
  }
}
let arOverlayTimer = null;
function positionRewardsAmountOverlay(){
  if(!arOverlay) return;
  // Bounds: top of #pg-rewards-code → top of #pg-hybredpayment-hero
  const rewardsCard = document.getElementById('pg-rewards-code');
  const payHero = document.getElementById('pg-hybredpayment-hero');
  const r = rewardsCard ? rewardsCard.getBoundingClientRect() : { top: 0 };
  const p = payHero ? payHero.getBoundingClientRect() : { top: window.innerHeight };
  const top = Math.max(0, Math.round(r.top));
  const bottom = Math.max(0, Math.round(window.innerHeight - p.top));
  arOverlay.style.top = top + 'px';
  arOverlay.style.bottom = bottom + 'px';
  // Match inner layout to the visible Rewards card height
  try{
    const h = rewardsCard ? Math.max(0, Math.round(rewardsCard.getBoundingClientRect().height)) : 74;
    arOverlay.style.setProperty('--pg-ar-rewards-h', h + 'px');
  }catch(e){}
}
function openRewardsAmountOverlay(){
  if(!isMobile()) return;
  if(!arOverlay) return;
  // LOCK immediately so Rewards drawer cannot close during the micro-delay
  document.documentElement.classList.add('pg-ar-overlay-lock');
  // micro-delay (prevents "instant pop" and matches SoT feel)
  if(arOverlayTimer) clearTimeout(arOverlayTimer);
  arOverlayTimer = setTimeout(function(){
    document.documentElement.classList.add('pg-ar-overlay-open');
    arOverlay.setAttribute('aria-hidden','false');
    positionRewardsAmountOverlay();
    // Force Rewards drawer OPEN while overlay is active (prevents close/expand behind keypad)
    forceRewardsDrawerOpenForOverlay(true);
    try{ bindRewardsAmountKeypad(); }catch(e){}
  }, 90);
}
function closeRewardsAmountOverlay(){
  if(arOverlayTimer) clearTimeout(arOverlayTimer);
  arOverlayTimer = null;
  document.documentElement.classList.remove('pg-ar-overlay-open');
  document.documentElement.classList.remove('pg-ar-overlay-lock');
  if(arOverlay) arOverlay.setAttribute('aria-hidden','true');
  // Restore rewards drawer state
  forceRewardsDrawerOpenForOverlay(false);
  // Reset preview values when closing Apply Rewards
  try{ pgArCents = 0; pgArRender && pgArRender(); }catch(e){}
  // IMPORTANT: If user clicked Pay, we MUST NOT restore base totals (this would revert $0.01 -> $128.47).
  const lock = (typeof window.pgLockedTotalUSD === "number") ? window.pgLockedTotalUSD : parseFloat(String(window.pgLockedTotalUSD || "").replace(/[^0-9.]/g,''));
  if(!(Number.isFinite(lock) && lock > 0)){
    try{ pgArRestoreBase && pgArRestoreBase(); }catch(e){}
    try{ pgArBase = null; }catch(e){}
  }
}
/* =========================================================
   APPLY REWARDS — VALUE ENTRY + KEYPAD (MOBILE ONLY)
   Step 1: Visual keypad + live amount readout (#pg-ar-entered)
   (Wiring to totals + token math happens next step.)
   ========================================================= */
let pgArCents = 0;
let pgArBound = false;
function pgArFormatCents(cents){
  const v = Math.max(0, Math.floor(cents || 0));
  const dollars = (v / 100);
  return dollars.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 });
}
function pgArFormatUsd(n){
  const v = Math.max(0, Number(n || 0));
  return v.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 });
}
let pgArBase = null;
/* Capture the "pre-apply" baseline once per open session */
function pgArCaptureBase(){
  if(pgArBase) return pgArBase;
  const getNum = (el)=>{
    if(!el) return null;
    const t = (el.textContent || '').replace(/[^0-9.]/g,'').trim();
    const v = parseFloat(t);
    return isFinite(v) ? v : null;
  };
  const orderEl = document.getElementById('pg-order-total-display') || document.querySelector('.pg-meta-total-amount');
  const rewardsEl = document.getElementById('pg-rw-usd');
  const tokenEl = document.getElementById('pg-rw-amt');
  // price is shown as "$0.0375" inside the rewards card; keep 4dp+ if present
  const priceEl = document.querySelector('#pg-rewards-code .pg-rw-price, #pg-rewards-code [data-pg-rw-price], #pg-rewards-code .pg-rw-priceval');
  const order = getNum(orderEl) ?? 0;
  const rewards = getNum(rewardsEl) ?? 0;
  const tokenAmt = getNum(tokenEl) ?? 0;
  const tokenPrice = getNum(priceEl) ?? 0.0375;
  pgArBase = { order, rewards, tokenAmt, tokenPrice };
  return pgArBase;
}
function pgArRestoreBase(){
  if(!pgArBase) return;
  const setTextAll = (sel, txt)=>{
    document.querySelectorAll(sel).forEach(el=>{ try{ el.textContent = txt; }catch(e){} });
  };
  const setOne = (id, txt)=>{
    const el = document.getElementById(id);
    if(el) el.textContent = txt;
  };
  setTextAll('.pg-meta-total-amount', '$' + pgArFormatUsd(pgArBase.order));
  setOne('pg-order-total-display', '$' + pgArFormatUsd(pgArBase.order));
  setOne('pg-rw-usd', pgArFormatUsd(pgArBase.rewards));
  // Token amount: keep 4 decimals (matches SoT)
  const tokenTxt = (pgArBase.tokenAmt || 0).toLocaleString(undefined, { minimumFractionDigits: 4, maximumFractionDigits: 4 });
  const tokenEl = document.getElementById('pg-rw-amt');
  if(tokenEl) tokenEl.textContent = tokenTxt;
  pgArUpdatePayNowLabel(pgArBase.order);
}
function pgArUpdatePayNowLabel(total){
  const line1 = document.querySelector('#pg-hybredpayment-hero .pg-hph-right .pg-hph-line1');
  if(!line1) return;
  line1.textContent = 'Pay $' + pgArFormatUsd(total);
}
function pgArGetLiveState(){
  const base = pgArCaptureBase();
  const entered = (Math.max(0, Math.floor(pgArCents || 0)) / 100);
  const applied = Math.min(entered, base.rewards, base.order);
  const remainingOrder = Math.max(0, base.order - applied);
  const remainingRewards = Math.max(0, base.rewards - applied);
  const usedTokens = base.tokenPrice > 0 ? (applied / base.tokenPrice) : 0;
  const remainingTokens = Math.max(0, base.tokenAmt - usedTokens);
  return {
    baseOrder: Math.max(0, Number(base.order || 0)),
    baseRewards: Math.max(0, Number(base.rewards || 0)),
    applied: Math.max(0, Number(applied || 0)),
    remainingOrder: Math.max(0, Number(remainingOrder || 0)),
    remainingRewards: Math.max(0, Number(remainingRewards || 0)),
    usedTokens: Math.max(0, Number(usedTokens || 0)),
    remainingTokens: Math.max(0, Number(remainingTokens || 0))
  };
}
function pgArLockAppliedState(){
  try{
    const state = pgArGetLiveState();
    window.pgLockedRewardsBaseUSD = state.baseRewards;
    window.pgLockedRewardsAppliedUSD = state.applied;
    window.pgLockedRewardsSavedUSD = state.applied;
    window.pgLockedRewardsBalanceUSD = state.remainingRewards;
    window.pgLockedTotalUSD = state.remainingOrder;
    return state;
  }catch(e){
    return null;
  }
}
function pgArSyncOutputs(){
  const state = pgArGetLiveState();
  const remainingOrder = state.remainingOrder;
  const remainingRewards = state.remainingRewards;
  const remainingTokens = state.remainingTokens;
  // Update totals everywhere
  document.querySelectorAll('.pg-meta-total-amount').forEach(el=>{ el.textContent = '$' + pgArFormatUsd(remainingOrder); });
  const orderEl = document.getElementById('pg-order-total-display');
  if(orderEl) orderEl.textContent = '$' + pgArFormatUsd(remainingOrder);
  // Rewards total (available) is shown without $ in SoT
  const rwUsd = document.getElementById('pg-rw-usd');
  if(rwUsd) rwUsd.textContent = pgArFormatUsd(remainingRewards);
  // Token amount (4 decimals)
  const tokenEl = document.getElementById('pg-rw-amt');
  if(tokenEl){
    tokenEl.textContent = remainingTokens.toLocaleString(undefined, { minimumFractionDigits: 4, maximumFractionDigits: 4 });
  }
  // Pay button label
  pgArUpdatePayNowLabel(remainingOrder);
}
function pgArRender(){
  const el = document.getElementById('pg-ar-entered');
  if(el) el.textContent = '$' + pgArFormatCents(pgArCents);
  // Live-wire the preview outputs while the overlay is active
  if(document.documentElement.classList.contains('pg-ar-overlay-open') || document.documentElement.classList.contains('pg-ar-overlay-lock')){
    try{ pgArSyncOutputs(); }catch(e){}
  }
}
function pgArPressFx(btn){
  if(!btn) return;
  btn.classList.add('is-pressed');
  window.setTimeout(()=>btn.classList.remove('is-pressed'), 140);
}
function pgArHandleKey(k){
  // Money keypad: digits build cents (auto-decimal). Dot is a no-op (kept for layout parity).
  if(k === 'back'){
    pgArCents = Math.floor(pgArCents / 10);
    pgArRender();
    return;
  }
  if(k === '.'){
    return;
  }
  if(/^\d$/.test(k)){
    // Cap at $999,999.99 (prevents overflow / layout issues)
    const next = pgArCents * 10 + parseInt(k, 10);
    if(next <= 99999999){
      pgArCents = next;
      pgArRender();
    }
  }
}
function bindRewardsAmountKeypad(){
  if(pgArBound) return;
  const pad = document.getElementById('pg-ar-keypad');
  if(!pad) return;
  // Ensure keypad + amount are wrapped in a movable stack (prevents layout overrides)
  try{
    const entered = document.getElementById('pg-ar-entered');
    const inner = arOverlay ? arOverlay.querySelector('.pg-ar-inner') : null;
    if(inner && entered && pad){
      let stack = inner.querySelector('.pg-ar-stack');
      if(!stack){
        stack = document.createElement('div');
        stack.className = 'pg-ar-stack';
        // Insert stack where the entered value currently is (keeps DOM order)
        inner.insertBefore(stack, entered);
      }
      if(entered.parentElement !== stack) stack.appendChild(entered);
      if(pad.parentElement !== stack) stack.appendChild(pad);
    }
  }catch(e){}
  pad.addEventListener('click', function(e){
    const btn = e.target.closest('.pg-ar-key');
    if(!btn) return;
    e.preventDefault();
    e.stopPropagation();
    const k = btn.getAttribute('data-k') || '';
    pgArPressFx(btn);
    pgArHandleKey(k);
  }, { passive:false });
  pgArBound = true;
  pgArRender(); // default $0.00
  // Set default Pay button label to include current order total
  try{
    const orderEl = document.getElementById('pg-order-total-display') || document.querySelector('.pg-meta-total-amount');
    const t = orderEl ? (orderEl.textContent || '').replace(/[^0-9.]/g,'') : '';
    const v = parseFloat(t);
    if(isFinite(v)) pgArUpdatePayNowLabel(v);
  }catch(e){}
}
    let isOn = false;
    function setSwitch(on, silent){
      isOn = !!on;
      arSwitch.classList.toggle('is-on', isOn);
      arSwitch.setAttribute('aria-pressed', isOn ? 'true' : 'false');
// Sync Rewards drawer visibility with the overlay (visual-only, no layout shift)
try{
  const rewardsCard = document.getElementById('pg-rewards-code');
  const rwToggle = document.getElementById('pg-rw-toggle');
  if(rewardsCard){
    rewardsCard.classList.toggle('is-code-open', isOn);
  }
  document.documentElement.classList.toggle('pg-rw-open', isOn);
  if(rwToggle){
    rwToggle.setAttribute('aria-expanded', isOn ? 'true' : 'false');
  }
}catch(e){}
      if(isOn){
        if(!silent && typeof openRewardsAmountOverlay === 'function') openRewardsAmountOverlay();
      }else{
        if(typeof closeRewardsAmountOverlay === 'function') closeRewardsAmountOverlay(true);
      }
    }
    arSwitch.addEventListener('click', function(e){
      if(!isMobile()) return;
      e.preventDefault();
      e.stopPropagation();
      setSwitch(!isOn);
    }, { passive:false });
    // Drag / swipe
    let down = false;
    let startX = 0;
    let startOn = false;
    function pxFromEvent(ev){
      const t = ev.touches && ev.touches[0] ? ev.touches[0] : ev;
      return t.clientX || 0;
    }
    arSwitch.addEventListener('pointerdown', function(e){
      if(!isMobile()) return;
      down = true;
      startX = pxFromEvent(e);
      startOn = isOn;
      try{ arSwitch.setPointerCapture(e.pointerId); }catch(_){}
    });
    arSwitch.addEventListener('pointermove', function(e){
      if(!down || !isMobile()) return;
      const dx = pxFromEvent(e) - startX;
      if(dx > 10) setSwitch(true, true);
      if(dx < -10) setSwitch(false, true);
    });
    function endDrag(){
      if(!down) return;
      down = false;
      if(isOn && !startOn){
        if(typeof openRewardsAmountOverlay === 'function') openRewardsAmountOverlay();
      }
    }
    arSwitch.addEventListener('pointerup', endDrag);
    arSwitch.addEventListener('pointercancel', endDrag);
    arSwitch.addEventListener('lostpointercapture', endDrag);
    // STEP 349 — pay-screen toggle hardening
    // The Apply Rewards switch must still open the keypad on the in-store pay screen,
    // even if another layer lands above the button after bind.
    const arTrack = arSwitch.querySelector('.pg-ar-track');
    const arKnob = arSwitch.querySelector('.pg-ar-knob');
    function forceApplyRewardsToggleOn(e){
      if(!isMobile()) return;
      if(e){
        if(typeof e.preventDefault === 'function') e.preventDefault();
        if(typeof e.stopPropagation === 'function') e.stopPropagation();
        if(typeof e.stopImmediatePropagation === 'function') e.stopImmediatePropagation();
      }
      try{ closeAssetData(); }catch(_e){}
      try{
        metaCard.classList.add('is-ar-open');
        setArVisible(true);
      }catch(_e){}
      if(!isOn){
        setSwitch(true);
      }else if(typeof openRewardsAmountOverlay === 'function'){
        openRewardsAmountOverlay();
      }
    }
    [arSwitch, arTrack, arKnob].forEach(function(node){
      if(!node || node.__pgArForceBound) return;
      node.__pgArForceBound = true;
      node.addEventListener('click', forceApplyRewardsToggleOn, true);
      node.addEventListener('touchend', forceApplyRewardsToggleOn, { capture:true, passive:false });
      node.addEventListener('pointerup', forceApplyRewardsToggleOn, true);
    });
    // --- Apply Rewards open/close ---
    // Close the Asset Data expanded state (prevents collision with Apply Rewards UI)
    function closeAssetData(){
      try{
        if(metaCard.classList.contains('is-ad-open')){
          metaCard.classList.remove('is-ad-open');
          const adBtn = document.getElementById('pg-ad-toggle');
          if(adBtn) adBtn.setAttribute('aria-expanded','false');
        }
      }catch(e){}
    }
    function closeApplyRewards(){
      metaCard.classList.remove('is-ar-open');
      setArVisible(false);
    }
    // ============================
    // TX STATUS OVERLAY (MOBILE)
    // ============================
    const txOverlay = document.getElementById('pg-tx-overlay');
    const txTitle = document.getElementById('pg-tx-title');
    const txSub = document.getElementById('pg-tx-sub');
    const txRoot = document.getElementById('crypto-gateway-demo-root');
    let pgTxCountdownTimer = null;
    let pgTxCountdownEndsAt = 0;
    function pgGetActiveAssetSubLabel(){
      try{
        return document.querySelector('#pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-label-sub');
      }catch(e){ return null; }
    }
    function pgRenderTxCountdown(){
      try{
        const label = pgGetActiveAssetSubLabel();
        if(!label) return;
        const remaining = Math.max(0, Math.ceil((pgTxCountdownEndsAt - Date.now()) / 1000));
        const mm = Math.floor(remaining / 60);
        const ss = remaining % 60;
        label.textContent = mm + ':' + String(ss).padStart(2,'0');
      }catch(e){}
    }
    function pgStopTxCountdown(){
      try{ if(pgTxCountdownTimer){ clearInterval(pgTxCountdownTimer); } }catch(e){}
      pgTxCountdownTimer = null;
      pgTxCountdownEndsAt = 0;
      try{
        const label = pgGetActiveAssetSubLabel();
        if(label){
          if(label.dataset && Object.prototype.hasOwnProperty.call(label.dataset, 'txOrigText')) label.textContent = label.dataset.txOrigText || '';
          label.removeAttribute('data-tx-countdown');
          if(label.dataset) delete label.dataset.txOrigText;
        }
      }catch(e){}
      try{ if(txRoot) txRoot.classList.remove('pg-tx-countdown-active'); }catch(e){}
    }
    function pgStartTxCountdown(){
      try{ pgStopTxCountdown(); }catch(e){}
      try{
        const label = pgGetActiveAssetSubLabel();
        if(!label) return;
        if(label.dataset) label.dataset.txOrigText = label.textContent || '';
        label.setAttribute('data-tx-countdown','true');
        pgTxCountdownEndsAt = Date.now() + (120 * 1000);
        if(txRoot) txRoot.classList.add('pg-tx-countdown-active');
        pgRenderTxCountdown();
        pgTxCountdownTimer = setInterval(function(){
          const remainingMs = pgTxCountdownEndsAt - Date.now();
          if(remainingMs <= 0){
            pgRenderTxCountdown();
            try{ if(pgTxCountdownTimer){ clearInterval(pgTxCountdownTimer); } }catch(e){}
            pgTxCountdownTimer = null;
            return;
          }
          pgRenderTxCountdown();
        }, 1000);
      }catch(e){}
    }
    function pgClearPendingFlowClasses(){
      try{ if(txRoot) txRoot.classList.remove('pg-tx-flow-s1','pg-tx-flow-s2','pg-tx-flow-s3','pg-tx-flow-s4'); }catch(e){}
    }
    function pgStartPendingFlow(){
      try{ pgClearPendingFlowClasses(); }catch(e){}
      try{ pgClearCompleteFlowClasses(); }catch(e){}
      try{ if(!txRoot) return; txRoot.classList.add('pg-tx-flow-s1'); }catch(e){}
      setTimeout(function(){ try{ if(txRoot) txRoot.classList.add('pg-tx-flow-s2'); }catch(e){} }, 850);
      setTimeout(function(){ try{ if(txRoot) txRoot.classList.add('pg-tx-flow-s3'); }catch(e){} }, 1900);
    }
    function pgClearCompleteFlowClasses(){
      try{ if(txRoot) txRoot.classList.remove('pg-tx-complete-s1','pg-tx-complete-s2','pg-tx-complete-s3','pg-tx-complete-s4'); }catch(e){}
      try{ if(txRoot) txRoot.classList.remove('pg-tx-flow-s1','pg-tx-flow-s2','pg-tx-flow-s3','pg-tx-flow-s4'); }catch(e){}
      try{ if(window.pgTxCompleteFlowTimers && window.pgTxCompleteFlowTimers.length){ window.pgTxCompleteFlowTimers.forEach(function(t){ try{ clearTimeout(t); }catch(e){} }); } }catch(e){}
      try{ window.pgTxCompleteFlowTimers = []; }catch(e){}
      try{ window.pgTxRewardFinalLocked = false; }catch(e){}
      try{ window.pgTxRewardHeroRevealSignature = ''; }catch(e){}
      try{
        var animated = document.querySelectorAll('#pg-tx-overlay .pg-tx-asset-paid, #pg-tx-overlay .pg-tx-asset-lock, #pg-tx-overlay .pg-tx-asset-lock svg, #pg-tx-overlay .pg-tx-asset-reward, #pg-tx-overlay .pg-tx-asset-reward img, #pg-tx-overlay .pg-tx-flow-beam, #pg-tx-overlay .pg-tx-flow-beam::before, #pg-tx-overlay .pg-tx-flow-beam::after, #pg-tx-overlay .pg-tx-pending-grid, #pg-tx-overlay .pg-tx-pending-copy, #pg-tx-overlay #pg-tx-rewards-main, #pg-tx-overlay #pg-tx-rewards-sub');
        animated.forEach(function(el){
          try{ el.style.animation = 'none'; }catch(e){}
          try{ el.offsetHeight; }catch(e){}
          try{ el.style.animation = ''; }catch(e){}
        });
      }catch(e){}
      try{
        var beam = document.querySelector('#pg-tx-overlay .pg-tx-flow-beam');
        if(beam){ beam.style.opacity = '0'; }
      }catch(e){}
    }
    function pgRunTxAnimation(sel, animation, extra){
      try{
        var el = document.querySelector(sel);
        if(!el) return;
        el.style.animation = 'none';
        void el.offsetWidth;
        el.style.animation = animation;
        if(typeof extra === 'function'){
          try{ extra(el); }catch(e){}
        }
      }catch(e){}
    }
    /* =========================================================
       STEP 1107 — MOBILE TX REWARDS POST-ANIMATION VALUE LOCK
       Scope: mobile TX reward values only. No carousel, animation CSS,
       Radom, wallet, QR, polling, webhook, session, or trigger changes.
       Formula: order total × 10% ÷ $0.0375
       Writes only after the existing reward hero animation completes.
    ========================================================= */
    function pgReadMobileTxOrderTotalForRewards(){
      try{
        var selectors = [
          '#pg-order-total-display',
          '#pg-auth-total-display',
          '#pg-od-total',
          '.pg-os-total',
          '#pg-hybredpayment-hero .pg-hph-main',
          '#pg-hybredpayment-hero',
          '#pg-pay-btn',
          '.pg-pay-btn'
        ];
        for(var i = 0; i < selectors.length; i++){
          var el = document.querySelector(selectors[i]);
          if(!el) continue;
          var txt = String(el.textContent || '');
          var m = txt.match(/\$\s*([0-9]+(?:\.[0-9]{1,2})?)/);
          var n = m ? parseFloat(m[1]) : parseFloat(txt.replace(/[^0-9.]/g,''));
          if(Number.isFinite(n) && n > 0) return n;
        }
        var locked = parseFloat(String(window.pgLockedTotalUSD || '').replace(/[^0-9.]/g,''));
        if(Number.isFinite(locked) && locked > 0) return locked;
      }catch(e){}
      return 0;
    }
    function pgIsMobileTxRewardsScope(){
      try{
        if(window.matchMedia && window.matchMedia('(max-width: 640px)').matches) return true;
        var root = document.getElementById('crypto-gateway-demo-root');
        var widths = [window.innerWidth || 0, document.documentElement ? document.documentElement.clientWidth : 0, root ? root.clientWidth : 0].filter(function(v){ return Number.isFinite(v) && v > 0; });
        var minW = widths.length ? Math.min.apply(Math, widths) : 9999;
        if(minW <= 640) return true;
        if(document.body && /dmMobileBody/.test(document.body.className || '')) return true;
      }catch(e){}
      return false;
    }
    function pgTriggerMobileTxRewardHeroReveal(tokenText, usdText){
      try{
        if(!pgIsMobileTxRewardsScope()) return;
        if(!tokenText || !usdText || tokenText === '+0 ZLNC' || usdText === '=$0.00') return;
        var sig = String(tokenText) + '|' + String(usdText);
        if(window.pgTxRewardHeroRevealSignature === sig) return;
        window.pgTxRewardHeroRevealSignature = sig;
        var mainEl = document.getElementById('pg-tx-rewards-main') || document.getElementById('pg-tx-reward-token');
        var subEl = document.getElementById('pg-tx-rewards-sub') || document.getElementById('pg-tx-reward-usd');
        [mainEl, subEl].forEach(function(el){
          if(!el) return;
          try{ el.classList.remove('pg-step1108-reward-hero-reveal'); }catch(e){}
          try{ void el.offsetWidth; }catch(e){}
          try{ el.classList.add('pg-step1108-reward-hero-reveal'); }catch(e){}
        });
        try{
          window.setTimeout(function(){
            [mainEl, subEl].forEach(function(el){
              try{ if(el) el.classList.remove('pg-step1108-reward-hero-reveal'); }catch(e){}
            });
          }, 980);
        }catch(e){}
      }catch(e){}
    }
    function pgApplyMobileTxRewardFinalValues(forceTotal){
      try{
        if(!pgIsMobileTxRewardsScope()) return;
        var mainEl = document.getElementById('pg-tx-rewards-main');
        var subEl = document.getElementById('pg-tx-rewards-sub');
        var tokenEl = document.getElementById('pg-tx-reward-token');
        var usdEl = document.getElementById('pg-tx-reward-usd');
        if(!mainEl && !subEl && !tokenEl && !usdEl) return;
        function pgTxRewardsNum(v){
          var n = parseFloat(String(v || '').replace(/[^0-9.]/g,''));
          return Number.isFinite(n) ? n : NaN;
        }
        function pgTxRewardsFmtNum(n, decimals){
          if(!Number.isFinite(n)) return '0';
          return Number(n).toFixed(decimals).replace(/\.?0+$/,'');
        }
        function pgTxRewardsFmtMoney(n){
          if(!Number.isFinite(n)) n = 0;
          return '$' + Number(n).toFixed(2);
        }
        var total = pgTxRewardsNum(forceTotal);
        if(!(Number.isFinite(total) && total > 0)){
          try{
            var p = window.pgLastTxCompletePayload || window.pgLastWebhookCompletionPayload || null;
            total = pgTxRewardsNum(p && (p.total || p.amount || p.amount_paid_usd || p.amountPaidUsd || p.amount_usd || p.usd));
          }catch(_e){}
        }
        if(!(Number.isFinite(total) && total > 0)) total = pgReadMobileTxOrderTotalForRewards();
        var rewardsUsd = (Number.isFinite(total) && total > 0) ? (total * 0.10) : 0;
        var zlncPrice = 0.0375;
        var rewardsTokens = rewardsUsd > 0 ? (rewardsUsd / zlncPrice) : 0;
        var tokenText = rewardsTokens > 0 ? ('+' + pgTxRewardsFmtNum(rewardsTokens, 6) + ' ZLNC') : '+0 ZLNC';
        var usdText = rewardsUsd > 0 ? ('=' + pgTxRewardsFmtMoney(rewardsUsd)) : '=$0.00';
        if(mainEl){ mainEl.textContent = tokenText; }
        if(tokenEl){ tokenEl.textContent = tokenText; }
        if(subEl){
          subEl.textContent = usdText;
          try{ subEl.style.setProperty('font-size','20px','important'); }catch(e){}
        }
        if(usdEl){
          usdEl.textContent = usdText;
          try{ usdEl.style.setProperty('font-size','20px','important'); }catch(e){}
        }
        try{ pgTriggerMobileTxRewardHeroReveal(tokenText, usdText); }catch(e){}
        try{ window.pgTxRewardOrderTotalUSD = total; }catch(e){}
        try{ window.pgTxRewardUsd = rewardsUsd; }catch(e){}
        try{ window.pgTxRewardZlnc = rewardsTokens; }catch(e){}
        try{ window.pgLockedRewardsEarnedUSD = rewardsUsd; }catch(e){}
        try{ window.pgReceiptRewardsEarnedUSD = rewardsUsd; }catch(e){}
        try{
          window.pgTxRewardFinalTokenText = tokenText;
          window.pgTxRewardFinalUsdText = usdText;
          window.pgTxRewardFinalLocked = rewardsTokens > 0 || rewardsUsd > 0;
        }catch(e){}
      }catch(e){}
    }
    function pgScheduleMobileTxRewardValueSync(forceTotal){
      try{
        if(!pgIsMobileTxRewardsScope()) return;
        var delays = [4625, 4685, 4825, 5100, 5450];
        delays.forEach(function(ms){
          try{ setTimeout(function(){ pgApplyMobileTxRewardFinalValues(forceTotal); }, ms); }catch(_e){}
        });
      }catch(e){}
    }
    try{ window.pgSyncMobileTxRewards = pgApplyMobileTxRewardFinalValues; }catch(e){}
    function pgStartCompleteFlow(){
      try{ pgClearPendingFlowClasses(); }catch(e){}
      try{ pgClearCompleteFlowClasses(); }catch(e){}
      try{
        if(txRoot){
          void txRoot.offsetWidth;
          txRoot.classList.add('pg-tx-flow-s1');
        }
      }catch(e){}
      try{ window.pgTxCompleteFlowTimers = []; }catch(e){}
      try{
        pgRunTxAnimation('#pg-tx-overlay .pg-tx-asset-paid','pgChargeUp 1.05s cubic-bezier(.2,.9,.2,1) 1, pgFocusPulse 1.20s ease-in-out 1');
        pgRunTxAnimation('#pg-tx-overlay #pg-tx-asset-paid-logo','pgLogoNudge 1.05s ease-out 1');
      }catch(e){}
      try{ window.pgTxCompleteFlowTimers.push(setTimeout(function(){
        try{ if(txRoot) txRoot.classList.add('pg-tx-flow-s2'); }catch(e){}
        try{ pgRunTxAnimation('#pg-tx-overlay .pg-tx-asset-lock','pgLockEngage 1.10s cubic-bezier(.2,.9,.2,1) 1, pgFocusPulse 1.20s ease-in-out 1'); }catch(e){}
        try{ pgRunTxAnimation('#pg-tx-overlay .pg-tx-asset-lock svg','pgLockSpin 1.20s ease-in-out 1'); }catch(e){}
        try{
          var beam = document.querySelector('#pg-tx-overlay .pg-tx-flow-beam');
          if(beam){
            beam.style.opacity = '1';
            beam.style.animation = 'none';
            void beam.offsetWidth;
            beam.style.animation = 'pgFlowBeamSweep 1.60s ease-in-out 1';
          }
        }catch(e){}
      }, 900)); }catch(e){}
      try{ window.pgTxCompleteFlowTimers.push(setTimeout(function(){
        try{ if(txRoot) txRoot.classList.add('pg-tx-flow-s3'); }catch(e){}
        try{ pgRunTxAnimation('#pg-tx-overlay .pg-tx-asset-reward','pgRewardBloom 1.15s cubic-bezier(.2,.9,.2,1) 1, pgFocusPulse 1.20s ease-in-out 1'); }catch(e){}
        try{ pgRunTxAnimation('#pg-tx-overlay #pg-tx-asset-reward-logo','pgRewardShimmer 1.25s ease-in-out 1'); }catch(e){}
      }, 2000)); }catch(e){}
      try{ window.pgTxCompleteFlowTimers.push(setTimeout(function(){
        try{ if(txRoot) txRoot.classList.add('pg-tx-flow-s4'); }catch(e){}
        try{ pgRunTxAnimation('#pg-tx-overlay .pg-tx-pending-grid','pgRewardsHero 1.25s cubic-bezier(.18,.98,.18,1) 1, pgFocusPulse 1.20s ease-in-out 1'); }catch(e){}
        try{ pgRunTxAnimation('#pg-tx-overlay #pg-tx-rewards-main','pgRewardsTextPop 1.05s cubic-bezier(.18,.98,.18,1) 1'); }catch(e){}
        try{ pgRunTxAnimation('#pg-tx-overlay #pg-tx-rewards-sub','pgRewardsTextPop 1.05s cubic-bezier(.18,.98,.18,1) 1'); }catch(e){}
        try{ setTimeout(pgApplyMobileTxRewardFinalValues, 1290); }catch(e){}
        try{ setTimeout(pgApplyMobileTxRewardFinalValues, 1360); }catch(e){}
        try{ setTimeout(pgApplyMobileTxRewardFinalValues, 1520); }catch(e){}
        try{ setTimeout(pgApplyMobileTxRewardFinalValues, 1850); }catch(e){}
      }, 3300)); }catch(e){}
    }
    function pgSetTxPendingData(){
      try{
        const paidLogo = document.getElementById('pg-tx-asset-paid-logo');
        const rewardLogo = document.getElementById('pg-tx-asset-reward-logo');
        const rewardsMain = document.getElementById('pg-tx-rewards-main');
        const rewardsSub = document.getElementById('pg-tx-rewards-sub');
        const odTotalLive = document.getElementById('pg-od-total');
        const activePill = document.querySelector('#pg-asset-row .pg-asset-pill.pg-asset-active, #pg-asset-row .pg-asset-pill.is-active, #pg-asset-row .pg-asset-pill[aria-selected="true"]');
        const activeAsset = (activePill && (activePill.getAttribute('data-asset') || (activePill.dataset && activePill.dataset.asset)))
          ? String(activePill.getAttribute('data-asset') || activePill.dataset.asset).toUpperCase().trim()
          : ((state && state.selectedAsset) ? String(state.selectedAsset).toUpperCase().trim() : 'ETH');
        const activeAssetImg = activePill ? activePill.querySelector('.pg-asset-logo') : document.querySelector('#pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-logo');
        const ASSET_LOGOS = {
          BTC: 'https://irp.cdn-website.com/630a36f4/dms3rep/multi/BTC.png',
          ETH: 'https://irp.cdn-website.com/630a36f4/dms3rep/multi/ETH.png',
          USDT: 'https://irp.cdn-website.com/630a36f4/dms3rep/multi/USDT.png',
          XRP: 'https://irp.cdn-website.com/630a36f4/dms3rep/multi/XRP.png',
          BNB: 'https://irp.cdn-website.com/630a36f4/dms3rep/multi/BNB.png',
          SOL: 'https://irp.cdn-website.com/630a36f4/dms3rep/multi/SOL.png',
          ZLNC: 'https://irp.cdn-website.com/630a36f4/dms3rep/multi/ZELEN_ZLNC.png'
        };
        if(paidLogo){
          const rawSrc = activeAssetImg ? (activeAssetImg.currentSrc || activeAssetImg.src || activeAssetImg.getAttribute('src') || '') : '';
          const resolvedLogo = rawSrc || ASSET_LOGOS[activeAsset] || ASSET_LOGOS.ETH;
          paidLogo.src = resolvedLogo;
          paidLogo.setAttribute('src', resolvedLogo);
          paidLogo.alt = activeAsset + ' logo';
          try{ paidLogo.closest('.pg-tx-asset-paid').setAttribute('data-tx-asset-label', activeAsset); }catch(_e){}
        }
        if(rewardLogo) rewardLogo.src = ASSET_LOGOS.ZLNC;
        const totalTxt = (odTotalLive && odTotalLive.textContent) ? odTotalLive.textContent.trim() : '';
        const totalFromDetails = parseFloat(String(totalTxt).replace(/[^\d.]/g,''));
        const lockedTotal = parseFloat(String(window.pgLockedTotalUSD || '').replace(/[^\d.]/g,''));
        const baseTotal = Number.isFinite(totalFromDetails)
          ? totalFromDetails
          : (Number.isFinite(lockedTotal) ? lockedTotal : 0);
        const zlPriceEl = document.querySelector('#pg-rewards-code .pg-rw-price, #pg-rewards-code [data-pg-rw-price], #pg-rewards-code .pg-rw-priceval');
        const zlPrice = parseFloat(String(zlPriceEl ? zlPriceEl.textContent : '').replace(/[^\d.]/g,'')) || 0.0375;
        const rewardsUsd = Number.isFinite(baseTotal) ? (baseTotal * 0.10) : 0;
        const rewardsTokens = (Number.isFinite(zlPrice) && zlPrice > 0)
          ? (rewardsUsd / zlPrice)
          : 0;
        if(window.pgTxRewardFinalLocked){
          try{ pgApplyMobileTxRewardFinalValues(baseTotal); }catch(_e){}
        }else{
          if(rewardsMain) rewardsMain.textContent = '+0 ZLNC';
          if(rewardsSub) rewardsSub.textContent = '=$0.00';
        }
      }catch(e){}
    }
    // =========================================================
    // TX Overlay: visual-only stage layout lock (mobile)
    // IMPORTANT: does NOT change pending/complete trigger logic.
    // It only styles the already-live TX overlay nodes for both
    // pending + complete so the card matches the approved design.
    // =========================================================
    function pgApplyTxStageLayout(){
      try{
        if(window.innerWidth > 520) return;
        const overlay = document.getElementById('pg-tx-overlay');
        const title = document.getElementById('pg-tx-title');
        const card = document.getElementById('pg-tx-pending-card');
        const row = card ? card.querySelector('.pg-wc-assets-row.pg-tx-assets-row') : null;
        const grid = card ? card.querySelector('.pg-tx-pending-grid') : null;
        const copy = card ? card.querySelector('.pg-tx-pending-copy') : null;
        const values = card ? card.querySelector('.pg-tx-pending-values') : null;
        const rewardsMain = document.getElementById('pg-tx-rewards-main');
        const rewardsSub = document.getElementById('pg-tx-rewards-sub');
        const paidLogo = document.getElementById('pg-tx-asset-paid-logo');
        const rewardLogo = document.getElementById('pg-tx-asset-reward-logo');
        const lockSvg = card ? card.querySelector('.pg-tx-asset-lock svg') : null;
        const meta = document.getElementById('pg-crypto-meta');
        const isComplete = !!(meta && meta.classList.contains('is-tx-complete'));
        function pgEnsureTxStepLabel(tile, main, sub){
          try{
            if(!tile) return;
            var label = tile.querySelector(':scope > .pg-tx-step-label');
            if(!label){
              label = document.createElement('span');
              label.className = 'pg-tx-step-label';
              label.setAttribute('aria-hidden','true');
              tile.appendChild(label);
            }
            label.innerHTML = '<span class="pg-tx-step-label-main"></span><span class="pg-tx-step-label-sub"></span>';
            var m = label.querySelector('.pg-tx-step-label-main');
            var b = label.querySelector('.pg-tx-step-label-sub');
            if(m) m.textContent = main || '';
            if(b) b.textContent = sub || '';
          }catch(e){}
        }
        function pgTxActiveAssetCode(){
          try{
            var paidTile = document.querySelector('#pg-tx-overlay .pg-tx-asset-paid');
            var v = paidTile ? (paidTile.getAttribute('data-tx-asset-label') || '') : '';
            if(v) return String(v).toUpperCase().trim();
          }catch(e){}
          try{
            var activePill = document.querySelector('#pg-asset-row .pg-asset-pill.pg-asset-active, #pg-asset-row .pg-asset-pill.is-active, #pg-asset-row .pg-asset-pill[aria-selected="true"]');
            var data = activePill ? (activePill.getAttribute('data-asset') || (activePill.dataset && activePill.dataset.asset) || '') : '';
            if(data) return String(data).toUpperCase().trim();
            var label = activePill ? activePill.querySelector('.pg-asset-label-main') : null;
            if(label && label.textContent) return String(label.textContent).toUpperCase().trim();
          }catch(e){}
          return 'ETH';
        }
        if(!overlay || !card || overlay.getAttribute('aria-hidden') === 'true' || overlay.style.display === 'none') return;
        if(meta){
          meta.style.setProperty('height','216px','important');
          meta.style.setProperty('overflow','visible','important');
        }
        overlay.style.setProperty('top','40px','important');
        overlay.style.setProperty('bottom','auto','important');
        overlay.style.setProperty('height','176px','important');
        overlay.style.setProperty('overflow','visible','important');
        if(title){
          title.style.setProperty('display','block','important');
          title.style.setProperty('width','100%','important');
          title.style.setProperty('max-width','none','important');
          title.style.setProperty('white-space','nowrap','important');
          title.style.setProperty('overflow','visible','important');
          title.style.setProperty('font-size','16px','important');
          title.style.setProperty('font-weight','650','important');
          title.style.setProperty('letter-spacing','-0.022em','important');
          title.style.setProperty('line-height','1.03','important');
          title.style.setProperty('text-align','center','important');
          title.style.setProperty('margin','0 0 14px 0','important');
          title.style.setProperty('text-transform','none','important');
          title.textContent = isComplete ? 'Payment Complete' : 'Processing Payment';
        }
        card.style.setProperty('display','block','important');
        card.style.setProperty('width','100%','important');
        card.style.setProperty('max-width','none','important');
        card.style.setProperty('min-width','0','important');
        card.style.setProperty('box-sizing','border-box','important');
        card.style.setProperty('padding','6px 14px 10px','important');
        card.style.setProperty('margin-top','0','important');
        card.style.setProperty('min-height','134px','important');
        card.style.setProperty('overflow','visible','important');
        if(row){
          row.style.setProperty('position','relative','important');
          row.style.setProperty('display','flex','important');
          row.style.setProperty('justify-content','space-between','important');
          row.style.setProperty('align-items','flex-start','important');
          row.style.setProperty('left','50%','important');
          row.style.setProperty('width','230px','important');
          row.style.setProperty('max-width','230px','important');
          row.style.setProperty('min-width','230px','important');
          row.style.setProperty('height','82px','important');
          row.style.setProperty('gap','0','important');
          row.style.setProperty('margin','0','important');
          row.style.setProperty('padding','0','important');
          row.style.setProperty('transform','translateX(-50%)','important');
          row.style.setProperty('overflow','visible','important');
          Array.from(row.children).forEach(function(el){
            if(!el || el.classList.contains('pg-wc-flow-beam')) return;
            el.style.setProperty('width','54px','important');
            el.style.setProperty('height','54px','important');
            el.style.setProperty('flex','0 0 54px','important');
            el.style.setProperty('min-width','54px','important');
            el.style.setProperty('min-height','54px','important');
            el.style.setProperty('border-radius','14px','important');
            el.style.setProperty('position','relative','important');
            el.style.setProperty('display','flex','important');
            el.style.setProperty('align-items','center','important');
            el.style.setProperty('justify-content','center','important');
            el.style.setProperty('opacity','1','important');
            el.style.setProperty('visibility','visible','important');
          });
          const beam = row.querySelector('.pg-wc-flow-beam');
          if(beam){
            beam.style.setProperty('height','18px','important');
            beam.style.setProperty('left','8%','important');
            beam.style.setProperty('width','84%','important');
            beam.style.setProperty('opacity', isComplete ? '0' : '0.28','important');
          }
        }
        try{
          var paidTile = row ? row.querySelector('.pg-tx-asset-paid') : null;
          var lockTile = row ? row.querySelector('.pg-tx-asset-lock') : null;
          var rewardTile = row ? row.querySelector('.pg-tx-asset-reward') : null;
          var assetCode = pgTxActiveAssetCode();
          pgEnsureTxStepLabel(paidTile, assetCode, 'Asset');
          pgEnsureTxStepLabel(lockTile, isComplete ? 'Confirmed' : 'Processing', isComplete ? 'Secured' : 'Verifying');
          pgEnsureTxStepLabel(rewardTile, 'ZLNC', isComplete ? 'Completed' : 'Pending');
          if(paidLogo && (!paidLogo.getAttribute('src') || !String(paidLogo.getAttribute('src')).trim())){
            var logoMap = {
              BTC:'https://irp.cdn-website.com/630a36f4/dms3rep/multi/BTC.png',
              ETH:'https://irp.cdn-website.com/630a36f4/dms3rep/multi/ETH.png',
              USDT:'https://irp.cdn-website.com/630a36f4/dms3rep/multi/USDT.png',
              XRP:'https://irp.cdn-website.com/630a36f4/dms3rep/multi/XRP.png',
              BNB:'https://irp.cdn-website.com/630a36f4/dms3rep/multi/BNB.png',
              SOL:'https://irp.cdn-website.com/630a36f4/dms3rep/multi/SOL.png'
            };
            var fallbackLogo = logoMap[assetCode] || logoMap.ETH;
            paidLogo.setAttribute('src', fallbackLogo);
            paidLogo.src = fallbackLogo;
          }
        }catch(e){}
        if(grid){
          grid.style.setProperty('display','grid','important');
          grid.style.setProperty('grid-template-columns','1fr','important');
          grid.style.setProperty('align-items','center','important');
          grid.style.setProperty('justify-items','center','important');
          grid.style.setProperty('gap','0','important');
          grid.style.setProperty('margin-top','34px','important');
          grid.style.setProperty('width','100%','important');
        }
        if(copy){
          copy.textContent = '';
          copy.setAttribute('aria-hidden','true');
          copy.style.setProperty('display','none','important');
        }
        if(values){
          values.style.setProperty('text-align','center','important');
          values.style.setProperty('min-width','0','important');
          values.style.setProperty('align-self','center','important');
          values.style.setProperty('justify-self','center','important');
          values.style.setProperty('opacity', isComplete ? '1' : '0.56','important');
        }
        if(rewardsMain){
          rewardsMain.style.setProperty('font-size','19px','important');
          rewardsMain.style.setProperty('font-weight','820','important');
          rewardsMain.style.setProperty('line-height','1.02','important');
          rewardsMain.style.setProperty('white-space','nowrap','important');
          rewardsMain.style.setProperty('text-align','center','important');
          rewardsMain.style.setProperty('transform','none','important');
          rewardsMain.style.setProperty('letter-spacing','-0.02em','important');
          rewardsMain.style.setProperty('color','rgba(255,255,255,0.98)','important');
        }
        if(rewardsSub){
          rewardsSub.style.setProperty('margin-top','4px','important');
          rewardsSub.style.setProperty('font-size','13px','important');
          rewardsSub.style.setProperty('font-weight','520','important');
          rewardsSub.style.setProperty('line-height','1.08','important');
          rewardsSub.style.setProperty('white-space','nowrap','important');
          rewardsSub.style.setProperty('text-align','center','important');
          rewardsSub.style.setProperty('transform','none','important');
          rewardsSub.style.setProperty('color','rgba(255,255,255,0.82)','important');
        }
        if(paidLogo){
          paidLogo.style.setProperty('display','block','important');
          paidLogo.style.setProperty('opacity','1','important');
          paidLogo.style.setProperty('visibility','visible','important');
          paidLogo.style.setProperty('width','32px','important');
          paidLogo.style.setProperty('height','32px','important');
          paidLogo.style.setProperty('object-fit','contain','important');
        }
        if(rewardLogo){
          rewardLogo.style.setProperty('display','block','important');
          rewardLogo.style.setProperty('opacity','1','important');
          rewardLogo.style.setProperty('visibility','visible','important');
          rewardLogo.style.setProperty('width','27px','important');
          rewardLogo.style.setProperty('height','27px','important');
          rewardLogo.style.setProperty('object-fit','contain','important');
        }
        if(lockSvg){
          lockSvg.style.setProperty('width','22px','important');
          lockSvg.style.setProperty('height','22px','important');
        }
      }catch(e){}
    }
    try{ window.pgApplyTxStageLayout = pgApplyTxStageLayout; }catch(_e){}
    try{
      const txOverlayLayoutObserver = new MutationObserver(function(){
        try{ requestAnimationFrame(function(){ pgApplyTxStageLayout(); }); }catch(e){}
      });
      if(txOverlay) txOverlayLayoutObserver.observe(txOverlay, { attributes:true, attributeFilter:['style','aria-hidden','class'] });
      if(metaCard) txOverlayLayoutObserver.observe(metaCard, { attributes:true, attributeFilter:['class'] });
    }catch(e){}
    try{ window.addEventListener('resize', function(){ try{ pgApplyTxStageLayout(); }catch(e){} }, { passive:true }); }catch(e){}
    function pgEnsureTxAssetRingClone(){
      try{
        const symbol = document.querySelector('#pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol');
        if(!symbol) return;
        let aura = symbol.querySelector(':scope > .pg-tx-ring-aura');
        let ring = symbol.querySelector(':scope > .pg-tx-ring-clone');
        if(!aura){
          aura = document.createElement('span');
          aura.className = 'pg-tx-ring-aura';
          aura.setAttribute('aria-hidden','true');
          symbol.insertBefore(aura, symbol.firstChild || null);
        }
        if(!ring){
          ring = document.createElement('span');
          ring.className = 'pg-tx-ring-clone';
          ring.setAttribute('aria-hidden','true');
          symbol.insertBefore(ring, symbol.firstChild || null);
        }
      }catch(e){}
    }
    function pgClearTxAssetRingClone(){
      try{
        document.querySelectorAll('#pg-asset-row .pg-tx-ring-clone, #pg-asset-row .pg-tx-ring-aura').forEach(el=>el.remove());
      }catch(e){}
    }
    function pgEnsureTxCompleteCheck(){
      try{
        const symbol = document.querySelector('#pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol');
        if(!symbol) return null;
        try{
          symbol.querySelectorAll(':scope > .pg-tx-complete-checkplate').forEach(function(el){ el.remove(); });
        }catch(e){}
        let check = symbol.querySelector(':scope > .pg-hero-order-complete-checkmark');
        if(!check){
          check = document.createElement('img');
          check.className = 'pg-hero-order-complete-checkmark';
          check.setAttribute('aria-hidden','true');
          check.setAttribute('alt','');
          check.setAttribute('decoding','async');
          check.setAttribute('src','https://irp.cdn-website.com/630a36f4/dms3rep/multi/0rder-Complete-Checkmark.png');
          symbol.appendChild(check);
        }
        return check;
      }catch(e){ return null; }
    }
    function pgClearTxCompleteCheck(){
      try{
        document.querySelectorAll('#pg-asset-row .pg-hero-order-complete-checkmark, #pg-asset-row .pg-tx-complete-checkplate').forEach(el=>el.remove());
      }catch(e){}
    }
    function pgGetTxCompleteCoinStyle(asset){
      const s = String(asset || '').toUpperCase().trim();
      const map = {
        BTC: 'radial-gradient(circle at 35% 28%, #f6ba59 0%, #f0a640 54%, #d88411 100%)',
        ETH: 'radial-gradient(circle at 35% 28%, #bdbdbd 0%, #9d9d9d 54%, #7a7a7a 100%)',
        USDT: 'radial-gradient(circle at 35% 28%, #42d492 0%, #1eb980 54%, #12996a 100%)',
        XRP: 'radial-gradient(circle at 35% 28%, #757575 0%, #4d4d4d 54%, #2e2e2e 100%)',
        BNB: 'radial-gradient(circle at 35% 28%, #f6d360 0%, #e6b93c 54%, #bf8f13 100%)',
        ZLNC: 'radial-gradient(circle at 35% 28%, #2bffda 0%, #00d5b8 54%, #009b87 100%)'
      };
      return map[s] || map.ETH;
    }
    function pgSwapCompleteLabelToCompleted(){
      try{
        const label = pgGetActiveAssetSubLabel();
        if(!label) return;
        if(label.dataset && !Object.prototype.hasOwnProperty.call(label.dataset,'txCompleteOrigText')){
          label.dataset.txCompleteOrigText = label.textContent || '';
        }
        if(txRoot) txRoot.classList.add('pg-tx-complete-label-active');
        label.classList.add('is-tx-complete-swapping');
        setTimeout(function(){
          try{
            label.textContent = 'COMPLETED';
            label.classList.remove('is-tx-complete-swapping');
          }catch(e){}
        }, 170);
      }catch(e){}
    }
    function pgRestoreCompleteLabel(){
      try{
        const label = pgGetActiveAssetSubLabel();
        if(label){
          if(label.dataset && Object.prototype.hasOwnProperty.call(label.dataset,'txCompleteOrigText')){
            label.textContent = label.dataset.txCompleteOrigText || '';
            delete label.dataset.txCompleteOrigText;
          }
          label.classList.remove('is-tx-complete-swapping');
        }
        if(txRoot) txRoot.classList.remove('pg-tx-complete-label-active');
      }catch(e){}
    }
    function pgStartTxCompleteHero(){
      try{
        const activePill = document.querySelector('#pg-asset-row .pg-asset-pill.pg-asset-active, #pg-asset-row .pg-asset-pill.is-active, #pg-asset-row .pg-asset-pill[aria-selected="true"]');
        const activeAsset = (activePill && (activePill.getAttribute('data-asset') || (activePill.dataset && activePill.dataset.asset)))
          ? String(activePill.getAttribute('data-asset') || activePill.dataset.asset).toUpperCase().trim()
          : ((state && state.selectedAsset) ? String(state.selectedAsset).toUpperCase().trim() : 'ETH');
        const symbol = activePill ? activePill.querySelector('.pg-asset-symbol') : null;
        const logo = symbol ? symbol.querySelector(':scope > img.pg-asset-logo') : null;
        const check = pgEnsureTxCompleteCheck();
        if(txRoot){
          txRoot.classList.remove('pg-tx-asset-ring-active');
          txRoot.classList.add('pg-tx-asset-ring-freeze');
          txRoot.classList.add('pg-tx-complete-hero');
          txRoot.classList.add('pg-hero-order-complete-prep');
          txRoot.classList.remove('is-tx-complete-logo-swapping');
        }
        try{
          if(symbol){
            symbol.style.position = 'relative';
            symbol.style.overflow = 'visible';
            symbol.style.isolation = 'isolate';
          }
          if(logo){
            logo.style.position = 'absolute';
            logo.style.left = '50%';
            logo.style.top = '50%';
            logo.style.width = '48px';
            logo.style.height = '48px';
            logo.style.maxWidth = 'none';
            logo.style.minWidth = '0';
            logo.style.objectFit = 'contain';
            logo.style.display = 'block';
            logo.style.flex = 'none';
            logo.style.flexShrink = '0';
            logo.style.margin = '0';
            logo.style.zIndex = '3';
            logo.style.pointerEvents = 'none';
            logo.style.transform = 'translate(-50%,-50%)';
            logo.style.transformOrigin = '50% 50%';
            logo.style.opacity = '1';
            logo.style.filter = 'none';
            logo.style.transition = 'opacity .20s ease, filter .20s ease';
          }
          if(check){
            check.style.position = 'absolute';
            check.style.left = '50%';
            check.style.top = '50%';
            check.style.width = '91px';
            check.style.height = '69px';
            check.style.maxWidth = 'none';
            check.style.minWidth = '0';
            check.style.objectFit = 'contain';
            check.style.display = 'block';
            check.style.flex = 'none';
            check.style.flexShrink = '0';
            check.style.margin = '0';
            check.style.zIndex = '4';
            check.style.pointerEvents = 'none';
            check.style.opacity = '0';
            check.style.transform = 'translate(-50%,-50%)';
            check.style.transformOrigin = '50% 50%';
            check.style.filter = 'blur(0.35px) drop-shadow(0 0 8px rgba(255,255,255,0.18))';
            check.style.transition = 'opacity .16s ease, filter .20s ease';
          }
          if(symbol) void symbol.offsetWidth;
        }catch(e){}
        pgSwapCompleteLabelToCompleted();
        requestAnimationFrame(function(){
          requestAnimationFrame(function(){
            try{
              if(txRoot) txRoot.classList.add('is-tx-complete-logo-swapping');
              if(logo){
                logo.style.setProperty('opacity','0','important');
                logo.style.setProperty('filter','blur(0.35px)','important');
              }
              if(check){
                check.style.setProperty('opacity','1','important');
                check.style.setProperty('filter','drop-shadow(0 0 8px rgba(255,255,255,0.18))','important');
              }
            }catch(e){}
          });
        });
        try{
          if(window.pgInstorePay && typeof window.pgInstorePay.forcePosOnly === 'function'){
            window.pgInstorePay.forcePosOnly({
              source: 'live-complete-hero'
            });
          }
        }catch(e){
          try{ console.warn('[ZELEN] live complete hero -> forcePosOnly failed', e); }catch(_e){}
        }
      }catch(e){}
    }
    function pgClearTxCompleteHero(){
      try{ if(txRoot) txRoot.classList.remove('pg-tx-complete-hero','pg-hero-order-complete-prep','is-tx-complete-logo-swapping','pg-tx-asset-ring-freeze'); }catch(e){}
      try{
        const logo = document.querySelector('#pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol > img.pg-asset-logo');
        const symbol = document.querySelector('#pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol');
        if(symbol){
          symbol.style.position = '';
          symbol.style.overflow = '';
          symbol.style.isolation = '';
        }
        if(logo){
          logo.style.position = '';
          logo.style.left = '';
          logo.style.top = '';
          logo.style.width = '';
          logo.style.height = '';
          logo.style.maxWidth = '';
          logo.style.minWidth = '';
          logo.style.objectFit = '';
          logo.style.display = '';
          logo.style.flex = '';
          logo.style.flexShrink = '';
          logo.style.margin = '';
          logo.style.zIndex = '';
          logo.style.pointerEvents = '';
          logo.style.transform = '';
          logo.style.transformOrigin = '';
          logo.style.transition = '';
          logo.style.removeProperty('opacity');
          logo.style.removeProperty('filter');
        }
        const check = symbol ? symbol.querySelector(':scope > img.pg-hero-order-complete-checkmark') : null;
        if(check){
          check.style.position = '';
          check.style.left = '';
          check.style.top = '';
          check.style.width = '';
          check.style.height = '';
          check.style.maxWidth = '';
          check.style.minWidth = '';
          check.style.objectFit = '';
          check.style.display = '';
          check.style.flex = '';
          check.style.flexShrink = '';
          check.style.margin = '';
          check.style.zIndex = '';
          check.style.pointerEvents = '';
          check.style.transform = '';
          check.style.transformOrigin = '';
          check.style.transition = '';
          check.style.removeProperty('opacity');
          check.style.removeProperty('filter');
        }
      }catch(e){}
      try{ pgRestoreCompleteLabel(); }catch(e){}
      try{ pgClearTxCompleteCheck(); }catch(e){}
    }
    // =========================================================
    // TX Overlay: HARD HIDE underlying meta children (mobile)
    // This prevents any "meta bleed" regardless of z-index / stacking.
    // We ONLY toggle inline styles on direct children of #pg-crypto-meta,
    // and we restore them when clearing TX state.
    // =========================================================
    function setTxHideUnderlying(on){
      if(!metaCard) return;
      const kids = Array.from(metaCard.children || []);
      for(const el of kids){
        if(!el || el === txOverlay || el.id === 'pg-tx-overlay' || el.classList.contains('pg-tx-overlay')) continue;
        if(on){
          if(el.dataset && el.dataset.txHidden === '1') continue;
          if(el.dataset){
            el.dataset.txHidden = '1';
            el.dataset.txPrevDisplay = el.style.display || '';
            el.dataset.txPrevVisibility = el.style.visibility || '';
            el.dataset.txPrevOpacity = el.style.opacity || '';
          }
          el.style.display = 'none';
          el.style.visibility = 'hidden';
          el.style.opacity = '0';
          el.style.pointerEvents = 'none';
        }else{
          if(!(el.dataset && el.dataset.txHidden === '1')) continue;
          const prevD = el.dataset.txPrevDisplay || '';
          const prevV = el.dataset.txPrevVisibility || '';
          const prevO = el.dataset.txPrevOpacity || '';
          el.style.display = prevD;
          el.style.visibility = prevV;
          el.style.opacity = prevO;
          el.style.pointerEvents = '';
          delete el.dataset.txHidden;
          delete el.dataset.txPrevDisplay;
          delete el.dataset.txPrevVisibility;
          delete el.dataset.txPrevOpacity;
        }
      }
    }
    function clearTxState(){
      setTxHideUnderlying(false);
metaCard.classList.remove('is-tx-pending','is-tx-complete');
      try{ if(txRoot) txRoot.classList.remove('pg-tx-asset-ring-active'); }catch(e){}
      try{ pgClearTxCompleteHero(); }catch(e){}
      try{ pgClearTxAssetRingClone(); }catch(e){}
      try{ pgStopTxCountdown(); }catch(e){}
      try{ pgClearPendingFlowClasses(); }catch(e){}
      if(txOverlay){
        txOverlay.setAttribute('aria-hidden','true');
        txOverlay.style.display = 'none';
        txOverlay.style.opacity = '0';
      }
      if(txSub){
        txSub.style.display = 'none';
      }
    }
    function showTxPending(){
      // If Apply Rewards keypad overlay is open, close it before showing TX state
      try{ if(typeof closeRewardsAmountOverlay === 'function') closeRewardsAmountOverlay(true); }catch(e){}
      // LOCK total at the exact Pay button amount (prevents reverting to base during TX)
      try{
        const line1 = document.querySelector('#pg-hybredpayment-hero .pg-hph-right .pg-hph-line1');
        const raw = line1 ? (line1.textContent || '') : '';
        const num = parseFloat(String(raw).replace(/[^0-9.]/g,''));
        if(Number.isFinite(num)) window.pgLockedTotalUSD = num;
      }catch(e){}
      // Force the Pay button label to the locked value while pending is active
      try{
        if(Number.isFinite(window.pgLockedTotalUSD)){
          const line1 = document.querySelector('#pg-hybredpayment-hero .pg-hph-right .pg-hph-line1');
          if(line1) line1.textContent = 'Pay $' + window.pgLockedTotalUSD.toLocaleString(undefined,{minimumFractionDigits:2,maximumFractionDigits:2});
        }
      }catch(e){}
      // Ensure we are in the standard expanded meta state
      closeApplyRewards();
      metaCard.classList.remove('is-ar-open');
      metaCard.classList.add('is-ad-open');
      clearTxState();
      metaCard.classList.add('is-tx-pending');
      try{ pgEnsureTxAssetRingClone(); }catch(e){}
      try{ pgEnsureTxAssetRingClone(); }catch(e){}
      try{ if(txRoot) txRoot.classList.add('pg-tx-asset-ring-active'); }catch(e){}
      try{ pgStartTxCountdown(); }catch(e){}
      try{ pgSetTxPendingData(); }catch(e){}
      try{ pgStartPendingFlow(); }catch(e){}
            setTxHideUnderlying(true);
if(txTitle) txTitle.textContent = 'Processing Payment';
      if(txSub) txSub.style.display = 'none'; // pending card carries the supporting info
      if(txOverlay){
        txOverlay.setAttribute('aria-hidden','false');
        txOverlay.style.display = 'flex';
        // fade in (CSS has transition)
        requestAnimationFrame(()=>{ txOverlay.style.opacity = '1'; });
      }
    }
    function showTxComplete(payload){
      try{ window.pgLastTxCompletePayload = payload || null; }catch(e){}
      // If Apply Rewards keypad overlay is open, close it before showing TX state
      try{ if(typeof closeRewardsAmountOverlay === 'function') closeRewardsAmountOverlay(true); }catch(e){}
      closeApplyRewards();
      metaCard.classList.remove('is-ar-open');
      metaCard.classList.add('is-ad-open');
      clearTxState();
      metaCard.classList.add('is-tx-complete');
      try{ pgEnsureTxAssetRingClone(); }catch(e){}
      try{ pgStopTxCountdown(); }catch(e){}
      try{ pgSetTxPendingData(); }catch(e){}
      try{ pgScheduleMobileTxRewardValueSync(payload && (payload.total || payload.amount || payload.amount_paid_usd || payload.amountPaidUsd)); }catch(e){}
      try{ pgStartTxCompleteHero(); }catch(e){}
      setTxHideUnderlying(true);
      if(txTitle) txTitle.textContent = 'Payment Complete';
      if(txSub) txSub.style.display = 'none'; // keep minimal for now
      try{
        const copy = document.querySelector('#pg-tx-pending-card .pg-tx-pending-copy');
        if(copy){ copy.textContent = ''; copy.setAttribute('aria-hidden','true'); }
      }catch(e){}
      if(txOverlay){
        txOverlay.setAttribute('aria-hidden','false');
        txOverlay.style.display = 'flex';
        requestAnimationFrame(function(){
          try{ txOverlay.style.opacity = '1'; }catch(e){}
          try{ pgApplyTxStageLayout(); }catch(e){}
          requestAnimationFrame(function(){
            try{ pgStartCompleteFlow(); }catch(e){}
          });
        });
      }else{
        try{ pgApplyTxStageLayout(); }catch(e){}
        try{ pgStartCompleteFlow(); }catch(e){}
      }
    }
    // Expose helpers for Radom polling step (next phase)
    try{
      window.pgTxOverlay = {
        pending: showTxPending,
        complete: function(payload){
          try{ window.pgLastTxCompletePayload = payload || window.pgLastTxCompletePayload || null; }catch(e){}
          var result = showTxComplete(payload);
          try{ pgScheduleMobileTxRewardValueSync(payload && (payload.total || payload.amount || payload.amount_paid_usd || payload.amountPaidUsd)); }catch(e){}
          return result;
        },
        clear: clearTxState
      };
    }catch(_){}
    // Start hidden / inactive
    // ============================
    // MOBILE: Pending -> Radom Session -> Deep Link Wallet (no QR scan)
    // ============================
    let pgMobileRadomInFlight = false;
    let pgMobileRadomPollTimer = null;
    function pgMobileStopPoll(){
      if(pgMobileRadomPollTimer) clearInterval(pgMobileRadomPollTimer);
      pgMobileRadomPollTimer = null;
    }
    function pgMobileGetSelectedAsset(){
      // Prefer active carousel pill
      const active = document.querySelector('#pg-asset-row .pg-asset-pill.pg-asset-active, #pg-asset-row .pg-asset-pill.is-active, #pg-asset-row .pg-asset-pill[aria-selected="true"]');
      const a = active && (active.getAttribute('data-asset') || active.dataset && active.dataset.asset);
      if(a) return String(a).toUpperCase();
      // Fallback to global state if present
      try{
        if(window.state && window.state.asset) return String(window.state.asset).toUpperCase();
      }catch(e){}
      return 'BTC';
    }
    function pgMobileGetTotalUsd(){
      // Prefer locked total if set by pay click (prevents restore-to-base regressions)
      const locked = (typeof window.pgLockedTotalUSD === "number") ? window.pgLockedTotalUSD : parseFloat(String(window.pgLockedTotalUSD || "").replace(/[^0-9.]/g,''));
      if(Number.isFinite(locked) && locked > 0) return locked;
      const el = document.getElementById('pg-order-total-display') || document.querySelector('.pg-meta-total-amount');
      const t = el ? (el.textContent || '') : '';
      const n = parseFloat(String(t).replace(/[^0-9.]/g,''));
      return (Number.isFinite(n) && n >= 0) ? n : 0;
    }
    function pgMobileOpenWalletUri(uri){
      if(!uri) return;
      try{
        // Use _self to allow OS to handoff to installed wallet
        window.location.href = uri;
      }catch(e){
        try{ window.open(uri, '_self'); }catch(_){}
      }
    }
    function pgMobileIsSuccessStatus(s){
      const v = String(s || '').toLowerCase();
      return v.includes('paid') || v.includes('complete') || v.includes('success') || v.includes('confirmed') || v.includes('finished');
    }
    function pgMobileIsFailedStatus(s){
      const v = String(s || '').toLowerCase();
      return v.includes('fail') || v.includes('expired') || v.includes('cancel');
    }
    function pgMobileHandleWebhookComplete(sessionId, payload){
      stopMobileWebhookStatusPolling();
      pgMobileStopPoll();
      pgMobileRadomInFlight = false;
      try{ window.pgLastWebhookCompletionPayload = payload || null; }catch(e){}
      showTxComplete(payload || { session_id: sessionId || "" });
    }
    function startMobileCompletionWatch(sessionId, api){
      stopMobileWebhookStatusPolling();
      const fallbackStartsAt = Date.now() + RADOM_FALLBACK_DELAY_MS;
      pgMobileWebhookPollTimer = setInterval(async () => {
        try{
          const payload = await fetchWebhookCompletionStatus(sessionId);
          if (!payload) return;
          const webhookSessionId = pgExtractWebhookSessionId(payload);
          if (webhookSessionId && webhookSessionId !== String(sessionId || "")) return;
          const webhookStatus = pgExtractWebhookCompletionStatus(payload);
          if (!webhookStatus) return;
          if (pgWebhookIsSuccessStatus(webhookStatus)) {
            pgMobileHandleWebhookComplete(sessionId, payload);
            return;
          }
          if (pgWebhookIsFailedStatus(webhookStatus)) {
            stopMobileWebhookStatusPolling();
          }
        }catch(_e){}
      }, WEBHOOK_STATUS_POLL_INTERVAL_MS);
      if(sessionId && api && typeof api.getPaymentSessionRadom === 'function'){
        pgMobileRadomPollTimer = setInterval(async () => {
          if(Date.now() < fallbackStartsAt) return;
          try{
            const s = await api.getPaymentSessionRadom(sessionId);
            const st = s && s.sessionStatus ? s.sessionStatus : '';
            if(pgMobileIsSuccessStatus(st)){
              stopMobileWebhookStatusPolling();
              pgMobileStopPoll();
              pgMobileRadomInFlight = false;
              showTxComplete(s || { session_id: sessionId || "" });
            }else if(pgMobileIsFailedStatus(st)){
              stopMobileWebhookStatusPolling();
              pgMobileStopPoll();
              pgMobileRadomInFlight = false;
            }
          }catch(_e){}
        }, 2500);
      }
    }
    function startMobileRadomFlow(){
      if(!isMobile()) return;
      if(pgMobileRadomInFlight) return;
      const api = window.pgRadomApi;
      if(!api || typeof api.createPaymentSessionRadom !== 'function') return;
      pgMobileRadomInFlight = true;
      try{ window.pgLastMobilePaymentUri = ''; }catch(e){}
      pgMobileStopPoll();
      // STEP 1217 — MOBILE ONLY: instant wallet selector display.
      // Show the finalized wallet selector immediately on Pay click, while the
      // Radom payment session/payload is generated behind it. The selected wallet
      // will only launch after the real Radom payment payload exists.
      // No Radom/API/rewards/receipt/completion logic is changed.
      window.setTimeout(async () => {
        try{
          const asset = pgMobileGetSelectedAsset();
          const totalUsd = pgMobileGetTotalUsd();
          try{
            const preparingPacket = {
              asset: asset,
              totalUsd: totalUsd,
              isPreparingPayment: true,
              direct_deeplink_only: true
            };
            if(window.pgPayWalletSelector && typeof window.pgPayWalletSelector.open === 'function'){
              window.pgPayWalletSelector.open(preparingPacket);
            }else if(typeof window.__pgOpenPayWalletSelector === 'function'){
              window.__pgOpenPayWalletSelector(preparingPacket);
            }
          }catch(_instantSelectorErr){}
          try{ if(typeof pgFreezeReceiptRelayData === 'function') pgFreezeReceiptRelayData(totalUsd, asset); }catch(_receiptFreezeErr){}
          const session = await api.createPaymentSessionRadom({ totalUsd, asset });
          try{
            const mobileSeedFn =
              (api && typeof api.seedReceiptInit === 'function')
                ? api.seedReceiptInit
                : (typeof window.seedReceiptInit === 'function' ? window.seedReceiptInit : null);
            if(mobileSeedFn){
              await mobileSeedFn({ session, asset, totalUsd });
            }
          }catch(_receiptSeedErr){}
          const mapped = (api.mapAssetToRadomNetwork ? api.mapAssetToRadomNetwork(asset) : { network:'bitcoin', symbol:asset });
          const network = (session && session.method && session.method.network) ? session.method.network : mapped.network;
          const addr = session && session.paymentAddress ? session.paymentAddress : '';
          const paymentTotalExact = (session && session.paymentTotal != null) ? String(session.paymentTotal) : '';
          const amountWei = (['ethereum','base','polygon','avalanche'].includes(String(network).toLowerCase()) && typeof api.decimalToBaseUnits === 'function') ? api.decimalToBaseUnits(paymentTotalExact, 18) : ((String(network).toLowerCase() === 'ethereum' && api.ethToWeiString) ? api.ethToWeiString(paymentTotalExact) : '');
          const uri = (api.buildPaymentUri ? api.buildPaymentUri(network, addr, amountWei, { amountExact: paymentTotalExact, token: (session && session.method && session.method.token) ? session.method.token : (mapped && mapped.token ? mapped.token : '') }) : addr);
          try{ window.pgLastMobilePaymentUri = uri || ''; }catch(_uriStoreErr){}
          const sessionId = session && session.id ? String(session.id) : '';
          if(sessionId && typeof api.getPaymentSessionRadom === 'function'){
            pgMobileRadomPollTimer = setInterval(async () => {
              try{
                const s = await api.getPaymentSessionRadom(sessionId);
                const st = s && s.sessionStatus ? s.sessionStatus : '';
                if(pgMobileIsSuccessStatus(st)){
                  pgMobileStopPoll();
                  pgMobileRadomInFlight = false;
                  showTxComplete();
                }else if(pgMobileIsFailedStatus(st)){
                  // For now, just stop polling and leave Pending visible (we can add a fail state later)
                  pgMobileStopPoll();
                  pgMobileRadomInFlight = false;
                }
              }catch(_e){}
            }, 2500);
          }
          const launchPacket = {
            asset: asset,
            totalUsd: totalUsd,
            session: session,
            sessionId: sessionId,
            network: network,
            address: addr,
            paymentAddress: addr,
            paymentTotal: paymentTotalExact,
            paymentTotalExact: paymentTotalExact,
            amountWei: amountWei,
            uri: uri,
            token: (session && session.method && session.method.token) ? session.method.token : (mapped && mapped.token ? mapped.token : ''),
            mapped: mapped
          };
          try{ window.pgLastMobileWalletLaunchPacket = launchPacket; }catch(_packetErr){}
          // STEP 1203 — MOBILE PAYMENT WALLET SELECTOR RESTORE
          // Keep the Step 1202 proven Radom/payment payload as the source of truth,
          // but restore the finalized Step 1201 payment wallet selector UI.
          // IMPORTANT:
          // - Payment wallet selection must NOT route to app/download links.
          // - WalletConnect is used only for wallet metadata/logos/search where available.
          // - The clicked payment wallet tile launches the exact same solved payload URI
          //   that completed successfully in Step 1202.
          // - If the selector is unavailable for any reason, fall back to direct native
          //   OS wallet handoff using the same payload.
          if(window.pgPayWalletSelector && typeof window.pgPayWalletSelector.open === 'function'){
            window.pgPayWalletSelector.open(launchPacket);
          }else if(typeof window.__pgOpenPayWalletSelector === 'function'){
            window.__pgOpenPayWalletSelector(launchPacket);
          }else{
            pgMobileOpenWalletUri(uri);
          }
        }catch(e){
          pgMobileRadomInFlight = false;
        }
      }, 0);
    }
    try{
      window.__pgMobileRadomReset = function(opts){
        try{ stopMobileWebhookStatusPolling(); }catch(_e){}
        try{ pgMobileStopPoll(); }catch(_e){}
        try{ stopRadomPolling(); }catch(_e){}
        try{ stopRadomExpiryTimer(); }catch(_e){}
        try{ activeRadomSessionId = null; }catch(_e){}
        try{ pgMobileRadomInFlight = false; }catch(_e){}
        try{ window.activeRadomSessionId = null; }catch(_e){}
        try{ window.pgLastMobilePaymentUri = ''; }catch(_e){}
        try{ window.pgLastWebhookCompletionPayload = null; }catch(_e){}
        try{ window.pgLastMobileCancelledAt = Date.now(); }catch(_e){}
        try{ window.pgRadomSession = null; }catch(_e){}
        try{ window.pgPaymentSession = null; }catch(_e){}
        try{ window.pgCurrentPaymentSession = null; }catch(_e){}
        try{ window.pgActivePaymentSession = null; }catch(_e){}
        try{ window.pgRadomPaymentSession = null; }catch(_e){}
        try{
          if(window.pgRadomApi){
            if('lastSession' in window.pgRadomApi) window.pgRadomApi.lastSession = null;
            if('_lastSession' in window.pgRadomApi) window.pgRadomApi._lastSession = null;
            if('currentSession' in window.pgRadomApi) window.pgRadomApi.currentSession = null;
            if('_currentSession' in window.pgRadomApi) window.pgRadomApi._currentSession = null;
          }
        }catch(_e){}
        try{
          if(typeof window.__pgRestoreBaseState === 'function'){
            window.__pgRestoreBaseState();
          }
        }catch(_e){}
        try{
          if(modalRoot) modalRoot.classList.remove('pg-wallet-view-active');
          if(modalQrImg){
            modalQrImg.classList.remove('pg-wallet-qr');
            modalQrImg.removeAttribute('src');
            modalQrImg.src = TRANSPARENT_GIF;
          }
        }catch(_e){}
        try{
          if(opts && opts.clearTx === true && window.pgTxOverlay && typeof window.pgTxOverlay.clear === 'function'){
            window.pgTxOverlay.clear();
          }
        }catch(_e){}
        return true;
      };
    }catch(_e){}
clearTxState();
    // Defensive: ensure no persisted classes/show-state sneaks in on initial paint
    setTimeout(()=>{ try{ clearTxState(); }catch(e){} }, 0);
    function syncApplyRewardsDisplay(){
      try{
        const rwUsdLive = document.getElementById('pg-rw-usd') || rwUsd;
        const rwPriceLive = document.getElementById('pg-rw-price') || rwPrice;
        if(arPrice && rwPriceLive){
          const priceTxt = (rwPriceLive.textContent || '').trim();
          arPrice.textContent = priceTxt || '$0.0375';
        }
        if(arUsd && rwUsdLive){
          const raw = (rwUsdLive.textContent || '').trim();
          const clean = raw.replace(/[^0-9.]+/g,'');
          arUsd.textContent = clean ? ('$' + clean) : '$0.00';
        }
      }catch(_e){}
    }
    function openApplyRewards(){
      // Ensure Asset Data is collapsed before opening Apply Rewards
      closeAssetData();
      // sync display values from the live rewards drawer every time
      syncApplyRewardsDisplay();
      // reset switch OFF on each entry
      setSwitch(false, true);
      metaCard.classList.add('is-ar-open');
      setArVisible(true);
      // Make sure the rewards drawer is closed for a clean state
      const rewardsCard = document.getElementById('pg-rewards-code');
      if(rewardsCard) rewardsCard.classList.remove('is-code-open');
      document.documentElement.classList.remove('pg-rw-open');
    }
    try{
      const rwUsdLive = document.getElementById('pg-rw-usd');
      if(rwUsdLive && !rwUsdLive.__pgArMirrorBound){
        rwUsdLive.__pgArMirrorBound = true;
        const mo = new MutationObserver(function(){ try{ syncApplyRewardsDisplay(); }catch(_e){} });
        mo.observe(rwUsdLive, { childList:true, subtree:true, characterData:true });
      }
    }catch(_e){}
    // Identify the Pay Now button EXACTLY (right-side of the hero hybrid control).
    function isPayNowBtn(el){
      if(!el) return false;
      // The user-specified target is: button.pg-hph-side:nth-child(3)
      if(el.matches && el.matches('#pg-hybredpayment-hero button.pg-hph-side:nth-child(3)')) return true;
      // Fallbacks for DOM variations (still right-side only).
      if(!el.closest || !el.closest('#pg-hybredpayment-hero')) return false;
      if(!el.matches || !el.matches('button.pg-hph-side')) return false;
      // Prefer explicit right markers if present.
      if(el.classList.contains('pg-hph-right')) return true;
      if(el.getAttribute('data-side') === 'right') return true;
      // Last resort: match visible label text.
      const label = ((el.getAttribute('aria-label') || '') + ' ' + (el.textContent || '')).toLowerCase();
      return label.includes('pay now') || (label.includes('pay') && label.includes('now'));
    }
    function isCardOrCancelBtn(el){
      if(!el) return false;
      if(el.matches && el.matches('#pg-hybredpayment-hero button.pg-hph-side:nth-child(1)')) return true;
      if(!el.closest || !el.closest('#pg-hybredpayment-hero')) return false;
      if(!el.matches || !el.matches('button.pg-hph-side')) return false;
      if(el.classList.contains('pg-hph-left')) return true;
      if(el.getAttribute('data-side') === 'left') return true;
      const label = ((el.getAttribute('aria-label') || '') + ' ' + (el.textContent || '')).toLowerCase();
      return label.includes('pay by card') || label.includes('use card') || label.includes('cancel') || label.includes('back');
    }
    document.addEventListener('click', function(e){
      if(!isMobile()) return;
      if(e && e.isTrusted === false) return;
      const btn = e.target && e.target.closest ? e.target.closest('#pg-hybredpayment-hero button.pg-hph-side') : null;
      if(!isCardOrCancelBtn(btn)) return;
      const rewardsOverlayOpen = document.documentElement.classList.contains('pg-ar-overlay-open') || document.documentElement.classList.contains('pg-ar-overlay-lock');
      if(!rewardsOverlayOpen) return;
      e.preventDefault();
      e.stopPropagation();
      closeRewardsAmountOverlay();
      clearTxState();
    }, true);
    // Always use capture so we win even if other click handlers stop propagation.
    document.addEventListener('click', function(e){
      if(!isMobile()) return;
      if(e && e.isTrusted === false) return;
      const btn = e.target && e.target.closest ? e.target.closest('#pg-hybredpayment-hero button.pg-hph-side') : null;
      if(!isPayNowBtn(btn)) return;
      e.preventDefault();
      e.stopPropagation();
      // Lock the EXACT total shown in the Pay button (ex: "Pay $0.01") so it cannot revert during Pending/Radom.
      try{
        const state = (typeof pgArLockAppliedState === 'function') ? pgArLockAppliedState() : null;
        if(!(state && Number.isFinite(state.remainingOrder) && state.remainingOrder >= 0)){
          const line1 = btn.querySelector('.pg-hph-line1') || btn;
          const rawPay = line1 ? (line1.textContent || '') : '';
          const nPay = parseFloat(String(rawPay).replace(/[^0-9.]/g,''));
          if(Number.isFinite(nPay) && nPay > 0){
            window.pgLockedTotalUSD = nPay;
          }
          const rwTxt = rwUsd ? (rwUsd.textContent || '') : '';
          const rwNow = parseFloat(String(rwTxt).replace(/[^0-9.]/g,''));
          if(Number.isFinite(rwNow)) window.pgLockedRewardsBalanceUSD = rwNow;
          if(!Number.isFinite(Number(window.pgLockedRewardsAppliedUSD))) window.pgLockedRewardsAppliedUSD = 0;
          if(!Number.isFinite(Number(window.pgLockedRewardsSavedUSD))) window.pgLockedRewardsSavedUSD = Number(window.pgLockedRewardsAppliedUSD) || 0;
        }
      }catch(_){}
      // =========================================================
      // PAY BUTTON FLOW (MOBILE)
      // 1) If user HAS rewards (>0), first click opens the rewards number entry overlay directly
      // 2) If user has NO rewards, OR the rewards number entry overlay is already open,
      //    a Pay click proceeds to the TX Pending overlay.
      // =========================================================
      const rewardsAvailable = numFrom(rwUsd) > 0;
      const rewardsOverlayOpen = document.documentElement.classList.contains('pg-ar-overlay-open') || document.documentElement.classList.contains('pg-ar-overlay-lock');
      // Always clear any TX overlay before deciding what to show next
      clearTxState();
      if(rewardsAvailable && !rewardsOverlayOpen){
        // First pay click: bypass the inline Apply Rewards toggle and open the rewards number entry overlay directly.
        syncApplyRewardsDisplay();
        openRewardsAmountOverlay();
        return;
      }
      // Otherwise: proceed to pending overlay (inside #pg-crypto-meta)
      showTxPending();
      startMobileRadomFlow();
    }, true);
    // Start closed (safety)
    // Close behavior (no close button): tap anywhere on the Apply Rewards sheet (except the toggle),
    // or swipe UP on the sheet to dismiss.
    (function bindApplyRewardsDismiss(){
      if(!arBody) return;
      // Tap-to-close (capture so it works even with nested handlers later)
      arBody.addEventListener('click', function(ev){
        if(!isMobile()) return;
        if(!metaCard.classList.contains('is-ar-open')) return;
        const t = ev.target;
        // Never close when interacting with the toggle/switch
        if(t && t.closest && t.closest('#pg-ar-switch')) return;
        ev.preventDefault();
        ev.stopPropagation();
        closeApplyRewards();
      }, true);
      // Swipe UP to close (simple, super-app feel)
      let startY = null;
      let moved = 0;
      function yFromEvent(e){
        const t = e.touches && e.touches[0] ? e.touches[0] : e;
        return t.clientY || 0;
      }
      function onStart(e){
        if(!isMobile()) return;
        if(!metaCard.classList.contains('is-ar-open')) return;
        // ignore if gesture starts on the switch
        const t = e.target;
        if(t && t.closest && t.closest('#pg-ar-switch')) return;
        startY = yFromEvent(e);
        moved = 0;
      }
      function onMove(e){
        if(startY == null) return;
        const dy = yFromEvent(e) - startY;
        // dy < 0 => moving up
        moved = Math.min(0, dy);
      }
      function onEnd(){
        if(startY == null) return;
        // Threshold: swipe up at least 60px
        if(moved <= -60){
          closeApplyRewards();
        }
        startY = null;
        moved = 0;
      }
      arBody.addEventListener('touchstart', onStart, {passive:true});
      arBody.addEventListener('touchmove', onMove, {passive:true});
      arBody.addEventListener('touchend', onEnd, {passive:true});
      // Pointer events (covers non-touch pen/mouse)
      arBody.addEventListener('pointerdown', onStart, {passive:true});
      arBody.addEventListener('pointermove', onMove, {passive:true});
      arBody.addEventListener('pointerup', onEnd, {passive:true});
      arBody.addEventListener('pointercancel', onEnd, {passive:true});
    })();
    closeApplyRewards();
  }
  // Run now + after DOM ready (covers late-mount + refresh scenarios)
  if(document.readyState === 'loading'){
    document.addEventListener('DOMContentLoaded', init, { once:true });
  }
  init();
})();;
   </script>
  </div>
 </div>
 <script>
  /* Set default Pay button label to include current order total (always-on) */
(function(){
    function setPayLabel(){
    try{
      var line1 = document.querySelector('#pg-hybredpayment-hero .pg-hph-right .pg-hph-line1');
      if(!line1) return;
      // If we have a locked total (ex: after rewards + pay click), keep it.
      var locked = (typeof window.pgLockedTotalUSD === 'number') ? window.pgLockedTotalUSD : parseFloat(String(window.pgLockedTotalUSD || '').replace(/[^0-9.]/g,''));
      if(isFinite(locked) && locked >= 0){
        line1.textContent = 'Pay $' + locked.toLocaleString(undefined,{minimumFractionDigits:2,maximumFractionDigits:2});
        return;
      }
      // While TX overlay is active, do not auto-reset the label from base totals
      var meta = document.getElementById('pg-crypto-meta');
      if(meta && (meta.classList.contains('is-tx-pending') || meta.classList.contains('is-tx-complete'))){
        return;
      }
      var orderEl = document.getElementById('pg-order-total-display') || document.querySelector('.pg-meta-total-amount');
      if(!orderEl) return;
      var t = (orderEl.textContent || '').replace(/[^0-9.]/g,'');
      var v = parseFloat(t);
      if(!isFinite(v)) return;
      line1.textContent = 'Pay $' + v.toLocaleString(undefined,{minimumFractionDigits:2,maximumFractionDigits:2});
    }catch(e){}
  }
  if(document.readyState === 'loading'){
    document.addEventListener('DOMContentLoaded', setPayLabel, {once:true});
  }else{
    setPayLabel();
  }
})();
 </script>
 <style id="pg-step312f-tx-screen-ring-lock">
  @media (max-width: 520px){
  /* STEP 312F — LOCKED TX SCREEN OVERLAY + VISIBLE ROTATING RING
     - Keeps footer dock uncovered
     - Keeps asset carousel + tx stage above overlay
     - Uses the existing active .pg-asset-symbol as the ring host
     - Leaves logo placement untouched
  */
  #crypto-gateway-demo-root.pg-tx-screen-active::before{
    content:"";
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: var(--pg-dock-h, 78px);
    background: rgba(0,0,0,0.80);
    pointer-events: none;
    z-index: 10040;
  }
  /* Keep only the featured asset + TX stage above the blackout layer.
     Header / rewards / section title remain behind the overlay. */
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-asset-row,
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-crypto-meta{
    position: relative;
    z-index: 10045;
  }
  /* Pending / Complete must stay crisp even when rewards had been applied.
     This neutralizes the rewards-open blur/veil on the feature asset row only
     while the TX screen is active. */
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-asset-row{
    filter: none !important;
    transform: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-asset-row::after{
    content: none !important;
    display: none !important;
  }
  /* Keep the hybrid payment hero locked in its original fixed position. */
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-hybredpayment-hero-row{
    z-index: 10045 !important;
  }
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-asset-row .pg-asset-pill.pg-asset-active{
    z-index: 10046 !important;
  }
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol{
    overflow: visible !important;
    isolation: isolate;
  }
  /* Disable prior injected clone attempt so only the new ring renders */
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol > .pg-tx-ring-clone,
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol > .pg-tx-ring-aura{
    display: none !important;
    opacity: 0 !important;
  }
  /* Visible rotating progress ring */
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol::before{
    content:"";
    position:absolute;
    inset:-10px;
    border-radius:999px;
    z-index:1;
    pointer-events:none;
    background:
      conic-gradient(from 0deg,
        rgba(var(--coin-rgb, var(--accent-rgb)),0.00) 0deg,
        rgba(var(--coin-rgb, var(--accent-rgb)),0.00) 210deg,
        rgba(var(--coin-rgb, var(--accent-rgb)),0.14) 244deg,
        rgba(255,255,255,0.98) 282deg,
        rgba(var(--coin-rgb, var(--accent-rgb)),0.98) 312deg,
        rgba(var(--coin-rgb, var(--accent-rgb)),0.40) 338deg,
        rgba(var(--coin-rgb, var(--accent-rgb)),0.00) 360deg);
    -webkit-mask: radial-gradient(circle at 50% 50%, transparent 60%, #000 64%, #000 71%, transparent 76%);
            mask: radial-gradient(circle at 50% 50%, transparent 60%, #000 64%, #000 71%, transparent 76%);
    opacity: .98;
    box-shadow:
      0 0 14px rgba(var(--coin-rgb, var(--accent-rgb)),0.28),
      0 0 28px rgba(var(--coin-rgb, var(--accent-rgb)),0.16);
    transform-origin: 50% 50%;
    will-change: transform;
    animation: pgTxRingRotateFixed 2.8s linear infinite;
  }
  /* Secondary halo pulse lives on a separate layer so rotation stays visible. */
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol::after{
    content:"";
    position:absolute;
    inset:-8px;
    border-radius:999px;
    z-index:0;
    pointer-events:none;
    background: radial-gradient(circle at 50% 50%, rgba(var(--coin-rgb, var(--accent-rgb)),0.00) 58%, rgba(var(--coin-rgb, var(--accent-rgb)),0.16) 68%, rgba(var(--coin-rgb, var(--accent-rgb)),0.00) 78%);
    opacity:.72;
    filter: blur(1.5px);
    animation: pgTxRingHaloPulseFixed 2.2s ease-in-out infinite;
  }
  /* Confirmation pulse engine */
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol{
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.20),
      0 18px 26px rgba(0,0,0,0.65),
      0 0 22px rgba(var(--coin-rgb, var(--accent-rgb)),0.22),
      0 0 38px rgba(var(--coin-rgb, var(--accent-rgb)),0.10) !important;
    animation: pgTxSymbolConfirmPulse 2.8s ease-in-out infinite;
  }
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-logo{
    position: relative;
    z-index: 2;
  }
  @keyframes pgTxRingRotateFixed{
    from{ transform: rotate(0deg); }
    to{ transform: rotate(360deg); }
  }
  @keyframes pgTxRingHaloPulseFixed{
    0%,100%{
      opacity: .62;
      transform: scale(1);
    }
    50%{
      opacity: .92;
      transform: scale(1.025);
    }
  }
  @keyframes pgTxSymbolConfirmPulse{
    0%,100%{
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.20),
        0 18px 26px rgba(0,0,0,0.65),
        0 0 22px rgba(var(--coin-rgb, var(--accent-rgb)),0.22),
        0 0 38px rgba(var(--coin-rgb, var(--accent-rgb)),0.10);
    }
    50%{
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.24),
        0 18px 26px rgba(0,0,0,0.65),
        0 0 28px rgba(var(--coin-rgb, var(--accent-rgb)),0.34),
        0 0 54px rgba(var(--coin-rgb, var(--accent-rgb)),0.18);
    }
  }
}
/* ===== END STYLE BLOCK: inline-style ===== */



/* ===== BEGIN STYLE BLOCK: pg-step330-instore-pay-css ===== */
@media (max-width: 640px){
  #crypto-gateway-demo-root.pg-instore-pay-active .pg-card-header{
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    align-items: flex-start !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active .pg-title{
    font-size: 18px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    white-space: normal !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active #pg-stepper,
  #crypto-gateway-demo-root.pg-instore-pay-active .pg-pay-col,
  #crypto-gateway-demo-root.pg-instore-pay-active #pg-os-toggle,
  #crypto-gateway-demo-root.pg-instore-pay-active .pg-os-meta{
    display: none !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active #pg-pay-asset-split{
    display: block !important;
    margin-top: 0 !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active #pg-asset-col{
    width: 100% !important;
    max-width: 100% !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active #pg-crypto-step-label{
    display: none !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active #pg-order-summary{
    margin-bottom: 12px !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active #pg-os-merchant-logo{
    display: block !important;
    height: 28px !important;
    max-width: 132px !important;
    margin-left: 0 !important;
    filter:
      drop-shadow(0 0 10px rgba(0, 221, 255, 0.30))
      drop-shadow(0 12px 18px rgba(0,0,0,0.40)) !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active .pg-os-title{
    justify-content: space-between !important;
    gap: 12px !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active .pg-os-merchant{
    transition: opacity 180ms ease, max-height 180ms ease, margin 180ms ease;
    overflow: hidden;
  }
  #crypto-gateway-demo-root.pg-instore-prebind .pg-os-merchant{
    opacity: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active .pg-os-right{
    width: auto !important;
    min-width: 0 !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active .pg-os-right .pg-os-total{
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1.05 !important;
  }
  #pg-instore-stage{
    display: none;
    position: relative;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 286px;
    margin: -2px 0 10px;
    z-index: 4;
  }
  #crypto-gateway-demo-root.pg-instore-prebind #pg-instore-stage{
    display: flex;
  }
  #pg-instore-stage .pg-instore-stage-shell{
    width: 100%;
    min-height: 286px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding-top: 2px;
  }
  #pg-instore-stage .pg-instore-stage-link{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    transform: translateY(40px) !important;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  #pg-instore-stage .pg-instore-qr-shell{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 214px;
    height: 214px;
    flex: 0 0 214px;
    border-radius: 22px;
    padding: 12px;
    transform: translate3d(0, 0, 0);
    background:
      radial-gradient(140% 120% at 18% 12%, rgba(255,255,255,0.16), rgba(255,255,255,0.03) 34%, rgba(var(--accent-rgb),0.16) 72%, rgba(var(--accent-rgb),0.08) 100%),
      linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.12));
    border: 1px solid rgba(var(--accent-rgb),0.34);
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.10),
      0 0 0 1px rgba(var(--accent-rgb),0.18),
      0 0 26px rgba(var(--accent-rgb),0.24),
      0 22px 34px rgba(0,0,0,0.46);
    overflow: hidden;
    isolation: isolate;
  }
  #pg-instore-stage .pg-instore-qr-shell::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius: inherit;
    pointer-events:none;
    background:
      linear-gradient(135deg,
        rgba(255,255,255,0.34) 0%,
        rgba(255,255,255,0.10) 18%,
        rgba(255,255,255,0.00) 44%,
        rgba(255,255,255,0.14) 74%,
        rgba(255,255,255,0.00) 100%);
    mix-blend-mode: screen;
    opacity: 0.58;
  }
  #pg-instore-stage .pg-instore-qr-shell::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius: inherit;
    pointer-events:none;
    background:
      radial-gradient(72% 60% at 18% 20%, rgba(255,255,255,0.20), rgba(255,255,255,0.00) 62%),
      radial-gradient(90% 90% at 82% 96%, rgba(var(--accent-rgb),0.24), rgba(var(--accent-rgb),0.00) 64%);
    opacity: 0.82;
  }
  #pg-instore-stage .pg-instore-qr-board{
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
    overflow: hidden;
  }
  #pg-instore-stage .pg-instore-qr-img{
    width: 176px;
    height: 176px;
    min-width: 176px;
    min-height: 176px;
    max-width: 176px;
    max-height: 176px;
    display: block;
    image-rendering: pixelated;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
  }
  #pg-instore-stage .pg-instore-qr-shell.is-binding{
    animation: pgInstoreBindPulse 700ms ease-in-out 1;
  }
  @keyframes pgInstoreBindPulse{
    0%,100%{
      transform: scale(1);
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.10),
        0 0 0 1px rgba(var(--accent-rgb),0.18),
        0 0 26px rgba(var(--accent-rgb),0.24),
        0 22px 34px rgba(0,0,0,0.46);
    }
    50%{
      transform: scale(1.018);
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.16),
        0 0 0 1px rgba(var(--accent-rgb),0.32),
        0 0 42px rgba(var(--accent-rgb),0.34),
        0 24px 38px rgba(0,0,0,0.52);
    }
  }
  #crypto-gateway-demo-root.pg-instore-pay-active #pg-asset-row{
    position: relative;
    transition: opacity 260ms ease, filter 260ms ease, transform 260ms ease;
  }
  #crypto-gateway-demo-root.pg-instore-prebind #pg-asset-row{
    opacity: 0.15 !important;
    filter: blur(8px) saturate(0.72) brightness(0.54) !important;
    transform: scale(0.985) !important;
    pointer-events: none !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active #pg-asset-row::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.22));
    opacity: 0;
    transition: opacity 220ms ease;
  }
  #crypto-gateway-demo-root.pg-instore-prebind #pg-asset-row::after{
    opacity: 1;
  }
  #crypto-gateway-demo-root.pg-instore-prebind #pg-crypto-meta{
    display: none !important;
  }
  #crypto-gateway-demo-root.pg-instore-bound #pg-crypto-meta{
    display: grid !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active #pg-hybredpayment-hero-row{
    display: block !important;
    margin-top: 10px !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active #pg-hybredpayment-hero{
    margin-top: 0 !important;
  }
  #crypto-gateway-demo-root.pg-instore-prebind #pg-hybredpayment-hero .pg-hph-side{
    opacity: 0.34 !important;
    pointer-events: none !important;
    filter: saturate(0.42) brightness(0.82) !important;
  }
  #crypto-gateway-demo-root.pg-instore-bound #pg-hybredpayment-hero .pg-hph-side{
    opacity: 1 !important;
    pointer-events: auto !important;
    filter: none !important;
  }
  #crypto-gateway-demo-root.pg-instore-pay-active #pg-mobile-tab-overlay{
    display: none !important;
  }
}
/* ===== END STYLE BLOCK: pg-step330-instore-pay-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step352-desktop-carousel-css ===== */
@media (min-width: 861px){
  #pg-asset-col{
    min-width: 0 !important;
  }
  #pg-asset-col #pg-crypto-step-label{
    margin: 0 0 10px 6px !important;
    font-size: 13px !important;
    letter-spacing: 0.16em !important;
    color: rgba(255,255,255,0.68) !important;
  }
  #pg-asset-row.pg-desktop-carousel-row{
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 188px !important;
    min-height: 188px !important;
    max-height: 188px !important;
    margin: 4px 0 12px !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    touch-action: auto !important;
    scrollbar-width: none !important;
  }
  #pg-asset-row.pg-desktop-carousel-row::-webkit-scrollbar{
    display:none !important;
  }
  #pg-asset-row.pg-desktop-carousel-row::before,
  #pg-asset-row.pg-desktop-carousel-row::after{
    display:none !important;
    content:none !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill{
    position: absolute !important;
    top: 6px !important;
    left: 50% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 18px 14px 42px !important;
    width: 186px !important;
    height: 170px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    background:
      radial-gradient(130% 120% at 50% 0%, rgba(255,255,255,0.08), rgba(255,255,255,0.01) 40%, rgba(0,0,0,0.00) 66%),
      linear-gradient(180deg, rgba(17,23,29,0.96), rgba(10,13,17,0.98)) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.08),
      0 20px 38px rgba(0,0,0,0.42) !important;
    transition:
      transform 280ms cubic-bezier(.22,.9,.24,1),
      opacity 220ms ease,
      box-shadow 240ms ease,
      border-color 220ms ease,
      filter 220ms ease !important;
    will-change: transform, opacity;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill > div:last-child{
    display:flex !important;
    flex-direction: column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    margin-top: 10px !important;
    width: 100% !important;
    text-align:center !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill .pg-asset-label-main,
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill .pg-asset-label-sub{
    display:block !important;
    width: 100% !important;
    text-align:center !important;
    align-self:center !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill .pg-asset-symbol{
    width: 66px !important;
    height: 66px !important;
    border-radius: 999px !important;
    margin-top: 0 !important;
    background: rgba(255,255,255,0.08) !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.12) inset,
      0 8px 18px rgba(0,0,0,0.32) !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill .pg-asset-logo{
    width: 56px !important;
    height: 56px !important;
    object-fit: contain !important;
    border-radius: 999px !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill .pg-asset-label-main{
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    letter-spacing: 0.01em !important;
    color: rgba(255,255,255,0.96) !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill .pg-asset-label-sub{
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    color: rgba(255,255,255,0.58) !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 34px;
    height: 1px;
    background: linear-gradient(90deg,
      rgba(255,255,255,0.00) 0%,
      rgba(255,255,255,0.10) 20%,
      rgba(255,255,255,0.16) 50%,
      rgba(255,255,255,0.10) 80%,
      rgba(255,255,255,0.00) 100%);
    pointer-events: none;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill .pg-dc-price{
    position:absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 10px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: rgba(255,255,255,0.96) !important;
    text-align:center !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill .pg-dc-price .pg-dc-change{
    margin-left: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill .pg-dc-change.is-up{
    color: rgba(34,197,94,0.98) !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill .pg-dc-change.is-down{
    color: rgba(239,68,68,0.98) !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill[data-pos="center"]{
    transform: translateX(-50%) translateY(0) scale(1) !important;
    opacity: 1 !important;
    z-index: 4 !important;
    border-color: rgba(var(--coin-rgb, var(--accent-rgb)),0.72) !important;
    background:
      radial-gradient(120% 100% at 50% 0%, rgba(var(--coin-rgb, var(--accent-rgb)),0.22), rgba(255,255,255,0.03) 40%, rgba(0,0,0,0.00) 70%),
      radial-gradient(100% 110% at 50% 50%, rgba(var(--coin-rgb, var(--accent-rgb)),0.18), rgba(0,0,0,0.00) 62%),
      linear-gradient(180deg, rgba(21,31,38,0.98), rgba(10,13,17,1)) !important;
    box-shadow:
      0 28px 52px rgba(0,0,0,0.52),
      0 0 42px rgba(var(--coin-rgb, var(--accent-rgb)),0.28),
      inset 0 1px 0 rgba(255,255,255,0.14) !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill[data-pos="center"] .pg-asset-symbol{
    background: rgba(255,255,255,0.14) !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.16) inset,
      0 10px 22px rgba(0,0,0,0.34),
      0 0 24px rgba(var(--coin-rgb, var(--accent-rgb)),0.22) !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill[data-pos="left"]{
    transform: translateX(calc(-50% - 204px)) translateY(14px) scale(0.86) !important;
    opacity: 0.86 !important;
    z-index: 3 !important;
    filter: saturate(0.92) !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill[data-pos="right"]{
    transform: translateX(calc(-50% + 204px)) translateY(14px) scale(0.86) !important;
    opacity: 0.86 !important;
    z-index: 3 !important;
    filter: saturate(0.92) !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill[data-pos="hidden"]{
    transform: translateX(-50%) translateY(18px) scale(0.78) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-fav{
    display:none !important;
  }
  .pg-dc-arrow{
    position: absolute !important;
    top: 50% !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    background: rgba(18,23,28,0.92) !important;
    color: rgba(255,255,255,0.92) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    transform: translateY(-50%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.08),
      0 14px 24px rgba(0,0,0,0.32) !important;
    cursor:pointer !important;
    z-index: 6 !important;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease !important;
  }
  .pg-dc-arrow:hover{
    border-color: rgba(var(--accent-rgb),0.46) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.10),
      0 0 18px rgba(var(--accent-rgb),0.16),
      0 14px 24px rgba(0,0,0,0.34) !important;
  }
  .pg-dc-arrow:active{
    transform: translateY(-50%) scale(0.96) !important;
  }
  .pg-dc-arrow.pg-dc-prev{ left: 0 !important; }
  .pg-dc-arrow.pg-dc-next{ right: 0 !important; }
  #pg-crypto-meta.pg-desktop-carousel-meta{
    margin-top: 4px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    background:
      radial-gradient(140% 120% at 50% 0%, rgba(255,255,255,0.05), rgba(255,255,255,0.02) 36%, rgba(0,0,0,0.00) 64%),
      linear-gradient(180deg, rgba(12,17,21,0.98), rgba(7,10,13,1)) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.08),
      0 20px 38px rgba(0,0,0,0.34) !important;
    overflow: hidden !important;
  }
  #pg-crypto-meta.pg-desktop-carousel-meta .pg-crypto-meta-item{
    min-height: 118px !important;
    padding: 18px 22px 16px !important;
    background: transparent !important;
    border: 0 !important;
    border-right: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 0 !important;
  }
  #pg-crypto-meta.pg-desktop-carousel-meta .pg-crypto-meta-item:last-child{
    border-right: 0 !important;
  }
  #pg-crypto-meta.pg-desktop-carousel-meta .pg-crypto-meta-label{
    margin-bottom: 10px !important;
    font-size: 10px !important;
    letter-spacing: 0.18em !important;
    color: rgba(255,255,255,0.66) !important;
  }
  #pg-crypto-meta.pg-desktop-carousel-meta .pg-crypto-meta-value{
    font-size: 15px !important;
    font-weight: 700 !important;
    color: rgba(255,255,255,0.96) !important;
    align-items: baseline !important;
    gap: 8px !important;
  }
  #pg-crypto-meta.pg-desktop-carousel-meta .pg-crypto-meta-change{
    font-size: 14px !important;
    font-weight: 700 !important;
  }
  #pg-crypto-meta.pg-desktop-carousel-meta .pg-crypto-meta-note{
    margin-top: 8px !important;
    font-size: 12px !important;
    color: rgba(255,255,255,0.60) !important;
  }
  #pg-crypto-meta.pg-desktop-carousel-meta #pg-meta-method{
    display:block !important;
    line-height: 1.15 !important;
  }
}
/* ===== END STYLE BLOCK: pg-step352-desktop-carousel-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step354-desktop-paycol-width-tune-css ===== */
@media (min-width: 861px){
  :root{
    --pg-paycol-width: 333px; /* Step 354: reduced from 353px by 20px */
  }
  .pg-pay-asset-split{
    grid-template-columns: var(--pg-paycol-width) 1fr !important;
  }
  .pg-pay-col,
  .pg-rewards-field{
    width: var(--pg-paycol-width) !important;
    max-width: var(--pg-paycol-width) !important;
    min-width: var(--pg-paycol-width) !important;
  }
  .pg-pay-col .pg-payment-grid{
    width: 100% !important;
  }
  .pg-pay-col .pg-tile,
  .pg-pay-col .pg-tile.pg-tile-active,
  .pg-pay-col .pg-tile.pg-tile-active{
   margin-bottom: 10px !important;
  }
/* Keep normal spacing for inactive tiles */
  .pg-pay-col .pg-tile{
   margin-bottom: 0px !important;
  }
  .pg-rewards-field,
  #pg-rewards-code-input,
  .pg-rewards-input{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}
/* ===== END STYLE BLOCK: pg-step354-desktop-paycol-width-tune-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step355-desktop-carousel-spacing-arrows-css ===== */
@media (min-width: 861px){
  /* Move both flank assets 10px closer to center */
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill[data-pos="left"]{
    transform: translateX(calc(-50% - 194px)) translateY(14px) scale(0.86) !important;
  }
  #pg-asset-row.pg-desktop-carousel-row .pg-asset-pill[data-pos="right"]{
    transform: translateX(calc(-50% + 194px)) translateY(14px) scale(0.86) !important;
  }
  /* Rebuild arrow placement so each arrow sits on the outer edge of its flank asset */
  .pg-dc-arrow{
    top: 72px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(14,18,24,0.96), rgba(9,12,16,0.96)) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: rgba(255,255,255,0.96) !important;
    font-size: 24px !important;
    line-height: 1 !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.08),
      0 14px 28px rgba(0,0,0,0.36),
      0 0 0 1px rgba(255,255,255,0.03) !important;
    transform: translate(-50%, -50%) !important;
  }
  .pg-dc-arrow:hover{
    border-color: rgba(var(--accent-rgb),0.52) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.10),
      0 0 18px rgba(var(--accent-rgb),0.18),
      0 14px 28px rgba(0,0,0,0.38) !important;
  }
  .pg-dc-arrow:active{
    transform: translate(-50%, -50%) scale(0.96) !important;
  }
  /* Center of left arrow aligns with outer-left edge of left flank asset */
  .pg-dc-arrow.pg-dc-prev{
    left: calc(50% - 274px) !important;
    right: auto !important;
  }
  /* Center of right arrow aligns with outer-right edge of right flank asset */
  .pg-dc-arrow.pg-dc-next{
    left: calc(50% + 274px) !important;
    right: auto !important;
  }
}
/* ===== END STYLE BLOCK: pg-step355-desktop-carousel-spacing-arrows-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step357-complete-payment-button-placement-css ===== */
/* Remove secondary back text/button completely */
  #pg-crypto-back{
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }
  /* Keep CTA inside the LEFT payment column, directly under rewards field */
  .pg-button-row{
    width: var(--pg-paycol-width) !important;
    max-width: var(--pg-paycol-width) !important;
    min-width: var(--pg-paycol-width) !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* Match left payment tile proportions and width */
  #pg-crypto-continue{
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(var(--accent-rgb),0.78) !important;
    background:
      radial-gradient(120% 180% at 50% -15%, rgba(255,255,255,0.08), rgba(255,255,255,0.00) 42%),
      linear-gradient(180deg, rgba(9,13,17,0.98), rgba(6,9,12,1)) !important;
    color: rgba(238,255,250,0.96) !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.08),
      inset 0 0 0 1px rgba(255,255,255,0.03),
      0 0 0 1px rgba(var(--accent-rgb),0.08),
      0 0 12px rgba(var(--accent-rgb),0.16),
      0 12px 24px rgba(0,0,0,0.42) !important;
    transition:
      border-color 180ms ease,
      box-shadow 180ms ease,
      transform 160ms ease,
      color 180ms ease,
      background 180ms ease !important;
    overflow: hidden !important;
    isolation: isolate !important;
  }
  #pg-crypto-continue::before{
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: inherit !important;
    pointer-events: none !important;
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.10) 0%,
        rgba(255,255,255,0.03) 22%,
        rgba(255,255,255,0.00) 52%) !important;
    z-index: 0 !important;
  }
  #pg-crypto-continue::after{
    content: "" !important;
    position: absolute !important;
    inset: -1px !important;
    border-radius: inherit !important;
    pointer-events: none !important;
    background:
      radial-gradient(90% 120% at 50% 100%, rgba(var(--accent-rgb),0.18), rgba(var(--accent-rgb),0.00) 70%) !important;
    opacity: 0.9 !important;
    z-index: 0 !important;
  }
  #pg-crypto-continue > *{
    position: relative !important;
    z-index: 1 !important;
  }
  #pg-crypto-continue:hover{
    border-color: rgba(var(--accent-rgb),0.94) !important;
    color: rgba(255,255,255,0.98) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.10),
      inset 0 0 0 1px rgba(255,255,255,0.04),
      0 0 0 1px rgba(var(--accent-rgb),0.12),
      0 0 18px rgba(var(--accent-rgb),0.22),
      0 16px 28px rgba(0,0,0,0.46) !important;
    transform: translateY(-1px) !important;
  }
  #pg-crypto-continue:active{
    transform: translateY(0) scale(0.992) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.08),
      inset 0 0 0 1px rgba(255,255,255,0.03),
      0 0 0 1px rgba(var(--accent-rgb),0.10),
      0 0 10px rgba(var(--accent-rgb),0.18),
      0 10px 20px rgba(0,0,0,0.42) !important;
  }
  #pg-crypto-continue:focus-visible{
    outline: none !important;
    border-color: rgba(var(--accent-rgb),0.98) !important;
    box-shadow:
      0 0 0 3px rgba(var(--accent-rgb),0.16),
      0 0 20px rgba(var(--accent-rgb),0.22),
      0 12px 24px rgba(0,0,0,0.42) !important;
  }
  #pg-crypto-continue:disabled,
  #pg-crypto-continue[disabled]{
    opacity: 0.48 !important;
    cursor: not-allowed !important;
    border-color: rgba(255,255,255,0.10) !important;
    color: rgba(255,255,255,0.56) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.05),
      0 10px 18px rgba(0,0,0,0.28) !important;
  }
  /* Desktop-only placement tuning under rewards field */
  @media (min-width: 861px){
    .pg-pay-col .pg-button-row{
      margin-top: 0 !important;
    }
  }
  /* Preserve safe sizing on mobile/tablet if the shared button appears there */
  @media (max-width: 860px){
    .pg-button-row{
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
    }
    #pg-crypto-continue{
      height: 86px !important;
      min-height: 86px !important;
      max-height: 86px !important;
      border-radius: 14px !important;
      font-size: 16px !important;
    }
  }
/* ===== END STYLE BLOCK: pg-step357-complete-payment-button-placement-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step358-complete-payment-button-size-css ===== */
/* Move button upward */
  .pg-pay-col .pg-button-row{
    margin-top: -10px !important;
    margin-bottom: 0 !important;
  }
  /* Reduce button height */
  #pg-crypto-continue{
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    margin-top: -81px !important;
    border-radius: 10px !important;
    font-size: 18px !important;
  }
  /* Desktop fine tuning to prevent scrollbar */
  @media (min-width: 861px){
    .pg-pay-col{
      padding-bottom: 0 !important;
    }
    #pg-crypto-section{
      padding-bottom: 10px !important;
    }
  }
/* ===== END STYLE BLOCK: pg-step358-complete-payment-button-size-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step359-mobile-lock-protection-css ===== */
@media (max-width: 520px){
    /* 1) Hard-hide desktop carousel price overlays injected by desktop JS */
    .pg-dc-price,
    .pg-dc-price-main,
    .pg-dc-change,
    span.pg-dc-price-main,
    span.pg-dc-change,
    span.pg-dc-change.is-up,
    span.pg-dc-change.is-down{
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
      width: 0 !important;
      height: 0 !important;
      max-width: 0 !important;
      max-height: 0 !important;
      overflow: hidden !important;
    }
    /* 2) Hard-hide desktop carousel arrows / controls on mobile */
    .pg-dc-arrow,
    .pg-dc-prev,
    .pg-dc-next,
    button.pg-dc-arrow,
    button.pg-dc-arrow.pg-dc-prev,
    button.pg-dc-arrow.pg-dc-next{
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }
    /* 3) Hard-hide desktop-only Complete Payment button on mobile */
    #pg-crypto-section,
    #pg-crypto-section > div,
    .pg-button-row,
    #pg-crypto-continue,
    button#pg-crypto-continue,
    #pg-crypto-back{
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
      width: 0 !important;
      height: 0 !important;
      max-width: 0 !important;
      max-height: 0 !important;
      min-width: 0 !important;
      min-height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      border: 0 !important;
      overflow: hidden !important;
    }
    /* 4) Neutralize desktop carousel layout classes if they persist after resize */
    #pg-asset-row.pg-desktop-carousel-row{
      opacity: 1 !important;
      visibility: visible !important;
    }
    /* 5) Ensure mobile asset tiles never reserve space for desktop price rows */
    #pg-asset-row .pg-asset-pill{
      padding-bottom: initial !important;
    }
  }
/* ===== END STYLE BLOCK: pg-step359-mobile-lock-protection-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step362-mobile-hide-desktop-complete-payment-css ===== */
@media (max-width: 640px){
    #pg-crypto-continue,
    button#pg-crypto-continue,
    #pg-crypto-back{
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
      width: 0 !important;
      height: 0 !important;
      min-width: 0 !important;
      min-height: 0 !important;
      max-width: 0 !important;
      max-height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      border: 0 !important;
      overflow: hidden !important;
      box-shadow: none !important;
    }
    .pg-button-row{
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
      width: 0 !important;
      height: 0 !important;
      min-width: 0 !important;
      min-height: 0 !important;
      max-width: 0 !important;
      max-height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow: hidden !important;
    }
  }
/* ===== END STYLE BLOCK: pg-step362-mobile-hide-desktop-complete-payment-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1001-mobile-scroll-lock-css ===== */
@media (max-width: 520px){
  html.zelen-gateway-embed,
  html.zelen-gateway-embed body,
  html.zelen-gateway-embed #dm,
  html.zelen-gateway-embed #dmRoot,
  html.zelen-gateway-embed #dm-root,
  html.zelen-gateway-embed #dm-outer-wrapper,
  html.zelen-gateway-embed #dm-outer-wrapper > .dmOuter,
  html.zelen-gateway-embed #innerBar,
  html.zelen-gateway-embed #layoutHeader,
  html.zelen-gateway-embed #site_content,
  html.zelen-gateway-embed .dmRespRow,
  html.zelen-gateway-embed .dmRespColsWrapper,
  html.zelen-gateway-embed .dmRespCol,
  html.zelen-gateway-embed .dmNewParagraph,
  html.zelen-gateway-embed .dmWrap,
  html.zelen-gateway-embed .dmBody,
  html.zelen-gateway-embed .dmContent,
  html.zelen-gateway-embed .dmContentArea,
  html.zelen-gateway-embed .dmInner{
    margin: 0 !important;
    padding: 0 !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    overscroll-behavior: none !important;
    -webkit-overflow-scrolling: auto !important;
  }
  html.zelen-gateway-embed,
  html.zelen-gateway-embed body{
    width: 100% !important;
    position: fixed !important;
    inset: 0 !important;
    touch-action: manipulation !important;
    background: #0b0f12 !important;
  }
  html.zelen-gateway-embed #crypto-gateway-demo-root,
  html.zelen-gateway-embed .pg-layout,
  html.zelen-gateway-embed .pg-main-card,
  html.zelen-gateway-embed .pg-card.pg-main-card{
    width: 100% !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
  }
  /* Hard remove any native/site chrome on mobile before it can show */
  html.zelen-gateway-embed header,
  html.zelen-gateway-embed footer,
  html.zelen-gateway-embed #header,
  html.zelen-gateway-embed #headerWrapper,
  html.zelen-gateway-embed #hamburger-header,
  html.zelen-gateway-embed #hamburger-header-container,
  html.zelen-gateway-embed #mobile-hamburger-header,
  html.zelen-gateway-embed #mobile-hamburger-header-container,
  html.zelen-gateway-embed #layout-drawer-hamburger,
  html.zelen-gateway-embed #dmFooter,
  html.zelen-gateway-embed .dmHeader,
  html.zelen-gateway-embed .dmHeaderContainer,
  html.zelen-gateway-embed .dmHeaderContainerWrapper,
  html.zelen-gateway-embed .dmFooter,
  html.zelen-gateway-embed .dmFooterResp,
  html.zelen-gateway-embed .dmFooterWrapper,
  html.zelen-gateway-embed .dmFooterContainer,
  html.zelen-gateway-embed .dmFooterContainerWrapper,
  html.zelen-gateway-embed .hamburger-header,
  html.zelen-gateway-embed .hamburger-header-container,
  html.zelen-gateway-embed .hamburger-on-header,
  html.zelen-gateway-embed .site-footer,
  html.zelen-gateway-embed .footer,
  html.zelen-gateway-embed .p_hfcontainer,
  html.zelen-gateway-embed .stickyHeaderSpacer,
  html.zelen-gateway-embed #stickyHeaderSpacer{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }
  /* Auth entry must also stay locked to the viewport */
  #pg-mobile-auth-entry,
  #pg-mobile-auth-entry .pg-auth-shell{
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    overflow-y: hidden !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1001-mobile-scroll-lock-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1004-mobile-payment-dock-hide-css ===== */
@media (max-width: 640px){
    html.pg-ar-overlay-open #pg-mobile-dock.pg-mobile-dock,
    #crypto-gateway-demo-root.pg-tx-screen-active #pg-mobile-dock.pg-mobile-dock{
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
      transform: translateY(calc(100% + 18px)) !important;
      transition:
        opacity 220ms ease,
        transform 260ms cubic-bezier(.2,.9,.2,1),
        visibility 0s linear 220ms !important;
    }
    html.pg-ar-overlay-open #pg-hybredpayment-hero-row,
    #crypto-gateway-demo-root.pg-tx-screen-active #pg-hybredpayment-hero-row{
      bottom: calc(env(safe-area-inset-bottom, 0px) + 8px) !important;
      transition: bottom 260ms cubic-bezier(.2,.9,.2,1) !important;
    }
  }
/* ===== END STYLE BLOCK: pg-step1004-mobile-payment-dock-hide-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1006-mobile-crypto-meta-normal-state-only ===== */
@media (max-width: 520px){
  /* STEP 1006B — MOBILE ONLY
     Scope: ONLY the normal closed asset-meta state.
     Explicitly excludes pending / complete shared overlay states. */
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete){
    height: 94px !important;
    min-height: 94px !important;
    max-height: 94px !important;
    padding: 12px 14px 12px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: 18px 24px !important;
    column-gap: 10px !important;
    row-gap: 8px !important;
    align-items: start !important;
    align-content: start !important;
    overflow: hidden !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item{
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(1),
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(2){
    display: contents !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(3),
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-assethead,
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-note,
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-method,
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-path,
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-crypto-meta-note,
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-total-label,
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-total-amount,
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-total-usd{
    display: none !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-label,
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(2) .pg-crypto-meta-label{
    align-self: end !important;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 300 !important;
    letter-spacing: 0.10em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.78) !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-label{
    grid-column: 1;
    grid-row: 1;
    justify-self: center !important;
    text-align: center !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(2) .pg-crypto-meta-label{
    grid-column: 2;
    grid-row: 1;
    justify-self: center !important;
    text-align: center !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-value{
    display: contents !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price,
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change{
    align-self: start !important;
    justify-self: center !important;
    text-align: center !important;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.05 !important;
    color: rgba(255,255,255,0.98) !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price{ grid-column: 1; grid-row: 2; }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change{
    grid-column: 2;
    grid-row: 2;
    display: block !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount{
    grid-column: 3 !important;
    grid-row: 2 !important;
    display: block !important;
    align-self: start !important;
    justify-self: end !important;
    text-align: right !important;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.05 !important;
    color: rgba(255,255,255,0.98) !important;
    margin: 0 !important;
    padding-right: 0 !important;
    white-space: nowrap !important;
    position: relative !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::before{
    content: "YOU NEED";
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 300 !important;
    letter-spacing: 0.10em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.78) !important;
    white-space: nowrap !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-ad-bottom,
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-ad-toggle{
    display: none !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1006-mobile-crypto-meta-normal-state-only ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1008-mobile-crypto-meta-final-tune ===== */
@media (max-width: 520px){
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete){
    height: 84px !important;
    min-height: 84px !important;
    max-height: 84px !important;
    grid-template-rows: 16px 26px !important;
    row-gap: 4px !important;
    align-content: center !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount{
    font-size: 0 !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::after{
    content: attr(data-pg-amount-only);
    display: inline-block !important;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.05 !important;
    color: rgba(255,255,255,0.98) !important;
    white-space: nowrap !important;
    vertical-align: top !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::before{
    bottom: calc(100% + 6px) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1008-mobile-crypto-meta-final-tune ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1009-mobile-crypto-meta-column-lock-reduced ===== */
@media (max-width: 520px){
  /* =========================================================
     STEP 1009 — MOBILE ONLY: CRYPTO META FINAL COLUMN LOCK
     Scope:
     - ONLY the normal closed #pg-crypto-meta state
     - Excludes expanded drawer, transaction pending, transaction complete
     - Does NOT touch desktop/tablet, Radom/API, carousel, rewards, footer
     ========================================================= */
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete){
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 6px 13px 7px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, 1fr) !important;
    grid-template-rows: 13px 19px !important;
    column-gap: 8px !important;
    row-gap: 3px !important;
    align-items: center !important;
    align-content: center !important;
    justify-items: center !important;
    overflow: hidden !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item{
    min-width: 0 !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(1),
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(2){
    display: contents !important;
  }
  /* Titles: PRICE + 24H PRICE CHANGE */
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-label,
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(2) .pg-crypto-meta-label{
    align-self: end !important;
    justify-self: center !important;
    text-align: center !important;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 300 !important;
    letter-spacing: 0.12em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.74) !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-label{
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(2) .pg-crypto-meta-label{
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-value{
    display: contents !important;
  }
  /* Values: PRICE + 24H PRICE CHANGE */
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price,
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change{
    align-self: start !important;
    justify-self: center !important;
    text-align: center !important;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 550 !important;
    letter-spacing: 0.005em !important;
    line-height: 1.05 !important;
    color: rgba(255,255,255,0.98) !important;
    margin: 0 !important;
    white-space: nowrap !important;
    font-variant-numeric: tabular-nums !important;
    font-feature-settings: "tnum" 1, "lnum" 1 !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price{
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change{
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: block !important;
  }
  /* YOU NEED value anchor */
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount{
    grid-column: 3 !important;
    grid-row: 2 !important;
    display: block !important;
    align-self: start !important;
    justify-self: center !important;
    text-align: center !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    font-size: 0 !important;
    font-variant-numeric: tabular-nums !important;
    font-feature-settings: "tnum" 1, "lnum" 1 !important;
  }
  /* YOU NEED title — locked to the same centerline as its value */
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::before{
    content: "YOU NEED" !important;
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: calc(100% + 4px) !important;
    transform: translateX(-50%) !important;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 300 !important;
    letter-spacing: 0.12em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.74) !important;
    margin: 0 !important;
    white-space: nowrap !important;
    text-align: center !important;
  }
  /* YOU NEED amount — number only, centered, no asset suffix */
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::after{
    content: attr(data-pg-amount-only) !important;
    display: inline-block !important;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 550 !important;
    letter-spacing: 0.005em !important;
    line-height: 1.05 !important;
    color: rgba(255,255,255,0.98) !important;
    margin: 0 !important;
    white-space: nowrap !important;
    text-align: center !important;
    vertical-align: top !important;
    font-variant-numeric: tabular-nums !important;
    font-feature-settings: "tnum" 1, "lnum" 1 !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1009-mobile-crypto-meta-column-lock-reduced ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1015-mobile-home-stack-position-css ===== */
/* =========================================================
   STEP 1015 — MOBILE ONLY: HOME STACK UP 50PX + TITLE/TAGLINE SPACING LOCK
   Goal:
   - Reduce the mobile home content lift from 100px to 50px
   - Keep #pg-hybredpayment-hero / bottom buttons locked in place
   - Place title + subtitle above carousel with clean 20px gap
   Scope: MOBILE ONLY. Desktop/tablet untouched. No API changes.
========================================================= */
.pg-title-tagline{
  display:none;
}
@media (max-width: 520px){
  .pg-card-header{
    transform: translateY(-50px) !important;
    margin-bottom: 20px !important;
    will-change: transform;
  }
  #pg-pay-asset-split,
  .pg-pay-asset-split{
    transform: translateY(-50px) !important;
    will-change: transform;
  }
  #pg-hybredpayment-hero-row{
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
  }
  #pg-hybredpayment-hero{
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
  }
  .pg-title{
    margin-bottom: -15px !important;
    transform: translateY(2px) !important;
  }
}
/* =========================================================
   STEP 1016 — MOBILE ONLY: TITLE SPACING FINAL TUNING
   Goal:
   - Reduce spacing between title and subtitle by 50%
   - Move title DOWN toward subtitle
   - Keep subtitle spacing above carousel locked
   - Bring title/carousel/rewards stack UP 30px
   Scope: MOBILE ONLY. Desktop/tablet untouched. No API changes.
========================================================= */
@media (max-width: 520px){
  .pg-title-wrap{
    transform: translateY(-30px) !important;
  }
  .pg-title-main{
    margin-bottom: 4px !important;
    transform: translateY(6px) !important;
  }
  .pg-title-sub{
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }
}
/* =========================================================
   STEP 1018 — MOBILE ONLY: META 3-COLUMN CENTER LOCK
   Goal:
   - Keep the normal closed #pg-crypto-meta row as true 3 equal columns
   - Center YOU NEED + #pg-meta-amount within column 3 using the same grid behavior
   - No DOM changes, no absolute layout changes beyond existing pseudo-label anchoring
   - Does NOT touch rewards, carousel, Radom/API, desktop/tablet, pending, or complete states
========================================================= */
@media (max-width: 520px){
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete){
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-items: stretch !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount{
    justify-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::before{
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    text-align: center !important;
  }
  #pg-crypto-meta:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::after{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }
}
/* =========================================================
   STEP 1019 — MOBILE ONLY: META + REWARDS FULL-WIDTH LOCK
   Goal:
   - Keep #pg-crypto-meta full-bleed at the same mobile width
   - Expand #pg-rewards-gateway to match #pg-crypto-meta width
   - Preserve proportional internal rewards spacing via flex only
   - No DOM changes, no rewards logic changes, no desktop/tablet changes
   Scope: ONLY #pg-crypto-meta and #pg-rewards-gateway on mobile (<=520px)
========================================================= */
@media (max-width: 520px){
  #pg-crypto-meta{
    width: calc(100% + 24px) !important;
    max-width: calc(100% + 24px) !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    box-sizing: border-box !important;
  }
  #pg-rewards-gateway.pg-rewards-gateway{
    width: calc(100% + 24px) !important;
    max-width: calc(100% + 24px) !important;
    margin: 7px -12px 18px -12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  #pg-rewards-gateway .pg-rg-left{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
  }
  #pg-rewards-gateway .pg-rg-copy{
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  #pg-rewards-gateway .pg-rg-title,
  #pg-rewards-gateway .pg-rg-sub{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
  }
  #pg-rewards-gateway .pg-rg-amount{
    flex: 0 0 auto !important;
    min-width: max-content !important;
    text-align: right !important;
    white-space: nowrap !important;
  }
}
/* =========================================================
   STEP 1020 — MOBILE ONLY: REMOVE META OUTER BORDER / HAIRLINES
   Goal:
   - Clean #pg-crypto-meta visual frame by removing the outer border, shadow, and pseudo hairlines
   - Preserve the locked 3-column layout, full-width sizing, and all meta data alignment
   - No DOM changes, no rewards logic/container changes, no desktop/tablet changes
   Scope: ONLY #pg-crypto-meta on mobile (<=520px)
========================================================= */
@media (max-width: 520px){
  #pg-crypto-meta{
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  #pg-crypto-meta::before,
  #pg-crypto-meta::after{
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    background: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
  }
}
/* =========================================================
   STEP 1022 — MOBILE ONLY: INLINE VALUE REWARDS GATEWAY FINAL
   Goal:
   - Match finalized compact rewards design exactly
   - Keep “AVAILABLE REWARDS” and #pg-rewards-gateway-usd on the same row
   - Keep tagline below title row
   - Remove glass board around .pg-rg-icon and increase icon presence
   - Reduce container width/height with subtle 1px low-opacity outline
   - Preserve live rewards value sync + tap behavior
   Scope: ONLY #pg-rewards-gateway on mobile (<=520px)
========================================================= */
@media (max-width: 520px){
  #pg-rewards-gateway.pg-rewards-gateway{
    --pg-rg-brand-rgb: var(--accent-rgb, 0,255,213);
    --pg-rg-active-rgb: var(--pg-hero-rgb, var(--accent-rgb, 0,255,213));
    --pg-rg-tint-rgb: var(--pg-rg-brand-rgb);
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 66px !important;
    min-height: 66px !important;
    max-height: 66px !important;
    margin: 10px 0 10px 0 !important;
    padding: 10px 13px 10px 14px !important;
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) max-content !important;
    grid-template-rows: 18px 17px !important;
    column-gap: 12px !important;
    row-gap: 2px !important;
    align-items: center !important;
    justify-content: stretch !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
    background:
      radial-gradient(120px 64px at 8% 50%, rgba(var(--pg-rg-tint-rgb),0.050), rgba(var(--pg-rg-tint-rgb),0.00) 72%),
      linear-gradient(180deg, rgba(10,13,16,0.92), rgba(5,7,9,0.965)) !important;
    box-shadow:
      0 10px 20px rgba(0,0,0,0.40),
      0 0 0 1px rgba(var(--pg-rg-tint-rgb),0.075),
      inset 0 1px 0 rgba(255,255,255,0.055),
      inset 0 -1px 0 rgba(0,0,0,0.52) !important;
    color: rgba(255,255,255,0.94) !important;
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    transition: transform 120ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease !important;
  }
  #pg-rewards-gateway.pg-rewards-gateway::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    border-radius: inherit !important;
    pointer-events:none !important;
    background:
      linear-gradient(90deg,
        rgba(255,255,255,0.00) 0%,
        rgba(255,255,255,0.08) 18%,
        rgba(255,255,255,0.13) 50%,
        rgba(255,255,255,0.08) 82%,
        rgba(255,255,255,0.00) 100%) 0 0/100% 1px no-repeat,
      linear-gradient(90deg,
        rgba(255,255,255,0.00) 0%,
        rgba(var(--pg-rg-tint-rgb),0.10) 20%,
        rgba(var(--pg-rg-tint-rgb),0.13) 80%,
        rgba(255,255,255,0.00) 100%) 0 100%/100% 1px no-repeat !important;
    opacity: 0.80 !important;
    z-index: 0 !important;
  }
  #pg-rewards-gateway.pg-rewards-gateway::after{
    content:"" !important;
    position:absolute !important;
    width: 82px !important;
    height: 82px !important;
    right: -42px !important;
    top: -18px !important;
    border-radius: 999px !important;
    pointer-events:none !important;
    background: radial-gradient(circle, rgba(var(--pg-rg-tint-rgb),0.090), rgba(var(--pg-rg-tint-rgb),0.00) 72%) !important;
    filter: blur(4px) !important;
    opacity: 0.70 !important;
    z-index: 0 !important;
  }
  #pg-rewards-gateway .pg-rg-left{
    display: contents !important;
  }
  #pg-rewards-gateway .pg-rg-icon{
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
    justify-self: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    flex: 0 0 34px !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
    color: rgb(var(--pg-rg-tint-rgb)) !important;
    background: currentColor !important;
    -webkit-mask: url("https://irp.cdn-website.com/630a36f4/dms3rep/multi/rewards-return.svg") center/contain no-repeat !important;
    mask: url("https://irp.cdn-website.com/630a36f4/dms3rep/multi/rewards-return.svg") center/contain no-repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: drop-shadow(0 0 9px rgba(var(--pg-rg-tint-rgb),0.30)) !important;
    overflow: visible !important;
  }
  #pg-rewards-gateway .pg-rg-icon::before,
  #pg-rewards-gateway .pg-rg-icon::after{
    content: none !important;
    display: none !important;
  }
  #pg-rewards-gateway .pg-rg-copy{
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    min-width: 0 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-rows: 18px 17px !important;
    gap: 2px !important;
    align-items: center !important;
    position: relative !important;
    z-index: 2 !important;
  }
  #pg-rewards-gateway .pg-rg-title{
    grid-row: 1 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 790 !important;
    letter-spacing: 0.052em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.94) !important;
    text-shadow: 0 9px 18px rgba(0,0,0,0.50) !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    text-align: left !important;
  }
  #pg-rewards-gateway .pg-rg-sub{
    grid-row: 2 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    letter-spacing: 0.012em !important;
    color: rgba(255,255,255,0.70) !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    text-align: left !important;
  }
  #pg-rewards-gateway #pg-rewards-gateway-usd.pg-rg-amount,
  #pg-rewards-gateway .pg-rg-amount{
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: end !important;
    position: relative !important;
    z-index: 2 !important;
    flex: 0 0 auto !important;
    min-width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    white-space: nowrap !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 780 !important;
    letter-spacing: 0.004em !important;
    color: rgba(var(--pg-rg-tint-rgb),0.96) !important;
    text-shadow:
      0 9px 18px rgba(0,0,0,0.48),
      0 0 10px rgba(var(--pg-rg-tint-rgb),0.18) !important;
  }
  #pg-rewards-gateway.pg-rewards-gateway:active,
  #pg-rewards-gateway.pg-rewards-gateway:focus-visible{
    --pg-rg-tint-rgb: var(--pg-rg-active-rgb);
    transform: scale(0.993) !important;
    border-color: rgba(var(--pg-rg-active-rgb),0.32) !important;
    box-shadow:
      0 10px 20px rgba(0,0,0,0.42),
      0 0 0 1px rgba(var(--pg-rg-active-rgb),0.12),
      0 0 16px rgba(var(--pg-rg-active-rgb),0.10),
      inset 0 1px 0 rgba(255,255,255,0.060),
      inset 0 -1px 0 rgba(0,0,0,0.52) !important;
  }
  #pg-rewards-gateway.pg-rewards-gateway:active .pg-rg-icon,
  #pg-rewards-gateway.pg-rewards-gateway:focus-visible .pg-rg-icon{
    filter: drop-shadow(0 0 12px rgba(var(--pg-rg-active-rgb),0.34)) !important;
  }
}
/* =========================================================
   STEP 1026 — MOBILE ONLY: REWARDS GATEWAY WIDTH AUTHORITY FIX
   Goal:
   - Remove the hidden width cap causing title/tagline clipping
   - Keep the container aligned with the meta row
   - Keep top/bottom margin balanced
   Scope: ONLY #pg-rewards-gateway on mobile (<=520px)
========================================================= */
@media (max-width: 520px){
  #pg-rewards-gateway.pg-rewards-gateway{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 10px 0 10px 0 !important;
    box-sizing: border-box !important;
  }
}
/* =========================================================
   STEP 1027 — MOBILE ONLY: REWARDS GATEWAY SUBTEXT FINAL UNCLIP
   Goal:
   - Show the full tagline: "Use at checkout and save instantly"
   - Preserve the finalized container width, icon, title, USD value, and spacing
   - Allow ONLY the second-row subtext to use the open space under the USD value
   Scope: ONLY #pg-rewards-gateway on mobile (<=520px)
========================================================= */
@media (max-width: 520px){
  #pg-rewards-gateway .pg-rg-copy{
    overflow: visible !important;
  }
  #pg-rewards-gateway .pg-rg-sub{
    width: calc(100% + 92px) !important;
    max-width: calc(100% + 92px) !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1015-mobile-home-stack-position-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1035-mobile-rewards-entry-redesign-css ===== */
@media (max-width: 520px){
  html.pg-ar-overlay-open #pg-ar-overlay{
    background:
      radial-gradient(620px 360px at 50% -6%, rgba(var(--accent-rgb,0,255,213),0.16), rgba(0,0,0,0.00) 62%),
      radial-gradient(360px 220px at 16% 38%, rgba(var(--accent-rgb,0,255,213),0.09), rgba(0,0,0,0.00) 68%),
      linear-gradient(180deg, rgba(5,8,10,0.93) 0%, rgba(0,0,0,0.96) 100%) !important;
    backdrop-filter: blur(12px) saturate(0.92) !important;
    -webkit-backdrop-filter: blur(12px) saturate(0.92) !important;
    border-radius: 19px !important;
    overflow: hidden !important;
  }
  /* Rewards hero card: hide the old data-first layout and turn it into spending power + code entry. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card{
    height: 236px !important;
    min-height: 236px !important;
    margin-top: 10px !important;
    margin-bottom: 8px !important;
    padding: 18px 16px 16px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    pointer-events: auto !important;
    background:
      radial-gradient(420px 190px at 50% 12%, rgba(var(--accent-rgb,0,255,213),0.16), rgba(0,0,0,0.00) 64%),
      radial-gradient(280px 140px at 12% 78%, rgba(var(--accent-rgb,0,255,213),0.08), rgba(0,0,0,0.00) 72%),
      linear-gradient(180deg, rgba(15,19,23,0.84) 0%, rgba(6,8,10,0.94) 100%) !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
    box-shadow:
      0 18px 48px rgba(0,0,0,0.56),
      0 0 0 1px rgba(var(--accent-rgb,0,255,213),0.14),
      inset 0 1px 0 rgba(255,255,255,0.08),
      inset 0 -1px 0 rgba(255,255,255,0.035) !important;
    backdrop-filter: blur(16px) saturate(0.88) !important;
    -webkit-backdrop-filter: blur(16px) saturate(0.88) !important;
  }
  /* Remove the old blue/top line and old drawer chrome. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::before,
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::after{
    content:"" !important;
    position:absolute !important;
    pointer-events:none !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::before{
    left: 15px !important;
    right: 15px !important;
    top: auto !important;
    bottom: 74px !important;
    height: 1px !important;
    background: linear-gradient(90deg,
      rgba(255,255,255,0.00) 0%,
      rgba(255,255,255,0.13) 25%,
      rgba(var(--accent-rgb,0,255,213),0.36) 50%,
      rgba(255,255,255,0.13) 75%,
      rgba(255,255,255,0.00) 100%) !important;
    opacity: 0.9 !important;
    filter: drop-shadow(0 0 8px rgba(var(--accent-rgb,0,255,213),0.22)) !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::after{
    inset: 0 !important;
    border-radius: inherit !important;
    background:
      radial-gradient(160px 80px at 50% 34%, rgba(var(--accent-rgb,0,255,213),0.13), rgba(0,0,0,0.00) 72%),
      linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.00) 38%) !important;
    opacity: 1 !important;
    mix-blend-mode: screen !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-assetmeta,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-mid,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-bottom,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-toggle,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-pill{
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top{
    position: relative !important;
    z-index: 5 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    margin: 0 !important;
    pointer-events: none !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-title{
    order: 1 !important;
    margin: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    opacity: 1 !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-title::after{
    content: "Available Rewards";
    display: block;
    font-size: 16px;
    line-height: 1.15;
    font-weight: 560;
    letter-spacing: -0.01em;
    color: rgba(255,255,255,0.78);
    text-shadow: 0 12px 26px rgba(0,0,0,0.55);
  }
  html.pg-ar-overlay-open #pg-rewards-code #pg-rw-usd.pg-rw-usd{
    order: 2 !important;
    margin: 3px 0 0 !important;
    font-size: clamp(52px, 14.8vw, 68px) !important;
    line-height: 0.94 !important;
    font-weight: 760 !important;
    letter-spacing: -0.065em !important;
    color: rgba(var(--accent-rgb,0,255,213),0.96) !important;
    text-shadow:
      0 0 18px rgba(var(--accent-rgb,0,255,213),0.26),
      0 20px 38px rgba(0,0,0,0.72) !important;
    opacity: 1 !important;
    white-space: nowrap !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top::after{
    content: "This is your spending power";
    order: 3;
    display: block;
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 520;
    color: rgba(255,255,255,0.58);
    letter-spacing: -0.01em;
  }
  /* Redeem code row — reuse existing input and Apply button, keep existing IDs/functionality. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar{
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: absolute !important;
    z-index: 8 !important;
    left: 16px !important;
    right: 16px !important;
    top: auto !important;
    bottom: 16px !important;
    height: 52px !important;
    max-height: 52px !important;
    margin: 0 !important;
    transform: none !important;
    overflow: visible !important;
    border-radius: 15px !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar::before{
    content: "Redeem Code (Optional)";
    position: absolute;
    left: 0;
    top: -27px;
    font-size: 16px;
    line-height: 1;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: rgba(255,255,255,0.84);
    text-shadow: 0 10px 22px rgba(0,0,0,0.55);
  }
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar::after{
    content: none !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-input{
    pointer-events: auto !important;
    flex: 1 1 auto !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 16px !important;
    border-radius: 15px !important;
    border: 1px solid rgba(255,255,255,0.13) !important;
    background:
      radial-gradient(180px 80px at 20% 50%, rgba(255,255,255,0.055), rgba(0,0,0,0.00) 70%),
      linear-gradient(180deg, rgba(255,255,255,0.045), rgba(0,0,0,0.23)) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.08),
      inset 0 0 0 1px rgba(255,255,255,0.035),
      0 14px 28px rgba(0,0,0,0.32) !important;
    color: rgba(255,255,255,0.94) !important;
    font-size: 15px !important;
    font-weight: 560 !important;
    letter-spacing: 0.01em !important;
    text-align: left !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-input::placeholder{
    color: rgba(255,255,255,0.43) !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-apply{
    pointer-events: auto !important;
    position: relative !important;
    flex: 0 0 92px !important;
    width: 92px !important;
    height: 52px !important;
    margin-left: 10px !important;
    border-radius: 15px !important;
    border: 1px solid rgba(var(--accent-rgb,0,255,213),0.48) !important;
    background:
      radial-gradient(140px 70px at 50% 16%, rgba(255,255,255,0.13), rgba(255,255,255,0.00) 68%),
      linear-gradient(180deg, rgba(var(--accent-rgb,0,255,213),0.15), rgba(8,19,22,0.62)) !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.06) inset,
      0 0 18px rgba(var(--accent-rgb,0,255,213),0.16),
      0 14px 28px rgba(0,0,0,0.36) !important;
    color: rgba(255,255,255,0.94) !important;
    font-size: 15px !important;
    font-weight: 760 !important;
    letter-spacing: -0.01em !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-apply::before{
    content: none !important;
  }
  /* Keypad container: more vertical room, no bottom clipping, elegant fintech keys. */
  html.pg-ar-overlay-open #pg-ar-overlay{
    --pg-ar-content-shift-y: 0px !important;
    --pg-ar-content-shift-x: 0px !important;
    --pg-ar-enter-shift-x: 0px !important;
    --pg-ar-enter-shift-y: 0px !important;
    --pg-ar-enter-font-size: 24px !important;
    --pg-ar-enter-font-weight: 700 !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner{
    padding: calc(var(--pg-ar-rewards-h) + 14px) 18px 10px !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-stack{
    gap: 10px !important;
    transform: translate3d(0,0,0) !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-entered.pg-ar-entered{
    text-align: right !important;
    padding-right: 2px !important;
    font-size: 27px !important;
    line-height: 1 !important;
    font-weight: 760 !important;
    color: rgba(var(--accent-rgb,0,255,213),0.96) !important;
    text-shadow: 0 0 16px rgba(var(--accent-rgb,0,255,213),0.22), 0 12px 30px rgba(0,0,0,0.62) !important;
    transform: none !important;
    position: relative !important;
  }
  html.pg-ar-overlay-open #pg-ar-entered.pg-ar-entered::before{
    content: "Apply Rewards";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 680;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.90);
    text-shadow: 0 12px 30px rgba(0,0,0,0.62);
  }
  html.pg-ar-overlay-open #pg-ar-keypad.pg-ar-keypad{
    gap: 10px 12px !important;
    padding: 0 !important;
    width: 100% !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key{
    height: clamp(46px, 7.4vh, 58px) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.075) !important;
    background:
      radial-gradient(120px 62px at 50% 14%, rgba(255,255,255,0.07), rgba(255,255,255,0.00) 70%),
      linear-gradient(180deg, rgba(255,255,255,0.045), rgba(0,0,0,0.18)) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.07),
      0 12px 22px rgba(0,0,0,0.25) !important;
    color: rgba(255,255,255,0.92) !important;
    font-size: clamp(28px, 8.5vw, 38px) !important;
    font-weight: 300 !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key span{
    filter: drop-shadow(0 10px 22px rgba(0,0,0,0.48)) !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key-back .pg-ar-back{
    font-size: clamp(31px, 8vw, 40px) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1035-mobile-rewards-entry-redesign-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1036-mobile-rewards-entry-fit-polish-css ===== */
@media (max-width: 520px){
  html.pg-ar-overlay-open #pg-rewards-gateway,
  html.pg-ar-overlay-open #pg-crypto-meta,
  html.pg-ar-overlay-open .pg-crypto-meta,
  html.pg-ar-overlay-lock #pg-rewards-gateway,
  html.pg-ar-overlay-lock #pg-crypto-meta,
  html.pg-ar-overlay-lock .pg-crypto-meta{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay{
    background:
      radial-gradient(520px 280px at 50% -4%, rgba(var(--accent-rgb,0,255,213),0.13), rgba(0,0,0,0.00) 64%),
      radial-gradient(300px 190px at 16% 38%, rgba(var(--accent-rgb,0,255,213),0.07), rgba(0,0,0,0.00) 68%),
      linear-gradient(180deg, rgba(5,8,10,0.96) 0%, rgba(0,0,0,0.985) 100%) !important;
    overflow: hidden !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card{
    height: 206px !important;
    min-height: 206px !important;
    margin-top: 8px !important;
    margin-bottom: 4px !important;
    padding: 14px 16px 12px !important;
    border-radius: 18px !important;
    background:
      radial-gradient(360px 160px at 50% 10%, rgba(var(--accent-rgb,0,255,213),0.14), rgba(0,0,0,0.00) 66%),
      radial-gradient(240px 120px at 12% 78%, rgba(var(--accent-rgb,0,255,213),0.065), rgba(0,0,0,0.00) 72%),
      linear-gradient(180deg, rgba(14,18,22,0.84) 0%, rgba(6,8,10,0.95) 100%) !important;
    box-shadow:
      0 14px 38px rgba(0,0,0,0.54),
      0 0 0 1px rgba(var(--accent-rgb,0,255,213),0.13),
      inset 0 1px 0 rgba(255,255,255,0.07),
      inset 0 -1px 0 rgba(255,255,255,0.03) !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::before{
    left: 18px !important;
    right: 18px !important;
    bottom: 66px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgba(255,255,255,0.00) 0%, rgba(255,255,255,0.045) 24%, rgba(var(--accent-rgb,0,255,213),0.10) 50%, rgba(255,255,255,0.045) 76%, rgba(255,255,255,0.00) 100%) !important;
    opacity: 0.45 !important;
    filter: none !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-title::after{
    font-size: 15px !important;
    line-height: 1.08 !important;
    font-weight: 560 !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code #pg-rw-usd.pg-rw-usd{
    margin: 2px 0 0 !important;
    font-size: clamp(43px, 12.1vw, 56px) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.06em !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top::after{
    margin-top: 2px !important;
    font-size: 13px !important;
    line-height: 1.05 !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar{
    left: 16px !important;
    right: 16px !important;
    bottom: 12px !important;
    height: 46px !important;
    max-height: 46px !important;
    border-radius: 14px !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar::before{
    top: -24px !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    color: rgba(255,255,255,0.82) !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-input{
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-apply{
    flex-basis: 84px !important;
    width: 84px !important;
    height: 46px !important;
    margin-left: 8px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner{
    padding: calc(var(--pg-ar-rewards-h) + 8px) 14px 7px !important;
    gap: 6px !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-stack{
    gap: 7px !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-entered.pg-ar-entered{
    font-size: 25px !important;
    line-height: 0.98 !important;
    padding-right: 1px !important;
    min-height: 34px !important;
  }
  html.pg-ar-overlay-open #pg-ar-entered.pg-ar-entered::before{
    font-size: 17px !important;
    line-height: 1 !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad.pg-ar-keypad{
    gap: 8px 10px !important;
    padding: 0 1px !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key{
    height: clamp(42px, 6.25vh, 52px) !important;
    border-radius: 15px !important;
    font-size: clamp(25px, 7.2vw, 35px) !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key-back .pg-ar-back{
    font-size: clamp(28px, 7.3vw, 36px) !important;
  }
}
@media (max-width: 520px) and (max-height: 760px){
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card{
    height: 194px !important;
    min-height: 194px !important;
    margin-top: 6px !important;
    padding-top: 12px !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code #pg-rw-usd.pg-rw-usd{
    font-size: clamp(40px, 11vw, 51px) !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar{
    height: 44px !important;
    max-height: 44px !important;
    bottom: 10px !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-input,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-apply{
    height: 44px !important;
    min-height: 44px !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner{
    padding: calc(var(--pg-ar-rewards-h) + 6px) 13px 6px !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-stack{
    gap: 6px !important;
  }
  html.pg-ar-overlay-open #pg-ar-entered.pg-ar-entered{
    min-height: 31px !important;
    font-size: 24px !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad.pg-ar-keypad{
    gap: 7px 9px !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key{
    height: clamp(39px, 5.85vh, 48px) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1036-mobile-rewards-entry-fit-polish-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1037-mobile-rewards-entry-final-fit-css ===== */
@media (max-width: 520px){
  /* Make the rewards/code hero visually match the full overlay container width. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card{
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    height: 184px !important;
    min-height: 184px !important;
    margin-top: 7px !important;
    margin-bottom: 2px !important;
    padding: 12px 18px 10px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background:
      radial-gradient(380px 132px at 50% 8%, rgba(var(--accent-rgb,0,255,213),0.125), rgba(0,0,0,0.00) 68%),
      radial-gradient(260px 110px at 12% 78%, rgba(var(--accent-rgb,0,255,213),0.055), rgba(0,0,0,0.00) 74%),
      linear-gradient(180deg, rgba(14,18,22,0.84) 0%, rgba(6,8,10,0.95) 100%) !important;
  }
  /* Reduce the available rewards hero amount by ~20% to free vertical space. */
  html.pg-ar-overlay-open #pg-rewards-code #pg-rw-usd.pg-rw-usd{
    font-size: clamp(34px, 9.7vw, 45px) !important;
    line-height: 0.90 !important;
    margin: 0 !important;
    letter-spacing: -0.055em !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-title::after{
    font-size: 14px !important;
    line-height: 1.04 !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top::after{
    margin-top: 1px !important;
    font-size: 12.5px !important;
    line-height: 1.02 !important;
  }
  /* Turn the strong blue divider into a subtle hairline whisp. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::before{
    left: 20px !important;
    right: 20px !important;
    bottom: 58px !important;
    height: 1px !important;
    background: linear-gradient(90deg,
      rgba(255,255,255,0.00) 0%,
      rgba(255,255,255,0.030) 22%,
      rgba(var(--accent-rgb,0,255,213),0.055) 50%,
      rgba(255,255,255,0.030) 78%,
      rgba(255,255,255,0.00) 100%) !important;
    opacity: 0.34 !important;
    filter: none !important;
    box-shadow: none !important;
  }
  /* Move Redeem Code label up 10px so it no longer sits on the line. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar::before{
    top: -34px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 650 !important;
    color: rgba(255,255,255,0.84) !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar{
    left: 18px !important;
    right: 18px !important;
    bottom: 10px !important;
    height: 44px !important;
    max-height: 44px !important;
    border-radius: 14px !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-input,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-apply{
    height: 44px !important;
    min-height: 44px !important;
  }
  /* Pull the keypad stack into the newly freed space and keep the bottom row visible. */
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner{
    padding: calc(var(--pg-ar-rewards-h) + 5px) 14px 5px !important;
    gap: 5px !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-stack{
    gap: 5px !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-entered.pg-ar-entered{
    min-height: 30px !important;
    font-size: 24px !important;
    line-height: 0.96 !important;
  }
  html.pg-ar-overlay-open #pg-ar-entered.pg-ar-entered::before{
    font-size: 17px !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad.pg-ar-keypad{
    gap: 7px 10px !important;
    padding: 0 1px !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key{
    height: clamp(40px, 5.95vh, 50px) !important;
    border-radius: 15px !important;
  }
}
@media (max-width: 520px) and (max-height: 760px){
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card{
    height: 176px !important;
    min-height: 176px !important;
    margin-top: 5px !important;
    padding-top: 10px !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code #pg-rw-usd.pg-rw-usd{
    font-size: clamp(32px, 8.9vw, 41px) !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::before{
    bottom: 56px !important;
    opacity: 0.30 !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner{
    padding: calc(var(--pg-ar-rewards-h) + 4px) 13px 4px !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad.pg-ar-keypad{
    gap: 6px 9px !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key{
    height: clamp(38px, 5.65vh, 47px) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1037-mobile-rewards-entry-final-fit-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1038-mobile-rewards-entry-width-keypad-css ===== */
@media (max-width: 520px){
  /* Stretch the rewards/code panel to visually match the outside overlay container.
     This fixes the clipped Redeem label, left input border, and right Apply border. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card{
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: max(14px, env(safe-area-inset-left)) !important;
    padding-right: max(14px, env(safe-area-inset-right)) !important;
    overflow: visible !important;
  }
  /* Let all pseudo/highlight layers span the full panel width cleanly. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::after{
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 18px !important;
  }
  /* Keep the hairline inside the panel, but do not let it force/clip content. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::before{
    left: 14px !important;
    right: 14px !important;
  }
  /* Widen the code row so the input left border and Apply right border are fully visible. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar{
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
  }
  /* Keep the label aligned with the input and prevent the first character from clipping. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar::before{
    left: 0 !important;
    right: auto !important;
    width: max-content !important;
    max-width: calc(100vw - 28px) !important;
    overflow: visible !important;
    white-space: nowrap !important;
    transform: none !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-input{
    padding-left: 14px !important;
    padding-right: 106px !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-apply{
    right: 0 !important;
    width: 102px !important;
    border-radius: 0 14px 14px 0 !important;
  }
  /* Increase keypad button height by 20% from Step 1037 for better tap confidence. */
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key{
    height: clamp(48px, 7.14vh, 60px) !important;
    min-height: 48px !important;
    border-radius: 16px !important;
  }
  /* Preserve full bottom-row visibility while allowing the taller buttons. */
  html.pg-ar-overlay-open #pg-ar-keypad.pg-ar-keypad{
    gap: 7px 10px !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner,
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-stack{
    overflow: visible !important;
  }
}
@media (max-width: 520px) and (max-height: 760px){
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key{
    height: clamp(46px, 6.78vh, 56px) !important;
    min-height: 46px !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad.pg-ar-keypad{
    gap: 6px 9px !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1038-mobile-rewards-entry-width-keypad-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1039-mobile-rewards-entry-final-width-bottomrow-css ===== */
@media (max-width: 520px){
  /* Make the rewards hero/code panel occupy the same visual width as the outer overlay. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card{
    width: 100vw !important;
    max-width: 100vw !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
    overflow: visible !important;
  }
  /* Full-width inner glow/highlight layer so it no longer looks narrower than the outer shell. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::after{
    inset: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
    border-radius: inherit !important;
  }
  /* Keep the subtle divider inside the now full-width panel. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::before{
    left: 22px !important;
    right: 22px !important;
  }
  /* Widen the redeem row while keeping the visual content aligned cleanly inside the panel. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar{
    left: 22px !important;
    right: 22px !important;
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow: visible !important;
  }
  /* Stop the Redeem label from clipping at the left edge. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar::before{
    left: 0 !important;
    right: auto !important;
    width: auto !important;
    max-width: calc(100vw - 44px) !important;
    white-space: nowrap !important;
    overflow: visible !important;
    transform: translateZ(0) !important;
  }
  /* Keep the input rounded and fully visible. */
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-input{
    position: relative !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    border-radius: 16px !important;
    overflow: visible !important;
  }
  /* Restore the Apply button to a standalone rounded button. */
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-apply{
    position: relative !important;
    inset: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    flex: 0 0 102px !important;
    width: 102px !important;
    min-width: 102px !important;
    margin-left: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }
  /* Extend the keypad housing downward to reveal the full bottom row with taller keys. */
  html.pg-ar-overlay-open #pg-ar-overlay{
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner{
    inset: 0 0 -44px 0 !important;
    padding: calc(var(--pg-ar-rewards-h) + 5px) 14px 0 !important;
    gap: 6px !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-stack{
    gap: 7px !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad.pg-ar-keypad{
    gap: 7px 10px !important;
    padding: 0 1px 0 !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key{
    height: clamp(48px, 7.05vh, 60px) !important;
    min-height: 48px !important;
    border-radius: 16px !important;
  }
}
@media (max-width: 520px) and (max-height: 760px){
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner{
    inset: 0 0 -50px 0 !important;
    padding: calc(var(--pg-ar-rewards-h) + 4px) 13px 0 !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad.pg-ar-keypad{
    gap: 6px 9px !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key{
    height: clamp(46px, 6.72vh, 56px) !important;
    min-height: 46px !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1039-mobile-rewards-entry-final-width-bottomrow-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1051-mobile-rewards-entry-hero-clean-bg-outline-css ===== */
@media (max-width: 520px){
  /* Remove the unwanted rounded background shell behind the HERO and keypad.
     The overlay remains interactive, but it no longer paints its own container. */
  html.pg-ar-overlay-open #pg-ar-overlay{
    background: transparent !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay::before,
  html.pg-ar-overlay-open #pg-ar-overlay::after,
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner::before,
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner::after,
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-stack::before,
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-stack::after{
    content: none !important;
    display: none !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner,
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-stack{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
  }
  /* Keep the rewards-entry host transparent and non-clipping. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card{
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
  }
  /* Extend the HERO a touch wider while staying safely inside the iPhone viewport.
     This prevents the left/right border from visually disappearing at the edges. */
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top{
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    overflow: visible !important;
    border: 1px solid rgba(var(--accent-rgb,27,197,233),0.82) !important;
    box-shadow:
      0 18px 36px rgba(0,0,0,0.56),
      0 0 0 1px rgba(var(--accent-rgb,27,197,233),0.18),
      0 0 32px rgba(var(--accent-rgb,27,197,233),0.22),
      inset 0 0 0 1px rgba(255,255,255,0.055),
      inset 0 1px 0 rgba(255,255,255,0.10) !important;
  }
  /* Keep the Apply Rewards row aligned inside the slightly wider HERO. */
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-enter{
    left: 12px !important;
    right: 12px !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1051-mobile-rewards-entry-hero-clean-bg-outline-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1040-tx-clean-view-css ===== */
@media (max-width: 520px){
  /* Remove the full-screen darkening layer created by pg-tx-screen-active. */
  #crypto-gateway-demo-root.pg-tx-screen-active::before{
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    background: transparent !important;
    pointer-events: none !important;
  }
  /* Do not dim, blur, or cover the normal checkout view during TX states. */
  #crypto-gateway-demo-root.pg-tx-screen-active,
  #crypto-gateway-demo-root.pg-tx-screen-active .pg-main-card,
  #crypto-gateway-demo-root.pg-tx-screen-active .pg-card-header,
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-order-summary,
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-asset-row,
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-crypto-meta{
    filter: none !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  /* Available Rewards must not render on Transaction Pending or Complete. */
  #crypto-gateway-demo-root.pg-tx-screen-active #pg-rewards-gateway,
  #pg-crypto-meta.is-tx-pending ~ #pg-rewards-gateway,
  #pg-crypto-meta.is-tx-complete ~ #pg-rewards-gateway{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  /* Keep the TX display as the only active content inside the meta area. */
  #pg-crypto-meta.is-tx-pending #pg-tx-overlay,
  #pg-crypto-meta.is-tx-complete #pg-tx-overlay{
    visibility: visible !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1040-tx-clean-view-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1042a-mobile-hybrid-cta-safe-css ===== */
@media (max-width: 640px){
  #pg-hybredpayment-hero-row{height:76px!important;}
  #pg-hybredpayment-hero{height:76px!important;border-radius:14px!important;background:#050608!important;box-shadow:0 12px 28px rgba(0,0,0,.62)!important;}
  #pg-hybredpayment-hero .pg-hph-left{flex:0 0 31%!important;gap:7px!important;opacity:.88!important;overflow:hidden!important;background:radial-gradient(125% 145% at 15% 0%,rgba(255,255,255,.075),rgba(255,255,255,0) 58%),linear-gradient(180deg,rgba(255,255,255,.028),rgba(255,255,255,.006))!important;}
  #pg-hybredpayment-hero .pg-hph-left::after{inset:6px 0!important;padding:1px!important;border-radius:14px 12px 12px 14px!important;background:linear-gradient(90deg,rgba(255,255,255,.24) 0%,rgba(255,255,255,.13) 44%,rgba(var(--pg-hph-rgb),.18) 74%,rgba(var(--pg-hph-rgb),0) 100%)!important;opacity:.72!important;}
  #pg-hybredpayment-hero .pg-hph-right{flex:1 1 auto!important;margin:6px 6px 6px -8px!important;height:calc(100% - 12px)!important;gap:13px!important;border-radius:14px!important;background:radial-gradient(120% 180% at 22% 10%,rgba(var(--pg-hph-rgb),.34),rgba(var(--pg-hph-rgb),.12) 46%,rgba(0,0,0,0) 76%) padding-box,radial-gradient(95% 150% at 72% 90%,rgba(var(--pg-hph-rgb),.18),rgba(0,0,0,0) 62%) padding-box,linear-gradient(180deg,rgba(var(--pg-hph-rgb),.12),rgba(0,0,0,0) 70%) padding-box,linear-gradient(#050608,#050608) padding-box,conic-gradient(from var(--pg-hph-orbit),rgba(var(--pg-hph-rgb),0) 0deg,rgba(var(--pg-hph-rgb),0) 250deg,rgba(var(--pg-hph-rgb),.85) 316deg,rgba(255,255,255,.70) 334deg,rgba(var(--pg-hph-rgb),.22) 346deg,rgba(var(--pg-hph-rgb),0) 360deg) border-box,linear-gradient(90deg,rgba(var(--pg-hph-rgb),.95) 0%,rgba(var(--pg-hph-rgb),.55) 42%,rgba(var(--pg-hph-rgb),.18) 74%,rgba(var(--pg-hph-rgb),0) 100%) border-box!important;box-shadow:0 16px 30px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.05) inset,0 0 0 1px rgba(var(--pg-hph-rgb),.22) inset,0 0 32px rgba(var(--pg-hph-rgb),.24)!important;}
  #pg-hybredpayment-hero .pg-hph-text{font-size:14px!important;padding:0 7px 0 0!important;opacity:.82!important;white-space:nowrap!important;}
  #pg-hybredpayment-hero .pg-hph-right-text{flex-direction:row!important;gap:0!important;font-size:19px!important;font-weight:650!important;letter-spacing:.075em!important;opacity:.98!important;padding:0!important;text-shadow:0 1px 0 rgba(0,0,0,.60),0 0 12px rgba(var(--pg-hph-rgb),.18)!important;}
  #pg-hybredpayment-hero .pg-hph-card-ico{width:18px!important;height:18px!important;flex:0 0 18px!important;color:rgba(255,255,255,.78)!important;opacity:.78!important;filter:drop-shadow(0 0 8px rgba(255,255,255,.06))!important;}
  #pg-hybredpayment-hero .pg-hph-asset{width:40px!important;height:40px!important;flex:0 0 40px!important;border-radius:999px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.26),rgba(255,255,255,0) 48%),rgba(var(--pg-hph-rgb),.96)!important;box-shadow:0 0 0 1px rgba(255,255,255,.16) inset,0 0 16px rgba(var(--pg-hph-rgb),.34),0 10px 18px rgba(0,0,0,.32)!important;overflow:hidden!important;}
  #pg-hybredpayment-hero .pg-hph-asset img{width:31px!important;height:31px!important;object-fit:contain!important;border-radius:999px!important;display:block!important;}
  #pg-hybredpayment-hero .pg-hph-arrow{font-size:30px!important;line-height:1!important;font-weight:300!important;opacity:.90!important;margin-left:2px!important;transform:translateY(-1px)!important;text-shadow:0 0 14px rgba(var(--pg-hph-rgb),.22)!important;}
}
/* ===== END STYLE BLOCK: pg-step1042a-mobile-hybrid-cta-safe-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1043-mobile-rewards-overview-css ===== */
@media (max-width: 640px){
  html.pg-rd-mobile-active, body.pg-rd-mobile-active{overflow-x:hidden!important;max-width:100vw!important;overscroll-behavior-x:none!important;touch-action:pan-y!important;}
  #pg-mobile-tab-overlay.pg-rewards-view-active{left:0!important;right:0!important;width:100vw!important;max-width:100vw!important;overflow:hidden!important;overscroll-behavior-x:none!important;}
  #pg-mobile-tab-overlay.pg-rewards-view-active .pg-mo-sheet{left:0!important;right:0!important;margin-left:auto!important;margin-right:auto!important;transform:none!important;max-width:100vw!important;overflow:hidden!important;background:radial-gradient(720px 420px at 50% -12%,rgba(var(--accent-rgb,0,255,213),.20),rgba(0,0,0,0) 60%),radial-gradient(540px 360px at 100% 8%,rgba(var(--accent-rgb,0,255,213),.10),rgba(0,0,0,0) 66%),linear-gradient(180deg,rgba(5,9,12,.96) 0%,rgba(2,6,8,.98) 100%)!important;}
  #pg-mobile-tab-overlay.pg-rewards-view-active .pg-mo-content{padding-top:6px!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:none!important;}
  .pg-rd-shell{--pg-rd-blue:var(--accent-rgb,0,255,213);--pg-rd-green:0,255,70;color:rgba(255,255,255,.94);padding:0 0 4px;width:100%;max-width:100%;overflow-x:hidden;}
  .pg-rd-hero{position:relative;min-height:138px;border-radius:18px;padding:20px 18px 18px;overflow:visible;isolation:isolate;border:1px solid rgba(var(--pg-rd-blue),.74);background:radial-gradient(420px 150px at 50% 82%,rgba(var(--pg-rd-blue),.27),rgba(0,0,0,0) 70%),linear-gradient(180deg,rgba(12,23,36,.92),rgba(4,8,12,.97));box-shadow:0 18px 36px rgba(0,0,0,.56),0 0 0 1px rgba(var(--pg-rd-blue),.10),0 0 32px rgba(var(--pg-rd-blue),.20),inset 0 1px 0 rgba(255,255,255,.10);cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;}
  .pg-rd-hero::before{content:"";position:absolute;left:10px;right:10px;bottom:8px;height:54px;border-radius:999px;background:radial-gradient(90% 80% at 50% 100%,rgba(var(--pg-rd-blue),.34),rgba(0,0,0,0) 70%),repeating-radial-gradient(ellipse at 50% 100%,rgba(var(--pg-rd-blue),.34) 0 1px,transparent 1px 7px);opacity:.34;pointer-events:none;z-index:0;}
  .pg-rd-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start;}
  .pg-rd-hero-k{font-size:13px;line-height:1;font-weight:720;color:rgba(255,255,255,.82);margin-bottom:11px;letter-spacing:-.01em;}
  .pg-rd-hero-v{font-size:25px;line-height:.92;font-weight:830;letter-spacing:-.045em;color:rgba(255,255,255,.98);text-shadow:0 12px 26px rgba(0,0,0,.42);white-space:nowrap;}
  .pg-rd-hero-sub{margin-top:10px;font-size:12px;font-weight:580;color:rgba(255,255,255,.58);letter-spacing:.02em;}.pg-rd-hero-side.pg-right{text-align:right;}
  .pg-rd-token-orb{position:absolute;left:50%;bottom:-29px;width:78px;height:78px;border-radius:999px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.18),rgba(255,255,255,0) 42%),linear-gradient(180deg,rgba(7,16,26,.96),rgba(3,7,11,.99));border:1px solid rgba(var(--pg-rd-blue),.88);box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 0 24px rgba(var(--pg-rd-blue),.42),0 14px 34px rgba(0,0,0,.58);z-index:4;cursor:pointer;-webkit-tap-highlight-color:transparent;}
  .pg-rd-token-orb img{width:52px;height:52px;object-fit:contain;border-radius:999px;filter:drop-shadow(0 0 14px rgba(var(--pg-rd-blue),.38));}
  .pg-rd-lifetime{margin:30px 30px 14px;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:22px;color:rgba(255,255,255,.92);}.pg-rd-lifetime-k{font-size:13px;line-height:1;font-weight:700;color:rgba(255,255,255,.68);letter-spacing:-.01em;white-space:nowrap;text-shadow:0 10px 22px rgba(0,0,0,.48);}.pg-rd-lifetime-v{font-size:20px;line-height:1;font-weight:850;letter-spacing:-.03em;color:rgba(255,255,255,.98);white-space:nowrap;text-align:right;text-shadow:0 12px 26px rgba(0,0,0,.50);}
  .pg-rd-market{margin-top:0;min-height:68px;border-radius:15px;overflow:hidden;border:1px solid rgba(var(--pg-rd-blue),.52);background:radial-gradient(560px 260px at 50% 38%,rgba(var(--pg-rd-blue),.13),rgba(0,0,0,0) 70%),linear-gradient(180deg,rgba(255,255,255,.052),rgba(255,255,255,.024));box-shadow:0 14px 26px rgba(0,0,0,.30),0 0 0 1px rgba(var(--pg-rd-blue),.08),inset 0 1px 0 rgba(255,255,255,.06);transition:max-height 320ms cubic-bezier(.2,.9,.2,1),opacity 240ms ease;}
  .pg-rd-market-top{min-height:68px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
  .pg-rd-stat{padding:12px 10px 11px;border-right:1px solid rgba(255,255,255,.09);min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;}.pg-rd-stat:last-child{border-right:0;}.pg-rd-stat-k{font-size:10px;line-height:1;font-weight:760;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.54);white-space:nowrap;text-align:center;}.pg-rd-stat-v{margin-top:9px;font-size:17px;line-height:1;font-weight:780;color:rgba(255,255,255,.95);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;width:100%;}.pg-rd-stat-v.pg-pos,.pg-rd-stat-v.pg-neg{color:#FFFFFF;text-shadow:0 0 12px rgba(255,255,255,.10);}.pg-rd-stat-v .pg-rd-change-arrow{display:inline-block;margin-right:4px;font-size:.92em;line-height:1;transform:translateY(-1px);}.pg-rd-stat-v.pg-pos .pg-rd-change-arrow{color:#00ff46;text-shadow:0 0 12px rgba(0,255,70,.28);}.pg-rd-stat-v.pg-neg .pg-rd-change-arrow{color:#ff4d5e;text-shadow:0 0 12px rgba(255,77,94,.24);}.pg-rd-stat-v .pg-rd-change-val{color:#FFFFFF;}
  .pg-rd-chart-wrap{display:block;padding:14px 16px 16px;border-top:1px solid rgba(255,255,255,.075);}
  .pg-rd-range{width:92%;height:42px;margin:0 auto 14px;border-radius:999px;border:1px solid rgba(var(--pg-rd-blue),.55);background:linear-gradient(180deg,rgba(0,0,0,.24),rgba(255,255,255,.045));box-shadow:0 0 0 1px rgba(255,255,255,.035) inset,0 0 22px rgba(var(--pg-rd-blue),.12);display:grid;grid-template-columns:repeat(5,1fr);align-items:center;overflow:hidden;}
  .pg-rd-range-btn{height:100%;border:0;background:transparent;color:rgba(255,255,255,.64);font-size:14px;font-weight:760;letter-spacing:-.01em;display:flex;align-items:center;justify-content:center;position:relative;}
  .pg-rd-range-btn+.pg-rd-range-btn::before{content:"";position:absolute;left:0;top:11px;bottom:11px;width:1px;background:rgba(255,255,255,.10);}
  .pg-rd-range-btn.is-active{color:rgba(var(--pg-rd-blue),1);text-shadow:0 0 12px rgba(var(--pg-rd-blue),.25);background:radial-gradient(90px 42px at 50% 50%,rgba(var(--pg-rd-blue),.22),rgba(var(--pg-rd-blue),.07) 62%,rgba(0,0,0,0) 100%);box-shadow:inset 0 0 0 1px rgba(var(--pg-rd-blue),.20);}
  .pg-rd-chart{position:relative;height:246px;border-radius:12px;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.08));}
  .pg-rd-chart svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;}.pg-rd-chart-grid line{stroke:rgba(255,255,255,.105);stroke-width:1;stroke-dasharray:4 4;}.pg-rd-chart-axis{position:absolute;left:0;right:0;bottom:0;height:24px;display:grid;grid-template-columns:repeat(5,1fr);align-items:end;color:rgba(255,255,255,.58);font-size:11px;font-weight:640;}.pg-rd-chart-axis span:last-child{text-align:right;}.pg-rd-chart-axis span:nth-child(2),.pg-rd-chart-axis span:nth-child(3),.pg-rd-chart-axis span:nth-child(4){text-align:center;}
  .pg-rd-price-tag{position:absolute;right:0;top:49.5%;transform:translateY(-50%);height:25px;padding:0 8px;border-radius:8px 0 0 8px;background:rgba(var(--pg-rd-blue),.88);color:white;font-size:12px;font-weight:840;display:flex;align-items:center;box-shadow:0 0 18px rgba(var(--pg-rd-blue),.24);}
  .pg-rd-live-row{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.07);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;color:rgba(255,255,255,.68);font-size:12px;font-weight:620;}.pg-rd-live-ico{width:22px;height:22px;border-radius:999px;border:1px solid rgba(255,255,255,.20);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.78);font-size:14px;font-weight:760;}.pg-rd-live-pill{height:24px;padding:0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.22);display:flex;align-items:center;gap:6px;color:rgba(255,255,255,.78);}.pg-rd-live-pill i{width:7px;height:7px;border-radius:999px;background:#00ff46;box-shadow:0 0 10px rgba(0,255,70,.45);}
  .pg-rd-shell:not(.pg-rd-market-open) .pg-rd-market{max-height:68px;}.pg-rd-shell:not(.pg-rd-market-open) .pg-rd-chart-wrap{display:none;}.pg-rd-shell.pg-rd-market-open .pg-rd-market{max-height:440px;}
  .pg-rd-orders-head{margin-top:18px;margin-bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;}.pg-rd-orders-title{font-size:23px;line-height:1;font-weight:820;letter-spacing:-.03em;color:rgba(255,255,255,.96);}.pg-rd-filter{height:34px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.24);color:rgba(255,255,255,.86);font-size:13px;font-weight:680;display:flex;align-items:center;gap:7px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04);}.pg-rd-filter b{color:rgba(var(--pg-rd-blue),1);font-size:16px;line-height:1;}.pg-rd-list{display:grid;gap:9px;}
  .pg-rd-order{min-height:74px;border-radius:15px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.052),rgba(255,255,255,.028));box-shadow:0 12px 24px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.05);display:grid;grid-template-columns:46px 1fr auto 16px;align-items:center;gap:11px;padding:12px;cursor:pointer;-webkit-tap-highlight-color:transparent;color:inherit;text-align:left;}.pg-rd-order:active{transform:scale(.992);}.pg-rd-asset{width:44px;height:44px;border-radius:999px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);box-shadow:0 0 18px rgba(0,0,0,.26);}.pg-rd-asset img{width:34px;height:34px;object-fit:contain;border-radius:999px;display:block;}.pg-rd-merchant{display:block;font-size:15px;line-height:1.1;font-weight:780;color:rgba(255,255,255,.93);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.pg-rd-date{display:block;margin-top:5px;font-size:13px;line-height:1;color:rgba(255,255,255,.56);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.pg-rd-status{margin-top:7px;display:flex;align-items:center;gap:6px;font-size:11px;line-height:1;color:rgba(255,255,255,.76);}.pg-rd-status i{width:7px;height:7px;border-radius:999px;background:rgba(var(--pg-rd-blue),1);box-shadow:0 0 8px rgba(var(--pg-rd-blue),.55);}.pg-rd-money{text-align:right;}.pg-rd-total{display:block;font-size:18px;line-height:1;font-weight:820;letter-spacing:-.02em;color:rgba(255,255,255,.96);white-space:nowrap;}.pg-rd-earned{display:block;margin-top:8px;font-size:16px;line-height:1;font-weight:810;color:#00ff46;text-shadow:0 0 12px rgba(0,255,70,.22);white-space:nowrap;}.pg-rd-chev{color:rgba(255,255,255,.52);font-size:28px;line-height:1;transform:translateY(-1px);}
}
  /* =========================================================
     STEP 1138 — MOBILE ONLY: Rewards Exchange Graph Final Fit + Interaction
     - Closed by default is controlled in JS
     - Condenses graph height for real phone viewport safety
     - Adds LIVE indicator under ZLNC Tokens
     - Adds chart scrub guide + premium range transitions
     Scope: mobile rewards overview only
  ========================================================= */
  .pg-rd-hero-live{margin-top:3px;display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;font-size:10px;line-height:1;font-weight:760;letter-spacing:.10em;text-transform:uppercase;color:rgba(255,255,255,.66);}
  .pg-rd-hero-live i{width:6px;height:6px;border-radius:999px;background:#00ff46;box-shadow:0 0 9px rgba(0,255,70,.50);display:block;}
  .pg-rd-chart-wrap{padding:10px 16px 12px!important;}
  .pg-rd-range{width:90%!important;margin:10px auto 12px!important;height:48px!important;}
  .pg-rd-chart{height:202px!important;touch-action:pan-y!important;}
  .pg-rd-chart svg{transition:opacity 180ms ease,transform 220ms cubic-bezier(.2,.9,.2,1);}
  .pg-rd-shell.pg-rd-market-open .pg-rd-market{max-height:360px!important;}
  .pg-rd-shell:not(.pg-rd-market-open) .pg-rd-market{max-height:68px!important;}
  .pg-rd-live-row{display:none!important;margin-top:0!important;padding-top:0!important;}
  .pg-rd-scrub-line{position:absolute;top:8px;bottom:28px;width:1px;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(var(--pg-rd-blue),.70),rgba(255,255,255,0));box-shadow:0 0 14px rgba(var(--pg-rd-blue),.28);opacity:0;pointer-events:none;transform:translateX(-50%);transition:opacity 120ms ease;}
  .pg-rd-chart.is-scrubbing .pg-rd-scrub-line{opacity:1;}
  .pg-rd-chart.is-scrubbing .pg-rd-price-tag{transition:left 90ms ease,top 90ms ease,transform 90ms ease;}
  .pg-rd-price-tag{right:auto!important;left:calc(100% - 28px);top:50%!important;border-radius:8px!important;transform:translate(-50%,-50%)!important;transition:left 240ms cubic-bezier(.2,.9,.2,1),top 240ms cubic-bezier(.2,.9,.2,1);}
  @media (max-width: 374px){.pg-rd-chart{height:198px!important;}.pg-rd-chart-wrap{padding-left:12px!important;padding-right:12px!important;}.pg-rd-shell.pg-rd-market-open .pg-rd-market{max-height:374px!important;}.pg-rd-live-row{font-size:11px!important;gap:7px!important;}.pg-rd-live-pill{padding:0 8px!important;}}
  /* STEP 1143 — MOBILE ONLY: iPhone-height exchange view refinement
     - Slightly lifts the expanded exchange card on short iPhone viewports
     - Condenses only the expanded market view so the axis/footer remain reachable
     - Keeps Android/taller mobile viewports unchanged
  */
  @media (max-width:640px) and (max-height:760px){
    #pg-mobile-tab-overlay.pg-rewards-view-active .pg-mo-content{padding-top:0!important;}
    .pg-rd-shell.pg-rd-market-open{transform:none!important;padding-bottom:18px!important;}
    .pg-rd-shell.pg-rd-market-open .pg-rd-lifetime{margin:16px 30px 4px!important;}
    .pg-rd-shell.pg-rd-market-open .pg-rd-lifetime-k{transform:translate(-10px,-4px)!important;}
    .pg-rd-shell.pg-rd-market-open .pg-rd-lifetime-v{transform:translateY(-6px)!important;}
    .pg-rd-shell.pg-rd-market-open .pg-rd-chart-wrap{padding:8px 16px 10px!important;}
    .pg-rd-shell.pg-rd-market-open .pg-rd-range{height:42px!important;margin:4px auto 8px!important;}
    .pg-rd-shell.pg-rd-market-open .pg-rd-chart{height:188px!important;}
    .pg-rd-shell.pg-rd-market-open .pg-rd-market{max-height:342px!important;}
    .pg-rd-shell.pg-rd-market-open .pg-rd-live-row{display:none!important;}
  }
/* ===== END STYLE BLOCK: pg-step1043-mobile-rewards-overview-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1049-mobile-rewards-entry-hero-container-css ===== */
@media (max-width: 520px){
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card{
    width:100vw!important;max-width:100vw!important;height:236px!important;min-height:236px!important;margin-top:10px!important;margin-bottom:0!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding:0 34px!important;left:auto!important;right:auto!important;transform:none!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:visible!important;isolation:isolate!important;
  }
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::before,
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::after{content:none!important;display:none!important;}
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-assetmeta,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-mid,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-bottom,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-toggle,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-pill{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top{
    position:absolute!important;z-index:10025!important;left:34px!important;right:34px!important;top:0!important;height:166px!important;min-height:166px!important;border-radius:18px!important;padding:18px 18px 16px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;margin:0!important;overflow:visible!important;isolation:isolate!important;pointer-events:none!important;border:1px solid rgba(var(--accent-rgb,0,255,213),.74)!important;background:radial-gradient(420px 150px at 50% 82%,rgba(var(--accent-rgb,0,255,213),.27),rgba(0,0,0,0) 70%),linear-gradient(180deg,rgba(12,23,36,.92),rgba(4,8,12,.97))!important;box-shadow:0 18px 36px rgba(0,0,0,.56),0 0 0 1px rgba(var(--accent-rgb,0,255,213),.10),0 0 32px rgba(var(--accent-rgb,0,255,213),.20),inset 0 1px 0 rgba(255,255,255,.10)!important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top::before{content:""!important;position:absolute!important;left:10px!important;right:10px!important;bottom:8px!important;height:54px!important;border-radius:999px!important;background:radial-gradient(90% 80% at 50% 100%,rgba(var(--accent-rgb,0,255,213),.34),rgba(0,0,0,0) 70%),repeating-radial-gradient(ellipse at 50% 100%,rgba(var(--accent-rgb,0,255,213),.34) 0 1px,transparent 1px 7px)!important;opacity:.34!important;pointer-events:none!important;z-index:0!important;}
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top::after{content:""!important;position:absolute!important;left:50%!important;bottom:-31px!important;width:74px!important;height:74px!important;transform:translateX(-50%)!important;border-radius:999px!important;z-index:3!important;background:url("https://irp.cdn-website.com/630a36f4/dms3rep/multi/ZELEN_ZLNC.png") center/48px 48px no-repeat,radial-gradient(circle at 35% 20%,rgba(255,255,255,.20),rgba(255,255,255,0) 32%),linear-gradient(180deg,rgba(15,28,34,.98),rgba(0,0,0,.98))!important;border:1px solid rgba(var(--accent-rgb,0,255,213),.86)!important;box-shadow:0 18px 34px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.08) inset,0 0 24px rgba(var(--accent-rgb,0,255,213),.34),0 0 44px rgba(var(--accent-rgb,0,255,213),.17)!important;}
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-title{position:relative!important;z-index:2!important;order:1!important;margin:0!important;font-size:0!important;line-height:0!important;opacity:1!important;text-align:center!important;width:100%!important;}
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-title::after{content:"Available Rewards"!important;display:block!important;font-size:18px!important;line-height:1!important;font-weight:720!important;letter-spacing:.02em!important;color:rgba(255,255,255,.92)!important;text-shadow:0 12px 26px rgba(0,0,0,.42)!important;}
  html.pg-ar-overlay-open #pg-rewards-code #pg-rw-usd.pg-rw-usd{position:relative!important;z-index:2!important;order:2!important;margin:16px 0 0!important;font-size:clamp(42px,12.6vw,58px)!important;line-height:.88!important;font-weight:830!important;letter-spacing:-.055em!important;color:rgba(var(--accent-rgb,0,255,213),.98)!important;text-shadow:0 0 18px rgba(var(--accent-rgb,0,255,213),.26),0 20px 38px rgba(0,0,0,.72)!important;white-space:nowrap!important;opacity:1!important;}
  html.pg-ar-overlay-open #pg-rewards-code #pg-rw-usd.pg-rw-usd::before{content:"$"!important;}
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-stack{position:static!important;gap:0!important;transform:none!important;overflow:visible!important;}
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-enter{position:absolute!important;z-index:10035!important;left:34px!important;right:34px!important;top:118px!important;width:auto!important;height:32px!important;order:initial!important;pointer-events:none!important;}
  html.pg-ar-overlay-open #pg-ar-entered.pg-ar-entered{position:relative!important;width:100%!important;height:32px!important;min-height:32px!important;padding:0 26px 0 20px!important;display:block!important;text-align:right!important;font-size:clamp(22px,6.5vw,28px)!important;line-height:32px!important;font-weight:800!important;letter-spacing:-.04em!important;color:rgba(var(--accent-rgb,0,255,213),.98)!important;text-shadow:0 0 16px rgba(var(--accent-rgb,0,255,213),.22),0 12px 30px rgba(0,0,0,.62)!important;transform:none!important;overflow:visible!important;}
  html.pg-ar-overlay-open #pg-ar-entered.pg-ar-entered::before{content:"Apply Rewards"!important;position:absolute!important;left:20px!important;top:50%!important;transform:translateY(-50%)!important;font-size:clamp(17px,4.7vw,22px)!important;line-height:1!important;font-weight:760!important;letter-spacing:-.025em!important;color:rgba(255,255,255,.93)!important;text-shadow:0 12px 30px rgba(0,0,0,.62)!important;}
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:absolute!important;z-index:10030!important;left:49px!important;right:49px!important;top:188px!important;bottom:auto!important;height:52px!important;max-height:52px!important;margin:0!important;transform:none!important;align-items:center!important;gap:12px!important;overflow:visible!important;border-radius:16px!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar::before{content:"Redeem Code (Optional)"!important;position:absolute!important;left:4px!important;top:-29px!important;width:auto!important;max-width:calc(100vw - 98px)!important;white-space:nowrap!important;overflow:visible!important;font-size:13px!important;line-height:1!important;font-weight:560!important;letter-spacing:-.02em!important;color:rgba(255,255,255,.82)!important;text-shadow:0 10px 22px rgba(0,0,0,.55)!important;}
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar::after{content:none!important;}
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-input{position:relative!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;height:52px!important;min-height:52px!important;padding:0 16px!important;border-radius:16px!important;border:1px solid rgba(255,255,255,.13)!important;background:radial-gradient(180px 80px at 20% 50%,rgba(255,255,255,.055),rgba(0,0,0,0) 70%),linear-gradient(180deg,rgba(255,255,255,.045),rgba(0,0,0,.23))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 0 0 1px rgba(255,255,255,.035),0 14px 28px rgba(0,0,0,.32)!important;color:rgba(255,255,255,.94)!important;font-size:14px!important;font-weight:560!important;letter-spacing:.01em!important;text-align:left!important;overflow:visible!important;}
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-input::placeholder{color:rgba(255,255,255,.43)!important;}
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-apply{pointer-events:auto!important;position:relative!important;inset:auto!important;flex:0 0 104px!important;width:104px!important;min-width:104px!important;height:52px!important;margin-left:0!important;border-radius:16px!important;border:1px solid rgba(var(--accent-rgb,0,255,213),.56)!important;background:radial-gradient(140px 70px at 50% 16%,rgba(255,255,255,.13),rgba(255,255,255,0) 68%),linear-gradient(180deg,rgba(var(--accent-rgb,0,255,213),.17),rgba(8,19,22,.64))!important;box-shadow:0 0 0 1px rgba(255,255,255,.06) inset,0 0 18px rgba(var(--accent-rgb,0,255,213),.18),0 14px 28px rgba(0,0,0,.36)!important;color:rgba(255,255,255,.94)!important;font-size:15px!important;font-weight:760!important;letter-spacing:-.01em!important;overflow:hidden!important;}
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-apply::before{content:none!important;}
  html.pg-ar-overlay-open #pg-ar-overlay{overflow:visible!important;--pg-ar-content-shift-y:0px!important;--pg-ar-content-shift-x:0px!important;}
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner{inset:0 0 -48px 0!important;padding:calc(var(--pg-ar-rewards-h) + 10px) 14px 0!important;justify-content:flex-start!important;gap:0!important;overflow:visible!important;}
  html.pg-ar-overlay-open #pg-ar-keypad.pg-ar-keypad{width:100%!important;gap:7px 10px!important;padding:0 1px 0!important;overflow:visible!important;}
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key{height:clamp(47px,6.95vh,59px)!important;min-height:47px!important;border-radius:16px!important;}
}
@media (max-width: 520px) and (max-height: 760px){
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card{height:226px!important;min-height:226px!important;padding-left:32px!important;padding-right:32px!important;}
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top{left:32px!important;right:32px!important;height:158px!important;min-height:158px!important;padding-top:17px!important;}
  html.pg-ar-overlay-open #pg-rewards-code #pg-rw-usd.pg-rw-usd{font-size:clamp(39px,11.6vw,52px)!important;margin-top:15px!important;}
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-enter{top:112px!important;left:32px!important;right:32px!important;}
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar{left:48px!important;right:48px!important;top:178px!important;height:50px!important;max-height:50px!important;}
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-input,html.pg-ar-overlay-open #pg-rewards-code .pg-rw-apply{height:50px!important;min-height:50px!important;}
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner{inset:0 0 -52px 0!important;padding:calc(var(--pg-ar-rewards-h) + 8px) 13px 0!important;}
  html.pg-ar-overlay-open #pg-ar-keypad.pg-ar-keypad{gap:6px 9px!important;}
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key{height:clamp(45px,6.62vh,55px)!important;min-height:45px!important;}
}
/* ===== END STYLE BLOCK: pg-step1049-mobile-rewards-entry-hero-container-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1050-mobile-rewards-entry-hero-pixel-match-css ===== */
@media (max-width: 520px){
  /* Outer rewards-entry layer stays transparent; the visible HERO is .pg-rw-top. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card{
    width: 100vw !important;
    max-width: 100vw !important;
    height: 222px !important;
    min-height: 222px !important;
    margin-top: -15px !important;
    margin-bottom: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    isolation: isolate !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::before,
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card::after{
    content: none !important;
    display: none !important;
  }
  /* HERO container: measured to match .pg-rd-hero from Rewards Overview:
     left/right 16px, width ~319px on 351px viewport, height 138px, radius 18px. */
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top{
    position: absolute !important;
    z-index: 10025 !important;
    left: 16px !important;
    right: 16px !important;
    top: 0 !important;
    width: auto !important;
    height: 138px !important;
    min-height: 138px !important;
    max-height: 138px !important;
    border-radius: 18px !important;
    padding: 20px 18px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    isolation: isolate !important;
    pointer-events: none !important;
    border: 1px solid rgba(var(--accent-rgb, 27,197,233), 0.74) !important;
    background:
      radial-gradient(420px 132px at 50% 86%, rgba(var(--accent-rgb,27,197,233),0.28), rgba(0,0,0,0.00) 70%),
      radial-gradient(320px 120px at 50% 6%, rgba(255,255,255,0.045), rgba(0,0,0,0.00) 70%),
      linear-gradient(180deg, rgba(12,23,36,0.92), rgba(4,8,12,0.97)) !important;
    box-shadow:
      0 18px 36px rgba(0,0,0,0.56),
      0 0 0 1px rgba(var(--accent-rgb,27,197,233),0.10),
      0 0 32px rgba(var(--accent-rgb,27,197,233),0.20),
      inset 0 1px 0 rgba(255,255,255,0.10) !important;
  }
  /* HERO contour lines from the Rewards Overview card. */
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top::before{
    content:"" !important;
    position:absolute !important;
    left:10px !important;
    right:10px !important;
    bottom:8px !important;
    height:54px !important;
    border-radius:999px !important;
    background:
      radial-gradient(90% 80% at 50% 100%, rgba(var(--accent-rgb,27,197,233),0.34), rgba(0,0,0,0.00) 70%),
      repeating-radial-gradient(ellipse at 50% 100%, rgba(var(--accent-rgb,27,197,233),0.34) 0 1px, transparent 1px 7px) !important;
    opacity:0.34 !important;
    pointer-events:none !important;
    z-index:0 !important;
  }
  /* Center ZLNC orb locked to the bottom edge of the HERO. */
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top::after{
    content:"" !important;
    position:absolute !important;
    left:50% !important;
    bottom:-31px !important;
    width:74px !important;
    height:74px !important;
    transform:translateX(-50%) !important;
    border-radius:999px !important;
    z-index:3 !important;
    background:
      url("https://irp.cdn-website.com/630a36f4/dms3rep/multi/ZELEN_ZLNC.png") center/48px 48px no-repeat,
      radial-gradient(circle at 35% 20%, rgba(255,255,255,.20), rgba(255,255,255,0) 32%),
      linear-gradient(180deg, rgba(15,28,34,.98), rgba(0,0,0,.98)) !important;
    border:1px solid rgba(var(--accent-rgb,27,197,233),.86) !important;
    box-shadow:
      0 18px 34px rgba(0,0,0,.62),
      0 0 0 1px rgba(255,255,255,.08) inset,
      0 0 24px rgba(var(--accent-rgb,27,197,233),.34),
      0 0 44px rgba(var(--accent-rgb,27,197,233),.17) !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-title{
    position:relative !important;
    z-index:2 !important;
    order:1 !important;
    width:100% !important;
    margin:0 !important;
    text-align:center !important;
    font-size:0 !important;
    line-height:0 !important;
    opacity:1 !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-title::after{
    content:"Available Rewards" !important;
    display:block !important;
    font-size:16px !important;
    line-height:1 !important;
    font-weight:720 !important;
    letter-spacing:.02em !important;
    color:rgba(255,255,255,.92) !important;
    text-shadow:0 12px 26px rgba(0,0,0,.42) !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code #pg-rw-usd.pg-rw-usd{
    position:relative !important;
    z-index:2 !important;
    order:2 !important;
    margin:12px 0 0 !important;
    font-size:clamp(39px, 11.2vw, 50px) !important;
    line-height:.88 !important;
    font-weight:830 !important;
    letter-spacing:-.055em !important;
    color:rgba(var(--accent-rgb,27,197,233),.98) !important;
    text-shadow:
      0 0 18px rgba(var(--accent-rgb,27,197,233),.26),
      0 20px 38px rgba(0,0,0,.72) !important;
    white-space:nowrap !important;
    opacity:1 !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code #pg-rw-usd.pg-rw-usd::before{
    content:"$" !important;
  }
  /* Apply Rewards value lives inside the HERO container, not below it. */
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-enter{
    position: fixed !important;
    z-index: 10035 !important;
    left: 16px !important;
    right: 16px !important;
    top: 235px !important;
    width: auto !important;
    height: 32px !important;
    order: initial !important;
    pointer-events: none !important;
  }
  html.pg-ar-overlay-open #pg-ar-entered.pg-ar-entered{
    position: relative !important;
    width: 100% !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 42px 0 20px !important;
    display: block !important;
    text-align: right !important;
    font-size: clamp(20px, 6vw, 26px) !important;
    line-height: 32px !important;
    font-weight: 800 !important;
    letter-spacing: -.04em !important;
    color: rgba(var(--accent-rgb,27,197,233),.98) !important;
    text-shadow:
      0 0 16px rgba(var(--accent-rgb,27,197,233),.22),
      0 12px 30px rgba(0,0,0,.62) !important;
    transform: none !important;
    overflow: visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-entered.pg-ar-entered::before{
  content:"Apply Rewards" !important;
  position:absolute !important;
  /* Base positioning */
  left:20px !important;
  top:50% !important;
  /* 🔧 MASTER CONTROL — adjust these values */
  transform:translate(0px, -10px) !important;
  /* Typography */
  font-size:clamp(18px,4.5vw,18px) !important;
  line-height:1 !important;
  font-weight:500 !important;
  letter-spacing:-.025em !important;
  /* Styling */
  color:rgba(255,255,255,.93) !important;
  text-shadow:0 12px 30px rgba(0,0,0,.62) !important;
  /* Ensure always on top */
  z-index:10000 !important;
  pointer-events:none !important;
}
  /* Redeem code row sits cleanly below the HERO + orb. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
    position:absolute !important;
    z-index:10030 !important;
    left:34px !important;
    right:34px !important;
    top:184px !important;
    bottom:auto !important;
    height:50px !important;
    max-height:50px !important;
    margin:0 !important;
    transform:none !important;
    align-items:center !important;
    gap:10px !important;
    overflow:visible !important;
    border-radius:16px !important;
    background:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card .pg-rw-codebar::before{
    content:"Redeem Code (Optional)" !important;
    position:absolute !important;
    left:2px !important;
    top:-27px !important;
    width:auto !important;
    max-width:calc(100vw - 68px) !important;
    white-space:nowrap !important;
    overflow:visible !important;
    font-size:18px !important;
    line-height:1 !important;
    font-weight:560 !important;
    letter-spacing:-.02em !important;
    color:rgba(255,255,255,.82) !important;
    text-shadow:0 10px 22px rgba(0,0,0,.55) !important;
  }
  html.pg-ar-overlay-open 
#pg-rewards-code.pg-rw-card 
.pg-rw-codebar::before{
  content:"" !important;
  display:none !important;
}
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-input{
    position:relative !important;
    flex:1 1 auto !important;
    width:auto !important;
    min-width:0 !important;
    height:50px !important;
    min-height:50px !important;
    padding:0 16px !important;
    border-radius:16px !important;
    border:1px solid rgba(255,255,255,.13) !important;
    background:
      radial-gradient(180px 80px at 20% 50%, rgba(255,255,255,.055), rgba(0,0,0,0) 70%),
      linear-gradient(180deg, rgba(255,255,255,.045), rgba(0,0,0,.23)) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.08),
      inset 0 0 0 1px rgba(255,255,255,.035),
      0 14px 28px rgba(0,0,0,.32) !important;
    color:rgba(255,255,255,.94) !important;
    font-size:14px !important;
    font-weight:560 !important;
    letter-spacing:.01em !important;
    text-align:left !important;
    overflow:visible !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-apply{
    pointer-events:auto !important;
    position:relative !important;
    inset:auto !important;
    flex:0 0 96px !important;
    width:96px !important;
    min-width:96px !important;
    height:50px !important;
    margin-left:0 !important;
    border-radius:16px !important;
    border:1px solid rgba(var(--accent-rgb,27,197,233),.56) !important;
    background:
      radial-gradient(140px 70px at 50% 16%, rgba(255,255,255,.13), rgba(255,255,255,0) 68%),
      linear-gradient(180deg, rgba(var(--accent-rgb,27,197,233),.17), rgba(8,19,22,.64)) !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,.06) inset,
      0 0 18px rgba(var(--accent-rgb,27,197,233),.18),
      0 14px 28px rgba(0,0,0,.36) !important;
    color:rgba(255,255,255,.94) !important;
    font-size:15px !important;
    font-weight:760 !important;
    letter-spacing:-.01em !important;
    overflow:hidden !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-apply::before{content:none !important;}
  /* Keypad moves up into the freed space while preserving the finalized button size. */
  html.pg-ar-overlay-open #pg-ar-overlay{overflow:visible !important;}
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner{
    inset:0 0 -52px 0 !important;
    padding: calc(var(--pg-ar-rewards-h) - 6px) 13px 0 !important;
    justify-content:flex-start !important;
    gap:0 !important;
    overflow:visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-stack{
    position:static !important;
    gap:0 !important;
    transform:none !important;
    overflow:visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad.pg-ar-keypad{
    width:100% !important;
    gap:6px 9px !important;
    padding:0 1px 0 !important;
    overflow:visible !important;
  }
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key{
    height:clamp(45px,6.62vh,55px) !important;
    min-height:45px !important;
    border-radius:16px !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1050-mobile-rewards-entry-hero-pixel-match-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1052-mobile-rewards-entry-isolated-bg-final-css ===== */
@media (max-width: 520px){
  /* Full rewards-entry isolation layer: hides gateway content behind the HERO/keypad while
     preserving the header above and the Back/Pay controls. */
  html.pg-ar-overlay-open #pg-ar-overlay{
    background: transparent !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
    isolation: isolate !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay::before{
    content: "" !important;
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background:
      radial-gradient(560px 360px at 50% 32%, rgba(var(--accent-rgb,0,255,213),0.075), rgba(0,0,0,0.00) 68%),
      radial-gradient(420px 260px at 50% 58%, rgba(var(--accent-rgb,0,255,213),0.045), rgba(0,0,0,0.00) 72%),
      radial-gradient(900px 560px at 15% 12%, rgba(255,255,255,0.025), rgba(0,0,0,0.00) 62%),
      linear-gradient(180deg, #070A0B 0%, #090D0F 46%, #050708 100%) !important;
    opacity: 1 !important;
    filter: none !important;
    transform: translateZ(0) !important;
  }
  /* Subtle asset-colored atmosphere only — no carousel/text/data bleed-through. */
  html.pg-ar-overlay-open #pg-ar-overlay::after{
    content: "" !important;
    display: block !important;
    position: fixed !important;
    left: 50% !important;
    top: 47% !important;
    width: 250px !important;
    height: 250px !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    border-radius: 999px !important;
    background: radial-gradient(circle, rgba(var(--accent-rgb,0,255,213),0.070) 0%, rgba(var(--accent-rgb,0,255,213),0.035) 34%, rgba(0,0,0,0.00) 72%) !important;
    filter: blur(22px) !important;
    opacity: 0.86 !important;
    mix-blend-mode: screen !important;
  }
  /* Keep all rewards-entry content above the isolation layer. */
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-inner,
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-stack,
  html.pg-ar-overlay-open #pg-ar-keypad,
  html.pg-ar-overlay-open #pg-ar-keypad .pg-ar-key{
    position: relative !important;
    z-index: 2 !important;
  }
  /* The HERO is outside #pg-ar-overlay in the DOM, so keep it above the new background layer. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-codebar,
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-enter{
    z-index: 10030 !important;
  }
  /* Final outline safety: keep the HERO fully inside the iPhone viewport and prevent clipping. */
  html.pg-ar-overlay-open #pg-rewards-code.pg-rw-card{
    overflow: visible !important;
    clip-path: none !important;
    contain: none !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top{
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    clip-path: none !important;
    contain: none !important;
    border: 1px solid rgba(var(--accent-rgb,0,255,213),0.86) !important;
    box-shadow:
      0 18px 36px rgba(0,0,0,0.56),
      0 0 0 1px rgba(var(--accent-rgb,0,255,213),0.20),
      0 0 32px rgba(var(--accent-rgb,0,255,213),0.22),
      inset 0 0 0 1px rgba(255,255,255,0.055),
      inset 0 1px 0 rgba(255,255,255,0.10) !important;
  }
  html.pg-ar-overlay-open #pg-ar-overlay .pg-ar-enter{
    left: 16px !important;
    right: 16px !important;
  }
  /* Visual suppressors only: the data remains in the DOM, but it cannot show through. */
  html.pg-ar-overlay-open #pg-asset-row,
  html.pg-ar-overlay-open #pg-crypto-meta,
  html.pg-ar-overlay-open #pg-rewards-gateway,
  html.pg-ar-overlay-open .pg-volatility-note,
  html.pg-ar-overlay-open .pg-callouts-mobile,
  html.pg-ar-overlay-open .pg-pay-asset-split{
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1052-mobile-rewards-entry-isolated-bg-final-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1053-mobile-rewards-entry-new-hero-clone-css ===== */
@media (max-width: 520px){
  /* Hide only the old problematic visual HERO layer during Rewards Entry.
     The existing DOM/data remains intact for all current calculator/payment logic. */
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top{
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top::before,
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-top::after{
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  /* New Rewards Entry HERO — cloned from Rewards Overview .pg-rd-hero visual language. */
  #pg-rewards-code .pg-rw-entry-hero{
    display: none;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-entry-hero{
    --pg-rw-entry-blue: var(--accent-rgb, 27,197,233);
    display: block !important;
    position: absolute !important;
    /* STEP 1061: reduce HERO visual width by 5px on each side, keep centered + height locked */
    left: 23px !important;
    right: 23px !important;
    top: 0 !important;
    width: auto !important;
    height: 138px !important;
    min-height: 138px !important;
    max-height: 138px !important;
    margin: 0 !important;
    padding: 20px 18px 18px !important;
    box-sizing: border-box !important;
    border-radius: 18px !important;
    border: none !important;
    overflow: visible !important;
    isolation: isolate !important;
    background:
      radial-gradient(420px 150px at 50% 82%, rgba(var(--pg-rw-entry-blue), .27), rgba(0,0,0,0) 70%),
      linear-gradient(180deg, rgba(12,23,36,.92), rgba(4,8,12,.97)) !important;
    box-shadow:
      inset 0 0 0 0.8px rgba(var(--pg-rw-entry-blue), .74),
      0 18px 36px rgba(0,0,0,.56),
      0 0 0 1px rgba(var(--pg-rw-entry-blue), .10),
      0 0 32px rgba(var(--pg-rw-entry-blue), .20),
      inset 0 1px 0 rgba(255,255,255,.10) !important;
    z-index: 10034 !important;
    pointer-events: none !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-entry-hero::before{
    content: "" !important;
    position: absolute !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 8px !important;
    height: 54px !important;
    border-radius: 999px !important;
    background:
      radial-gradient(90% 80% at 50% 100%, rgba(var(--pg-rw-entry-blue), .34), rgba(0,0,0,0) 70%),
      repeating-radial-gradient(ellipse at 50% 100%, rgba(var(--pg-rw-entry-blue), .34) 0 1px, transparent 1px 7px) !important;
    opacity: .34 !important;
    pointer-events: none !important;
    z-index: 0 !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-entry-hero-main{
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: 100% !important;
    text-align: center !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-entry-hero-k{
    margin: 0 0 14px !important;
    font-size: 17px !important;
    transform: translateY(-8px) !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .02em !important;
    color: rgba(255,255,255,.92) !important;
    text-shadow: 0 12px 26px rgba(0,0,0,.42) !important;
    white-space: nowrap !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-entry-hero-v{
    margin: 0 !important;
    font-size: clamp(38px, 12.6vw, 38px) !important;
    transform: translateY(-8px) !important;
    line-height: .88 !important;
    font-weight: 800 !important;
    letter-spacing: .012em !important;
    color: rgba(var(--pg-rw-entry-blue), .98) !important;
    text-shadow:
      0 0 18px rgba(var(--pg-rw-entry-blue), .26),
      0 20px 38px rgba(0,0,0,.72) !important;
    white-space: nowrap !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-entry-token-orb{
    position: absolute !important;
    left: 50% !important;
    bottom: -29px !important;
    width: 78px !important;
    height: 78px !important;
    border-radius: 999px !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
      radial-gradient(circle at 35% 25%, rgba(255,255,255,.18), rgba(255,255,255,0) 42%),
      linear-gradient(180deg, rgba(7,16,26,.96), rgba(3,7,11,.99)) !important;
    border: 1px solid rgba(var(--pg-rw-entry-blue), .88) !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,.08) inset,
      0 0 24px rgba(var(--pg-rw-entry-blue), .42),
      0 14px 34px rgba(0,0,0,.58) !important;
    z-index: 4 !important;
    pointer-events: none !important;
  }
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-entry-zlnc-logo{
    display: block !important;
    width: 52px !important;
    height: 52px !important;
    object-fit: contain !important;
    border-radius: 999px !important;
    filter: drop-shadow(0 0 14px rgba(var(--pg-rw-entry-blue), .38)) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1053-mobile-rewards-entry-new-hero-clone-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1067-hide-rw-codebar-css ===== */
#pg-rw-input,
  #pg-rw-apply,
  .pg-rw-codebar{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
/* ===== END STYLE BLOCK: pg-step1067-hide-rw-codebar-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1071-mobile-rewards-entry-hero-down-40px-css ===== */
@media (max-width: 520px){
  html.pg-ar-overlay-open #pg-rewards-code .pg-rw-entry-hero{
    top: 40px !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1071-mobile-rewards-entry-hero-down-40px-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1073-mobile-main-buttons-split-glass-command-bar-css ===== */
@media (max-width: 640px){
  #pg-hybredpayment-hero-row{
    width: 95vw !important;
    max-width: 640px !important;
    height: 76px !important;
  }
  #pg-hybredpayment-hero{
    width: 100% !important;
    height: 76px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    isolation: isolate !important;
    display: flex !important;
    align-items: stretch !important;
    background:
      radial-gradient(140% 180% at 82% 16%, rgba(var(--pg-hph-rgb),0.115), rgba(var(--pg-hph-rgb),0.00) 58%),
      radial-gradient(120% 160% at 18% 0%, rgba(255,255,255,0.055), rgba(255,255,255,0.00) 54%),
      linear-gradient(180deg, rgba(18,22,25,0.98) 0%, rgba(5,6,8,0.99) 100%) !important;
    border: 1px solid rgba(var(--pg-hph-rgb),0.74) !important;
    box-shadow:
      0 18px 36px rgba(0,0,0,0.66),
      0 0 0 1px rgba(255,255,255,0.055) inset,
      0 0 20px rgba(var(--pg-hph-rgb),0.13) !important;
  }
  #pg-hybredpayment-hero::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    pointer-events:none !important;
    z-index:4 !important;
    border-radius: inherit !important;
    background:
      linear-gradient(90deg, rgba(255,255,255,0.00) 0%, rgba(255,255,255,0.30) 16%, rgba(255,255,255,0.16) 34%, rgba(255,255,255,0.07) 72%, rgba(255,255,255,0.00) 100%) 0 0/100% 1px no-repeat,
      linear-gradient(90deg, rgba(var(--pg-hph-rgb),0.80) 0%, rgba(var(--pg-hph-rgb),0.32) 42%, rgba(var(--pg-hph-rgb),0.16) 76%, rgba(var(--pg-hph-rgb),0.62) 100%) 0 100%/100% 1px no-repeat !important;
    opacity: 0.82 !important;
  }
  #pg-hybredpayment-hero::after{
    content:"" !important;
    position:absolute !important;
    left:40% !important;
    top:13px !important;
    bottom:13px !important;
    width:1px !important;
    pointer-events:none !important;
    z-index:5 !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.00), rgba(255,255,255,0.34) 24%, rgba(var(--pg-hph-rgb),0.42) 52%, rgba(255,255,255,0.18) 76%, rgba(255,255,255,0.00)) !important;
    box-shadow: 0 0 14px rgba(var(--pg-hph-rgb),0.22) !important;
    opacity: 0.88 !important;
  }
  #pg-hybredpayment-hero .pg-hph-side{
    height: 100% !important;
    min-height: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    transform: none !important;
  }
  #pg-hybredpayment-hero .pg-hph-left{
    flex: 0 0 40% !important;
    width: 40% !important;
    min-width: 40% !important;
    max-width: 40% !important;
    gap: 8px !important;
    z-index: 2 !important;
    border-radius: 14px 0 0 14px !important;
    justify-content: center !important;
    padding: 0 10px 0 11px !important;
    background:
      radial-gradient(120% 145% at 18% 0%, rgba(255,255,255,0.105), rgba(255,255,255,0.00) 56%),
      radial-gradient(120% 140% at 98% 50%, rgba(var(--pg-hph-rgb),0.105), rgba(var(--pg-hph-rgb),0.00) 62%),
      linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.008) 48%, rgba(0,0,0,0.20) 100%) !important;
    opacity: 1 !important;
    box-shadow:
      inset 1px 0 0 rgba(255,255,255,0.06),
      inset 0 1px 0 rgba(255,255,255,0.055),
      inset 0 -1px 0 rgba(0,0,0,0.42) !important;
  }
  #pg-hybredpayment-hero .pg-hph-left::after{
    content:"" !important;
    position:absolute !important;
    inset: 0 !important;
    padding: 0 !important;
    border-radius: 14px 0 0 14px !important;
    pointer-events:none !important;
    background:
      radial-gradient(80% 120% at 6% 18%, rgba(255,255,255,0.14), rgba(255,255,255,0.00) 56%),
      linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.00) 78%) !important;
    -webkit-mask: none !important;
    mask: none !important;
    opacity: 0.78 !important;
  }
  #pg-hybredpayment-hero .pg-hph-left .pg-hph-card-ico{
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    color: rgba(255,255,255,0.72) !important;
    opacity: 0.92 !important;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.075)) !important;
  }
  #pg-hybredpayment-hero .pg-hph-left .pg-hph-text{
    position: relative !important;
    z-index: 3 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    font-size: clamp(13px, 3.5vw, 15px) !important;
    line-height: 1 !important;
    font-weight: 720 !important;
    letter-spacing: 0.005em !important;
    color: rgba(255,255,255,0.82) !important;
    opacity: 1 !important;
    text-shadow: 0 10px 20px rgba(0,0,0,0.62) !important;
  }
  #pg-hybredpayment-hero.pg-hph-left-cancel .pg-hph-left .pg-hph-card-ico,
  #pg-hybredpayment-hero.pg-hph-left-cancel .pg-hph-left .pg-hph-text{
    color: rgba(255,72,126,0.96) !important;
    text-shadow: 0 0 16px rgba(255,72,126,0.18), 0 10px 20px rgba(0,0,0,0.62) !important;
  }
  #pg-hybredpayment-hero.pg-hph-left-cancel .pg-hph-left{
    background:
      radial-gradient(120% 145% at 18% 0%, rgba(255,255,255,0.10), rgba(255,255,255,0.00) 56%),
      radial-gradient(120% 140% at 18% 50%, rgba(255,72,126,0.105), rgba(255,72,126,0.00) 62%),
      linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.008) 48%, rgba(0,0,0,0.20) 100%) !important;
  }
  #pg-hybredpayment-hero .pg-hph-right{
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 13px 0 13px !important;
    gap: 12px !important;
    z-index: 3 !important;
    border-radius: 0 14px 14px 0 !important;
    border: 0 !important;
    justify-content: center !important;
    background:
      radial-gradient(88px 72px at 28% 50%, rgba(255,255,255,0.18), rgba(255,255,255,0.00) 55%) padding-box,
      radial-gradient(132px 96px at 31% 50%, rgba(var(--pg-hph-rgb),0.42), rgba(var(--pg-hph-rgb),0.10) 48%, rgba(var(--pg-hph-rgb),0.00) 74%) padding-box,
      linear-gradient(90deg, rgba(var(--pg-hph-rgb),0.20) 0%, rgba(var(--pg-hph-rgb),0.105) 32%, rgba(var(--pg-hph-rgb),0.055) 63%, rgba(var(--pg-hph-rgb),0.16) 100%) padding-box,
      linear-gradient(180deg, rgba(255,255,255,0.055), rgba(0,0,0,0.10) 72%, rgba(255,255,255,0.025) 100%) padding-box !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.07),
      inset -1px 0 0 rgba(255,255,255,0.055),
      inset 0 0 0 1px rgba(var(--pg-hph-rgb),0.08),
      0 0 24px rgba(var(--pg-hph-rgb),0.16) !important;
    animation: none !important;
  }
  #pg-hybredpayment-hero .pg-hph-right::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    left:0 !important;
    width:auto !important;
    pointer-events:none !important;
    background:
      linear-gradient(90deg, rgba(var(--pg-hph-rgb),0.00) 0%, rgba(var(--pg-hph-rgb),0.24) 29%, rgba(var(--pg-hph-rgb),0.08) 62%, rgba(var(--pg-hph-rgb),0.34) 100%),
      linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.00) 34%, rgba(255,255,255,0.035) 100%) !important;
    opacity: 0.76 !important;
    filter: none !important;
    border-radius: 0 14px 14px 0 !important;
  }
  #pg-hybredpayment-hero .pg-hph-right::after{
    content:"" !important;
    position:absolute !important;
    inset:-35% -20% !important;
    pointer-events:none !important;
    background: linear-gradient(105deg, rgba(255,255,255,0.00) 42%, rgba(255,255,255,0.16) 50%, rgba(255,255,255,0.00) 58%) !important;
    opacity: 0.16 !important;
    transform: translateX(-42%) !important;
    animation: pgHphStep1073PaySweep 5.2s ease-in-out infinite !important;
    mix-blend-mode: screen !important;
  }
  @keyframes pgHphStep1073PaySweep{
    0%{ transform: translateX(-48%) rotate(0.001deg); opacity:0.00; }
    20%{ opacity:0.16; }
    58%{ transform: translateX(18%) rotate(0.001deg); opacity:0.13; }
    100%{ transform: translateX(48%) rotate(0.001deg); opacity:0.00; }
  }
  #pg-hybredpayment-hero .pg-hph-asset{
    position: relative !important;
    z-index: 4 !important;
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 999px !important;
    background:
      radial-gradient(circle at 35% 26%, rgba(255,255,255,0.34), rgba(255,255,255,0.00) 46%),
      rgba(var(--pg-hph-rgb),0.98) !important;
    box-shadow:
      0 0 0 2px rgba(255,255,255,0.42) inset,
      0 0 0 1px rgba(255,255,255,0.16),
      0 0 18px rgba(var(--pg-hph-rgb),0.50),
      0 0 36px rgba(var(--pg-hph-rgb),0.22),
      0 12px 22px rgba(0,0,0,0.44) !important;
  }
  #pg-hybredpayment-hero .pg-hph-asset::after{
    content:"" !important;
    position:absolute !important;
    inset:-12px !important;
    border-radius:999px !important;
    pointer-events:none !important;
    background: radial-gradient(circle, rgba(var(--pg-hph-rgb),0.24), rgba(var(--pg-hph-rgb),0.00) 68%) !important;
    z-index:-1 !important;
  }
  #pg-hybredpayment-hero .pg-hph-asset img{
    width: 31px !important;
    height: 31px !important;
    object-fit: contain !important;
    border-radius: 999px !important;
    display: block !important;
  }
  #pg-hybredpayment-hero .pg-hph-right-text{
    position: relative !important;
    z-index: 4 !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    font-size: clamp(20px, 5.6vw, 23px) !important;
    line-height: 1 !important;
    font-weight: 770 !important;
    letter-spacing: 0.018em !important;
    color: rgba(255,255,255,0.96) !important;
    opacity: 1 !important;
    text-align: center !important;
    text-shadow: 0 2px 0 rgba(0,0,0,0.58), 0 0 16px rgba(var(--pg-hph-rgb),0.22) !important;
  }
  #pg-hybredpayment-hero .pg-hph-line1,
  #pg-hybredpayment-hero .pg-hph-line2{
    display: inline !important;
    white-space: nowrap !important;
  }
  #pg-hybredpayment-hero .pg-hph-arrow{
    position: relative !important;
    z-index: 4 !important;
    flex: 0 0 auto !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    opacity: 0.92 !important;
    margin-left: 1px !important;
    transform: translateY(-1px) !important;
    color: rgba(255,255,255,0.92) !important;
    text-shadow: 0 0 14px rgba(var(--pg-hph-rgb),0.25) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1073-mobile-main-buttons-split-glass-command-bar-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1074-mobile-main-buttons-elegant-subtle-command-bar-css ===== */
@media (max-width: 640px){
  #pg-hybredpayment-hero-row{width:95vw!important;max-width:640px!important;height:68px!important;}
  #pg-hybredpayment-hero{height:68px!important;border-radius:14px!important;background:radial-gradient(140% 180% at 82% 16%,rgba(var(--pg-hph-rgb),.05),rgba(var(--pg-hph-rgb),0) 58%),radial-gradient(120% 160% at 18% 0%,rgba(255,255,255,.038),rgba(255,255,255,0) 54%),linear-gradient(180deg,rgba(14,17,19,.985) 0%,rgba(4,5,7,.995) 100%)!important;border:1px solid rgba(var(--pg-hph-rgb),.42)!important;box-shadow:0 14px 28px rgba(0,0,0,.64),0 0 0 1px rgba(255,255,255,.04) inset,0 0 10px rgba(var(--pg-hph-rgb),.055)!important;}
  #pg-hybredpayment-hero::before{background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.20) 16%,rgba(255,255,255,.10) 34%,rgba(255,255,255,.04) 72%,rgba(255,255,255,0) 100%) 0 0/100% 1px no-repeat,linear-gradient(90deg,rgba(var(--pg-hph-rgb),.42) 0%,rgba(var(--pg-hph-rgb),.18) 42%,rgba(var(--pg-hph-rgb),.08) 76%,rgba(var(--pg-hph-rgb),.32) 100%) 0 100%/100% 1px no-repeat!important;opacity:.62!important;}
  #pg-hybredpayment-hero::after{left:37%!important;top:12px!important;bottom:12px!important;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.22) 24%,rgba(var(--pg-hph-rgb),.22) 52%,rgba(255,255,255,.10) 76%,rgba(255,255,255,0))!important;box-shadow:0 0 8px rgba(var(--pg-hph-rgb),.10)!important;opacity:.62!important;}
  #pg-hybredpayment-hero .pg-hph-left{flex:0 0 37%!important;width:37%!important;min-width:37%!important;max-width:37%!important;gap:7px!important;padding:0 9px 0 10px!important;background:radial-gradient(115% 140% at 14% 0%,rgba(255,255,255,.045),rgba(255,255,255,0) 56%),radial-gradient(120% 140% at 98% 50%,rgba(var(--pg-hph-rgb),.035),rgba(var(--pg-hph-rgb),0) 62%),linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.004) 48%,rgba(0,0,0,.30) 100%)!important;box-shadow:inset 1px 0 0 rgba(255,255,255,.04),inset 0 1px 0 rgba(255,255,255,.03),inset 0 -1px 0 rgba(0,0,0,.46)!important;}
  #pg-hybredpayment-hero .pg-hph-left::after{background:radial-gradient(76% 115% at 6% 18%,rgba(255,255,255,.065),rgba(255,255,255,0) 56%),linear-gradient(90deg,rgba(255,255,255,.035),rgba(255,255,255,0) 78%)!important;opacity:.42!important;}
  #pg-hybredpayment-hero .pg-hph-left .pg-hph-card-ico{width:17px!important;height:17px!important;flex-basis:17px!important;opacity:.78!important;filter:none!important;}
  #pg-hybredpayment-hero .pg-hph-left .pg-hph-text{font-size:clamp(12.5px,3.25vw,14px)!important;font-weight:700!important;color:rgba(255,255,255,.78)!important;}
  #pg-hybredpayment-hero.pg-hph-left-cancel .pg-hph-left{background:radial-gradient(115% 140% at 14% 0%,rgba(255,255,255,.04),rgba(255,255,255,0) 56%),radial-gradient(120% 140% at 18% 50%,rgba(255,72,126,.052),rgba(255,72,126,0) 62%),linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.004) 48%,rgba(0,0,0,.30) 100%)!important;}
  #pg-hybredpayment-hero.pg-hph-left-cancel .pg-hph-left .pg-hph-card-ico,#pg-hybredpayment-hero.pg-hph-left-cancel .pg-hph-left .pg-hph-text{color:rgba(255,88,134,.94)!important;text-shadow:0 0 8px rgba(255,72,126,.08),0 10px 18px rgba(0,0,0,.62)!important;}
  #pg-hybredpayment-hero .pg-hph-right{padding:0 10px!important;gap:9px!important;background:radial-gradient(70px 58px at 29% 50%,rgba(255,255,255,.105),rgba(255,255,255,0) 56%) padding-box,radial-gradient(106px 78px at 31% 50%,rgba(var(--pg-hph-rgb),.205),rgba(var(--pg-hph-rgb),.055) 48%,rgba(var(--pg-hph-rgb),0) 74%) padding-box,linear-gradient(90deg,rgba(var(--pg-hph-rgb),.095) 0%,rgba(var(--pg-hph-rgb),.05) 32%,rgba(var(--pg-hph-rgb),.025) 63%,rgba(var(--pg-hph-rgb),.075) 100%) padding-box,linear-gradient(180deg,rgba(255,255,255,.036),rgba(0,0,0,.13) 72%,rgba(255,255,255,.016) 100%) padding-box!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),inset -1px 0 0 rgba(255,255,255,.04),inset 0 0 0 1px rgba(var(--pg-hph-rgb),.045),0 0 11px rgba(var(--pg-hph-rgb),.075)!important;}
  #pg-hybredpayment-hero .pg-hph-right::before{background:linear-gradient(90deg,rgba(var(--pg-hph-rgb),0) 0%,rgba(var(--pg-hph-rgb),.105) 29%,rgba(var(--pg-hph-rgb),.038) 62%,rgba(var(--pg-hph-rgb),.15) 100%),linear-gradient(180deg,rgba(255,255,255,.052) 0%,rgba(255,255,255,0) 34%,rgba(255,255,255,.02) 100%)!important;opacity:.44!important;}
  #pg-hybredpayment-hero .pg-hph-right::after{opacity:.075!important;}
  #pg-hybredpayment-hero .pg-hph-asset{width:36px!important;height:36px!important;flex-basis:36px!important;box-shadow:0 0 0 2px rgba(255,255,255,.32) inset,0 0 0 1px rgba(255,255,255,.12),0 0 9px rgba(var(--pg-hph-rgb),.25),0 0 18px rgba(var(--pg-hph-rgb),.10),0 10px 18px rgba(0,0,0,.42)!important;}
  #pg-hybredpayment-hero .pg-hph-asset::after{inset:-8px!important;background:radial-gradient(circle,rgba(var(--pg-hph-rgb),.105),rgba(var(--pg-hph-rgb),0) 68%)!important;}
  #pg-hybredpayment-hero .pg-hph-asset img{width:28px!important;height:28px!important;}
  #pg-hybredpayment-hero .pg-hph-right-text{flex:1 1 auto!important;max-width:none!important;font-size:clamp(17px,4.55vw,19px)!important;font-weight:740!important;letter-spacing:.006em!important;text-shadow:0 2px 0 rgba(0,0,0,.56),0 0 7px rgba(var(--pg-hph-rgb),.10)!important;}
  #pg-hybredpayment-hero .pg-hph-arrow{font-size:26px!important;margin-left:0!important;opacity:.86!important;text-shadow:0 0 8px rgba(var(--pg-hph-rgb),.12)!important;}
}
/* ===== END STYLE BLOCK: pg-step1074-mobile-main-buttons-elegant-subtle-command-bar-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1077-tx-hero-flow-centering-label-fix-css ===== */
/* =========================================================
   STEP 1077 — MOBILE TX HERO FLOW CENTERING + LABEL FIX
   Source: Step 1076
   Scope: MOBILE TX overlay visuals only. No payment/session/API logic.
========================================================= */
@media (max-width: 520px){
  #pg-crypto-meta.is-tx-pending,
  #pg-crypto-meta.is-tx-complete{
    position: relative !important;
    overflow: visible !important;
    height: 176px !important;
  }
  #pg-crypto-meta.is-tx-pending .pg-tx-overlay,
  #pg-crypto-meta.is-tx-complete .pg-tx-overlay{
    position: absolute !important;
    top: 0 !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    width: calc(100vw - 44px) !important;
    max-width: 398px !important;
    min-width: 300px !important;
    height: 176px !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 80 !important;
  }
  #pg-crypto-meta.is-tx-pending .pg-tx-overlay::before,
  #pg-crypto-meta.is-tx-pending .pg-tx-overlay::after,
  #pg-crypto-meta.is-tx-complete .pg-tx-overlay::before,
  #pg-crypto-meta.is-tx-complete .pg-tx-overlay::after{
    display: none !important;
    content: none !important;
  }
  #pg-crypto-meta .pg-tx-inner{
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    overflow: visible !important;
  }
  #pg-crypto-meta .pg-tx-title{
    width: 100% !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    display: block !important;
    text-align: center !important;
    font-size: 17px !important;
    line-height: 1.05 !important;
    font-weight: 760 !important;
    letter-spacing: -0.026em !important;
    text-transform: none !important;
    white-space: nowrap !important;
    color: rgba(255,255,255,0.96) !important;
    text-shadow: 0 12px 24px rgba(0,0,0,0.72) !important;
  }
  #pg-crypto-meta .pg-tx-pending-card{
    width: 100% !important;
    max-width: 330px !important;
    min-width: 300px !important;
    min-height: 122px !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  #pg-crypto-meta .pg-tx-assets-row{
    position: relative !important;
    width: 300px !important;
    max-width: 300px !important;
    min-width: 300px !important;
    height: 78px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 0 !important;
    transform: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  #pg-crypto-meta .pg-tx-assets-row::before{
    content:"" !important;
    position:absolute !important;
    left: 42px !important;
    right: 42px !important;
    top: 27px !important;
    height: 1px !important;
    display:block !important;
    pointer-events:none !important;
    opacity: .66 !important;
    background: linear-gradient(90deg, rgba(var(--accent-rgb),0), rgba(var(--accent-rgb),.34) 22%, rgba(255,255,255,.16) 50%, rgba(var(--accent-rgb),.34) 78%, rgba(var(--accent-rgb),0)) !important;
    box-shadow: 0 0 10px rgba(var(--accent-rgb),.13) !important;
    z-index: 1 !important;
  }
  #pg-crypto-meta .pg-tx-assets-row .pg-wc-flow-beam{
    top: 27px !important;
    left: 42px !important;
    right: auto !important;
    width: 216px !important;
    height: 14px !important;
    transform: translateY(-50%) !important;
    opacity: .22 !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }
  #pg-crypto-meta .pg-tx-assets-row .pg-wc-asset-tile,
  #pg-crypto-meta .pg-tx-assets-row .pg-wc-asset-link{
    position: relative !important;
    z-index: 2 !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    flex: 0 0 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    border-radius: 14px !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-sizing: border-box !important;
  }
  #pg-crypto-meta .pg-tx-assets-row .pg-wc-asset-tile &gt; img,
  #pg-crypto-meta .pg-tx-assets-row .pg-tx-asset-paid img{
    width: 31px !important;
    height: 31px !important;
    max-width: 31px !important;
    max-height: 31px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    object-fit: contain !important;
    position: relative !important;
    z-index: 3 !important;
  }
  #pg-crypto-meta .pg-tx-assets-row .pg-tx-asset-reward img{
    width: 25px !important;
    height: 25px !important;
    max-width: 25px !important;
    max-height: 25px !important;
  }
  #pg-crypto-meta .pg-tx-assets-row .pg-wc-asset-lock svg{
    width: 21px !important;
    height: 21px !important;
    display:block !important;
    position: relative !important;
    z-index: 3 !important;
  }
  #pg-crypto-meta .pg-tx-assets-row .pg-tx-asset-paid::after,
  #pg-crypto-meta .pg-tx-assets-row .pg-tx-asset-lock::after,
  #pg-crypto-meta .pg-tx-assets-row .pg-tx-asset-reward::after{
    content: none !important;
    display: none !important;
  }
  #pg-crypto-meta .pg-tx-step-label{
    position: absolute !important;
    left: 50% !important;
    top: 61px !important;
    transform: translateX(-50%) !important;
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    height: auto !important;
    display: block !important;
    text-align: center !important;
    pointer-events: none !important;
    overflow: visible !important;
    white-space: normal !important;
    z-index: 4 !important;
    text-shadow: 0 9px 18px rgba(0,0,0,.72) !important;
  }
  #pg-crypto-meta .pg-tx-step-label-main,
  #pg-crypto-meta .pg-tx-step-label-sub{
    display:block !important;
    width:100% !important;
    white-space:nowrap !important;
    overflow:visible !important;
    text-overflow:clip !important;
    line-height:1.04 !important;
    text-align:center !important;
  }
  #pg-crypto-meta .pg-tx-step-label-main{
    font-size: 10px !important;
    font-weight: 760 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,.90) !important;
  }
  #pg-crypto-meta .pg-tx-step-label-sub{
    margin-top: 3px !important;
    font-size: 9.5px !important;
    font-weight: 560 !important;
    letter-spacing: .01em !important;
    color: rgba(var(--accent-rgb),.86) !important;
  }
  #pg-crypto-meta .pg-tx-pending-grid{
    width: 100% !important;
    margin: 25px auto 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-items: center !important;
    gap: 0 !important;
    overflow: visible !important;
  }
  #pg-crypto-meta .pg-tx-pending-copy{
    display: none !important;
  }
  #pg-crypto-meta .pg-tx-pending-values{
    width: 100% !important;
    text-align: center !important;
    opacity: .62 !important;
    transform: none !important;
  }
  #pg-crypto-meta.is-tx-complete .pg-tx-pending-values{
    opacity: 1 !important;
  }
  #pg-crypto-meta .pg-tx-rewards-main{
    font-size: 18px !important;
    line-height: 1.02 !important;
    font-weight: 820 !important;
    letter-spacing: -.015em !important;
    text-align: center !important;
  }
  #pg-crypto-meta .pg-tx-rewards-sub{
    margin-top: 4px !important;
    font-size: 12.5px !important;
    line-height: 1.08 !important;
    text-align: center !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1077-tx-hero-flow-centering-label-fix-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1080-tx-flow-row-center-only-css ===== */
@media (max-width: 520px){
  #pg-tx-overlay .pg-wc-assets-row.pg-tx-assets-row,
  #pg-tx-overlay .pg-tx-assets-row{
    position: relative !important;
    left: 50% !important;
    width: 230px !important;
    max-width: 230px !important;
    min-width: 230px !important;
    height: 82px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  #pg-tx-overlay .pg-tx-assets-row .pg-wc-asset-tile,
  #pg-tx-overlay .pg-tx-assets-row .pg-wc-asset-link{
    position: relative !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    flex: 0 0 54px !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  #pg-tx-overlay .pg-tx-assets-row .pg-tx-step-label{
    position: absolute !important;
    left: 50% !important;
    top: 61px !important;
    transform: translateX(-50%) !important;
    width: 74px !important;
    min-width: 74px !important;
    max-width: 74px !important;
    height: auto !important;
    display: block !important;
    text-align: center !important;
    pointer-events: none !important;
    overflow: visible !important;
    white-space: normal !important;
    z-index: 20 !important;
    text-shadow: 0 8px 16px rgba(0,0,0,.72) !important;
  }
  #pg-tx-overlay .pg-tx-step-label-main,
  #pg-tx-overlay .pg-tx-step-label-sub{
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.03 !important;
    text-align: center !important;
  }
  #pg-tx-overlay .pg-tx-step-label-main{
    font-size: 10px !important;
    font-weight: 760 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,.90) !important;
  }
  #pg-tx-overlay .pg-tx-step-label-sub{
    margin-top: 3px !important;
    font-size: 9.5px !important;
    font-weight: 560 !important;
    letter-spacing: .01em !important;
    color: rgba(var(--accent-rgb),.86) !important;
  }
  #pg-tx-overlay .pg-tx-assets-row .pg-tx-asset-paid::after,
  #pg-tx-overlay .pg-tx-assets-row .pg-tx-asset-lock::after,
  #pg-tx-overlay .pg-tx-assets-row .pg-tx-asset-reward::after{
    content: none !important;
    display: none !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1080-tx-flow-row-center-only-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1081-tx-flow-row-center-spacing-lock-css ===== */
@media (max-width: 520px){
  #pg-crypto-meta.is-tx-pending #pg-tx-overlay,
  #pg-crypto-meta.is-tx-complete #pg-tx-overlay{
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  #pg-crypto-meta.is-tx-pending #pg-tx-pending-card,
  #pg-crypto-meta.is-tx-complete #pg-tx-pending-card{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }
  #pg-crypto-meta.is-tx-pending #pg-tx-pending-card .pg-wc-assets-row.pg-tx-assets-row,
  #pg-crypto-meta.is-tx-complete #pg-tx-pending-card .pg-wc-assets-row.pg-tx-assets-row{
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 216px !important;
    max-width: 216px !important;
    min-width: 216px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  #pg-crypto-meta #pg-tx-pending-card .pg-tx-assets-row::before{
    left: 27px !important;
    right: 27px !important;
  }
  #pg-crypto-meta #pg-tx-pending-card .pg-tx-assets-row .pg-wc-flow-beam{
    left: 27px !important;
    right: 27px !important;
    width: calc(100% - 54px) !important;
  }
  #pg-crypto-meta #pg-tx-pending-card .pg-tx-assets-row .pg-wc-asset-tile,
  #pg-crypto-meta #pg-tx-pending-card .pg-tx-assets-row .pg-wc-asset-link{
    width: 54px !important;
    height: 54px !important;
    flex: 0 0 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    overflow: visible !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1081-tx-flow-row-center-spacing-lock-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1088-tx-overlay-spacing-glow-css ===== */
@media (max-width: 520px){
  #pg-crypto-meta.is-tx-pending,
  #pg-crypto-meta.is-tx-complete{
    height: 196px !important;
    overflow: visible !important;
  }
  #pg-crypto-meta.is-tx-pending #pg-tx-overlay.pg-tx-overlay,
  #pg-crypto-meta.is-tx-complete #pg-tx-overlay.pg-tx-overlay{
    top: 20px !important;
    bottom: auto !important;
    height: 176px !important;
    overflow: visible !important;
  }
  #pg-crypto-meta #pg-tx-overlay .pg-tx-inner{
    padding-top: 12px !important;
  }
  #pg-crypto-meta #pg-tx-title.pg-tx-title{
    font-size: 16px !important;
    font-weight: 650 !important;
    letter-spacing: -0.022em !important;
    line-height: 1.03 !important;
    margin: 0 0 14px 0 !important;
    text-align: center !important;
    text-transform: none !important;
  }
  #pg-crypto-meta #pg-tx-overlay .pg-wc-asset-link{
    position: relative !important;
    overflow: hidden !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.065) inset,
      0 0 16px rgba(var(--accent-rgb),0.20),
      0 0 30px rgba(var(--accent-rgb),0.10) !important;
  }
  #pg-crypto-meta #pg-tx-overlay .pg-wc-asset-link::before{
    content: "" !important;
    position: absolute !important;
    inset: -48% !important;
    display: block !important;
    opacity: 0.58 !important;
    filter: blur(9px) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background: conic-gradient(from 0deg,
      rgba(var(--accent-rgb),0.00) 0deg,
      rgba(var(--accent-rgb),0.34) 78deg,
      rgba(255,255,255,0.18) 118deg,
      rgba(var(--accent-rgb),0.20) 154deg,
      rgba(var(--accent-rgb),0.00) 235deg,
      rgba(var(--accent-rgb),0.00) 360deg) !important;
    animation: pgLinkSpin 7.2s linear infinite !important;
  }
  #pg-crypto-meta #pg-tx-overlay .pg-wc-asset-link svg,
  #pg-crypto-meta #pg-tx-overlay .pg-wc-asset-link img{
    position: relative !important;
    z-index: 2 !important;
  }
  #pg-crypto-meta #pg-tx-overlay .pg-tx-step-label-main{
    font-weight: 700 !important;
    letter-spacing: 0.055em !important;
    color: rgba(255,255,255,0.90) !important;
  }
  #pg-crypto-meta #pg-tx-overlay .pg-tx-step-label-sub{
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    color: rgba(var(--accent-rgb),0.82) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1088-tx-overlay-spacing-glow-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1092-tx-rewards-4x-apple-burst-css ===== */
/* =========================================================
   STEP 1092 — MOBILE TX REWARDS 4X APPLE-GRADE BURST
   Source baseline: STEP 1089 clean rewards hero moment
   Scope: mobile TX pending/complete rewards value only.
   - Keeps the confirmed reward-total box/outline removal
   - Final-stage only: pg-tx-flow-s4 + is-tx-complete
   - 0.05s micro delay, 4X value burst, slight overshoot, snap-back in 0.75s
   - No Radom, wallet trigger, session, QR, polling, webhook, or payment logic changes
========================================================= */
@media (max-width: 520px){
  /* Remove the brief outline/box artifact around the reward totals only */
  #pg-crypto-meta #pg-tx-overlay .pg-tx-pending-grid,
  #pg-crypto-meta #pg-tx-overlay .pg-tx-pending-values,
  #pg-crypto-meta #pg-tx-overlay #pg-tx-rewards-main,
  #pg-crypto-meta #pg-tx-overlay #pg-tx-rewards-sub,
  #pg-crypto-meta #pg-tx-overlay .pg-tx-rewards-main,
  #pg-crypto-meta #pg-tx-overlay .pg-tx-rewards-sub{
    outline: none !important;
    border: 0 !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  /* Prepare the value layer for the final payoff without adding a visible box */
  #pg-crypto-meta #pg-tx-overlay .pg-tx-pending-grid{
    position: relative !important;
    isolation: isolate !important;
    overflow: visible !important;
  }
  #pg-crypto-meta #pg-tx-overlay .pg-tx-pending-values{
    position: relative !important;
    z-index: 2 !important;
    transform-origin: 50% 50% !important;
    will-change: transform, opacity !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }
  /* Keep the existing aura layer dormant unless the final stage fires */
  #pg-crypto-meta #pg-tx-overlay .pg-tx-pending-grid::before{
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 178px !important;
    height: 72px !important;
    transform: translate(-50%, -50%) scale(0.72) !important;
    border-radius: 999px !important;
    pointer-events: none !important;
    z-index: 1 !important;
    opacity: 0 !important;
    background:
      radial-gradient(closest-side,
        rgba(var(--accent-rgb),0.20) 0%,
        rgba(var(--accent-rgb),0.08) 36%,
        rgba(255,255,255,0.035) 54%,
        rgba(var(--accent-rgb),0.00) 76%) !important;
    filter: blur(12px) !important;
    mix-blend-mode: screen !important;
  }
  /* Triggered only by the existing final complete-flow stage */
  #crypto-gateway-demo-root.pg-tx-flow-s4 #pg-crypto-meta.is-tx-complete #pg-tx-overlay .pg-tx-pending-grid::before{
    animation: pgStep1092RewardAuraMicro 0.75s cubic-bezier(.18,.86,.18,1) 0.05s 1 both !important;
  }
  #crypto-gateway-demo-root.pg-tx-flow-s4 #pg-crypto-meta.is-tx-complete #pg-tx-overlay .pg-tx-pending-values{
    animation: pgStep1092RewardValue4xBurst 0.75s cubic-bezier(.18,.92,.22,1.08) 0.05s 1 both !important;
  }
  #crypto-gateway-demo-root.pg-tx-flow-s4 #pg-crypto-meta.is-tx-complete #pg-tx-overlay #pg-tx-rewards-main,
  #crypto-gateway-demo-root.pg-tx-flow-s4 #pg-crypto-meta.is-tx-complete #pg-tx-overlay .pg-tx-rewards-main{
    animation: pgStep1092RewardTextSettle 0.75s cubic-bezier(.18,.92,.22,1.08) 0.05s 1 both !important;
  }
  #crypto-gateway-demo-root.pg-tx-flow-s4 #pg-crypto-meta.is-tx-complete #pg-tx-overlay #pg-tx-rewards-sub,
  #crypto-gateway-demo-root.pg-tx-flow-s4 #pg-crypto-meta.is-tx-complete #pg-tx-overlay .pg-tx-rewards-sub{
    animation: pgStep1092RewardSubSettle 0.75s cubic-bezier(.18,.92,.22,1.08) 0.05s 1 both !important;
  }
}
@keyframes pgStep1092RewardValue4xBurst{
  0%{
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  10%{
    transform: translateY(0) scale(1.14);
    opacity: 1;
  }
  32%{
    transform: translateY(-1px) scale(4);
    opacity: 1;
  }
  44%{
    transform: translateY(-1px) scale(4.08);
    opacity: 1;
  }
  68%{
    transform: translateY(0) scale(0.94);
    opacity: 1;
  }
  82%{
    transform: translateY(0) scale(1.035);
    opacity: 1;
  }
  100%{
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
@keyframes pgStep1092RewardAuraMicro{
  0%{
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }
  28%{
    opacity: 0.16;
    transform: translate(-50%, -50%) scale(1.05);
  }
  46%{
    opacity: 0.22;
    transform: translate(-50%, -50%) scale(1.34);
  }
  70%{
    opacity: 0.08;
    transform: translate(-50%, -50%) scale(1.02);
  }
  100%{
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.98);
  }
}
@keyframes pgStep1092RewardTextSettle{
  0%{
    letter-spacing: -0.015em;
    text-shadow: 0 14px 28px rgba(0,0,0,0.72);
  }
  44%{
    letter-spacing: -0.008em;
    text-shadow: 0 14px 28px rgba(0,0,0,0.72);
  }
  78%{
    letter-spacing: -0.018em;
    text-shadow: 0 14px 28px rgba(0,0,0,0.72);
  }
  100%{
    letter-spacing: -0.015em;
    text-shadow: 0 14px 28px rgba(0,0,0,0.72);
  }
}
@keyframes pgStep1092RewardSubSettle{
  0%{
    opacity: 0.92;
    transform: translateY(1px);
  }
  44%{
    opacity: 1;
    transform: translateY(0);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== END STYLE BLOCK: pg-step1092-tx-rewards-4x-apple-burst-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1108-mobile-tx-rewards-hero-reveal-css ===== */
@media (max-width: 520px){
  #pg-crypto-meta #pg-tx-overlay #pg-tx-rewards-sub,
  #pg-crypto-meta #pg-tx-overlay .pg-tx-rewards-sub{
    font-size: 20px !important;
    line-height: 1.05 !important;
    font-weight: 620 !important;
    margin-top: 5px !important;
  }
  #pg-crypto-meta #pg-tx-overlay #pg-tx-rewards-main.pg-step1108-reward-hero-reveal,
  #pg-crypto-meta #pg-tx-overlay .pg-tx-rewards-main.pg-step1108-reward-hero-reveal{
    animation: pgStep1108RewardMainHeroReveal 0.88s cubic-bezier(.18,.92,.22,1.08) 1 both !important;
    transform-origin: 50% 50% !important;
    will-change: transform, opacity, filter !important;
  }
  #pg-crypto-meta #pg-tx-overlay #pg-tx-rewards-sub.pg-step1108-reward-hero-reveal,
  #pg-crypto-meta #pg-tx-overlay .pg-tx-rewards-sub.pg-step1108-reward-hero-reveal{
    animation: pgStep1108RewardUsdHeroReveal 0.88s cubic-bezier(.18,.92,.22,1.08) 0.055s 1 both !important;
    transform-origin: 50% 50% !important;
    will-change: transform, opacity, filter !important;
  }
}
@keyframes pgStep1108RewardMainHeroReveal{
  0%{
    opacity: 0;
    transform: translateY(7px) scale(0.82);
    filter: blur(2px);
    text-shadow: 0 14px 28px rgba(0,0,0,0.72);
  }
  38%{
    opacity: 1;
    transform: translateY(-1px) scale(1.18);
    filter: blur(0);
    text-shadow:
      0 0 18px rgba(var(--accent-rgb),0.42),
      0 0 34px rgba(var(--accent-rgb),0.18),
      0 14px 28px rgba(0,0,0,0.72);
  }
  66%{
    opacity: 1;
    transform: translateY(0) scale(0.975);
    filter: blur(0);
  }
  82%{
    transform: translateY(0) scale(1.035);
  }
  100%{
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    text-shadow: 0 14px 28px rgba(0,0,0,0.72);
  }
}
@keyframes pgStep1108RewardUsdHeroReveal{
  0%{
    opacity: 0;
    transform: translateY(6px) scale(0.84);
    filter: blur(1.6px);
    text-shadow: 0 12px 24px rgba(0,0,0,0.66);
  }
  42%{
    opacity: 1;
    transform: translateY(-1px) scale(1.14);
    filter: blur(0);
    text-shadow:
      0 0 14px rgba(255,255,255,0.22),
      0 0 24px rgba(var(--accent-rgb),0.18),
      0 12px 24px rgba(0,0,0,0.66);
  }
  68%{
    opacity: 1;
    transform: translateY(0) scale(0.985);
    filter: blur(0);
  }
  84%{
    transform: translateY(0) scale(1.025);
  }
  100%{
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    text-shadow: 0 12px 24px rgba(0,0,0,0.66);
  }
}
/* ===== END STYLE BLOCK: pg-step1108-mobile-tx-rewards-hero-reveal-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1109-mobile-tx-final-layout-rewards-visibility-css ===== */
@media (max-width: 520px){
  /* Move the entire mobile TX overlay content up 15px on iPhone-sized views */
  #pg-crypto-meta #pg-tx-overlay .pg-tx-inner{
    top: -15px !important;
  }
  /* Pending/processing phase: keep reward numbers hidden until the complete screen */
  #pg-crypto-meta.is-tx-pending #pg-tx-overlay .pg-tx-pending-values,
  #pg-crypto-meta.is-tx-pending #pg-tx-overlay #pg-tx-rewards-main,
  #pg-crypto-meta.is-tx-pending #pg-tx-overlay #pg-tx-rewards-sub,
  #pg-crypto-meta.is-tx-pending #pg-tx-overlay #pg-tx-reward-token,
  #pg-crypto-meta.is-tx-pending #pg-tx-overlay #pg-tx-reward-usd{
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  /* Complete phase: rewards are visible and keep the polished reveal behavior */
  #pg-crypto-meta.is-tx-complete #pg-tx-overlay .pg-tx-pending-values,
  #pg-crypto-meta.is-tx-complete #pg-tx-overlay #pg-tx-rewards-main,
  #pg-crypto-meta.is-tx-complete #pg-tx-overlay #pg-tx-rewards-sub,
  #pg-crypto-meta.is-tx-complete #pg-tx-overlay #pg-tx-reward-token,
  #pg-crypto-meta.is-tx-complete #pg-tx-overlay #pg-tx-reward-usd{
    visibility: visible !important;
    pointer-events: auto !important;
  }
  /* Final requested USD reward value size */
  #pg-crypto-meta #pg-tx-overlay #pg-tx-rewards-sub,
  #pg-crypto-meta #pg-tx-overlay .pg-tx-rewards-sub,
  #pg-crypto-meta #pg-tx-overlay #pg-tx-reward-usd{
    font-size: 18px !important;
    line-height: 1.05 !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1109-mobile-tx-final-layout-rewards-visibility-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1113-mobile-close-order-button-css ===== */
@media (max-width: 640px){
  #crypto-gateway-demo-root.pg-mobile-close-order-ready #pg-hybredpayment-hero-row{
    display:block !important;
    pointer-events:auto !important;
    z-index:2147481200 !important;
  }
  #crypto-gateway-demo-root.pg-mobile-close-order-ready #pg-hybredpayment-hero{
    height:76px !important;
    border-radius:18px !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
    justify-content:stretch !important;
    cursor:pointer !important;
    -webkit-tap-highlight-color:transparent !important;
    touch-action:manipulation !important;
    background:
      radial-gradient(125% 165% at 18% 0%, rgba(255,255,255,0.105), rgba(255,255,255,0.02) 45%, rgba(0,0,0,0) 72%),
      radial-gradient(115% 175% at 50% 100%, rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.18), rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.04) 44%, rgba(0,0,0,0) 72%),
      linear-gradient(180deg, rgba(21,31,39,0.96), rgba(5,8,12,0.98)) !important;
    border:1px solid rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.74) !important;
    box-shadow:
      0 16px 34px rgba(0,0,0,0.66),
      0 0 0 1px rgba(255,255,255,0.08) inset,
      0 0 24px rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.20),
      0 0 44px rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.10) !important;
  }
  #crypto-gateway-demo-root.pg-mobile-close-order-ready #pg-hybredpayment-hero::before{
    content:"" !important;
    position:absolute !important;
    inset:1px !important;
    border-radius:17px !important;
    pointer-events:none !important;
    background:
      linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.28) 18%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.28) 82%, rgba(255,255,255,0) 100%) 0 0/100% 1px no-repeat,
      linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.62) 16%, rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.22) 50%, rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.62) 84%, rgba(255,255,255,0) 100%) 0 100%/100% 1px no-repeat;
    opacity:.92 !important;
  }
  #crypto-gateway-demo-root.pg-mobile-close-order-ready #pg-hybredpayment-hero::after{
    content:"" !important;
    position:absolute !important;
    inset:-42% -35% !important;
    pointer-events:none !important;
    background:linear-gradient(105deg, rgba(255,255,255,0) 42%, rgba(255,255,255,0.13) 50%, rgba(255,255,255,0) 58%) !important;
    transform:translateX(-42%) rotate(0.001deg) !important;
    animation:pgCloseOrderSheen 4.8s ease-in-out infinite !important;
    mix-blend-mode:screen !important;
    opacity:.34 !important;
  }
  @keyframes pgCloseOrderSheen{
    0%{ transform:translateX(-46%) rotate(0.001deg); opacity:.10; }
    45%{ opacity:.34; }
    100%{ transform:translateX(46%) rotate(0.001deg); opacity:.10; }
  }
  #pg-hybredpayment-hero .pg-close-order-btn{
    appearance:none !important;
    border:0 !important;
    background:transparent !important;
    width:100% !important;
    height:100% !important;
    padding:0 18px !important;
    margin:0 !important;
    display:grid !important;
    grid-template-columns:58px minmax(0,1fr) 68px !important;
    align-items:center !important;
    justify-items:center !important;
    gap:8px !important;
    color:rgba(255,255,255,0.96) !important;
    position:relative !important;
    z-index:3 !important;
    cursor:pointer !important;
    -webkit-tap-highlight-color:transparent !important;
    touch-action:manipulation !important;
  }
  #pg-hybredpayment-hero .pg-close-order-check{
    width:30px !important;
    height:30px !important;
    border-radius:999px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border:1.6px solid rgba(255,255,255,0.90) !important;
    background:radial-gradient(circle at 45% 35%, rgba(255,255,255,0.12), rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.10) 52%, rgba(0,0,0,0.04) 100%) !important;
    box-shadow:
      0 0 0 1px rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.22),
      0 0 18px rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.24),
      inset 0 1px 0 rgba(255,255,255,0.10) !important;
  }
  #pg-hybredpayment-hero .pg-close-order-check svg{
    width:18px !important;
    height:18px !important;
    stroke:rgba(255,255,255,0.96) !important;
    stroke-width:3.2 !important;
    filter:drop-shadow(0 0 8px rgba(255,255,255,0.16)) !important;
  }
  #pg-hybredpayment-hero .pg-close-order-copy{
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    transform:translateY(1px) !important;
  }
  #pg-hybredpayment-hero .pg-close-order-title{
    font-size:20px !important;
    line-height:1 !important;
    font-weight:800 !important;
    letter-spacing:.13em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
    color:rgba(255,255,255,0.98) !important;
    text-shadow:0 1px 0 rgba(0,0,0,0.70), 0 0 12px rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.10) !important;
  }
  #pg-hybredpayment-hero .pg-close-order-sub{
    margin-top:8px !important;
    font-size:14px !important;
    line-height:1 !important;
    font-weight:650 !important;
    letter-spacing:.01em !important;
    color:rgba(255,255,255,0.64) !important;
    white-space:nowrap !important;
  }
  #pg-hybredpayment-hero .pg-close-order-sub strong{
    color:rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.96) !important;
    font-weight:800 !important;
    text-shadow:0 0 12px rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.22) !important;
  }
  #pg-hybredpayment-hero .pg-close-order-timer{
    width:54px !important;
    height:54px !important;
    border-radius:999px !important;
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }
  #pg-hybredpayment-hero .pg-close-order-timer svg{
    position:absolute !important;
    inset:0 !important;
    width:54px !important;
    height:54px !important;
    transform:rotate(-90deg) !important;
    overflow:visible !important;
  }
  #pg-hybredpayment-hero .pg-close-order-timer .pg-co-track{
    fill:none !important;
    stroke:rgba(255,255,255,0.11) !important;
    stroke-width:4.5 !important;
  }
  #pg-hybredpayment-hero .pg-close-order-timer .pg-co-progress{
    fill:none !important;
    stroke:rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.96) !important;
    stroke-width:4.5 !important;
    stroke-linecap:round !important;
    filter:drop-shadow(0 0 8px rgba(var(--pg-hph-rgb, var(--accent-rgb,0,255,213)),0.30)) !important;
    transition:stroke-dashoffset 340ms linear !important;
  }
  #pg-hybredpayment-hero .pg-close-order-count{
    position:relative !important;
    z-index:2 !important;
    font-size:20px !important;
    line-height:1 !important;
    font-weight:800 !important;
    letter-spacing:.02em !important;
    color:rgba(255,255,255,0.95) !important;
    text-shadow:0 1px 0 rgba(0,0,0,0.70) !important;
  }
  #crypto-gateway-demo-root.pg-mobile-close-order-ready #pg-hybredpayment-hero .pg-close-order-btn{
    animation:pgCloseOrderFadeIn 520ms cubic-bezier(.18,.88,.24,1) both !important;
  }
  @keyframes pgCloseOrderFadeIn{
    0%{ opacity:0; transform:translateY(8px) scale(.985); filter:blur(.4px); }
    62%{ opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
    100%{ opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
  }
  #crypto-gateway-demo-root.pg-mobile-close-order-ready #pg-hybredpayment-hero:active{
    transform:scale(.992) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1113-mobile-close-order-button-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1123-order-review-overlay-css ===== */
.pg-order-review-overlay{display:none;}
  @media (max-width:520px){
    html.pg-or-lock,
    body.pg-or-lock{overflow:hidden!important;}
    /* Mobile only: disable the old down-drawer view. Data remains in DOM for sync/reuse. */
    #pg-order-summary.pg-os-open .pg-os-drawer,
    #pg-order-summary .pg-os-drawer{
      max-height:0!important;
      opacity:0!important;
      transform:translateY(-6px)!important;
      pointer-events:none!important;
      visibility:hidden!important;
      overflow:hidden!important;
    }
    #pg-order-summary.pg-or-has-items .pg-os-merchant::after{content:attr(data-pg-order-label)!important;display:block!important;}
    #pg-order-summary.pg-or-has-items .pg-os-merchant:not([data-pg-order-label])::after{content:"3 items • Review  ›"!important;display:block!important;}
    #pg-order-summary.pg-or-no-items .pg-os-merchant::after{content:""!important;display:none!important;}
    #pg-order-summary.pg-or-no-items .pg-os-merchant,
    #pg-order-summary.pg-or-no-items .pg-os-right{cursor:default!important;}
    .pg-order-review-overlay.is-open{display:block!important;}
    .pg-order-review-overlay{
      position:fixed;
      inset:0;
      z-index:10080;
      background:rgba(0,0,0,.15);
      color:rgba(255,255,255,.96);
      font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
    }
    .pg-or-sheet{
      position:absolute;
      left:0;right:0;top:0;bottom:0;
      display:grid;
      grid-template-rows:18px 58px 1fr;
      padding:10px 16px calc(16px + var(--pg-dock-h,78px) + env(safe-area-inset-bottom));
      box-sizing:border-box;
      overflow:hidden;
      border-top-left-radius:22px;
      border-top-right-radius:22px;
      background:
        radial-gradient(1200px 900px at 35% -10%,rgba(var(--accent-rgb,0,255,213),.18),rgba(0,0,0,0) 55%),
        radial-gradient(900px 700px at 90% 15%,rgba(255,255,255,.08),rgba(0,0,0,0) 55%),
        rgba(6,10,12,.94);
      backdrop-filter:blur(18px);
      -webkit-backdrop-filter:blur(18px);
      animation:pgOrIn 200ms cubic-bezier(.22,1,.36,1);
      will-change:transform,opacity;
    }
    @keyframes pgOrIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
    .pg-or-handle{
      width:52px;height:6px;border-radius:999px;
      justify-self:center;align-self:center;
      background:rgba(255,255,255,.25);
      box-shadow:0 0 0 1px rgba(255,255,255,.06) inset,0 8px 22px rgba(0,0,0,.38);
    }
    .pg-or-header{
      display:grid;
      grid-template-columns:1fr 58px;
      align-items:center;
      gap:10px;
    }
    .pg-or-title{
      margin:0;
      font-size:clamp(28px,8vw,32px);
      line-height:1;
      font-weight:850;
      letter-spacing:-.045em;
      color:rgba(255,255,255,.98);
      text-shadow:0 14px 30px rgba(0,0,0,.50);
      padding-left:26px;
    }
    .pg-or-close{
      width:52px;height:52px;
      border-radius:18px;
      border:1px solid rgba(255,255,255,.08);
      background:rgba(8,13,17,.72);
      color:rgba(255,255,255,.94);
      display:flex;align-items:center;justify-content:center;
      padding:0;margin:0;
      cursor:pointer;
      box-shadow:0 16px 30px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.05);
      -webkit-tap-highlight-color:transparent;
    }
    .pg-or-close svg{width:25px;height:25px;display:block;}
    .pg-or-content{
      overflow:auto;
      -webkit-overflow-scrolling:touch;
      padding:20px 8px 18px;
      scrollbar-width:none;
    }
    .pg-or-content::-webkit-scrollbar{display:none;}
    /* Hero: mirrored from Rewards Overview .pg-rd-hero/.pg-rd-token-orb language */
    .pg-or-hero{
      --pg-or-blue:var(--accent-rgb,0,255,213);
      position:relative;
      min-height:138px;
      border-radius:18px;
      padding:26px 18px 22px;
      margin:0 0 52px;
      overflow:visible;
      isolation:isolate;
      border:1px solid rgba(var(--pg-or-blue),.74);
      background:
        radial-gradient(420px 150px at 50% 82%,rgba(var(--pg-or-blue),.27),rgba(0,0,0,0) 70%),
        linear-gradient(180deg,rgba(12,23,36,.92),rgba(4,8,12,.97));
      box-shadow:
        0 18px 36px rgba(0,0,0,.56),
        0 0 0 1px rgba(var(--pg-or-blue),.10),
        0 0 32px rgba(var(--pg-or-blue),.20),
        inset 0 1px 0 rgba(255,255,255,.10);
    }
    .pg-or-hero::before{
      content:"";
      position:absolute;
      left:10px;right:10px;bottom:8px;height:54px;
      border-radius:999px;
      background:
        radial-gradient(90% 80% at 50% 100%,rgba(var(--pg-or-blue),.34),rgba(0,0,0,0) 70%),
        repeating-radial-gradient(ellipse at 50% 100%,rgba(var(--pg-or-blue),.34) 0 1px,transparent 1px 7px);
      opacity:.34;
      pointer-events:none;
      z-index:0;
    }
    .pg-or-hero-grid{
      position:relative;z-index:2;
      display:grid;
      grid-template-columns:minmax(0,1.22fr) minmax(112px,.78fr);
      gap:12px;
      align-items:start;
    }
    .pg-or-hero-k{
      font-size:13px;line-height:1;
      font-weight:720;
      color:rgba(255,255,255,.82);
      margin-bottom:10px;
      letter-spacing:-.01em;
    }
    .pg-or-merchant{
      font-size:clamp(20px,6.1vw,24px);
      line-height:1.03;
      font-weight:850;
      letter-spacing:-.045em;
      color:rgba(255,255,255,.98);
      text-shadow:0 12px 26px rgba(0,0,0,.42);
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .pg-or-items{
      margin-top:10px;
      font-size:17px;
      line-height:1;
      font-weight:760;
      color:rgba(var(--accent-rgb,0,255,213),1);
      text-shadow:0 0 14px rgba(var(--accent-rgb,0,255,213),.22);
    }
    .pg-or-license{
      margin-top:12px;
      font-size:13px;
      line-height:1.2;
      font-weight:590;
      color:rgba(255,255,255,.58);
      letter-spacing:.01em;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .pg-or-license:empty{display:none;}
    .pg-or-hero-side.pg-right{text-align:right;}
    .pg-or-total-label{
      font-size:13px;
      line-height:1;
      font-weight:720;
      color:rgba(255,255,255,.74);
      margin-bottom:15px;
    }
    .pg-or-total{
      font-size:clamp(34px,10.5vw,40px);
      line-height:.92;
      font-weight:850;
      letter-spacing:-.055em;
      color:rgba(255,255,255,.98);
      text-shadow:0 12px 26px rgba(0,0,0,.42);
      white-space:nowrap;
    }
    .pg-or-status{
      margin-top:14px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      min-height:32px;
      padding:0 12px;
      border-radius:10px;
      background:rgba(var(--accent-rgb,0,255,213),.16);
      color:rgba(var(--accent-rgb,0,255,213),.96);
      font-size:13px;
      line-height:1;
      font-weight:760;
      white-space:nowrap;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 16px rgba(var(--accent-rgb,0,255,213),.12);
    }
    .pg-or-status i{
      width:9px;height:9px;border-radius:999px;
      display:block;
      background:rgba(var(--accent-rgb,0,255,213),1);
      box-shadow:0 0 12px rgba(var(--accent-rgb,0,255,213),.52);
    }
    .pg-or-token-orb{
      position:absolute;
      left:50%;bottom:-34px;
      transform:translateX(-50%);
      z-index:4;
      width:74px;height:74px;
      border-radius:999px;
      display:flex;align-items:center;justify-content:center;
      background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.07),rgba(0,0,0,.82) 46%,rgba(0,0,0,.96) 100%);
      border:1px solid rgba(var(--accent-rgb,0,255,213),.82);
      box-shadow:
        0 0 0 1px rgba(255,255,255,.08) inset,
        0 0 24px rgba(var(--accent-rgb,0,255,213),.46),
        0 16px 30px rgba(0,0,0,.60);
      overflow:hidden;
    }
    .pg-or-token-orb::before{
      content:"";position:absolute;inset:-10px;border-radius:inherit;
      background:radial-gradient(circle at 50% 50%,rgba(var(--accent-rgb,0,255,213),.18),rgba(0,0,0,0) 62%);
      filter:blur(4px);opacity:.8;pointer-events:none;
    }
    .pg-or-token-orb img{
      position:relative;z-index:2;
      width:58px;height:58px;
      display:block;
      border-radius:999px;
      object-fit:cover;
      filter:drop-shadow(0 0 14px rgba(var(--accent-rgb,0,255,213),.22));
    }
    .pg-or-details-card{
      border-radius:18px;
      padding:28px 22px 24px;
      margin:0 0 24px;
      margin-top:-36px !important;
      background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
      border:1px solid rgba(255,255,255,.12);
      box-shadow:0 18px 42px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.055);
    }
    .pg-or-details-title{
      font-size:18px;
      line-height:1;
      font-weight:830;
      letter-spacing:-.035em;
      color:rgba(255,255,255,.96);
      margin:0 0 30px;
      text-shadow:0 10px 24px rgba(0,0,0,.44);
    }
    .pg-or-lines{display:flex;flex-direction:column;gap:0;}
    .pg-or-line{
      display:flex;
      align-items:baseline;
      justify-content:space-between;
      gap:14px;
      padding:0 0 27px;
      color:rgba(255,255,255,.96);
      font-size:clamp(16px,5.5vw,16px);
      line-height:1.12;
      font-weight:810;
      letter-spacing:-.035em;
    }
    .pg-or-line span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
    .pg-or-line span:last-child{flex:0 0 auto;text-align:right;white-space:nowrap;}
    .pg-or-line.pg-muted{
      padding-bottom:22px;
      font-size:clamp(16px,5vw,16px);
      font-weight:430;
      letter-spacing:-.04em;
      color:rgba(255,255,255,.74);
    }
    .pg-or-line.pg-grand{
      padding:0;
      font-size:clamp(18px,6vw,18px);
      font-weight:850;
      color:rgba(255,255,255,.98);
    }
    .pg-or-sep{
      height:1px;
      background:rgba(255,255,255,.14);
      margin:0 0 24px;
      box-shadow:0 1px 0 rgba(0,0,0,.35);
    }
    .pg-or-note{
      display:flex;
      align-items:center;
      gap:18px;
      min-height:82px;
      border-radius:16px;
      padding:17px 18px;
      border:1px solid rgba(var(--accent-rgb,0,255,213),.42);
      background:linear-gradient(180deg,rgba(var(--accent-rgb,0,255,213),.12),rgba(var(--accent-rgb,0,255,213),.045));
      box-shadow:0 16px 34px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.055);
      color:rgba(255,255,255,.86);
      font-size:clamp(13px,5vw,13px);
      line-height:1.35;
      font-weight:430;
      letter-spacing:-.035em;
    }
    .pg-or-note svg{
      flex:0 0 35px;width:35px;height:35px;
      color:rgba(var(--accent-rgb,0,255,213),1);
      filter:drop-shadow(0 0 16px rgba(var(--accent-rgb,0,255,213),.24));
    }
  }
/* ===== END STYLE BLOCK: pg-step1123-order-review-overlay-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1124-order-review-rewards-style-sync-css ===== */
@media (max-width:520px){
    .pg-order-review-overlay{
      left:0!important;
      right:0!important;
      width:100vw!important;
      max-width:100vw!important;
      overflow:hidden!important;
      overscroll-behavior-x:none!important;
      background:rgba(0,0,0,.15)!important;
    }
    .pg-order-review-overlay .pg-or-sheet{
      left:0!important;
      right:0!important;
      top:0!important;
      bottom:0!important;
      margin-left:auto!important;
      margin-right:auto!important;
      transform:none!important;
      max-width:100vw!important;
      overflow:hidden!important;
      display:grid!important;
      grid-template-rows:18px 58px 1fr!important;
      padding:10px 16px calc(16px + var(--pg-dock-h,78px) + env(safe-area-inset-bottom))!important;
      box-sizing:border-box!important;
      border-top-left-radius:22px!important;
      border-top-right-radius:22px!important;
      background:
        radial-gradient(720px 420px at 50% -12%,rgba(var(--accent-rgb,0,255,213),.20),rgba(0,0,0,0) 60%),
        radial-gradient(540px 360px at 100% 8%,rgba(var(--accent-rgb,0,255,213),.10),rgba(0,0,0,0) 66%),
        linear-gradient(180deg,rgba(5,9,12,.96) 0%,rgba(2,6,8,.98) 100%)!important;
      backdrop-filter:blur(18px)!important;
      -webkit-backdrop-filter:blur(18px)!important;
      animation:pgMoIn 200ms cubic-bezier(.22,1,.36,1)!important;
      will-change:transform,opacity!important;
    }
    .pg-order-review-overlay .pg-or-handle{
      width:40px!important;
      height:4px!important;
      border-radius:999px!important;
      background:rgba(255,255,255,.22)!important;
      justify-self:center!important;
      align-self:center!important;
      box-shadow:none!important;
    }
    .pg-order-review-overlay .pg-or-header{
      display:grid!important;
      grid-template-columns:44px 1fr 44px!important;
      align-items:center!important;
      gap:10px!important;
      color:rgba(255,255,255,.92)!important;
    }
    .pg-order-review-overlay .pg-or-title{
      grid-column:2!important;
      grid-row:1!important;
      margin:0!important;
      padding:0!important;
      font-size:20px!important;
      line-height:1.1!important;
      font-weight:800!important;
      letter-spacing:.2px!important;
      color:rgba(255,255,255,.92)!important;
      white-space:nowrap!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
      text-shadow:none!important;
    }
    .pg-order-review-overlay .pg-or-close{
      grid-column:3!important;
      grid-row:1!important;
      justify-self:end!important;
      width:44px!important;
      height:44px!important;
      border-radius:14px!important;
      border:1px solid rgba(255,255,255,.08)!important;
      background:rgba(0,0,0,.22)!important;
      color:rgba(255,255,255,.92)!important;
      display:flex!important;
      align-items:center!important;
      justify-content:center!important;
      padding:0!important;
      margin:0!important;
      cursor:pointer!important;
      box-shadow:none!important;
      -webkit-tap-highlight-color:transparent!important;
    }
    .pg-order-review-overlay .pg-or-close svg{
      width:22px!important;
      height:22px!important;
      display:block!important;
      stroke-width:2.2!important;
    }
    .pg-order-review-overlay .pg-or-content{
      padding-top:6px!important;
      padding-left:0!important;
      padding-right:0!important;
      overflow-y:auto!important;
      overflow-x:hidden!important;
      -webkit-overflow-scrolling:touch!important;
      overscroll-behavior-x:none!important;
      scrollbar-width:none!important;
    }
    .pg-order-review-overlay .pg-or-content::-webkit-scrollbar{display:none!important;}
    /* Rewards Overview hero clone: match .pg-rd-hero / .pg-rd-token-orb dimensions and visual language */
    .pg-order-review-overlay .pg-or-hero{
      --pg-or-blue:var(--accent-rgb,0,255,213)!important;
      position:relative!important;
      min-height:138px!important;
      border-radius:18px!important;
      padding:20px 18px 18px!important;
      margin:0 0 52px!important;
      overflow:visible!important;
      isolation:isolate!important;
      border:1px solid rgba(var(--pg-or-blue),.74)!important;
      background:
        radial-gradient(420px 150px at 50% 82%,rgba(var(--pg-or-blue),.27),rgba(0,0,0,0) 70%),
        linear-gradient(180deg,rgba(12,23,36,.92),rgba(4,8,12,.97))!important;
      box-shadow:
        0 18px 36px rgba(0,0,0,.56),
        0 0 0 1px rgba(var(--pg-or-blue),.10),
        0 0 32px rgba(var(--pg-or-blue),.20),
        inset 0 1px 0 rgba(255,255,255,.10)!important;
    }
    .pg-order-review-overlay .pg-or-hero::before{
      content:""!important;
      position:absolute!important;
      left:10px!important;
      right:10px!important;
      bottom:8px!important;
      height:54px!important;
      border-radius:999px!important;
      background:
        radial-gradient(90% 80% at 50% 100%,rgba(var(--pg-or-blue),.34),rgba(0,0,0,0) 70%),
        repeating-radial-gradient(ellipse at 50% 100%,rgba(var(--pg-or-blue),.34) 0 1px,transparent 1px 7px)!important;
      opacity:.34!important;
      pointer-events:none!important;
      z-index:0!important;
    }
    .pg-order-review-overlay .pg-or-hero-grid{
      position:relative!important;
      z-index:2!important;
      display:grid!important;
      grid-template-columns:1fr 1fr!important;
      gap:12px!important;
      align-items:start!important;
    }
    .pg-order-review-overlay .pg-or-merchant{
      font-size:clamp(18px,5.2vw,18px)!important;
      line-height:1!important;
      font-weight:760!important;
      letter-spacing:-.025em!important;
      color:rgba(255,255,255,.96)!important;
      text-shadow:0 12px 26px rgba(0,0,0,.42)!important;
      white-space:nowrap!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
    }
    .pg-order-review-overlay .pg-or-items{
      margin-top:11px!important;
      font-size:16px!important;
      line-height:.92!important;
      font-weight:750!important;
      letter-spacing:-.045em!important;
      color:rgba(var(--accent-rgb,0,255,213),1)!important;
      text-shadow:0 12px 26px rgba(0,0,0,.42)!important;
    }
    .pg-order-review-overlay .pg-or-license{
      margin-top:10px!important;
      display:flex!important;
      flex-direction:column!important;
      align-items:flex-start!important;
      gap:2px!important;
      font-size:12px!important;
      line-height:1.05!important;
      font-weight:580!important;
      color:rgba(255,255,255,.58)!important;
      letter-spacing:.02em!important;
      white-space:normal!important;
      overflow:visible!important;
      text-overflow:clip!important;
    }
    .pg-order-review-overlay .pg-or-license span{
      display:block!important;
      max-width:100%!important;
      white-space:nowrap!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
    }
    .pg-order-review-overlay .pg-or-total-label{
      font-size:16px!important;
      line-height:1!important;
      font-weight:650!important;
      color:rgba(255,255,255,.82)!important;
      margin-bottom:11px!important;
      letter-spacing:-.01em!important;
    }
    .pg-order-review-overlay .pg-or-total{
      font-size:18px!important;
      line-height:.92!important;
      font-weight:830!important;
      letter-spacing:-.045em!important;
      color:rgba(255,255,255,.98)!important;
      text-shadow:0 12px 26px rgba(0,0,0,.42)!important;
      white-space:nowrap!important;
      overflow:visible!important;
    }
    .pg-order-review-overlay .pg-or-status{
     margin-top:10px !important;
    position:relative !important;
    z-index:50 !important;
    transform:translate(-30px, 20px) !important;
    min-height:27px !important;
    padding:0 10px !important;
    border-radius:10px !important;
    gap:7px !important;
    background:rgba(var(--accent-rgb,0,255,213),.14) !important;
    color:rgba(var(--accent-rgb,0,255,213),.96) !important;
    font-size:9px !important;
    line-height:1 !important;
    font-weight:760 !important;
    white-space:nowrap !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 16px rgba(var(--accent-rgb,0,255,213),.12) !important;
    }
    .pg-order-review-overlay .pg-or-status i{
      width:9px!important;
      height:9px!important;
      border-radius:999px!important;
      background:rgba(var(--accent-rgb,0,255,213),1)!important;
      box-shadow:0 0 12px rgba(var(--accent-rgb,0,255,213),.52)!important;
    }
    .pg-order-review-overlay .pg-or-token-orb{
      position:absolute!important;
      left:50%!important;
      bottom:-29px!important;
      width:78px!important;
      height:78px!important;
      border-radius:999px!important;
      transform:translateX(-50%)!important;
      display:flex!important;
      align-items:center!important;
      justify-content:center!important;
      background:
        radial-gradient(circle at 35% 25%,rgba(255,255,255,.18),rgba(255,255,255,0) 42%),
        linear-gradient(180deg,rgba(7,16,26,.96),rgba(3,7,11,.99))!important;
      border:1px solid rgba(var(--pg-or-blue),.88)!important;
      box-shadow:
        0 0 0 1px rgba(255,255,255,.08) inset,
        0 0 24px rgba(var(--pg-or-blue),.42),
        0 14px 34px rgba(0,0,0,.58)!important;
      z-index:4!important;
      overflow:hidden!important;
    }
    .pg-order-review-overlay .pg-or-token-orb::before{display:none!important;}
    .pg-order-review-overlay .pg-or-token-orb img{
      width:52px!important;
      height:52px!important;
      object-fit:contain!important;
      border-radius:999px!important;
      filter:drop-shadow(0 0 14px rgba(var(--pg-or-blue),.38))!important;
    }
  }
/* ===== END STYLE BLOCK: pg-step1124-order-review-rewards-style-sync-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1125-order-review-android-hero-grid-fix-css ===== */
@media (max-width: 520px){
    .pg-order-review-overlay .pg-or-hero{
      overflow:visible!important;
      isolation:auto!important;
    }
    .pg-order-review-overlay .pg-or-hero::before{
      z-index:0!important;
      pointer-events:none!important;
    }
    .pg-order-review-overlay .pg-or-hero-grid{
      position:relative!important;
      z-index:10!important;
      display:grid!important;
      grid-template-columns:minmax(0,1fr) 118px!important;
      column-gap:10px!important;
      align-items:start!important;
      width:100%!important;
      max-width:100%!important;
      min-width:0!important;
      overflow:visible!important;
      box-sizing:border-box!important;
    }
    .pg-order-review-overlay .pg-or-hero-side{
      position:relative!important;
      z-index:11!important;
      min-width:0!important;
      max-width:100%!important;
      overflow:visible!important;
      box-sizing:border-box!important;
    }
    .pg-order-review-overlay .pg-or-hero-side.pg-right{
      width:118px!important;
      min-width:118px!important;
      max-width:118px!important;
      justify-self:end!important;
      align-self:start!important;
      text-align:right!important;
      overflow:visible!important;
      box-sizing:border-box!important;
    }
    .pg-order-review-overlay .pg-or-total-label,
    .pg-order-review-overlay .pg-or-total,
    .pg-order-review-overlay .pg-or-status{
      max-width:100%!important;
      white-space:nowrap!important;
      box-sizing:border-box!important;
    }
    .pg-order-review-overlay .pg-or-total{
      font-size:20px!important;
      line-height:.92!important;
      overflow:hidden!important;
      text-overflow:clip!important;
      text-align:right!important;
    }
    .pg-order-review-overlay .pg-or-status{
      position:relative!important;
      z-index:999!important;
      display:inline-flex!important;
      justify-content:center!important;
      overflow:visible!important;
      text-overflow:clip!important;
      padding-left:10px!important;
      padding-right:10px!important;
      transform:translate(0px,20px)!important;
    }
    .pg-order-review-overlay .pg-or-token-orb{
      z-index:20!important;
    }
  }
/* ===== END STYLE BLOCK: pg-step1125-order-review-android-hero-grid-fix-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1130-post-order-review-css ===== */
@media (max-width:520px){
    .pg-order-review-overlay.pg-or-post .pg-or-sheet{
      grid-template-rows:18px 58px 1fr!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-title{
      text-align:center!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-content{
      padding-top:6px!important;
      padding-bottom:18px!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-hero{
      min-height:174px!important;
      margin-bottom:42px!important;
      padding:18px 18px 16px!important;
      background:
        radial-gradient(440px 160px at 50% 84%,rgba(var(--accent-rgb,0,255,213),.25),rgba(0,0,0,0) 72%),
        linear-gradient(180deg,rgba(12,23,36,.93),rgba(4,8,12,.985))!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-hero-grid{
      grid-template-columns:64px minmax(0,1fr) 112px!important;
      column-gap:13px!important;
      align-items:start!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-post-avatar{
      width:54px;height:54px;border-radius:999px;
      display:flex;align-items:center;justify-content:center;
      align-self:start;justify-self:start;
      border:1px solid rgba(var(--accent-rgb,0,255,213),.86);
      background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.16),rgba(0,0,0,.78) 56%,rgba(0,0,0,.94));
      box-shadow:0 0 24px rgba(var(--accent-rgb,0,255,213),.34),inset 0 1px 0 rgba(255,255,255,.10);
      overflow:hidden;
      color:rgba(255,255,255,.95);
      font-size:19px;font-weight:820;letter-spacing:-.04em;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-post-avatar img{
      width:44px;height:44px;object-fit:contain;border-radius:999px;display:block;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-merchant{
      font-size:18px!important;line-height:1.05!important;margin-top:2px!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-address,
    .pg-order-review-overlay.pg-or-post .pg-or-post-license{
      margin-top:6px;
      font-size:12px;line-height:1.22;font-weight:520;
      color:rgba(255,255,255,.62);
      white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-post-license{
      margin-top:4px;display:block;white-space:nowrap;text-overflow:ellipsis;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-post-date{
      margin-top:8px;font-size:12px;line-height:1.2;color:rgba(255,255,255,.70);font-weight:620;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-hero-side.pg-right{
      width:112px!important;min-width:112px!important;max-width:112px!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-status{
      transform:none!important;
      margin-top:0!important;
      min-height:24px!important;
      padding:0 9px!important;
      font-size:12px!important;
      color:#00ff61!important;
      background:rgba(0,255,97,.11)!important;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 16px rgba(0,255,97,.12)!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-status i{
      width:8px!important;height:8px!important;background:#00ff61!important;box-shadow:0 0 12px rgba(0,255,97,.48)!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-total-label{
      margin-top:16px!important;margin-bottom:8px!important;font-size:12px!important;color:rgba(255,255,255,.62)!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-total{
      font-size:22px!important;line-height:1!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-paid-mini{
      margin-top:5px;font-size:11px;line-height:1.1;font-weight:650;color:rgba(255,255,255,.68);white-space:nowrap;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-id-row{
      position:absolute;left:18px;right:18px;bottom:14px;z-index:3;
      display:grid;grid-template-columns:1fr 1fr;gap:16px;
      padding-top:12px;border-top:1px solid rgba(255,255,255,.10);
    }
    .pg-order-review-overlay.pg-or-post .pg-or-mini-k{
      font-size:11px;line-height:1;font-weight:650;color:rgba(255,255,255,.54);margin-bottom:6px;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-mini-v{
      font-size:14px;line-height:1;font-weight:820;color:rgba(255,255,255,.95);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-id-row .pg-right{text-align:right;}
    .pg-order-review-overlay.pg-or-post .pg-or-token-orb{
      bottom:-36px!important;width:72px!important;height:72px!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-token-orb img{
      width:50px!important;height:50px!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-details-card{
      margin-top:-26px!important;
      margin-bottom:13px!important;
      padding:20px 18px 18px!important;
      border-radius:17px!important;
      background:linear-gradient(180deg,rgba(255,255,255,.052),rgba(255,255,255,.024))!important;
      border:1px solid rgba(255,255,255,.105)!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-details-title{
      font-size:16px!important;margin:0 0 17px!important;letter-spacing:-.025em!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-line{
      padding:0 0 15px!important;
      font-size:14px!important;
      line-height:1.12!important;
      font-weight:780!important;
      letter-spacing:-.025em!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-line.pg-muted{
      padding-bottom:12px!important;
      font-size:13px!important;
      font-weight:430!important;
      color:rgba(255,255,255,.67)!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-line.pg-grand{
      padding:0!important;font-size:17px!important;font-weight:850!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-line.pg-total-paid-row{
      padding-top:8px!important;padding-bottom:0!important;
      font-size:13px!important;font-weight:620!important;color:rgba(255,255,255,.70)!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-sep{
      margin:0 0 13px!important;background:rgba(255,255,255,.12)!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-product-row{
      display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:11px!important;align-items:center!important;
      padding:0 0 14px!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-product-img{
      display:none!important;
      width:0!important;height:0!important;min-width:0!important;min-height:0!important;
      margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;
      opacity:0!important;visibility:hidden!important;pointer-events:none!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-product-img img{display:none!important;}
    .pg-order-review-overlay.pg-or-post .pg-or-product-name{
      font-size:14px;line-height:1.15;font-weight:800;color:rgba(255,255,255,.95);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-product-sub{
      margin-top:5px;font-size:12px;line-height:1;color:rgba(255,255,255,.58);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-product-price{
      font-size:14px;font-weight:820;color:rgba(255,255,255,.95);white-space:nowrap;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-section-card{
      margin:0 0 13px!important;
      border-radius:17px;
      padding:16px 18px;
      background:linear-gradient(180deg,rgba(255,255,255,.050),rgba(255,255,255,.022));
      border:1px solid rgba(255,255,255,.105);
      box-shadow:0 14px 34px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.045);
    }
    .pg-order-review-overlay.pg-or-post .pg-or-info-rows{display:flex;flex-direction:column;gap:12px;}
    .pg-order-review-overlay.pg-or-post .pg-or-info-row{
      display:flex;align-items:center;justify-content:space-between;gap:12px;
      font-size:13px;line-height:1.15;color:rgba(255,255,255,.70);
    }
    .pg-order-review-overlay.pg-or-post .pg-or-info-row b{
      font-size:13px;font-weight:760;color:rgba(255,255,255,.94);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:62%;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-asset-chip{
      display:inline-flex;align-items:center;gap:8px;justify-content:flex-end;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-asset-chip img{width:22px;height:22px;border-radius:999px;object-fit:contain;}
    .pg-order-review-overlay.pg-or-post .pg-or-chain-row{
      display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:center;
      min-height:52px;padding:0 0 13px;margin-bottom:13px;border-bottom:1px solid rgba(255,255,255,.10);
    }
    .pg-order-review-overlay.pg-or-post .pg-or-chain-row:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0;}
    .pg-order-review-overlay.pg-or-post .pg-or-chain-icon{
      width:40px;height:40px;border-radius:999px;display:flex;align-items:center;justify-content:center;
      background:rgba(var(--accent-rgb,0,255,213),.08);border:1px solid rgba(var(--accent-rgb,0,255,213),.26);
      box-shadow:0 0 18px rgba(var(--accent-rgb,0,255,213),.16);overflow:hidden;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-chain-icon img{width:28px;height:28px;object-fit:contain;border-radius:999px;}
    .pg-order-review-overlay.pg-or-post .pg-or-chain-title,
    .pg-order-review-overlay.pg-or-post .pg-or-chain-sub{display:none!important;}
    .pg-order-review-overlay.pg-or-post .pg-or-chain-btn{
      width:100%;height:38px;min-width:0;padding:0 12px;border-radius:11px;border:1px solid rgba(var(--accent-rgb,0,255,213),.38);
      background:rgba(var(--accent-rgb,0,255,213),.08);color:rgba(255,255,255,.90);
      font-size:11px;font-weight:760;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;text-align:center;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 0 15px rgba(var(--accent-rgb,0,255,213),.10);
    }
    .pg-order-review-overlay.pg-or-post .pg-or-rewards-summary{
      display:grid;grid-template-columns:64px 1fr;gap:14px;align-items:center;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-reward-svg{
      width:58px;height:58px;display:block;
      background:rgb(var(--accent-rgb,0,255,213));
      -webkit-mask:url("https://irp.cdn-website.com/630a36f4/dms3rep/multi/rewards-return.svg") center/contain no-repeat;
      mask:url("https://irp.cdn-website.com/630a36f4/dms3rep/multi/rewards-return.svg") center/contain no-repeat;
      filter:drop-shadow(0 0 16px rgba(var(--accent-rgb,0,255,213),.26));
    }
    .pg-order-review-overlay.pg-or-post .pg-or-reward-lines{display:flex;flex-direction:column;gap:9px;}
    .pg-order-review-overlay.pg-or-post .pg-or-reward-line{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:rgba(255,255,255,.66);}
    .pg-order-review-overlay.pg-or-post .pg-or-reward-line b{font-size:13px;color:#00ff61;white-space:nowrap;}
    .pg-order-review-overlay.pg-or-post .pg-or-reward-line.pg-negative b{color:#ff4d45;}
    .pg-order-review-overlay.pg-or-post .pg-or-reward-balance{
      margin-top:3px;padding-top:10px;border-top:1px solid rgba(255,255,255,.11);
      display:flex;align-items:center;justify-content:space-between;gap:12px;
      font-size:14px;font-weight:720;color:rgba(255,255,255,.76);
    }
    .pg-order-review-overlay.pg-or-post .pg-or-reward-balance b{font-size:18px;color:rgba(var(--accent-rgb,0,255,213),1);white-space:nowrap;}
    .pg-order-review-overlay.pg-or-post .pg-or-note{
      min-height:34px!important;padding:10px 12px!important;justify-content:center!important;
      border:0!important;background:transparent!important;box-shadow:none!important;
      color:rgba(255,255,255,.54)!important;font-size:12px!important;text-align:center!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-note svg{width:14px!important;height:14px!important;flex:0 0 14px!important;color:rgba(255,255,255,.52)!important;filter:none!important;}
  }
/* ===== END STYLE BLOCK: pg-step1130-post-order-review-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1132-post-order-receipt-cleanup-css ===== */
@media (max-width:520px){
    .pg-order-review-overlay.pg-or-post .pg-or-post-avatar{
      display:none!important;
      visibility:hidden!important;
      opacity:0!important;
      width:0!important;
      min-width:0!important;
      height:0!important;
      min-height:0!important;
      overflow:hidden!important;
      pointer-events:none!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-hero-grid{
      grid-template-columns:minmax(0,1fr) 112px!important;
      column-gap:13px!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-product-img,
    .pg-order-review-overlay.pg-or-post .pg-or-product-row > span:first-child{
      display:none!important;
      visibility:hidden!important;
      opacity:0!important;
      width:0!important;
      min-width:0!important;
      height:0!important;
      min-height:0!important;
      overflow:hidden!important;
      pointer-events:none!important;
    }
    .pg-order-review-overlay.pg-or-post .pg-or-product-row{
      grid-template-columns:minmax(0,1fr) auto!important;
      gap:11px!important;
    }
  }
/* ===== END STYLE BLOCK: pg-step1132-post-order-receipt-cleanup-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1134-post-order-items-card-spacing-css ===== */
@media (max-width:520px){
    .pg-order-review-overlay.pg-or-post .pg-or-details-card{
      margin-top:-16px!important;
    }
  }
/* ===== END STYLE BLOCK: pg-step1134-post-order-items-card-spacing-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1141-desktop-livenation-logo-size-lock-css ===== */
@media (min-width: 641px){
  html.pg-demo-profile-livenation #pg-order-summary #pg-os-merchant-logo.pg-os-merchant-logo{
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: 28px !important;
    min-height: 0 !important;
    max-height: 28px !important;
    max-width: 240px !important;
    object-fit: contain !important;
    object-position: left center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }
  html.pg-demo-profile-livenation #pg-order-summary .pg-os-title{
    min-height: 28px !important;
    height: auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1141-desktop-livenation-logo-size-lock-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1147-ticketmaster-light-theme-css ===== */
html.pg-demo-profile-ticketmaster{
    --accent:#006CE3;
    --accent-rgb:0,108,227;
    --z-bg:#f5f7fb;
    --z-surface:#ffffff;
    --z-surface-2:#f7f9fc;
    --z-card:rgba(255,255,255,0.96);
    --z-border:rgba(15,23,42,0.12);
    --z-border-2:rgba(15,23,42,0.10);
    --z-text:rgba(16,24,40,0.94);
    --z-text-2:rgba(71,84,103,0.78);
    --z-muted:rgba(71,84,103,0.66);
    --shadow-card:0 18px 48px rgba(16,24,40,0.10);
    --shadow-inner:inset 0 1px 0 rgba(255,255,255,0.85);
  }
  html.pg-demo-profile-ticketmaster.zelen-gateway-embed,
  html.pg-demo-profile-ticketmaster.zelen-gateway-embed body,
  html.pg-demo-profile-ticketmaster.zelen-gateway-embed #crypto-gateway-demo-root{
    background:#f5f7fb!important;
  }
  html.pg-demo-profile-ticketmaster body{
    background:radial-gradient(900px 420px at 50% -8%, rgba(0,108,227,.10), rgba(0,108,227,0) 58%), #f5f7fb!important;
    color:rgba(16,24,40,.94)!important;
  }
  html.pg-demo-profile-ticketmaster .pg-card,
  html.pg-demo-profile-ticketmaster .pg-main-card{
    background:rgba(255,255,255,.96)!important;
    border-color:rgba(15,23,42,.10)!important;
    color:rgba(16,24,40,.94)!important;
    box-shadow:0 18px 48px rgba(16,24,40,.10), inset 0 1px 0 rgba(255,255,255,.85)!important;
  }
  html.pg-demo-profile-ticketmaster #pg-order-summary.pg-order-summary{
    background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96))!important;
    border-color:rgba(0,108,227,.16)!important;
    box-shadow:0 12px 30px rgba(16,24,40,.10), inset 0 1px 0 rgba(255,255,255,.90)!important;
  }
  html.pg-demo-profile-ticketmaster .pg-os-title,
  html.pg-demo-profile-ticketmaster .pg-os-merchant,
  html.pg-demo-profile-ticketmaster .pg-os-total,
  html.pg-demo-profile-ticketmaster .pg-title,
  html.pg-demo-profile-ticketmaster .pg-step.pg-step-active span:last-child{
    color:rgba(16,24,40,.96)!important;
    text-shadow:none!important;
  }
  html.pg-demo-profile-ticketmaster .pg-os-meta,
  html.pg-demo-profile-ticketmaster .pg-os-demo,
  html.pg-demo-profile-ticketmaster .pg-section-label,
  html.pg-demo-profile-ticketmaster .pg-crypto-meta-label,
  html.pg-demo-profile-ticketmaster .pg-crypto-meta-note{
    color:rgba(71,84,103,.78)!important;
  }
  html.pg-demo-profile-ticketmaster .pg-os-details-btn,
  html.pg-demo-profile-ticketmaster .pg-customer-btn{
    background:rgba(255,255,255,.88)!important;
    color:rgba(16,24,40,.90)!important;
    border-color:rgba(0,108,227,.18)!important;
  }
  html.pg-demo-profile-ticketmaster .pg-customer{
    background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.92))!important;
    border-color:rgba(0,108,227,.14)!important;
  }
  html.pg-demo-profile-ticketmaster .pg-tile,
  html.pg-demo-profile-ticketmaster .pg-asset-pill,
  html.pg-demo-profile-ticketmaster .pg-crypto-meta-item{
    background:rgba(255,255,255,.88)!important;
    border-color:rgba(15,23,42,.10)!important;
    color:rgba(16,24,40,.94)!important;
  }
  html.pg-demo-profile-ticketmaster .pg-tile-active,
  html.pg-demo-profile-ticketmaster .pg-asset-active{
    border-color:rgba(0,108,227,.78)!important;
    box-shadow:0 0 0 3px rgba(0,108,227,.10), 0 14px 30px rgba(0,108,227,.18)!important;
    background:radial-gradient(700px 260px at 20% 30%, rgba(0,108,227,.10), rgba(255,255,255,.94))!important;
  }
  @media (max-width:520px){
    html.pg-demo-profile-ticketmaster #pg-mobile-auth-entry{
      background:#f6f8fc!important;
      color:rgba(16,24,40,.96)!important;
    }
    html.pg-demo-profile-ticketmaster #pg-mobile-auth-entry .pg-auth-shell{
      background:radial-gradient(700px 380px at 50% -6%, rgba(0,108,227,.12), rgba(0,108,227,0) 64%), #f6f8fc!important;
    }
    html.pg-demo-profile-ticketmaster #pg-mobile-auth-entry .pg-auth-title,
    html.pg-demo-profile-ticketmaster #pg-mobile-auth-entry .pg-auth-merchant-name,
    html.pg-demo-profile-ticketmaster #pg-mobile-auth-entry .pg-auth-total,
    html.pg-demo-profile-ticketmaster #pg-mobile-auth-entry .pg-auth-forgot,
    html.pg-demo-profile-ticketmaster #pg-mobile-auth-entry .pg-auth-footer-link{
      color:rgba(16,24,40,.92)!important;
      text-shadow:none!important;
    }
    html.pg-demo-profile-ticketmaster #pg-mobile-auth-entry .pg-auth-field{
      background:#fff!important;
      color:rgba(16,24,40,.96)!important;
      border-color:rgba(15,23,42,.14)!important;
      box-shadow:0 14px 28px rgba(16,24,40,.08)!important;
    }
    html.pg-demo-profile-ticketmaster #pg-mobile-auth-entry .pg-auth-field::placeholder{
      color:rgba(71,84,103,.58)!important;
    }
    html.pg-demo-profile-ticketmaster #pg-mobile-auth-entry .pg-auth-btn{
      background:linear-gradient(180deg,#006CE3,#0058BA)!important;
      color:#fff!important;
      box-shadow:0 18px 34px rgba(0,108,227,.24)!important;
    }
  }
  @media (min-width:641px){
    html.pg-demo-profile-ticketmaster #pg-order-summary #pg-os-merchant-logo.pg-os-merchant-logo{
      display:block!important;
      flex:0 0 auto!important;
      width:auto!important;
      height:28px!important;
      max-height:28px!important;
      max-width:240px!important;
      object-fit:contain!important;
      object-position:left center!important;
      margin:0!important;
      padding:0!important;
      transform:none!important;
    }
    html.pg-demo-profile-ticketmaster #pg-order-summary .pg-os-title{
      min-height:28px!important;
      height:auto!important;
      align-items:center!important;
      justify-content:flex-start!important;
      gap:14px!important;
    }
  }
/* ===== END STYLE BLOCK: pg-step1147-ticketmaster-light-theme-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1148-light-mode-brand-system-css ===== */
@media (max-width: 640px){
  /* GLOBAL MOBILE: asset carousel should bleed to phone edges in both dark + light mode */
  #pg-asset-row{
    width: calc(100% + 24px) !important;
    max-width: calc(100% + 24px) !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    background:
      radial-gradient(120% 110% at 50% 72%,
        rgba(var(--pg-active-coin-rgb, var(--accent-rgb, 255,146,36)), 0.30) 0%,
        rgba(var(--pg-active-coin-rgb, var(--accent-rgb, 255,146,36)), 0.16) 30%,
        rgba(0,0,0,0.00) 72%) !important;
  }
  /* Keep the selected asset glow rich/heavy on light mode and dark mode */
  #pg-asset-row .pg-asset-pill.pg-asset-active{
    box-shadow:
      0 0 0 1px rgba(var(--coin-rgb, var(--pg-active-coin-rgb, var(--accent-rgb))), 0.78) inset,
      0 0 0 1px rgba(var(--coin-rgb, var(--pg-active-coin-rgb, var(--accent-rgb))), 0.46),
      0 0 32px rgba(var(--coin-rgb, var(--pg-active-coin-rgb, var(--accent-rgb))), 0.42),
      0 0 74px rgba(var(--coin-rgb, var(--pg-active-coin-rgb, var(--accent-rgb))), 0.28),
      0 22px 44px rgba(0,0,0,0.38),
      inset 0 1px 0 rgba(255,255,255,0.42),
      inset 0 -18px 28px rgba(var(--coin-rgb, var(--pg-active-coin-rgb, var(--accent-rgb))), 0.18) !important;
  }
}
/* =========================================================
   GENERIC LIGHT MODE VARIABLES
   Any profile with displayMode:"light" gets this treatment.
========================================================= */
html.pg-demo-mode-light{
  --z-bg:#f7fbff;
  --z-surface:#ffffff;
  --z-surface-2:#f3f8ff;
  --z-card:rgba(255,255,255,0.92);
  --z-border:rgba(13,27,42,0.10);
  --z-border-2:rgba(13,27,42,0.08);
  --z-text:#0d1b2a;
  --z-text-2:rgba(13,27,42,0.66);
  --z-muted:rgba(13,27,42,0.52);
  --pg-light-blue:#e7f1ff;
  --pg-light-border:#d6e6fb;
  --pg-light-navy:#0d1b2a;
}
html.zelen-gateway-embed.pg-demo-mode-light,
html.zelen-gateway-embed.pg-demo-mode-light body{
  background:#f7fbff !important;
}
html.pg-demo-mode-light body{
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(var(--accent-rgb,0,108,227),0.14), rgba(255,255,255,0.00) 62%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  color:var(--pg-light-navy) !important;
}
html.pg-demo-mode-light #crypto-gateway-demo-root{
  background:
    radial-gradient(820px 380px at 50% 0%, rgba(var(--accent-rgb,0,108,227),0.10), rgba(255,255,255,0.00) 70%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  color:var(--pg-light-navy) !important;
}
html.zelen-gateway-embed.pg-demo-mode-light #crypto-gateway-demo-root{
  background:
    radial-gradient(820px 380px at 50% 0%, rgba(var(--accent-rgb,0,108,227),0.10), rgba(255,255,255,0.00) 70%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
}
/* Sign-in / authorization page: light mode + branded ZELEN Pay glow */
@media (max-width: 520px){
  html.pg-demo-mode-light #pg-mobile-auth-entry{
    background:
      radial-gradient(720px 420px at 50% -12%, rgba(var(--accent-rgb,0,108,227),0.16), rgba(255,255,255,0.00) 68%),
      linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    color:var(--pg-light-navy) !important;
  }
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-shell{
    background: transparent !important;
  }
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-header-top::after{
    background: linear-gradient(90deg,
      rgba(var(--accent-rgb,0,108,227),0.00) 0%,
      rgba(var(--accent-rgb,0,108,227),0.24) 16%,
      rgba(var(--accent-rgb,0,108,227),0.74) 50%,
      rgba(var(--accent-rgb,0,108,227),0.24) 84%,
      rgba(var(--accent-rgb,0,108,227),0.00) 100%) !important;
    box-shadow:0 0 18px rgba(var(--accent-rgb,0,108,227),0.22) !important;
  }
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-zelen{
    opacity:0.98 !important;
    filter:
      drop-shadow(0 0 5px rgba(var(--accent-rgb,0,108,227),0.74))
      drop-shadow(0 0 14px rgba(var(--accent-rgb,0,108,227),0.40))
      drop-shadow(0 8px 18px rgba(13,27,42,0.16)) !important;
  }
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-merchant-name,
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-total,
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-title,
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-forgot,
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-footer-link{
    color:var(--pg-light-navy) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-forgot,
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-footer-link{
    color:rgb(var(--accent-rgb,0,108,227)) !important;
  }
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-field{
    background:#ffffff !important;
    color:var(--pg-light-navy) !important;
    border:1px solid rgba(13,27,42,0.14) !important;
    box-shadow:
      0 14px 34px rgba(13,27,42,0.07),
      inset 0 1px 0 rgba(255,255,255,0.92) !important;
  }
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-field::placeholder{
    color:rgba(13,27,42,0.46) !important;
  }
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-btn{
    background:linear-gradient(180deg, rgba(var(--accent-rgb,0,108,227),1), rgba(0,91,194,1)) !important;
    color:#ffffff !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.72) !important;
    box-shadow:
      0 16px 32px rgba(var(--accent-rgb,0,108,227),0.22),
      inset 0 1px 0 rgba(255,255,255,0.24) !important;
  }
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-btn.pg-auth-btn-create{
    background:#ffffff !important;
    color:rgb(var(--accent-rgb,0,108,227)) !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.58) !important;
    box-shadow:
      0 12px 28px rgba(13,27,42,0.05),
      inset 0 1px 0 rgba(255,255,255,0.95) !important;
  }
}
/* Main shell light typography */
html.pg-demo-mode-light .pg-card,
html.pg-demo-mode-light .pg-main-card{
  background:rgba(255,255,255,0.96) !important;
  border-color:rgba(13,27,42,0.08) !important;
  box-shadow:0 18px 44px rgba(13,27,42,0.08), inset 0 1px 0 rgba(255,255,255,0.92) !important;
  color:var(--pg-light-navy) !important;
}
html.pg-demo-mode-light .pg-title,
html.pg-demo-mode-light .pg-section-label,
html.pg-demo-mode-light .pg-card h1,
html.pg-demo-mode-light .pg-card h2,
html.pg-demo-mode-light .pg-card h3,
html.pg-demo-mode-light .pg-card h4{
  color:var(--pg-light-navy) !important;
  text-shadow:none !important;
}
/* Light-mode order summary hero card */
@media (max-width: 640px){
  html.pg-demo-mode-light #pg-order-summary{
    background:
      radial-gradient(460px 160px at 20% 0%, rgba(var(--accent-rgb,0,108,227),0.10), rgba(255,255,255,0.00) 64%),
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.96)) !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.14) !important;
    box-shadow:
      0 16px 34px rgba(13,27,42,0.10),
      0 0 0 1px rgba(255,255,255,0.80) inset,
      0 0 30px rgba(var(--accent-rgb,0,108,227),0.10) !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-merchant,
  html.pg-demo-mode-light #pg-order-summary .pg-os-total,
  html.pg-demo-mode-light #pg-order-summary .pg-os-meta,
  html.pg-demo-mode-light #pg-order-summary .pg-os-demo{
    color:var(--pg-light-navy) !important;
    opacity:1 !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light #pg-os-toggle.pg-os-details-btn{
    background:transparent !important;
    border:0 !important;
    color:rgb(var(--accent-rgb,0,108,227)) !important;
    box-shadow:none !important;
    justify-content:flex-start !important;
    padding-left:0 !important;
    width:156px !important;
    height:28px !important;
    font-weight:800 !important;
  }
}
/* Light-mode asset carousel surfaces; coin glow still comes from asset hue */
@media (max-width: 640px){
  html.pg-demo-mode-light #pg-asset-row{
    background:
      radial-gradient(120% 120% at 50% 70%,
        rgba(var(--pg-active-coin-rgb, var(--accent-rgb, 255,146,36)),0.30) 0%,
        rgba(var(--pg-active-coin-rgb, var(--accent-rgb, 255,146,36)),0.18) 30%,
        rgba(255,255,255,0.00) 78%) !important;
  }
  html.pg-demo-mode-light #pg-asset-row .pg-asset-pill{
    background:
      radial-gradient(120px 120px at 32% 18%, rgba(255,255,255,0.92), rgba(255,255,255,0.08) 62%),
      linear-gradient(180deg, rgba(255,255,255,0.78), rgba(246,250,255,0.62)) !important;
    border-color:rgba(13,27,42,0.08) !important;
    box-shadow:
      0 14px 34px rgba(13,27,42,0.12),
      inset 0 1px 0 rgba(255,255,255,0.94),
      inset 0 -1px 0 rgba(13,27,42,0.05) !important;
  }
  html.pg-demo-mode-light #pg-asset-row .pg-asset-pill.pg-asset-active{
    background:
      radial-gradient(150px 150px at 50% 36%, rgba(var(--coin-rgb,255,146,36),0.18), rgba(255,255,255,0.00) 68%),
      linear-gradient(180deg, rgba(255,255,255,0.84), rgba(248,251,255,0.76)) !important;
  }
  html.pg-demo-mode-light #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-label-sub,
  html.pg-demo-mode-light #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-label-main{
    color:var(--pg-light-navy) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light #pg-asset-row .pg-asset-pill:not(.pg-asset-active) .pg-asset-label-main,
  html.pg-demo-mode-light #pg-asset-row .pg-asset-pill:not(.pg-asset-active) .pg-asset-label-sub{
    color:rgba(13,27,42,0.78) !important;
    text-shadow:none !important;
  }
}
/* Light-mode crypto meta — CRITICAL: make values visible */
@media (max-width: 640px){
  html.pg-demo-mode-light #pg-crypto-meta,
  html.pg-demo-mode-light .pg-crypto-meta{
    width:calc(100% + 24px) !important;
    max-width:calc(100% + 24px) !important;
    margin:0 -12px 12px -12px !important;
    padding:10px 12px !important;
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:0 !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.96)) !important;
    border-top:1px solid rgba(var(--accent-rgb,0,108,227),0.12) !important;
    border-bottom:1px solid rgba(var(--accent-rgb,0,108,227),0.16) !important;
    box-shadow:
      0 12px 24px rgba(13,27,42,0.06),
      inset 0 1px 0 rgba(255,255,255,0.90) !important;
    color:var(--pg-light-navy) !important;
  }
  html.pg-demo-mode-light #pg-crypto-meta .pg-crypto-meta-item,
  html.pg-demo-mode-light .pg-crypto-meta .pg-crypto-meta-item{
    min-height:52px !important;
    padding:7px 8px !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:var(--pg-light-navy) !important;
  }
  html.pg-demo-mode-light #pg-crypto-meta .pg-crypto-meta-item + .pg-crypto-meta-item{
    border-left:1px solid rgba(13,27,42,0.10) !important;
  }
  html.pg-demo-mode-light #pg-crypto-meta .pg-crypto-meta-label,
  html.pg-demo-mode-light .pg-crypto-meta .pg-crypto-meta-label{
    color:rgba(13,27,42,0.50) !important;
    font-size:10px !important;
    letter-spacing:0.14em !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light #pg-crypto-meta .pg-crypto-meta-value,
  html.pg-demo-mode-light .pg-crypto-meta .pg-crypto-meta-value,
  html.pg-demo-mode-light #pg-meta-price,
  html.pg-demo-mode-light #pg-meta-amount,
  html.pg-demo-mode-light #pg-meta-method{
    color:var(--pg-light-navy) !important;
    font-weight:850 !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light #pg-crypto-meta .pg-crypto-meta-note,
  html.pg-demo-mode-light .pg-crypto-meta .pg-crypto-meta-note{
    color:rgba(13,27,42,0.52) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light #pg-crypto-meta .pg-crypto-meta-change.pg-down,
  html.pg-demo-mode-light .pg-crypto-meta .pg-crypto-meta-change.pg-down{
    color:#ef3340 !important;
  }
  html.pg-demo-mode-light #pg-crypto-meta .pg-crypto-meta-change.pg-up,
  html.pg-demo-mode-light .pg-crypto-meta .pg-crypto-meta-change.pg-up{
    color:#168039 !important;
  }
}
/* Light-mode rewards gateway hero */
@media (max-width: 520px){
  html.pg-demo-mode-light #pg-rewards-gateway.pg-rewards-gateway{
    background:
      radial-gradient(260px 110px at 8% 20%, rgba(var(--accent-rgb,0,108,227),0.14), rgba(255,255,255,0.00) 72%),
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.96)) !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.18) !important;
    box-shadow:
      0 16px 30px rgba(13,27,42,0.10),
      0 0 0 1px rgba(255,255,255,0.80) inset,
      0 0 26px rgba(var(--accent-rgb,0,108,227),0.08) !important;
    color:var(--pg-light-navy) !important;
  }
  html.pg-demo-mode-light #pg-rewards-gateway .pg-rg-icon{
    color:rgb(var(--accent-rgb,0,108,227)) !important;
    background:currentColor !important;
    filter:drop-shadow(0 0 12px rgba(var(--accent-rgb,0,108,227),0.26)) !important;
  }
  html.pg-demo-mode-light #pg-rewards-gateway .pg-rg-title{
    color:var(--pg-light-navy) !important;
  }
  html.pg-demo-mode-light #pg-rewards-gateway .pg-rg-sub{
    color:rgba(13,27,42,0.62) !important;
  }
  html.pg-demo-mode-light #pg-rewards-gateway .pg-rg-amount{
    color:rgb(var(--accent-rgb,0,108,227)) !important;
    text-shadow:0 0 14px rgba(var(--accent-rgb,0,108,227),0.16) !important;
  }
}
/* Light-mode hybrid payment button */
@media (max-width: 640px){
  html.pg-demo-mode-light #pg-hybredpayment-hero{
    background:
      linear-gradient(90deg,
        rgba(var(--accent-rgb,0,108,227),0.98) 0%,
        rgba(var(--accent-rgb,0,108,227),0.96) 54%,
        rgba(var(--accent-rgb,0,108,227),1) 100%) !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.68) !important;
    box-shadow:
      0 18px 36px rgba(var(--accent-rgb,0,108,227),0.24),
      0 0 0 1px rgba(255,255,255,0.28) inset !important;
    color:#ffffff !important;
  }
  html.pg-demo-mode-light #pg-hybredpayment-hero *{
    color:#ffffff !important;
  }
}
/* Light-mode mobile dock + visible rewards icon */
@media (max-width: 640px){
  html.pg-demo-mode-light #pg-mobile-dock.pg-mobile-dock{
    background:rgba(255,255,255,0.94) !important;
    border-top:1px solid rgba(var(--accent-rgb,0,108,227),0.12) !important;
    box-shadow:
      0 -12px 28px rgba(13,27,42,0.09),
      0 0 0 1px rgba(255,255,255,0.78) inset !important;
    backdrop-filter:blur(18px) saturate(150%) !important;
    -webkit-backdrop-filter:blur(18px) saturate(150%) !important;
  }
  html.pg-demo-mode-light #pg-mobile-dock .pg-dock-btn{
    color:rgba(13,27,42,0.50) !important;
  }
  html.pg-demo-mode-light #pg-mobile-dock .pg-dock-label{
    color:rgba(13,27,42,0.62) !important;
  }
  html.pg-demo-mode-light #pg-mobile-dock .pg-dock-btn.is-active{
    color:rgb(var(--accent-rgb,0,108,227)) !important;
  }
  html.pg-demo-mode-light #pg-mobile-dock .pg-dock-btn.is-active .pg-dock-label{
    color:rgb(var(--accent-rgb,0,108,227)) !important;
  }
  html.pg-demo-mode-light #pg-mobile-dock .pg-dock-ico.pg-dock-rewards-mask,
  html.pg-demo-mode-light #pg-mobile-dock span.pg-dock-ico{
    width:24px !important;
    height:24px !important;
    display:block !important;
    opacity:0.76 !important;
    background:currentColor !important;
    -webkit-mask:url("https://irp.cdn-website.com/630a36f4/dms3rep/multi/rewards-return.svg") center/contain no-repeat !important;
    mask:url("https://irp.cdn-website.com/630a36f4/dms3rep/multi/rewards-return.svg") center/contain no-repeat !important;
  }
  html.pg-demo-mode-light #pg-mobile-dock .pg-dock-btn.is-active .pg-dock-ico{
    opacity:1 !important;
    filter:
      drop-shadow(0 0 10px rgba(var(--accent-rgb,0,108,227),0.30))
      drop-shadow(0 0 18px rgba(var(--accent-rgb,0,108,227),0.16)) !important;
  }
}
/* Light-mode account/rewards/shop overlays inherit the same business theme */
@media (max-width: 640px){
  html.pg-demo-mode-light .pg-mo-sheet,
  html.pg-demo-mode-light .pg-mobile-customer-overlay,
  html.pg-demo-mode-light .pg-mco-shell{
    background:
      radial-gradient(720px 420px at 50% -10%, rgba(var(--accent-rgb,0,108,227),0.12), rgba(255,255,255,0.00) 68%),
      linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    color:var(--pg-light-navy) !important;
  }
  html.pg-demo-mode-light .pg-mo-title,
  html.pg-demo-mode-light .pg-mo-section-label,
  html.pg-demo-mode-light .pg-mo-item-title,
  html.pg-demo-mode-light .pg-mo-item-sub,
  html.pg-demo-mode-light .pg-mco-title,
  html.pg-demo-mode-light .pg-mco-name{
    color:var(--pg-light-navy) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light .pg-mo-card,
  html.pg-demo-mode-light .pg-mo-item,
  html.pg-demo-mode-light .pg-mco-card{
    background:rgba(255,255,255,0.90) !important;
    border-color:rgba(var(--accent-rgb,0,108,227),0.14) !important;
    box-shadow:0 14px 32px rgba(13,27,42,0.08), inset 0 1px 0 rgba(255,255,255,0.86) !important;
  }
  html.pg-demo-mode-light .pg-mo-back,
  html.pg-demo-mode-light .pg-mo-close,
  html.pg-demo-mode-light .pg-mco-back{
    background:rgba(255,255,255,0.82) !important;
    color:var(--pg-light-navy) !important;
    border-color:rgba(13,27,42,0.10) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1148-light-mode-brand-system-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1149-light-mode-container-formula-css ===== */
/* Base light-mode card formula modeled after the approved #pg-rewards-gateway */
html.pg-demo-mode-light{
  --pg-light-info-bg:
    radial-gradient(260px 110px at 8% 20%, rgba(var(--accent-rgb,0,108,227),0.14), rgba(255,255,255,0.00) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.96));
  --pg-light-info-border: rgba(var(--accent-rgb,0,108,227),0.18);
  --pg-light-info-shadow:
    0 16px 30px rgba(13,27,42,0.10),
    0 0 0 1px rgba(255,255,255,0.80) inset,
    0 0 26px rgba(var(--accent-rgb,0,108,227),0.08);
  --pg-light-info-title: #0d1b2a;
  --pg-light-info-muted: rgba(13,27,42,0.62);
  --pg-light-info-soft: rgba(13,27,42,0.50);
}
@media (max-width: 640px){
  /* ORDER SUMMARY: use the same elegant light card system as #pg-rewards-gateway */
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary.pg-order-has-items{
    background: var(--pg-light-info-bg) !important;
    border: 1px solid var(--pg-light-info-border) !important;
    box-shadow: var(--pg-light-info-shadow) !important;
    color: var(--pg-light-info-title) !important;
    backdrop-filter: blur(16px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
    overflow: hidden !important;
  }
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary::before,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary::after,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary.pg-order-has-items::before,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary.pg-order-has-items::after{
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    background: none !important;
    box-shadow: none !important;
    filter: none !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-merchant,
  html.pg-demo-mode-light #pg-order-summary .pg-os-title,
  html.pg-demo-mode-light #pg-order-summary .pg-os-total,
  html.pg-demo-mode-light #pg-order-summary #pg-order-total-display{
    color: var(--pg-light-info-title) !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-meta,
  html.pg-demo-mode-light #pg-order-summary .pg-os-demo{
    color: var(--pg-light-info-muted) !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  html.pg-demo-mode-light #pg-order-summary #pg-os-toggle.pg-os-details-btn{
    background: transparent !important;
    border: 0 !important;
    color: rgb(var(--accent-rgb,0,108,227)) !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
}
@media (max-width: 520px){
  /* CRYPTO META: approved light information-card formula + force all text visible */
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open{
    background: var(--pg-light-info-bg) !important;
    border: 1px solid var(--pg-light-info-border) !important;
    border-radius: 9px !important;
    box-shadow: var(--pg-light-info-shadow) !important;
    color: var(--pg-light-info-title) !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    backdrop-filter: blur(16px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
  }
  /* Closed-state layout: keep the three-column meta strip readable on light backgrounds */
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open){
    min-height: 58px !important;
    padding: 9px 12px 10px !important;
    margin: 0 -12px 12px -12px !important;
    width: calc(100% + 24px) !important;
    max-width: calc(100% + 24px) !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card .pg-crypto-meta-item{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--pg-light-info-title) !important;
    opacity: 1 !important;
  }
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open) .pg-crypto-meta-item + .pg-crypto-meta-item{
    border-left: 1px solid rgba(13,27,42,0.10) !important;
  }
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card .pg-crypto-meta-label,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card .pg-crypto-meta-note,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card .pg-meta-total-label,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card .pg-meta-total-usd,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card .pg-meta-sub{
    color: var(--pg-light-info-soft) !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card .pg-crypto-meta-value,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card #pg-meta-price,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card #pg-meta-amount,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card #pg-meta-method,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card #pg-crypto-meta-note,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card .pg-meta-total-amount{
    color: var(--pg-light-info-title) !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-weight: 850 !important;
    text-shadow: none !important;
    -webkit-text-fill-color: var(--pg-light-info-title) !important;
  }
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card #pg-meta-change,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card .pg-crypto-meta-change{
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
    -webkit-text-fill-color: currentColor !important;
  }
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card #pg-meta-change.pg-down,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card .pg-crypto-meta-change.pg-down{
    color: #ef3340 !important;
  }
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card #pg-meta-change.pg-up,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card .pg-crypto-meta-change.pg-up{
    color: #168039 !important;
  }
  /* Open-state pseudo labels were still white from the dark meta system; convert them too. */
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-price::before,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-meta-amount::before,
  html.pg-demo-mode-light #pg-crypto-meta.pg-crypto-meta.pg-ad-card.is-ad-open #pg-crypto-meta-note::before{
    color: var(--pg-light-info-soft) !important;
    opacity: 1 !important;
    text-shadow: none !important;
    -webkit-text-fill-color: var(--pg-light-info-soft) !important;
  }
  /* Keep the approved rewards card as the source-of-truth visual formula. */
  html.pg-demo-mode-light #pg-rewards-gateway.pg-rewards-gateway{
    background: var(--pg-light-info-bg) !important;
    border: 1px solid var(--pg-light-info-border) !important;
    box-shadow: var(--pg-light-info-shadow) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1149-light-mode-container-formula-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1151-light-mode-order-summary-row-final-css ===== */
@media (max-width:640px){
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary.pg-order-has-items{
    background:transparent !important;
    background-image:none !important;
    background-color:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
    filter:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    color:var(--pg-light-info-title,#0d1b2a) !important;
    overflow:visible !important;
  }
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary::before,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary::after,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary.pg-order-has-items::before,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary.pg-order-has-items::after{
    content:none !important;
    display:none !important;
    opacity:0 !important;
    background:none !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
    filter:none !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-row{
    background:
      radial-gradient(260px 110px at 8% 20%, rgba(var(--accent-rgb,0,108,227),0.14), rgba(255,255,255,0.00) 72%),
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.96)) !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.18) !important;
    border-radius:18px !important;
    box-shadow:
      0 16px 30px rgba(13,27,42,0.10),
      0 0 0 1px rgba(255,255,255,0.80) inset,
      0 0 26px rgba(var(--accent-rgb,0,108,227),0.08) !important;
    outline:0 !important;
    color:var(--pg-light-info-title,#0d1b2a) !important;
    overflow:hidden !important;
    isolation:isolate !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-left,
  html.pg-demo-mode-light #pg-order-summary .pg-os-right{
    color:var(--pg-light-info-title,#0d1b2a) !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-merchant,
  html.pg-demo-mode-light #pg-order-summary .pg-os-total,
  html.pg-demo-mode-light #pg-order-summary #pg-order-total-display{
    color:var(--pg-light-info-title,#0d1b2a) !important;
    opacity:1 !important;
    text-shadow:none !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-meta,
  html.pg-demo-mode-light #pg-order-summary .pg-os-demo{
    color:var(--pg-light-info-muted,rgba(13,27,42,0.62)) !important;
    opacity:1 !important;
    text-shadow:none !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
  }
  html.pg-demo-mode-light #pg-order-summary #pg-os-toggle.pg-os-details-btn{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
    color:rgb(var(--accent-rgb,0,108,227)) !important;
    text-shadow:none !important;
    font-weight:800 !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1151-light-mode-order-summary-row-final-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1152-light-mode-order-summary-rewards-formula-css ===== */
@media (max-width:640px){
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary.pg-order-has-items{
    background:transparent !important;
    background-image:none !important;
    background-color:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
    filter:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary::before,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary::after,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary.pg-order-has-items::before,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary.pg-order-has-items::after{
    content:none !important;
    display:none !important;
    opacity:0 !important;
    background:none !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
    filter:none !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-row{
    background:
      radial-gradient(360px 120px at 8% 0%, rgba(var(--accent-rgb,0,108,227),0.11), rgba(255,255,255,0.00) 70%),
      radial-gradient(320px 115px at 94% 20%, rgba(var(--accent-rgb,0,108,227),0.08), rgba(255,255,255,0.00) 68%),
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.96)) !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.18) !important;
    border-radius:9px !important;
    box-shadow:
      0 10px 22px rgba(13,27,42,0.08),
      0 1px 0 rgba(255,255,255,0.90) inset,
      0 0 22px rgba(var(--accent-rgb,0,108,227),0.07) !important;
    outline:0 !important;
    color:var(--pg-light-info-title,#0d1b2a) !important;
    overflow:hidden !important;
    isolation:isolate !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-left,
  html.pg-demo-mode-light #pg-order-summary .pg-os-right{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
    color:var(--pg-light-info-title,#0d1b2a) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-merchant{
    color:var(--pg-light-info-title,#0d1b2a) !important;
    opacity:1 !important;
    font-weight:800 !important;
    text-shadow:none !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-meta,
  html.pg-demo-mode-light #pg-order-summary .pg-os-demo{
    color:var(--pg-light-info-muted,rgba(13,27,42,0.62)) !important;
    opacity:1 !important;
    text-shadow:none !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-total,
  html.pg-demo-mode-light #pg-order-summary #pg-order-total-display{
    color:rgb(var(--accent-rgb,0,108,227)) !important;
    opacity:1 !important;
    font-weight:900 !important;
    text-shadow:0 0 14px rgba(var(--accent-rgb,0,108,227),0.12) !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
  }
  html.pg-demo-mode-light #pg-order-summary #pg-os-toggle.pg-os-details-btn{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
    color:rgb(var(--accent-rgb,0,108,227)) !important;
    text-shadow:0 0 12px rgba(var(--accent-rgb,0,108,227),0.10) !important;
    font-weight:800 !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1152-light-mode-order-summary-rewards-formula-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1153-light-mode-order-summary-soft-header-bg-css ===== */
@media (max-width:640px){
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary.pg-order-has-items{
    background:transparent !important;
    background-image:none !important;
    background-color:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
    overflow:visible !important;
  }
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary::before,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary::after,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary.pg-order-has-items::before,
  html.pg-demo-mode-light #pg-order-summary.pg-order-summary.pg-order-has-items::after{
    content:none !important;
    display:none !important;
    opacity:0 !important;
    background:none !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-row{
    position:relative !important;
    background:transparent !important;
    background-image:none !important;
    background-color:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    outline:0 !important;
    overflow:visible !important;
    isolation:isolate !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-row::before{
    content:"" !important;
    position:absolute !important;
    left:-12px !important;
    right:-12px !important;
    top:-16px !important;
    bottom:-10px !important;
    z-index:-1 !important;
    pointer-events:none !important;
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
    border-radius:0 !important;
    background:
      radial-gradient(360px 120px at 8% 0%, rgba(var(--accent-rgb,0,108,227),0.11), rgba(255,255,255,0.00) 70%),
      radial-gradient(320px 115px at 94% 18%, rgba(var(--accent-rgb,0,108,227),0.08), rgba(255,255,255,0.00) 68%),
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.96)) !important;
  }
  html.pg-demo-mode-light #pg-order-summary .pg-os-row::after{
    content:none !important;
    display:none !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1153-light-mode-order-summary-soft-header-bg-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1154-light-zelen-logo-event-merchant-cleanup-css ===== */
@media (max-width: 520px){
  /* Light-mode auth header: keep ZELEN Pay elegant, but readable on white */
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-zelen{
    opacity: 0.98 !important;
    filter:
      drop-shadow(0 0 5px rgba(var(--accent-rgb,0,108,227),0.68))
      drop-shadow(0 0 16px rgba(var(--accent-rgb,0,108,227),0.38))
      drop-shadow(0 8px 18px rgba(13,27,42,0.18)) !important;
  }
  /* Light-mode gateway header: make the white ZELEN Pay mark visible without overpowering the merchant logo */
  html.pg-demo-mode-light #pg-order-summary .pg-os-brand{
    opacity: 0.96 !important;
    filter:
      drop-shadow(0 0 5px rgba(var(--accent-rgb,0,108,227),0.74))
      drop-shadow(0 0 14px rgba(var(--accent-rgb,0,108,227),0.42))
      drop-shadow(0 8px 16px rgba(13,27,42,0.18)) !important;
  }
  /* Event profiles are the parent merchant, so do not repeat their name above the event-details CTA. */
  html.pg-demo-profile-ticketmaster #pg-order-summary .pg-os-merchant,
  html.pg-demo-profile-livenation #pg-order-summary .pg-os-merchant{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  /* With the redundant merchant text removed, move the CTA + total into the clean second row. */
  html.pg-demo-profile-ticketmaster #pg-order-summary #pg-os-toggle.pg-os-details-btn,
  html.pg-demo-profile-livenation #pg-order-summary #pg-os-toggle.pg-os-details-btn{
    grid-row: 2 !important;
    align-self: start !important;
    margin-top: 0 !important;
  }
  html.pg-demo-profile-ticketmaster #pg-order-summary .pg-os-right,
  html.pg-demo-profile-livenation #pg-order-summary .pg-os-right{
    grid-row: 2 !important;
    align-self: start !important;
    margin-top: 0 !important;
  }
  /* BLAZE intentionally keeps .pg-os-merchant visible for POS-parent + merchant-name hierarchy. */
}
/* ===== END STYLE BLOCK: pg-step1154-light-zelen-logo-event-merchant-cleanup-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1155-event-details-zelen-glow-carousel-center-css ===== */
@media (max-width: 520px){
  /* Tighter/brighter ZELEN Pay glow on light-mode sign-in + gateway headers. */
  html.pg-demo-mode-light #pg-mobile-auth-entry .pg-auth-zelen,
  html.pg-demo-mode-light #pg-order-summary .pg-os-brand{
    opacity: 0.98 !important;
    filter:
      drop-shadow(0 0 3.5px rgba(var(--accent-rgb,0,108,227),0.92))
      drop-shadow(0 0 11px rgba(var(--accent-rgb,0,108,227),0.52))
      drop-shadow(0 7px 14px rgba(13,27,42,0.18)) !important;
  }
  /* Keep parent-profile merchant text hidden for Event profiles only. */
  html.pg-demo-profile-ticketmaster #pg-order-summary .pg-os-merchant,
  html.pg-demo-profile-livenation #pg-order-summary .pg-os-merchant{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  /* Restore the Event Details trigger as a clean black text link. */
  html.pg-demo-profile-ticketmaster #pg-order-summary #pg-os-toggle.pg-os-details-btn,
  html.pg-demo-profile-livenation #pg-order-summary #pg-os-toggle.pg-os-details-btn{
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    align-self: start !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    color: rgba(13,27,42,0.94) !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    text-shadow: none !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }
  html.pg-demo-profile-ticketmaster #pg-order-summary #pg-os-toggle.pg-os-details-btn *,
  html.pg-demo-profile-livenation #pg-order-summary #pg-os-toggle.pg-os-details-btn *{
    color: rgba(13,27,42,0.94) !important;
    text-shadow: none !important;
  }
  /* Keep the total aligned on the same clean second row. */
  html.pg-demo-profile-ticketmaster #pg-order-summary .pg-os-right,
  html.pg-demo-profile-livenation #pg-order-summary .pg-os-right{
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: start !important;
    margin: 0 !important;
  }
  /* Visual center guard for the mobile carousel track. The JS center lock above removes the old -48px bias. */
  #pg-asset-row[data-pg-carousel-engine="index"] .pg-asset-track{
    transform-origin: center center !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1155-event-details-zelen-glow-carousel-center-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1156-event-link-carousel-center-final-css ===== */
@media (max-width: 640px){
  /* Event profiles: restore the visible trigger on .pg-os-merchant without repeating the merchant name. */
  html.pg-demo-profile-ticketmaster #pg-order-summary .pg-os-merchant,
  html.pg-demo-profile-livenation #pg-order-summary .pg-os-merchant{
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    align-self: start !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    overflow: visible !important;
    white-space: nowrap !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-shadow: none !important;
  }
  html.pg-demo-profile-ticketmaster #pg-order-summary.pg-or-has-items .pg-os-merchant::after,
  html.pg-demo-profile-livenation #pg-order-summary.pg-or-has-items .pg-os-merchant::after{
    content: "View Event Details" !important;
    display: inline-block !important;
    color: #000000 !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    text-decoration: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
  /* Preserve the existing button as an invisible hit layer only; .pg-os-merchant is the visible link. */
  html.pg-demo-profile-ticketmaster #pg-order-summary #pg-os-toggle.pg-os-details-btn,
  html.pg-demo-profile-livenation #pg-order-summary #pg-os-toggle.pg-os-details-btn{
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    align-self: start !important;
    width: 138px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 0 !important;
    color: transparent !important;
    pointer-events: auto !important;
    z-index: 6 !important;
  }
  html.pg-demo-profile-ticketmaster #pg-order-summary .pg-os-right,
  html.pg-demo-profile-livenation #pg-order-summary .pg-os-right{
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: start !important;
    margin: 0 !important;
  }
  /* Center guard: no left/right optical bias on the carousel track. */
  #pg-asset-row[data-pg-carousel-engine="index"] .pg-asset-track{
    transform-origin: center center !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1156-event-link-carousel-center-final-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1157-asset-track-featured-glow-css ===== */
@media (max-width: 640px){
  /* Keep the row/background locked; only the inner track moves. */
  #pg-asset-row[data-pg-carousel-engine="index"]{
    transform: none !important;
  }
  #pg-asset-row[data-pg-carousel-engine="index"] .pg-asset-track{
    transform-origin: center center !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    align-items: center !important;
  }
  /* Featured asset only: solid outline + strong, clean glow. */
  #pg-asset-row .pg-asset-pill.pg-asset-active{
    border: 2px solid rgba(var(--coin-rgb, var(--accent-rgb)),0.98) !important;
    border-radius: 22px !important;
    background:
      radial-gradient(220px 170px at 50% 42%, rgba(var(--coin-rgb, var(--accent-rgb)),0.30), rgba(var(--coin-rgb, var(--accent-rgb)),0.08) 48%, rgba(255,255,255,0.04) 72%, rgba(255,255,255,0.02) 100%),
      linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035)) !important;
    box-shadow:
      0 24px 46px rgba(0,0,0,0.54),
      0 0 0 1px rgba(255,255,255,0.42) inset,
      0 0 18px rgba(var(--coin-rgb, var(--accent-rgb)),0.70),
      0 0 38px rgba(var(--coin-rgb, var(--accent-rgb)),0.54),
      0 0 72px rgba(var(--coin-rgb, var(--accent-rgb)),0.34),
      inset 0 1px 0 rgba(255,255,255,0.18),
      inset 0 -1px 0 rgba(var(--coin-rgb, var(--accent-rgb)),0.28) !important;
    overflow: visible !important;
  }
  /* Strong aura around the card; no bottom beam/light strip. */
  #pg-asset-row .pg-asset-pill.pg-asset-active::before{
    content:"" !important;
    position:absolute !important;
    inset:-22px !important;
    border-radius: 30px !important;
    pointer-events:none !important;
    z-index:-1 !important;
    background: radial-gradient(72% 72% at 50% 50%, rgba(var(--coin-rgb, var(--accent-rgb)),0.46), rgba(var(--coin-rgb, var(--accent-rgb)),0.20) 42%, rgba(var(--coin-rgb, var(--accent-rgb)),0.00) 76%) !important;
    filter: blur(12px) !important;
    opacity: 1 !important;
  }
  /* Remove the previous glass/sweep highlight and internal horizon lighting. */
  #pg-asset-row .pg-asset-pill.pg-asset-active::after{
    content:none !important;
    display:none !important;
    animation:none !important;
    opacity:0 !important;
  }
  #pg-asset-row .pg-asset-pill.pg-asset-active .pg-asset-symbol{
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.18),
      0 18px 26px rgba(0,0,0,0.58),
      0 0 20px rgba(var(--coin-rgb, var(--accent-rgb)),0.40),
      0 0 44px rgba(var(--coin-rgb, var(--accent-rgb)),0.24) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1157-asset-track-featured-glow-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1158-ios-full-width-header-carousel-css ===== */
@media (max-width: 640px){
  @supports (-webkit-touch-callout: none){
    html.pg-demo-mode-light #pg-order-summary.pg-order-summary,
    html.pg-demo-mode-light #pg-order-summary.pg-order-summary.pg-order-has-items,
    html.pg-demo-mode-light #pg-order-summary.pg-or-has-items{
      width: 100vw !important;
      max-width: 100vw !important;
      min-width: 100vw !important;
      margin-left: calc(50% - 50vw) !important;
      margin-right: calc(50% - 50vw) !important;
      box-sizing: border-box !important;
    }
    html.pg-demo-mode-light #pg-order-summary .pg-os-row{
      width: 100% !important;
      max-width: 100% !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      box-sizing: border-box !important;
    }
    html.pg-demo-mode-light #pg-asset-row.pg-crypto-row,
    html.pg-demo-mode-light #pg-asset-row[data-pg-carousel-engine="index"]{
      width: 100vw !important;
      max-width: 100vw !important;
      min-width: 100vw !important;
      margin-left: calc(50% - 50vw) !important;
      margin-right: calc(50% - 50vw) !important;
      box-sizing: border-box !important;
    }
    html.pg-demo-mode-light #pg-asset-row[data-pg-carousel-engine="index"] .pg-asset-track{
      transform-origin: center center !important;
      align-items: center !important;
    }
  }
}
/* ===== END STYLE BLOCK: pg-step1158-ios-full-width-header-carousel-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1159-ios-auth-header-parity-css ===== */
@media (max-width: 640px){
  @supports (-webkit-touch-callout: none){
    html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-order-summary.pg-order-summary,
    html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-order-summary.pg-order-summary.pg-order-has-items,
    html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-order-summary.pg-or-has-items,
    html.pg-demo-mode-light.pg-demo-profile-livenation #pg-order-summary.pg-order-summary,
    html.pg-demo-mode-light.pg-demo-profile-livenation #pg-order-summary.pg-order-summary.pg-order-has-items,
    html.pg-demo-mode-light.pg-demo-profile-livenation #pg-order-summary.pg-or-has-items{
      /* Return to the same safe mobile width model as the sign-in shell.
         This cancels the overly aggressive 100vw expansion from Step 1158. */
      width: calc(100% + 24px) !important;
      max-width: none !important;
      min-width: 0 !important;
      margin-left: -12px !important;
      margin-right: -12px !important;
      padding: 5px 0 5px 5px !important;
      box-sizing: border-box !important;
      overflow: visible !important;
      transform: none !important;
    }
    html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-order-summary .pg-os-row,
    html.pg-demo-mode-light.pg-demo-profile-livenation #pg-order-summary .pg-os-row{
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      box-sizing: border-box !important;
      overflow: visible !important;
      transform: none !important;
    }
    /* Row-1 logos: match sign-in screen top/edge placement. */
    html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-order-summary #pg-os-merchant-logo,
    html.pg-demo-mode-light.pg-demo-profile-livenation #pg-order-summary #pg-os-merchant-logo{
      height: 26px !important;
      width: auto !important;
      max-width: 66% !important;
      object-fit: contain !important;
      margin: 0 !important;
      transform: translate3d(1px,8px,0) !important;
    }
    html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-order-summary .pg-os-brand,
    html.pg-demo-mode-light.pg-demo-profile-livenation #pg-order-summary .pg-os-brand{
      height: 26px !important;
      width: auto !important;
      max-width: 34% !important;
      object-fit: contain !important;
      margin: 0 !important;
      opacity: 0.92 !important;
      transform: translate3d(-6px,8px,0) !important;
    }
    /* Row-2 total: match sign-in .pg-auth-total sizing/placement. */
    html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-order-summary .pg-os-total,
    html.pg-demo-mode-light.pg-demo-profile-livenation #pg-order-summary .pg-os-total,
    html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-order-summary #pg-order-total-display,
    html.pg-demo-mode-light.pg-demo-profile-livenation #pg-order-summary #pg-order-total-display{
      font-size: 22px !important;
      line-height: 1 !important;
      font-weight: 800 !important;
      letter-spacing: 0.1px !important;
      white-space: nowrap !important;
    }
    html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-order-summary .pg-os-total,
    html.pg-demo-mode-light.pg-demo-profile-livenation #pg-order-summary .pg-os-total{
      margin: 0 !important;
      padding: 0 !important;
      transform: translate3d(-9px,17px,0) !important;
      text-align: right !important;
      color: #0d1b2a !important;
    }
    /* Keep the Event Details link visible and aligned while header elements move independently. */
    html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-order-summary .pg-os-merchant,
    html.pg-demo-mode-light.pg-demo-profile-livenation #pg-order-summary .pg-os-merchant{
      transform: translate3d(1px,7px,0) !important;
      color: #000000 !important;
    }
    /* Carousel: keep the row/background full within the same safe mobile bounds;
       do not shift the full page shell or modify the background design. */
    html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-asset-row.pg-crypto-row,
    html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-asset-row[data-pg-carousel-engine="index"],
    html.pg-demo-mode-light.pg-demo-profile-livenation #pg-asset-row.pg-crypto-row,
    html.pg-demo-mode-light.pg-demo-profile-livenation #pg-asset-row[data-pg-carousel-engine="index"]{
      width: calc(100% + 24px) !important;
      max-width: none !important;
      min-width: 0 !important;
      margin-left: -12px !important;
      margin-right: -12px !important;
      box-sizing: border-box !important;
      transform: none !important;
      overflow-x: hidden !important;
      overflow-y: visible !important;
    }
    html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-asset-row[data-pg-carousel-engine="index"] .pg-asset-track,
    html.pg-demo-mode-light.pg-demo-profile-livenation #pg-asset-row[data-pg-carousel-engine="index"] .pg-asset-track{
      transform-origin: center center !important;
      align-items: center !important;
    }
  }
}
/* ===== END STYLE BLOCK: pg-step1159-ios-auth-header-parity-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1161-ticketmaster-meta-parity-css ===== */
/* =========================================================
   STEP 1161 — EVENT LIGHT META PARITY CORRECTION
   Scope:
   - Mobile Ticketmaster / LiveNation light profiles only.
   - Restores the CURRENT BLAZE #pg-crypto-meta layout structure:
     first two .pg-crypto-meta-item nodes stay display:contents, third item stays hidden.
   - Applies ONLY light-profile color styling. No DOM structure, Radom, payment,
     wallet trigger, pending, complete, or carousel engine logic changed.
========================================================= */
@media (max-width: 520px){
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete),
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete){
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: 16px 26px !important;
    row-gap: 4px !important;
    column-gap: 8px !important;
    gap: 4px 8px !important;
    align-items: center !important;
    align-content: center !important;
    justify-items: stretch !important;
    width: calc(100% + 24px) !important;
    max-width: none !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    margin: -2px -12px 12px -12px !important;
    padding: 6px 13px 7px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 9px !important;
    color: #0d1b2a !important;
    background: linear-gradient(180deg, rgba(232,244,255,0.96), rgba(255,255,255,0.94)) !important;
    border: 1px solid rgba(0,108,227,0.24) !important;
    box-shadow:
      0 12px 26px rgba(0,108,227,0.08),
      inset 0 1px 0 rgba(255,255,255,0.90),
      inset 0 -1px 0 rgba(0,108,227,0.06) !important;
    transform: none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete)::before,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete)::after,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete)::before,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete)::after{
    content: none !important;
    display: none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(1),
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(2),
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(1),
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(2){
    display: contents !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(3),
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-assethead,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-note,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-method,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-path,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-total-label,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-total-amount,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-total-usd,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(3),
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-assethead,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-note,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-method,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-path,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-total-label,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-total-amount,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-total-usd{
    display: none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-label,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-label{
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(2) .pg-crypto-meta-label,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(2) .pg-crypto-meta-label{
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-label,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-label,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::before,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::before{
    align-self: end !important;
    justify-self: center !important;
    text-align: center !important;
    display: block !important;
    width: auto !important;
    height: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 300 !important;
    letter-spacing: 0.12em !important;
    line-height: 10px !important;
    text-transform: uppercase !important;
    color: rgba(0,108,227,0.78) !important;
    white-space: nowrap !important;
    text-shadow: none !important;
    opacity: 1 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-value,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-value{
    display: contents !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price{
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change{
    grid-column: 2 !important;
    grid-row: 2 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount{
    grid-column: 3 !important;
    grid-row: 2 !important;
    position: relative !important;
    font-size: 0 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::before,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::before{
    content: "YOU NEED" !important;
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: calc(100% + 6px) !important;
    transform: translateX(-50%) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::after,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::after{
    content: attr(data-pg-amount-only) !important;
    display: inline-block !important;
    font-size: 14px !important;
    line-height: 15px !important;
    font-weight: 550 !important;
    letter-spacing: 0.005em !important;
    color: #0d1b2a !important;
    white-space: nowrap !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change{
    align-self: start !important;
    justify-self: center !important;
    text-align: center !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 15px !important;
    font-weight: 550 !important;
    letter-spacing: 0.005em !important;
    white-space: nowrap !important;
    text-shadow: none !important;
    opacity: 1 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price{
    color: #0d1b2a !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change.pg-down,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-change.pg-down,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change.pg-down,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-change.pg-down{
    color: #ef3b4f !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change.pg-up,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-change.pg-up,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change.pg-up,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-change.pg-up{
    color: #16a34a !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1161-ticketmaster-meta-parity-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1162-ticketmaster-light-overlay-base-css ===== */
@media (max-width:640px){
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay{
    background:rgba(245,247,251,0.18) !important;
    color:#0d1b2a !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-sheet{
    background:
      radial-gradient(720px 420px at 50% -10%, rgba(var(--accent-rgb,0,108,227),0.12), rgba(255,255,255,0.00) 68%),
      linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    color:#0d1b2a !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:blur(18px) saturate(150%) !important;
    -webkit-backdrop-filter:blur(18px) saturate(150%) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-handle{
    background:rgba(13,27,42,0.16) !important;
    box-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-title{
    color:#0d1b2a !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-close{
    background:rgba(255,255,255,0.92) !important;
    color:#0d1b2a !important;
    border:1px solid rgba(13,27,42,0.10) !important;
    box-shadow:
      0 12px 28px rgba(13,27,42,0.10),
      inset 0 1px 0 rgba(255,255,255,0.95) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-hero{
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.42) !important;
    background:
      radial-gradient(440px 165px at 50% 88%, rgba(var(--accent-rgb,0,108,227),0.12), rgba(255,255,255,0.00) 72%),
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(244,249,255,0.94) 100%) !important;
    box-shadow:
      0 18px 38px rgba(13,27,42,0.12),
      0 0 0 1px rgba(var(--accent-rgb,0,108,227),0.06),
      inset 0 1px 0 rgba(255,255,255,0.96) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-hero::before{
    background:
      radial-gradient(90% 80% at 50% 100%, rgba(var(--accent-rgb,0,108,227),0.14), rgba(255,255,255,0.00) 72%),
      repeating-radial-gradient(ellipse at 50% 100%, rgba(var(--accent-rgb,0,108,227),0.14) 0 1px, transparent 1px 7px) !important;
    opacity:0.42 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-hero-k,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-total-label{
    color:rgba(13,27,42,0.72) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-merchant,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-total{
    color:#0d1b2a !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-items,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-status{
    color:rgb(var(--accent-rgb,0,108,227)) !important;
    text-shadow:0 0 14px rgba(var(--accent-rgb,0,108,227),0.14) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-license{
    color:rgba(13,27,42,0.58) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-status{
    background:rgba(var(--accent-rgb,0,108,227),0.10) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.85),
      0 0 16px rgba(var(--accent-rgb,0,108,227),0.10) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-status i{
    background:rgb(var(--accent-rgb,0,108,227)) !important;
    box-shadow:0 0 12px rgba(var(--accent-rgb,0,108,227),0.34) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-token-orb{
    background:
      radial-gradient(circle at 35% 25%, rgba(255,255,255,0.92), rgba(255,255,255,0.42) 42%),
      linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,249,255,0.98)) !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.58) !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.86) inset,
      0 0 24px rgba(var(--accent-rgb,0,108,227),0.22),
      0 14px 34px rgba(13,27,42,0.14) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-token-orb img{
    filter:drop-shadow(0 0 12px rgba(var(--accent-rgb,0,108,227),0.20)) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-details-card{
    background:rgba(255,255,255,0.88) !important;
    border:1px solid rgba(13,27,42,0.10) !important;
    box-shadow:
      0 18px 42px rgba(13,27,42,0.10),
      inset 0 1px 0 rgba(255,255,255,0.95) !important;
    color:#0d1b2a !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-details-title,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-line,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-line.pg-grand{
    color:#0d1b2a !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-line.pg-muted,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-note{
    color:rgba(13,27,42,0.66) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-sep{
    background:rgba(13,27,42,0.12) !important;
    box-shadow:0 1px 0 rgba(255,255,255,0.68) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-note{
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.24) !important;
    background:linear-gradient(180deg, rgba(var(--accent-rgb,0,108,227),0.08), rgba(255,255,255,0.74)) !important;
    box-shadow:
      0 16px 34px rgba(13,27,42,0.08),
      inset 0 1px 0 rgba(255,255,255,0.94) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay .pg-or-note svg{
    color:rgb(var(--accent-rgb,0,108,227)) !important;
    filter:drop-shadow(0 0 12px rgba(var(--accent-rgb,0,108,227),0.16)) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1162-ticketmaster-light-overlay-base-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1163-ticketmaster-light-rewards-overview-css ===== */
@media (max-width:640px){
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster.pg-rd-mobile-active,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster body.pg-rd-mobile-active{
    background:#f7fbff !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-mo-sheet{
    background:
      radial-gradient(720px 420px at 50% -10%, rgba(var(--accent-rgb,0,108,227),0.12), rgba(255,255,255,0.00) 68%),
      linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    color:#0d1b2a !important;
    box-shadow:none !important;
    border:0 !important;
    backdrop-filter:blur(18px) saturate(150%) !important;
    -webkit-backdrop-filter:blur(18px) saturate(150%) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-mo-content{
    background:transparent !important;
    color:#0d1b2a !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-mo-title{
    color:#0d1b2a !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-mo-close{
    background:rgba(255,255,255,0.92) !important;
    color:#0d1b2a !important;
    border:1px solid rgba(13,27,42,0.10) !important;
    box-shadow:0 12px 28px rgba(13,27,42,0.10), inset 0 1px 0 rgba(255,255,255,0.95) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-shell{
    --pg-rd-blue:0,108,227;
    --pg-rd-green:18,176,83;
    color:#0d1b2a !important;
    background:transparent !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-hero{
    border:1px solid rgba(var(--pg-rd-blue),0.34) !important;
    background:
      radial-gradient(420px 150px at 50% 82%, rgba(var(--pg-rd-blue),0.11), rgba(255,255,255,0.00) 72%),
      linear-gradient(180deg, rgba(255,255,255,0.97), rgba(244,249,255,0.95)) !important;
    box-shadow:
      0 18px 38px rgba(13,27,42,0.11),
      0 0 0 1px rgba(255,255,255,0.78) inset,
      0 0 26px rgba(var(--pg-rd-blue),0.08) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-hero::before{
    background:
      radial-gradient(90% 80% at 50% 100%, rgba(var(--pg-rd-blue),0.13), rgba(255,255,255,0.00) 72%),
      repeating-radial-gradient(ellipse at 50% 100%, rgba(var(--pg-rd-blue),0.12) 0 1px, transparent 1px 7px) !important;
    opacity:0.44 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-hero-k,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-hero-sub{
    color:rgba(13,27,42,0.62) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-hero-v{
    color:#0d1b2a !important;
    text-shadow:0 12px 24px rgba(13,27,42,0.08) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-hero-live{
    color:rgba(13,27,42,0.66) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-hero-live i{
    background:#1fd957 !important;
    box-shadow:0 0 10px rgba(31,217,87,0.44) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-token-orb{
    background:
      radial-gradient(circle at 35% 25%, rgba(255,255,255,0.86), rgba(255,255,255,0.16) 42%),
      linear-gradient(180deg, rgba(8,18,32,0.97), rgba(2,8,15,0.99)) !important;
    border:1px solid rgba(var(--pg-rd-blue),0.72) !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.20) inset,
      0 0 24px rgba(var(--pg-rd-blue),0.30),
      0 14px 34px rgba(13,27,42,0.18) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-token-orb img{
    filter:drop-shadow(0 0 14px rgba(var(--pg-rd-blue),0.34)) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-lifetime{
    color:#0d1b2a !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-lifetime-k{
    color:rgba(13,27,42,0.62) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-lifetime-v{
    color:#0d1b2a !important;
    text-shadow:0 12px 24px rgba(13,27,42,0.08) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-market{
    border:1px solid rgba(var(--pg-rd-blue),0.22) !important;
    background:
      radial-gradient(560px 260px at 50% 38%, rgba(var(--pg-rd-blue),0.10), rgba(255,255,255,0.00) 72%),
      linear-gradient(180deg, rgba(255,255,255,0.95), rgba(246,250,255,0.93)) !important;
    box-shadow:
      0 16px 32px rgba(13,27,42,0.10),
      0 0 0 1px rgba(255,255,255,0.82) inset,
      0 0 26px rgba(var(--pg-rd-blue),0.07) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-stat{
    border-right:1px solid rgba(13,27,42,0.09) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-stat:last-child{
    border-right:0 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-stat-k{
    color:rgba(13,27,42,0.54) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-stat-v,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-stat-v .pg-rd-change-val{
    color:#0d1b2a !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-stat-v.pg-pos .pg-rd-change-arrow,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-stat-v.pg-pos{
    color:#16a34a !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-stat-v.pg-neg .pg-rd-change-arrow,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-stat-v.pg-neg{
    color:#ef3b4f !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-chart-wrap{
    border-top:1px solid rgba(13,27,42,0.08) !important;
    background:linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.00)) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-range{
    border:1px solid rgba(var(--pg-rd-blue),0.28) !important;
    background:linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239,247,255,0.90)) !important;
    box-shadow:
      0 10px 24px rgba(13,27,42,0.08),
      inset 0 1px 0 rgba(255,255,255,0.95),
      0 0 18px rgba(var(--pg-rd-blue),0.06) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-range-btn{
    color:rgba(13,27,42,0.58) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-range-btn + .pg-rd-range-btn::before{
    background:rgba(13,27,42,0.10) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-range-btn.is-active{
    color:rgb(var(--pg-rd-blue)) !important;
    background:radial-gradient(90px 42px at 50% 50%, rgba(var(--pg-rd-blue),0.16), rgba(var(--pg-rd-blue),0.06) 62%, rgba(255,255,255,0.00) 100%) !important;
    box-shadow:inset 0 0 0 1px rgba(var(--pg-rd-blue),0.16) !important;
    text-shadow:0 0 12px rgba(var(--pg-rd-blue),0.12) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-chart{
    background:
      radial-gradient(420px 180px at 50% 20%, rgba(var(--pg-rd-blue),0.08), rgba(255,255,255,0.00) 72%),
      linear-gradient(180deg, rgba(246,250,255,0.88), rgba(255,255,255,0.72)) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.82) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-chart-grid line{
    stroke:rgba(13,27,42,0.10) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-chart-axis{
    color:rgba(13,27,42,0.58) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-price-tag{
    background:rgb(var(--pg-rd-blue)) !important;
    color:#ffffff !important;
    box-shadow:0 0 18px rgba(var(--pg-rd-blue),0.20), 0 8px 18px rgba(13,27,42,0.10) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-scrub-line{
    background:linear-gradient(180deg, rgba(255,255,255,0), rgba(var(--pg-rd-blue),0.62), rgba(255,255,255,0)) !important;
    box-shadow:0 0 14px rgba(var(--pg-rd-blue),0.22) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-orders-title{
    color:#0d1b2a !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-filter{
    border:1px solid rgba(13,27,42,0.10) !important;
    background:rgba(255,255,255,0.82) !important;
    color:rgba(13,27,42,0.78) !important;
    box-shadow:0 10px 24px rgba(13,27,42,0.07), inset 0 1px 0 rgba(255,255,255,0.94) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-filter b{
    color:rgb(var(--pg-rd-blue)) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-order{
    border:1px solid rgba(var(--pg-rd-blue),0.13) !important;
    background:
      radial-gradient(220px 90px at 0% 20%, rgba(var(--pg-rd-blue),0.06), rgba(255,255,255,0.00) 72%),
      linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,251,255,0.92)) !important;
    box-shadow:
      0 14px 30px rgba(13,27,42,0.08),
      inset 0 1px 0 rgba(255,255,255,0.95) !important;
    color:#0d1b2a !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-asset{
    background:rgba(255,255,255,0.88) !important;
    border:1px solid rgba(13,27,42,0.10) !important;
    box-shadow:0 10px 22px rgba(13,27,42,0.10), inset 0 1px 0 rgba(255,255,255,0.94) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-merchant,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-total{
    color:#0d1b2a !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-date{
    color:rgba(13,27,42,0.56) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-status{
    color:rgba(13,27,42,0.70) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-status i{
    background:rgb(var(--pg-rd-blue)) !important;
    box-shadow:0 0 8px rgba(var(--pg-rd-blue),0.44) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-earned{
    color:#16a34a !important;
    text-shadow:0 0 12px rgba(22,163,74,0.16) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-tab-overlay.pg-rewards-view-active .pg-rd-chev{
    color:rgba(13,27,42,0.44) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1163-ticketmaster-light-rewards-overview-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1164-ticketmaster-light-post-order-details-text-css ===== */
@media (max-width:640px){
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-sheet,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-content{
    color:#0d1b2a !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-hero{
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.42) !important;
    background:
      radial-gradient(440px 165px at 50% 88%, rgba(var(--accent-rgb,0,108,227),0.13), rgba(255,255,255,0.00) 72%),
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(238,247,255,0.94) 100%) !important;
    box-shadow:
      0 18px 38px rgba(13,27,42,0.12),
      0 0 0 1px rgba(255,255,255,0.78) inset,
      0 0 24px rgba(var(--accent-rgb,0,108,227),0.08) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-hero::before{
    background:
      radial-gradient(90% 80% at 50% 100%, rgba(var(--accent-rgb,0,108,227),0.13), rgba(255,255,255,0.00) 72%),
      repeating-radial-gradient(ellipse at 50% 100%, rgba(var(--accent-rgb,0,108,227),0.12) 0 1px, transparent 1px 7px) !important;
    opacity:0.40 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-post-avatar{
    color:#0d1b2a !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.44) !important;
    background:
      radial-gradient(circle at 35% 25%, rgba(255,255,255,0.96), rgba(255,255,255,0.56) 48%, rgba(239,247,255,0.96)) !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.86) inset,
      0 0 22px rgba(var(--accent-rgb,0,108,227),0.16),
      0 12px 28px rgba(13,27,42,0.12) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-merchant,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-total,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-mini-v,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-product-name,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-product-price,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-info-row b,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-line,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-line.pg-grand,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-details-title{
    color:#0d1b2a !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-address,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-post-license,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-post-date,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-total-label,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-paid-mini,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-mini-k,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-product-sub,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-info-row,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-line.pg-muted,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-line.pg-total-paid-row,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-note{
    color:rgba(13,27,42,0.64) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-post-license,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-post-date,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-paid-mini,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-mini-k,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-product-sub{
    opacity:1 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-status{
    color:rgb(var(--accent-rgb,0,108,227)) !important;
    background:rgba(var(--accent-rgb,0,108,227),0.10) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.86),
      0 0 16px rgba(var(--accent-rgb,0,108,227),0.10) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-status i{
    background:rgb(var(--accent-rgb,0,108,227)) !important;
    box-shadow:0 0 10px rgba(var(--accent-rgb,0,108,227),0.34) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-id-row,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-chain-row,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-reward-balance{
    border-color:rgba(13,27,42,0.11) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-sep{
    background:rgba(13,27,42,0.12) !important;
    box-shadow:0 1px 0 rgba(255,255,255,0.68) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-details-card,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-section-card{
    background:rgba(255,255,255,0.88) !important;
    border:1px solid rgba(13,27,42,0.10) !important;
    box-shadow:
      0 18px 42px rgba(13,27,42,0.10),
      inset 0 1px 0 rgba(255,255,255,0.95) !important;
    color:#0d1b2a !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-chain-icon{
    background:rgba(var(--accent-rgb,0,108,227),0.08) !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.24) !important;
    box-shadow:0 0 16px rgba(var(--accent-rgb,0,108,227),0.12) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-chain-btn{
    background:rgba(var(--accent-rgb,0,108,227),0.08) !important;
    color:rgb(var(--accent-rgb,0,108,227)) !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.30) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.82), 0 0 14px rgba(var(--accent-rgb,0,108,227),0.08) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-reward-line{
    color:rgba(13,27,42,0.64) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-reward-line b{
    color:#16a34a !important;
    text-shadow:0 0 12px rgba(22,163,74,0.14) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-reward-line.pg-negative b{
    color:#ef3b4f !important;
    text-shadow:0 0 12px rgba(239,59,79,0.12) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-reward-balance{
    color:#0d1b2a !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-reward-balance b{
    color:rgb(var(--accent-rgb,0,108,227)) !important;
    text-shadow:0 0 12px rgba(var(--accent-rgb,0,108,227),0.14) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-reward-svg{
    background:rgb(var(--accent-rgb,0,108,227)) !important;
    filter:drop-shadow(0 0 14px rgba(var(--accent-rgb,0,108,227),0.18)) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster .pg-order-review-overlay.pg-or-post .pg-or-note svg{
    color:rgba(var(--accent-rgb,0,108,227),0.72) !important;
    filter:none !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1164-ticketmaster-light-post-order-details-text-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1165-ticketmaster-light-account-overlay-css ===== */
@media (max-width:640px){
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay.pg-mobile-overlay{
    color:#0d1b2a !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay > div:nth-child(1),
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-sheet{
    background:
      radial-gradient(520px 360px at 50% -8%, rgba(var(--accent-rgb,0,108,227),0.13), rgba(255,255,255,0.00) 70%),
      radial-gradient(420px 240px at 100% 4%, rgba(var(--accent-rgb,0,108,227),0.08), rgba(255,255,255,0.00) 72%),
      linear-gradient(180deg, rgba(246,250,255,0.98) 0%, rgba(255,255,255,0.97) 58%, rgba(241,248,255,0.96) 100%) !important;
    color:#0d1b2a !important;
    border:0 !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.98),
      0 -18px 42px rgba(13,27,42,0.06) !important;
    backdrop-filter:blur(18px) saturate(1.08) !important;
    -webkit-backdrop-filter:blur(18px) saturate(1.08) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-sheet::before,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-sheet::after{
    opacity:0 !important;
    background:none !important;
    box-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-handle{
    background:rgba(13,27,42,0.16) !important;
    box-shadow:0 1px 0 rgba(255,255,255,0.88) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-header{
    color:#0d1b2a !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-title,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay #pg-account-title{
    color:#0d1b2a !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-close,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-back{
    color:#0d1b2a !important;
    background:rgba(255,255,255,0.86) !important;
    border:1px solid rgba(13,27,42,0.08) !important;
    box-shadow:
      0 12px 26px rgba(13,27,42,0.08),
      inset 0 1px 0 rgba(255,255,255,0.96) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-close svg,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-back svg{
    color:#0d1b2a !important;
    stroke:#0d1b2a !important;
    filter:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-content{
    color:#0d1b2a !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-section-title{
    color:rgba(13,27,42,0.48) !important;
    text-shadow:none !important;
    opacity:1 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-card{
    background:
      radial-gradient(260px 120px at 10% 0%, rgba(var(--accent-rgb,0,108,227),0.06), rgba(255,255,255,0.00) 72%),
      linear-gradient(180deg, rgba(255,255,255,0.88), rgba(246,250,255,0.78)) !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.20) !important;
    box-shadow:
      0 16px 34px rgba(13,27,42,0.10),
      inset 0 1px 0 rgba(255,255,255,0.96),
      0 0 22px rgba(var(--accent-rgb,0,108,227),0.06) !important;
    color:#0d1b2a !important;
    backdrop-filter:blur(14px) saturate(1.06) !important;
    -webkit-backdrop-filter:blur(14px) saturate(1.06) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-demo-card{
    background:
      radial-gradient(280px 120px at 8% 18%, rgba(var(--accent-rgb,0,108,227),0.11), rgba(255,255,255,0.00) 72%),
      linear-gradient(180deg, rgba(255,255,255,0.90), rgba(239,247,255,0.82)) !important;
    border-color:rgba(var(--accent-rgb,0,108,227),0.34) !important;
    box-shadow:
      0 18px 36px rgba(13,27,42,0.11),
      inset 0 1px 0 rgba(255,255,255,0.96),
      0 0 24px rgba(var(--accent-rgb,0,108,227),0.10) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-row{
    color:#0d1b2a !important;
    border-color:rgba(13,27,42,0.08) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-row + .pg-acct-row{
    border-top-color:rgba(13,27,42,0.08) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-label{
    color:#0d1b2a !important;
    text-shadow:none !important;
    opacity:1 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-sub{
    color:rgba(13,27,42,0.58) !important;
    text-shadow:none !important;
    opacity:1 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-meta{
    color:rgba(13,27,42,0.58) !important;
    text-shadow:none !important;
    opacity:1 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-ico{
    color:rgba(var(--accent-rgb,0,108,227),0.78) !important;
    background:rgba(var(--accent-rgb,0,108,227),0.08) !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.16) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.86),
      0 8px 18px rgba(13,27,42,0.07) !important;
    text-shadow:none !important;
    opacity:1 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-ico svg,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-ico path{
    color:rgba(var(--accent-rgb,0,108,227),0.78) !important;
    stroke:currentColor !important;
    filter:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-chevron{
    color:rgba(13,27,42,0.42) !important;
    text-shadow:none !important;
    opacity:1 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-chevron svg,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-chevron path{
    color:rgba(13,27,42,0.42) !important;
    stroke:currentColor !important;
    filter:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-profile-logo{
    filter:
      drop-shadow(0 8px 14px rgba(13,27,42,0.08))
      drop-shadow(0 0 10px rgba(var(--accent-rgb,0,108,227),0.12)) !important;
    opacity:1 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay #pg-demo-profile-value,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-demo-value{
    color:rgb(var(--accent-rgb,0,108,227)) !important;
    text-shadow:0 0 10px rgba(var(--accent-rgb,0,108,227),0.10) !important;
    opacity:1 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-demo-pill{
    color:#ffffff !important;
    background:rgb(var(--accent-rgb,0,108,227)) !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.36) !important;
    box-shadow:
      0 10px 22px rgba(var(--accent-rgb,0,108,227),0.16),
      inset 0 1px 0 rgba(255,255,255,0.32) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-edit-btn,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay #pg-demo-profile-apply{
    color:rgb(var(--accent-rgb,0,108,227)) !important;
    background:rgba(var(--accent-rgb,0,108,227),0.08) !important;
    border:1px solid rgba(var(--accent-rgb,0,108,227),0.28) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.82),
      0 10px 22px rgba(13,27,42,0.06) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-acct-edit-btn:active,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay #pg-demo-profile-apply:active{
    transform:scale(0.992) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-profile-option,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-demo-profile-option{
    background:rgba(255,255,255,0.84) !important;
    border:1px solid rgba(13,27,42,0.10) !important;
    color:#0d1b2a !important;
    box-shadow:
      0 12px 26px rgba(13,27,42,0.07),
      inset 0 1px 0 rgba(255,255,255,0.95) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-profile-option.is-active,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-demo-profile-option.is-active{
    border-color:rgba(var(--accent-rgb,0,108,227),0.36) !important;
    background:
      radial-gradient(220px 90px at 0% 20%, rgba(var(--accent-rgb,0,108,227),0.08), rgba(255,255,255,0.00) 72%),
      rgba(255,255,255,0.90) !important;
    box-shadow:
      0 14px 28px rgba(13,27,42,0.08),
      inset 0 1px 0 rgba(255,255,255,0.95),
      0 0 20px rgba(var(--accent-rgb,0,108,227),0.08) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay input,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay select,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay textarea{
    color:#0d1b2a !important;
    background:rgba(255,255,255,0.90) !important;
    border:1px solid rgba(13,27,42,0.12) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.92) !important;
    text-shadow:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay input::placeholder,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay textarea::placeholder{
    color:rgba(13,27,42,0.42) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay input:focus,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay select:focus,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay textarea:focus{
    border-color:rgba(var(--accent-rgb,0,108,227),0.46) !important;
    box-shadow:
      0 0 0 3px rgba(var(--accent-rgb,0,108,227),0.10),
      inset 0 1px 0 rgba(255,255,255,0.92) !important;
  }
}
/* =========================================================
   STEP 1166 — TICKETMASTER LIGHT: INDUSTRY PROFILE SELECTOR CARDS
   Scope: CSS-only overrides for the existing Account > Industry view.
   Goal:
   - Preserve current selector DOM / profile-switching behavior.
   - Keep the approved Ticketmaster light overlay background.
   - Make each industry option preview its own visual identity:
     Ticketmaster = light/blue, LiveNation = dark/red, BLAZE = dark/teal.
   - No structure changes. No legacy containers.
========================================================= */
@media (max-width: 520px){
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-acct-section-title{
    color:rgba(13,27,42,0.46) !important;
    text-shadow:none !important;
    letter-spacing:0.18em !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-profile-note{
    display:none !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-options{
    gap:14px !important;
    margin-top:104px !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option{
    min-height:82px !important;
    border-radius:18px !important;
    grid-template-columns:58px minmax(0,1fr) 28px !important;
    gap:14px !important;
    padding:12px 14px !important;
    overflow:hidden !important;
    position:relative !important;
    isolation:isolate !important;
    text-shadow:none !important;
    -webkit-tap-highlight-color:transparent !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    border-radius:inherit !important;
    pointer-events:none !important;
    z-index:-1 !important;
    opacity:1 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option::after{
    content:"" !important;
    position:absolute !important;
    left:14px !important;
    right:14px !important;
    top:0 !important;
    height:1px !important;
    pointer-events:none !important;
    background:linear-gradient(90deg, rgba(255,255,255,0.00), rgba(255,255,255,0.62), rgba(255,255,255,0.00)) !important;
    opacity:0.70 !important;
  }
  /* Ticketmaster selected card — light preview */
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option[data-demo-profile="ticketmaster"]{
    color:#0d1b2a !important;
    border:1px solid rgba(0,108,227,0.72) !important;
    background:
      radial-gradient(260px 110px at 2% 8%, rgba(0,108,227,0.14), rgba(255,255,255,0.00) 70%),
      linear-gradient(180deg, rgba(255,255,255,0.90), rgba(235,246,255,0.88)) !important;
    box-shadow:
      0 18px 34px rgba(13,27,42,0.09),
      0 0 0 1px rgba(0,108,227,0.18) inset,
      0 0 22px rgba(0,108,227,0.12) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option[data-demo-profile="ticketmaster"] .pg-demo-option-title{
    color:#0d1b2a !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option[data-demo-profile="ticketmaster"] .pg-demo-option-sub{
    color:rgba(13,27,42,0.56) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option[data-demo-profile="ticketmaster"] .pg-demo-option-logoWrap{
    background:rgba(255,255,255,0.96) !important;
    border:1px solid rgba(0,108,227,0.16) !important;
    box-shadow:
      0 12px 24px rgba(13,27,42,0.10),
      inset 0 1px 0 rgba(255,255,255,0.98) !important;
  }
  /* LiveNation card — dark event preview */
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option[data-demo-profile="livenation"]{
    color:rgba(255,255,255,0.94) !important;
    border:1px solid rgba(232,24,61,0.42) !important;
    background:
      radial-gradient(270px 120px at 100% 0%, rgba(232,24,61,0.28), rgba(232,24,61,0.00) 68%),
      linear-gradient(180deg, rgba(18,20,24,0.96), rgba(7,9,12,0.98)) !important;
    box-shadow:
      0 18px 34px rgba(13,27,42,0.18),
      0 0 0 1px rgba(255,255,255,0.06) inset,
      0 0 24px rgba(232,24,61,0.12) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option[data-demo-profile="livenation"] .pg-demo-option-title{
    color:rgba(255,255,255,0.94) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option[data-demo-profile="livenation"] .pg-demo-option-sub{
    color:rgba(255,255,255,0.64) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option[data-demo-profile="livenation"] .pg-demo-option-logoWrap{
    background:rgba(255,255,255,0.96) !important;
    border:1px solid rgba(232,24,61,0.20) !important;
    box-shadow:
      0 12px 24px rgba(0,0,0,0.26),
      0 0 18px rgba(232,24,61,0.10) !important;
  }
  /* BLAZE card — dark teal preview */
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option[data-demo-profile="blaze"]{
    color:rgba(255,255,255,0.94) !important;
    border:1px solid rgba(27,197,233,0.48) !important;
    background:
      radial-gradient(270px 120px at 0% 0%, rgba(27,197,233,0.24), rgba(27,197,233,0.00) 68%),
      linear-gradient(180deg, rgba(8,22,24,0.96), rgba(4,10,12,0.98)) !important;
    box-shadow:
      0 18px 34px rgba(13,27,42,0.18),
      0 0 0 1px rgba(255,255,255,0.06) inset,
      0 0 24px rgba(27,197,233,0.12) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option[data-demo-profile="blaze"] .pg-demo-option-title{
    color:rgba(255,255,255,0.94) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option[data-demo-profile="blaze"] .pg-demo-option-sub{
    color:rgba(255,255,255,0.64) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option[data-demo-profile="blaze"] .pg-demo-option-logoWrap{
    background:rgba(27,197,233,0.14) !important;
    border:1px solid rgba(27,197,233,0.28) !important;
    box-shadow:
      0 12px 24px rgba(0,0,0,0.26),
      0 0 18px rgba(27,197,233,0.14) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option[data-demo-profile="blaze"] .pg-demo-blaze-logoWrap .pg-demo-option-title{
    color:rgb(27,197,233) !important;
    text-shadow:0 0 14px rgba(27,197,233,0.18) !important;
  }
  /* Radio/check affordance */
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option .pg-demo-option-check{
    width:26px !important;
    height:26px !important;
    border-radius:999px !important;
    border:2px solid rgba(255,255,255,0.44) !important;
    color:#ffffff !important;
    background:rgba(255,255,255,0.05) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.12) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option[data-demo-profile="ticketmaster"] .pg-demo-option-check{
    border-color:rgba(0,108,227,0.34) !important;
    background:rgba(0,108,227,0.08) !important;
    color:#006ce3 !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] .pg-demo-option.is-selected .pg-demo-option-check{
    border-color:rgba(var(--pg-demo-option-rgb,0,108,227),1) !important;
    background:rgb(var(--pg-demo-option-rgb,0,108,227)) !important;
    color:#ffffff !important;
    box-shadow:
      0 10px 20px rgba(var(--pg-demo-option-rgb,0,108,227),0.22),
      inset 0 1px 0 rgba(255,255,255,0.30) !important;
  }
  /* Apply button stays Ticketmaster blue while Ticketmaster is active */
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-mobile-account-overlay .pg-mo-view[data-view="industry"] #pg-demo-profile-apply.pg-demo-apply{
    height:58px !important;
    margin-top:36px !important;
    color:#006ce3 !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.88), rgba(232,244,255,0.82)) !important;
    border:1px solid rgba(0,108,227,0.36) !important;
    box-shadow:
      0 16px 32px rgba(13,27,42,0.08),
      0 0 0 1px rgba(0,108,227,0.10) inset,
      inset 0 1px 0 rgba(255,255,255,0.96) !important;
    text-shadow:none !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1165-ticketmaster-light-account-overlay-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1167-ticketmaster-light-tx-meta-bleed-correction-css ===== */
/* =========================================================
   STEP 1167 — TICKETMASTER LIGHT MODE: TX META BLEED CORRECTION
   Goal:
   - Remove old crypto meta/token rows from pending + complete phases
   - Preserve the current transaction animation overlay and asset status row
   - CSS-only. No DOM, Radom, payment, wallet, or trigger logic changes.
========================================================= */
@media (max-width: 520px){
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete{
    position: relative !important;
    height: 216px !important;
    min-height: 216px !important;
    overflow: hidden !important;
  }
  /* Hide ONLY the underlying live-meta cells that were bleeding through. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending > .pg-crypto-meta-item,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete > .pg-crypto-meta-item,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending > .pg-ar-body,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete > .pg-ar-body,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending > .pg-ad-bottom,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete > .pg-ad-bottom{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  /* Defensive ID-level hide for display:contents/browser bleed cases. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending #pg-meta-price,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending #pg-meta-change,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending #pg-meta-amount,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending #pg-meta-method,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending #pg-crypto-meta-note,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete #pg-meta-price,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete #pg-meta-change,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete #pg-meta-amount,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete #pg-meta-method,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete #pg-crypto-meta-note{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  /* Preserve and elevate the actual TX animation overlay only. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending > #pg-tx-overlay,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete > #pg-tx-overlay,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending > .pg-tx-overlay,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete > .pg-tx-overlay{
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 10060 !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending > #pg-tx-overlay *,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete > #pg-tx-overlay *,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending > .pg-tx-overlay *,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete > .pg-tx-overlay *{
    visibility: visible !important;
    pointer-events: auto !important;
  }
  /* Keep pending intentionally softer; complete full-strength. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row *{
    opacity: 0.72 !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row *{
    opacity: 1 !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1167-ticketmaster-light-tx-meta-bleed-correction-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1168-ticketmaster-light-tx-animation-hero-css ===== */
/* =========================================================
   STEP 1168 — TICKETMASTER LIGHT MODE: TX ANIMATION HERO VISUAL PASS
   Goal:
   - Preserve the exact pending/complete TX animation, timing, DOM, JS, Radom,
     wallet trigger, and payment logic.
   - Apply only Ticketmaster/light-mode coloring, shading, glow, and contrast.
   - Remove the remaining visual divider/line that breaks the hero animation.
========================================================= */
@media (max-width: 520px){
  /* Hero stage shell during pending + complete only */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete{
    background:
      radial-gradient(120% 110% at 50% 18%,
        rgba(0,108,227,0.18) 0%,
        rgba(132,196,255,0.15) 30%,
        rgba(255,255,255,0.86) 66%,
        rgba(255,255,255,0.96) 100%) !important;
    border-color: rgba(0,108,227,0.24) !important;
    box-shadow:
      0 18px 38px rgba(0,108,227,0.10),
      0 0 0 1px rgba(0,108,227,0.10) inset,
      inset 0 1px 0 rgba(255,255,255,0.96),
      inset 0 -1px 0 rgba(255,255,255,0.92) !important;
  }
  /* Neutralize pseudo dividers/edge lines only during TX animation states. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-ad-bottom,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-ad-bottom{
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending #pg-tx-overlay,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete #pg-tx-overlay{
    color:#0d1b2a !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }
  /* Premium light-mode hero glow behind the exact same animation. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending #pg-tx-overlay::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete #pg-tx-overlay::before{
    content:"" !important;
    position:absolute !important;
    left:50% !important;
    top:45% !important;
    width:118% !important;
    height:138px !important;
    transform:translate(-50%,-50%) !important;
    display:block !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:none !important;
    background:
      radial-gradient(closest-side at 50% 50%,
        rgba(0,108,227,0.22),
        rgba(0,108,227,0.13) 38%,
        rgba(132,196,255,0.08) 62%,
        rgba(255,255,255,0.00) 100%) !important;
    filter: blur(14px) !important;
    z-index:0 !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending #pg-tx-overlay::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete #pg-tx-overlay::after{
    content:"" !important;
    position:absolute !important;
    left:10px !important;
    right:10px !important;
    top:18px !important;
    height:1px !important;
    display:block !important;
    opacity:0.62 !important;
    visibility:visible !important;
    pointer-events:none !important;
    background:linear-gradient(90deg,
      rgba(0,108,227,0.00),
      rgba(0,108,227,0.28),
      rgba(0,108,227,0.00)) !important;
    box-shadow:0 0 16px rgba(0,108,227,0.18) !important;
    z-index:0 !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-inner,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-inner{
    color:#0d1b2a !important;
    text-shadow:none !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-title,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-title{
    color:#0d1b2a !important;
    text-shadow:
      0 1px 0 rgba(255,255,255,0.92),
      0 12px 24px rgba(0,108,227,0.10) !important;
  }
  /* Keep the same TX card/animation block, but translate dark glass into light glass. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-pending-card,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-pending-card{
    background:
      radial-gradient(130% 120% at 50% 12%,
        rgba(255,255,255,0.72),
        rgba(232,244,255,0.34) 44%,
        rgba(255,255,255,0.00) 72%) !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }
  /* Bring the pending row back to HERO visibility while preserving flow animation. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row *{
    opacity:0.94 !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row *{
    opacity:1 !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-wc-asset-tile,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-wc-asset-tile,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-wc-asset-link,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-wc-asset-link{
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96), rgba(232,244,255,0.82)) !important;
    border-color: rgba(0,108,227,0.20) !important;
    box-shadow:
      0 14px 26px rgba(13,27,42,0.12),
      0 0 0 1px rgba(255,255,255,0.92) inset,
      0 0 24px rgba(0,108,227,0.12) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-wc-asset-link,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-wc-asset-link{
    background:
      radial-gradient(circle at 50% 36%, rgba(0,108,227,0.16), rgba(255,255,255,0.92) 58%, rgba(232,244,255,0.84) 100%) !important;
    border-color: rgba(0,108,227,0.32) !important;
    box-shadow:
      0 16px 28px rgba(0,108,227,0.14),
      0 0 0 1px rgba(255,255,255,0.92) inset,
      0 0 28px rgba(0,108,227,0.16) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-wc-asset-lock svg path,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-wc-asset-lock svg path{
    fill:rgba(13,27,42,0.38) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-flow-beam,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-flow-beam{
    background:linear-gradient(90deg,
      rgba(0,108,227,0.00),
      rgba(0,108,227,0.34),
      rgba(0,108,227,0.00)) !important;
    filter:blur(8px) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-flow-beam::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-flow-beam::before{
    background:radial-gradient(circle,
      rgba(255,255,255,0.96) 0%,
      rgba(0,108,227,0.62) 36%,
      rgba(0,108,227,0.10) 70%,
      rgba(0,108,227,0.00) 100%) !important;
    box-shadow:
      0 0 16px rgba(0,108,227,0.38),
      0 0 30px rgba(0,108,227,0.18) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-flow-beam::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-flow-beam::after{
    background:radial-gradient(circle,
      rgba(0,108,227,0.18) 0%,
      rgba(0,108,227,0.08) 34%,
      rgba(0,108,227,0.00) 70%) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-paid::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-lock::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-reward::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-paid::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-lock::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-reward::after{
    color:#0d1b2a !important;
    text-shadow:
      0 1px 0 rgba(255,255,255,0.88),
      0 10px 22px rgba(0,108,227,0.10) !important;
  }
  /* Blue status subline visibility, same motion/position/content. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-paid::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-lock::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-reward::after{
    color:#0d1b2a !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-rewards-main,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-rewards-main{
    color:#0d1b2a !important;
    text-shadow:
      0 1px 0 rgba(255,255,255,0.94),
      0 14px 28px rgba(0,108,227,0.12) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-rewards-sub,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-rewards-sub{
    color:rgba(13,27,42,0.62) !important;
    text-shadow:none !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-rewards-main{
    color:#006ce3 !important;
    text-shadow:
      0 1px 0 rgba(255,255,255,0.92),
      0 0 22px rgba(0,108,227,0.20) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1168-ticketmaster-light-tx-animation-hero-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1169-ticketmaster-light-tx-animation-final-color-pass-css ===== */
/* =========================================================
   STEP 1169 — TICKETMASTER LIGHT MODE: TX ANIMATION FINAL COLOR PASS
   Goal:
   - CSS-only visual refinement for pending/complete TX animation.
   - No DOM, JS, Radom, wallet trigger, timing, or animation structure changes.
   - Remove distracting light-blue shell outline / divider line.
   - Make TX asset labels, reward values, completed label, and Close Order button
     readable and brand-aligned in Ticketmaster light mode.
========================================================= */
@media (max-width: 520px){
  /* Softer hero shell: remove visible blue outline while keeping the light hero aura. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete{
    border-color: rgba(0,108,227,0.08) !important;
    box-shadow:
      0 18px 38px rgba(0,108,227,0.08),
      0 0 0 1px rgba(255,255,255,0.82) inset,
      inset 0 1px 0 rgba(255,255,255,0.98) !important;
  }
  /* Remove the Step-1168 horizontal shimmer/divider line inside the TX hero area. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending #pg-tx-overlay::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete #pg-tx-overlay::after{
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
  }
  /* Keep the flow beam elegant on white without adding a hard container line. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row::before{
    background:linear-gradient(90deg,
      rgba(0,108,227,0.00),
      rgba(0,108,227,0.20) 25%,
      rgba(0,108,227,0.26) 50%,
      rgba(0,108,227,0.20) 75%,
      rgba(0,108,227,0.00)) !important;
    box-shadow:0 0 10px rgba(0,108,227,0.10) !important;
    opacity:0.54 !important;
  }
  /* Asset/status labels under ETH / lock / ZLNC: dark first line, blue status line. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-paid::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-lock::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-reward::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-paid::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-lock::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-reward::after{
    color:#0d1b2a !important;
    text-shadow:
      0 1px 0 rgba(255,255,255,0.96),
      0 10px 20px rgba(0,108,227,0.08) !important;
  }
  /* Blue status word overlay for the second line, without changing markup/content. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-paid,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-lock,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-reward,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-paid,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-lock,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-reward{
    --pg-tx-status-word: "Asset";
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-lock{ --pg-tx-status-word:"Verifying"; }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-reward{ --pg-tx-status-word:"Pending"; }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-paid{ --pg-tx-status-word:"Confirmed"; }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-lock{ --pg-tx-status-word:"Secured"; }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-reward{ --pg-tx-status-word:"Completed"; }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-paid::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-lock::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-pending .pg-tx-assets-row .pg-tx-asset-reward::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-paid::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-lock::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-assets-row .pg-tx-asset-reward::before{
    content:var(--pg-tx-status-word) !important;
    position:absolute !important;
    left:50% !important;
    top:calc(100% + 20px) !important;
    transform:translateX(-50%) !important;
    width:84px !important;
    text-align:center !important;
    font-size:10px !important;
    line-height:1 !important;
    font-weight:750 !important;
    letter-spacing:0.01em !important;
    text-transform:none !important;
    color:#006ce3 !important;
    text-shadow:0 1px 0 rgba(255,255,255,0.96), 0 0 12px rgba(0,108,227,0.12) !important;
    pointer-events:none !important;
    z-index:4 !important;
  }
  /* Rewards generation values on complete: readable, branded, still animated by existing JS/CSS. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete #pg-tx-rewards-main,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-rewards-main,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete #pg-tx-reward-token{
    color:#006ce3 !important;
    text-shadow:
      0 1px 0 rgba(255,255,255,0.98),
      0 0 22px rgba(0,108,227,0.22) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete #pg-tx-rewards-sub,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete .pg-tx-rewards-sub,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-crypto-meta.is-tx-complete #pg-tx-reward-usd{
    color:rgba(13,27,42,0.54) !important;
    text-shadow:0 1px 0 rgba(255,255,255,0.94) !important;
  }
  /* Featured asset complete label: readable on light mode. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light:has(#pg-crypto-meta.is-tx-complete) #pg-asset-row .pg-asset-active,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light:has(#pg-crypto-meta.is-tx-complete) #pg-asset-row .pg-asset-active *{
    color:#0d1b2a !important;
    text-shadow:0 1px 0 rgba(255,255,255,0.90), 0 10px 22px rgba(0,108,227,0.10) !important;
  }
  /* Completed orb/checkmark gets the active profile brand color without altering animation logic. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light:has(#pg-crypto-meta.is-tx-complete) #pg-asset-row .pg-asset-active .pg-asset-symbol,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light:has(#pg-crypto-meta.is-tx-complete) #pg-asset-row .pg-asset-active .pg-asset-logo,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light:has(#pg-crypto-meta.is-tx-complete) #pg-asset-row .pg-asset-active svg{
    background:radial-gradient(circle at 35% 28%, rgba(132,196,255,0.92), #006ce3 68%, #0057b8 100%) !important;
    border-color:rgba(255,255,255,0.70) !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.36) inset,
      0 0 22px rgba(0,108,227,0.34),
      0 16px 28px rgba(0,108,227,0.18) !important;
  }
  /* Close Order button: same light/blue skin language as the active payment hero button. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-mobile-close-order-ready #pg-hybredpayment-hero{
    background:
      radial-gradient(110% 160% at 24% 12%, rgba(255,255,255,0.18), rgba(255,255,255,0.00) 55%),
      radial-gradient(120% 180% at 78% 20%, rgba(132,196,255,0.22), rgba(0,108,227,0.10) 52%, rgba(0,108,227,0.00) 78%),
      linear-gradient(180deg, #128cf4 0%, #006ce3 58%, #005fca 100%) !important;
    border:1px solid rgba(0,108,227,0.76) !important;
    box-shadow:
      0 16px 30px rgba(0,108,227,0.18),
      0 0 0 1px rgba(255,255,255,0.28) inset,
      0 0 24px rgba(0,108,227,0.16) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-mobile-close-order-ready #pg-hybredpayment-hero::before{
    background:
      linear-gradient(90deg, rgba(255,255,255,0.00), rgba(255,255,255,0.38) 18%, rgba(255,255,255,0.16) 50%, rgba(255,255,255,0.38) 82%, rgba(255,255,255,0.00)) 0 0/100% 1px no-repeat,
      linear-gradient(90deg, rgba(255,255,255,0.00), rgba(132,196,255,0.42) 18%, rgba(255,255,255,0.18) 50%, rgba(132,196,255,0.42) 82%, rgba(255,255,255,0.00)) 0 100%/100% 1px no-repeat !important;
    opacity:.78 !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-hybredpayment-hero .pg-close-order-check{
    border-color:rgba(255,255,255,0.90) !important;
    background:rgba(0,108,227,0.12) !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.24) inset,
      0 0 18px rgba(255,255,255,0.18) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-hybredpayment-hero .pg-close-order-title,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-hybredpayment-hero .pg-close-order-sub,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-hybredpayment-hero .pg-close-order-count{
    color:#ffffff !important;
    text-shadow:0 1px 0 rgba(0,47,102,0.44), 0 0 12px rgba(255,255,255,0.10) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-hybredpayment-hero .pg-close-order-sub{ color:rgba(255,255,255,0.82) !important; }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-hybredpayment-hero .pg-close-order-sub strong{ color:#ffffff !important; }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-hybredpayment-hero .pg-close-order-timer .pg-co-track{ stroke:rgba(255,255,255,0.22) !important; }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-hybredpayment-hero .pg-close-order-timer .pg-co-progress{
    stroke:#78d9ff !important;
    filter:drop-shadow(0 0 8px rgba(120,217,255,0.45)) !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1169-ticketmaster-light-tx-animation-final-color-pass-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1170-ticketmaster-light-apply-rewards-visual-pass-css ===== */
/* =========================================================
   STEP 1170 — TICKETMASTER LIGHT MODE: APPLY REWARDS VISUAL PASS
   Goal:
   - CSS-only light-mode conversion for the Apply Rewards entry screen.
   - No DOM, JS, keypad logic, Radom, wallet trigger, or payment logic changes.
   - Preserve existing header and payment hero behavior.
   - Convert #pg-rewards-code, .pg-ar-stack, #pg-ar-entered, and keypad buttons
     into the approved Ticketmaster light overlay system.
========================================================= */
@media (max-width: 520px){
  /* Screen surface: keep header intact, but remove the dark rewards-entry stage feel. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #crypto-gateway-demo-root,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root:has(#pg-rewards-code.is-ar-open),
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light:has(#pg-ar-overlay[aria-hidden="false"]) #crypto-gateway-demo-root{
    background:
      radial-gradient(680px 420px at 50% 18%, rgba(0,108,227,0.12), rgba(0,108,227,0.00) 62%),
      linear-gradient(180deg, #f3f9ff 0%, #ffffff 44%, #f7fbff 100%) !important;
    color:#0d1b2a !important;
  }
  /* Available Rewards hero card — light glass, blue-fintech energy, same structure. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-code-open{
    background:
      radial-gradient(420px 170px at 50% 100%, rgba(0,108,227,0.12), rgba(0,108,227,0.00) 64%),
      radial-gradient(360px 140px at 50% 0%, rgba(255,255,255,0.98), rgba(255,255,255,0.34) 62%, rgba(255,255,255,0.00) 100%),
      linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(236,247,255,0.88) 100%) !important;
    border:1px solid rgba(0,108,227,0.30) !important;
    box-shadow:
      0 22px 44px rgba(0,108,227,0.12),
      0 0 0 1px rgba(255,255,255,0.92) inset,
      inset 0 1px 0 rgba(255,255,255,1) !important;
    color:#0d1b2a !important;
    text-shadow:none !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open::after{
    opacity:0.72 !important;
    background:
      linear-gradient(90deg, rgba(255,255,255,0.00), rgba(0,108,227,0.28) 16%, rgba(255,255,255,0.60) 50%, rgba(0,108,227,0.28) 84%, rgba(255,255,255,0.00)) !important;
    box-shadow:none !important;
    filter:none !important;
  }
  /* Rewards title / amount and any nested hero text. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code .pg-rw-title,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code .pg-rw-label,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code .pg-rw-asset-ticker,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code .pg-rw-title,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code .pg-rw-label,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code .pg-rw-asset-ticker,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open .pg-rw-title,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open .pg-rw-label,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open .pg-rw-asset-ticker{
    color:#0d1b2a !important;
    text-shadow:0 1px 0 rgba(255,255,255,0.96) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code .pg-rw-usd,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code #pg-rw-usd,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code .pg-rw-usd,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code #pg-rw-usd,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open .pg-rw-usd,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open #pg-rw-usd{
    color:#006ce3 !important;
    text-shadow:
      0 1px 0 rgba(255,255,255,0.96),
      0 0 22px rgba(0,108,227,0.22) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code .pg-rw-asset-net,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code .pg-rw-asset-net,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open .pg-rw-asset-net{
    color:rgba(13,27,42,0.58) !important;
    text-shadow:none !important;
  }
  /* ZLNC center orb remains premium; add light-mode blue ring without changing the image. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code .pg-rw-zlogo,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code .pg-rw-zlogo,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open .pg-rw-zlogo{
    filter:
      drop-shadow(0 0 12px rgba(0,108,227,0.32))
      drop-shadow(0 16px 26px rgba(0,108,227,0.16)) !important;
  }
  /* Apply Rewards label + current amount row. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-ar-entered,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-ar-entered,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay #pg-ar-entered{
    color:#006ce3 !important;
    text-shadow:0 1px 0 rgba(255,255,255,0.96), 0 0 16px rgba(0,108,227,0.12) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-ar-entered::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-ar-entered::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-ar-entered::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-ar-entered::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay #pg-ar-entered::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay #pg-ar-entered::after{
    color:#0d1b2a !important;
    border-color:rgba(13,27,42,0.00) !important;
    text-shadow:0 1px 0 rgba(255,255,255,0.96) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open .pg-ar-stack,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open .pg-ar-stack,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay .pg-ar-stack{
    color:#0d1b2a !important;
    background:transparent !important;
    text-shadow:none !important;
  }
  /* Keypad buttons: light glass, readable dark numerals, soft Ticketmaster-blue edge. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open .pg-ar-key,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open .pg-ar-key,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay .pg-ar-key{
    background:
      radial-gradient(120% 140% at 50% 0%, rgba(255,255,255,0.98), rgba(255,255,255,0.62) 58%, rgba(228,242,255,0.70) 100%) !important;
    border:1px solid rgba(0,108,227,0.16) !important;
    box-shadow:
      0 12px 22px rgba(0,108,227,0.08),
      0 0 0 1px rgba(255,255,255,0.88) inset,
      inset 0 1px 0 rgba(255,255,255,1) !important;
    color:#0d1b2a !important;
    text-shadow:0 1px 0 rgba(255,255,255,0.96) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open .pg-ar-key span,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open .pg-ar-key span,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay .pg-ar-key span{
    color:#0d1b2a !important;
    text-shadow:0 1px 0 rgba(255,255,255,0.96) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open .pg-ar-key:active,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open .pg-ar-key:active,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay .pg-ar-key:active{
    transform:scale(0.985) !important;
    background:linear-gradient(180deg, rgba(222,239,255,0.96), rgba(255,255,255,0.90)) !important;
    border-color:rgba(0,108,227,0.34) !important;
    box-shadow:
      0 6px 14px rgba(0,108,227,0.08),
      0 0 0 1px rgba(255,255,255,0.90) inset !important;
  }
  /* Back/Pay hero is already correct; this only prevents dark-mode inheritance while rewards entry is active. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-hybredpayment-hero,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-hybredpayment-hero,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light:has(#pg-ar-overlay[aria-hidden="false"]) #pg-hybredpayment-hero{
    color:#ffffff !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1170-ticketmaster-light-apply-rewards-visual-pass-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1171-corrected-ticketmaster-apply-rewards-hero-css ===== */
/* =========================================================
   STEP 1171 CORRECTED — TICKETMASTER LIGHT MODE APPLY REWARDS HERO
   Source: Step-1170 locked SoT
   Scope: CSS-only visual refinement.
   Rules:
   - NO structure changes
   - NO JS / Radom / wallet trigger changes
   - NO sizing/positioning/top/left/transform/layout changes
   - Only color, glass, border, shadow, contrast, and visual surface treatment
========================================================= */
@media (max-width: 640px){
  /* Light-mode surface continuity while Apply Rewards is open */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light:has(#pg-ar-overlay[aria-hidden="false"]){
    background:#f7fbff !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open body,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light:has(#pg-ar-overlay[aria-hidden="false"]) body{
    background:
      radial-gradient(520px 360px at 50% 22%, rgba(0,108,227,0.13), rgba(0,108,227,0.00) 68%),
      linear-gradient(180deg, #f3f9ff 0%, #ffffff 44%, #f7fbff 100%) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #crypto-gateway-demo-root,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light:has(#pg-ar-overlay[aria-hidden="false"]) #crypto-gateway-demo-root{
    background:
      radial-gradient(580px 380px at 50% 24%, rgba(0,108,227,0.12), rgba(0,108,227,0.00) 70%),
      linear-gradient(180deg, #f6fbff 0%, #ffffff 46%, #f8fcff 100%) !important;
    color:#0d1b2a !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-ar-overlay,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-ar-overlay,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light:has(#pg-ar-overlay[aria-hidden="false"]) #pg-ar-overlay{
    background:
      radial-gradient(560px 360px at 50% 18%, rgba(0,108,227,0.12), rgba(0,108,227,0.00) 70%),
      linear-gradient(180deg, rgba(246,251,255,0.98), rgba(255,255,255,0.98) 50%, rgba(247,251,255,0.98) 100%) !important;
    color:#0d1b2a !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open .pg-ar-inner,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open .pg-ar-inner,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay .pg-ar-inner{
    background:transparent !important;
    color:#0d1b2a !important;
    box-shadow:none !important;
  }
  /* Rewards hero card: light glass with Ticketmaster-blue edge, preserving current size/placement. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open{
    color:#0d1b2a !important;
    background:
      radial-gradient(620px 210px at 50% 82%, rgba(0,108,227,0.13), rgba(0,108,227,0.00) 62%),
      radial-gradient(400px 180px at 50% -12%, rgba(255,255,255,0.98), rgba(255,255,255,0.36) 52%, rgba(255,255,255,0.00) 76%),
      linear-gradient(180deg, rgba(255,255,255,0.86) 0%, rgba(242,248,255,0.80) 100%) !important;
    border:1px solid rgba(0,108,227,0.22) !important;
    box-shadow:
      0 22px 46px rgba(0,108,227,0.13),
      0 12px 28px rgba(13,27,42,0.07),
      0 0 0 1px rgba(255,255,255,0.92) inset,
      inset 0 1px 0 rgba(255,255,255,0.95) !important;
    text-shadow:none !important;
    backdrop-filter:blur(18px) saturate(1.08) !important;
    -webkit-backdrop-filter:blur(18px) saturate(1.08) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open::before{
    background:
      linear-gradient(90deg, rgba(0,108,227,0.00), rgba(0,108,227,0.18), rgba(0,108,227,0.00)) 0 0/100% 1px no-repeat,
      radial-gradient(420px 160px at 50% 98%, rgba(0,108,227,0.11), rgba(0,108,227,0.00) 70%) !important;
    box-shadow:none !important;
    opacity:1 !important;
    filter:none !important;
    -webkit-mask:none !important;
    mask:none !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open::after{
    background:
      radial-gradient(320px 120px at 50% 72%, rgba(0,108,227,0.10), rgba(0,108,227,0.00) 72%),
      repeating-radial-gradient(ellipse at 50% 102%, rgba(255,255,255,0.34) 0 1px, rgba(255,255,255,0.00) 2px 10px) !important;
    opacity:0.72 !important;
    mix-blend-mode:normal !important;
    filter:none !important;
    -webkit-mask:none !important;
    mask:none !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code .pg-rw-title,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code .pg-rw-title,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open .pg-rw-title{
    color:#0d1b2a !important;
    text-shadow:none !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code .pg-rw-usd,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code .pg-rw-usd,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open .pg-rw-usd{
    color:#006ce3 !important;
    text-shadow:0 10px 24px rgba(0,108,227,0.12) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-rewards-code .pg-rw-token-orb,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-rewards-code .pg-rw-token-orb,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-rewards-code.is-ar-open .pg-rw-token-orb{
    background:
      radial-gradient(circle at 50% 38%, rgba(0,108,227,0.92), rgba(0,66,164,0.96) 62%, rgba(6,18,36,0.98) 100%) !important;
    border-color:rgba(255,255,255,0.86) !important;
    box-shadow:
      0 16px 34px rgba(0,108,227,0.22),
      0 0 0 1px rgba(0,108,227,0.28),
      inset 0 1px 0 rgba(255,255,255,0.34) !important;
  }
  /* Apply Rewards readout row: clean dark label + Ticketmaster blue amount. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-ar-entered,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-ar-entered,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay #pg-ar-entered{
    color:#006ce3 !important;
    text-shadow:0 1px 0 rgba(255,255,255,0.95), 0 10px 20px rgba(0,108,227,0.10) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-ar-entered::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-ar-entered::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay #pg-ar-entered::before{
    color:#0d1b2a !important;
    text-shadow:0 1px 0 rgba(255,255,255,0.95) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open .pg-ar-enter,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open .pg-ar-enter,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay .pg-ar-enter{
    background:transparent !important;
    box-shadow:none !important;
    border-color:transparent !important;
  }
  /* Keypad: flat premium light glass, not metallic/silver. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open .pg-ar-key,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open .pg-ar-key,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay .pg-ar-key{
    color:#0d1b2a !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(246,251,255,0.92) 100%) !important;
    border:1px solid rgba(0,108,227,0.18) !important;
    box-shadow:
      0 10px 20px rgba(0,108,227,0.07),
      0 3px 8px rgba(13,27,42,0.035),
      0 0 0 1px rgba(255,255,255,0.92) inset,
      inset 0 1px 0 rgba(255,255,255,0.96) !important;
    text-shadow:0 1px 0 rgba(255,255,255,0.96) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open .pg-ar-key::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open .pg-ar-key::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open .pg-ar-key::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open .pg-ar-key::after,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay .pg-ar-key::before,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay .pg-ar-key::after{
    background:transparent !important;
    box-shadow:none !important;
    opacity:0 !important;
    filter:none !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open .pg-ar-key span,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open .pg-ar-key span,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay .pg-ar-key span{
    color:#0d1b2a !important;
    text-shadow:0 1px 0 rgba(255,255,255,0.96) !important;
  }
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open .pg-ar-key:active,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open .pg-ar-key:active,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #pg-ar-overlay .pg-ar-key:active{
    background:linear-gradient(180deg, rgba(232,244,255,0.98), rgba(255,255,255,0.94)) !important;
    border-color:rgba(0,108,227,0.30) !important;
    box-shadow:
      0 6px 12px rgba(0,108,227,0.06),
      0 0 0 1px rgba(255,255,255,0.94) inset !important;
  }
  /* Keep the existing Back/Pay hero color system intact. */
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light.pg-ar-overlay-open #pg-hybredpayment-hero,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light #crypto-gateway-demo-root.pg-ar-overlay-open #pg-hybredpayment-hero,
  html.pg-demo-profile-ticketmaster.pg-demo-mode-light:has(#pg-ar-overlay[aria-hidden="false"]) #pg-hybredpayment-hero{
    color:#ffffff !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1171-corrected-ticketmaster-apply-rewards-hero-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1172-blaze-default-brand-css ===== */
/* =========================================================
   STEP 1172 — BLAZE DEFAULT PROFILE + BRAND COLOR RESTORE
   Scope: profile defaults, BLAZE demo data, BLAZE accent color only.
   No Radom, wallet trigger, payment, transaction, or DOM structure changes.
========================================================= */
html.pg-demo-profile-blaze{
  --accent-rgb: 27,197,233 !important;
  --accent: #1BC5E9 !important;
  --pg-demo-brand-rgb: 27,197,233 !important;
}
html.pg-demo-profile-blaze #pg-mobile-account-overlay{
  --pg-demo-brand-rgb: 27,197,233 !important;
}
.pg-demo-option[data-demo-profile="blaze"]{
  --pg-demo-option-rgb: 27,197,233 !important;
}
.pg-demo-option[data-demo-profile="blaze"] .pg-demo-blaze-logoWrap .pg-demo-option-title{
  color:#1BC5E9 !important;
  text-shadow:0 0 14px rgba(27,197,233,0.18) !important;
}
/* ===== END STYLE BLOCK: pg-step1172-blaze-default-brand-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1176-iphone-center-animation-up-css ===== */
/* =========================================================
   STEP 1176 — MOBILE ONLY: iPHONE CENTERING + TX STACK LIFT
   Source: Step 1175 locked SoT.
   Scope: visual-only CSS refinement.
   Targets ONLY:
   - #pg-hybredpayment-hero-row / #pg-hybredpayment-hero centering
   - .pg-close-order-btn centering within existing close-order hero
   - #pg-tx-overlay .pg-tx-inner vertical placement
   - #pg-tx-rewards-sub / #pg-tx-reward-usd typography
   No Radom, WalletConnect, QR, webhook, polling, session, or core JS changes.
========================================================= */
@media (max-width: 640px){
  /* True viewport centering for the main hybrid button and close-order state.
     Avoids iOS/Safari sub-pixel drift from left:50% + translateX(-50%). */
  #pg-hybredpayment-hero-row{
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    width: min(95vw, 640px) !important;
    box-sizing: border-box !important;
  }
  #pg-hybredpayment-hero{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
  #crypto-gateway-demo-root.pg-mobile-close-order-ready #pg-hybredpayment-hero-row{
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    width: min(95vw, 640px) !important;
    box-sizing: border-box !important;
  }
  #crypto-gateway-demo-root.pg-mobile-close-order-ready #pg-hybredpayment-hero{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
  #pg-hybredpayment-hero .pg-close-order-btn{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 520px){
  /* Move the entire pending/complete animation stack up 10px from the locked Step 1109 position. */
  #pg-crypto-meta #pg-tx-overlay .pg-tx-inner{
    top: -25px !important;
  }
  /* Give the generated USD value a little more presence now that the stack has room. */
  #pg-crypto-meta #pg-tx-overlay #pg-tx-rewards-sub,
  #pg-crypto-meta #pg-tx-overlay .pg-tx-rewards-sub,
  #pg-crypto-meta #pg-tx-overlay #pg-tx-reward-usd{
    font-size: 20px !important;
    line-height: 1.05 !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1176-iphone-center-animation-up-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1177-iphone-meta-you-need-animation-final-css ===== */
/* =========================================================
   STEP 1177 — MOBILE ONLY: IPHONE META + COMPLETE STACK FINAL PASS
   Scope:
   - #pg-crypto-meta closed mobile header row
   - #pg-meta-amount / YOU NEED pseudo-label alignment
   - TX pending/complete visual stack vertical position
   - TX USD rewards sub-value typography
   Notes:
   - CSS-only visual override.
   - No Radom, WalletConnect, polling, webhook, payload, or session logic touched.
========================================================= */
@media (max-width: 520px){
  /* ---------- Closed meta row: hard-lock true 3-column alignment ---------- */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete){
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: 12px 18px !important;
    column-gap: 0 !important;
    row-gap: 4px !important;
    align-items: start !important;
    align-content: start !important;
    justify-items: center !important;
    overflow: visible !important;
  }
  /* Let existing item wrappers stop influencing the grid geometry. */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item{
    display: contents !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  /* The 3rd DOM tile is Payment Network; keep it hidden in closed view. */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(3),
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-method,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-path,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-assethead{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  /* Labels: PRICE + 24H PRICE CHANGE remain true grid labels. */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-label{
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(2) .pg-crypto-meta-label{
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-label,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::before{
    align-self: end !important;
    justify-self: center !important;
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 300 !important;
    letter-spacing: 0.12em !important;
    line-height: 12px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  /* Values: exact same row, exact same column centers. */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-value{
    display: contents !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price{
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change{
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: block !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount{
    grid-column: 3 !important;
    grid-row: 2 !important;
    position: relative !important;
    align-self: start !important;
    justify-self: center !important;
    display: block !important;
    width: max-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: visible !important;
    font-size: 0 !important;
    line-height: 15px !important;
    font-variant-numeric: tabular-nums !important;
    font-feature-settings: "tnum" 1, "lnum" 1 !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::before{
    content: "YOU NEED" !important;
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: calc(100% + 4px) !important;
    transform: translateX(-50%) !important;
    pointer-events: none !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::after{
    content: attr(data-pg-amount-only) !important;
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 550 !important;
    letter-spacing: 0.005em !important;
    line-height: 15px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change{
    align-self: start !important;
    justify-self: center !important;
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 15px !important;
    font-weight: 550 !important;
    letter-spacing: 0.005em !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-shadow: none !important;
    opacity: 1 !important;
  }
  /* Dark-mode color lock. */
  html:not(.pg-demo-mode-light) #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-label,
  html:not(.pg-demo-mode-light) #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::before{
    color: rgba(255,255,255,0.74) !important;
  }
  html:not(.pg-demo-mode-light) #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price,
  html:not(.pg-demo-mode-light) #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::after{
    color: rgba(255,255,255,0.98) !important;
  }
  /* Light Ticketmaster / LiveNation color lock. */
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-label,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-label,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::before,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::before{
    color: rgba(0,108,227,0.78) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::after,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::after{
    color: #0d1b2a !important;
  }
  /* ---------- TX complete/pending stack: move content up 15px ---------- */
  #pg-crypto-meta.is-tx-pending #pg-tx-overlay .pg-tx-inner,
  #pg-crypto-meta.is-tx-complete #pg-tx-overlay .pg-tx-inner,
  #pg-crypto-meta.is-tx-pending .pg-tx-overlay .pg-tx-inner,
  #pg-crypto-meta.is-tx-complete .pg-tx-overlay .pg-tx-inner{
    position: relative !important;
    top: auto !important;
    transform: translateY(-15px) !important;
    will-change: transform !important;
  }
  /* USD rewards value: +2px from the active 13px mobile value. */
  #pg-crypto-meta #pg-tx-overlay #pg-tx-rewards-sub,
  #pg-crypto-meta #pg-tx-overlay #pg-tx-reward-usd,
  #pg-crypto-meta .pg-tx-overlay #pg-tx-rewards-sub,
  #pg-crypto-meta .pg-tx-overlay #pg-tx-reward-usd,
  #pg-crypto-meta #pg-tx-overlay .pg-tx-rewards-sub,
  #pg-crypto-meta .pg-tx-overlay .pg-tx-rewards-sub{
    font-size: 15px !important;
    line-height: 1.08 !important;
    font-weight: 540 !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1177-iphone-meta-you-need-animation-final-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1179-iphone-you-need-new-label-center-css ===== */
/* =========================================================
   STEP 1179 — MOBILE ONLY: NEW YOU NEED LABEL + VALUE CENTER LOCK
   Source: Step 1178 locked SoT.
   Scope: visual/layout-only refinement.
   Targets ONLY:
   - #pg-crypto-meta closed mobile meta row
   - new real DOM .pg-meta-need-label placement
   - #pg-meta-amount center alignment
   - #pg-tx-overlay .pg-tx-inner vertical lift remains locked
   No Radom, WalletConnect, QR, webhook, polling, payload,
   session creation, wallet trigger, or core transaction logic changes.
========================================================= */
/* The new label exists in the DOM but is hidden unless the compact mobile row is active. */
.pg-meta-need-label{
  display:none;
}
@media (max-width: 520px){
  /* Rebuild the closed meta strip as 3 exact columns: PRICE / 24H PRICE CHANGE / YOU NEED. */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete){
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows:13px 18px !important;
    column-gap:0 !important;
    row-gap:4px !important;
    align-items:start !important;
    justify-items:center !important;
    overflow:visible !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item{
    display:contents !important;
    padding:0 !important;
    margin:0 !important;
    min-width:0 !important;
    width:auto !important;
    height:auto !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    overflow:visible !important;
  }
  /* Keep the hidden network tile out of the closed mobile strip. */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(3),
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-method,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-path,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-assethead{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
  }
  /* The old misplaced You Need note is removed from the compact row entirely. */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-crypto-meta-note,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-total-label,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-total-amount,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-total-usd{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
  }
  /* Labels: real/selectable PRICE + 24H + brand-new YOU NEED. */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(1) .pg-crypto-meta-label{
    grid-column:1 !important;
    grid-row:1 !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-item:nth-child(2) .pg-crypto-meta-label{
    grid-column:2 !important;
    grid-row:1 !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-need-label{
    grid-column:3 !important;
    grid-row:1 !important;
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-label,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-need-label{
    align-self:end !important;
    justify-self:center !important;
    width:100% !important;
    max-width:100% !important;
    height:13px !important;
    margin:0 !important;
    padding:0 !important;
    font-family:"Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
    font-size:10px !important;
    font-weight:300 !important;
    letter-spacing:0.14em !important;
    line-height:13px !important;
    text-transform:uppercase !important;
    text-align:center !important;
    white-space:nowrap !important;
    overflow:visible !important;
    transform:none !important;
    text-shadow:none !important;
  }
  /* Values: center every visible value directly under its label. */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-value{
    display:contents !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price{
    grid-column:1 !important;
    grid-row:2 !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change{
    grid-column:2 !important;
    grid-row:2 !important;
    display:block !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount{
    grid-column:3 !important;
    grid-row:2 !important;
    display:block !important;
  }
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount{
    align-self:start !important;
    justify-self:center !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    font-family:"Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
    font-size:14px !important;
    line-height:16px !important;
    font-weight:550 !important;
    letter-spacing:0.005em !important;
    text-align:center !important;
    white-space:nowrap !important;
    overflow:visible !important;
    transform:none !important;
    text-shadow:none !important;
    font-variant-numeric:tabular-nums !important;
    font-feature-settings:"tnum" 1, "lnum" 1 !important;
  }
  /* Remove any older pseudo-label/value attempts. */
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::before,
  #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount::after{
    content:none !important;
    display:none !important;
  }
  /* Dark-mode color lock. */
  html:not(.pg-demo-mode-light) #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-label,
  html:not(.pg-demo-mode-light) #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-need-label{
    color:rgba(255,255,255,0.74) !important;
  }
  html:not(.pg-demo-mode-light) #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price,
  html:not(.pg-demo-mode-light) #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change,
  html:not(.pg-demo-mode-light) #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount{
    color:rgba(255,255,255,0.98) !important;
  }
  /* Light profile color lock. */
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-label,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-need-label,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-crypto-meta-label,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) .pg-meta-need-label{
    color:rgba(0,108,227,0.78) !important;
  }
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change,
  html.pg-demo-mode-light.pg-demo-profile-ticketmaster #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-price,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-change,
  html.pg-demo-mode-light.pg-demo-profile-livenation #pg-crypto-meta.pg-crypto-meta.pg-ad-card:not(.is-ad-open):not(.is-tx-pending):not(.is-tx-complete) #pg-meta-amount{
    color:#0d1b2a !important;
  }
  /* Keep complete/pending stack lifted from Step 1178. */
  #pg-crypto-meta.is-tx-pending #pg-tx-overlay .pg-tx-inner,
  #pg-crypto-meta.is-tx-complete #pg-tx-overlay .pg-tx-inner,
  #pg-crypto-meta.is-tx-pending .pg-tx-overlay .pg-tx-inner,
  #pg-crypto-meta.is-tx-complete .pg-tx-overlay .pg-tx-inner{
    position:relative !important;
    top:auto !important;
    transform:translateY(-20px) !important;
    will-change:transform !important;
  }
}
/* ===== END STYLE BLOCK: pg-step1179-iphone-you-need-new-label-center-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1186-wallet-onboarding-css ===== */
#pg-wallet-onboarding{display:none;}
  @media (max-width: 520px){
    html.pg-wallet-onboarding-open,
    html.pg-wallet-onboarding-open body{
      overflow:hidden !important;
      touch-action:none !important;
    }
    #pg-wallet-onboarding{
      position:fixed;
      inset:0;
      z-index:2147482600;
      display:none;
      align-items:flex-end;
      justify-content:center;
      background:rgba(0,0,0,0.62);
      backdrop-filter:blur(18px) saturate(1.05);
      -webkit-backdrop-filter:blur(18px) saturate(1.05);
      color:rgba(255,255,255,0.96);
      font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }
    #pg-wallet-onboarding.is-open{display:flex;}
    #pg-wallet-onboarding .pg-wo-sheet{
      position:relative;
      width:calc(100vw - 24px);
      max-width:420px;
      max-height:calc(100dvh - 22px);
      margin:0 12px 10px;
      border-radius:25px;
      overflow:hidden;
      background:
        radial-gradient(680px 250px at 50% -8%, rgba(55,161,255,0.22), rgba(0,0,0,0.00) 62%),
        radial-gradient(440px 280px at 92% 20%, rgba(var(--accent-rgb,0,255,213),0.12), rgba(0,0,0,0.00) 60%),
        linear-gradient(180deg, rgba(13,31,43,0.96) 0%, rgba(5,9,12,0.98) 42%, rgba(4,7,9,0.99) 100%);
      border:1px solid rgba(var(--accent-rgb,0,255,213),0.30);
      box-shadow:
        0 28px 90px rgba(0,0,0,0.68),
        0 0 0 1px rgba(255,255,255,0.055) inset,
        0 0 42px rgba(var(--accent-rgb,0,255,213),0.12);
      transform:translateY(22px);
      opacity:0;
      animation:pgWoSlideIn 260ms cubic-bezier(.2,.9,.2,1) forwards;
    }
    @keyframes pgWoSlideIn{
      to{transform:translateY(0);opacity:1;}
    }
    #pg-wallet-onboarding .pg-wo-sheet::before{
      content:"";
      position:absolute;
      left:50%; top:13px;
      width:54px; height:6px;
      transform:translateX(-50%);
      border-radius:999px;
      background:rgba(255,255,255,0.34);
      box-shadow:0 0 18px rgba(255,255,255,0.10);
      pointer-events:none;
    }
    #pg-wallet-onboarding .pg-wo-scroll{
      max-height:calc(100dvh - 22px);
      overflow-y:auto;
      overflow-x:hidden;
      -webkit-overflow-scrolling:touch;
      padding:42px 20px 18px;
      box-sizing:border-box;
      scrollbar-width:none;
    }
    #pg-wallet-onboarding .pg-wo-scroll::-webkit-scrollbar{display:none;}
    #pg-wallet-onboarding .pg-wo-close{
      position:absolute;
      top:24px; right:20px;
      z-index:4;
      width:54px; height:54px;
      border-radius:18px;
      border:1px solid rgba(255,255,255,0.16);
      background:rgba(7,12,16,0.58);
      color:rgba(255,255,255,0.94);
      font-size:34px;
      line-height:1;
      font-weight:300;
      display:flex;
      align-items:center;
      justify-content:center;
      box-shadow:0 14px 28px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.07);
      -webkit-tap-highlight-color:transparent;
      cursor:pointer;
    }
    #pg-wallet-onboarding .pg-wo-kicker{
      margin:0 72px 10px 0;
      color:rgb(var(--accent-rgb,0,255,213));
      font-size:14px;
      line-height:1;
      font-weight:800;
      letter-spacing:0.24em;
      text-transform:uppercase;
      text-shadow:0 0 18px rgba(var(--accent-rgb,0,255,213),0.26);
    }
    #pg-wallet-onboarding .pg-wo-title{
      margin:0 72px 14px 0;
      font-size:20px;
      line-height:1.03;
      font-weight:860;
      letter-spacing:-0.055em;
      color:rgba(255,255,255,0.98);
      text-shadow:0 16px 34px rgba(0,0,0,0.44);
    }
    #pg-wallet-onboarding .pg-wo-sub{
      margin:0 0 20px;
      max-width:340px;
      color:rgba(255,255,255,0.72);
      font-size:16px;
      line-height:1.32;
      font-weight:400;
      letter-spacing:-0.02em;
    }
    #pg-wallet-onboarding .pg-wo-link{
      color:rgb(var(--accent-rgb,0,255,213));
      text-decoration:none;
      font-weight:520;
    }
    #pg-wallet-onboarding .pg-wo-rec{
      position:relative;
      padding:50px 16px 16px;
      border-radius:18px;
      border:1px solid rgba(0,130,255,0.88);
      background:
        radial-gradient(230px 155px at 78% 64%, rgba(0,126,255,0.25), rgba(0,0,0,0.00) 72%),
        linear-gradient(180deg, rgba(0,76,145,0.16), rgba(0,18,34,0.24));
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.045) inset,
        0 0 28px rgba(0,117,255,0.12);
      margin:0 0 22px;
      overflow:hidden;
    }
    #pg-wallet-onboarding .pg-wo-rec-badge{
      position:absolute;
      top:16px; left:16px;
      height:26px;
      padding:0 13px;
      border-radius:999px;
      display:inline-flex;
      align-items:center;
      gap:7px;
      background:linear-gradient(135deg, #1ec7ff 0%, #0864ff 100%);
      color:#fff;
      font-size:13px;
      font-weight:860;
      letter-spacing:0.12em;
      text-transform:uppercase;
      box-shadow:0 10px 22px rgba(0,106,255,0.34);
    }
    #pg-wallet-onboarding .pg-wo-rec-main{
      display:grid;
      grid-template-columns:98px minmax(0,1fr);
      gap:16px;
      align-items:center;
      margin-bottom:15px;
    }
    #pg-wallet-onboarding .pg-wo-rec-logoBox{
      width:88px;
      height:88px;
      border-radius:18px;
      display:flex;
      align-items:center;
      justify-content:center;
      background:
        radial-gradient(90px 90px at 35% 30%, rgba(255,255,255,0.10), rgba(255,255,255,0.00) 60%),
        linear-gradient(180deg, rgba(3,31,56,0.78), rgba(1,14,27,0.70));
      border:1px solid rgba(0,190,255,0.58);
      box-shadow:0 18px 30px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.10), 0 0 22px rgba(0,144,255,0.16);
    }
    #pg-wallet-onboarding .pg-wo-rec-logoBox img{
      width:64px;
      height:64px;
      object-fit:contain;
      border-radius:18px;
      display:block;
    }
    #pg-wallet-onboarding .pg-wo-rec-copy{min-width:0;}
    #pg-wallet-onboarding .pg-wo-rec-title{
      margin:0 0 5px;
      font-size:20px;
      line-height:1.04;
      font-weight:860;
      letter-spacing:-0.04em;
      color:rgba(255,255,255,0.98);
    }
    #pg-wallet-onboarding .pg-wo-rec-powered{
      margin:0 0 12px;
      font-size:12px;
      line-height:1.18;
      color:rgba(255,255,255,0.73);
      letter-spacing:-0.02em;
    }
    #pg-wallet-onboarding .pg-wo-chip{
      display:inline-flex;
      align-items:center;
      min-height:24px;
      padding:0 12px;
      border-radius:999px;
      background:rgba(255,255,255,0.105);
      color:rgba(255,255,255,0.86);
      font-size:13px;
      font-weight:500;
      line-height:1;
    }
    #pg-wallet-onboarding .pg-wo-download{
      width:100%;
      height:45px;
      border:0;
      border-radius:13px;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:12px;
      background:linear-gradient(135deg, #22d8f0 0%, #0076ff 58%, #075cff 100%);
      color:#fff;
      font-size:18px;
      line-height:1;
      font-weight:700;
      letter-spacing:-0.035em;
      text-decoration:none;
      box-shadow:0 16px 30px rgba(0,91,255,0.34), inset 0 1px 0 rgba(255,255,255,0.22);
      -webkit-tap-highlight-color:transparent;
    }
    #pg-wallet-onboarding .pg-wo-download svg{
      width:19px; height:19px;
      opacity:0.95;
      flex:0 0 auto;
    }
    #pg-wallet-onboarding .pg-wo-select-head{
      display:grid;
      grid-template-columns:1fr auto;
      gap:14px;
      align-items:center;
      margin:0 0 14px;
    }
    #pg-wallet-onboarding .pg-wo-select-copy{
      display:grid;
      grid-template-columns:40px 1fr;
      gap:11px;
      align-items:start;
      min-width:0;
    }
    #pg-wallet-onboarding .pg-wo-checkmark{
      width:32px;
      height:32px;
      border-radius:999px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:rgb(var(--accent-rgb,0,255,213));
      border:2px solid currentColor;
      box-shadow:0 0 18px rgba(var(--accent-rgb,0,255,213),0.24);
      margin-top:2px;
    }
    #pg-wallet-onboarding .pg-wo-checkmark svg{width:19px;height:19px;}
    #pg-wallet-onboarding .pg-wo-select-title{
      margin:0 0 5px;
      font-size:20px;
      line-height:1.05;
      font-weight:700;
      letter-spacing:-0.045em;
    }
    #pg-wallet-onboarding .pg-wo-select-sub{
      margin:0;
      max-width:220px;
      font-size:15px;
      line-height:1.36;
      color:rgba(255,255,255,0.70);
      letter-spacing:-0.02em;
    }
    #pg-wallet-onboarding .pg-wo-all{
      height:58px;
      min-width:145px;
      padding:0 17px;
      border-radius:18px;
      border:1px solid rgba(255,255,255,0.18);
      background:linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
      color:rgba(255,255,255,0.94);
      display:flex;
      align-items:center;
      justify-content:center;
      gap:13px;
      font-size:18px;
      font-weight:820;
      box-shadow:0 12px 22px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
      cursor:pointer;
      -webkit-tap-highlight-color:transparent;
    }
    #pg-wallet-onboarding .pg-wo-all-icon{
      width:40px;
      height:40px;
      object-fit:contain;
      display:block;
      filter:drop-shadow(0 0 12px rgba(0,120,255,0.24));
    }
    #pg-wallet-onboarding .pg-wo-search{
      position:relative;
      margin:0 0 15px;
    }
    #pg-wallet-onboarding .pg-wo-search svg{
      position:absolute;
      left:17px;
      top:50%;
      transform:translateY(-50%);
      width:22px;
      height:22px;
      color:rgba(255,255,255,0.72);
      pointer-events:none;
    }
    #pg-wallet-onboarding .pg-wo-search input{
      width:100%;
      height:49px;
      margin-bottom: 20px !important;
      padding:0 18px 0 53px;
      box-sizing:border-box;
      border-radius:12px;
      border:1px solid rgba(255,255,255,0.14);
      background:rgba(255,255,255,0.045) !important;
      color:rgba(255,255,255,0.94) !important;
      font-size:18px;
      font-weight:500;
      letter-spacing:-0.02em;
      outline:none;
      box-shadow:inset 0 1px 0 rgba(255,255,255,0.05);
    }
    #pg-wallet-onboarding .pg-wo-search input::placeholder{color:rgba(255,255,255,0.48);}
    #pg-wallet-onboarding .pg-wo-search input:focus{
      border-color:rgba(var(--accent-rgb,0,255,213),0.56);
      box-shadow:0 0 0 1px rgba(var(--accent-rgb,0,255,213),0.16), 0 0 22px rgba(var(--accent-rgb,0,255,213),0.13), inset 0 1px 0 rgba(255,255,255,0.06);
    }
    /* STEP 1188 — MOBILE WALLET ONBOARDING: KEYBOARD SEARCH MODE
       When the search field receives focus on iPhone/Android, keep the
       search bar pinned near the top of the sheet so wallet results remain visible. */
    #pg-wallet-onboarding.is-searching .pg-wo-scroll{
      scroll-padding-top:10px;
    }
    #pg-wallet-onboarding.is-searching .pg-wo-search{
      position:sticky;
      top:0;
      z-index:7;
      margin-bottom:18px !important;
      padding-top:2px;
      padding-bottom:2px;
      background:
        linear-gradient(180deg, rgba(5,9,12,0.98) 0%, rgba(5,9,12,0.94) 78%, rgba(5,9,12,0.00) 100%);
      backdrop-filter:blur(12px);
      -webkit-backdrop-filter:blur(12px);
    }
    #pg-wallet-onboarding .pg-wo-grid{
      display:grid;
      grid-template-columns:repeat(4, minmax(0,1fr));
      gap:12px 12px;
      margin:0 0 16px;
    }
    #pg-wallet-onboarding .pg-wo-wallet{
      position:relative;
      min-width:0;
      height:100px;
      padding:13px 7px 8px;
      border-radius:14px;
      border:1px solid rgba(255,255,255,0.13);
      background:linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025));
      color:rgba(255,255,255,0.94);
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:flex-start;
      gap:10px;
      box-shadow:0 12px 22px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.055);
      overflow:hidden;
      cursor:pointer;
      -webkit-tap-highlight-color:transparent;
    }
    #pg-wallet-onboarding .pg-wo-wallet.is-selected{
      border-color:rgba(var(--accent-rgb,0,255,213),0.92);
      box-shadow:0 0 0 1px rgba(var(--accent-rgb,0,255,213),0.16), 0 0 26px rgba(var(--accent-rgb,0,255,213),0.16), 0 12px 22px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
    }
    #pg-wallet-onboarding .pg-wo-logoWrap{
      width:58px;
      height:58px;
      border-radius:16px;
      display:flex;
      align-items:center;
      justify-content:center;
      flex:0 0 58px;
      overflow:hidden;
      background:rgba(0,0,0,0.22);
    }
    #pg-wallet-onboarding .pg-wo-wallet img.pg-wo-logo{
      width:58px;
      height:58px;
      display:block;
      object-fit:contain;
      border-radius:15px;
    }
    #pg-wallet-onboarding .pg-wo-logoFallback{
      width:58px;
      height:58px;
      border-radius:15px;
      display:none;
      align-items:center;
      justify-content:center;
      background:linear-gradient(135deg, rgba(var(--accent-rgb,0,255,213),0.28), rgba(0,102,255,0.42));
      color:#fff;
      font-size:24px;
      font-weight:850;
    }
    #pg-wallet-onboarding .pg-wo-wallet.is-logo-fallback img.pg-wo-logo{display:none;}
    #pg-wallet-onboarding .pg-wo-wallet.is-logo-fallback .pg-wo-logoFallback{display:flex;}
    #pg-wallet-onboarding .pg-wo-walletName{
      width:100%;
      max-width:100%;
      display:block;
      margin-top:-5px;
      font-size:10px;
      line-height:1;
      font-weight:500;
      letter-spacing:-0.03em;
      color:rgba(255,255,255,0.96);
      text-align:center;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    #pg-wallet-onboarding .pg-wo-radio{
      position:absolute;
      top:10px;
      right:10px;
      width:22px;
      height:22px;
      border-radius:999px;
      border:2px solid rgba(255,255,255,0.45);
      background:rgba(0,0,0,0.15);
      box-sizing:border-box;
      display:flex;
      align-items:center;
      justify-content:center;
    }
    #pg-wallet-onboarding .pg-wo-wallet.is-selected .pg-wo-radio{
      background:rgb(var(--accent-rgb,0,255,213));
      border-color:rgb(var(--accent-rgb,0,255,213));
      color:#021012;
      box-shadow:0 0 16px rgba(var(--accent-rgb,0,255,213),0.44);
    }
    #pg-wallet-onboarding .pg-wo-radio svg{
      display:none;
      width:15px;
      height:15px;
    }
    #pg-wallet-onboarding .pg-wo-wallet.is-selected .pg-wo-radio svg{display:block;}
    #pg-wallet-onboarding .pg-wo-badge{
      min-height:82px;
      border-radius:17px;
      border:1px solid rgba(255,255,255,0.13);
      background:linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.026));
      display:grid;
      grid-template-columns:70px 1fr;
      gap:0;
      align-items:center;
      padding:14px 16px;
      box-shadow:0 12px 24px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.05);
    }
    #pg-wallet-onboarding .pg-wo-badge-icon{
      width:44px;
      height:44px;
      border-radius:14px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:rgb(var(--accent-rgb,0,255,213));
      filter:drop-shadow(0 0 16px rgba(var(--accent-rgb,0,255,213),0.24));
    }
    #pg-wallet-onboarding .pg-wo-badge-icon svg{width:40px;height:40px;}
    #pg-wallet-onboarding .pg-wo-badge-title{
      margin:0 0 5px;
      font-size:17px;
      line-height:1.1;
      font-weight:850;
      letter-spacing:-0.025em;
      color:rgba(255,255,255,0.98);
    }
    #pg-wallet-onboarding .pg-wo-badge-sub{
      margin:0;
      font-size:13px;
      line-height:1.26;
      color:rgba(255,255,255,0.66);
    }
  }
  @media (max-width: 380px){
    #pg-wallet-onboarding .pg-wo-scroll{padding-left:16px;padding-right:16px;}
    #pg-wallet-onboarding .pg-wo-title{font-size:20px;}
    #pg-wallet-onboarding .pg-wo-grid{gap:10px 9px;}
    #pg-wallet-onboarding .pg-wo-wallet{height:100px;padding-left:3px;padding-right:3px;}
    #pg-wallet-onboarding .pg-wo-logoWrap,
    #pg-wallet-onboarding .pg-wo-wallet img.pg-wo-logo,
    #pg-wallet-onboarding .pg-wo-logoFallback{width:52px;height:52px;}
    #pg-wallet-onboarding .pg-wo-walletName{font-size:10px;}
    #pg-wallet-onboarding .pg-wo-select-head{grid-template-columns:1fr;}
    #pg-wallet-onboarding .pg-wo-all{width:100%;}
  }
    /* STEP 1187 — MOBILE WALLET ONBOARDING CLEANUP
       Scope: ONLY wallet onboarding controls requested.
       - Remove All Wallets button/container from layout
       - Add 10px additional spacing below search field
       - Preserve all wallet grid, onboarding, gateway, Pay, Radom, rewards, and routing logic
    */
    #pg-wallet-onboarding .pg-wo-all,
    #pg-wallet-onboarding .pg-wo-all-icon{
      display:none !important;
      visibility:hidden !important;
      pointer-events:none !important;
    }
    #pg-wallet-onboarding .pg-wo-select-head{
      grid-template-columns:1fr !important;
    }
    #pg-wallet-onboarding .pg-wo-search{
      margin-bottom:25px !important;
    }
/* ===== END STYLE BLOCK: pg-step1186-wallet-onboarding-css ===== */



/* ===== BEGIN STYLE BLOCK: pg-step1199-pay-wallet-selector-css ===== */
#pg-pay-wallet-selector{display:none;}
  @media (max-width:520px){
    html.pg-pay-wallet-selector-open,
    html.pg-pay-wallet-selector-open body{overflow:hidden!important;}
    #pg-pay-wallet-selector{
      position:fixed;
      inset:0;
      z-index:2147482100;
      display:none;
      align-items:flex-end;
      justify-content:center;
      background:rgba(0,0,0,.68);
      backdrop-filter:blur(8px);
      -webkit-backdrop-filter:blur(8px);
      color:rgba(255,255,255,.96);
      font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
      -webkit-tap-highlight-color:transparent;
    }
    #pg-pay-wallet-selector.is-open{display:flex;}
    #pg-pay-wallet-selector .pg-pws-sheet{
      width:100%;
      max-width:520px;
      max-height:calc(100dvh - 18px);
      border-radius:28px 28px 0 0;
      position:relative;
      overflow:hidden;
      padding:26px 20px max(14px, env(safe-area-inset-bottom));
      box-sizing:border-box;
      background:
        radial-gradient(130% 115% at 18% 0%,rgba(var(--accent-rgb,0,255,213),.18),rgba(0,0,0,0) 46%),
        linear-gradient(180deg,rgba(18,24,28,.98),rgba(6,9,11,.985));
      border:1px solid rgba(255,255,255,.14);
      box-shadow:0 -26px 70px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.10);
    }
    #pg-pay-wallet-selector .pg-pws-close{
      position:absolute;
      top:14px;
      right:16px;
      width:34px;
      height:34px;
      border-radius:12px;
      border:1px solid rgba(255,255,255,.12);
      background:rgba(255,255,255,.05);
      color:rgba(255,255,255,.86);
      font-size:24px;
      line-height:1;
      display:flex;
      align-items:center;
      justify-content:center;
    }
    #pg-pay-wallet-selector .pg-pws-title{
      margin:0;
      font-size:20px;
      line-height:1.06;
      font-weight:850;
      letter-spacing:-.04em;
      color:rgba(255,255,255,.96);
    }
    #pg-pay-wallet-selector .pg-pws-sub{
      margin:8px 42px 16px 0;
      color:rgba(255,255,255,.62);
      font-size:14px;
      line-height:1.28;
    }
    #pg-pay-wallet-selector .pg-pws-asset{
      color:rgba(255,255,255,.92);
      font-weight:800;
      letter-spacing:.03em;
    }
    #pg-pay-wallet-selector .pg-pws-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
    }
    #pg-pay-wallet-selector .pg-pws-wallet{
      appearance:none;
      min-height:74px;
      border-radius:18px;
      border:1px solid rgba(255,255,255,.10);
      background:rgba(255,255,255,.04);
      color:#fff;
      display:flex;
      flex-direction:row;
      align-items:center;
      justify-content:flex-start;
      gap:12px;
      padding:12px;
      text-align:left;
      box-shadow:0 12px 26px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.055);
      touch-action:manipulation;
      overflow:hidden;
    }
    #pg-pay-wallet-selector .pg-pws-wallet:active{
      transform:scale(.985);
      border-color:rgba(var(--accent-rgb,0,255,213),.58);
      box-shadow:0 0 0 1px rgba(var(--accent-rgb,0,255,213),.16),0 12px 28px rgba(0,0,0,.34);
    }
    #pg-pay-wallet-selector .pg-pws-top{
      width:auto;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:0;
      flex:0 0 auto;
    }
    #pg-pay-wallet-selector .pg-pws-logoWrap{
      width:38px;
      height:38px;
      border-radius:12px;
      overflow:hidden;
      display:flex;
      align-items:center;
      justify-content:center;
      background:rgba(255,255,255,.08);
      border:0;
      box-shadow:none;
      flex:0 0 auto;
    }
    #pg-pay-wallet-selector .pg-pws-logo{
      width:38px;
      height:38px;
      display:block;
      object-fit:cover;
      border-radius:12px;
    }
    #pg-pay-wallet-selector .pg-pws-initials{
      display:none;
      width:38px;
      height:38px;
      align-items:center;
      justify-content:center;
      font-size:16px;
      font-weight:900;
      color:rgba(255,255,255,.90);
    }
    #pg-pay-wallet-selector .pg-pws-logoWrap.no-logo .pg-pws-logo{display:none;}
    #pg-pay-wallet-selector .pg-pws-logoWrap.no-logo .pg-pws-initials{display:flex;}
    #pg-pay-wallet-selector .pg-pws-fast{display:none!important;}
    #pg-pay-wallet-selector .pg-pws-name{
      margin-top:0;
      transform:none!important;
      min-width:0;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
      font-size:15px;
      line-height:1.1;
      font-weight:800;
      letter-spacing:-.02em;
      color:rgba(255,255,255,.96);
      max-width:100%;
    }
    #pg-pay-wallet-selector .pg-pws-desc{display:none!important;}
    #pg-pay-wallet-selector .pg-pws-more{
      width:100%;
      height:64px;
      margin-top:12px;
      border-radius:18px;
      border:1px solid rgba(255,255,255,.10);
      background:rgba(255,255,255,.035);
      color:#fff;
      display:grid;
      grid-template-columns:50px 1fr 20px;
      align-items:center;
      gap:12px;
      padding:0 16px;
      text-align:left;
    }
    #pg-pay-wallet-selector .pg-pws-moreIcon{
      width:42px;
      height:42px;
      border-radius:15px;
      display:flex;
      align-items:center;
      justify-content:center;
      background:rgba(255,255,255,.06);
      font-size:24px;
    }
    #pg-pay-wallet-selector .pg-pws-moreTitle{
      display:block;
      font-size:17px;
      font-weight:800;
      line-height:1.1;
    }
    #pg-pay-wallet-selector .pg-pws-moreSub{
      display:block;
      font-size:13px;
      color:rgba(255,255,255,.58);
      line-height:1.2;
      margin-top:3px;
    }
    #pg-pay-wallet-selector .pg-pws-foot{display:none!important;}
    #pg-pay-wallet-selector .pg-pws-search{
      display:none;
      margin-top:14px;
    }
    #pg-pay-wallet-selector.is-searching .pg-pws-grid,
    #pg-pay-wallet-selector.is-searching .pg-pws-more{
      display:none!important;
    }
    #pg-pay-wallet-selector.is-searching .pg-pws-search{
      display:block;
    }
    #pg-pay-wallet-selector .pg-pws-searchTop{
      display:flex;
      gap:10px;
      align-items:center;
      margin-bottom:12px;
    }
    #pg-pay-wallet-selector .pg-pws-searchInput{
      flex:1 1 auto;
      height:44px;
      border-radius:14px!important;
      border:1px solid rgba(255,255,255,.12)!important;
      background:rgba(255,255,255,.055)!important;
      color:rgba(255,255,255,.94)!important;
      padding:0 14px!important;
      font-size:15px!important;
      outline:none!important;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
    }
    #pg-pay-wallet-selector .pg-pws-searchInput::placeholder{
      color:rgba(255,255,255,.54)!important;
    }
    #pg-pay-wallet-selector .pg-pws-back{
      width:44px;
      height:44px;
      border-radius:14px;
      border:1px solid rgba(255,255,255,.12);
      background:rgba(255,255,255,.05);
      color:rgba(255,255,255,.88);
      font-size:24px;
      line-height:1;
      display:flex;
      align-items:center;
      justify-content:center;
    }
    #pg-pay-wallet-selector .pg-pws-searchGrid{
      max-height:min(52vh,420px);
      overflow:auto;
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
      padding-right:2px;
      -webkit-overflow-scrolling:touch;
    }
    #pg-pay-wallet-selector .pg-pws-searchTile{
      min-height:74px;
      border-radius:18px;
      border:1px solid rgba(255,255,255,.10);
      background:rgba(255,255,255,.04);
      color:#fff;
      display:flex;
      align-items:center;
      gap:12px;
      padding:12px;
      text-align:left;
    }
    #pg-pay-wallet-selector .pg-pws-searchLogo{
      width:38px;
      height:38px;
      border-radius:12px;
      object-fit:cover;
      flex:0 0 auto;
      background:rgba(255,255,255,.08);
    }
    #pg-pay-wallet-selector .pg-pws-searchName{
      min-width:0;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
      font-size:15px;
      font-weight:800;
      letter-spacing:-.02em;
    }
  }
/* ===== END STYLE BLOCK: pg-step1199-pay-wallet-selector-css ===== */
