/* The GameDay Lab — locked sport-page backgrounds.
   Scope: member sport shell only. Do not apply to public Home or Explore Sports Lab.
   Exact copies of four manifest-approved public Storage objects are served by Pages.
   Sport tab and page changes do not affect data-sport, so the image persists. */

html.fie-unified-preview body[data-sport="mlb"],
html.fie-unified-preview body[data-sport="ncaa-baseball"] {
  --gdl-locked-sport-backdrop: var(--gdl-background-baseball, url("brand-delivery-v1/gdl-baseball-background.81ba1e0ac2a9.webp"));
}
html.fie-unified-preview body[data-sport="nfl"],
html.fie-unified-preview body[data-sport="ncaaf"] {
  --gdl-locked-sport-backdrop: var(--gdl-background-football, url("brand-delivery-v1/gdl-football-background.9298e1daca2b.webp"));
}
html.fie-unified-preview body[data-sport="nhl"] {
  --gdl-locked-sport-backdrop: var(--gdl-background-hockey, url("brand-delivery-v1/gdl-hockey-background.90aae950db54.webp"));
}
html.fie-unified-preview body[data-sport="nba"],
html.fie-unified-preview body[data-sport="ncaam-basketball"] {
  --gdl-locked-sport-backdrop: var(--gdl-background-basketball, url("brand-delivery-v1/gdl-basketball-background.1319dbcb34ad.webp"));
}

/* One fixed sport-shell surface, no recoloring, brightness filter or overlay. */
html.fie-unified-preview:not([data-gdl-home-route]) body[data-sport]:not([data-fie-hub="true"])::before {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  top: var(--top) !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: auto !important;
  height: auto !important;
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  background: var(--gdl-locked-sport-backdrop) center center / cover no-repeat !important;
}

/* Retire competing whole-page backdrops. Keep the MLB drawer's functional
   ::after overlay intact; NFL's ::after was background artwork only. */
html.fie-unified-preview body[data-sport="nfl"]:not([data-fie-hub="true"])::after {
  background: none !important;
  filter: none !important;
  opacity: 0 !important;
}
html.fie-unified-preview body[data-sport="mlb"]:not([data-fie-hub="true"]) main::before,
html.fie-unified-preview body[data-sport="mlb"]:not([data-fie-hub="true"]) main::after {
  display: none !important;
}

/* Page containers must not paint opaque backgrounds over the sport shell.
   Preserve cards, local hero artwork, panels and member navigation. */
html.fie-unified-preview body[data-sport="ncaaf"] .fie-ncaaf-module,
html.fie-unified-preview body[data-sport="nhl"] .fie-nhl-module,
html.fie-unified-preview body[data-sport="nba"] .fie-factual-sport-module,
html.fie-unified-preview body[data-sport="ncaam-basketball"] .fie-factual-sport-module,
html.fie-unified-preview body[data-sport="ncaa-baseball"] .fie-factual-sport-module,
html.fie-unified-preview body[data-sport] .fie-team-hub-sport-page,
html.fie-unified-preview body[data-sport] .fie-team-hub-nfl-page,
html.fie-unified-preview body[data-sport] .fie-team-hub-ncaaf-page,
html.fie-unified-preview body[data-sport] .fie-team-hub-nhl-page,
html.fie-unified-preview body[data-sport][data-fie-player-hub] .fie-player-hub-page {
  background: transparent !important;
}
