/* V19: mobile document flow; no second height-limited body scroller. */
@media screen and (max-width: 960px) {
  html[data-wm-scroll='v19'] {
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  html[data-wm-scroll='v19'] body.theme-card.wm-designed[data-wm-scroll='v19'] {
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    margin-bottom: 0 !important;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }
  @supports (min-height: 100svh) {
    html[data-wm-scroll='v19'] body.theme-card.wm-designed[data-wm-scroll='v19'] { min-height: 100svh !important; }
  }
  body.theme-card.wm-designed[data-wm-scroll='v19'] #wm-utility-v7[data-wm-controls='v12'][data-wm-footer='v18'] {
    margin-bottom: 0 !important;
  }
  /* The live region remains accessible, but has no static position after the footer. */
  body.theme-card.wm-designed[data-wm-scroll='v19'] #wm-privacy-status-v17.wm-privacy-sr-v17 {
    position: fixed !important;
    inset: 0 auto auto 0 !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 1px !important;
    max-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    pointer-events: none !important;
  }
  /* The gallery still locks the document while open and releases it on close. */
  html[data-wm-scroll='v19'].wm-lightbox-open-v19 {
    overflow: hidden !important;
  }
  html[data-wm-scroll='v19'] body.theme-card.wm-designed[data-wm-scroll='v19'].lightbox-open {
    overflow: hidden !important;
  }
}
