/* Motion studied from PIPL / Kultura. Original VNVNC icons and branding. */
.motion-brand{display:block;width:140px;height:66px;flex-shrink:0;background:linear-gradient(110deg,#f7f7f9 0%,#fff 30%,#ff8e87 45%,#fff 53%,#f7f7f9 72%);background-size:280% 100%;-webkit-mask:url('/static/assets/vnvnc-logo-classic-lettersonly-black.svg') center/contain no-repeat;mask:url('/static/assets/vnvnc-logo-classic-lettersonly-black.svg') center/contain no-repeat;animation:club-logo-shine 3.8s ease-in-out infinite}
.club-boot-loader,.motion-loading-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;text-align:center;background:#060609;color:#f7f7f9}
.club-boot-loader{position:fixed;inset:0;z-index:900;padding:32px 24px;pointer-events:none}
.club-boot-loader[hidden]{display:none}.motion-loading-screen{min-height:calc(100svh - 140px)}
body:not([data-screen])>.back-button+main>.brand{display:none}
.motion-loading-screen .motion-brand,.club-boot-loader .motion-brand{width:176px;height:78px}
.motion-cheers{display:flex;justify-content:center;align-items:center;gap:10px;height:132px;color:#fa3931;font-size:66px;line-height:1;filter:drop-shadow(0 0 18px #fa231d30)}
.motion-cheers .ph{display:block;transform-origin:50% 85%;animation:club-cheer-left 2.77s ease-in-out infinite}
.motion-cheers .ph+.ph{animation-name:club-cheer-right}
.motion-loading-label{font:500 13px/1.5 Geist,system-ui,sans-serif!important;letter-spacing:1.4px;text-transform:uppercase;color:#929299!important;margin:0!important}
.onboarding-ticket{animation:club-ticket-float 3.2s ease-in-out infinite}.onboarding-gift{animation:club-gift-float 3.6s ease-in-out infinite}
body[data-screen=phone] .brand .motion-brand{width:112px;height:46px}
/* Animate onboarding content, never delay already-mounted bottom-tab views. */
#phone.screen-enter>* ,#profile.screen-enter>*{animation:club-content-enter 450ms cubic-bezier(.16,1,.3,1) both}
#phone.screen-enter>:nth-child(2),#profile.screen-enter>:nth-child(2){animation-delay:35ms}
#phone.screen-enter>:nth-child(3),#profile.screen-enter>:nth-child(3){animation-delay:70ms}
.primary,.secondary,.gender span,.card-help-trigger{transition:background-color 180ms,color 180ms,border-color 180ms,transform 150ms,opacity 180ms}
.primary:active:not(:disabled),.secondary:active:not(:disabled){transform:scale(.985)}
.primary[aria-busy=true]{position:relative}.primary[aria-busy=true]::after{content:'\e66c';font-family:Phosphor!important;display:inline-block;margin-left:8px;animation:club-busy-turn 1s linear infinite}
@keyframes club-logo-shine{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes club-ticket-float{0%,100%{transform:rotate(-14deg) translateY(0)}50%{transform:rotate(-14deg) translateY(-6px)}}
@keyframes club-gift-float{0%,100%{transform:rotate(12deg) translateY(0)}50%{transform:rotate(12deg) translateY(-7px)}}
@keyframes club-content-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes club-cheer-left{0%,65%,100%{transform:rotate(-12deg) translateY(0)}28%,40%{transform:rotate(9deg) translateY(-8px)}}
@keyframes club-cheer-right{0%,65%,100%{transform:rotate(12deg) translateY(0)}28%,40%{transform:rotate(-13deg) translateY(-8px)}}
@keyframes club-busy-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.motion-brand,.motion-cheers .ph,.onboarding-ticket,.onboarding-gift,#phone.screen-enter>*,#profile.screen-enter>*,.primary[aria-busy=true]::after{animation:none!important}.primary,.secondary,.gender span,.card-help-trigger{transition:none}.primary:active:not(:disabled),.secondary:active:not(:disabled){transform:none}}

/* Old reply-keyboard Web Apps do not receive signed Telegram initData. */
body[data-session-state="unauthorised"]>main,body[data-session-state="unauthorised"]>.bottom-nav{display:none!important}
#telegramLaunchGate{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;gap:24px;background:#060609;color:#fff;text-align:center;font-family:Geist,system-ui,sans-serif}
#telegramLaunchGate h1{margin:0;font-size:30px}#telegramLaunchGate p{max-width:340px;margin:0;color:#a6a5af;font-size:17px;line-height:1.5}
.telegram-launch-button{display:block;width:min(100%,360px);padding:20px 16px;border-radius:16px;background:#fa231d;color:white;text-decoration:none;font-weight:700;font-size:14px}.telegram-launch-button:focus-visible{outline:2px solid white;outline-offset:4px}

/* Keep the card masthead geometry; animate only its existing logo mask. */
.brand-mark--masthead{background:linear-gradient(110deg,#f7f7f9 0%,#fff 30%,#ff8e87 45%,#fff 53%,#f7f7f9 72%);background-size:280% 100%;animation:club-logo-shine 3.8s ease-in-out infinite}
body[data-club-navigation-away="true"] .brand-mark--masthead{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.brand-mark--masthead{animation:none!important}}
