.player-summary-container {
  margin: 12px auto 12px;
  padding: 8px;
  border-radius: 8px;
  max-width: 1000px; width: 100%;
  background-color: var(--primary-dark);
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.15);
}



.player-summary-seasons-container { margin: 12px auto; max-width: 976px; }
.player-summary-seasons-container .standard-table-container { margin-bottom: 16px; }
.player-summary-seasons-container .standard-table-container:last-child { margin-bottom: 0; }
.player-summary-seasons-container .standard-table-container .standard-table { width: 100%; }
.player-summary-seasons-container .standard-table-container .standard-table thead { font-size: 12px; }





.player-summary-teams-container { margin: 12px auto; max-width: 976px; }
.player-summary-teams-container .standard-table-container { margin-bottom: 16px; }
.player-summary-teams-container .standard-table-container:last-child { margin-bottom: 0;}
.player-summary-teams-container .standard-table-container .standard-table { width: 100%; }
.player-summary-teams-container .standard-table-container .standard-table thead { font-size: 12px; }





.player-summary-lineups-container { margin: 12px auto; max-width: 976px; }
.player-summary-lineups-container .standard-table-container { margin-bottom: 16px; }
.player-summary-lineups-container .standard-table-container:last-child { margin-bottom: 0;}
.player-summary-lineups-container .standard-table-container .standard-table thead { font-size: 12px; }





.player-summary-recent-matches-container {
  margin: 12px auto;
  max-width: 860px;
}

.player-summary-recent-matches-data-container {
  min-height: 406px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}




.player-summary-recent-matches-table-container { min-height: 60px; }
.player-summary-recent-matches-table {
  border: 2px solid var(--primary-color);
  border-collapse: collapse;
  min-width: 400px;
  text-align: center;
  font-size: 14px;
  white-space: nowrap;
}

.player-summary-recent-matches-table th {
  position: sticky; top: 0; z-index: 1;
  color: var(--text-primary);
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-weight: bold;
  font-size: 16px;
}
.player-summary-recent-matches-table th:not(:last-child) { border-right: 2px solid var(--primary-dark); }

.player-summary-recent-matches-table .date-time-column { width: 86px; }
.player-summary-recent-matches-table .outcome-column { width: 24px; padding: 0; }
.player-summary-recent-matches-table .games-column { width: 51px; }
.player-summary-recent-matches-table .points-column { width: 46px; }

.player-summary-recent-matches-table td { padding: 0; }
.player-summary-recent-matches-table th, td { padding: 2px 8px; }
.player-summary-recent-matches-table button {
  background-color: var(--primary-dark);
  color: var(--text-primary);
  border-top-color: transparent; border-left-color: transparent;
  border-right-color: var(--text-primary); border-bottom-color: var(--text-primary);
  border-width: 2px;
  width: 100%; height: 100%;
  border-radius: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}
.player-summary-recent-matches-table button.active { background-color: var(--secondary-color); font-weight: bold; pointer-events: none; }
.player-summary-recent-matches-table button:hover { background-color: var(--accent-color); }



.recent-match-summary-table-row-container {
  margin: 0; padding: 0;
  display: flex; align-items: center;
  justify-content: space-around;
  gap: 8px;
}
.recent-match-summary-table-row-container span { display: block; }
.recent-match-summary-table-row-datetime { text-align: center; width: 80px; font-size: 12px; }
.recent-match-summary-table-row-teams { flex-grow: 1; }
.recent-match-summary-table-row-outcome { text-align: center; width: 16px; }
.recent-match-summary-table-row-games { text-align: center; width: 42px; }
.recent-match-summary-table-row-points { text-align: left; width: 40px; }

//.recent-match-summary-table-row-datetime, .recent-match-summary-table-row-teams, .recent-match-summary-table-row-outcome, .recent-match-summary-table-row-games, .recent-match-summary-table-row-points {border: 1px solid var(--error-color);}



.player-summary-recent-match-details-container {
  color: var(--text-primary);
  min-width: 450px;
  white-space: nowrap;
}

.player-summary-recent-match-details-header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: var(--primary-color);
  min-height: 64px;
  margin: 0; padding: 8px; gap: 8px;
  border-top-left-radius: 8px; border-top-right-radius: 8px;
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}
.player-summary-recent-match-details-header-datetime { text-align: left; }
.player-summary-recent-match-details-header-event { text-align: center; font-weight: bold; }
.player-summary-recent-match-details-header-event-division { font-size: 18px; }
.player-summary-recent-match-details-header-event-name { font-size: 22px; }
.player-summary-recent-match-details-header-context { text-align: right; }
.player-summary-recent-match-details-header-datetime, .player-summary-recent-match-details-header-context { flex: 1; font-size: 13px; }

.player-summary-recent-match-details-container a {
  width: 100%;
  margin: 0; padding: 0;
  cursor: pointer;
}
.player-summary-recent-match-details-match-summary:hover { background-color: var(--accent-color); transition: 0.3s; }
.player-summary-recent-match-details-match-summary {
  background-color: var(--secondary-color);
  margin: 0; padding: 4px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
  font-size: 20px;
  border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;
}
.player-summary-recent-match-details-match-summary-away-team, .player-summary-recent-match-details-match-summary-home-team {
  max-width: 150px;
  flex: 1;
  font-weight: bold;
  white-space: wrap;
  text-wrap: balance;
  text-align: center;
}
.player-summary-recent-match-details-match-summary-scores { text-align: center; font-weight: bold; font-size: 24px; }


.player-summary-recent-match-details-games-summary { padding: 0; }
.player-summary-recent-match-details-game-summary {
  background-color: var(--primary-dark);
  border: 2px solid var(--primary-color);
  margin: 4px 14px 0; padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.player-summary-recent-match-details-game-summary-away-team-lineup { text-align: left; }
.player-summary-recent-match-details-game-summary-home-team-lineup { text-align: right; }
.player-summary-recent-match-details-game-summary-away-team-lineup, .player-summary-recent-match-details-game-summary-home-team-lineup { flex: 1; font-size: 14px; }

.player-summary-recent-match-details-game-summary-scores-container {}
.player-summary-recent-match-details-game-summary-type { font-size: 12px; }
.player-summary-recent-match-details-game-summary-scores { font-size: 18px; }
.player-summary-recent-match-details-game-summary-type, .player-summary-recent-match-details-game-summary-scores { text-align: center; }

//.player-summary-recent-match-details-container, .player-summary-recent-match-details-header, .player-summary-recent-match-details-header-datetime, .player-summary-recent-match-details-header-event, .player-summary-recent-match-details-header-context, .player-summary-recent-match-details-match-summary, .player-summary-recent-match-details-match-summary-away-team, .player-summary-recent-match-details-match-summary-home-team, .player-summary-recent-match-details-match-summary-scores, .player-summary-recent-match-details-game-summary, .player-summary-recent-match-details-game-summary-away-team-lineup, .player-summary-recent-match-details-game-summary-home-team-lineup, .player-summary-recent-match-details-game-summary-scores-container, .player-summary-recent-match-details-game-summary-type, .player-summary-recent-match-details-game-summary-scores { border: 1px solid var(--error-color); }





@media (max-width: 1131px) { .player-summary-container { max-width: 90%; min-width: 460px; } }
@media (max-width: 1000px) {
  .player-summary-recent-matches-data-container { flex-direction: column; align-items: center; min-height: 506px; }
  .player-summary-recent-matches-table-container {
    min-width: 417px; max-height: 168px;
    overflow-y: auto;
    border-bottom: 2px solid var(--primary-color);
  }
}
