/* Shared motion contract for Sakura public/auth screens */
.motion-safe .anim-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 420ms ease, transform 420ms ease;
    transition-delay: var(--delay, 0ms);
    will-change: opacity, transform;
}

.motion-safe .anim-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    body *,
    body *::before,
    body *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .motion-safe .anim-reveal,
    .motion-safe .anim-reveal.is-visible {
        opacity: 1 !important;
        transform: none !important;
    }
}
