/* FC VEGA CMS 0.33.002 RC1 - targeted design compatibility fixes
   Obsolete seasonal CSS remains available only for optional legacy QA;
   production sky is driven by 22-accent palettes, not [data-vega-scene]. */
/* Preserve a single physical row for brands (logo-only), 2nd row navigation, 3rd row apps. */
html[data-vega-accent] .site-sticky-shell .topbar .top-inner{
  isolation:isolate;align-items:center!important;
}
html[data-vega-accent] .site-sticky-shell .topbar .vega-r10-identity > .brand-link{
  min-width:0!important;max-width:100%!important;overflow:visible!important;
}
html[data-vega-accent] .site-sticky-shell .topbar .vega-r10-identity > .brand-link img.vega211-wordmark{
  width:100%!important;max-width:240px!important;height:auto!important;max-height:66px!important;
  object-fit:contain!important;display:block!important;
}
/* The palette is not a disabled login: it is a functional public button on both themes. */
html[data-theme][data-vega-accent] .site-sticky-shell .vega211-account-trigger{
  pointer-events:auto!important;visibility:visible!important;opacity:1!important;
  filter:none!important;cursor:pointer!important;position:relative!important;
  z-index:30!important;touch-action:manipulation;
}
html[data-theme][data-vega-accent] .site-sticky-shell .top-actions{
  position:relative!important;z-index:21!important;pointer-events:auto!important;
}
html[data-theme][data-vega-accent] .vega211-palette-dialog{z-index:2147483500!important}
/* The legacy v0.24 header occupied a 205px offset while fixed.
   A naturally flowing expanded header MUST NOT retain its phantom offset. */
html.vega-hf11-expanded[data-vega-accent] body,
html.vega-hf11-expanded[data-vega-accent] #app{
  padding-top:0!important;margin-top:0!important;
}
html.vega-hf11-expanded[data-vega-accent] .site-sticky-shell{
  position:relative!important;top:auto!important;left:auto!important;right:auto!important;
  transform:none!important;margin:0 auto!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  overflow:visible!important;width:min(1140px,calc(100% - 28px))!important;
}
html.vega-hf11-expanded[data-vega-accent] #app>.site-sticky-spacer,
html.vega-hf11-expanded[data-vega-accent] .site-sticky-spacer{height:0!important;min-height:0!important}
html.vega-hf11-expanded[data-vega-accent]{scroll-padding-top:12px!important}
@media(max-width:760px){
 html.vega-hf11-expanded[data-vega-accent] .site-sticky-shell{width:100%!important;max-width:100%!important}
}
/* Match Studio: consistent media stage and actions; no duplicate placeholder photos. */
.hf25-match-details [data-hf25-pane="media"] .hf25-media-block{
 display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(175px,.6fr)!important;
 gap:16px!important;align-items:start!important;min-width:0!important;
}
.hf25-match-details [data-hf25-pane="media"] .hf25-media-block>.v72-photo{
 margin:0!important;display:block!important;width:100%!important;max-width:100%!important;
 aspect-ratio:16/9!important;min-height:0!important;height:auto!important;
 overflow:hidden!important;border-radius:13px!important;
 background:#0a1a2c!important;position:relative!important;
}
.hf25-match-details [data-hf25-pane="media"] .hf25-media-block>.v72-photo img{
 display:block!important;width:100%!important;height:100%!important;
 aspect-ratio:16/9!important;object-fit:contain!important;object-position:center!important;
}
.hf25-match-details [data-hf25-pane="media"] .hf25-media-block>.v72-actions{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 width:100%!important;max-width:100%!important;gap:10px!important;margin:0!important;min-width:0!important;
}
.hf25-match-details [data-hf25-pane="media"] .hf25-media-block .v72-actions>*{
 flex:none!important;width:100%!important;min-width:0!important;
 min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;
 border-radius:11px!important;padding:10px 12px!important;
 background:linear-gradient(135deg,#174e72,#0d2b4c)!important;
 border:1px solid rgba(137,201,243,.38)!important;color:#f4f9ff!important;
}
.hf25-match-details [data-hf25-pane="media"] .hf25-media-block .v72-actions>[disabled]{
 opacity:.55!important;cursor:not-allowed!important;filter:grayscale(.3)!important;
}
/* Full match card: same premium scoreboard hierarchy on the match page. */
.match-row.vega72-full .v72-stage{
 background:linear-gradient(115deg,rgba(4,20,35,.22),rgba(11,38,56,.22))!important;
}
.match-row.vega72-full .v72-matchup{align-items:center!important;min-width:0!important}
.match-row.vega72-full .v72-side{min-width:0!important}
.match-row.vega72-full .v72-name strong{overflow-wrap:anywhere;line-height:1.15!important}
.match-row.vega72-full .v72-score{font-variant-numeric:tabular-nums!important;letter-spacing:-.065em!important}
.match-row.vega72-full .v72-date{line-height:1.35!important}
/* Home scoreboards: align typography, crests and status with Match Center. */
.home-match-grid .match-row.vega72-mini,
.home-match-grid.home-match-grid-modern .match-row.vega72-mini{
 border-radius:16px!important;overflow:hidden!important;
 border:1px solid rgba(80,160,207,.33)!important;
 box-shadow:0 8px 24px rgba(9,48,78,.13)!important;
}
.home-match-grid .match-row.vega72-mini .v72-mini-score-row{
 align-items:center!important;min-width:0!important;
}
.home-match-grid .match-row.vega72-mini .v72-mini-score b{
 font-variant-numeric:tabular-nums!important;letter-spacing:-.05em!important;
}
@media(max-width:760px){
 .hf25-match-details [data-hf25-pane="media"] .hf25-media-block{
  grid-template-columns:minmax(0,1fr)!important;
 }
 .hf25-match-details [data-hf25-pane="media"] .hf25-media-block>.v72-actions{
  flex-direction:row!important;flex-wrap:wrap!important;
 }
 .hf25-match-details [data-hf25-pane="media"] .hf25-media-block .v72-actions>*{
  width:auto!important;flex:1 1 135px!important;
 }
}
