/* ==========================================================================
   ONE Ai — Full-screen animated landing (unity.watch premium app)
   Original design CSS preserved; ECPM/MoneyBird-pattern additions at the end.
   ========================================================================== */

*{ margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }

html, body{
  height:100%;
  overscroll-behavior:none;        /* no rubber-band scroll on mobile   */
  touch-action:manipulation;       /* no double-tap zoom delay          */
}

body{
  background:#000;
  font-family:'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  overflow:hidden;                 /* single screen, nothing scrolls    */
  color:#fff;
  -webkit-font-smoothing:antialiased;
}

.hidden{ display:none !important; }

/* ---------------------------------------------------------------------------
   STAGE — the full-screen canvas
--------------------------------------------------------------------------- */
.stage{
  position:relative;
  width:100vw;
  height:100vh;                    /* fallback for older browsers        */
  height:100dvh;                   /* dynamic viewport height (mobile)   */
  display:flex;
  flex-direction:column;
  align-items:center;
  overflow:hidden;

  /* respect the notch / home-indicator safe areas */
  padding-top:env(safe-area-inset-top, 0px);
  padding-bottom:env(safe-area-inset-bottom, 0px);

  background:#04070f;   /* deep midnight-blue base under the glass layer */
}

/* ---------------------------------------------------------------------------
   FLEX SPACERS
--------------------------------------------------------------------------- */
.sp-top    { flex:19 1 0; min-height:24px; }   /* above ONE Ai              */
.sp-middle { flex:13 1 0; min-height:28px; }   /* between lines & button    */
.sp-bottom { flex:27 1 0; min-height:32px; }   /* below button              */

/* ===========================================================================
   1)  ONE Ai — gradient wordmark
   =========================================================================== */
.hero{
  flex:0 0 auto;
  text-align:center;
  z-index:5;
  padding:0 14px;
  position:relative;
}

