/* Local negative stacking layer: decoration never covers cards or captures clicks. */
body:has(> .bq-atmosphere){isolation:isolate}
.bq-atmosphere{--bq-video-opacity:.32;position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;user-select:none;contain:strict}
.bq-wallpaper-poster,.bq-wallpaper-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:var(--bq-video-opacity)}
.bq-wallpaper-video{visibility:hidden}
.bq-atmosphere[data-playing=true] .bq-wallpaper-video{visibility:visible}
.bq-atmosphere[data-playing=true] .bq-wallpaper-poster{visibility:hidden}
/* Only Minecraft retains a quiet still; Kazakhstan uses the standard wallpaper. */
.bq-atmosphere[data-quiet=true]{--bq-video-opacity:.06}
:root[data-theme=dark] .bq-atmosphere,body[data-theme=dark] .bq-atmosphere,body.dark-mode .bq-atmosphere{--bq-video-opacity:.18}
:root[data-theme=dark] .bq-atmosphere[data-quiet=true],body.dark-mode .bq-atmosphere[data-quiet=true]{--bq-video-opacity:.04}
@media(max-width:767px),(pointer:coarse){.bq-atmosphere{--bq-video-opacity:.24}.bq-atmosphere[data-quiet=true]{--bq-video-opacity:.04}}
@media(prefers-reduced-motion:reduce){.bq-wallpaper-video{visibility:hidden!important}.bq-wallpaper-poster{visibility:visible!important}}
@media(forced-colors:active){.bq-atmosphere{display:none}}
@media print{.bq-atmosphere{display:none}}

/* Shared page banners. Purchased profile backgrounds keep their own appearance. */
body :is(.beginner-hero,.dictionary-hero,.lesson-hero,.quiz-hero,.reading-hero,.games-hero,.kz-hero,.kz-region-hero,.shop-hero,.users-hero,.profile-hero:not([class*="cosmetic-"])){
 background-image:linear-gradient(100deg,rgba(18,25,88,.48),rgba(24,24,84,.08)),url('/images/backgrounds/page-header.png')!important;
 background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;
 color:#fff;
}
body :is(.shop-hero,.kz-region-hero) h1{color:#fff}
body .shop-hero>div:first-child>p,body .shop-hero .shop-eyebrow,body .shop-hero .shop-collection-link{color:#eef2ff!important}
body .users-hero h1{color:#fff!important}
body .users-hero>div>p,body .users-hero>div>span,body .kz-region-hero>span,body .kz-region-hero>p{color:#eef2ff!important}
