@media screen and (min-width: 1100px) {
  .wg-desktop-frame {
    --desktop-scale: 0.84;
    width: clamp(1024px, calc(100% * var(--desktop-scale)), 1280px);
    margin-inline: auto;
  }

  /* The game fits its original 1586px atlas to this frame in ref-shell.js. */
  .wg-desktop-frame > .gate-wrap,
  .wg-desktop-frame > .wg-app.rg-shell:not([data-rg-scaled]) {
    width: 100%;
    max-width: none;
    zoom: var(--desktop-scale);
  }

  .wg-desktop-frame > .gate-wrap {
    min-height: calc(100vh / var(--desktop-scale));
    min-height: calc(100svh / var(--desktop-scale));
  }
}
