/* FORCE SCROLLING TO WORK - Override any broken CSS */
@media (max-width: 1023px) {

  /* Ensure feed can scroll */
  body, html {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh !important;
  }

  #app, .app, .screen {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh !important;
  }

  #view-feed, .view-feed, [data-view="feed"] {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    height: auto !important;
    min-height: calc(100vh - var(--topbar-h, 58px) - var(--tabbar-h, 62px)) !important;
  }

  /* Stories in normal flow - NOT sticky */
  .feed-head, #feed-head {
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Story rail - horizontal scroll only */
  .story-rail {
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }