/* CITY2 standings desk: reduce vertical gaps while preserving source cards and controls. */
body.city2-page #stl-section-2 #city2-hub-app {
  padding-block: 8px !important;
}

body.city2-page #stl-section-2 .city2-freshness {
  margin-bottom: 6px !important;
  padding-block: 4px !important;
}

body.city2-page #stl-section-2 :is(.city2-live-grid, .city2-metric-strip, .city2-section-grid) {
  margin-block: 6px !important;
  padding-block: 8px !important;
  gap: 10px !important;
}

body.city2-page #stl-section-2 :is(.city2-live-card, .city2-metric, .city2-panel) {
  padding: 12px !important;
}

/* The global placeholder rule hides initials; keep these verified-team-neutral marks visible. */
body.city2-page #stl-section-2 .city2-match-card .mf-logo-token .mf-logo-fallback {
  display: block !important;
  font-size: .58rem;
  color: #f8fbf5;
}

/* Keep team names readable in the compact phone scorecards and scrollable table. */
@media (max-width: 360px) {
  body.city2-page #stl-section-2 .city2-match-card .city2-scoreline .mf-team-cell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-content: center;
    gap: 3px;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    line-height: 1.15;
  }

  body.city2-page #stl-section-2 .mf-table-scroll .data-table {
    min-width: 620px;
  }

  body.city2-page #stl-section-2 .mf-table-scroll .data-table :is(th, td):nth-child(2) {
    min-width: 160px;
  }

  body.city2-page #stl-section-2 .mf-table-scroll .data-table td:nth-child(2) .mf-team-cell {
    white-space: nowrap;
  }
}

/* Keep every official coverage tab label readable on phones. */
@media (max-width: 620px) {
  html:root body.city2-page #mf-official-content-network .mf-ocn__tabs {
    overflow-x: auto !important;
  }

  html:root body.city2-page #mf-official-content-network .mf-ocn__tabs > button {
    flex: 0 0 auto !important;
    width: max-content !important;
    white-space: nowrap !important;
  }
}
