html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #06040a;
  -webkit-user-select: none;
  user-select: none;
}

/* The key art behind the game, dimmed towards the edges so the game stands out. */
#backdrop {
  position: fixed;
  inset: 0;
  background: #06040a url("backdrop.png") center / cover no-repeat;
  image-rendering: pixelated;
}
#backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(6, 4, 10, 0.45) 0%, rgba(6, 4, 10, 0.85) 75%);
}

#game {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background: #0c0a12;
  box-shadow: 0 0 0 2px #0a0810, 0 0 48px rgba(0, 0, 0, 0.8);
}

#unity-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #0c0a12;
  outline: none;
  touch-action: none;
}

#loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: #0c0a12;
}
#loading-logo {
  width: 320px;
  max-width: 80%;
  image-rendering: pixelated;
}
#loading-track {
  width: 60%;
  max-width: 240px;
  height: 8px;
  background: #1b1524;
  border: 2px solid #0a0810;
}
#loading-fill {
  width: 0;
  height: 100%;
  background: #f2c14e;
}
