/* v1.2 intentionally does not add a second mobile menu, a Scores button, or a drawer.
   It preserves the existing FPC mobile app/navigation controls. */
@media (max-width: 782px) {
  /* Clean up any v1.0/v1.1 nodes left by an aggressive cache during the replacement. */
  .fpc-mobile-quickbar,
  .fpc-mobile-drawer,
  .fpc-mobile-search {
    display: none !important;
  }

  /* Applied by the companion JS only to the existing scoreboard/league rail. */
  .fpc-scoreboard-scroll-rail {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    touch-action: pan-x pan-y !important;
    cursor: grab;
  }
  .fpc-scoreboard-scroll-rail::-webkit-scrollbar { display: none; }
  .fpc-scoreboard-scroll-rail.is-dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }
  .fpc-scoreboard-scroll-rail > * {
    flex: 0 0 auto !important;
    min-width: 25% !important;
    scroll-snap-align: start;
  }

  /* Do not let a theme wrapper clip the same rail. */
  .fpc-scoreboard-scroll-wrap { overflow: visible !important; max-width: 100% !important; }
}
