/* ActiveFoot Public P2h — colonne Suivi compacte, complète et vocabulaire football */
.af-player-stats-pro .afps-table {
  width: 100% !important;
  table-layout: fixed !important;
}

.af-player-stats-pro .afps-table th:first-child,
.af-player-stats-pro .afps-table td:first-child {
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
}

.af-player-stats-pro .afps-table th:nth-child(3),
.af-player-stats-pro .afps-table td:nth-child(3) {
  width: 78px !important;
  min-width: 78px !important;
  max-width: 78px !important;
}

.af-player-stats-pro .afps-table th:last-child,
.af-player-stats-pro .afps-table td:last-child {
  width: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
  overflow: hidden !important;
  text-align: center !important;
}

.af-player-stats-pro .afps-followup-status {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
  width: 80px !important;
  min-width: 80px !important;
  max-width: 80px !important;
  min-height: 36px !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 5px 4px !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  line-height: 1.05 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.af-player-stats-pro .afps-followup-main,
.af-player-stats-pro .afps-followup-sub {
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  word-break: keep-all !important;
}

.af-player-stats-pro .afps-followup-main {
  font-size: 10px !important;
  font-weight: 950 !important;
}

.af-player-stats-pro .afps-followup-sub {
  font-size: 7.5px !important;
  font-weight: 800 !important;
  opacity: .92 !important;
}

.af-player-stats-pro .afps-discipline-status {
  white-space: nowrap !important;
  text-align: center !important;
}

@media (max-width: 760px) {
  .af-player-stats-pro .afps-table th:first-child,
  .af-player-stats-pro .afps-table td:first-child {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
  }

  .af-player-stats-pro .afps-table th:nth-child(3),
  .af-player-stats-pro .afps-table td:nth-child(3) {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
  }

  .af-player-stats-pro .afps-table th:last-child,
  .af-player-stats-pro .afps-table td:last-child {
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
  }

  .af-player-stats-pro .afps-followup-status {
    width: 74px !important;
    min-width: 74px !important;
    max-width: 74px !important;
    padding: 5px 3px !important;
  }

  .af-player-stats-pro .afps-followup-main {
    font-size: 9.5px !important;
  }

  .af-player-stats-pro .afps-followup-sub {
    font-size: 7px !important;
  }
}

/* AF_PUBLIC_STATS_READABILITY_20260618_START */
/* Lisibilité page publique stats joueurs : desktop + mobile */
.af-player-stats-pro,
.af-player-stats-pro * {
  box-sizing: border-box;
}

.af-player-stats-pro.afps-public .afps-grid-2,
.afps-public .afps-grid-2 {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr)) !important;
  gap: 14px !important;
  align-items: start !important;
}

.af-player-stats-pro .afps-section,
.af-player-stats-pro .afps-table-wrap {
  min-width: 0 !important;
}

