/* Pawfall is locked portrait 9:16. The canvas fills the viewport;
   when the launcher embeds us in an iframe, the iframe enforces the
   aspect ratio and we just stretch to fill. */

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #000;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: #fff;
}

#unity-container {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#unity-canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  width: 60%;
  max-width: 240px;
  text-align: center;
}

#unity-progress-bar-empty {
  width: 100%;
  height: 8px;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: #f5cac3;
  transition: width 120ms linear;
}

#unity-warning {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
