/* Native mobile scrolling: the options and order form share one scrollport.
   The old fixed page clipped its flex child and absolutely positioned form. */
@media screen and (max-width: 1023px) {
  .vida-lottery-page {
    display: block !important;
    height: 100% !important;
    height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    padding-bottom: 20vw !important;
    padding-bottom: calc(20vw + env(safe-area-inset-bottom)) !important;
  }

  .vida-lottery-page .vida-lottery-nav {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0;
    z-index: 10;
  }

  .vida-lottery-page .vida-lottery-wrapper {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .vida-lottery-page .vida-game-options {
    height: auto !important;
    overflow: visible !important;
  }

  .vida-lottery-page .vida-order-anchor,
  .vida-lottery-page .vida-order-box,
  .vida-lottery-page .vida-order-box.active {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .vida-lottery-page .vida-lottery-tabbar {
    box-sizing: content-box;
    padding-bottom: env(safe-area-inset-bottom);
  }
}
