/* V283: keep the wallpaper's viewport dimensions stable between menu screens.
   Offline, Online, Settings and Help vary in height; reserving a consistent
   scrollbar gutter prevents the fixed background from being recentered when
   the vertical scrollbar appears or disappears. Gameplay is excluded. */
@supports selector(html:has(body)) {
  html:has(body:not(.board-view)) {
    scrollbar-gutter: stable;
  }
  html:has(body.board-view) {
    scrollbar-gutter: auto;
  }
}
/* Do not reposition or animate the background during content transitions. */
body:not(.board-view) #clThemePageBackground {
  position: fixed !important;
  inset: 0 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  background-origin: border-box;
}
/* Standalone screens use the same fixed-to-viewport wallpaper behaviour.
   Background repeat/size/position continue to be provided by the chosen mode. */
body.crosslink-standalone-page,
body.history-body {
  background-attachment: fixed !important;
}
