/* The GameDay Lab — seven-sport design-system alignment.
   Visual-only layer. Keep every sport's data, Research authority, layouts,
   artwork, and responsive navigation behavior unchanged. Loaded LAST. */

html.fie-unified-preview{
  --gdl-ds-font:Inter,"Segoe UI",Arial,sans-serif;
  --gdl-ds-bg:#09090b;
  --gdl-ds-panel:#101012;
  --gdl-ds-panel-2:#171719;
  --gdl-ds-border:#403b35;
  --gdl-ds-border-active:#b4914e;
  --gdl-ds-gold:#eac879;
  --gdl-ds-text:#f5f1e7;
  --gdl-ds-muted:#bdb4a8;
}

/* One brand shell across MLB, NFL, NHL, NBA, and both college sports.
   Replace the remaining blue/teal-tinted shared header, without changing
   position, logo, menu layout, responsive breakpoints, or click behavior. */
html.fie-unified-preview body .topbar{
  background:linear-gradient(105deg,rgba(9,9,11,.99),rgba(16,16,18,.985))!important;
  border-bottom-color:var(--gdl-ds-border)!important;
}
html.fie-unified-preview body .sport-switcher{
  background:var(--gdl-ds-panel-2)!important;
  border-color:var(--gdl-ds-border)!important;
}
html.fie-unified-preview body :is(.fie-section-links,.fie-mobile-section-links,.fie-sport-subnav,.sport-switcher){
  font-family:var(--gdl-ds-font);
}

/* Common font, text treatment and heading scale. Intentionally scope to
   sport display modules, not third-party logos or member account dialogs. */
html.fie-unified-preview body :is(
  .nfl-v4-shell,.fie-nhl-root,.fie-ncaaf-root,.fie-factual-sport-root
){
  font-family:var(--gdl-ds-font)!important;
  color:var(--gdl-ds-text);
}
html.fie-unified-preview body :is(
  .fie-nhl-hero h1,.fie-ncaaf-hero h1,.fie-factual-hero h1,
  .nfl-v4-hero h1
){
  font-family:var(--gdl-ds-font)!important;
  font-size:clamp(28px,3vw,36px)!important;
  font-weight:900!important;
  font-style:normal!important;
  letter-spacing:-.025em!important;
  line-height:1.12!important;
  color:var(--gdl-ds-text)!important;
}
html.fie-unified-preview body[data-sport="nfl"] :is(
  .nfl-v5-hero-brand,.gdl-atd-head h2,.nfl-res-title h2,
  .gdl-paid-heading h2,.nfl-watch-head h2,
  .fie-player-directory-head h2,.fie-player-profile-head h2
){
  font-family:var(--gdl-ds-font)!important;
  font-style:normal!important;
  letter-spacing:-.015em!important;
}
html.fie-unified-preview body[data-sport="nfl"] .nfl-v5-hero-brand{
  color:var(--gdl-ds-gold)!important;
  font-size:clamp(14px,1.5vw,18px)!important;
  font-weight:850!important;
  letter-spacing:.035em!important;
}
html.fie-unified-preview body :is(.fie-nhl-hero p,.fie-ncaaf-hero p,.fie-factual-hero p){
  color:var(--gdl-ds-muted);
  font-size:12px;
  line-height:1.5;
}
html.fie-unified-preview body[data-sport="nfl"] :is(.nfl-v5-hero-tagline,.gdl-atd-head p,.nfl-res-title p){
  color:var(--gdl-ds-muted)!important;
  font-size:12px!important;
  line-height:1.5!important;
}

/* Match the rounded editorial headers and card corners used by the other sports.
   Keep the approved NFL stadium photo as the hero background. */
html.fie-unified-preview body[data-sport="nfl"] .nfl-v4-hero{
  border-radius:10px!important;
  border:1px solid var(--gdl-ds-border)!important;
}
html.fie-unified-preview body[data-sport="nfl"] :is(
  .nfl-v4-stats>div,.nfl-v4-day-section,.nfl-v6-week,
  .nfl-v4-search,.nfl-watch,.gdl-atd-hub,.nfl-res-game
){
  border-radius:8px;
}

/* The NFL prototype had blue-gray/steel panels (#10191e, #131b20)
   and borders (#354147). Bring them into the charcoal/gold member palette.
   Do not touch stadium photography or team/logo artwork. */
html.fie-unified-preview body[data-sport="nfl"]{
  --nfl-gold:var(--gdl-ds-gold);
  --nfl-line:var(--gdl-ds-border);
  --nfl-pane:var(--gdl-ds-panel);
  --nfl-soft:var(--gdl-ds-muted);
}
html.fie-unified-preview body[data-sport="nfl"] :is(
  .nfl-v4-stats>div,.nfl-v6-week,.nfl-v4-day-section,.nfl-v4-matchup,
  .nfl-v4-market,.nfl-v4-day-buttons button,.nfl-v4-search,
  .nfl-watch,.nfl-res-stat,.nfl-res-game,.nfl-res-unpublished,
  .gdl-atd-hub,.gdl-atd-team,.gdl-atd-player,
  .gdl-paid-heading,.gdl-paid-table-wrap
){
  background:var(--gdl-ds-panel)!important;
  border-color:var(--gdl-ds-border)!important;
  color:var(--gdl-ds-text);
}
/* Older NFL market and watch companion cards retained steel-blue gradients.
   Keep their grids and interactions, replace the surfaces only. */
