/* Contain touch scrolling inside the storefront; keep native close/back controls. */
html, body { overscroll-behavior-y: none; }
#dialog { overscroll-behavior-y: contain; }
@media (max-width: 900px), (pointer: coarse) {
  html { height: 100%; overflow: hidden; }
  body { position: fixed; inset: 0; width: 100%; height: 100%; overflow: hidden; }
  #app {
    height: 100%; height: 100dvh;
    overflow-x: hidden; overflow-y: auto;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
    scroll-padding-top: 90px; scroll-padding-bottom: 110px;
  }
  body:has(#dialog[open]) #app { overflow-y: hidden; }
  #dialog { max-height: calc(100dvh - 32px); }
}
