/* SPORT 7.14.258 – five real season form dots, color-coded winners/losers,
   and a narrower live-status area for one-line team names. Session TV only. */

/* Season 2v2 form: no letter collision, exactly five fixed-size circles.
   PHP trims data to the latest five; the most recent is on the right. */
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv256-season-table td:last-child{
  overflow:hidden !important;
  text-overflow:clip !important;
  text-align:center !important;
}
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv256-season-table .tv-form{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:nowrap !important;
  gap:clamp(3px,.27vw,6px) !important;
  width:auto !important;
  max-width:100% !important;
  white-space:nowrap !important;
  vertical-align:middle !important;
}
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv256-season-table .tv-form-dot{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 clamp(18px,1.15vw,23px) !important;
  box-sizing:border-box !important;
  width:clamp(18px,1.15vw,23px) !important;
  min-width:clamp(18px,1.15vw,23px) !important;
  max-width:clamp(18px,1.15vw,23px) !important;
  height:clamp(18px,1.15vw,23px) !important;
  min-height:clamp(18px,1.15vw,23px) !important;
  max-height:clamp(18px,1.15vw,23px) !important;
  padding:0 !important;
  border:0 !important;
  border-radius:50% !important;
  color:#fff !important;
  font-size:clamp(9px,.59vw,12px) !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:0 !important;
  text-indent:0 !important;
  box-shadow:0 1px 3px rgba(0,0,0,.20) !important;
}
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv256-season-table .tv-form-dot.win{
  background:#119c68 !important;
}
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv256-season-table .tv-form-dot.loss{
  background:#c54869 !important;
}
/* Latest played result is outlined on the left; older results follow to the right. */
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv256-season-table .tv-form-dot:first-child{
  outline:2px solid rgba(205,239,255,.9) !important;
  outline-offset:1px !important;
}

/* Recent matches: winners green, losers red, no "porazili" label. */
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .recent-card .tv-match-main .tv258-winner{
  display:block !important;
  color:#44e6a0 !important;
  font-weight:800 !important;
  text-shadow:none !important;
}
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .recent-card .tv-match-main .tv258-loser{
  display:block !important;
  color:#ff8093 !important;
  font-weight:650 !important;
  text-shadow:none !important;
  margin-top:2px !important;
}
html[data-tv-theme="light"] .tv-body.tv-session-mode.tv-readable.tv255-fullhd .recent-card .tv-match-main .tv258-winner{
  color:#087744 !important;
}
html[data-tv-theme="light"] .tv-body.tv-session-mode.tv-readable.tv255-fullhd .recent-card .tv-match-main .tv258-loser{
  color:#b51f42 !important;
}
html[data-tv-theme="light"] .tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv256-season-table .tv-form-dot:first-child{
  outline-color:#284f6f !important;
}

/* Current court: smaller "HRAJOU" column; team names stay on ONE line. */
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv232-grid > .tv233-court-stack > .tv231-live-court{
  display:grid !important;
  grid-template-columns:clamp(70px,4.35vw,86px) minmax(0,1fr) !important;
  column-gap:0 !important;
}
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv232-grid .tv231-live-court > .tv-live-status{
  padding:0 4px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
  border-right:1px solid rgba(61,209,164,.20) !important;
}
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv232-grid .tv231-live-court .tv-live-status > div{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:0 !important;
  gap:2px !important;
}
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv232-grid .tv231-live-court .tv-live-status .live-dot{
  width:11px !important;
  height:11px !important;
  min-width:11px !important;
  min-height:11px !important;
  margin:0 !important;
}
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv232-grid .tv231-live-court .tv-live-status small{
  font-size:clamp(12px,.78vw,16px) !important;
  line-height:1.05 !important;
  letter-spacing:0 !important;
  text-align:center !important;
  white-space:nowrap !important;
}
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv232-grid .tv231-live-court .tv-live-status .tv231-live-elapsed{
  margin:2px 0 0 !important;
  font-size:clamp(10px,.63vw,13px) !important;
  line-height:1 !important;
  text-align:center !important;
  white-space:nowrap !important;
}
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv232-grid .tv231-live-court .tv-live-match{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
  gap:clamp(5px,.45vw,11px) !important;
  align-items:center !important;
  min-width:0 !important;
  padding:0 clamp(8px,.7vw,16px) !important;
}
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv232-grid .tv231-live-court .tv-live-match > strong{
  display:block !important;
  align-self:center !important;
  justify-self:stretch !important;
  width:100% !important;
  max-width:100% !important;
  min-height:0 !important;
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:clip !important;
  white-space:nowrap !important;
  font-size:clamp(21px,1.42vw,30px) !important;
  line-height:1.08 !important;
  font-weight:760 !important;
  text-align:center !important;
}
.tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv232-grid .tv231-live-court .tv-live-match > span{
  font-size:clamp(16px,1.0vw,22px) !important;
  font-weight:800 !important;
  align-self:center !important;
  height:auto !important;
  color:#75d6ff !important;
}

/* 720p reduction keeps both team labels in the court card. */
@media(max-width:1450px), (max-height:820px){
  .tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv232-grid > .tv233-court-stack > .tv231-live-court{
    grid-template-columns:clamp(65px,4.9vw,78px) minmax(0,1fr) !important;
  }
  .tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv232-grid .tv231-live-court .tv-live-match > strong{
    font-size:clamp(19px,1.46vw,25px) !important;
  }
  .tv-body.tv-session-mode.tv-readable.tv255-fullhd .tv256-season-table .tv-form-dot{
    width:17px !important;min-width:17px !important;max-width:17px !important;
    height:17px !important;min-height:17px !important;max-height:17px !important;
    flex:0 0 17px !important;
    font-size:9px !important;
  }
}
