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

#game {
  position: fixed;
  inset: 0;
  background: #13213a;
}

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

/* Loading: the studio logo on Harbour Navy (brand kit: inverse logo for dark backgrounds, unaltered). */
#loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: #1f3a4d;
  transition: opacity 0.5s ease;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

#loading.loading--done {
  opacity: 0;
  pointer-events: none;
}

#loading-logo {
  width: min(380px, 70vw);
  height: auto;
}

#loading-track {
  width: min(320px, 60vw);
  height: 8px;
  border-radius: 4px;
  background: rgba(242, 245, 244, 0.16);
  overflow: hidden;
}

#loading-fill {
  width: 0;
  height: 100%;
  border-radius: 4px;
  background: #f2b45a;
  transition: width 0.2s ease;
}

#loading-text {
  margin: 0;
  color: #f2f5f4;
  font-size: 15px;
  opacity: 0.8;
}

#banner {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(640px, 90vw);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
}

.banner__line {
  padding: 10px 14px;
  border-radius: 8px;
  color: #2a1d0e;
  background: #f2b45a;
}

.banner__line--error {
  color: #fff;
  background: #c8553d;
}
