* {
  box-sizing: border-box;
}

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

body {
  display: grid;
  place-items: center;
}

#game-shell {
  position: relative;
  width: min(100vw, 177.777vh);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  cursor: url("../assets/images/cursor-arrow.svg") 2 2, default;
}

#media-stage,
#interaction-layer,
#system-layer {
  position: absolute;
  inset: 0;
}

#media-stage img,
#media-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#interaction-layer,
#system-layer {
  pointer-events: none;
}

#interaction-layer > *,
#system-layer > * {
  pointer-events: auto;
}

#game-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.09) 0 1px,
    transparent 1px 3px
  );
}

#game-shell.is-reality {
  cursor: auto;
}

#game-shell.is-reality::after {
  display: none;
}
