/* Approved Labs match composition, fed exclusively by the connected agenda.
   These selectors deliberately supersede the historical responsive row rules. */
.sports-hub .sh-table-heading { display: none; }
.sports-hub .sh-match-list { display: block; min-width: 0; }
.sports-hub .sh-match-row,
.sports-hub[data-mode="football"] .sh-match-row {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) 44px;
  grid-template-rows: auto auto; align-items: start; gap: 6px 18px;
  min-height: 122px; min-width: 0; padding: 16px 8px;
  border: 0; border-top: 1px solid var(--sh-line); border-radius: 0;
  background: transparent; box-shadow: none;
}
.sports-hub .sh-match-row:last-child { border-bottom: 1px solid var(--sh-line); }
.sports-hub .sh-match-row[data-phase="live"] { background: transparent; box-shadow: none; }
.sports-hub .sh-match-row > .sh-time-cell {
  display: grid; grid-column: 1; grid-row: 1 / span 2; gap: 4px;
  align-self: start; align-items: start; padding: 4px 0 0;
}
.sports-hub .sh-match-row .sh-time-cell .sh-time {
  font-size: 22px; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.sports-hub .sh-match-row .sh-time-cell .sh-time[data-source="tv"] { font-size: 15px; white-space: normal; }
.sports-hub .sh-match-row .sh-time-cell .sh-date { font-size: 11px; line-height: 1.4; }
.sports-hub .sh-match-row .sh-time-cell .sh-match-state {
  max-width: 100%; margin: 0; font-size: 10px; line-height: 1.35; text-align: left; white-space: normal;
}
.sports-hub .sh-match-row .sh-match-state[data-routine="true"] { display: none; }
.sports-hub .sh-match-row .sh-match-status-group { display: grid; gap: 2px; min-width: 0; }
.sports-hub .sh-match-row .sh-match-status-group:has(> .sh-match-state[data-routine="true"]:only-child) { display: none; }
.sports-hub .sh-match-row .sh-match-status-group .sh-match-state { color: var(--sh-muted); font-size: 11px; line-height: 1.4; }
.sports-hub .sh-match-row .sh-match-status-group .sh-match-state[data-status="live"] { color: var(--sh-accent); }
.sports-hub .sh-match-row .sh-match-status-group .sh-live-badge { text-transform: none; letter-spacing: 0; gap: 4px; }
.sports-hub .sh-match-row .sh-match-status-group .sh-live-badge::before { width: 5px; height: 5px; }
.sports-hub .sh-match-row .sh-time-cell .sh-live-badge { text-transform: none; letter-spacing: 0; gap: 4px; }
.sports-hub .sh-match-row > .sh-team-pair {
  grid-column: 2; grid-row: 1; display: block; min-width: 0; align-self: start;
  padding-left: 18px; border-left: 1px solid var(--sh-line);
}
.sports-hub .sh-match-row .sh-match-copy { display: grid; min-width: 0; gap: 4px; }
.sports-hub .sh-match-row .sh-match-participants { display: grid; gap: 4px; min-width: 0; }
.sports-hub .sh-match-row .sh-participant-line {
  display: grid; grid-template-columns: 27px minmax(0, 1fr) 40px;
  align-items: center; gap: 12px; min-width: 0; min-height: 30px;
}
.sports-hub .sh-match-row[data-sport="basketball"] .sh-participant-line { grid-template-columns: 27px minmax(0, 1fr) 50px; }
.sports-hub .sh-match-row .sh-participant-line[data-single="true"] { grid-template-columns: 27px minmax(0, 1fr); }
.sports-hub .sh-match-row .sh-participant-line .sh-team-badge {
  grid-column: 1; width: 27px; height: 27px; min-width: 0; padding: 0;
}
.sports-hub .sh-match-row .sh-team-badge[hidden] { display: none; }
.sports-hub .sh-match-row .sh-participant-name {
  grid-column: 2; min-width: 0; font-size: 16px; line-height: 1.3;
  font-weight: 650; overflow-wrap: anywhere; white-space: normal;
}
.sports-hub .sh-match-row .sh-participant-score {
  grid-column: 3; font-size: 20px; font-weight: 750; text-align: right;
  line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.sports-hub .sh-match-row :is(.sh-badge-image, .sh-athlete-portrait) { width: 100%; height: 100%; object-fit: contain; }
.sports-hub .sh-match-row .sh-athlete-portrait { object-fit: cover; }
.sports-hub .sh-match-row > .sh-match-support {
  display: flex; grid-column: 2; grid-row: 2; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-end; gap: 4px 12px;
  min-width: 0; padding-left: 18px;
}
.sports-hub .sh-match-row .sh-match-context {
  display: grid; flex: 1 1 8em; align-items: start; align-self: center;
  gap: 2px; min-width: 0; max-width: 100%;
}
.sports-hub .sh-match-row .sh-match-competition-line { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 5px; min-width: 0; }
.sports-hub .sh-match-row .sh-match-context .sh-match-sport::after { content: '·'; margin-left: 5px; }
.sports-hub .sh-match-row .sh-match-context .sh-match-sport,
.sports-hub .sh-match-row .sh-match-context .sh-competition-name { color: var(--sh-muted); font-size: 12px; line-height: 1.4; }
.sports-hub[data-mode="football"] .sh-match-row .sh-match-sport { display: none; }
.sports-hub .sh-match-row .sh-match-meta { display: block; min-width: 0; max-width: 100%; }
.sports-hub .sh-match-row .sh-competition-identity { display: inline-flex; min-height: 0; max-width: 100%; gap: 5px; }
.sports-hub .sh-match-row .sh-competition-mark { width: 16px; height: 18px; }
.sports-hub .sh-match-row .sh-match-destinations {
  display: flex; flex: 0 1 auto; min-width: 0; max-width: 100%; margin-left: auto; align-self: flex-end;
}
.sports-hub .sh-match-row .sh-transmission {
  display: grid; flex: 0 1 auto; grid-column: auto; grid-row: auto; justify-items: end;
  gap: 2px; width: max-content; max-width: 100%; max-height: none; min-width: 0; margin: 0;
}
.sports-hub .sh-match-row .sh-broadcast-chips { justify-content: flex-end; flex-wrap: nowrap; gap: 4px; min-width: 0; max-width: 100%; }
.sports-hub .sh-match-row .sh-transmission-button {
  display: flex; flex: 0 1 82px; flex-wrap: nowrap; width: 82px;
  min-width: 44px; max-width: 100%; min-height: 44px; padding: 4px; gap: 3px;
}
.sports-hub .sh-match-row .sh-transmission-button .sh-watch-brand {
  display: flex; flex: 1 1 0; justify-content: center;
  width: auto; min-width: 0; max-width: 100%; overflow: hidden;
}
.sports-hub .sh-match-row .sh-transmission-button .sh-brand-logo {
  flex: 0 1 auto; width: 100%; min-width: 0; max-width: 100%;
  height: 24px; max-height: 24px; object-fit: contain;
}
.sports-hub .sh-match-row .sh-transmission-button .sh-transmission-number { flex: 0 0 auto; min-width: 0; }
.sports-hub .sh-match-row .sh-transmission-button[data-brand="tnt"] { width: 44px; min-width: 44px; height: 44px; padding: 4px; }
.sports-hub .sh-match-row .sh-transmission-button[data-brand="tnt"] .sh-brand-logo { width: 28px; height: 28px; max-width: 28px; max-height: 28px; }
.sports-hub .sh-match-row :is(.sh-transmission-note, .sh-guide-warning, .sh-transmission-fallback) {
  font-size: 10px; line-height: 1.4; max-width: 190px; overflow-wrap: anywhere; text-align: right;
}
.sports-hub .sh-match-row > .sh-row-actions {
  display: flex; grid-column: 3; grid-row: 1 / span 2; flex-wrap: nowrap;
  align-self: start; justify-content: flex-end; margin: 0; padding: 0;
}
.sports-hub .sh-match-row .sh-row-actions .sh-icon-button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
.sports-hub .sh-match-row .sh-live-scoreboard { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 5px; }
.sports-hub .sh-match-row .sh-live-scoreboard > .sh-match-state::after { content: '·'; padding-left: 5px; }
.sports-hub .sh-match-row .sh-live-clock { color: var(--sh-accent); font-size: 12px; line-height: 1.4; }
.sports-hub .sh-match-row:not([data-phase="live"]) .sh-live-clock { color: var(--sh-muted); }
.sports-hub .sh-match-row .sh-match-note { color: var(--sh-muted); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.sports-hub .sh-match-row .sh-match-accessible-title,
.sports-hub .sh-match-row .sh-live-checked {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
@media (hover: hover) and (pointer: fine) {
  .sports-hub .sh-match-row:hover { background: transparent; box-shadow: none; }
}
@media (max-width: 860px) {
  .sports-hub .sh-match-row,
  .sports-hub[data-mode="football"] .sh-match-row { grid-template-columns: 53px minmax(0, 1fr) 44px; gap: 4px 8px; padding: 12px 0; min-height: 110px; }
  .sports-hub .sh-match-row .sh-time-cell .sh-time { font-size: 18px; }
  .sports-hub .sh-match-row .sh-time-cell .sh-time[data-source="tv"] { font-size: 12px; }
  .sports-hub .sh-match-row .sh-time-cell .sh-date { display: none; }
  .sports-hub .sh-match-row > .sh-team-pair { grid-column: 2; grid-row: 1; padding-left: 10px; }
  .sports-hub .sh-match-row .sh-participant-line { grid-template-columns: 23px minmax(0, 1fr) 24px; gap: 7px; min-height: 25px; }
  .sports-hub .sh-match-row[data-sport="basketball"] .sh-participant-line { grid-template-columns: 23px minmax(0, 1fr) 34px; }
  .sports-hub .sh-match-row .sh-participant-line[data-single="true"] { grid-template-columns: 23px minmax(0, 1fr); }
  .sports-hub .sh-match-row .sh-participant-line .sh-team-badge { width: 23px; height: 23px; }
  .sports-hub .sh-match-row .sh-participant-name { font-size: 14px; }
  .sports-hub .sh-match-row .sh-participant-score { font-size: 17px; }
  .sports-hub .sh-match-row > .sh-match-support { grid-column: 2; grid-row: 2; padding-left: 10px; gap: 3px 6px; }
  .sports-hub .sh-match-row .sh-match-context { flex-basis: 80px; }
  .sports-hub .sh-match-row .sh-match-context :is(.sh-match-sport, .sh-competition-name) { font-size: 11px; }
  .sports-hub .sh-match-row .sh-match-context .sh-competition-mark { display: none; }
  .sports-hub .sh-match-row .sh-transmission { max-width: 100%; }
  .sports-hub .sh-match-row .sh-transmission-button { flex-basis: 64px; width: 64px; padding: 3px; }
  .sports-hub .sh-match-row .sh-transmission-button .sh-brand-logo { max-width: 100%; height: 22px; max-height: 22px; }
  .sports-hub .sh-match-row :is(.sh-transmission-note, .sh-guide-warning, .sh-transmission-fallback) { max-width: 156px; }
  .sports-hub .sh-match-row > .sh-row-actions { grid-column: 3; grid-row: 1 / span 2; }
  .sports-hub .sh-match-row .sh-live-clock { font-size: 11px; }
}
@media (max-width: 359px) {
  .sports-hub .sh-match-row,
  .sports-hub[data-mode="football"] .sh-match-row { grid-template-columns: 46px minmax(0, 1fr) 44px; gap: 4px 6px; }
  .sports-hub .sh-match-row .sh-time-cell .sh-time { font-size: 16px; }
  .sports-hub .sh-match-row .sh-participant-line { grid-template-columns: 20px minmax(0, 1fr) 22px; gap: 5px; }
  .sports-hub .sh-match-row[data-sport="basketball"] .sh-participant-line { grid-template-columns: 20px minmax(0, 1fr) 32px; }
  .sports-hub .sh-match-row .sh-participant-name { font-size: 12px; }
  .sports-hub .sh-match-row .sh-participant-line .sh-team-badge { width: 20px; height: 20px; }
  .sports-hub .sh-match-row .sh-participant-score { font-size: 16px; }
}
@media (min-width: 1600px) {
  .sports-hub .sh-match-row { grid-template-columns: 90px minmax(0, 1fr) 48px; gap: 8px 24px; padding-block: 20px; }
  .sports-hub .sh-match-row .sh-participant-name { font-size: 18px; }
  .sports-hub .sh-match-row .sh-participant-score { font-size: 22px; }
  .sports-hub .sh-match-row .sh-row-actions .sh-icon-button { width: 48px; min-width: 48px; height: 48px; min-height: 48px; }
}
/* Upcoming fixtures have no invented score placeholders. The extra space
   belongs to the broadcaster marks, while scored rows keep their composition. */
.sports-hub .sh-match-row .sh-participant-line[data-score="missing"] { grid-template-columns: 27px minmax(0, 1fr); }
.sports-hub .sh-match-row[data-phase="upcoming"][data-score="missing"] { --sh-upcoming-logo-width: 92px; --sh-upcoming-logo-height: 28px; }
.sports-hub .sh-match-row[data-phase="upcoming"][data-score="missing"] .sh-match-context { flex: 0 1 46%; }
.sports-hub .sh-match-row[data-phase="upcoming"][data-score="missing"] .sh-match-destinations { flex: 1 1 auto; justify-content: center; align-self: center; margin-left: 0; }
.sports-hub .sh-match-row[data-phase="upcoming"][data-score="missing"] :is(.sh-transmission,.sh-broadcast-chips) { justify-content: center; justify-items: center; }
.sports-hub .sh-match-row[data-phase="upcoming"][data-score="missing"] .sh-transmission-button { flex-basis: var(--sh-upcoming-logo-width); width: var(--sh-upcoming-logo-width); }
.sports-hub .sh-match-row[data-phase="upcoming"][data-score="missing"] .sh-transmission-button .sh-brand-logo { height: var(--sh-upcoming-logo-height); max-height: var(--sh-upcoming-logo-height); }
.sports-hub .sh-match-row[data-phase="upcoming"][data-score="missing"] .sh-transmission-button[data-brand="tnt"] { flex-basis: 48px; width: 48px; height: 48px; }
.sports-hub .sh-match-row[data-phase="upcoming"][data-score="missing"] .sh-transmission-button[data-brand="tnt"] .sh-brand-logo { width: 34px; height: 34px; max-width: 34px; max-height: 34px; }
/* A confirmed final keeps the ordinary status text and a quiet row tint.
   Outcome emphasis is restricted to comparable, unequal team totals. */
.sports-hub .sh-match-row[data-final-result="true"],
.sports-hub .sh-match-row[data-final-result="true"]:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--sh-accent) 3.5%, transparent), color-mix(in srgb, var(--sh-muted) 2%, transparent)); }
.sports-hub .sh-match-row .sh-participant-score[data-result="winner"] { color: var(--sh-text, #f2f1ee); font-weight: 850; }
.sports-hub .sh-match-row .sh-participant-score[data-result="loser"] { color: color-mix(in srgb, var(--sh-muted) 88%, var(--sh-text, #f2f1ee)); font-weight: 600; }
@media (max-width: 860px) {
  .sports-hub .sh-match-row[data-phase="upcoming"][data-score="missing"] { --sh-upcoming-logo-width: 76px; --sh-upcoming-logo-height: 26px; }
  .sports-hub .sh-match-row .sh-participant-line[data-score="missing"] { grid-template-columns: 23px minmax(0, 1fr); }
}
@media (max-width: 359px) {
  .sports-hub .sh-match-row .sh-participant-line[data-score="missing"] { grid-template-columns: 20px minmax(0, 1fr); }
}
