/* The same game can live in the collection without capturing page scrolling. */
html.is-embedded,
.is-embedded body {
  overscroll-behavior: auto;
  touch-action: pan-y pinch-zoom;
}
.is-embedded #app {height:100%;--top:14px;--bottom:18px;--left:16px;--right:16px}
.is-embedded #games-back {display:none}
.is-embedded #app #home {margin-left:0}
.is-embedded #stage,
.is-embedded #loading,
.is-embedded #welcome {touch-action:pan-y pinch-zoom;overscroll-behavior:auto}
/* All gameplay input uses the accessible pads or keyboard. Let swipes on the
   ocean pass to the page instead of the emulator's canvas. */
.is-embedded #player {pointer-events:none}
.is-embedded #welcome {overflow:hidden}
.is-embedded #open-qr {display:none}
.is-embedded #welcome .playeye-credit {width:76px}
.is-embedded #welcome .info-button {bottom:12px}
.is-embedded .controls {touch-action:auto}
.is-embedded .controls .pad {touch-action:none}
.is-embedded #app:fullscreen {height:100dvh}
@media (orientation:portrait) {
  .is-embedded #welcome {padding:62px 22px 28px}
  .is-embedded #welcome h1 {font-size:64px}
  .is-embedded #welcome h1 em {font-size:34px}
  .is-embedded #welcome .hero-scene {height:108px;margin:5px auto 10px}
  .is-embedded #welcome .hero-orca {width:212px;height:106px;left:calc(50% - 106px);top:5px}
  .is-embedded #welcome .hero-sun {top:12px;height:80px}
  .is-embedded #welcome .splash-ring {bottom:0;width:190px;height:34px;left:calc(50% - 95px)}
  .is-embedded #welcome .brand-tag {top:0}
  .is-embedded #welcome .play-button {min-height:60px}
  .is-embedded #welcome .menu-grid {margin-top:12px}
  .is-embedded #welcome .menu-grid .secondary {min-height:48px}
  .is-embedded #welcome #learn {min-height:44px;margin-top:12px;padding:7px 14px;font-size:21px}
}
@media (max-width:380px) {
  .is-embedded #app[data-mode="play"] #home {min-width:49px;margin-left:0}
}
