/* UTEC English Live Scoring — Hotfix v1.1.024
   Prevent "Dipublikasikan" from breaking into two lines on TV/projectors.
   Only targets the fourth public summary card (Status Hasil).
   No changes to score calculation, timing, publication, or Grand Final logic.
*/
body:has(.public-main) .public-layout .stats-grid > .stat-card:nth-child(4) {
  container-name: utec-status-card;
  container-type: inline-size;
  min-width: 0;
}
body:has(.public-main) .public-layout .stats-grid > .stat-card:nth-child(4) > div {
  min-width: 0;
  flex: 1 1 0;
}
body:has(.public-main) .public-layout .stats-grid > .stat-card:nth-child(4) #statStatus {
  display: block;
  width: max-content;
  max-width: 100%;
  font-size: clamp(10px, .8vw, 18px); /* fallback for older browsers */
  font-size: clamp(10px, 6.7cqw, 18px); /* proportional to available card width */
  line-height: 1.18;
  letter-spacing: -.045em;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
/* Keep the icon readable while freeing extra width on narrow layouts. */
@container utec-status-card (max-width: 225px) {
  body:has(.public-main) .public-layout .stats-grid > .stat-card:nth-child(4) .stat-icon { width: 42px; height: 42px; min-width: 42px; }
}
@media (max-width: 480px) {
  body:has(.public-main) .public-layout .stats-grid > .stat-card:nth-child(4) {
    gap: 6px;
  }
  body:has(.public-main) .public-layout .stats-grid > .stat-card:nth-child(4) .stat-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }
}
