/* STATBASKET CONSOLE UI V38 */
.selected-action{
  font-size:clamp(30px,3vw,46px)!important;
  line-height:1.08!important;
  padding:20px 24px!important;
}
.last-action{
  font-size:clamp(28px,3vw,44px)!important;
  line-height:1.15!important;
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.player-stats .pt,
.player-stats .fl{
  font-size:clamp(25px,2.2vw,36px)!important;
  line-height:1!important;
  padding:10px 12px!important;
  font-weight:1000!important;
}
.sb-fouls-quick{
  min-width:150px!important;
  padding:0 16px!important;
  background:#7c3aed!important;
  font-size:16px!important;
}
.sb-player-fouls-overlay{
  position:fixed;
  inset:0;
  z-index:100000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(2,6,23,.94);
}
.sb-player-fouls-overlay.show{display:flex}
.sb-player-fouls-card{
  width:min(1180px,96vw);
  max-height:92vh;
  overflow:auto;
  border:4px solid #f59e0b;
  border-radius:26px;
  background:#0f172a;
  color:#fff;
  box-shadow:0 28px 80px rgba(0,0,0,.6);
}
.sb-player-fouls-head{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 22px;
  background:#020617;
  border-bottom:3px solid #f59e0b;
  font-size:clamp(25px,3vw,40px);
  font-weight:1000;
}
.sb-player-fouls-close{
  width:58px;
  height:58px;
  border:0;
  border-radius:15px;
  background:#dc2626;
  color:#fff;
  font-size:34px;
  font-weight:1000;
  cursor:pointer;
}
.sb-player-fouls-teams{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  padding:20px;
}
.sb-player-fouls-team{
  overflow:hidden;
  border:2px solid #334155;
  border-radius:20px;
  background:#111827;
}
.sb-player-fouls-title{
  padding:14px;
  text-align:center;
  font-size:clamp(21px,2.3vw,32px);
  font-weight:1000;
}
.sb-player-fouls-title.home{background:var(--home-color)}
.sb-player-fouls-title.away{background:var(--away-color)}
.sb-player-foul-row{
  display:grid;
  grid-template-columns:90px minmax(0,1fr) minmax(260px,.9fr) 115px;
  align-items:center;
  gap:12px;
  min-height:68px;
  padding:10px 16px;
  border-top:1px solid #334155;
}
.sb-player-foul-number{
  font-size:clamp(27px,3vw,42px);
  font-weight:1000;
}
.sb-player-foul-name{
  font-size:clamp(19px,2vw,29px);
  font-weight:900;
}
.sb-player-foul-types{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:5px;
}
.sb-player-foul-type{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:0;
  padding:5px 3px;
  border-radius:8px;
  color:#fff;
  text-align:center;
  font-weight:1000;
}
.sb-player-foul-type small{font-size:9px;line-height:1;white-space:nowrap}
.sb-player-foul-type strong{font-size:18px;line-height:1;margin-top:3px}
.sb-player-foul-type.t1{background:#6d28d9}
.sb-player-foul-type.t2{background:#7e22ce}
.sb-player-foul-type.flagu{background:#b45309}
.sb-player-foul-type.disru{background:#c2410c}
.sb-player-foul-count{
  border-radius:14px;
  padding:8px 12px;
  background:#1e293b;
  color:#fca5a5;
  text-align:center;
  font-size:clamp(30px,3.5vw,50px);
  font-weight:1000;
}
.sb-player-foul-row.warning .sb-player-foul-count{background:#92400e;color:#fff}
.sb-player-foul-row.out .sb-player-foul-count{background:#dc2626;color:#fff}
@media(max-width:800px){
  .sb-player-fouls-teams{grid-template-columns:1fr}
  .sb-player-foul-row{grid-template-columns:70px minmax(0,1fr) minmax(220px,.9fr) 90px}
}
