/* GameDay Lab home: browser-safe header, full ticker, factual live indicators and news framing.
   Scoped to the Home. Main game cards, Research and Admin are intentionally untouched. */
html.fie-unified-preview body[data-fie-hub="true"] .topbar{
  box-sizing:border-box!important;
  height:calc(var(--fie-shell-top,80px) + 10px + env(safe-area-inset-top,0px))!important;
  min-height:calc(var(--fie-shell-top,80px) + 10px + env(safe-area-inset-top,0px))!important;
  padding-top:calc(6px + env(safe-area-inset-top,0px))!important;
  padding-bottom:4px!important;
  top:0!important;
  overflow:visible!important;
}
html.fie-unified-preview body[data-fie-hub="true"] .topbar .brand{
  align-self:center!important;min-height:0!important;
}
html.fie-unified-preview body[data-fie-hub="true"] #fieSportsHub{
  scroll-margin-top:calc(var(--fie-shell-top,80px) + env(safe-area-inset-top,0px) + 10px);
}
/* Height must fit complete team rows, competition status, and in-game detail. */
html.fie-unified-preview body[data-fie-hub="true"] #fieLiveTicker{
  box-sizing:border-box!important;height:120px!important;min-height:120px!important;
  grid-template-columns:170px minmax(0,1fr) 95px!important;overflow:hidden!important;
}
.fie-live-home .fie-live-ticker-label{padding:8px 12px!important;gap:7px!important}
.fie-live-home .fie-ticker-current{gap:4px!important}
.fie-live-home .fie-ticker-current b{font-size:14px!important}
.fie-live-home .fie-ticker-current small{font-size:9px!important;line-height:1.2!important}
.fie-live-home .gdl-ticker-controls{display:flex;flex-direction:column;gap:3px;margin-left:auto}
.fie-live-home .fie-ticker-prev,.fie-live-home .fie-ticker-next{
  display:grid;place-items:center;width:27px;height:25px;min-width:27px;
  border:1px solid #6d5634;border-radius:4px;background:#1a150d;color:#f3cf87;
  font-size:16px;line-height:1;cursor:pointer;
}
.fie-live-home .fie-ticker-prev[hidden],.fie-live-home .fie-ticker-next[hidden]{display:none!important}
.fie-live-home .fie-ticker-prev:focus-visible,.fie-live-home .fie-ticker-next:focus-visible{
  outline:2px solid #f8dfab;outline-offset:2px;
}
.fie-live-home .fie-live-ticker-track{height:100%!important}
.fie-live-home .fie-ticker-game{
  box-sizing:border-box!important;height:120px!important;min-height:120px!important;
  padding:11px 12px 9px!important;overflow:hidden!important;
}
.fie-live-home .fie-ticker-league{
  display:flex;align-items:center;justify-content:space-between;gap:5px;
  color:#c1a272;font-size:9px!important;margin-bottom:7px!important;
  letter-spacing:.04em;
}
.fie-live-home .fie-ticker-teams{gap:5px!important}
.fie-live-home .fie-ticker-game .fie-score-team>b{font-size:11px!important}
.fie-live-home .fie-ticker-game .fie-score-team img{width:22px;height:22px}
.fie-live-home .fie-ticker-game .fie-score-team{grid-template-columns:23px minmax(0,1fr) auto}
.fie-live-home .fie-score-live-detail{min-height:18px;margin-top:6px}
.fie-live-home .gdl-ticker-live-indicator{
  display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;
  color:#ff9696;font-size:10px;line-height:1;font-weight:950;letter-spacing:.08em;
}
.fie-live-home .gdl-ticker-live-indicator i{
  width:8px;height:8px;flex:0 0 8px;border-radius:50%;
  background:#ef3535;box-shadow:0 0 8px rgba(239,53,53,.57);
}
.fie-live-home .fie-ticker-game.live{
  box-shadow:inset 0 3px 0 rgba(231,67,67,.7);
}
/* The publisher image is displayed whole, not zoomed in by a cover crop. */
.fie-live-home .fie-news-story.lead .fie-news-image{
  display:grid!important;place-items:center;min-height:0!important;max-height:none!important;
  height:clamp(190px,20vw,295px);overflow:hidden;background:#0b0c0e;
}
.fie-live-home .fie-news-story.lead .fie-news-image img{
  display:block!important;width:100%!important;height:100%!important;
  min-height:0!important;max-height:none!important;
  object-fit:contain!important;object-position:center!important;
}
@media(max-width:900px){
  html.fie-unified-preview body[data-fie-hub="true"] #fieLiveTicker{
    grid-template-columns:124px minmax(0,1fr)!important;
  }
  .fie-live-home .fie-live-ticker-label{padding:7px!important;gap:5px!important}
  .fie-live-home .fie-ticker-current b{font-size:12px!important}
  .fie-live-home .fie-ticker-current small{font-size:8px!important}
  .fie-live-home .fie-ticker-game{padding:10px 10px 8px!important}
}
@media(max-width:620px){
  html.fie-unified-preview body[data-fie-hub="true"] #fieLiveTicker{
    height:126px!important;min-height:126px!important;
    grid-template-columns:113px minmax(0,1fr)!important;
  }
  .fie-live-home .fie-ticker-game{height:126px!important;min-height:126px!important}
  .fie-live-home .fie-ticker-game .fie-score-team>b{font-size:10px!important}
  .fie-live-home .fie-ticker-league{font-size:9px!important}
  .fie-live-home .fie-news-story.lead .fie-news-image{height:210px}
}

/* A sticky desktop header is captured midway through full-page layouts.
   Keep the navigation at its real document position, above the ticker and cards.
   Preserve the existing mobile navigation arrangement and safe-area rules. */
@media(min-width:901px){
  html.fie-unified-preview body[data-fie-hub="true"] .topbar{
    position:relative!important;
    top:auto!important;
    z-index:30!important;
  }
}
