/* One-time welcome after sign-up / sign-in (js/render/welcome.js): the welcome video in a card. */
.wl-backdrop{
  position:fixed; inset:0; z-index:1000; display:flex; align-items:center; justify-content:center; padding:16px;
  background:rgba(44,44,44,.55); animation:wl-fade .25s ease both;
}
.wl-backdrop.wl-closing{animation:wl-fade-out .2s ease both;}
.wl-card{
  width:100%; max-width:480px; background:var(--bg); border-radius:22px; padding:14px 14px 18px; text-align:center;
  box-shadow:0 18px 50px rgba(0,0,0,.25); animation:wl-rise .35s cubic-bezier(.2,.9,.3,1.2) both;
}
.wl-frame{border-radius:16px; overflow:hidden; background:#f1ecf8; aspect-ratio:16 / 9;}
.wl-media{display:block; width:100%; height:100%; object-fit:cover;}
.wl-actions{display:flex; flex-direction:column; align-items:center; gap:4px; margin-top:16px; animation:wl-up .4s ease both; animation-delay:.6s;}
.wl-go{min-width:220px; min-height:46px; font-size:16px;}
button.linkbtn.wl-skip{margin-top:6px; padding:8px 14px; color:var(--soft);}

@keyframes wl-fade{from{opacity:0;} to{opacity:1;}}
@keyframes wl-fade-out{to{opacity:0;}}
@keyframes wl-rise{from{opacity:0; transform:translateY(24px) scale(.96);} to{opacity:1; transform:none;}}
@keyframes wl-up{from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:none;}}

@media (prefers-reduced-motion: reduce){ .wl-backdrop, .wl-card, .wl-actions{animation:none !important;} }
@media (max-width:480px){ .wl-backdrop{padding:10px;} .wl-card{padding:8px 8px 16px; border-radius:20px;} .wl-frame{border-radius:14px;} }

/* "Your Premium is on!" card (welcome.js maybeShowPremiumOn) */
.pon{position:fixed; z-index:900; left:50%; bottom:calc(84px + env(safe-area-inset-bottom,0px)); transform:translateX(-50%);
  width:calc(100% - 24px); max-width:520px; display:flex; align-items:center; gap:12px; padding:12px 14px;
  background:var(--bg); border:2px solid var(--yellow); border-radius:16px; box-shadow:0 12px 34px rgba(0,0,0,.2);
  animation:pon-in .35s cubic-bezier(.2,.9,.3,1.2) both;}
.pon.pon-out{animation:pon-out .2s ease both;}
.pon-icon{font-size:28px; line-height:1;}
.pon-text{flex:1; font-size:14px; line-height:1.4; color:var(--ink);}
.pon-text b{font-family:'Baloo 2',sans-serif; font-size:16px; color:var(--purple-dark);}
:root[data-theme="dark"] .pon-text b{color:var(--purple);}
.pon-ok{flex-shrink:0;}
@media (min-width:900px){ .pon{bottom:24px;} }
@keyframes pon-in{from{opacity:0; transform:translate(-50%, 20px);} to{opacity:1; transform:translate(-50%, 0);}}
@keyframes pon-out{to{opacity:0; transform:translate(-50%, 12px);}}
@media (prefers-reduced-motion: reduce){ .pon, .pon.pon-out{animation:none;} }
