/* V130 — week results have one natural scroller; actions live after the final row. */
@media (max-width:760px) {
  #fixtures,
  #slip,
  #modalBody,
  .scoreBoard,
  .eventFeed,
  .preseasonBody,
  .preseasonSlipList,
  .realMatchGrid,
  .myCoupons,
  .fixture,
  .compactFixture,
  .realMatchCard {
    overflow-anchor:none!important;
  }
  .tabs,
  .setupGrid,
  #betControls,
  .realCouponActions {
    min-width:0!important;
  }
  .tabs button,
  .setupGrid button,
  .setupGrid select,
  .compactDetailBtn,
  .odd,
  .realOdd,
  .preseasonAdd,
  .preseasonLock {
    min-height:44px!important;
    touch-action:manipulation!important;
  }
  #leagueSelect {
    position:relative!important;
    z-index:2!important;
    min-height:48px!important;
    font-size:16px!important;
  }
  .details,
  .oddsDetailBody,
  .preseasonBody {
    overscroll-behavior:contain!important;
  }

  body.wos-week-modal-open {
    position:fixed!important;
    top:var(--wos-week-lock-top,0)!important;
    right:0!important;
    left:0!important;
    width:100%!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  #modal.show {
    height:var(--wos-visible-height,100dvh)!important;
    min-height:var(--wos-visible-height,100dvh)!important;
    max-height:var(--wos-visible-height,100dvh)!important;
    padding:6px!important;
    align-items:stretch!important;
  }
  #modal.show > .card {
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
  }
  #modal.show > .card > .cardTitle {
    flex:0 0 auto!important;
    min-height:50px!important;
    padding:8px 10px!important;
  }
  #modal.show > .card > .body {
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:8px 8px calc(10px + env(safe-area-inset-bottom))!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-behavior:auto!important;
  }
  #modal.show .weekResultActions {
    position:static!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    z-index:auto!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    margin:12px 0 0!important;
    padding:0!important;
    gap:8px!important;
    background:transparent!important;
    box-shadow:none!important;
    transform:none!important;
  }
  #modal.show .weekResultActions button {
    width:100%!important;
    min-height:52px!important;
    margin:0!important;
  }

  .oddsDetailOverlay.show,
  .oddsDetailOverlay.active,
  .preseasonOverlay.show {
    height:var(--wos-visible-height,100dvh)!important;
    max-height:var(--wos-visible-height,100dvh)!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  .oddsDetailCard,
  .preseasonDialog,
  .v50FinalDialog {
    max-height:calc(var(--wos-visible-height,100dvh) - 12px)!important;
  }
}
