/* The host owns entry progress until iframe load; PG then owns its native loader. */
.game-host.is-pg .game-host__loading {
  background: #000;
}
.game-host.is-pg .game-host__loading .spinner {
  display: none;
}
.game-host.is-pg .game-host__loading > strong {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.game-host.is-pg .game-host__loading::before,
.game-host.is-pg .game-host__loading::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  pointer-events: none;
}
.game-host.is-pg .game-host__loading::before {
  background: #3e4420;
}
.game-host.is-pg .game-host__loading::after {
  background: #cedf75;
  transform-origin: left center;
  animation: pg-entry-progress 20s ease-out forwards;
}
/* Resource byte counts are not exposed by the remote frame: never claim 100%. */
@keyframes pg-entry-progress {
  0% { transform: scaleX(.05); }
  10% { transform: scaleX(.5); }
  40% { transform: scaleX(.8); }
  100% { transform: scaleX(.94); }
}
@media (prefers-reduced-motion: reduce) {
  .game-host.is-pg .game-host__loading::after {
    animation: none;
    transform: scaleX(.5);
  }
}
