
html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}
#app {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
#game-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#unity-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #000;
}
#unity-canvas {
  width: 100%;
  height: 100%;
  background: #000;
  display: block;
}
#loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(20,20,20,.92), rgba(0,0,0,.98));
  z-index: 5;
}
#loading-card {
  width: min(420px, 86vw);
  background: rgba(15,15,15,.95);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
  color: #fff;
  text-align: center;
}
#loading-card img {
  width: min(180px, 42vw);
  height: auto;
  display: block;
  margin: 0 auto 16px;
}
#loading-title {
  font-size: 18px;
  margin-bottom: 10px;
}
#loading-text {
  font-size: 26px;
  margin-bottom: 14px;
}
#progress-track {
  width: 100%;
  height: 16px;
  background: rgba(255,255,255,.14);
  border-radius: 999px;
  overflow: hidden;
}
#progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #56e15b, #d8d74d);
}
#error-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: min(560px, 90vw);
  background: #fff;
  color: #111;
  border-radius: 18px;
  padding: 22px 24px;
  display: none;
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
}
#error-box h3 { margin: 0 0 12px; font-size: 22px; }
#error-box p { margin: 0; font-size: 18px; line-height: 1.35; }
