body { padding: 0; margin: 0 }
#unity-container { position: fixed; width: 100%; height: 100%; }
#unity-canvas { width: 100%; height: 100%; background: #231F20 }
#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  flex-direction: column;
  align-items: center;
}
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center; background-size: contain; }

/* Circular loading indicator — a continuously spinning arc that signals
   "still working," independent of the actual load percentage (that's
   tracked separately by the bar + number below). */
#unity-progress-circle-wrapper {
  width: 88px;
  height: 88px;
  margin: 16px 0 20px;
  animation: unity-spin 0.9s linear infinite;
}
#unity-progress-circle {
  width: 100%;
  height: 100%;
}
#unity-progress-circle-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 8;
}
#unity-progress-circle-fill {
  fill: none;
  stroke: #22b25c;
  stroke-width: 8;
  stroke-linecap: round;
}
@keyframes unity-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Linear progress bar with percentage readout */
#unity-progress-bar-empty {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 200px;
  height: 18px;
  border-radius: 9px;
  background: #141414;
  overflow: hidden;
}
#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: #22b25c;
  border-radius: 9px 0 0 9px;
  transition: width 0.15s linear;
}
#unity-progress-percent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.5px;
  pointer-events: none;
}

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