/* VULU web FaultyTerminal field. The canvas is ambient only and never owns input. */
.vulu-faulty-terminal-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
  opacity: 0;
}

/* Keep the Canvas2D fallback visible until WebGL has painted successfully. */
.vulu-faulty-terminal-background.is-ready {
  background: #040404;
  opacity: 0.78;
}

.vulu-faulty-terminal-background .faulty-terminal-container,
.vulu-faulty-terminal-background canvas {
  display: block;
  width: 100%;
  height: 100%;
}

html.vfx-off .vulu-faulty-terminal-background {
  display: none;
}

#root > :not(#vulu-faulty-terminal-background) {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .vulu-faulty-terminal-background.is-ready {
    opacity: 0.58;
  }
}
