/* Aussie Hoopla player profiles: visual-only changes. */
html body.single-player .ah-player-col .ah-unified-major-heading.ah-unified-major-heading,
html body.single-player_profiles .ah-player-col .ah-unified-major-heading.ah-unified-major-heading {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-align: left !important;
}
/* Inline bold/span styling in legacy content must not reintroduce different font sizes. */
html body.single-player .ah-player-col .ah-unified-major-heading.ah-unified-major-heading *,
html body.single-player_profiles .ah-player-col .ah-unified-major-heading.ah-unified-major-heading * {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}

/* Stretch FIBA/NBA tables to the same available width as the profile text.
   Keep overflow inside the existing table wrapper if there are too many columns. */
body.single-player .ah-player-col .ah-international-wide-wrap,
body.single-player_profiles .ah-player-col .ah-international-wide-wrap {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
}
body.single-player .ah-player-col table.ah-international-wide-table,
body.single-player_profiles .ah-player-col table.ah-international-wide-table {
  display: table !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  table-layout: auto !important;
  border-collapse: collapse !important;
}
body.single-player .ah-player-col table.ah-international-wide-table th,
body.single-player .ah-player-col table.ah-international-wide-table td,
body.single-player_profiles .ah-player-col table.ah-international-wide-table th,
body.single-player_profiles .ah-player-col table.ah-international-wide-table td {
  box-sizing: border-box !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  padding: 7px 5px !important;
  white-space: nowrap !important;
  text-align: center !important;
}

/* Preserve existing small-screen stats layout and scrolling behaviour. */
@media (max-width: 767px) {
  html body.single-player .ah-player-col .ah-unified-major-heading.ah-unified-major-heading,
  html body.single-player_profiles .ah-player-col .ah-unified-major-heading.ah-unified-major-heading {
    font-size: 20px !important;
  }
  body.single-player .ah-player-col table.ah-international-wide-table,
  body.single-player_profiles .ah-player-col table.ah-international-wide-table {
    width: max-content !important;
    min-width: 0 !important;
  }
  body.single-player .ah-player-col table.ah-international-wide-table th,
  body.single-player .ah-player-col table.ah-international-wide-table td,
  body.single-player_profiles .ah-player-col table.ah-international-wide-table th,
  body.single-player_profiles .ah-player-col table.ah-international-wide-table td {
    font-size: 12px !important;
    padding: 6px 5px !important;
  }
}
