:root {
  color-scheme: light;
  background: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #fff;
}

body {
  touch-action: none;
}

#webgl-stage,
#css-stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

#webgl-stage {
  z-index: 2;
  display: block;
  outline: none;
  cursor: grab;
  touch-action: none;
}

#webgl-stage.is-dragging {
  cursor: grabbing;
}

#webgl-stage.is-particle-transition {
  z-index: 4;
  cursor: default;
  pointer-events: none;
}

#css-stage {
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.webpage-face-shell {
  position: relative;
  overflow: hidden;
  background: #fff;
  pointer-events: none;
  backface-visibility: hidden;
}

.webpage-face {
  position: absolute;
  inset: -0.5px;
  display: block;
  width: calc(100% + 1px);
  height: calc(100% + 1px);
  margin: 0;
  border: 0;
  background: #fff;
  pointer-events: none;
}

.webpage-face-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #fff;
  color: #111;
  font: 600 11px/1.2 Arial, sans-serif;
  letter-spacing: 0.16em;
  pointer-events: none;
  z-index: 2;
}

.webpage-face-fallback[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  #webgl-stage {
    cursor: default;
  }
}
