.orientation-gate { display: none; }

@media (orientation: portrait) {
  [data-mobile-device] body { min-inline-size: 0; }
  [data-mobile-device] :is(#online-login, #account-lobby, #start-screen, #game-topbar, #game-shell, #toast, .crystal-pack-dialog, .orbit-replay, .commander-briefing, .colony-name-dialog) { display: none !important; }
  [data-mobile-device] :is(.orbit-replay, .commander-briefing, .colony-name-dialog)::backdrop { display: none; }

  [data-mobile-device] .orientation-gate {
    display: grid;
    place-items: center;
    min-block-size: 100vh;
    min-block-size: 100dvh;
    padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: linear-gradient(160deg, #07101f25, #050b16ce), var(--arrival-art) 66% center / cover, #050b16;
  }

  .orientation-gate .brand {
    white-space: normal;
    overflow-wrap: anywhere;
    letter-spacing: .09em;
    font-size: .84rem;
  }
}
