/* Decorative layer only. Parent content sits at z-index: 1 and owns all tint,
   quiet text regions and button styling. The image also works with no JS/WebGL.
   No CSS animation: reduced motion, unavailable WebGL and failed loads stay still.
   initGalaxy can override --galaxy-texture for a caller-supplied textureUrl. */
.galaxy-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  background-color: #080c13;
  background-image: var(--galaxy-texture, url('./assets/slime-galaxy.webp'));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.galaxy-backdrop #galaxy-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.galaxy-backdrop #galaxy-canvas[data-galaxy-ready='true'] {
  opacity: 1;
}
