/* Generated by scripts/sync-gift-loading.py from GoonGift. */
@keyframes hero-shimmer{to{background-position:-200% 0}}
@keyframes hero-spin{to{transform:rotate(360deg)}}
.hero-page-loader{display:none;position:fixed;z-index:61;inset:0;width:100%;max-width:none;margin:0;padding:0;color:#c7b6cb;align-items:center;justify-content:center;pointer-events:none}
html[data-hero-pending] .hero-page-loader,
html[data-hero-rail-exiting] .hero-page-loader,
/* Keep the rail painted between marker removal and the observer's completion state.
   Layout reads during scrollbar compensation must not cancel its opacity transition. */
.hero-page-loader:has(>.hero-loading-rail[data-phase="loading"]),
.hero-page-loader:has(>.hero-loading-rail[data-phase="ending"]){display:flex}
html:not([data-hero-pending]) .hero-loader-label{display:none}
@keyframes hero-loader-appear{from{opacity:0}to{opacity:1}}
.hero-loader-label{animation:hero-loader-appear .22s ease-out 1s both;display:flex;flex-direction:column;align-items:center;gap:20px;font:14px/1.5 "Segoe UI",sans-serif}
.hero-loader-label i{display:block;width:30px;height:30px;border:3px solid #ff6bc72b;border-top-color:#ff6bc7;border-right-color:#6c96ff;border-radius:50%;animation:hero-spin .9s linear infinite}
@media(prefers-reduced-motion:reduce){.hero-loader-label i{animation:none!important}}

/* Keep the delay for reduced motion, but reveal without a fade. */
@media(prefers-reduced-motion:reduce){.hero-loader-label{animation-duration:1ms}}

/* Keep scrollbar compensation inside the page so it never creates an unpainted
   browser gutter beside the full-width header. Its contents keep the same width. */
body{padding-inline-start:var(--hero-scrollbar-space,0px);padding-inline-end:var(--hero-scrollbar-padding,0px)}
.family-theme-hero.family-header.family-header{
 width:auto;
 margin-inline-start:calc(-1 * var(--hero-scrollbar-space,0px));
 padding-inline-start:var(--hero-scrollbar-space,0px);
 margin-inline-end:calc(-1 * var(--hero-scrollbar-padding,0px));
 padding-inline-end:var(--hero-scrollbar-padding,0px);
}

/* Once the outgoing page unmounts, the loading surface has no scrollable content.
   Restore the document's normal overflow as soon as its pending marker is gone. */
html[data-hero-pending],html[data-hero-pending] body,
html[data-hero-rail-exiting],html[data-hero-rail-exiting] body{overflow-y:hidden}

/* Use the scrollbar's reserved lane for an indeterminate loading signal. */
.hero-loading-rail{
 position:fixed;top:0;right:0;bottom:0;
 width:max(3px,var(--hero-scrollbar-padding,0px));
 overflow:hidden;background:transparent;opacity:0;transition:opacity .22s ease-out;
 -webkit-mask-image:linear-gradient(90deg,transparent,#000 35%,#000 65%,transparent);
 mask-image:linear-gradient(90deg,transparent,#000 35%,#000 65%,transparent);
}
.hero-loading-rail[data-phase="loading"]{opacity:1}
.hero-loading-rail::before{
 content:"";position:absolute;top:0;left:0;width:100%;height:28%;
 background:linear-gradient(180deg,#6c96ff00,#6c96ffb3 22%,#be7cffa6 45%,#ff6bc7b3 66%,#ff6bc700);
 filter:blur(10px);

}
.hero-loading-rail::after{
 content:"";position:absolute;top:0;left:calc(50% - 2px);width:4px;height:28%;
 border-radius:99px;background:linear-gradient(180deg,#6c96ff,#ff6bc7 65%,#ff6bc733);
 box-shadow:0 0 5px #ff6bc730;

}
.hero-loading-rail:not([data-phase="hidden"])::before,
.hero-loading-rail:not([data-phase="hidden"])::after{animation:hero-rail-flow 1.8s ease-in-out infinite}
@keyframes hero-rail-flow{
 /* Include room for the blurred halo outside both ends of the viewport. */
 from{transform:translateY(calc(-100% - 32px));opacity:1}
 to{transform:translateY(calc(100dvh + 32px));opacity:1}
}
@media(prefers-reduced-motion:reduce){
 .hero-loading-rail{transition:none}
 .hero-loading-rail:not([data-phase="hidden"])::before,.hero-loading-rail:not([data-phase="hidden"])::after{animation:none;top:36%;transform:none}
}

@keyframes hero-route-leave{from{opacity:1}to{opacity:0}}
html[data-hero-leaving] #experience-root>*{animation:hero-route-leave .22s ease-in forwards;pointer-events:none}
html[data-hero-leaving] #hero-footer-root>.hero-footer{opacity:0;visibility:hidden;pointer-events:none}
@media(prefers-reduced-motion:reduce){html[data-hero-leaving] #experience-root>*{animation:none!important}}
/* Keep full-width footer paint aligned with Gift's in-page scrollbar reservation. */
html body #hero-footer-root>.hero-footer.hero-footer{width:auto;margin-inline-start:calc(-1 * var(--hero-scrollbar-space,0px));margin-inline-end:calc(-1 * var(--hero-scrollbar-padding,0px));padding-inline-start:var(--hero-scrollbar-space,0px);padding-inline-end:var(--hero-scrollbar-padding,0px)}
html[data-hero-pending] body>main{visibility:hidden}
html:is([data-hero-pending],[data-hero-rail-exiting]) .hero-footer{visibility:hidden;opacity:0;pointer-events:none}
body #hero-footer-root>.hero-footer{transition:opacity .22s ease-out,visibility .22s}
@media(prefers-reduced-motion:reduce){body #hero-footer-root>.hero-footer{transition:none}}