h1.wordmark{
  position:relative;
  font-size:clamp(26px, 7vw, 66px);
  font-weight:700;
  letter-spacing:-0.01em;
  line-height:1.05;
  white-space:nowrap;

  background:linear-gradient(90deg,
    #f5cfae 0%, #f2b8d9 22%, #d9c6ee 42%,
    #a9c4f5 62%, #6ab2fb 82%, #4fa8ff 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;

  animation:riseIn 1.3s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes riseIn{
  from{ opacity:0; transform:translateY(26px); }
  to  { opacity:1; transform:translateY(0);    }
}

/* ===========================================================================
   2)  LINES
   =========================================================================== */
.lines{
  flex:0 0 auto;
  width:100vw;
  height:clamp(120px, 23vw, 250px);
  margin-top:clamp(8px, 2.2vh, 26px);
  z-index:2;
  pointer-events:none;
  animation:fadeIn 1.2s .3s both;
}
@keyframes fadeIn{ from{opacity:0;} to{opacity:1;} }

.lines svg{ width:100%; height:100%; display:block; }

.draw{
  stroke-dasharray:2700;
  stroke-dashoffset:2700;
  animation:drawIn 2.4s cubic-bezier(.4,0,.2,1) forwards;
}
.d1{ animation-delay:.30s; }
.d2{ animation-delay:.42s; }
.d3{ animation-delay:.54s; }
.d4{ animation-delay:.66s; }
.d5{ animation-delay:.78s; }
.d6{ animation-delay:.90s; }
@keyframes drawIn{ to{ stroke-dashoffset:0; } }

/* ===========================================================================
   3)  WATCH ADS — pill button with rotating gradient border
   =========================================================================== */
.ctaWrap{
  flex:0 0 auto;
  z-index:6;
  animation:riseIn 1.3s .9s cubic-bezier(.2,.8,.2,1) both;
}

.cta{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:clamp(11px,1.7vh,15px) clamp(31px,9vw,45px);
  font-size:clamp(13px,3.5vw,17px);
  font-weight:600;
  letter-spacing:.03em;
  color:#f2f6ff;
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid transparent;
  border-radius:999px;
  cursor:pointer;
  text-decoration:none;
  transition:transform .25s ease;
  isolation:isolate;
  user-select:none;
  -webkit-user-select:none;
}

@property --a{ syntax:'<angle>'; initial-value:0deg; inherits:false; }
.cta::before{
  content:"";
  position:absolute; inset:-1.5px;
  border-radius:999px;
  padding:1.5px;
  background:conic-gradient(from var(--a,0deg),
    #6db4ff, #cfe6ff, #f6e7c6, #f2b8d9, #6db4ff);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  animation:spinBorder 5s linear infinite;
  z-index:-1;
}
@keyframes spinBorder{ to{ --a:360deg; } }

.cta .innerShine{
  position:absolute;
  inset:2px;
  border-radius:999px;
  overflow:hidden;
  pointer-events:none;
  z-index:-1;
}
.cta .innerShine::before{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width:34%;
  left:-40%;
  background:linear-gradient(105deg,
    transparent 0%,
    rgba(140,190,255,.16) 35%,
    rgba(200,225,255,.34) 50%,
    rgba(140,190,255,.16) 65%,
    transparent 100%);
  transform:skewX(-18deg);
  animation:innerSweep 2.8s ease-in-out 1.8s infinite;
}
@keyframes innerSweep{
  0%       { left:-45%; }
  60%,100% { left:115%; }
}

.cta .label{
  animation:labelGlow 2.8s ease-in-out infinite;
}
@keyframes labelGlow{
  0%,100%{ color:#e6eeff; }
  50%    { color:#ffffff; }
}

.cta:hover, .cta:focus-visible{ transform:translateY(-2px) scale(1.03); }
.cta:active{ transform:scale(.96); }
.cta:focus-visible{ outline:2px solid #9cc6ff; outline-offset:4px; }

.cta .arrow{
  display:inline-block;
  color:#dce8ff;
  font-weight:500;
  animation:arrowNudge 1.6s ease-in-out infinite;
}
@keyframes arrowNudge{
  0%,100%{ transform:translateX(0);   opacity:.85; }
  50%    { transform:translateX(6px); opacity:1;   }
}
.cta:hover .arrow{ animation-duration:.8s; }

/* ===========================================================================
   0)  GLASS / GAUSSIAN-BLUR BACKGROUND
   =========================================================================== */
.glassBg{
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index:0;
  pointer-events:none;
}
.blob{
  position:absolute;
  border-radius:50%;
  filter:blur(90px);
  will-change:transform;
  animation:blobDrift ease-in-out infinite alternate;
}
.blob.b1{
  width:70vw; height:70vw;
  max-width:760px; max-height:760px;
  left:-18%; top:-16%;
  background:radial-gradient(circle at 40% 40%, rgba(35,80,170,.55), rgba(20,45,110,.25) 60%, transparent 75%);
  animation-duration:18s;
}
.blob.b2{
  width:60vw; height:60vw;
  max-width:640px; max-height:640px;
  right:-20%; top:26%;
  background:radial-gradient(circle at 55% 45%, rgba(65,60,160,.45), rgba(40,40,110,.2) 60%, transparent 75%);
  animation-duration:22s;
  animation-delay:-6s;
}
.blob.b3{
  width:52vw; height:52vw;
  max-width:540px; max-height:540px;
  left:-12%; bottom:-14%;
  background:radial-gradient(circle at 50% 50%, rgba(190,150,90,.22), rgba(140,110,70,.1) 60%, transparent 75%);
  animation-duration:26s;
  animation-delay:-11s;
}
.blob.b4{
  width:48vw; height:48vw;
  max-width:500px; max-height:500px;
  right:-10%; bottom:-10%;
  background:radial-gradient(circle at 50% 50%, rgba(180,95,150,.22), rgba(120,60,105,.1) 60%, transparent 75%);
  animation-duration:20s;
  animation-delay:-3s;
}
@keyframes blobDrift{
  from{ transform:translate(0,0)      scale(1);    }
  to  { transform:translate(6vw,4vh)  scale(1.12); }
}
.glassBg::after{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(ellipse 120% 90% at 50% 45%, transparent 55%, rgba(2,4,10,.75) 100%);
}

/* ===========================================================================
   4)  INTERACTIVE NEURAL NETWORK LAYER
   =========================================================================== */
#net{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none;
}

/* ==========================================================================
   ONE AI ADDITIONS — App ID screen, ID chip, ad overlay
   ========================================================================== */

/* --- App ID chip: 10% up from the bottom, centered, Clarity-unmasked --- */
.id-chip{
  position:absolute;
  left:50%;
  bottom:10vh;                       /* locked: bottom 10% of the screen  */
  bottom:10dvh;
  transform:translateX(-50%);
  z-index:7;
  pointer-events:none;
  padding:8px 20px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(160,196,245,.35);
  font-size:12px;
  font-weight:600;
  letter-spacing:.16em;
  color:#cfe6ff;
  text-shadow:0 0 12px rgba(110,180,255,.6);
  white-space:nowrap;
}

/* --- SCREEN 0: App ID entry — same One Ai aesthetic --- */
.appid-screen{
  position:fixed;
  inset:0;
  z-index:2000;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#04070f;
  padding:calc(env(safe-area-inset-top, 0px) + 24px)
          24px
          calc(env(safe-area-inset-bottom, 0px) + 24px);
}

.appid-inner{
  position:relative;
  z-index:5;
  width:100%;
  max-width:380px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
  text-align:center;
}

.appid-mark{
  font-size:clamp(34px, 10vw, 56px);
  margin-bottom:2px;
}

.appid-label{
  font-size:14px;
  letter-spacing:.06em;
  color:#b9cae8;
  animation:fadeIn 1.2s .3s both;
}

.appid-input{
  width:100%;
  padding:15px 18px;
  border-radius:999px;
  border:1px solid rgba(160,196,245,.35);
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  color:#e6f0ff;
  font-family:inherit;
  font-size:16px;
  font-weight:600;
  letter-spacing:.14em;
  text-align:center;
  outline:none;
  transition:border-color .25s, box-shadow .25s;
  animation:riseIn 1.3s .45s cubic-bezier(.2,.8,.2,1) both;
}
.appid-input:focus{ border-color:#9cc6ff; box-shadow:0 0 0 3px rgba(110,180,255,.15); }
.appid-input::placeholder{ color:rgba(185,202,232,.45); font-weight:400; letter-spacing:.05em; }

.appid-cta{
  animation:riseIn 1.3s .6s cubic-bezier(.2,.8,.2,1) both;
}
.appid-cta.busy{ pointer-events:none; opacity:.6; }

.appid-error{
  font-size:13px;
  color:#f2a8b8;
  line-height:1.4;
  animation:fadeIn .4s both;
}

/* --- AD OVERLAY: plain black full-screen (locked decision) --- */
.ad-overlay{
  position:fixed;
  inset:0;
  z-index:3000;
  background:#000;
  display:flex;
  align-items:center;
  justify-content:center;
}

#ad-video{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#000;
}

/* ❌ Close: 10% DOWN from the top of the screen (locked for One Ai) —
   completely clear of the notification/status-bar zone, easy to tap */
.ad-close{
  position:absolute;
  top:10vh;
  top:10dvh;
  right:18px;
  width:46px;
  height:46px;
  border-radius:50%;
  border:1.5px solid rgba(255,255,255,.7);
  background:rgba(0,0,0,.55);
  color:#fff;
  font-size:20px;
  font-family:inherit;
  font-weight:600;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:3001;
}
.ad-close:active{ background:rgba(255,255,255,.2); }

/* --- toast for ad-load errors (One Ai glass style) --- */
.toast{
  position:fixed;
  bottom:calc(10vh + 60px);
  left:50%;
  transform:translateX(-50%) translateY(140px);
  background:rgba(10,16,28,.9);
  backdrop-filter:blur(15px);
  -webkit-backdrop-filter:blur(15px);
  border:1px solid rgba(160,196,245,.4);
  color:#cfe6ff;
  padding:11px 26px;
  border-radius:999px;
  font-size:13px;
  font-weight:500;
  letter-spacing:.03em;
  z-index:4000;
  pointer-events:none;
  transition:transform .4s cubic-bezier(.22,.61,.36,1);
  white-space:nowrap;
}
.toast.show{ transform:translateX(-50%) translateY(0); }

/* ===========================================================================
   RESPONSIVE SAFETY NETS
   =========================================================================== */

@media (max-height:480px){
  h1.wordmark{ font-size:clamp(28px, 6.3vh, 50px); }
  .lines{ height:clamp(80px, 22vh, 140px); margin-top:6px; }
  .cta{ padding:9px 28px; font-size:12px; }
  .sp-top{ min-height:10px; }
  .sp-middle{ min-height:12px; }
  .sp-bottom{ min-height:12px; }
  .id-chip{ font-size:10px; padding:6px 16px; }
}

@media (min-width:1100px){
  .lines{ height:260px; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:.001s !important;
    animation-delay:0s !important;
    animation-iteration-count:1 !important;
  }
  .draw{ stroke-dasharray:none; stroke-dashoffset:0; }
}

/* ==========================================================================
   DEMO MODE — Try Demo button, note, and demo chip (separate audience)
   ========================================================================== */
.demo-cta{
  font-size:clamp(12px,3.2vw,15px);
  animation:riseIn 1.3s .75s cubic-bezier(.2,.8,.2,1) both;
}
.demo-cta.busy{ pointer-events:none; opacity:.6; }
.demo-note{
  margin-top:-8px;
  font-size:12px;
  letter-spacing:.04em;
  color:#b9cae8;
  animation:fadeIn 1.2s .9s both;
}
/* In demo mode the chip shows the demo balance and is tappable (tap twice = exit) */
.id-chip.demo{
  pointer-events:auto;
  cursor:pointer;
  border-color:rgba(255,200,120,.55);
  color:#ffe2b8;
  text-shadow:0 0 12px rgba(255,180,90,.55);
  letter-spacing:.12em;
}

/* ==========================================================================
   DEMO v2 — WhatsApp sign-up screen + Demo Dashboard (high-contrast text)
   ========================================================================== */
.demo-badge{
  margin-top:-10px;
  padding:4px 14px;
  border-radius:999px;
  border:1px solid rgba(255,200,120,.6);
  color:#ffe2b8;
  font-size:11px;
  font-weight:700;
  letter-spacing:.3em;
}
.wa-wrap{ position:relative; width:100%; animation:riseIn 1.3s .45s cubic-bezier(.2,.8,.2,1) both; }
.wa-prefix{
  position:absolute; left:20px; top:50%; transform:translateY(-50%);
  color:#cfe6ff; font-weight:700; font-size:16px; letter-spacing:.06em; pointer-events:none;
}
.wa-input{ padding-left:64px; animation:none; }
.demo-back{
  color:#cfe6ff; font-size:13px; text-decoration:none; letter-spacing:.04em; opacity:.9;
}
.demo-back:hover{ text-decoration:underline; }

.demo-dash{
  position:fixed; inset:0; z-index:2500;
  display:flex; flex-direction:column;
  background:#04070f;
  color:#eef4ff;
  padding:calc(env(safe-area-inset-top, 0px) + 14px) 16px calc(env(safe-area-inset-bottom, 0px) + 16px);
  overflow:hidden;
}
.demo-dash.hidden{ display:none; }
.dd-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.dd-title{ font-size:20px; font-weight:700; color:#f2f6ff; }
.dd-sub{ font-size:12px; letter-spacing:.14em; color:#ffe2b8; margin-top:2px; }
.dd-close{
  width:40px; height:40px; border-radius:50%;
  border:1px solid rgba(160,196,245,.45); background:rgba(255,255,255,.06);
  color:#f2f6ff; font-size:18px; cursor:pointer;
}
.dd-tabs{ display:flex; gap:6px; margin-bottom:12px; }
.dd-tabs button{
  flex:1; padding:10px 4px; border-radius:999px;
  border:1px solid rgba(160,196,245,.35); background:rgba(255,255,255,.04);
  color:#dbe8ff; font:inherit; font-size:13px; font-weight:600; cursor:pointer;
}
.dd-tabs button.active{ background:#e6f0ff; color:#0b1220; border-color:#e6f0ff; }
.dd-body{ flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; padding-bottom:8px; }
.dd-body section{ display:flex; flex-direction:column; gap:10px; }
.dd-body section[hidden]{ display:none; }
.dd-card{
  background:rgba(255,255,255,.06); border:1px solid rgba(160,196,245,.25);
  border-radius:16px; padding:14px 16px;
}
.dd-balance-card{ border-color:rgba(255,200,120,.45); }
.dd-label{ display:block; font-size:12px; color:#c3d4f0; letter-spacing:.04em; margin-bottom:6px; }
.dd-balance{ font-size:34px; font-weight:800; color:#ffe2b8; letter-spacing:.02em; }
.dd-val{ font-size:20px; font-weight:700; color:#f2f6ff; }
.dd-small{ font-size:12px; color:#c3d4f0; line-height:1.45; margin-top:6px; }
.dd-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.dd-bars{ display:flex; align-items:flex-end; gap:6px; height:110px; padding-top:6px; }
.dd-bar{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; gap:4px; }
.dd-bar i{ display:block; width:100%; min-height:3px; border-radius:6px 6px 2px 2px; background:linear-gradient(180deg,#ffd18a,#7fb7ff); }
.dd-bar span{ font-size:10px; color:#c3d4f0; }
.dd-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.dd-list li{
  display:flex; justify-content:space-between; gap:10px; align-items:center;
  background:rgba(255,255,255,.06); border:1px solid rgba(160,196,245,.2);
  border-radius:12px; padding:10px 14px; font-size:13px; color:#eef4ff;
}
.dd-list li small{ display:block; color:#c3d4f0; font-size:11px; margin-top:2px; }
.dd-list li b{ color:#ffe2b8; white-space:nowrap; }
.dd-row{ display:flex; justify-content:space-between; gap:10px; padding:6px 0; font-size:14px; color:#c3d4f0; }
.dd-row b{ color:#f2f6ff; }
.dd-input{
  width:100%; margin-bottom:10px; padding:12px 14px; border-radius:12px;
  border:1px solid rgba(160,196,245,.4); background:rgba(255,255,255,.07);
  color:#f2f6ff; font:inherit; font-size:15px; outline:none;
}
.dd-input:focus{ border-color:#9cc6ff; }
.dd-input::placeholder{ color:rgba(195,212,240,.6); }
.dd-btn{
  width:100%; padding:12px; border-radius:999px; border:0;
  background:#e6f0ff; color:#0b1220; font:inherit; font-size:14px; font-weight:700; cursor:pointer;
}
.dd-btn:disabled{ opacity:.6; }
.dd-btn-exit{ background:transparent; color:#ffd0d8; border:1px solid rgba(255,160,180,.55); margin-top:6px; }
.dd-msg{ font-size:13px; margin-top:8px; min-height:1em; color:#c3d4f0; }
.dd-msg.ok{ color:#9ff0c0; }
.dd-msg.err{ color:#ffb3c1; }

/* ==========================================================================
   DEMO v3 — home HUD, bottom nav, statement, profile (withdraw + bank)
   ========================================================================== */
body.demo-on .ctaWrap, body.demo-on #id-chip{ display:none !important; }
.demo-hud{
  position:fixed; left:0; right:0; top:0; z-index:1500;
  padding:calc(env(safe-area-inset-top, 0px) + 14px) 16px 0;
  display:flex; flex-direction:column; gap:10px; align-items:stretch;
  max-width:520px; margin:0 auto;
}
.demo-hud.hidden{ display:none; }
.hud-stats{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.hud-card{
  background:rgba(8,14,30,.72); border:1px solid rgba(160,196,245,.35);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-radius:16px; padding:12px 14px;
}
.hud-label{ font-size:12px; color:#c9d8f2; letter-spacing:.04em; }
.hud-val{ font-size:22px; font-weight:800; color:#ffe2b8; margin-top:2px; }
.hud-watch{
  width:100%; padding:14px; border-radius:999px; border:0; cursor:pointer;
  background:linear-gradient(90deg,#ffd18a,#ff9fc4 50%,#7fb7ff);
  color:#0b1220; font:inherit; font-size:16px; font-weight:800; letter-spacing:.04em;
  box-shadow:0 6px 24px rgba(127,183,255,.25);
}
.hud-watch:active{ transform:scale(.98); }
.hud-note{ text-align:center; font-size:11px; color:#c9d8f2; }

.demo-nav{
  position:fixed; left:0; right:0; bottom:0; z-index:2600;
  display:grid; grid-template-columns:repeat(4,1fr);
  background:rgba(6,10,22,.96); border-top:1px solid rgba(160,196,245,.25);
  padding:6px 6px calc(env(safe-area-inset-bottom, 0px) + 6px);
}
.demo-nav.hidden{ display:none; }
.demo-nav button{
  display:flex; flex-direction:column; align-items:center; gap:2px;
  background:none; border:0; color:#c9d8f2; font:inherit; font-size:11px; font-weight:600;
  padding:6px 0; border-radius:12px; cursor:pointer;
}
.demo-nav .ni{ font-size:18px; line-height:1; }
.demo-nav button.active{ color:#0b1220; background:#e6f0ff; }

/* pages sit above the stage, leave room for the bottom nav */
.demo-dash{ padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 78px); }
.dd-head{ align-items:baseline; }
.dd-card-title{ font-size:15px; font-weight:700; color:#f2f6ff; margin-bottom:8px; display:block; }
.dd-inline{ display:flex; gap:8px; align-items:flex-start; }
.dd-inline .dd-input{ flex:1; }
.dd-btn-sm{ width:auto; padding:12px 16px; white-space:nowrap; }
.dd-btn-ghost{ background:transparent; color:#e6f0ff; border:1px solid rgba(160,196,245,.5); }
.cr{ color:#9ff0c0 !important; }
.dr{ color:#ffb3c1 !important; }

.st-summary{ display:grid; grid-template-columns:repeat(3,1fr); gap:6px; text-align:center; }
.st-summary b{ font-size:15px; color:#f2f6ff; }
.st-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.st-list li{
  background:rgba(255,255,255,.06); border:1px solid rgba(160,196,245,.2);
  border-radius:14px; padding:12px 14px; display:grid; grid-template-columns:1fr auto; gap:4px 10px;
}
.st-date{ font-size:14px; font-weight:700; color:#f2f6ff; }
.st-meta{ font-size:11px; color:#c3d4f0; }
.st-amts{ text-align:right; font-size:13px; font-weight:700; }
.st-bal{ grid-column:1 / -1; display:flex; justify-content:space-between; font-size:12px; color:#c3d4f0;
         border-top:1px dashed rgba(160,196,245,.25); padding-top:6px; margin-top:2px; }
.st-bal b{ color:#f2f6ff; }

.pf-top{ display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.pf-avatar{
  width:48px; height:48px; border-radius:50%; display:grid; place-items:center;
  background:linear-gradient(135deg,#ffd18a,#7fb7ff); color:#0b1220; font-weight:800; font-size:20px;
}
.pf-name{ font-size:17px; font-weight:700; color:#f2f6ff; }
.wd-list{ list-style:none; margin:10px 0 0; padding:0; display:flex; flex-direction:column; gap:6px; }
.wd-list li{ display:flex; justify-content:space-between; gap:8px; font-size:12px; color:#c3d4f0;
             border-top:1px solid rgba(160,196,245,.15); padding-top:6px; }
.wd-list b{ color:#f2f6ff; }
.badge{ font-size:10px; font-weight:800; letter-spacing:.06em; padding:2px 8px; border-radius:999px; }
.badge.requested{ background:#ffe2b8; color:#3a2400; }
.badge.paid{ background:#9ff0c0; color:#003a1c; }
.badge.rejected{ background:#ffb3c1; color:#3a0010; }
.dd-details summary{ list-style:none; display:flex; justify-content:space-between; align-items:center; cursor:pointer; }
.dd-details summary::-webkit-details-marker{ display:none; }
.dd-details summary::after{ content:'▾'; color:#c9d8f2; margin-left:8px; }
.dd-details[open] summary::after{ content:'▴'; }
.dd-details[open] summary{ margin-bottom:10px; }
.dd-details summary .dd-card-title{ margin:0; }

/* ==========================================================================
   DEMO v4 — LIGHT THEME pages (Wallet style) + light bottom nav
   Dark text (#1A1A2E) on light backgrounds for readability.
   ========================================================================== */
.demo-dash{ background:#f6f9fb; color:#1a1a2e; }
.demo-dash .dd-title{ color:#1a1a2e; }
.demo-dash .dd-sub{ color:#3a7680; }
.demo-dash .dd-card{ background:#ffffff; border:1px solid #e3eaef; box-shadow:0 2px 10px rgba(26,26,46,.06); }
.demo-dash .dd-balance-card{ border-color:#cfe9df; }
.demo-dash .dd-label{ color:#4a5568; }
.demo-dash .dd-balance{ color:#2e8b6e; }
.demo-dash .dd-val{ color:#1a1a2e; }
.demo-dash .dd-small{ color:#4a5568; }
.demo-dash .dd-bar span{ color:#4a5568; }
.demo-dash .dd-bar i{ background:linear-gradient(180deg,#5cc08a,#3a7680); }
.demo-dash .dd-row{ color:#4a5568; }
.demo-dash .dd-row b{ color:#1a1a2e; }
.demo-dash .dd-input{ background:#ffffff; color:#1a1a2e; border:1px solid #d5dee5; }
.demo-dash .dd-input::placeholder{ color:#8a94a6; }
.demo-dash .dd-input:focus{ border-color:#3a7680; }
.demo-dash .dd-btn{ background:#3a7680; color:#ffffff; }
.demo-dash .dd-btn-exit{ background:#ffffff; color:#c0392b; border:1px solid #f1b8b0; }
.demo-dash .dd-card-title{ color:#1a1a2e; }
.demo-dash .dd-msg{ color:#4a5568; }
.demo-dash .dd-msg.ok{ color:#1e7a4f; }
.demo-dash .dd-msg.err{ color:#c0392b; }
.demo-dash .dd-details summary::after{ color:#4a5568; }
.demo-dash .pf-name{ color:#1a1a2e; }
.demo-dash .pf-avatar{ background:linear-gradient(135deg,#5cc08a,#3a7680); color:#ffffff; }

/* Wallet page */
.wl-head{ text-align:center; padding:10px 0 4px; }
.wl-title{ font-size:20px; font-weight:600; color:#1a1a2e; }
.wl-balance{ font-size:30px; font-weight:800; color:#2e8b6e; margin-top:6px; }
.wl-input{
  width:100%; padding:16px 18px; border-radius:14px; border:1px solid #e3eaef;
  background:#ffffff; color:#1a1a2e; font:inherit; font-size:16px; outline:none;
  box-shadow:0 2px 10px rgba(26,26,46,.08);
}
.wl-input::placeholder{ color:#8a94a6; }
.wl-input:focus{ border-color:#3a7680; }
.wl-btn{
  width:100%; padding:16px; border:0; border-radius:14px; cursor:pointer;
  background:#3a7680; color:#ffffff; font:inherit; font-size:18px; font-weight:700;
}
.wl-btn:disabled{ opacity:.6; }
.wl-msg{ text-align:center; margin:0; }
.wl-min{ text-align:center; font-size:15px; color:#1a1a2e; }
.wl-min b{ color:#2e8b6e; }
.wl-methods{ display:flex; justify-content:center; gap:10px; flex-wrap:wrap; }
.wl-chip{
  display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:999px;
  background:#ffffff; border:1px solid #e3eaef; color:#1a1a2e; font-size:13px; font-weight:600;
}
.wl-chip svg{ width:16px; height:16px; fill:none; stroke:#3a7680; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.wl-today{
  border-radius:16px; padding:18px; color:#ffffff;
  background:linear-gradient(180deg,#5cb86f,#3f9b5e);
  box-shadow:0 4px 14px rgba(63,155,94,.25);
}
.wl-today-amt{ font-size:19px; font-weight:800; }
.wl-today-amt span{ margin-left:6px; }
.wl-today-note{ font-size:14px; margin-top:8px; line-height:1.45; }
.tx-list{ list-style:none; margin:0; padding:0 4px; }
.tx-list li{ display:grid; grid-template-columns:52px 1fr auto; gap:12px; align-items:center;
             padding:14px 0; border-bottom:1px solid #dfe6eb; }
.tx-ico{ width:48px; height:48px; }
.tx-ico svg{ width:48px; height:48px; fill:none; stroke:#3fa392; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.tx-title{ font-size:16px; font-weight:600; color:#1a1a2e; }
.tx-date{ font-size:13px; color:#4a5568; margin-top:4px; }
.tx-amt{ font-size:16px; font-weight:700; text-align:right; }
.tx-amt.cr{ color:#2e8b4f !important; }
.tx-amt.dr{ color:#c0392b !important; }
.tx-status{ display:block; font-size:10px; font-weight:800; letter-spacing:.05em; margin-top:4px; }
.tx-status.requested{ color:#b26a00; }
.tx-status.paid{ color:#1e7a4f; }
.tx-status.rejected{ color:#c0392b; }
.tx-empty{ text-align:center; color:#4a5568; padding:20px 0; font-size:14px; }

/* Light bottom nav (like the reference) */
.demo-nav{
  left:10px; right:10px; bottom:calc(env(safe-area-inset-bottom, 0px) + 8px);
  background:#dff4fb; border:0; border-radius:22px;
  box-shadow:0 4px 18px rgba(26,26,46,.18); padding:6px;
}
.demo-nav button{ color:#4a5568; font-size:12px; }
.demo-nav button svg{ width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.demo-nav button.active{ background:transparent; color:#1f7f8c; }
.demo-dash{ padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 92px); }

/* ==========================================================================
   DEMO v5 — NAVY & GOLD theme (mature palette; replaces the green look)
   bg #F5F6F8 · cards #FFF/#E2E5EA · primary navy #1E2A44 · accent gold #B8893B
   credit steel blue #2D6A8A · debit brick #A23B3B · text #1A1A2E / #4A5060
   ========================================================================== */
.demo-dash{ background:#f5f6f8; color:#1a1a2e; }
.demo-dash .dd-sub{ color:#b8893b; letter-spacing:.2em; font-weight:700; }
.demo-dash .dd-card{ border-color:#e2e5ea; box-shadow:0 1px 8px rgba(30,42,68,.06); }
.demo-dash .dd-balance-card{ border-color:#e9dcc3; }
.demo-dash .dd-label, .demo-dash .dd-small, .demo-dash .dd-row{ color:#4a5060; }
.demo-dash .dd-balance{ color:#b8893b; }
.demo-dash .dd-bar i{ background:linear-gradient(180deg,#c9a25c,#1e2a44); }
.demo-dash .dd-bar span{ color:#4a5060; }
.demo-dash .dd-btn{ background:#1e2a44; color:#ffffff; }
.demo-dash .dd-btn-exit{ background:#ffffff; color:#a23b3b; border:1px solid #e3c4c4; }
.demo-dash .dd-input:focus{ border-color:#1e2a44; }
.demo-dash .dd-msg.ok{ color:#2d6a8a; }
.demo-dash .dd-msg.err{ color:#a23b3b; }
.demo-dash .pf-avatar{ background:#1e2a44; color:#e6c27a; }

.wl-balance{ color:#b8893b; }
.wl-input:focus{ border-color:#1e2a44; }
.wl-btn{ background:#1e2a44; }
.wl-btn:active{ background:#2a3a5c; }
.wl-min b{ color:#b8893b; }
.wl-chip svg{ stroke:#1e2a44; }
.wl-today{
  background:linear-gradient(135deg,#1e2a44,#2c3d5e);
  box-shadow:0 4px 16px rgba(30,42,68,.25);
}
.wl-today-amt span{ color:#e6c27a; }
.wl-today-note{ color:#dfe4ee; }
.tx-ico svg{ stroke:#2d6a8a; }
.tx-ico svg text{ fill:#2d6a8a; }
.tx-list li{ border-bottom-color:#e2e5ea; }
.tx-date{ color:#4a5060; }
.tx-amt.cr{ color:#2d6a8a !important; }
.tx-amt.dr{ color:#a23b3b !important; }
.tx-status.requested{ color:#b8893b; }
.tx-status.paid{ color:#2d6a8a; }
.tx-status.rejected{ color:#a23b3b; }

.demo-nav{ background:#ffffff; border:1px solid #e2e5ea; box-shadow:0 4px 18px rgba(30,42,68,.16); }
.demo-nav button{ color:#4a5060; }
.demo-nav button.active{ color:#1e2a44; background:#f1ead9; }

/* home HUD over the dark One Ai stage */
.hud-card{ background:rgba(20,28,48,.78); border-color:rgba(201,162,92,.45); }
.hud-val{ color:#e6c27a; }
.hud-watch{ background:linear-gradient(90deg,#c9a25c,#e6c27a); color:#1e2a44; box-shadow:0 6px 22px rgba(201,162,92,.28); }

/* ==========================================================================
   DEMO v6 — home HUD de-boxed + old glassy Watch Ads + soft nav +
   merged Wallet page (UPI tiles, animated withdraw, modal, green/red ledger)
   ========================================================================== */

/* home HUD: no boxes — just the two figures with a thin gold divider between */
.demo-hud .hud-stats{ gap:0; align-items:center; }
.demo-hud .hud-card{ background:transparent; border:0; border-radius:0; backdrop-filter:none; -webkit-backdrop-filter:none; padding:4px 12px; text-align:center; }
.demo-hud .hud-stats .hud-card:first-child{ border-right:1px solid rgba(201,162,92,.55); }
.demo-hud .hud-label{ color:#d3ddee; text-shadow:0 1px 6px rgba(0,0,0,.55); }
.demo-hud .hud-val{ color:#e8c889; text-shadow:0 1px 10px rgba(0,0,0,.6); }
/* Watch Ads back to the original glassy pill (matches the landing button) */
.hud-cta{ align-self:center; margin-top:6px; }

/* bottom nav: soft, low-contrast, no filled chip */
.demo-nav{ background:rgba(255,255,255,.93); border:1px solid #e7e9ef; box-shadow:0 6px 20px rgba(30,42,68,.12); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.demo-nav button{ color:#8a93a4; }
.demo-nav button.active{ background:transparent; color:#1e2a44; }
.demo-nav button.active svg{ stroke:#b8893b; }

/* merged Wallet page spacing */
.demo-dash .wl-input{ margin-top:2px; }
/* animated Withdraw button */
.wl-btn{ display:inline-flex; align-items:center; justify-content:center; width:100%;
  position:relative; overflow:hidden; transition:transform .12s ease, box-shadow .2s ease;
  box-shadow:0 4px 14px rgba(30,42,68,.2); }
.wl-btn:active{ transform:scale(.97); }
.wl-btn.busy{ pointer-events:none; }
.wl-btn.busy .wl-btn-label{ opacity:.55; }
.wl-spin{ display:none; width:18px; height:18px; border-radius:50%; border:2px solid rgba(255,255,255,.45);
  border-top-color:#fff; animation:wlspin .6s linear infinite; margin-right:9px; }
.wl-btn.busy .wl-spin{ display:inline-block; }
@keyframes wlspin{ to{ transform:rotate(360deg); } }

/* payment methods: PhonePe / GPay / BHIM / Bank */
.pm-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:2px; }
.pm{ display:flex; flex-direction:column; align-items:center; gap:7px; padding:12px 4px; border-radius:16px;
  border:1px solid #e2e5ea; background:#fff; cursor:pointer; box-shadow:0 1px 6px rgba(30,42,68,.06); transition:transform .12s ease; }
.pm:active{ transform:scale(.95); }
.pm-badge{ width:42px; height:42px; border-radius:13px; display:grid; place-items:center; font-weight:800; font-size:18px; color:#fff; }
.pm-name{ font-size:12px; color:#4a5060; font-weight:600; }
.pm-phonepe .pm-badge{ background:#5f259f; }
.pm-gpay .pm-badge.pm-g{ background:#fff; color:#1a1a2e; border:1px solid #e2e5ea; font-size:12px; font-weight:800; }
.pm-bhim .pm-badge{ background:linear-gradient(135deg,#f58220,#1f8a4c); }
.pm-bank .pm-badge.pm-bankico{ background:#1e2a44; }
.pm-bank .pm-badge svg{ width:21px; height:21px; fill:none; stroke:#fff; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

/* credit = GREEN, debit = RED (overrides the steel/brick ledger colours) */
.tx-ico svg{ fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.tx-ico svg text{ display:none; }
.tx-list li.credit .tx-ico svg{ stroke:#1f9d57; }
.tx-list li.debit .tx-ico svg{ stroke:#d33a3a; }
.tx-amt.cr{ color:#1f9d57 !important; }
.tx-amt.dr{ color:#d33a3a !important; }

/* demo modal (bottom sheet) */
.dm-overlay{ position:fixed; inset:0; z-index:3000; background:rgba(20,28,48,.55); display:flex; align-items:flex-end; justify-content:center; }
.dm-overlay.hidden{ display:none; }
.dm-card{ width:100%; max-width:520px; background:#fff; color:#1a1a2e; border-radius:20px 20px 0 0;
  padding:22px 20px calc(env(safe-area-inset-bottom,0px) + 20px); transform:translateY(100%);
  animation:dmUp .26s cubic-bezier(.2,.8,.2,1) forwards; box-shadow:0 -8px 30px rgba(20,28,48,.3); }
@keyframes dmUp{ to{ transform:translateY(0); } }
.dm-title{ font-size:18px; font-weight:800; color:#1e2a44; margin-bottom:8px; }
.dm-body{ font-size:14px; color:#4a5060; line-height:1.55; }
.dm-note{ background:#f6efe0; border:1px solid #ecdcbf; color:#8a6a2a; border-radius:12px; padding:12px 14px; font-size:13.5px; line-height:1.5; }
.dm-body label{ display:block; font-size:12.5px; font-weight:600; color:#4a5060; margin:12px 2px 0; }
.dm-input{ width:100%; padding:14px; border:1px solid #d5dee5; border-radius:12px; font:inherit; font-size:15px; margin-top:8px; outline:none; color:#1a1a2e; background:#fff; }
.dm-input:focus{ border-color:#1e2a44; }
.dm-msg{ font-size:13px; min-height:1em; margin:8px 0 0; }
.dm-msg.ok{ color:#1f9d57; } .dm-msg.err{ color:#d33a3a; }
.dm-actions{ display:flex; gap:10px; margin-top:16px; }
.dm-actions button{ flex:1; padding:14px; border-radius:12px; border:0; font:inherit; font-size:15px; font-weight:700; cursor:pointer; }
.dm-ok{ background:#1e2a44; color:#fff; }
.dm-cancel{ background:#fff; color:#4a5060; border:1px solid #d5dee5; }

/* ==========================================================================
   DEMO v7 — alignment pass: centred Watch Ads, real top/bottom breathing
   room, properly fitted bottom nav + UPI tiles, centred popups.
   ========================================================================== */

/* ---- HOME: Watch Ads is the original centred pill on the stage ---------- */
body.demo-on .ctaWrap{ display:block !important; }
/* push the stage clear of the fixed HUD (top) and the fixed nav (bottom) */
body.demo-on .sp-top   { flex:16 1 0; min-height:122px; }
body.demo-on .sp-middle{ flex:13 1 0; min-height:28px; }
body.demo-on .sp-bottom{ flex:22 1 0; min-height:128px; }

.demo-hud{ padding-top:calc(env(safe-area-inset-top, 0px) + 22px); gap:8px; }
.demo-hud .hud-note{ margin-top:2px; }

/* ---- BOTTOM NAV: 3 items (Home · Wallet · Profile), evenly aligned ------ */
.demo-nav{
  grid-template-columns:repeat(3, 1fr);
  left:14px; right:14px;
  bottom:calc(env(safe-area-inset-bottom, 0px) + 12px);
  padding:7px 6px;
  background:#ffffff;
  border:1px solid #dfe3ea;
  box-shadow:0 8px 24px rgba(16,24,40,.16);
  max-width:520px; margin:0 auto;
}
.demo-nav button{
  min-height:54px; justify-content:center; gap:4px;
  font-size:11.5px; font-weight:700; line-height:1;
}
.demo-nav button svg{ width:22px; height:22px; }
.demo-nav button.active{ color:#1e2a44; }
.demo-nav button.active svg{ stroke:#b8893b; }

/* ---- PAGES: real space at the top and above the nav -------------------- */
.demo-dash{
  padding-top:calc(env(safe-area-inset-top, 0px) + 22px);
  padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 108px);
}
.dd-head{ margin-bottom:16px; }
.dd-body{ padding-bottom:16px; }
.dd-body section{ gap:12px; }
.wl-head{ padding:6px 0 10px; }

/* ---- UPI / BANK TILES: single glyph, properly centred, never clipped --- */
.pm-row{ gap:9px; }
.pm{ padding:11px 4px; gap:8px; border-radius:15px; }
.pm-badge{
  width:44px; height:44px; border-radius:14px;
  font-size:21px; line-height:1; letter-spacing:0; white-space:nowrap;
  display:flex; align-items:center; justify-content:center;
}
.pm-gpay .pm-badge.pm-g{ font-size:22px; font-weight:800; color:#2a6ad4; background:#fff; border:1px solid #dfe3ea; }
.pm-bhim .pm-badge{ font-size:22px; }
.pm-bank .pm-badge svg{ width:22px; height:22px; }
.pm-name{ font-size:11.5px; line-height:1.1; }

/* ---- POPUPS: centred dialog, not a bottom sheet ------------------------ */
.dm-overlay{ align-items:center; justify-content:center; padding:20px; }
.dm-card{
  max-width:430px; border-radius:20px;
  padding:24px 20px 20px;
  max-height:86vh; overflow-y:auto;
  transform:scale(.94); opacity:0;
  animation:dmIn .22s cubic-bezier(.2,.8,.2,1) forwards;
  box-shadow:0 24px 60px rgba(16,24,40,.35);
}
@keyframes dmIn{ to{ transform:scale(1); opacity:1; } }

/* ---- PENDING (today's earning, credits tomorrow) ----------------------- */
.tx-list li.pending .tx-ico svg{ stroke:#b8893b; }
.tx-amt.pend{ color:#b8893b !important; }
.tx-status.pending{ color:#b8893b; }
.tx-empty{ padding:26px 0; }

/* ==========================================================================
   DEMO v8 — breathing room pass
   Top:    40px of empty space under the notch/status bar before "Total Earning"
   Bottom: the nav floats 24px above the screen edge, 16px in from each side
   ========================================================================== */

/* gap between the top of the phone screen and the Total / Today figures */
.demo-hud{ padding-top:calc(env(safe-area-inset-top, 0px) + 40px); }

/* bottom nav lifted out of the corner — a floating bar, not stuck to the edge */
.demo-nav{
  left:16px; right:16px;
  bottom:calc(env(safe-area-inset-bottom, 0px) + 24px);
  border-radius:24px;
  box-shadow:0 10px 28px rgba(16,24,40,.18);
}

/* keep the stage content clear of the taller HUD and the raised nav */
body.demo-on .sp-top   { min-height:140px; }
body.demo-on .sp-bottom{ min-height:140px; }

/* pages: nothing hides behind the raised nav */
.demo-dash{ padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 120px); }

/* ==========================================================================
   DEMO v9 — 3x breathing room, and a REAL floor that does not depend on
   env(safe-area-inset-*).

   Why: on this Android build the app runs full-screen with viewport-fit=cover
   and env(safe-area-inset-top/bottom) both report 0, so the old
   calc(safe-area + 40px) collapsed to 40px and the figures sat under the
   status-bar clock/battery. max() guarantees a floor on every phone while
   still growing on a notched iPhone.
   ========================================================================== */

/* TOP — 120px clear of the screen edge (3x the old 40px) */
.demo-hud{
  padding-top:max(120px, calc(env(safe-area-inset-top, 0px) + 60px));
}

/* BOTTOM — the nav floats 72px above the screen edge (3x the old 24px),
   clearing the Android gesture bar / iPhone home indicator */
.demo-nav{
  bottom:max(72px, calc(env(safe-area-inset-bottom, 0px) + 40px));
}

/* stage must clear the taller HUD (≈195px) and the raised nav (≈140px) */
body.demo-on .sp-top   { min-height:205px; }
body.demo-on .sp-bottom{ min-height:155px; }

/* Wallet / Profile pages: same treatment, header off the status bar and
   content clear of the raised nav */
.demo-dash{
  padding-top:max(70px, calc(env(safe-area-inset-top, 0px) + 24px));
  padding-bottom:max(165px, calc(env(safe-area-inset-bottom, 0px) + 130px));
}

/* ==========================================================================
   DEMO v10 — statement colours
   Welcome bonus = gold · daily ad credit = green · withdrawal = red
   Text shades are the readable (AA) variants; the icons carry the brighter
   brand tone.
   ========================================================================== */

/* daily credit — green */
.tx-list li.credit .tx-ico svg{ stroke:#1f9d57; }
.tx-amt.cr{ color:#157f43 !important; }

/* welcome bonus — gold (must come after .cr: the row carries both classes) */
.tx-list li.bonus .tx-ico svg{ stroke:#b8893b; }
.tx-amt.gold{ color:#996515 !important; }
.tx-list li.bonus .tx-title{ color:#996515; font-weight:700; }

/* withdrawal — red */
.tx-list li.debit .tx-ico svg{ stroke:#d33a3a; }
.tx-amt.dr{ color:#c0392b !important; }

/* ==========================================================================
   DEMO v11 — real payment marks (PhonePe · Google Pay · BHIM UPI · Bank)
   Wide white badges so each logo gets room instead of being squeezed into a
   small square: the UPI mark is 2:1, PhonePe is a circle, GPay is a wordmark.
   object-fit/preserveAspectRatio keeps every one of them undistorted.
   ========================================================================== */
.pm-badge{
  width:100%; height:42px; border-radius:12px;
  background:#ffffff; border:1px solid #e2e5ea;
  padding:6px 8px; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.pm-badge svg, .pm-badge img{
  width:100%; height:100%; display:block; object-fit:contain;
}
/* brand marks are fill-based — clear the stroke styling used by the icons */
.pm-phonepe .pm-badge svg, .pm-gpay .pm-badge svg{ stroke:none; }
/* bank stays a line icon, navy on white */
.pm-bank .pm-badge.pm-bankico{ background:#ffffff; }
.pm-bank .pm-badge svg{
  width:24px; height:24px; fill:none; stroke:#1e2a44;
  stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
}
.pm{ padding:9px 6px 10px; gap:7px; }
.pm-name{ font-size:11px; line-height:1.1; }

/* ==========================================================================
   DEMO v12 — "Activate now" button inside the demo-account popup (disabled)
   ========================================================================== */
.dm-activate{
  width:100%; margin-top:16px; padding:14px; border:0; border-radius:12px;
  background:linear-gradient(135deg,#c9a25c,#e6c27a); color:#1e2a44;
  font:inherit; font-size:15px; font-weight:800; letter-spacing:.02em; cursor:pointer;
}
.dm-activate:active{ transform:scale(.98); }

/* ==========================================================================
   DEMO v13 — ad loading spinner + PhonePe badge fit
   ========================================================================== */
.ad-loading{
  position:absolute; inset:0; z-index:5;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
  background:#000; color:#dbe8ff;
}
.ad-loading.hidden{ display:none; }
.ad-spin{
  width:46px; height:46px; border-radius:50%;
  border:3px solid rgba(219,232,255,.25); border-top-color:#9cc6ff;
  animation:adspin .8s linear infinite;
}
@keyframes adspin{ to{ transform:rotate(360deg); } }
.ad-loading-txt{ font-size:13px; letter-spacing:.04em; opacity:.85; }

/* PhonePe — real brand look: PURPLE badge, WHITE symbol (no fragile transform) */
.pm-phonepe .pm-badge{ background:#5f259f; border-color:#5f259f; padding:8px; }
.pm-phonepe .pm-badge svg{ width:auto; height:100%; }
.pm-phonepe .pm-badge svg path{ fill:#fff; }

/* ==========================================================================
   DEMO v14 — Activate account screen (QR · UPI · phone · proof upload)
   Navy & gold theme version of the reference activation page.
   ========================================================================== */
.act-screen{
  position:fixed; inset:0; z-index:3200;
  background:#f5f6f8; color:#1e2a44;
  display:flex; flex-direction:column;
  font-family:inherit;
}
.act-screen.hidden{ display:none; }
.act-head{
  display:flex; align-items:center; gap:10px;
  padding:max(18px, calc(env(safe-area-inset-top,0px) + 14px)) 16px 12px;
  background:#1e2a44; color:#fff;
}
.act-back{
  width:38px; height:38px; border-radius:50%; border:0;
  background:rgba(255,255,255,.12); color:#fff; font-size:20px; cursor:pointer;
}
.act-title{ font-size:17px; font-weight:700; }
.act-scroll{ flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; padding:20px 18px calc(env(safe-area-inset-bottom,0px) + 24px); }

.act-qr-card{
  width:230px; max-width:72vw; aspect-ratio:1; margin:6px auto 0;
  background:#fff; border-radius:16px; padding:14px;
  box-shadow:0 2px 12px rgba(30,42,68,.1); display:grid; place-items:center;
}
.act-qr-card svg, .act-qr-card img{ width:100%; height:100%; display:block; }
.act-step{ text-align:center; font-size:19px; font-weight:600; color:#1e2a44; margin:16px 0 4px; }
.act-or{ display:block; font-size:16px; font-weight:500; color:#8a93a4; margin-top:2px; }

.act-copy{
  display:flex; align-items:center; gap:10px;
  border:1px solid #cfd5df; border-radius:14px; background:#fff;
  padding:8px 8px 8px 18px; margin:6px auto 0; max-width:420px;
}
.act-copy-val{ flex:1; font-size:17px; font-weight:600; color:#3a4355; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.act-copy-btn{
  flex-shrink:0; border:0; border-radius:10px; cursor:pointer;
  background:#1e2a44; color:#fff; font:inherit; font-size:13px; font-weight:700;
  padding:11px 18px;
}
.act-copy-btn.done{ background:#b8893b; }
.act-pay{ text-align:center; font-size:19px; font-weight:600; color:#1e2a44; line-height:1.4; margin:18px auto 4px; max-width:420px; }
.act-pay b{ color:#1e2a44; }

.act-after{
  margin:22px auto 0; max-width:460px;
  background:#1e2a44; border-radius:20px; padding:20px 18px 22px; color:#fff;
}
.act-after-title{ text-align:center; font-size:20px; font-weight:800; margin-bottom:16px; }
.act-attach{
  display:flex; align-items:center; gap:10px;
  border:1.5px solid #3f72c4; border-radius:14px; padding:12px 12px 12px 18px; cursor:pointer;
}
.act-attach-txt{ flex:1; font-size:16px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.act-attach-btn{
  flex-shrink:0; background:#fff; color:#1e2a44; border-radius:10px;
  padding:9px 16px; font-size:13px; font-weight:700;
}
.act-attach.has-file{ border-color:#b8893b; }
.act-attach.has-file .act-attach-btn{ background:#b8893b; color:#1e2a44; }
.act-input{
  width:100%; margin-top:14px; padding:16px 18px; border-radius:14px;
  border:1.5px solid #3f72c4; background:transparent; color:#fff;
  font:inherit; font-size:16px; text-align:center; outline:none;
}
.act-input::placeholder{ color:#b9c6e0; }
.act-input:focus{ border-color:#e6c27a; }
.act-submit{
  width:60%; max-width:260px; margin:20px auto 0; display:block;
  padding:15px; border:0; border-radius:14px; cursor:pointer;
  background:#fff; color:#1e2a44; font:inherit; font-size:17px; font-weight:800;
}
.act-submit:disabled{ opacity:.6; }
.act-msg{ text-align:center; font-size:14px; min-height:1em; margin:12px 2px 0; }
.act-msg.ok{ color:#e6c27a; } .act-msg.err{ color:#ff9b9b; }

/* ==========================================================================
   DEMO v15 — activation tweaks: canvas QR, Save-QR button, screenshot preview,
   UPI-only (phone + transaction id removed)
   ========================================================================== */
.act-qr-card canvas{ width:100%; height:100%; display:block; image-rendering:pixelated; }
.act-saveqr{
  display:block; margin:14px auto 0; padding:11px 22px; border:1.5px solid #1e2a44;
  border-radius:12px; background:#fff; color:#1e2a44; font:inherit; font-size:14px; font-weight:700; cursor:pointer;
}
.act-saveqr:active{ transform:scale(.97); }

/* file input is present but off-screen (display:none breaks pickers on some WebViews) */
.act-file-input{ position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; pointer-events:none; }

/* attach is now a real button */
.act-attach{ width:100%; border:1.5px solid #3f72c4; background:transparent; color:#fff;
  display:flex; align-items:center; gap:10px; border-radius:14px; padding:14px 12px 14px 18px; cursor:pointer; }
.act-attach:active{ transform:scale(.99); }

.act-preview{ margin-top:12px; text-align:center; }
.act-preview.hidden{ display:none; }
.act-preview img{ max-width:100%; max-height:200px; border-radius:12px; border:1px solid rgba(255,255,255,.25); }

/* ==========================================================================
   DEMO v16 — activation request status (pending / approved key / rejected)
   + Exit demo
   ========================================================================== */
.act-status{ border-radius:16px; padding:18px 16px; margin-bottom:16px; text-align:center; }
.act-status.hidden{ display:none; }
.act-status .as-title{ font-size:18px; font-weight:800; }
.act-status .as-sub{ font-size:13.5px; margin-top:6px; line-height:1.5; }
.act-status.pending{ background:#fff6e4; border:1px solid #f0dcb3; color:#8a6a2a; }
.act-status.rejected{ background:#fdecec; border:1px solid #f3c7c7; color:#a23b3b; }
.act-status.approved{ background:#eaf6ef; border:1px solid #bfe3cf; color:#1e7a4f; }
.as-key{
  margin:14px auto 0; max-width:320px; background:#fff; border:2px dashed #1e7a4f; border-radius:12px;
  padding:14px 10px; font-size:22px; font-weight:900; letter-spacing:2px; color:#13603c; user-select:all; word-break:break-all;
}
.act-copykey, .act-start{
  display:block; width:100%; max-width:340px; margin:12px auto 0; padding:14px; border:0; border-radius:12px;
  font:inherit; font-size:15px; font-weight:800; cursor:pointer;
}
.act-copykey{ background:#1e7a4f; color:#fff; }
.act-start{ background:#1e2a44; color:#fff; }
.act-copykey:active, .act-start:active{ transform:scale(.98); }

.act-exit{
  display:block; margin:18px auto 6px; padding:12px 22px; border:1px solid #d5dee5; border-radius:12px;
  background:#fff; color:#4a5060; font:inherit; font-size:14px; font-weight:700; cursor:pointer;
}
#act-paywrap.hidden{ display:none; }

/* ===== v17 — demo social-proof withdrawal ticker (DEMO only) ===== */
.wt-toast{position:fixed;left:50%;top:calc(env(safe-area-inset-top,0px) + 96px);
  transform:translate(-50%,-16px);max-width:88%;
  background:rgba(18,26,45,.92);color:#fff;border:1px solid rgba(230,194,122,.55);
  border-radius:999px;padding:9px 16px;font-size:13px;line-height:1.2;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  box-shadow:0 10px 28px rgba(0,0,0,.45);opacity:0;pointer-events:none;z-index:2650;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  transition:opacity .35s ease, transform .35s ease}
.wt-toast.show{opacity:1;transform:translate(-50%,0)}
.wt-toast b{color:#e6c27a;font-weight:800}
