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

#stage {
  position: fixed;
  inset: 0;
  background: #000;
}

.layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  opacity: 1;
  transition: opacity 260ms linear;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

#status {
  position: fixed;
  left: 12px;
  bottom: 12px;
  max-width: min(820px, calc(100vw - 24px));
  padding: 8px 10px;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.64);
  border-radius: 6px;
  display: none;
}

#statusSub {
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

body.debug #status,
body.no-media #status,
body.error #status {
  display: block;
}
