/* The GameDay Lab member-home visual refinement. Presentation only.
   All scoreboard/news/Research content and access controls stay with existing owners. */

/* Slim, text-led factual sport headers. Full approved hero artwork belongs to
   the 7-card Sports Labs selector, not the 65px scoreboard section labels. */
.fie-live-home .fie-home-sport-section{
  --gdl-sport-header-light:rgba(193,158,92,.16);
}
.fie-live-home .fie-home-sport-section.sport-mlb{--gdl-sport-header-light:rgba(206,172,97,.19)}
.fie-live-home .fie-home-sport-section.sport-nfl,
.fie-live-home .fie-home-sport-section.sport-ncaaf{--gdl-sport-header-light:rgba(183,150,97,.16)}
.fie-live-home .fie-home-sport-section.sport-nhl{--gdl-sport-header-light:rgba(146,177,192,.17)}
.fie-live-home .fie-home-sport-section.sport-nba,
.fie-live-home .fie-home-sport-section.sport-ncaam_basketball{--gdl-sport-header-light:rgba(208,150,90,.16)}
.fie-live-home .fie-home-sport-section.sport-ncaa_baseball{--gdl-sport-header-light:rgba(173,165,120,.17)}
html.fie-unified-preview body[data-fie-hub="true"] .fie-home-sport-section .fie-home-sport-heading{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:64px;
  max-height:90px;
  padding:11px 15px;
  gap:10px;
  overflow:hidden;
  border-bottom:1px solid rgba(214,170,92,.38);
  background-color:#0b0b0b!important;
  background-image:
    radial-gradient(ellipse at 82% 50%,var(--gdl-sport-header-light),transparent 60%),
    repeating-linear-gradient(108deg,transparent 0 37px,rgba(255,255,255,.018) 38px 39px,transparent 40px 75px),
    linear-gradient(100deg,#171510,#090b0b 74%,#14110d)!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
}
.fie-live-home .fie-home-sport-title{
  display:flex!important;
  position:relative!important;
  flex-wrap:wrap;
  align-items:baseline;
  width:auto!important;height:auto!important;
  min-width:0;
  margin:0!important;padding:0!important;
  overflow:visible!important;
  clip:auto!important;
  white-space:normal!important;
  border:0!important;
}
.fie-live-home .fie-home-sport-title>span{font-size:9px;letter-spacing:.11em}
.fie-live-home .fie-home-sport-title h3{
  font-size:clamp(21px,2vw,27px);
  line-height:1.05;
  color:#f9e3b7;
}
.fie-live-home .fie-home-sport-title small{font-size:10px}
.fie-live-home .fie-home-sport-heading>button{
  position:relative;
  left:auto;bottom:auto;right:auto;top:auto;
  z-index:2;
  flex:0 0 auto;
  min-height:34px;
  margin-left:auto;
  padding:7px 12px;
  border:1px solid rgba(232,190,104,.55);
  border-radius:6px;
  background:rgba(5,5,5,.75);
  color:#f0ca80;
  font-size:10px;
  font-weight:850;
  letter-spacing:.04em;
  white-space:nowrap;
}
.fie-live-home .fie-home-shell{padding-top:11px}
.fie-live-home .fie-home-layout{gap:clamp(12px,1.6vw,22px)}
.fie-live-home .fie-home-sport-section{margin-bottom:13px}
.fie-live-home .fie-section-title-row{margin-bottom:12px}

/* Scoreboard-first hierarchy: readable team names, start times and live states. */
.fie-live-home .fie-home-game-team .fie-score-team>b{
  color:#f6f3ed;font-size:clamp(12px,.98vw,16px);line-height:1.3;
}
.fie-live-home .fie-home-card-center strong{
  color:#ffdb93;font-size:clamp(20px,1.65vw,26px);line-height:1.16;
}
.fie-live-home .fie-home-card-center small{font-size:10px;letter-spacing:.08em}
.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 header span{font-size:9px;letter-spacing:.09em}
.fie-live-home .fie-home-game-card footer>b{font-size:9px;color:#e1bc7d}
.fie-live-home .fie-home-card-scheduled{font-size:9px;color:#a9a195}
.fie-live-home .fie-home-team-facts span{font-size:9px}
.fie-live-home .fie-home-game-card.live{
  border-color:rgba(208,170,99,.6);
  box-shadow:inset 0 3px 0 rgba(213,167,75,.58);
}

/* Keep the ticker compact but signal in-progress matches more clearly. */
.fie-live-home .fie-live-ticker{border-bottom:1px solid #675335}
.fie-live-home .fie-ticker-current b{color:#ffdb93}
.fie-live-home .fie-ticker-game.live{
  background:linear-gradient(180deg,#1a150e,#0a0b0b);
  box-shadow:inset 0 3px 0 rgba(226,176,76,.55);
}
.fie-live-home .fie-ticker-game:focus-visible{outline:2px solid #e5be71;outline-offset:-2px}

/* Active Sports duplicates the top sport navigation. Preserve markup but hide it,
   avoiding any changes to existing route logic. Research/Stats take priority. */
.fie-live-home .fie-side-leagues{display:none !important}
.fie-live-home .fie-side-research{border-color:rgba(220,178,90,.53)}
.fie-live-home .fie-side-title h2{font-size:clamp(13px,1.3vw,17px)}
.fie-live-home .fie-side-row strong{font-size:clamp(10px,.95vw,13px)}
.fie-live-home .fie-side-row small{font-size:9px;line-height:1.35}
.fie-live-home .fie-side-market-watch{opacity:.94}

/* Editorial news: one featured story next to smaller headlines and a clear archive action. */
.fie-live-home .fie-news-feed{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  column-gap:15px;row-gap:8px;border-top:0;
}
.fie-live-home .fie-news-story{
  min-width:0;margin:0;padding:12px 15px;border:1px solid rgba(192,160,101,.22);
  border-radius:8px;background:linear-gradient(155deg,#101112,#0b0b0a);
}
.fie-live-home .fie-news-story.lead{
  grid-column:1;grid-row:span 3;display:flex;flex-direction:column;gap:0;
  padding:12px 12px 16px;
}
.fie-live-home .fie-news-story.lead.has-image{display:flex}
.fie-live-home .fie-news-story.lead.has-image .fie-news-story-body,
.fie-live-home .fie-news-story.lead .fie-news-story-body{
  display:flex;padding:13px 4px 0;justify-content:flex-start;
}
.fie-live-home .fie-news-image,.fie-live-home .fie-news-image img{
  display:block;width:100%;max-height:255px;min-height:170px;object-fit:cover;
}
.fie-live-home .fie-news-story h3{font-size:clamp(14px,1.3vw,18px);line-height:1.35}
.fie-live-home .fie-news-story.lead h3{font-size:clamp(19px,2vw,25px);line-height:1.2}
.fie-live-home .fie-news-meta,.fie-live-home .fie-news-meta b,
.fie-live-home .fie-news-meta time{font-size:10px;line-height:1.4}
.fie-live-home .fie-news-story p{font-size:12px;line-height:1.55}
.fie-live-home .fie-news-byline,.fie-live-home .fie-news-byline a{font-size:10px}
.fie-live-home .fie-news-story.compact{
  grid-column:2;display:flex;align-items:center;padding:12px;
}
.fie-live-home .fie-news-story.compact h3{font-size:clamp(13px,1.15vw,17px);line-height:1.34}
.fie-live-home .fie-news-toggle{
  grid-column:1/-1;width:100%;min-height:38px;
  font-size:11px;letter-spacing:.08em;
}
/* No lead photo? Keep the article and source credit, but never reserve a
   billboard-sized empty image or stretch one text card over three rows. */
.fie-live-home .fie-news-feed.no-lead-image{grid-template-columns:minmax(0,1fr)}
.fie-live-home .fie-news-feed.no-lead-image .fie-news-story.lead{
  grid-column:1;
  grid-row:auto;
  min-height:0;
  padding:15px 17px;
}
.fie-live-home .fie-news-feed.no-lead-image .fie-news-story.compact{grid-column:1}
.fie-live-home .fie-news-feed.no-lead-image .fie-news-story.lead .fie-news-story-body{
  padding:0;
  justify-content:flex-start;
}
@media(max-width:1100px){
  .fie-live-home .fie-home-game-team .fie-score-team>b{font-size:12px}
  .fie-live-home .fie-home-card-center strong{font-size:19px}
}
@media(max-width:800px){
  .fie-live-home .fie-news-feed{grid-template-columns:minmax(0,1fr)}
  .fie-live-home .fie-news-story.lead{grid-column:1;grid-row:auto}
  .fie-live-home .fie-news-story.compact{grid-column:1}
}
@media(max-width:720px){
  .fie-live-home .fie-home-sport-section .fie-home-sport-heading{min-height:60px;max-height:86px;padding:10px}
  .fie-live-home .fie-home-sport-title h3{font-size:21px}
  .fie-live-home .fie-home-sport-title small{font-size:9px}
  .fie-live-home .fie-home-game-team .fie-score-team>b,
  .fie-live-home .fie-home-sport-games[data-visible-count="1"] .fie-home-game-team .fie-score-team>b{font-size:11px}
  .fie-live-home .fie-home-card-center strong,
  .fie-live-home .fie-home-sport-games[data-visible-count="1"] .fie-home-card-center strong{font-size:18px}
  .fie-live-home .fie-news-story.lead.has-image{display:flex}
}
