html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

#unity-container {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

#unity-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #231F20;
  outline: none;
}

#loading {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 80vw);
  color: #fff;
  text-align: center;
  z-index: 20;
  pointer-events: none;
}

#loading-text {
  margin-bottom: 10px;
  font-size: 14px;
  opacity: 0.9;
}

#progress-wrap {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.2);
  border-radius: 999px;
  overflow: hidden;
}

#progress-bar {
  width: 0%;
  height: 100%;
  background: #4ade80;
  transition: width 0.12s ease-out;
}

#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: white;
  padding: 10px;
  display: none;
  z-index: 30;
}
