:root {
  color-scheme: light dark;
}

html {
  height: 100%;
}

html, body {
  margin: 0;
  padding: 0;
  background: #4f98ff;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: -apple-system, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  html, body {
    background: #232323;
  }
}

#unity-container {
  width: 100%;
  height: 100%;
  position: relative;
}

#unity-canvas {
  width: 100%;
  height: 100%;
  background: #4f98ff;
  display: block;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

@media (prefers-color-scheme: dark) {
  #unity-canvas {
    background: #232323;
  }
}

#loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

#loader img {
  width: 100px;
  margin-bottom: 12px;
  -webkit-user-drag: none;
}

#progress-bar {
  width: 200px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
}

#progress-bar-fill {
  width: 0%;
  height: 100%;
  background-color: white;
  transition: width 0.3s ease;
}

#error-message {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 20px;
  font-size: 16px;
  border-radius: 8px;
  z-index: 10000;
  display: none;
  text-align: center;
  max-width: 80%;
}

#reload-button {
  display: none;
  margin-top: 12px;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background: #4f98ff;
  color: white;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
} 
