html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #14151a;
  color: #e6e6e6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#farsight-canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  outline: none;
  touch-action: none;
}

/* Boot cover: the splash-screen R logo and one line until the engine's own splash takes over. */
#farsight-status {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #14151a;
  font-size: 15px;
  letter-spacing: 0.02em;
  pointer-events: none;
}

#farsight-status .logo {
  width: 96px;
  height: 96px;
}

#farsight-status .message {
  max-width: min(80vw, 640px);
  text-align: center;
  white-space: pre-wrap;
}

#farsight-status.error {
  pointer-events: auto;
  user-select: text;
}

#farsight-status.error .message {
  color: #ff9b9b;
}

#farsight-status[hidden] {
  display: none;
}
