/* Lottie animations (animations.js). Wallet buttons keep their static icon until the animation is ready. */
.wallet-lottie{display:none;flex:none;width:24px;height:24px;pointer-events:none}
.wallet-lottie>svg,.upload-lottie>svg{display:block}
.wallet-button.has-wallet-lottie>.wallet-lottie{display:block}
.wallet-button.has-wallet-lottie>.icon{display:none}
.global-header .top-actions>.wallet-button>.wallet-lottie{width:30px;height:30px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.55))}
/* The large wallet at the top of Buy coins and Cash out, with the member's real balance in its pocket. */
.wallet-hero{display:none;position:relative;width:min(240px,72%);aspect-ratio:1;margin:0 auto 14px;container-type:inline-size}
.wallet-hero.has-wallet-lottie{display:block}
.wallet-hero-art{position:absolute;inset:0}
.wallet-hero-art>.wallet-lottie{display:block;width:100%;height:100%}
.wallet-hero-pocket{position:absolute;left:16%;right:14%;top:71%;margin:0;display:grid;gap:1px;color:#fff;line-height:1.15;text-align:left;text-shadow:0 1px 2px rgba(0,0,0,.5);pointer-events:none}
.wallet-hero-pocket span,.wallet-hero-pocket small{font-size:11px;font-size:4.6cqw;font-weight:600;color:rgba(255,255,255,.78)}
.wallet-hero>.wallet-hero-pocket>strong{color:#fff;font-size:21px;font-size:9.2cqw;font-weight:800;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* While a photo or video uploads in Create: the file, dimmed, with the upload cloud playing on top of it. */
.fp-uploading{position:relative;display:grid;place-items:center;min-height:180px;background:#000;border-radius:10px;overflow:hidden;isolation:isolate}
.fp-uploading-media{display:block;width:100%;max-height:340px;object-fit:contain;filter:brightness(.5)}
.fp-uploading-cloud{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.upload-lottie{display:block;width:min(46%,180px);aspect-ratio:1;filter:drop-shadow(0 2px 10px rgba(0,0,0,.45))}
/* After a new member confirms their email: the welcome animation once, over a dimmed page. A tap closes it. */
.fp-celebration{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:20px;background:rgba(10,14,21,.62);opacity:0;animation:fp-celebration-in .25s ease forwards;cursor:pointer}
.fp-celebration.is-leaving{animation:fp-celebration-out .3s ease forwards}
.fp-celebration-card{position:relative;width:min(88vw,420px);aspect-ratio:334/256}
.fp-celebration-art{position:absolute;inset:0;display:block;filter:drop-shadow(0 18px 36px rgba(0,0,0,.4))}
.fp-celebration-art>svg{display:block}
.fp-celebration-text{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.fp-celebration.no-art .fp-celebration-card{display:grid;place-items:center;aspect-ratio:auto;padding:28px;border-radius:16px;background:#fff;color:#1d1d1f}
.fp-celebration.no-art .fp-celebration-text{position:static;width:auto;height:auto;clip:auto;white-space:normal;text-align:center;font:700 18px/1.4 Manrope,system-ui,sans-serif}
@keyframes fp-celebration-in{to{opacity:1}}
@keyframes fp-celebration-out{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.fp-celebration,.fp-celebration.is-leaving{animation-duration:.01s}}
/* Split page: the Instagram shortcut's badge becomes the animated Instagram logo once it is ready. */
.logo-lottie{display:none}
.platform-badge.has-instagram-lottie{position:relative;background:none!important;font-size:0}
.platform-badge.has-instagram-lottie>.logo-lottie{position:absolute;inset:0;display:block}
.logo-lottie>svg{display:block}
