/* Background layer of login only. Do not change auth controls. */
html body #app.app {
  background: #050b14 url('/assets/support-energy/background.png') center center / cover no-repeat !important;
}
html body #app.app > #support-energy-background {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1 !important;
  overflow: hidden;
  pointer-events: none;
  background: #050b14;
}
html body #app.app > #support-energy-background > img,
html body #app.app > #support-energy-background > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
html body #app.app > #support-energy-background > img {
  object-fit: cover;
  user-select: none;
}
html body #app.app > #support-energy-background > canvas {
  opacity: 0;
  transition: opacity 250ms linear;
}
html body #app.app > #support-energy-background[data-ready="true"] > canvas { opacity: 1; }
html body #app.app > #support-energy-background > canvas[data-mode="fallback"] { mix-blend-mode: screen; }
html body #app.app > .layout { z-index: 2; }
html body #app.app > .site-footer { z-index: 20; }
@media (prefers-reduced-motion: reduce) {
  html body #app.app > #support-energy-background > canvas { display: none !important; }
}
