html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: system-ui, sans-serif;
}

#stage,
#surface,
#fallback {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

#surface {
  touch-action: none;
}

#status {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 5;
  max-width: min(80vw, 720px);
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.68);
  font: 13px/1.3 ui-monospace, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#reconnect {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  padding: 8px 12px;
  border: 1px solid #777;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 13px;
}
