body { padding: 0; margin: 0; background: #0f172a; overflow: hidden }
#unity-container { position: absolute; overflow: hidden }
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
#unity-container.unity-mobile { position: fixed; width: 100%; height: 100%; left: 0; top: 0; }
#unity-canvas { background: #1e1b4b; display: block }
.unity-mobile #unity-canvas { width: 100%; height: 100%; }
#unity-loading-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #2e1065 0%, #0f172a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99;
  transition: opacity 0.5s ease;
}
#unity-logo {
  width: 220px;
  height: 220px;
  background: url('logo.png') no-repeat center;
  background-size: contain;
  margin-bottom: 24px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.5));
}
#unity-progress-bar-empty {
  width: 220px;
  height: 14px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: 2px;
  box-sizing: border-box;
}
#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
  border-radius: 999px;
  transition: width 0.2s ease-out;
}
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none; z-index: 100 }

/* Branding Logo Overlay */
.branding-overlay {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.branding-logo {
  height: clamp(20px, 3.6vh, 34px);
  width: auto;
  max-width: min(240px, 85vw);
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 5px rgba(0, 0, 0, 0.6));
  opacity: 0.92;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
