/* PC 首页品牌馆：无框大 Logo、双侧渐隐和连续无限滚动。 */
@media only screen and (min-width: 1025px) {
    .index-index-index .home-brand-hall-carousel {
        position: relative;
        display: block;
        overflow: hidden;
    }

    .index-index-index .home-brand-hall-viewport {
        width: 100%;
        overflow-x: auto;
        scroll-behavior: auto;
        scroll-snap-type: none;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6.4rem, #000 calc(100% - 6.4rem), transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 6.4rem, #000 calc(100% - 6.4rem), transparent 100%);
    }

    .index-index-index .home-brand-hall-grid {
        gap: 2.4rem;
        will-change: transform;
    }

    .index-index-index .home-brand-hall-grid > li {
        flex-basis: clamp(18rem, 14vw, 21rem);
        scroll-snap-align: none;
    }

    .index-index-index .home-brand-hall-card {
        height: 9.6rem;
        padding: 1rem 1.2rem;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transition: opacity 0.2s ease;
    }

    .index-index-index .home-brand-hall-card:hover,
    .index-index-index .home-brand-hall-card:focus-visible {
        border-color: transparent;
        box-shadow: none;
        transform: none;
    }

    .index-index-index .home-brand-hall-card:hover {
        opacity: 0.78;
    }

    .index-index-index .home-brand-hall-card:focus-visible {
        opacity: 1;
    }

    .index-index-index .home-brand-hall-logo {
        max-width: 18rem;
        height: 6.4rem;
    }

    .index-index-index .home-brand-hall-logo-wide-crop {
        width: 18rem;
        height: 6.4rem;
    }

    .index-index-index .home-brand-hall-carousel.is-looping .home-brand-hall-viewport {
        overflow-x: hidden;
    }

    .index-index-index .home-brand-hall-carousel.is-looping .home-brand-hall-grid {
        animation: home-brand-hall-infinite-scroll var(--home-brand-hall-loop-duration, 30s) linear infinite;
    }

    .index-index-index .home-brand-hall-carousel:hover .home-brand-hall-grid,
    .index-index-index .home-brand-hall-carousel:focus-within .home-brand-hall-grid,
    .index-index-index .home-brand-hall-carousel.is-outside-viewport .home-brand-hall-grid {
        animation-play-state: paused;
    }
}

@keyframes home-brand-hall-infinite-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(var(--home-brand-hall-loop-offset, 0), 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .index-index-index .home-brand-hall-carousel.is-looping .home-brand-hall-grid {
        animation: none;
        transform: none;
    }
}
