html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
  color: #fff;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

body {
  position: fixed;
  inset: 0;
}

#unity-stage {
  position: fixed;
  left: 0;
  top: 0;
  overflow: hidden;
  background: #000;
}

#unity-frame {
  position: absolute;
  transform-origin: center center;
  overflow: hidden;
  background: #000;
}

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

#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(520px, 54%);
  transform: translate(-50%, -50%);
  display: none;
}

#unity-progress-bar-empty {
  width: 100%;
  height: 18px;
  padding: 3px;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(5, 8, 18, 0.9);
}

#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: #4a8cff;
}

#unity-warning {
  position: absolute;
  left: 50%;
  top: 22px;
  z-index: 2;
  width: min(980px, 80%);
  transform: translateX(-50%);
  display: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
}

#unity-warning div {
  margin: 0 0 8px;
  padding: 10px 16px;
  border-radius: 4px;
}

.unity-banner-warning {
  background: #ffd24d;
  color: #141414;
}

.unity-banner-error {
  background: #d92f2f;
  color: #fff;
}