.af-player-stats-pro .afps-table-wrap {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.af-player-stats-pro .afps-table {
  width: 100% !important;
  min-width: 620px !important;
  table-layout: auto !important;
  border-collapse: collapse !important;
}

.af-player-stats-pro .afps-table th,
.af-player-stats-pro .afps-table td {
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.af-player-stats-pro .afps-table th:first-child,
.af-player-stats-pro .afps-table td:first-child {
  width: 58px !important;
  min-width: 58px !important;
  max-width: none !important;
}

.af-player-stats-pro .afps-table th:nth-child(2),
.af-player-stats-pro .afps-table td:nth-child(2) {
  width: auto !important;
  min-width: 230px !important;
}

.af-player-stats-pro .afps-table th:nth-child(3),
.af-player-stats-pro .afps-table td:nth-child(3),
.af-player-stats-pro .afps-table th:last-child,
.af-player-stats-pro .afps-table td:last-child {
  width: auto !important;
  min-width: 76px !important;
  max-width: none !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  overflow: visible !important;
}

.af-player-stats-pro .afps-player,
.af-player-stats-pro .afps-meta {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

.af-player-stats-pro .afps-followup-status {
  width: auto !important;
  min-width: 96px !important;
  max-width: 160px !important;
  padding: 5px 9px !important;
  overflow: visible !important;
}

.af-player-stats-pro .afps-followup-main,
.af-player-stats-pro .afps-followup-sub {
  overflow: visible !important;
  text-overflow: clip !important;
}

.af-player-stats-pro .afps-discipline-status {
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .af-player-stats-pro.afps-public .afps-grid-2,
  .afps-public .afps-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .af-player-stats-pro.afps-public .afps-section-head,
  .afps-public .afps-section-head {
    padding: 12px !important;
  }

  .af-player-stats-pro.afps-public .afps-table-wrap,
  .afps-public .afps-table-wrap {
    overflow: visible !important;
  }

  .af-player-stats-pro.afps-public .afps-table,
  .afps-public .afps-table,
  .af-player-stats-pro.afps-public .afps-table tbody,
  .afps-public .afps-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .af-player-stats-pro.afps-public .afps-table thead,
  .afps-public .afps-table thead {
    display: none !important;
  }

  .af-player-stats-pro.afps-public .afps-table tbody,
  .afps-public .afps-table tbody {
    padding: 10px !important;
  }

  .af-player-stats-pro.afps-public .afps-table tr,
  .afps-public .afps-table tr {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 6px 10px !important;
    margin-bottom: 10px !important;
    padding: 10px !important;
    border: 1px solid rgba(148,163,184,.18) !important;
    border-radius: 14px !important;
    background: rgba(15,23,42,.42) !important;
  }

  .af-player-stats-pro.afps-public .afps-table tr:last-child,
  .afps-public .afps-table tr:last-child {
    margin-bottom: 0 !important;
  }

  .af-player-stats-pro.afps-public .afps-table td,
  .afps-public .afps-table td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: normal !important;
  }

  .af-player-stats-pro.afps-public .afps-table td:first-child,
  .afps-public .afps-table td:first-child {
    grid-row: 1 / span 4 !important;
    grid-column: 1 !important;
    width: 38px !important;
    min-width: 38px !important;
    color: var(--tm,#94a3b8) !important;
    font-size: 13px !important;
    align-self: start !important;
  }

  .af-player-stats-pro.afps-public .afps-table td:nth-child(2),
  .afps-public .afps-table td:nth-child(2) {
    grid-column: 2 !important;
  }

  .af-player-stats-pro.afps-public .afps-table td:nth-child(n+3),
  .afps-public .afps-table td:nth-child(n+3) {
    grid-column: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    text-align: left !important;
  }

  .af-player-stats-pro.afps-public .afps-table td:nth-child(3)::before,
  .afps-public .afps-table td:nth-child(3)::before {
    content: "Stat";
    min-width: 46px;
    color: var(--tm,#94a3b8);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .af-player-stats-pro.afps-public .afps-table td:nth-child(4)::before,
  .afps-public .afps-table td:nth-child(4)::before {
    content: "Détail";
    min-width: 46px;
    color: var(--tm,#94a3b8);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .af-player-stats-pro.afps-public .afps-table td:nth-child(5)::before,
  .afps-public .afps-table td:nth-child(5)::before {
    content: "Total";
    min-width: 46px;
    color: var(--tm,#94a3b8);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .af-player-stats-pro.afps-public .afps-num,
  .afps-public .afps-num {
    text-align: left !important;
    font-size: 16px !important;
  }

  .af-player-stats-pro.afps-public .afps-pill,
  .afps-public .afps-pill {
    white-space: nowrap !important;
    margin: 2px 4px 2px 0 !important;
  }

  .af-player-stats-pro.afps-public .afps-followup-status,
  .afps-public .afps-followup-status {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}
/* AF_PUBLIC_STATS_READABILITY_20260618_END */
