:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #101313;
  color: #fff;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: #101313; }

/* Fixed to the viewport so the canvas box can never be sized from the canvas'
   own intrinsic aspect ratio, which used to make it taller than the window. */
#unity-container { position: fixed; inset: 0; }
#unity-canvas { display: block; width: 100%; height: 100%; background: #101313; }

#loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: #101313;
  z-index: 2;
}

#progress-track {
  width: min(520px, 78vw);
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #303838;
}

#progress-bar { width: 0; height: 100%; background: #64bd47; transition: width 120ms linear; }
#status { color: #d9e0e0; font-size: 14px; }
#error { display: none; max-width: 720px; color: #ffd3d3; line-height: 1.45; }

#fullscreen {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  color: #fff;
  background: rgba(0, 0, 0, .72);
  cursor: pointer;
}

