/* UchetPar V23.9.404: safe, CSP-compatible wallpaper fallback. */
/* The server renders the same background selection in every base.html page. */
/* If lazy JS fails, CSS still paints actual art, not a dark placeholder. */
/* CSS is loaded LAST in both shells to win previous mobile resets. */
html body.season-autumn:not(.season-background-off) .season-bg-layer {
  display:block!important;
  position:fixed!important;
  inset:0!important;
  background-color:#13101c!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
}
html[data-theme="light"] body.season-autumn:not(.season-background-off) .season-bg-layer {
  background-color:#eee5df!important;
}

html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="autumn"] .season-bg-layer{background-image:url("/static/oct30/img/autumn_dark_runtime_v239183_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="autumn"] .season-bg-layer{background-image:url("/static/oct30/img/autumn_dark_runtime_v239183_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="autumn"] .season-bg-layer{background-image:url("/static/oct30/img/autumn_light_runtime_v239183_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="autumn"] .season-bg-layer{background-image:url("/static/oct30/img/autumn_light_runtime_v239183_1280.webp?v=wallpaper-v404")!important;}}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="halloween"] .season-bg-layer{background-image:url("/static/oct30/img/halloween_dark_v239266_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="halloween"] .season-bg-layer{background-image:url("/static/oct30/img/halloween_dark_v239266_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="halloween"] .season-bg-layer{background-image:url("/static/oct30/img/halloween_light_v239266_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="halloween"] .season-bg-layer{background-image:url("/static/oct30/img/halloween_light_v239266_1280.webp?v=wallpaper-v404")!important;}}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="winter"] .season-bg-layer{background-image:url("/static/oct30/img/winter_dark_v239221_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="winter"] .season-bg-layer{background-image:url("/static/oct30/img/winter_dark_v239221_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="winter"] .season-bg-layer{background-image:url("/static/oct30/img/winter_light_v239221_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="winter"] .season-bg-layer{background-image:url("/static/oct30/img/winter_light_v239221_1280.webp?v=wallpaper-v404")!important;}}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="newyear"] .season-bg-layer{background-image:url("/static/oct30/img/newyear_dark_v239221_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="newyear"] .season-bg-layer{background-image:url("/static/oct30/img/newyear_dark_v239221_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="newyear"] .season-bg-layer{background-image:url("/static/oct30/img/newyear_light_v239221_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="newyear"] .season-bg-layer{background-image:url("/static/oct30/img/newyear_light_v239221_1280.webp?v=wallpaper-v404")!important;}}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="spring"] .season-bg-layer{background-image:url("/static/oct30/img/spring_dark_v239239_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="spring"] .season-bg-layer{background-image:url("/static/oct30/img/spring_dark_v239239_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="spring"] .season-bg-layer{background-image:url("/static/oct30/img/spring_light_v239239_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="spring"] .season-bg-layer{background-image:url("/static/oct30/img/spring_light_v239239_1280.webp?v=wallpaper-v404")!important;}}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="summer"] .season-bg-layer{background-image:url("/static/oct30/img/summer_dark_v239222_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="summer"] .season-bg-layer{background-image:url("/static/oct30/img/summer_dark_v239222_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="summer"] .season-bg-layer{background-image:url("/static/oct30/img/summer_light_v239222_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="summer"] .season-bg-layer{background-image:url("/static/oct30/img/summer_light_v239222_1280.webp?v=wallpaper-v404")!important;}}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_red"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_red_v239299_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_red"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_red_v239299_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_red"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_red_v239299_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_red"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_red_v239299_1280.webp?v=wallpaper-v404")!important;}}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_mono"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_mono_v239299_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_mono"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_mono_v239299_1280.webp?v=wallpaper-v404")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_mono"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_mono_v239299_768.webp?v=wallpaper-v404")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="leclerc_mono"] .season-bg-layer{background-image:url("/static/oct30/img/leclerc_mono_v239299_1280.webp?v=wallpaper-v404")!important;}}

/* Keep page content over the wallpaper without changing its card styling. */
body.season-autumn:not(.season-background-off) .season-bg-layer:after {pointer-events:none;}


/* Keep the real DOM image visible on older Chromium/Samsung browsers even if an
   earlier stylesheet declares .season-bg-image visibility:hidden !important. */
html body.season-autumn:not(.season-background-off) .season-bg-layer .season-bg-image.is-decoded {
  display:block!important;
  visibility:visible!important;
}
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off) .season-bg-layer .season-bg-image-dark.is-decoded.is-active,
html[data-theme="light"] body.season-autumn:not(.season-background-off) .season-bg-layer .season-bg-image-light.is-decoded.is-active {
  opacity:1!important;
}
html:not([data-theme="light"]) body.season-autumn .season-bg-layer .season-bg-image-light,
html[data-theme="light"] body.season-autumn .season-bg-layer .season-bg-image-dark {
  opacity:0!important;
}
/* When JavaScript has decoded the visible image, do not composite a second
   copy of the wallpaper (important on memory-constrained mobile devices). */
html body.season-autumn:not(.season-background-off)[data-season-preset] .season-bg-layer.is-photo-ready {
  background-image:none!important;
}
/* Developer's A/B background-disable switch must work despite the fallback. */
html body.season-autumn.perf-ab-no-background .season-bg-layer {
  display:none!important;
}


/* V447: Sakura developer-only wallpaper fallback (assets selected server-side). */
html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="sakura"] .season-bg-layer{background-image:url("/static/oct30/img/sakura_dark_v239447_768.webp?v=23.9.447")!important;}
@media(min-width:761px){html:not([data-theme="light"]) body.season-autumn:not(.season-background-off)[data-season-preset="sakura"] .season-bg-layer{background-image:url("/static/oct30/img/sakura_dark_v239447_1280.webp?v=23.9.447")!important;}}
html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="sakura"] .season-bg-layer{background-image:url("/static/oct30/img/sakura_light_v239447_768.webp?v=23.9.447")!important;}
@media(min-width:761px){html[data-theme="light"] body.season-autumn:not(.season-background-off)[data-season-preset="sakura"] .season-bg-layer{background-image:url("/static/oct30/img/sakura_light_v239447_1280.webp?v=23.9.447")!important;}}
