/* Small screens display the existing desktop UI as one scaled OS stage. */
@media (max-width: 1100px) {
  html.ohmy-os-stage-host:not(.ohmy-os-stage-ready) body {
    visibility: hidden !important;
  }

  html.ohmy-os-stage-host,
  html.ohmy-os-stage-host body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    transform: none !important;
  }

  html.ohmy-os-stage-host.ohmy-os-stage-ready body {
    visibility: visible !important;
  }

  #ohmy-os-stage-viewport {
    width: 100%;
    min-height: 1px;
    position: relative;
    overflow: hidden;
  }

  #ohmy-os-stage-frame {
    width: var(--ohmy-stage-width, 1440px);
    height: var(--ohmy-stage-height, 900px);
    max-width: none;
    margin: 0;
    padding: 0;
    position: absolute;
    inset: 0 auto auto 0;
    display: block;
    border: 0;
    background: transparent;
    transform: scale(var(--ohmy-stage-scale, 1));
    transform-origin: 0 0;
  }
}
