#app[data-csp-route="game"] {
  min-width: 0;
  padding: 0;
}

#arcade-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  height: min(calc(100svh - 64px), 56.28vw);
  height: var(--arcade-height, min(calc(100svh - 64px), 56.28vw));
  background: #0e0915;
}

#arcade-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

html.arcade-expanded,
html.arcade-expanded body {
  overflow: hidden;
}

#arcade-shell.is-expanded {
  position: fixed;
  z-index: 2147483647;
  inset: 0;
  width: 100%;
  height: 100dvh;
}

@media (orientation: portrait) and (max-width: 1024px) {
  #arcade-shell {
    height: var(--arcade-height, min(calc(100svh - 64px), 133.6vw));
  }
}
