* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #071b28;
  color: #f6fbff;
  font-family: "Segoe UI", Arial, sans-serif;
}

#unity-container,
#unity-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

#unity-container {
  background: #071b28;
}

#unity-canvas {
  display: block;
  background: #071b28;
}

#unity-loading-bar {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: none;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(7, 27, 40, .94), rgba(7, 27, 40, .88)),
    radial-gradient(circle at center top, rgba(23, 94, 123, .5), transparent 55%);
  transition: opacity .3s ease, visibility .3s ease;
}

#unity-loading-bar.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-panel {
  width: min(420px, 100%);
  display: grid;
  justify-items: center;
  gap: 22px;
}

.loader-logo {
  width: min(190px, 48vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .28));
}

.loader-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.progress-label {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(246, 251, 255, .9);
  font-size: 14px;
  font-weight: 700;
}

#unity-progress-bar-empty {
  width: 100%;
  height: 10px;
  overflow: hidden;
  background: rgba(246, 251, 255, .22);
}

#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: #e5432e;
  transition: width .2s ease;
}

#unity-fullscreen-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 0;
  background: rgba(7, 27, 40, .72) url("fullscreen-button.png") no-repeat center / 22px 22px;
  cursor: pointer;
}

#unity-warning {
  position: fixed;
  left: 50%;
  top: 20px;
  z-index: 20;
  width: min(90vw, 680px);
  transform: translateX(-50%);
  display: none;
  color: #071b28;
  font-weight: 700;
}

.banner-error,
.banner-warning {
  padding: 12px 16px;
  background: #ffffff;
  border-left: 5px solid #e5432e;
}

.banner-warning {
  border-left-color: #f3b23f;
}
