html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #12002B;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

/* El video queda debajo; se ve solo donde el canvas es transparente. */
#btl-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  z-index: 0;
  display: none;
  background: #000;
}

body.btl-mirror #btl-video { display: block; }

#unity-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: transparent;
  outline: none;
  display: block;
}

#btl-loader {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #12002B;
  transition: opacity 0.25s;
}

#btl-bar {
  width: min(60vw, 420px);
  height: 14px;
  border-radius: 7px;
  background: #26114D;
  overflow: hidden;
}

#btl-progress {
  width: 0;
  height: 100%;
  border-radius: 7px;
  background: #FF8A00;
}

#btl-error {
  position: fixed;
  left: 5%;
  right: 5%;
  top: 40%;
  z-index: 3;
  padding: 24px;
  border-radius: 16px;
  background: #26114D;
  color: #FFFFFF;
  font: 18px/1.4 system-ui, sans-serif;
  text-align: center;
}
