/* STATBASKET CONSOLE UI V39 */
.scoreboard{
  grid-template-columns:minmax(170px,.8fr) minmax(410px,1.8fr) minmax(170px,.8fr)!important;
  gap:10px!important;
  align-items:stretch!important;
}
.team-btn{
  min-height:88px!important;
  padding:10px 12px!important;
  border-radius:15px!important;
  justify-content:center!important;
}
.team-name{
  font-size:clamp(17px,1.8vw,26px)!important;
  line-height:1.05!important;
}
.team-btn .team-score,
.team-btn .team-fouls,
.team-btn .bonus-indicator,
.team-btn [id*="Timeout"],
.team-btn [id*="FoulDots"],
.team-btn [class*="timeout"],
.team-btn [class*="foul-dots"]{display:none!important}
.sb-v39-team-meta{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  margin-top:9px;
  padding-top:8px;
  border-top:1px solid rgba(255,255,255,.35);
  color:#fff;
  font-size:clamp(12px,1.2vw,17px);
  font-weight:900;
}
.sb-v39-team-meta strong{font-size:1.3em}
.clock-box{
  min-height:88px!important;
  padding:8px 14px!important;
  border-radius:15px!important;
}
.sb-v39-scoreline{
  width:100%;
  display:grid;
  grid-template-columns:minmax(74px,1fr) minmax(190px,1.5fr) minmax(74px,1fr);
  align-items:center;
  gap:12px;
}
.sb-v39-score{
  margin:0!important;
  color:#fff;
  font-size:clamp(48px,6vw,82px)!important;
  line-height:.9!important;
  text-align:center;
  font-weight:1000!important;
}
.sb-v39-score.home-score{color:var(--home-color)!important}
.sb-v39-score.away-score{color:var(--away-color)!important}
.sb-v39-clock-core{display:flex;flex-direction:column;align-items:center;justify-content:center}
.sb-v39-clock-core .clock{font-size:clamp(43px,5vw,70px)!important;line-height:.95!important}
.sb-v39-clock-core .period{font-size:clamp(17px,1.7vw,24px)!important}

body.sb-step-actions #selectedActionLabel{display:none!important}
#playersList .player{
  border:2px solid rgba(255,255,255,.4)!important;
  color:#fff!important;
}
#playersList .player.sb-v39-home-player{background:var(--home-color)!important}
#playersList .player.sb-v39-away-player{background:var(--away-color)!important}
#playersList .player .player-name,
#playersList .player .player-number{color:#fff!important}
#playersList .player-stats{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
#playersList .player-stats .pt,
#playersList .player-stats .fl{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:84px!important;
  min-height:48px!important;
  padding:9px 13px!important;
  border:2px solid rgba(255,255,255,.75)!important;
  border-radius:11px!important;
  background:rgba(2,6,23,.42)!important;
  color:#fff!important;
  font-size:clamp(27px,2.5vw,40px)!important;
  line-height:1!important;
  font-weight:1000!important;
}

.sbpro-table th:nth-child(3),
.sbpro-table th:nth-child(6),
.sbpro-table td:nth-child(3),
.sbpro-table td:nth-child(6){
  min-width:58px!important;
  padding-left:10px!important;
  padding-right:10px!important;
  font-size:clamp(16px,1.6vw,24px)!important;
  line-height:1!important;
  font-weight:1000!important;
}
.sbpro-table th:nth-child(3),
.sbpro-table th:nth-child(6){font-size:clamp(11px,1.15vw,16px)!important}
html[data-sb-theme="light"] .sbpro-pbp-row,
body.sb-v37-light .sbpro-pbp-row{
  background:#fff!important;
  color:#111827!important;
  border-color:#cbd5e1!important;
}
html[data-sb-theme="light"] .sbpro-pbp-row *,
body.sb-v37-light .sbpro-pbp-row *{
  color:#111827!important;
}
html[data-sb-theme="light"] .sbpro-pbp-row .sbpro-home,
body.sb-v37-light .sbpro-pbp-row .sbpro-home{color:#1d4ed8!important}
html[data-sb-theme="light"] .sbpro-pbp-row .sbpro-away,
body.sb-v37-light .sbpro-pbp-row .sbpro-away{color:#b91c1c!important}

@media(max-width:899px){
  .scoreboard{grid-template-columns:minmax(105px,.75fr) minmax(230px,1.5fr) minmax(105px,.75fr)!important}
  .team-btn{min-height:76px!important;padding:7px!important}
  .team-name{font-size:13px!important}
  .sb-v39-team-meta{gap:7px;font-size:10px}
  .sb-v39-scoreline{grid-template-columns:52px minmax(120px,1fr) 52px;gap:5px}
  .sb-v39-score{font-size:39px!important}
  .sb-v39-clock-core .clock{font-size:32px!important}
  .sb-v39-clock-core .period{font-size:14px!important}
}
