.shop-carousel {
    position: relative;
    width: calc(100% - 16px);
    max-width: 640px;
    margin: 0 auto 8px;
    overflow: hidden;
    border-radius: 16px;
    isolation: isolate;
    background: #9d250d;
}
.banner-stage { aspect-ratio: 1.72; }
.banner-slide {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    container-type: inline-size;
}
.banner-slide[hidden] { display: none; }
.banner-slide > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner-slide:focus-visible { outline: 3px solid #ffe39a; outline-offset: -5px; }
.banner-copy {
    position: absolute;
    inset: 8% auto 14% 7%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2cqw;
    color: #fff7e6;
    font-family: system-ui, "Microsoft YaHei", sans-serif;
    text-shadow: 0 2px 10px #0007;
}
.banner-copy > span:first-child { font-size: clamp(12px, 3.3cqw, 22px); font-weight: 600; }
.banner-copy strong { font-size: clamp(27px, 8.7cqw, 58px); line-height: 1.08; font-weight: 900; }
.banner-action {
    padding: .4em .9em;
    border-radius: 999px;
    background: #ffdf91;
    color: #412008;
    font-size: clamp(12px, 3cqw, 18px);
    font-weight: 750;
    text-shadow: none;
}
.banner-controls {
    position: absolute;
    z-index: 2;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    padding: 0 4px;
    border-radius: 999px;
    background: #241514a8;
}
.banner-controls button {
    display: grid;
    place-items: center;
    width: 24px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: white;
    cursor: pointer;
}
.banner-controls button:focus-visible { outline: 2px solid white; outline-offset: -2px; }
.banner-controls [data-slide]::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #ffffffa8;
}
.banner-controls [aria-current="true"]::before { width: 14px; background: #fff0c1; }
.banner-pause::before { content: ""; width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.banner-pause[data-paused="true"]::before {
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right: 0;
    border-left: 7px solid currentColor;
}
.top_logo img, .content .nav i { border-radius: 9px; }
.content .prolist_logo, .shop-grid img, .shop-detail img { border-radius: 12px; }
.shop-category-card img { border-radius: 14px; }

.banner-controls .banner-pause[hidden] { display: none; }


.banner-stage { overflow:hidden; border-radius:16px; }
.shop-carousel { background:transparent; overflow:visible; }
.banner-controls {
    position:static;
    transform:none;
    justify-content:center;
    width:max-content;
    margin:2px auto 0;
    background:transparent;
}
.banner-controls button { height:18px; }
.banner-controls [data-slide]::before { background:#cfc0b9; }
.banner-controls [aria-current="true"]::before { background:#b93c27; }
.banner-slide { overflow:hidden; }
.banner-slide::before {
    content:"";
    position:absolute;
    inset:-30% -45%;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(112deg, transparent 40%, #ffd89425 47%, #fff2c860 50%, #ffd89425 53%, transparent 60%);
    opacity:0;
}
.banner-copy { z-index:2; }
@media (prefers-reduced-motion:no-preference) {
    .banner-slide:not([hidden]) > img {
        animation: banner-drift 2.6s ease-in-out infinite alternate;
    }
    .banner-original:not([hidden]) > img {
        animation: banner-original-drift 2.6s ease-in-out infinite alternate;
    }
    .banner-slide:not([hidden])::before { animation: banner-sweep 2.4s .15s ease-in-out infinite; }
    .banner-slide:not([hidden]) .banner-copy > * {
        animation: banner-type-in 680ms cubic-bezier(.18,.75,.24,1) both;
    }
    .banner-slide:not([hidden]) .banner-copy strong { animation: banner-type-in 680ms 90ms cubic-bezier(.18,.75,.24,1) both, banner-title-float 1.5s .75s ease-in-out infinite alternate; }
    .banner-slide:not([hidden]) .banner-action { animation-delay:180ms; }
}
@keyframes banner-drift {
    from { transform:scale(1.02) translateX(0); }
    to { transform:scale(1.12) translateX(-2.2%); }
}
@keyframes banner-original-drift {
    from { transform:scale(1); }
    58% { transform:scale(1.035); }
    to { transform:scale(1.012); }
}
@keyframes banner-sweep {
    0%, 15% { opacity:0; transform:translateX(-58%); }
    36%, 57% { opacity:.42; }
    86%, 100% { opacity:0; transform:translateX(58%); }
}
@keyframes banner-type-in {
    from { opacity:0; transform:translateY(16px); }
    to { opacity:1; transform:translateY(0); }
}
@keyframes banner-title-float { from { translate: 0 0; } to { translate: 0 -4px; } }
