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

body {
  position: fixed;
  inset: 0;
}

#unity-container {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: none;
}

#unity-container.unity-desktop { }

#unity-container.unity-mobile {
  position: fixed;
  width: 100%;
  height: 100%;
}

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

#legal-links {
  position: fixed;
  right: 0.75rem;
  bottom: 0.5rem;
  z-index: 1000;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.75rem;
}

#legal-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  margin-left: 0.65rem;
}

#legal-links a:hover {
  color: #58a6ff;
  text-decoration: underline;
}

.unity-mobile #unity-canvas {
  width: 100%;
  height: 100%;
}

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

#unity-logo {
  width: 154px;
  height: 130px;
  background: url('unity-logo-dark.png') no-repeat center;
}

#unity-progress-bar-empty {
  width: 141px;
  height: 18px;
  margin-top: 10px;
  margin-left: 6.5px;
  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;
}

#unity-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: auto;
  width: auto;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 8px 0 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

#unity-logo-title-footer {
  float: none;
  width: 102px;
  height: 38px;
  background: url('unity-logo-title-footer.png') no-repeat center;
}

#unity-build-title {
  float: none;
  margin-right: 0;
  line-height: 38px;
  font-family: arial, sans-serif;
  font-size: 16px;
  color: #e8e8e8;
}

#unity-fullscreen-button {
  cursor: pointer;
  float: none;
  width: 38px;
  height: 38px;
  background: url('fullscreen-button.png') no-repeat center;
}

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

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