/* Sport 7.14.248 — larger queue names, darker row background, no black inner label box,
   and vertically centered names in the current live match card. */

/* Queue rows: use the whole row as contrast surface instead of black box behind names */
.tv-body.tv-session-mode.tv-readable .tv-next-card .tv-live-queue-row {
  background: linear-gradient(180deg, rgba(7,12,18,.96), rgba(4,8,12,.98)) !important;
  border: 1px solid rgba(35,117,173,.34) !important;
  border-radius: 9px !important;
  padding: clamp(4px,.45vh,7px) clamp(10px,.8vw,14px) !important;
  grid-template-columns: clamp(28px,2vw,38px) minmax(0,1fr) minmax(64px,17%) !important;
  column-gap: clamp(8px,.6vw,14px) !important;
}

.tv-body.tv-session-mode.tv-readable .tv-next-card .tv-live-queue-row > strong {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: clamp(23px,1.55vw,30px) !important;
  font-weight: 430 !important;
  line-height: 1.13 !important;
  letter-spacing: 0 !important;
  color: #ffffff !important;
}

.tv-body.tv-session-mode.tv-readable .tv-next-card .tv-live-queue-row > strong em {
  font-size: .88em !important;
  font-weight: 500 !important;
  color: #73dbff !important;
}

.tv-body.tv-session-mode.tv-readable .tv-next-card .tv-live-queue-row > span {
  font-size: clamp(16px,1.05vw,20px) !important;
  font-weight: 700 !important;
}

.tv-body.tv-session-mode.tv-readable .tv-next-card .tv-live-queue-row > small.tv237-bench {
  font-size: clamp(13px,.82vw,16px) !important;
  line-height: 1.15 !important;
  text-align: right !important;
  color: #d6e7f3 !important;
}

/* Current live match: center names properly and make them larger */
.tv-body.tv-session-mode.tv-readable .tv-live-match {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
  align-items: center !important;
  column-gap: clamp(12px,1vw,20px) !important;
  min-height: clamp(64px,6vh,88px) !important;
}

.tv-body.tv-session-mode.tv-readable .tv-live-match > strong {
  display: flex !important;
  align-items: center !important;
  min-height: 100% !important;
  font-size: clamp(32px,2.05vw,42px) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
}

.tv-body.tv-session-mode.tv-readable .tv-live-match > strong:first-of-type {
  justify-content: center !important;
  text-align: center !important;
}

.tv-body.tv-session-mode.tv-readable .tv-live-match > strong:last-of-type {
  justify-content: center !important;
  text-align: center !important;
}

.tv-body.tv-session-mode.tv-readable .tv-live-match > span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  height: 100% !important;
  font-size: clamp(18px,1.15vw,24px) !important;
  font-weight: 800 !important;
}

/* Slightly larger names in tables too */
.tv-body.tv-session-mode.tv-readable .tv-rank-row strong,
.tv-body.tv-session-mode.tv-readable .tv235-name,
.tv-body.tv-session-mode.tv-readable .rank-player {
  font-size: clamp(18px,1.12vw,22px) !important;
}

@media (max-width: 1350px), (max-height: 760px) {
  .tv-body.tv-session-mode.tv-readable .tv-next-card .tv-live-queue-row {
    padding: 4px 8px !important;
  }
  .tv-body.tv-session-mode.tv-readable .tv-next-card .tv-live-queue-row > strong {
    font-size: clamp(20px,1.5vw,24px) !important;
  }
  .tv-body.tv-session-mode.tv-readable .tv-live-match > strong {
    font-size: clamp(27px,1.95vw,34px) !important;
  }
}
