html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;

  overscroll-behavior: none;
  touch-action: none;

  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

#unity-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
}

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

#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(800px, 92vw);
  transform: translate(-50%, -50%);
  display: none;
  text-align: center;
}

#unity-logo {
  width: 100%;
  aspect-ratio: 800 / 308;
  background:
    url('unity-logo-dark.png')
    no-repeat center / contain;
}

#unity-progress-bar-empty {
  margin-left: auto;
  margin-right: auto;
  width: 141px;
  height: 18px;
  margin-top: 14px;
  background:
    url('progress-bar-empty-dark.png')
    no-repeat center;
}

#unity-progress-bar-full {
  width: 0%;
  height: 18px;
  margin-top: 10px;
  background:
    url('progress-bar-full-dark.png')
    no-repeat center;
}

#fullscreen-hint {
  margin-top: 12px;
  color: #C89B3C;
  font:
    600 clamp(14px, 2vw, 20px)
    Georgia,
    "Times New Roman",
    serif;
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow:
    -1px -1px 0 #24160B,
     1px -1px 0 #24160B,
    -1px  1px 0 #24160B,
     1px  1px 0 #24160B,
     0 2px 4px rgba(0, 0, 0, 0.75);
}

#game-version {
  margin-top: 6px;
  color: #C89B3C;
  font:
    500 clamp(10px, 1.3vw, 13px)
    Georgia,
    "Times New Roman",
    serif;
  letter-spacing: 0.03em;
  text-align: center;
  opacity: 0.65;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.8);
}

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

@media (max-height: 520px) {
  #unity-loading-bar {
    width: min(560px, 88vw);
  }

  #unity-progress-bar-empty {
    margin-top: 8px;
  }

  #fullscreen-hint {
    margin-top: 7px;
  }

  #game-version {
    margin-top: 4px;
  }
}
