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

#stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Keep the game's 1280x920 aspect ratio, as large as the window allows. */
#unity-canvas {
  width: min(100vw, calc(100vh * 1280 / 920));
  height: min(100vh, calc(100vw * 920 / 1280));
  background: #231F20;
  outline: none;
}

#loading {
  position: absolute;
  text-align: center;
}

#bar {
  width: 240px;
  height: 10px;
  border-radius: 5px;
  background: #444;
  overflow: hidden;
}

#fill {
  width: 0;
  height: 100%;
  background: #f28c28;
  transition: width 0.2s;
}
