/* League Manager workspace hierarchy */
#home .stadiumHomeSummary{grid-template-columns:repeat(3,minmax(0,1fr))!important;}

#leagueManagerView[hidden],
#boards[hidden]{display:none!important;}

#league.showingLeagueWorkspace{max-width:1720px!important;}
#league.showingLeagueWorkspace #boards{display:block;}

body:has(#league.active) .sidebar .premiumHomeNav button:nth-child(5){
  color:#dce8ef!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
body:has(#league.active) .sidebar .premiumHomeNav #leagueManagerNavButton{
  color:#fff!important;
  background:linear-gradient(90deg,#06477f,#0a88d9)!important;
  border-color:#35b9ff!important;
  box-shadow:0 0 14px rgba(0,148,239,.34),inset 3px 0 #a4e5ff!important;
}

#boards .leagueWorkspaceTopActions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
#boards .stadiumBoardsTopbar .leagueWorkspaceTopActions .btn{min-width:145px!important;}
#boards .stadiumBoardsTopbar .leagueWorkspaceTopActions .secondary{
  color:#fff!important;
  background:linear-gradient(#1e3850,#0b1c2b)!important;
  border-color:#56758c!important;
  box-shadow:none!important;
}

#boards .boardActions{grid-template-columns:1fr 1.2fr .9fr .8fr!important;}
#boards .boardActions .boardActivateButton{
  color:#07111a!important;
  background:linear-gradient(#f6d267,#bd7d0b)!important;
  border-color:#ffe28a!important;
  font-weight:1000!important;
}
#boards .boardCard.activeBoard .boardActivateButton{
  color:#062313!important;
  background:linear-gradient(#75efab,#21a75f)!important;
  border-color:#9affc5!important;
}

@media(max-width:800px){
  #home .stadiumHomeSummary{grid-template-columns:1fr!important;}
  #boards .leagueWorkspaceTopActions{width:100%;display:grid;grid-template-columns:1fr 1fr;}
  #boards .stadiumBoardsTopbar{align-items:flex-start;flex-direction:column;gap:10px;}
  #boards .boardActions{grid-template-columns:1fr 1fr!important;}
}