html.fie-unified-preview body[data-sport="nfl"] :is(
  .gdl-paid-panel,.nfl-watch-card,.nfl-v4-market-row,.nfl-top-research-card
){
  background:var(--gdl-ds-panel)!important;
  border-color:var(--gdl-ds-border)!important;
  color:var(--gdl-ds-text);
}
html.fie-unified-preview body[data-sport="nfl"] :is(
  .nfl-watch-card:hover,.nfl-top-research-card:hover
){
  background:var(--gdl-ds-panel-2)!important;
  border-color:var(--gdl-ds-border-active)!important;
}
html.fie-unified-preview body[data-sport="nfl"] :is(
  .nfl-v4-day-title,.nfl-res-game-head,.gdl-atd-match-title
){
  background:var(--gdl-ds-panel-2)!important;
  border-color:var(--gdl-ds-border)!important;
}
html.fie-unified-preview body[data-sport="nfl"] :is(
  .nfl-v6-kickoff,.nfl-v4-teams,.nfl-v4-market,
  .nfl-v4-mini-meta,.nfl-res-game-body,.gdl-atd-team-head
){
  border-color:var(--gdl-ds-border)!important;
}
html.fie-unified-preview body[data-sport="nfl"] :is(
  .nfl-v4-stats span,.nfl-v6-kickoff small,.nfl-v4-team-label small,
  .nfl-v4-mini-meta,.nfl-v6-summary,.nfl-v4-day-buttons button small
){
  color:var(--gdl-ds-muted)!important;
}
html.fie-unified-preview body[data-sport="nfl"] :is(
  .nfl-v4-day-title span,.nfl-v4-market-title,.nfl-v5-stat-icon,
  .gdl-atd-kicker,.nfl-res-eyebrow,.gdl-paid-eyebrow,
  .nfl-v6-view-details
){
  color:var(--gdl-ds-gold)!important;
}
html.fie-unified-preview body[data-sport="nfl"] .nfl-v4-day-buttons button:hover:not(.active){
  background:var(--gdl-ds-panel-2)!important;
  border-color:var(--gdl-ds-border-active)!important;
}
html.fie-unified-preview body[data-sport="nfl"] .nfl-v4-day-buttons button.active{
  background:linear-gradient(180deg,#f0d391,#cda75b)!important;
  border-color:var(--gdl-ds-border-active)!important;
  color:#17130c!important;
}
html.fie-unified-preview body[data-sport="nfl"] .nfl-v4-day-buttons button.active :is(strong,small){
  color:#17130c!important;
}
html.fie-unified-preview body[data-sport="nfl"] .nfl-v4-search input,
html.fie-unified-preview body[data-sport="nfl"] .nfl-v4-search input::placeholder{
  font-family:var(--gdl-ds-font)!important;
}

html.fie-unified-preview body[data-sport="nfl"] :is(
  .nfl-v4-matchup:hover,.gdl-atd-player[open],
  .nfl-res-game:hover
){
  background:var(--gdl-ds-panel-2)!important;
  border-color:var(--gdl-ds-border-active)!important;
}

/* The other sport modules use the same surface, border and type tokens.
   Preserve each card's inner grid, score state, controls and active behavior. */
html.fie-unified-preview body :is(
  .fie-nhl-hero,.fie-ncaaf-hero,.fie-factual-hero,
  .fie-nhl-game-card,.fie-ncaaf-game-card,.fie-factual-game-card
){
  border-color:var(--gdl-ds-border);
  color:var(--gdl-ds-text);
}
html.fie-unified-preview body :is(
  .fie-nhl-game-card,.fie-ncaaf-game-card,.fie-factual-game-card
){
  background:var(--gdl-ds-panel);
}
html.fie-unified-preview body :is(
  .fie-nhl-game-card,.fie-ncaaf-game-card,.fie-factual-game-card
):hover{
  background:var(--gdl-ds-panel-2);
  border-color:var(--gdl-ds-border-active);
}
html.fie-unified-preview body :is(
  .fie-nhl-section-head h2,.fie-ncaaf-section-head h2,.fie-factual-section-head h2,
  .nfl-v4-day-title h3
){
  color:var(--gdl-ds-text)!important;
  font-family:var(--gdl-ds-font)!important;
  font-size:clamp(16px,1.4vw,20px)!important;
  font-weight:850!important;
  letter-spacing:-.01em!important;
}

/* Maintain mobile readability; never alter positioning/columns. */
@media(max-width:780px){
  html.fie-unified-preview body :is(
    .fie-nhl-hero h1,.fie-ncaaf-hero h1,.fie-factual-hero h1,.nfl-v4-hero h1
  ){font-size:clamp(25px,6vw,32px)!important}
  html.fie-unified-preview body[data-sport="nfl"] .nfl-v5-hero-brand{
    font-size:14px!important;
  }
}
