html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #05070d;
}

#unity-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

#unity-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #05070d;
  outline: none;
  touch-action: none;
}

#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(420px, 82vw);
  transform: translate(-50%, -50%);
  display: none;
  text-align: center;
  color: #e6f7ff;
  font-family: "Arial Black", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.18em;
  text-shadow: 0 0 18px rgba(56, 208, 255, 0.35);
  pointer-events: none;
}

#unity-logo {
  font-size: clamp(34px, 7vw, 68px);
  line-height: 0.95;
  color: #f4fbff;
}

#unity-loading-subtitle {
  margin-top: 2px;
  font-size: clamp(16px, 3vw, 28px);
  color: #4dd8ff;
}

#unity-progress-bar-empty {
  width: 100%;
  height: 6px;
  margin-top: 26px;
  overflow: hidden;
  background: rgba(120, 190, 220, 0.18);
  border: 1px solid rgba(90, 210, 255, 0.35);
}

#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #1f9fd0, #6ef2ff);
  box-shadow: 0 0 16px rgba(56, 208, 255, 0.75);
  transition: width 0.18s ease-out;
}

#unity-loading-status {
  margin-top: 12px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(190, 230, 245, 0.62);
}

#unity-footer {
  display: none;
}

#unity-fullscreen-button {
  padding: 7px 10px;
  cursor: pointer;
  color: rgba(220, 245, 255, 0.72);
  background: rgba(4, 12, 22, 0.55);
  border: 1px solid rgba(90, 210, 255, 0.22);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  user-select: none;
}

#unity-fullscreen-button:hover,
#unity-fullscreen-button:focus {
  color: #ffffff;
  border-color: rgba(90, 210, 255, 0.7);
  outline: none;
}

#unity-warning {
  position: fixed;
  left: 50%;
  top: 5%;
  z-index: 20;
  max-width: min(680px, 88vw);
  transform: translateX(-50%);
  color: #ffffff;
  background: #1a1116;
  padding: 8px;
  display: none;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 12px;
}

.unity-mobile #unity-footer {
  display: none;
}
