:root {
  color-scheme: dark;
  background: #000;
}

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

body {
  overscroll-behavior: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

#unity-container {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

#unity-canvas {
  display: block;
  flex: none;
  background: #000;
  outline: none;
  touch-action: none;
}

#unity-loading-bar {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: none;
  transform: translate(-50%, -50%);
}

#unity-progress-bar-empty {
  width: min(280px, 58vw);
  height: 8px;
  overflow: hidden;
  border: 1px solid #3b3b3b;
  border-radius: 999px;
  background: #151515;
  box-shadow: 0 0 18px rgb(0 0 0 / 80%);
}

#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f27a22, #ffc04a);
  box-shadow: 0 0 12px rgb(255 143 41 / 70%);
  transition: width 120ms linear;
}

#unity-warning {
  position: fixed;
  left: 50%;
  top: 16px;
  z-index: 3;
  display: none;
  max-width: min(640px, calc(100vw - 32px));
  transform: translateX(-50%);
}
