/* Match the desktop client's 600 × 940 viewport and preserve its proportions. */
:root {
  color-scheme: light;
  background: #eef4f3;
}
* { box-sizing: border-box; }
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}
body {
  display: grid;
  place-items: center;
  overflow: hidden;
}
.app-viewport {
  position: relative;
  width: min(600px, 100vw, calc(100vh * 0.6382978723));
  aspect-ratio: 600 / 940;
  max-height: 940px;
  overflow: hidden;
  background: white;
  box-shadow: 0 8px 40px rgb(35 78 73 / 12%);
}
@supports (height: 100dvh) {
  .app-viewport {
    width: min(600px, 100vw, calc(100dvh * 0.6382978723));
  }
}
#app-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
