/* A viewport layer keeps wallpapers independent of section height, also on mobile. */
html body #reward-shop-section.section.glass-card,
html body #profile-settings-page.section.glass-card,
html body #build-bundle-section.section.glass-card {
    isolation: isolate;
    transform: none !important;
    translate: none !important;
    rotate: none !important;
    scale: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    perspective: none !important;
    contain: none !important;
    content-visibility: visible !important;
    will-change: auto !important;
}

html body #reward-shop-section.section.glass-card::before,
html body #profile-settings-page.section.glass-card::after,
html body #build-bundle-section.section.glass-card::before {
    content: "" !important;
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    z-index: -1 !important;
    pointer-events: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
    background-color: #10091c !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

html body #reward-shop-section.section.glass-card {
    background-image: none !important;
}

html body #reward-shop-section.section.glass-card::before {
    background-image: linear-gradient(to bottom, rgba(15, 10, 30, .9), rgba(44, 26, 64, .85)),
        url("./images/P97JL4qb6z2ofr_OgOOH30QggmrvQWMhEYPrUJZaHw4.gif") !important;
}

html body #reward-shop-section.section.glass-card::after,
html body #profile-settings-page.section.glass-card::before,
html body #build-bundle-section.section.glass-card::after {
    display: none !important;
    content: none !important;
}

/* The existing purchase/selection code owns this inline image, not this stylesheet. */
html body #profile-settings-page.section.glass-card.has-custom-bg::after {
    background-image: inherit !important;
}

html body #profile-settings-page.section.glass-card.has-custom-bg {
    background-attachment: fixed !important;
}

html body #build-bundle-section.section.glass-card {
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: clamp(18px, 3vw, 36px) clamp(12px, 4vw, 42px) 52px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    background: transparent !important;
}

html body #build-bundle-section.section.glass-card::before {
    background-image: linear-gradient(rgba(0, 0, 0, .85), rgba(0, 0, 0, .85)),
        url("https://i.postimg.cc/nhbtKM7v/ac-shadows-background.webp") !important;
}

@media (max-width: 768px) {
    html body #build-bundle-section.section.glass-card {
        padding-top: 56px !important;
    }

    html body #build-bundle-section .status-badge-left {
        position: static !important;
        display: inline-flex !important;
        margin: 12px auto !important;
    }
}
