/* Mobile fit: keeps every page inside the phone width and stops wide images or cards from zooming the page out. */
@media (max-width: 760px) {
  html, body { max-width: 100% !important; overflow-x: hidden !important; }
  img:not(.team-mark) { max-width: 100% !important; height: auto; }
  img.team-mark { max-width: 100%; }
  video, iframe, canvas, svg { max-width: 100% !important; }
  main, section, article, header, footer, [class*=card], [class*=pick], [class*=pb-], [class*=panel], [class*=box], [class*=grid] { max-width: 100% !important; box-sizing: border-box; }
  [class*=card] img, [class*=pick] img, [class*=pb-] img { max-width: 100% !important; height: auto !important; }
}
/* Player headshots on phones: keep them small inside cards (My Unlocked Picks). */
@media (max-width: 760px) { img[src*="headshot"], img[class*="headshot"] { width: auto !important; max-width: 64px !important; max-height: 64px !important; height: auto !important; object-fit: contain; } }
/* Phone: home-page game tiles grow to fit their content so the NCAAB/NBA league badge is not cut off at the top. */
@media (max-width: 760px) { #events .event-tile { height: auto !important; min-height: 0 !important; justify-content: flex-start !important; } }