/* Decorative phone previews follow the current MiniApp's cinema surfaces and type. */
#showcase .evs-phone{--evsm-bg:#080a10;--evsm-text:#f4f5f7;--evsm-muted:#969eaf;--evsm-line:#242832;--evsm-accent:#a99be8;--evsm-on:#12111a;--evsm-filter:none}
:root[data-theme="light"] #showcase .evs-phone{--evsm-bg:#f7f6fb;--evsm-text:#211b31;--evsm-muted:#625a73;--evsm-line:#d8d1e4;--evsm-accent:#5f35ad;--evsm-on:#fff;--evsm-filter:brightness(0) saturate(100%)}
#showcase .evs-screen{background:var(--evsm-bg)!important;color:var(--evsm-text)!important}
#showcase .evs-ui.evs-modern{padding:13px 17px 12px;gap:0;position:relative;color:var(--evsm-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;text-align:start}
#showcase .evs-modern :where(h3,p,span,strong,small){font-family:inherit;letter-spacing:normal;min-inline-size:0}
#showcase .evsm-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 22px;flex-shrink:0}
#showcase .evsm-brand{display:flex;align-items:center;gap:6px;min-width:0}
#showcase .evsm-mark{width:18px;height:18px;object-fit:contain;filter:var(--evsm-filter)}
#showcase .evsm-wordmark{width:81px;height:auto;filter:var(--evsm-filter)}
#showcase .evsm-profile{display:flex;align-items:center;justify-content:center;color:var(--evsm-muted);width:23px;height:23px}
#showcase .evsm-profile svg{width:19px;height:19px}
#showcase .evsm-body{display:flex;flex:1;min-block-size:0;flex-direction:column;gap:0}
#showcase .evsm-eyebrow{font-size:7.4px;font-weight:600;line-height:1.5;letter-spacing:.13em!important;color:var(--evsm-muted);margin-bottom:10px}
#showcase .evsm-title{font-size:29px;line-height:1.08;font-weight:700;letter-spacing:-.045em!important;color:var(--evsm-text)!important;margin:0 0 22px;text-align:start;text-transform:none}
#showcase .evsm-title>span{display:block;letter-spacing:inherit}
#showcase .evsm-title-small{font-size:25px;margin-bottom:25px;max-inline-size:12ch}
#showcase .evsm-balance>span{display:block;color:var(--evsm-muted);font-size:8.5px;line-height:1.45;margin-bottom:9px}
#showcase .evsm-balance>strong{display:block;color:var(--evsm-text)!important;font-size:30px;font-weight:600;line-height:1.1;margin:0}
#showcase .evsm-intro{color:var(--evsm-muted);font-size:9px;line-height:1.6;margin:17px 0 13px}
#showcase .evsm-primary{display:flex;align-items:center;justify-content:space-between;gap:7px;background:var(--evsm-accent);color:var(--evsm-on);padding:11px 12px;border-radius:9px;font-size:9px;font-weight:650;line-height:1.4}
#showcase .evsm-actions{display:flex;flex-direction:column;margin-top:14px}
#showcase .evsm-action{display:flex;align-items:center;gap:8px;min-block-size:37px;border-bottom:1px solid var(--evsm-line);color:var(--evsm-text);font-size:9px;line-height:1.4}
#showcase .evsm-action-icon{color:var(--evsm-muted);font-size:14px;width:14px;flex:none}
#showcase .evsm-arrow{margin-inline-start:auto;color:var(--evsm-muted);font-size:16px}
#showcase .evsm-signin{color:var(--evsm-muted);font-size:7.5px;line-height:1.4;margin-top:14px}
#showcase .evsm-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:3px;border-top:1px solid var(--evsm-line);padding:11px 0 0;margin-top:16px;color:var(--evsm-muted);font-size:7.2px;line-height:1.35;text-align:center;flex-shrink:0}
#showcase .evsm-nav>span{padding-bottom:6px;overflow-wrap:anywhere}
#showcase .evsm-nav .is-current{color:var(--evsm-text);box-shadow:inset 0 -1.5px var(--evsm-accent)}
#showcase .evsm-catalog{display:flex;flex-direction:column;margin-top:0}
#showcase .evsm-catalog-row{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--evsm-line);padding:16px 0;color:var(--evsm-text);font-size:11px;line-height:1.4}
#showcase .evsm-catalog-row strong{font-weight:600}
#showcase .evsm-catalog-row>span{color:var(--evsm-accent);font-size:14px}
#showcase .evsm-bottom-link{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;line-height:1.45;color:var(--evsm-text);margin-top:auto;padding-top:14px}
#showcase .evsm-total{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--evsm-muted);font-size:9px;line-height:1.4;border-bottom:1px solid var(--evsm-line);padding:22px 0 15px;margin-top:4px}
#showcase .evsm-total strong{color:var(--evsm-text);font-size:15px;font-weight:600}
#showcase .evs-phone-right .evsm-actions{margin-top:12px}
#showcase .evs-phone-right .evsm-action{min-block-size:45px}
#showcase .evs-modern[dir="rtl"]{direction:rtl}
#showcase .evs-modern[dir="rtl"] .evsm-title{letter-spacing:0!important;line-height:1.25}
#showcase .evs-phone-center .evsm-header{margin-bottom:18px}
#showcase .evs-phone-center .evsm-title{margin-bottom:18px}
#showcase .evs-phone-center .evsm-intro{margin:12px 0 10px}
#showcase .evs-phone-center .evsm-actions{margin-top:10px}
#showcase .evs-phone-center .evsm-action{min-block-size:34px}
#showcase .evs-phone-center .evsm-signin{margin-top:9px}
#showcase .evs-phone-center .evsm-nav{margin-top:12px}
@media(max-width:768px){#showcase .evs-phone-center .evsm-header{margin-bottom:14px}#showcase .evs-phone-center .evsm-title{font-size:25px;margin-bottom:16px}#showcase .evs-phone-center .evsm-intro{margin:10px 0 9px}#showcase .evs-phone-center .evsm-actions{margin-top:8px}#showcase .evs-phone-center .evsm-action{min-block-size:31px}#showcase .evs-phone-center .evsm-signin{margin-top:8px}#showcase .evs-phone-center .evsm-nav{margin-top:10px}}

/* Override the legacy rule that forced phone internals dark in the light site theme. */
:root[data-theme="light"] #showcase .evs-phone .evs-screen{background:var(--evsm-bg)!important;color:var(--evsm-text)!important}
:root[data-theme="light"] #showcase .evs-phone .evs-sb{color:var(--evsm-text)!important}
:root[data-theme="light"] #showcase .evs-phone .evs-sb-dots i{background:var(--evsm-muted)!important}
:root[data-theme="light"] #showcase .evs-modern :is(.evsm-action,.evsm-nav,.evsm-catalog-row,.evsm-total){border-color:var(--evsm-line)!important}

/* Slow decorative drift keeps every phone's existing responsive transform pose. */
@supports (translate:0 1px) and (rotate:1deg) {
  @media (prefers-reduced-motion:no-preference) {
    #showcase #evsStage.evs-motion-ready .evs-phone.evs-float {
      --evs-drift-y:-6px;--evs-drift-angle:.25deg;
      animation:evsPhoneDrift 8.8s ease-in-out -.8s infinite!important;
      animation-play-state:paused!important;
    }
    #showcase #evsStage.evs-motion-ready .evs-phone-left.evs-float {
      --evs-drift-y:-8px;--evs-drift-angle:.4deg;
      animation-duration:10.2s!important;animation-delay:-2.6s!important;
    }
    #showcase #evsStage.evs-motion-ready .evs-phone-right.evs-float {
      --evs-drift-y:-7px;--evs-drift-angle:-.4deg;
      animation-duration:11s!important;animation-delay:-5.1s!important;
    }
    #showcase #evsStage.evs-motion-ready.evs-motion-running .evs-phone.evs-float {animation-play-state:running!important;}
    @media (max-width:768px) {
      #showcase #evsStage.evs-motion-ready .evs-phone.evs-float {--evs-drift-y:-4px;--evs-drift-angle:.2deg;}
      #showcase #evsStage.evs-motion-ready .evs-phone-center.evs-float {--evs-drift-y:-3px;--evs-drift-angle:.15deg;}
      #showcase #evsStage.evs-motion-ready .evs-phone-right.evs-float {--evs-drift-angle:-.2deg;}
    }
  }
}
@keyframes evsPhoneDrift {
  0%,100% {translate:0 0;rotate:0deg;}
  50% {translate:0 var(--evs-drift-y);rotate:var(--evs-drift-angle);}
}
@media (prefers-reduced-motion:reduce) {
  #showcase #evsStage .evs-phone.evs-float {animation:none!important;translate:none!important;rotate:none!important;}
}
#showcase .evs-motion-controls {display:flex;justify-content:center;margin:0 auto 12px;}
#showcase .evs-motion-controls[hidden] {display:none!important;}
#showcase .evs-motion-toggle {
  min-width:44px;min-height:44px;padding:8px 12px!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
  color:inherit!important;font:inherit;font-size:12px!important;line-height:1.4;
  cursor:pointer;opacity:.78;
}
#showcase .evs-motion-toggle:hover {opacity:1;}
#showcase .evs-motion-toggle:focus-visible {outline:2px solid currentColor!important;outline-offset:3px;opacity:1;}

