html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #1d1d1d;
  color: #ccc;
  font: 13px/1.4 system-ui, sans-serif;
  /* Blender handles every gesture itself. */
  touch-action: none;
  overscroll-behavior: none;
  user-select: none;
}

#canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
}

#boot {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1d1d1d;
  z-index: 10;
}

#boot.done {
  display: none;
}

#boot .logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 56% 47%, #265787 0 13%, #fff 14% 31%, #e87d0d 32% 72%, transparent 73%);
}

#boot .title {
  font-size: 20px;
  font-weight: 600;
  color: #eee;
}

#boot .bar {
  width: 280px;
  height: 4px;
  background: #333;
  border-radius: 2px;
  overflow: hidden;
}

#boot-bar {
  width: 0;
  height: 100%;
  background: #e87d0d;
  transition: width 0.2s;
}

#boot .error {
  max-width: 80vw;
  max-height: 40vh;
  overflow: auto;
  white-space: pre-wrap;
  color: #ff8a7a;
  background: #111;
  padding: 10px;
  border-radius: 4px;
  user-select: text;
}
