/* ==========================================================
   v179.9.32 — PHASE 9 DESKTOP REFINEMENT
   Targeted fixes from first desktop acceptance pass.
   No phone/tablet or scoring/storage changes.
   ========================================================== */
@media (min-width:1101px){
  /* Stats: use the actual desktop card width instead of leaving the
     stat grid at mobile intrinsic width. Narrow statistic sets such as
     Baserunning now distribute naturally across the card, while large
     batting/pitching sets can still overflow horizontally. */
  body:not(.home-page) #main .v163-split{
    grid-template-columns:minmax(240px,28%) minmax(0,1fr)!important;
    width:100%!important;
  }
  body:not(.home-page) #main .v163-stat-scroll{
    width:100%!important;
    min-width:0!important;
  }
  body:not(.home-page) #main .v163-stat-grid{
    width:100%!important;
    min-width:100%!important;
    grid-template-columns:repeat(var(--v163-cols),minmax(64px,1fr))!important;
  }
  body:not(.home-page) #main .v163-stat-head,
  body:not(.home-page) #main .v163-stat-cell{
    min-width:64px!important;
  }

  /* More: desktop sticky chrome must remain background content while a
     modal navigation drawer is open. The original drawer shade sat below
     the Phase 9 sticky live/tabs stack, making those bars appear to float
     above the overlay. Keep the drawer itself above its shade. */
  body:not(.home-page) .drawer-shade{
    z-index:180!important;
  }
  body:not(.home-page) .drawer{
    z-index:190!important;
    width:min(372px,30vw)!important;
  }
}