/* Let the shared page background continue behind the three phone previews. */
#showcase #evsStage::before,
#showcase #evsStage::after {
  content:none!important;
  display:none!important;
  background:none!important;
  box-shadow:none!important;
  filter:none!important;
}
#showcase #evsStage > .evs-glow {display:none!important;}
#showcase #evsStage .evs-phone {
  box-shadow:0 14px 24px -16px rgba(0,0,0,.32),0 0 0 1px rgba(255,255,255,.06),inset 0 0 0 1px rgba(255,255,255,.04)!important;
}
#showcase #evsStage .evs-phone .evs-screen {box-shadow:none!important;}

/* One entrance for the whole composition. Individual translate leaves the
   phones' responsive transform poses and their separate drift animation intact.
   Content stays visible before setup and if JavaScript or observation fails. */
@supports (translate:0 1px) {
  @media (prefers-reduced-motion:no-preference) {
    #showcase #evsStage.evs-entry-active {
      animation:evsPhonesEntrance .76s cubic-bezier(.22,1,.36,1) 1 both!important;
      animation-play-state:paused!important;
    }
    #showcase #evsStage.evs-entry-active.evs-motion-running {
      animation-play-state:running!important;
    }
  }
}
@keyframes evsPhonesEntrance {
  from {translate:0 28px;}
  to {translate:0 0;}
}
@media (prefers-reduced-motion:reduce) {
  #showcase #evsStage.evs-entry-active {animation:none!important;translate:none!important;}
}
