html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #070b14;
  color: #e6f1ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* The game owns every gesture on the canvas: no pull-to-refresh, no double-tap zoom. */
  touch-action: none;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
}

#unity-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
  background: #070b14;
}

.boot {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: radial-gradient(ellipse at center, #13203a 0%, #070b14 70%);
  transition: opacity 0.35s ease;
}

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

.boot__title {
  margin: 0;
  font-size: clamp(22px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.boot__bar {
  width: min(320px, 60vw);
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.boot__fill {
  width: 100%;
  height: 100%;
  background: #35d6ff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.15s linear;
}

.boot__message {
  min-height: 1.2em;
  margin: 0;
  font-size: 14px;
  color: #ff8a80;
}

@media (prefers-reduced-motion: reduce) {
  .boot, .boot__fill { transition: none; }
}
