:root {
  color-scheme: dark;
  background: #000;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body,
#scene {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
}

body {
  position: fixed;
  inset: 0;
  overscroll-behavior: none;
}

#scene {
  position: fixed;
  inset: 0;
  isolation: isolate;
}

#camera,
#effects {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

#camera {
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  visibility: visible;
  background: transparent;
  transform: translateZ(0) scaleX(-1);
  -webkit-transform: translateZ(0) scaleX(-1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
}

#effects {
  z-index: 1;
  pointer-events: none;
}
