/* GameDay Lab — Home readability and layout repair, 2026-11-02.
   Scoped to the public/member Home. No sport routes, Research, private data,
   API calls, navigation behavior, approved art or publishing changes. */

/* Keep the desktop logo, wordmark, navigation and account control on one
   properly sized row, including the previously uncovered 901–980px range. */
@media (min-width:901px) {
  html.fie-unified-preview body[data-fie-hub="true"] .topbar {
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    min-height:88px!important;
    height:auto!important;
    padding:10px clamp(14px,1.5vw,25px)!important;
    gap:clamp(12px,1.8vw,28px)!important;
    overflow:visible!important;
  }
  html.fie-unified-preview body[data-fie-hub="true"] .topbar .brand {
    display:flex!important;
    flex:0 0 clamp(236px,22vw,300px)!important;
    min-width:clamp(236px,22vw,300px)!important;
    max-width:clamp(236px,22vw,300px)!important;
    width:auto!important;
    height:auto!important;
    min-height:64px!important;
    gap:12px!important;
    overflow:visible!important;
  }
  html.fie-unified-preview body[data-fie-hub="true"] .topbar .brand-mark {
    flex:0 0 59px!important;
    width:59px!important;
    height:59px!important;
  }
  html.fie-unified-preview body[data-fie-hub="true"] .topbar .brand-copy {
    display:flex!important;
    min-width:0!important;
    flex:1 1 auto!important;
    width:auto!important;
    max-width:none!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:5px!important;
    overflow:visible!important;
  }
  html.fie-unified-preview body[data-fie-hub="true"] .topbar .brand-copy strong {
    font-family:Inter,"Segoe UI",Arial,sans-serif!important;
    font-size:clamp(13px,1.16vw,18px)!important;
    line-height:1.12!important;
    letter-spacing:0!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  html.fie-unified-preview body[data-fie-hub="true"] .topbar .brand-copy span {
    font-size:clamp(9px,.77vw,11px)!important;
    line-height:1.25!important;
    letter-spacing:.02em!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  html.fie-unified-preview body[data-fie-hub="true"] .fie-hub-global-nav {
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    margin-left:0!important;
    min-width:0;
  }
  html.fie-unified-preview body[data-fie-hub="true"] .fie-hub-global-nav [data-hub-scroll] {
    min-height:42px!important;
    padding:0 clamp(9px,.9vw,15px)!important;
    font-size:clamp(10px,.75vw,12px)!important;
    line-height:1.2!important;
    white-space:nowrap;
  }
}
/* One modest readable type scale. This deliberately increases page height
   instead of compressing game information until it becomes unreadable. */
html.fie-unified-preview body[data-fie-hub="true"] .fie-live-home {
  font-family:Inter,"Segoe UI",Arial,sans-serif;
}
html.fie-unified-preview body[data-fie-hub="true"] .fie-home-shell {
  width:min(1760px,calc(100% - clamp(20px,2vw,42px)));
  padding-top:16px;
}
html.fie-unified-preview body[data-fie-hub="true"] .fie-home-layout {
  grid-template-columns:minmax(0,1fr) clamp(290px,22vw,350px);
  gap:clamp(14px,1.5vw,24px);
}
html.fie-unified-preview body[data-fie-hub="true"] .fie-home-primary {gap:19px}

/* Live ticker: league, team names and tip/kickoff remain legible. */
html.fie-unified-preview body[data-fie-hub="true"] #fieLiveTicker {
  min-height:120px!important;
}
.fie-live-home .fie-ticker-sport-label b,
.fie-live-home .fie-ticker-current b {font-size:clamp(13px,1vw,16px)!important}
.fie-live-home .fie-ticker-current small {font-size:10px!important;line-height:1.35!important}
.fie-live-home .fie-ticker-league {font-size:10px!important}
.fie-live-home .fie-ticker-game .fie-score-team>b {
  font-size:clamp(11px,.86vw,14px)!important;
  line-height:1.23!important;
}
.fie-live-home .fie-ticker-game .fie-score-team img {width:25px;height:25px}
.fie-live-home .fie-ticker-game .fie-score-team {grid-template-columns:26px minmax(0,1fr) auto}

/* Seven matching sport-selector frames: don't touch their art or destinations. */
.fie-live-home .gdl-home-laboratory-track {align-items:stretch}
.fie-live-home .gdl-home-laboratory-track>div {display:flex;min-width:0}
.fie-live-home .gdl-home-lab-card {
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
  min-height:132px;
}
.fie-live-home .gdl-home-lab-art {height:88px;flex:0 0 88px}
.fie-live-home .gdl-home-lab-art img {width:100%;height:100%;object-fit:cover}
.fie-live-home .gdl-home-lab-caption {
  flex:1 1 auto;
  min-height:44px;
  padding:7px 21px 8px 10px;
}
.fie-live-home .gdl-home-lab-caption strong {font-size:clamp(11px,.9vw,14px);line-height:1.2}
.fie-live-home .gdl-home-lab-caption small {font-size:10px;line-height:1.2}

/* Scoreboard: 3 across only when there is enough width for both team names,
   records, a center time panel and a genuine Game Center action. */
.fie-live-home .fie-home-sport-games {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.fie-live-home .fie-home-sport-games[data-visible-count="1"] {grid-template-columns:minmax(0,1fr)}
.fie-live-home .fie-home-sport-games[data-visible-count="2"] {grid-template-columns:repeat(2,minmax(0,1fr))}
.fie-live-home .fie-home-game-card {min-height:227px}
.fie-live-home .fie-home-game-card header {
  min-height:45px;
  padding:10px 14px;
}
.fie-live-home .fie-home-game-card header span {font-size:10px;line-height:1.3}
.fie-live-home .fie-home-status-pill {font-size:9px!important;min-height:22px;height:auto}
.fie-live-home .fie-home-card-matchup {
  min-height:142px;
  gap:10px;
  padding:15px 13px;
  grid-template-columns:minmax(0,1fr) minmax(96px,.68fr) minmax(0,1fr);
}
.fie-live-home .fie-home-game-team .fie-score-team {
  grid-template-columns:40px minmax(0,1fr);
  gap:8px;
}
.fie-live-home .fie-home-game-team .fie-score-team img {width:40px;height:40px}
.fie-live-home .fie-home-game-team .fie-score-team>b {
  font-size:clamp(12px,.9vw,15px);
  line-height:1.3;
  overflow-wrap:break-word;
}
.fie-live-home .fie-home-team-facts span {font-size:10px;padding:4px 6px}
.fie-live-home .fie-home-card-center {gap:6px}
.fie-live-home .fie-home-card-center small {font-size:10px}
.fie-live-home .fie-home-card-center strong {font-size:clamp(20px,1.6vw,26px)}
.fie-live-home .fie-home-card-center span,
.fie-live-home .fie-home-card-center em {font-size:10px}
.fie-live-home .fie-home-game-card footer {
  min-height:43px;
  padding:9px 13px;
}
.fie-live-home .fie-home-game-card footer>b,
.fie-live-home .fie-home-card-scheduled {font-size:10px}
.fie-live-home .fie-home-market-strip small {font-size:9px;line-height:1.2}
.fie-live-home .fie-home-market-strip b {font-size:11px;line-height:1.3}
.fie-live-home .fie-home-market-strip>i {font-size:9px}

/* Research and factual side panels must look like navigation, not footnotes. */
.fie-live-home .fie-side-title>span {font-size:10px;line-height:1.2}
.fie-live-home .fie-side-title h2 {font-size:clamp(16px,1.4vw,20px);line-height:1.2}
.fie-live-home .fie-side-row {min-height:68px;padding:12px 13px}
.fie-live-home .fie-side-row>span {width:38px;height:38px;font-size:10px}
.fie-live-home .fie-side-row strong {font-size:13px;line-height:1.3}
.fie-live-home .fie-side-row small {
  font-size:11px;
  line-height:1.4;
  color:#b4aca0;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
}
.fie-live-home .fie-side-freshness strong {font-size:10px;line-height:1.3}
.fie-live-home .fie-side-freshness small {font-size:10px;line-height:1.35;color:#aea79b}
.fie-live-home .fie-market-watch-row>span b {font-size:12px}
.fie-live-home .fie-market-watch-row>span small {font-size:10px}
.fie-live-home .fie-market-watch-row strong {font-size:12px}
.fie-live-home .fie-market-watch-disclosure {font-size:10px;line-height:1.4}

/* Standard breakpoints: maintain readable cards, never force tiny text to
   squeeze three game panels into a tablet or phone screen. */
@media(max-width:1480px) {
  .fie-live-home .fie-home-sport-games,
  .fie-live-home .fie-home-sport-games[data-visible-count="2"] {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .fie-live-home .fie-home-sport-games[data-visible-count="1"] {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:1100px) {
  html.fie-unified-preview body[data-fie-hub="true"] .fie-home-layout {
    grid-template-columns:minmax(0,1fr);
  }
  .fie-live-home .fie-home-sidebar {
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
  }
  .fie-live-home .fie-side-research,.fie-live-home .fie-side-stats {min-width:0}
}
@media(max-width:900px) {
  html.fie-unified-preview body[data-fie-hub="true"] .topbar {
    min-height:64px!important;
    height:64px!important;
  }
  .fie-live-home .fie-hub-global-nav button {font-size:11px!important;min-height:40px}
  .fie-live-home .fie-ticker-game .fie-score-team>b {font-size:12px!important}
  .fie-live-home .fie-home-sport-games,
  .fie-live-home .fie-home-sport-games[data-visible-count="2"] {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .fie-live-home .fie-home-sport-games[data-visible-count="1"] {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:720px) {
  .fie-live-home .fie-home-sport-games,
  .fie-live-home .fie-home-sport-games[data-visible-count="2"] {
    grid-template-columns:minmax(0,1fr);
  }
  .fie-live-home .fie-home-sidebar {grid-template-columns:minmax(0,1fr)}
  .fie-live-home .fie-home-game-card {min-height:206px}
  .fie-live-home .fie-home-card-matchup {
    min-height:121px;
    padding:12px 10px;
    gap:7px;
    grid-template-columns:minmax(0,1fr) minmax(82px,.72fr) minmax(0,1fr);
  }
  .fie-live-home .fie-home-game-team .fie-score-team {grid-template-columns:32px minmax(0,1fr);gap:6px}
  .fie-live-home .fie-home-game-team .fie-score-team img {width:32px;height:32px}
  .fie-live-home .fie-home-game-team .fie-score-team>b {font-size:12px}
  .fie-live-home .fie-home-card-center strong {font-size:18px}
  .fie-live-home .fie-home-team-facts span {font-size:9px}
  .fie-live-home .fie-home-card-center small,.fie-live-home .fie-home-card-center em {font-size:9px}
  .fie-live-home .fie-home-game-card footer>b {font-size:10px}
  .fie-live-home .gdl-home-lab-art {height:82px;flex-basis:82px}
  .fie-live-home .gdl-home-lab-card {min-height:124px}
}
