.auth-collage {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    transform: translate(-50%, -50%) rotate(-12deg);
}

.auth-collage-row {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: auth-row-left 60s linear infinite;
    will-change: transform;
}

.auth-collage-row.is-rev {
    animation-name: auth-row-right;
}

/* Trailing margin (not flex gap) on every cell so the row's
   width is an exact multiple of one cover's slot — keeps the
   -50% marquee loop seamless. */
.auth-collage-cell {
    flex: 0 0 auto;
    width: clamp(84px, 10vw, 148px);
    margin-right: .5rem;
    aspect-ratio: 2 / 3;
    border-radius: .375rem;
    background: rgba(255, 255, 255, .04) center / cover no-repeat;
}

@keyframes auth-row-left {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes auth-row-right {
    from {
        transform: translate3d(-50%, 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-collage-row {
        animation: none;
    }
}
