/* Sport 7.14.180 – readable Pingpong TV, scoped away from LAN and volleyball.
   Larger rows remain reachable through native scrolling and timed page movement. */
.tv-body.tv-readable {
  --tv180-main:clamp(17px,1.3vw,36px);
  --tv180-secondary:clamp(14px,1vw,28px);
  --tv180-small:clamp(14px,.84vw,24px);
  --tv180-title:clamp(20px,1.45vw,40px);
  --tv180-hero:clamp(24px,1.9vw,54px);
  line-height:1.25;
}
.tv-body.tv-readable .tv-header {
  height:clamp(64px,7.5vh,100px);
  min-height:64px;
  flex:0 0 auto;
}
.tv-body.tv-readable .tv-brand strong,
.tv-body.tv-readable .tv-session-title strong {
  font-size:var(--tv180-main);
  line-height:1.15;
}
.tv-body.tv-readable .tv-brand small,
.tv-body.tv-readable .tv-session-title small,
.tv-body.tv-readable .tv-date {
  font-size:var(--tv180-small);
  line-height:1.2;
}
.tv-body.tv-readable .tv-clock {
  font-size:clamp(28px,2vw,58px);
}
.tv-body.tv-readable .tv-metrics,
.tv-body.tv-readable .tv-tournament-metrics {
  height:clamp(68px,7.8vh,110px);
  min-height:68px;
  flex:0 0 auto;
}
.tv-body.tv-readable .tv-metric {
  min-width:0;
  padding:.6vh .7vw;
}
.tv-body.tv-readable .tv-metric small {
  font-size:var(--tv180-small);
  line-height:1.15;
}
.tv-body.tv-readable .tv-metric strong {
  font-size:clamp(23px,1.7vw,48px);
}
.tv-body.tv-readable .tv-metric .metric-text {
  font-size:var(--tv180-main);
}
.tv-body.tv-readable .tv-rounds-grid {
  flex:0 0 auto;
}
.tv-body.tv-readable .tv-round-strip {
  min-height:38px;
  grid-template-columns:auto minmax(40px,1fr) auto auto;
  gap:.5vw;
}
.tv-body.tv-readable .tv-round-label,
.tv-body.tv-readable .tv-round-strip strong {
  font-size:var(--tv180-secondary);
}
.tv-body.tv-readable .tv-round-strip small {
  font-size:var(--tv180-small);
}
.tv-body.tv-readable .tv-grid {
  grid-template-columns:minmax(0,1.18fr) minmax(380px,.82fr);
}
.tv-body.tv-readable .tv-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:.85vh .85vw;
}
.tv-body.tv-readable .tv-card-head {
  flex:0 0 auto;
  gap:.55vw;
  margin-bottom:.55vh;
}
.tv-body.tv-readable .tv-card-head > div {
  min-width:0;
}
.tv-body.tv-readable .tv-card-head h2 {
  font-size:var(--tv180-title);
  line-height:1.15;
}
.tv-body.tv-readable .tv-card-head p {
  font-size:var(--tv180-small);
  line-height:1.2;
}
.tv-body.tv-readable .tv-pill,
.tv-body.tv-readable .refresh-label,
.tv-body.tv-readable .tv-mode,
.tv-body.tv-readable .rank-mode {
  font-size:var(--tv180-small);
  letter-spacing:0;
  white-space:nowrap;
}
.tv-body.tv-readable .tv-table-wrap {
  flex:1 1 0;
  min-height:0;
  height:auto;
}
.tv-body.tv-readable .tv-table {
  line-height:1.18;
}
.tv-body.tv-readable .tv-table th {
  position:sticky;
  top:0;
  z-index:1;
  background:var(--tv-card);
  font-size:var(--tv180-small);
  letter-spacing:0;
  padding:.45vh .35vw;
  white-space:nowrap;
}
.tv-body.tv-readable .tv-table td,
.tv-body.tv-readable .tv-table-large .tv-player {
  font-size:var(--tv180-main);
  padding:.42vh .35vw;
}
.tv-body.tv-readable .tv-table td.tv-player {
  overflow-wrap:anywhere;
}
.tv-body.tv-readable .tv-form {
  gap:3px;
}
.tv-body.tv-readable .tv-form-dot {
  width:clamp(20px,1.3vw,32px);
  height:clamp(20px,1.3vw,32px);
  font-size:clamp(12px,.78vw,20px);
}
.tv-body.tv-readable .dual-rank {
  flex:1 1 0;
  height:auto;
  min-height:0;
}
.tv-body.tv-readable .rank-column {
  min-width:0;
  display:flex;
  flex-direction:column;
}
.tv-body.tv-readable .rank-column h3 {
  flex:0 0 auto;
  font-size:var(--tv180-secondary);
  margin:0 0 .4vh;
}
.tv-body.tv-readable .tv-rank-list {
  flex:1 1 0;
  min-height:0;
}
.tv-body.tv-readable .tv-rank-row {
  min-height:clamp(34px,4.1vh,58px);
  height:auto;
  padding:.4vh 0;
  grid-template-columns:1.65em minmax(0,1fr) auto;
  font-size:var(--tv180-main);
  line-height:1.15;
}
.tv-body.tv-readable .tv-rank-row strong {
  white-space:normal;
  overflow-wrap:anywhere;
}
.tv-body.tv-readable .rank-elo {
  font-size:var(--tv180-main);
}
.tv-body.tv-readable .tv-match-list {
  flex:1 1 0;
  grid-auto-rows:max-content;
  align-content:start;
}
.tv-body.tv-readable .tv-match-row {
  grid-template-columns:auto minmax(0,1fr) auto;
  min-height:64px;
  gap:.4vw;
  padding:.45vh .45vw;
}
.tv-body.tv-readable .tv-match-main strong,
.tv-body.tv-readable .tv-match-time {
  font-size:var(--tv180-secondary);
  white-space:normal;
  overflow-wrap:anywhere;
}
.tv-body.tv-readable .tv-match-main span,
.tv-body.tv-readable .tv-match-time small {
  font-size:var(--tv180-small);
  white-space:normal;
  overflow-wrap:anywhere;
}
.tv-body.tv-readable .tv-live-court {
  height:auto;
  min-height:clamp(72px,8.5vh,120px);
  flex:0 0 auto;
  grid-template-columns:minmax(130px,.5fr) minmax(0,1.5fr) minmax(220px,1fr);
}
.tv-body.tv-readable .tv-live-status small,
.tv-body.tv-readable .tv-live-prep small,
.tv-body.tv-readable .tv-live-prep span {
  font-size:var(--tv180-small);
  letter-spacing:0;
}
.tv-body.tv-readable .tv-live-status strong {
  font-size:var(--tv180-main);
}
.tv-body.tv-readable .tv-live-match strong,
.tv-body.tv-readable .tv-versus-team strong {
  font-size:var(--tv180-hero);
  white-space:normal;
  overflow-wrap:anywhere;
}
.tv-body.tv-readable .tv-live-match span,
.tv-body.tv-readable .tv-live-prep strong,
.tv-body.tv-readable .tv-prepare-strip strong {
  font-size:var(--tv180-secondary);
  white-space:normal;
  overflow-wrap:anywhere;
}
.tv-body.tv-readable .tv-live-prep strong em,
.tv-body.tv-readable .tv-live-queue-row strong em,
.tv-body.tv-readable .tv-prepare-strip strong em {
  font-size:var(--tv180-small);
}
.tv-body.tv-readable .tv-live-queue-row {
  min-height:clamp(38px,4.7vh,66px);
  flex:0 0 auto;
  grid-template-columns:2em minmax(0,1fr) auto;
}
.tv-body.tv-readable .tv-live-queue-row strong {
  font-size:var(--tv180-secondary);
  white-space:normal;
  overflow-wrap:anywhere;
}
.tv-body.tv-readable .tv-live-queue-row > span,
.tv-body.tv-readable .tv-live-queue-row small {
  font-size:var(--tv180-small);
}
.tv-body.tv-readable .tv-versus-team small,
.tv-body.tv-readable .tv-prepare-strip span,
.tv-body.tv-readable .tv-prepare-strip small {
  font-size:var(--tv180-small);
}
.tv-body.tv-readable .tv-tournament-queue-row,
.tv-body.tv-readable .tv-tournament-result-row {
  flex:0 0 auto;
  min-height:60px;
}
.tv-body.tv-readable .tv-tournament-queue-row {
  grid-template-columns:2em minmax(0,1fr) auto;
}
.tv-body.tv-readable .tv-tournament-queue-row strong,
.tv-body.tv-readable .tv-tournament-result-row > div:first-child strong,
.tv-body.tv-readable .tv-tournament-result-row > div:last-child strong {
  font-size:var(--tv180-secondary);
  white-space:normal;
  overflow-wrap:anywhere;
}
.tv-body.tv-readable .tv-tournament-queue-row small,
.tv-body.tv-readable .tv-tournament-queue-row strong em,
.tv-body.tv-readable .tv-queue-no,
.tv-body.tv-readable .tv-tournament-result-row > div:first-child span,
.tv-body.tv-readable .tv-tournament-result-row > div:last-child small {
  font-size:var(--tv180-small);
  white-space:normal;
}
.tv-body.tv-readable .tv-empty strong,
.tv-body.tv-readable .tv-empty.compact strong {
  font-size:var(--tv180-main);
}
.tv-body.tv-readable .tv-empty small,
.tv-body.tv-readable .tv-empty.compact small,
.tv-body.tv-readable .tv-next-empty {
  font-size:var(--tv180-secondary);
}
.tv-body.tv-readable .tv-footer {
  height:auto;
  min-height:24px;
  flex:0 0 auto;
  font-size:var(--tv180-small);
  gap:8px;
  flex-wrap:wrap;
}
.tv-body.tv-readable [data-tv-scroll] {
  min-height:0;
  overflow:auto;
  scrollbar-width:thin;
  scrollbar-color:var(--tv-line) transparent;
  overscroll-behavior:contain;
}
.tv-body.tv-readable [data-tv-scroll]:focus-visible {
  outline:2px solid var(--tv-blue);
  outline-offset:-2px;
}
.tv-body.tv-readable .tv180-page-note {
  display:inline-block;
  margin-left:.6em;
  font-size:var(--tv180-small);
  font-weight:650;
  color:var(--tv-muted);
  white-space:nowrap;
  vertical-align:middle;
}
.tv-body.tv-readable .tv180-page-note[hidden] {
  display:none;
}
@media (max-width:1350px), (max-height:760px) {
  .tv-body.tv-readable .tv-shell {gap:5px;padding:6px 8px 4px;}
  .tv-body.tv-readable .tv-header {height:60px;min-height:60px;}
  .tv-body.tv-readable .tv-metrics,
  .tv-body.tv-readable .tv-tournament-metrics {height:64px;min-height:64px;}
  .tv-body.tv-readable .tv-card {padding:7px 8px;}
  .tv-body.tv-readable .tv-table td,
  .tv-body.tv-readable .tv-table-large .tv-player {padding:4px;}
  .tv-body.tv-readable .tv-live-court {height:auto;min-height:74px;}
  .tv-body.tv-readable .tv-round-strip {min-height:34px;}
  .tv-body.tv-readable .tv-match-row {min-height:56px;}
}
@media (max-width:900px) {
  .tv-body.tv-readable {overflow:auto;}
  .tv-body.tv-readable .tv-shell {height:auto;min-height:100vh;overflow:visible;}
  .tv-body.tv-readable .tv-header {grid-template-columns:1fr auto;height:auto;min-height:74px;}
  .tv-body.tv-readable .tv-session-title {grid-column:1 / -1;grid-row:2;justify-content:flex-start;}
  .tv-body.tv-readable .tv-metrics {height:auto;grid-template-columns:repeat(2,minmax(0,1fr));}
  .tv-body.tv-readable .tv-tournament-metrics {height:auto;grid-template-columns:repeat(2,minmax(0,1fr));}
  .tv-body.tv-readable .tv-metric {min-height:64px;}
  .tv-body.tv-readable .tv-rounds-grid {grid-template-columns:1fr;}
  .tv-body.tv-readable .tv-grid,
  .tv-body.tv-readable .tv-tournament-grid {grid-template-columns:1fr;grid-template-rows:none;overflow:visible;}
  .tv-body.tv-readable .tv-card {grid-column:auto;grid-row:auto;min-height:220px;max-height:430px;}
  .tv-body.tv-readable .tv-live-court {height:auto;grid-template-columns:1fr;gap:8px;}
  .tv-body.tv-readable .tv-live-prep {border-left:0;padding-left:0;}
  .tv-body.tv-readable .tv-live-match {min-height:54px;}
  .tv-body.tv-readable .tv-footer {padding-top:6px;}
}
