/*!
 * texture.paper — styles for the Paper Shaders wrapper (Apache-2.0; see fx.js).
 */

/*
 * The still is a plain gradient of the same colours under the canvas: it shows before the first
 * frame, where WebGL2 is missing, and in print, where a WebGL canvas may print blank.
 */
.fx-shader { pointer-events: none; }
.fx-shader > .fx-shader-still,
.fx-shader > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.fx-shader > canvas { display: block; }
/* ShaderMount's own layer puts the canvas at z-index -1 inside an isolated parent. */
.fx-shader > .fx-shader-still { z-index: -2; }

@media print {
  .fx-shader > canvas { display: none; }
}
