/* The host viewport determines compact play. The iframe height follows the game. */
.rooftop-embedded.rooftop-compact body.in-run .shell {
  width: min(100%, var(--rooftop-landscape-width));
}
.rooftop-embedded.rooftop-compact body.in-run .topbar,
.rooftop-embedded.rooftop-compact body.in-run footer {
  display: none;
}
.rooftop-embedded.rooftop-compact body.in-run .stage {
  aspect-ratio: 2;
  box-shadow: none;
}
@media (max-height: 520px) and (orientation: landscape) {
  .rooftop-embedded:not(.rooftop-compact) body.in-run .shell {
    width: min(100%, 1120px);
  }
}


/* Keep both lines of the delivery brief within the host phone viewport. */
.rooftop-embedded.rooftop-compact body.in-run .shell:has(.delivery-brief:not([hidden])) {
  width: min(100%, calc(var(--rooftop-landscape-width) - 86px));
}
.rooftop-embedded.rooftop-compact .delivery-brief {
  padding: 3px 4px 0;
  font-size: 11px;
  line-height: 1.4;
  row-gap: 0;
}
