/* A separate translate composes parallax with the original seamless drift transform. */
.background-blocks.home-parallax-enabled:before {
    translate: var(--home-parallax-x, 0px) var(--home-parallax-y, 0px);
    transition: translate var(--home-parallax-duration) var(--ease-control);
}
.title-splash {
    max-width: min(calc(100% - 48px), 580px);
    min-height: 36px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    vertical-align: middle;
}
#homeSplashText {
    display: inline-block;
    animation: var(--home-splash-motion);
}
@media (hover: hover) and (pointer: fine) {
    .title-splash:hover {
        animation: var(--home-splash-hover-motion);
    }
}
/* The leader's border shimmer moves its oversized gradient one period per loop. */
.score-podium .score-rank-1 {
    animation: var(--home-podium-motion);
}
.app[inert] #homeSplashText,
.app[inert] .title-splash,
.app[inert] .score-podium .score-rank-1,
.app[inert] .arcade-title,
body.page-hidden #homeSplashText,
body.page-hidden .title-splash,
body.page-hidden .score-podium .score-rank-1,
body.page-hidden .arcade-title {
    animation-play-state: paused;
}
body:is(.reduced, .effects-off) #homeSplashText,
body:is(.reduced, .effects-off) .title-splash,
body:is(.reduced, .effects-off) .score-podium .score-rank-1,
body:is(.reduced, .effects-off) .arcade-title {
    animation: none;
}
@media (prefers-reduced-motion: reduce) {
    #homeSplashText,
    .title-splash,
    .score-podium .score-rank-1,
    .arcade-title {
        animation: none;
    }
}
@keyframes home-splash-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}
/* Attract-mode title: four discrete color steps per loop, no tweened repaint. */
@keyframes home-arcade-title {
    0% {
        color: var(--neon);
    }
    25% {
        color: var(--medal-gold);
    }
    50% {
        color: var(--neon-2);
    }
    75% {
        color: var(--neon-3);
    }
}
@keyframes home-podium-shimmer {
    from {
        background-position:
            0 0,
            0 0;
    }
    to {
        background-position:
            0 0,
            100% 0;
    }
}
@keyframes home-splash-bounce {
    0%,
    100% {
        transform: rotate(-4deg) translateY(0);
    }
    30% {
        transform: rotate(-6deg) translateY(-5px);
    }
    60% {
        transform: rotate(-3deg) translateY(1px);
    }
}
