/* Player Page Container */
.dp-player-page {
  display: flex; 
  flex-direction: column;
  margin: 0 auto;
}

.dp-player-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Breadcrumbs */
.dp-player-breadcrumbs {
  color: #cfcfcf;
}

.dp-player-breadcrumbs a {
  color: inherit;
  text-decoration: underline;
}

.dp-player-breadcrumbs a:hover {
  text-decoration: underline;
}

.dp-player-breadcrumb-sep {
  opacity: 0.7;
}

/* Header and Intro */
.dp-player-header h1.dp-player-title {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.dp-player-intro-text {
  color: #fff;
  background: #2f2e28;
  border-radius: 8px;
  border-left: 6px solid #f5f2d0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Generic section styles */
.dp-player-alltime,
.dp-player-match-details,
.dp-player-directory {
  border: 3px solid #222;
  background: #333;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
  color: #f5f2d0;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.dp-table-wrapper {
    border-top: 1px solid #d7be69 !important;
}


/* Generic table styles */
.dp-player-alltime-table,
.dp-player-match-details-table,
.dp-player-directory-table {
  margin: 0;
  background: #555;
  border-collapse: collapse;
  width: 100%;
  /* table-layout: fixed; */
}

/* Generic table header row styles */ 
.dp-player-alltime-table thead tr, 
.dp-player-match-details-table thead tr,
.dp-player-directory-table thead tr { 
  background: #434343; 
  color: #f5f2d0; 
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); 
}

/* Generic table header cell styles */ 
.dp-player-alltime-table thead th, 
.dp-player-match-details-table thead th,
.dp-player-directory-table thead th { 
  text-align: center;
  border: none;
  line-height: 1.5;
  background-color: #434343;
  padding: 8px 6px;
}

/* Generic table row styles */
.dp-player-alltime-table tbody tr, 
.dp-player-match-details-table tbody tr,
.dp-player-directory-table tbody tr {
  border-bottom: 1px solid #454545;
  color: #fff; 
}

/* Generic table row cell styles */ 
.dp-player-alltime-table tbody td, 
.dp-player-match-details-table tbody td,
.dp-player-directory-table tbody td { 
  line-height: 1.5; 
  text-align: center;
  padding: 8px 6px;
  border: none;
}

/* Generic table links */
.dp-player-alltime-table a,
.dp-player-match-details-table a,
.dp-player-directory-table a {
  color: #ffcc00;
  font-weight: inherit;
  text-decoration: none;
  box-shadow: none;
  border: none;
}

.dp-player-alltime-table a:hover,
.dp-player-match-details-table a:hover,
.dp-player-directory-table a:hover { 
  text-decoration: underline; 
}

/* Generic table captions */
.dp-table-caption {
  background: #222;
  color: #f5f2d0;
  border-bottom: 1px solid #000;
  font-family: "Days One", "Roboto", "Helvetica", sans-serif;
  display: block;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Generic table footer row styles */ 
.dp-player-alltime-table tfoot tr, 
.dp-player-match-details-table tfoot tr,
.dp-player-directory-table tfoot tr { 
  background: #434343; 
  color: #f5f2d0;
  border-top: 2px solid #343434;
  text-align: center;
}

.dp-player-alltime-table tfoot tr td,
.dp-player-match-details-table tfoot tr td,
.dp-player-directory-table tfoot tr td {
  border: none;
}

.dp-player-directory-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 10px;
}

.dp-player-directory-label {
  font-weight: 600;
  font-size: 0.85rem;
}

.dp-player-directory-search {
  background: #222;
  border: 1px solid #444;
  color: #f5f2d0;
  padding: 6px 10px;
  border-radius: 6px;
  width: 100%;
  max-width: 320px;
}

.dp-player-directory-search::placeholder {
  color: #cfcfcf;
}

/* SECTION: All-Time Season Summary */
.dp-player-alltime-row-active td {
  background: #d4af37 !important;
  color: #111;
}

.dp-player-alltime-row-active td a {
  color: #111;
  text-decoration: underline;
  font-weight: 600;
}

/* SECTION: Match Details for selected season */
.dp-player-match-details-table tbody tr:hover {
  background-color: #666;
}

.dp-player-alltime-table thead th.data-team, 
.dp-player-alltime-table tbody td.data-team,
.dp-player-match-details-table thead th.dp-match-details-col-opponent,
.dp-player-match-details-table tbody td.dp-match-details-col-opponent,
.dp-player-match-details-table td .dp-opponent-combined {
  text-align: left;
}

.dp-player-directory-col-team,
.dp-player-directory-col-player {
  text-align: left;
}

/* Season selection buttons and event filters */
.dp-player-season-list,
.dp-match-details-event-filters {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.dp-player-season-btn,
.dp-match-details-filter-button {
  appearance: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  background: #666;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.dp-player-season-btn.is-active,
.dp-match-details-filter-button.is-active {
  background: #d4af37;
  text-decoration: underline;
  color: #111;
}

.dp-player-season-btn:hover,
.dp-match-details-filter-button:hover {
  background: #d4af37;
  color: #111;
  outline: 2px solid rgba(0, 0, 0, 0.25);
  outline-offset: 2px;
}

.dp-player-season-btn:focus,
.dp-match-details-filter-button:focus {
  outline: 2px solid rgba(0, 0, 0, 0.25);
  outline-offset: 2px;
}

.dp-player-season-btn.is-active:visited,
.dp-match-details-filter-button.is-active:visited {
  color: #111;
}

/* Competition Type Badges */

.dp-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  color: #fff;
  box-sizing: content-box;
  line-height: 1;
}

span.dp-type-league {
  background: #1f7a3a;
}

span.dp-type-ko-cup {
  background: #c96a10;
}

span.dp-type-ko-shield {
  background: #b88900;
}


/* Opponent Combined Cell */
.dp-opponent-combined {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

.dp-opponent-single {
  display: inline;
}

/* Player directory combined cell */
.dp-player-directory-player {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

.dp-player-directory-team {
  color: #f5f2d0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: -0.05rem;
}

.dp-player-directory-team-short {
  display: inline;
}

.dp-player-directory-team-full {
  display: none;
}

/* Score + Result */
.dp-match-details-col-score a {
  font-family: "Days One", Roboto, sans-serif;
  text-decoration: none;
  color: #fff;
  display: inline-block;
  white-space: nowrap;
}

.dp-match-details-col-score a:link,
.dp-match-details-col-score a:visited {
  text-decoration: none;
}

.dp-result-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-transform: uppercase;
  box-sizing: content-box;
  line-height: 1;
}

.dp-result-badge.is-win {
  background: #2e8b57;
  border: 1px solid #63e59c;
}

.dp-result-badge.is-loss {
  background: #c0392b;
  border: 1px solid #f69286;
}


  .dp-player-page {
      gap: 20px;
      padding: 10px 5px 20px;
  }

  .dp-player-header h1.dp-player-title {
    text-align: center;
    font-size: 1.5rem;
  }

  .dp-player-breadcrumbs {
    text-align: center;
  }

  .dp-player-breadcrumb-sep {
    margin: 0 3px;
  }

  .dp-player-intro-text { 
    font-size: 0.8rem;
    line-height: 1.25rem; 
    padding: 10px 5px 10px 15px; 
  }

  .dp-table-caption {
    margin: 0;
    padding: 10px 5px;
    font-size: 0.9rem;
    font-weight: normal;
  }

  .dp-player-alltime ul.dp-player-season-list button.dp-player-season-btn span.dp-season-full,
  .dp-player-alltime-table th.data-season span.dp-alltime-season-header,
  .dp-player-alltime-table td.data-season span.dp-season-full,
  .dp-player-alltime-table td.data-team span.dp-team-full,
  .dp-player-alltime-table th.data-percentwins,
  .dp-player-alltime-table td.data-percentwins,
  .dp-player-alltime-table th.data-tonpg,
  .dp-player-alltime-table td.data-tonpg,
  .dp-player-alltime-table th.data-avgmaxpergame,
  .dp-player-alltime-table td.data-avgmaxpergame,
  .dp-player-match-details-table th.dp-match-details-col-date,
  .dp-player-match-details-table td.dp-match-details-col-date,
  .dp-player-match-details-table th.dp-match-details-col-game,
  .dp-player-match-details-table td.dp-match-details-col-game,
  .dp-player-match-details-table th.dp-match-details-col-competition span.dp-col-label-full,
  .dp-player-match-details-table th.dp-match-details-col-result span.dp-col-label-full,
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-type-full, 
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-date-full,
  .dp-player-match-details-table th.dp-match-details-col-result,
  .dp-player-match-details-table td.dp-match-details-col-result {
    display: none;
  }
  
  .dp-player-alltime-table td.data-season span.dp-season-short,
  .dp-player-alltime-table td.data-team span.dp-team-short,
  .dp-player-match-details-table td.dp-match-details-col-competition.dp-date-inline,
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-type-short,
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-date-compact,
  .dp-player-match-details-table th.dp-match-details-col-competition span.dp-col-label-short,
  .dp-player-match-details-table th.dp-match-details-col-result span.dp-col-label-short {
    display: block;
  }
  
  .dp-player-alltime-table .data-season {
    width: 35px;
    box-sizing: border-box;
  }

  .dp-player-alltime-table .data-team {
    width: 75px;
    box-sizing: border-box;
  }

  .dp-match-details-col-competition {
    width: 40px;
  }

  .dp-match-details-col-opponent {
    width: 25%;
  }

.dp-match-details-col-score {
    width: 42px;
    white-space: nowrap;
  }

  .data-ppavg,
  .dp-match-details-col-avg {
    width:40px;
  }

  .dp-date-inline {
    text-align: center;
  }

  tbody tr.dp-player-alltime-row span.dp-season-short {
    font-size: 0.6rem;
  }

  .dp-player-season-list,
  .dp-match-details-event-filters {
    margin: 8px 10px;
    gap: 8px;
  }

  .dp-player-season-btn,
  .dp-match-details-filter-button {
    padding: 4px 6px;
    font-size: 0.7rem;
  }

  .dp-player-alltime-table thead th, 
  .dp-player-match-details-table thead th,
  .dp-player-directory-table thead th { 
    font-size: 0.55rem;
    font-weight: 400;
    padding: 4px 3px; 
  }

  .dp-player-match-details-table td,
  .dp-player-alltime-table td,
  .dp-player-directory-table td { 
    font-size: 0.55rem; 
    padding: 4px 3px;
  }

  /* Generic table footer row styles */ 
  .dp-player-alltime-table tfoot tr td, 
  .dp-player-match-details-table tfoot tr td,
  .dp-player-directory-table tfoot tr td { 
    font-size: 0.55em;
    font-weight: bold;
    padding: 4px 3px;
  }

  .dp-alltime-totals-label {
    text-align: left;
  }

  .dp-type-badge {
    font-size: 0.55rem;
    padding: 1px 5px;
  }

  .dp-date-inline {
    font-size: 0.55rem;
  }

  .dp-opponent-name {
    font-size: 0.7rem;
    letter-spacing: -0.05rem;  
  }

  .dp-opponent-team {
    color: #f5f2d0;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: -0.05rem;
  }

  /* Score + Result */
  .dp-match-details-col-score a {
    font-size: 0.7rem;
    letter-spacing: -0.1rem;
  }

  .dp-result-badge {
    width: 14px;
    height: 14px;
    padding: 1px 2px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.5rem;
  }



/* ************************* */
/* ----Responsive Design---- */
/* ************************* */

@media (min-width: 360px) {

  .dp-player-page {
      gap: 20px;
      padding: 10px 5px 20px;
  }

  .dp-player-header h1.dp-player-title {
    text-align: center;
    font-size: 1.5rem;
  }

  .dp-player-breadcrumbs {
    text-align: center;
  }

  .dp-player-breadcrumb-sep {
    margin: 0 3px;
  }

  .dp-player-intro-text { 
    font-size: 0.8rem;
    line-height: 1.25rem; 
    padding: 10px 5px 10px 15px; 
  }

  .dp-table-caption {
    margin: 0;
    padding: 10px 5px;
    font-size: 0.9rem;
    font-weight: normal;
  }

  .dp-player-alltime ul.dp-player-season-list button.dp-player-season-btn span.dp-season-full,
  .dp-player-alltime-table th.data-season span.dp-alltime-season-header,
  .dp-player-alltime-table td.data-season span.dp-season-full,
  .dp-player-alltime-table td.data-team span.dp-team-full,
  .dp-player-alltime-table th.data-percentwins,
  .dp-player-alltime-table td.data-percentwins,
  .dp-player-alltime-table th.data-tonpg,
  .dp-player-alltime-table td.data-tonpg,
  .dp-player-alltime-table th.data-avgmaxpergame,
  .dp-player-alltime-table td.data-avgmaxpergame,
  .dp-player-match-details-table th.dp-match-details-col-date,
  .dp-player-match-details-table td.dp-match-details-col-date,
  .dp-player-match-details-table th.dp-match-details-col-game,
  .dp-player-match-details-table td.dp-match-details-col-game,
  .dp-player-match-details-table th.dp-match-details-col-competition span.dp-col-label-full,
  .dp-player-match-details-table th.dp-match-details-col-result span.dp-col-label-full,
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-type-full, 
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-date-full {
    display: none;
  }
  
  .dp-player-alltime-table td.data-season span.dp-season-short,
  .dp-player-alltime-table td.data-team span.dp-team-short,
  .dp-player-match-details-table td.dp-match-details-col-competition.dp-date-inline,
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-type-short,
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-date-compact,
  .dp-player-match-details-table th.dp-match-details-col-competition span.dp-col-label-short,
  .dp-player-match-details-table th.dp-match-details-col-result span.dp-col-label-short {
    display: block;
  }

  .dp-player-directory-col-team {
    display: none;
  }

  .dp-player-directory-team-short {
    display: inline;
  }

  .dp-player-directory-team-full {
    display: none;
  }

  .dp-player-match-details-table th.dp-match-details-col-result,
  .dp-player-match-details-table td.dp-match-details-col-result {
    display: table-cell;
    vertical-align: middle;
  }

  .dp-player-alltime-table .data-season {
    width: 40px;
    box-sizing: border-box;
  }

  .dp-player-alltime-table .data-team {
    width: 75px;
    box-sizing: border-box;
  }

  .dp-match-details-col-competition {
    width: 50px;
  }

  .dp-match-details-col-opponent {
    width: 25%;
  }

  .dp-match-details-col-score {
    width: 35px;
  }


  .dp-alltime-totals-label, 
  .dp-player-match-totals td:first-child {
    text-align: left;
    padding-left: 10px;
  }

  .dp-date-inline {
    text-align: center;
  }

  tbody tr.dp-player-alltime-row span.dp-season-short {
    font-size: 0.6rem;
  }

  .dp-player-season-list,
  .dp-match-details-event-filters {
    margin: 8px 10px;
    gap: 8px;
  }

  .dp-player-season-btn,
  .dp-match-details-filter-button {
    padding: 4px 6px;
    font-size: 0.7rem;
  }

  .dp-player-alltime-table thead th, 
  .dp-player-match-details-table thead th,
  .dp-player-directory-table thead th { 
    font-size: 0.6rem;
    letter-spacing: -0.05rem;
    font-weight: 400;
    padding: 4px 3px; 
  }

  .dp-player-match-details-table td,
  .dp-player-alltime-table td,
  .dp-player-directory-table td { 
    font-size: 0.6rem; 
    padding: 4px 3px;
  }

  /* Generic table footer row styles */ 
  .dp-player-alltime-table tfoot tr td, 
  .dp-player-match-details-table tfoot tr td,
  .dp-player-directory-table tfoot tr td { 
    font-size: 0.6em;
    font-weight: bold;
    padding: 4px 3px;
  }

  .dp-alltime-totals-label {
    text-align: left;
  }

  .dp-type-badge {
    font-size: 0.6rem;
    padding: 1px 5px;
  }

  .dp-date-inline {
    font-size: 0.6rem;
  }

  .dp-opponent-name {
    font-size: 0.7rem;
    letter-spacing: -0.05rem;  
  }

  .dp-opponent-team {
    color: #f5f2d0;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: -0.05rem;
  }

  /* Score + Result */
  .dp-match-details-col-score a {
    font-size: 0.7rem;
    letter-spacing: -0.1rem;
  }

  .dp-result-badge {
    width: 14px;
    height: 14px;
    padding: 1px 2px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.5rem;
  }
}

@media (min-width: 480px) {

}

@media (min-width: 768px) {

    .dp-player-page {
      gap: 20px;
      padding: 10px 20px 20px;
  }


  .dp-player-alltime-table thead th, 
  .dp-player-match-details-table thead th,
  .dp-player-directory-table thead th { 
    font-size: 0.8rem;
    font-weight: 400;
    padding: 4px 3px; 
  }

  .dp-player-match-details-table td,
  .dp-player-alltime-table td,
  .dp-player-directory-table td { 
    font-size: 0.7rem; 
    padding: 4px 3px;
  }

  /* Generic table footer row styles */ 
  .dp-player-alltime-table tfoot tr td, 
  .dp-player-match-details-table tfoot tr td,
  .dp-player-directory-table tfoot tr td { 
    font-size: 0.8em;
    font-weight: bold;
    padding: 4px 3px;
  }

  .dp-player-match-details-table th.dp-match-details-col-game,
  .dp-player-match-details-table td.dp-match-details-col-game {
    display: table-cell;
  }

}

@media (orientation: landscape) and (max-width: 1024px) {
  body[class*="elementor-kit-"] .dp-player-page {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 12px;
    padding-right: 12px;
  }

  .dp-player-alltime-table th.data-percentwins,
  .dp-player-alltime-table td.data-percentwins,
  .dp-player-alltime-table th.data-tonpg,
  .dp-player-alltime-table td.data-tonpg,
  .dp-player-alltime-table th.data-avgmaxpergame,
  .dp-player-alltime-table td.data-avgmaxpergame {
    display: table-cell;
  }

  .dp-player-alltime-table .data-team {
    width: 120px;
  }

  .dp-player-alltime-table td.data-team span.dp-team-full {
    white-space: nowrap;
  }
}


@media (min-width: 1024px) {
  .dp-player-page {
      gap: 20px;
      max-width: 1200px;
      padding: 20px 20px 30px;
  }

  .dp-player-breadcrumbs {
    font-size: 1rem;
    text-align: left;
  }

  .dp-player-breadcrumb-sep {
    margin: 0 6px;
  }

  /* Header and Intro */
  .dp-player-header h1.dp-player-title {
    font-size: 2rem;
    text-align: left;
  }

  .dp-player-intro-text {
    margin-bottom: 10px;
    padding: 20px 40px;
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .dp-table-caption {
    margin: 0;
    padding: 15px 10px;
    font-size: 1.25rem;
    font-weight: 400;
  }

  .dp-player-season-list,
  .dp-match-details-event-filters {
    margin: 8px 10px;
    gap: 6px;
  }

  .dp-player-season-btn.is-active,
  .dp-match-details-filter-button.is-active {
    background: #d4af37;
    text-decoration: underline;
    color: #111;
    font-weight: 700;
  }

  .dp-match-details-col-date {
    width: 90px;
    box-sizing: border-box;
  }

  .dp-match-details-col-competition {
    width: 120px;
    box-sizing: border-box;
    text-align: center;
  }

  .dp-match-details-col-result {
    width: 80px;
    box-sizing: border-box;
  }

  .dp-date-full {
    font-size: 0.8rem;
  }

  .dp-player-alltime-table th.data-percentwins,
  .dp-player-alltime-table td.data-percentwins,
  .dp-player-alltime-table th.data-tonpg,
  .dp-player-alltime-table td.data-tonpg,
  .dp-player-alltime-table th.data-avgmaxpergame,
  .dp-player-alltime-table td.data-avgmaxpergame,
  .dp-player-match-details-table th.dp-match-details-col-date,
  .dp-player-match-details-table td.dp-match-details-col-date,
  .dp-player-match-details-table th.dp-match-details-col-game,
  .dp-player-match-details-table td.dp-match-details-col-game {
    display: table-cell;
  }

  .dp-player-alltime ul.dp-player-season-list button.dp-player-season-btn span.dp-season-full,
  .dp-player-alltime-table td.data-season span.dp-season-full,
  .dp-player-alltime-table td.data-team span.dp-team-full,
   .dp-player-match-details-table th.dp-match-details-col-result span.dp-col-label-short,
  .dp-player-match-details-table th.dp-match-details-col-competition span.dp-col-label-full,
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-type-full, 
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-date-full {
    display: inline-block;
  }

  .dp-player-alltime ul.dp-player-season-list button.dp-player-season-btn span.dp-season-short,
  .dp-player-alltime-table td.data-season span.dp-season-short,
  .dp-player-alltime-table td.data-team span.dp-team-short,
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-date-inline,
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-type-short,
  .dp-player-match-details-table td.dp-match-details-col-date span.dp-date-compact,
  .dp-player-match-details-table th.dp-match-details-col-competition span.dp-col-label-short {
    display: none;
  }

  .dp-player-directory-col-team {
    display: table-cell;
  }

  .dp-player-directory-player {
    display: inline;
  }

  .dp-player-directory-team {
    display: none;
  }

  .dp-player-directory-team-short {
    display: none;
  }

  .dp-player-directory-team-full {
    display: inline;
  }

  
  .dp-player-alltime-table .data-season {
    width: 10%;
    box-sizing: border-box;
  }

  .dp-player-alltime-table .data-team {
    width: 20%;
    box-sizing: border-box;
  }

  .dp-player-alltime-table thead th, 
  .dp-player-match-details-table thead th,
  .dp-player-directory-table thead th { 
    font-size: 0.9rem;
    font-weight: 500;
    padding: 5px 10px; 
  }

  .dp-player-alltime-table tfoot tr td, 
  .dp-player-match-details-table tfoot tr td,
  .dp-player-directory-table tfoot tr td { 
      font-size: 0.9rem; 
      padding: 5px 10px;
    }

    .dp-player-match-details-table td,
    .dp-player-alltime-table td,
    .dp-player-directory-table td { 
      font-size: 0.8rem; 
      padding: 5px 10px;
    }

  /* Generic table footer row styles */ 
  .dp-player-alltime-table tfoot tr td.dp-alltime-totals-label, 
  .dp-player-match-details-table tfoot tr td { 
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 0;
  }

  .dp-player-alltime-table tfoot tr td.dp-alltime-totals-label,
  .dp-player-match-details-table tfoot tr.dp-player-match-totals td:first-child { 
    text-align:left;
    padding-left: 10px;
  }

  .dp-type-badge {
    width: 50px;
    font-size: 12px;
    padding: 2px 10px;
  }

  .dp-opponent-name {
    font-size: 1rem;
  }

  .dp-opponent-team {
    color: #f5f2d0;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
  }

  /* Score + Result */
  .dp-match-details-col-score a {
    font-size: 1rem;
  }

  .dp-result-badge {
    width: 18px;
    height: 18px;
    padding: 2px 3px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.7rem;
  }
}

@media (min-width: 1200px) {

  .dp-player-page {
      gap: 20px;
      max-width: 1200px;
      padding: 20px 20px 30px;
  }

  .dp-player-breadcrumbs {
    font-size: 1rem;
    text-align: left;
  }

  .dp-player-breadcrumb-sep {
    margin: 0 6px;
  }

  /* Header and Intro */
  .dp-player-header h1.dp-player-title {
    font-size: 2rem;
    text-align: left;
  }

  .dp-player-intro-text {
    margin-bottom: 10px;
    padding: 20px 40px;
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .dp-table-caption {
    margin: 0;
    padding: 15px 10px;
    font-size: 1.25rem;
    font-weight: 400;
  }

  .dp-player-season-list,
  .dp-match-details-event-filters {
    margin: 8px 10px;
    gap: 6px;
  }

  .dp-player-season-btn.is-active,
  .dp-match-details-filter-button.is-active {
    background: #d4af37;
    text-decoration: underline;
    color: #111;
    font-weight: 700;
  }

  .dp-match-details-col-date {
    width: 90px;
    box-sizing: border-box;
  }

  .dp-match-details-col-competition {
    width: 120px;
    box-sizing: border-box;
    text-align: center;
  }

  .dp-match-details-col-result {
    width: 80px;
    box-sizing: border-box;
  }

  .dp-date-full {
    font-size: 0.8rem;
  }

  .dp-player-alltime-table th.data-percentwins,
  .dp-player-alltime-table td.data-percentwins,
  .dp-player-alltime-table th.data-tonpg,
  .dp-player-alltime-table td.data-tonpg,
  .dp-player-alltime-table th.data-avgmaxpergame,
  .dp-player-alltime-table td.data-avgmaxpergame,
  .dp-player-match-details-table th.dp-match-details-col-date,
  .dp-player-match-details-table td.dp-match-details-col-date {
    display: table-cell;
  }

  .dp-player-alltime ul.dp-player-season-list button.dp-player-season-btn span.dp-season-full,
  .dp-player-alltime-table td.data-season span.dp-season-full,
  .dp-player-alltime-table td.data-team span.dp-team-full,
  .dp-player-match-details-table th.dp-match-details-col-competition span.dp-col-label-full,
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-type-full, 
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-date-full {
    display: inline-block;
  }

  .dp-player-alltime ul.dp-player-season-list button.dp-player-season-btn span.dp-season-short,
  .dp-player-alltime-table td.data-season span.dp-season-short,
  .dp-player-alltime-table td.data-team span.dp-team-short,
  .dp-player-match-details-table th.dp-match-details-col-result span.dp-col-label-short,  
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-date-inline,
  .dp-player-match-details-table td.dp-match-details-col-competition span.dp-type-short,
  .dp-player-match-details-table td.dp-match-details-col-date span.dp-date-compact,
  .dp-player-match-details-table th.dp-match-details-col-competition span.dp-col-label-short {
    display: none;
  }

  
  .dp-player-alltime-table .data-season {
    width: 10%;
    box-sizing: border-box;
  }

  .dp-player-alltime-table .data-team {
    width: 20%;
    box-sizing: border-box;
  }

  .dp-player-alltime-table thead th, 
  .dp-player-match-details-table thead th,
  .dp-player-directory-table thead th { 
    font-size: 0.9rem;
    font-weight: 500;
    padding: 5px 10px; 
  }

  .dp-player-alltime-table tfoot tr td, 
  .dp-player-match-details-table tfoot tr td,
  .dp-player-directory-table tfoot tr td { 
      font-size: 0.9rem; 
      padding: 5px 10px;
    }

    .dp-player-match-details-table td,
    .dp-player-alltime-table td,
    .dp-player-directory-table td { 
      font-size: 0.8rem; 
      padding: 5px 10px;
    }

  /* Generic table footer row styles */ 
  .dp-player-alltime-table tfoot tr td.dp-alltime-totals-label, 
  .dp-player-match-details-table tfoot tr td { 
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 0;
  }

  .dp-player-alltime-table tfoot tr td.dp-alltime-totals-label,
  .dp-player-match-details-table tfoot tr.dp-player-match-totals td:first-child { 
    text-align:left;
    padding-left: 10px;
  }

  .dp-type-badge {
    width: 50px;
    font-size: 12px;
    padding: 2px 10px;
  }

  .dp-opponent-name {
    font-size: 1rem;
  }

  .dp-opponent-team {
    color: #f5f2d0;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
  }

  /* Score + Result */
  .dp-match-details-col-score a {
    font-size: 1rem;
  }

  .dp-result-badge {
    width: 18px;
    height: 18px;
    padding: 2px 3px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.7rem;
  }
}

/* Sortable headers */
table.dp-player-alltime-table thead th[data-dp-col-key] {
  cursor: pointer;
}

table.dp-player-alltime-table thead th[data-dp-col-key]:hover {
  text-decoration: underline;
}

table.dp-player-alltime-table thead th[data-dp-col-key].dp-sorted {
  text-decoration: underline;
}

table.dp-player-alltime-table thead th[data-dp-col-key].dp-sorted.dp-asc::after {
  content: " ▲";
  font-size: 0.85em;
}

table.dp-player-alltime-table thead th[data-dp-col-key].dp-sorted.dp-desc::after {
  content: " ▼";
  font-size: 0.85em;
}

/* Elementor global fonts (only when Elementor kit is active) */
body[class*="elementor-kit-"] .dp-player-page,
body[class*="elementor-kit-"] .dp-player-content,
body[class*="elementor-kit-"] .dp-players-page {
  font-family: var(--e-global-typography-text-font-family, inherit);
}

body[class*="elementor-kit-"] .dp-player-title,
body[class*="elementor-kit-"] .dp-player-header h1,
body[class*="elementor-kit-"] .dp-table-caption {
  font-family: var(--e-global-typography-primary-font-family, inherit);
}

/* Elementor button reset for player page controls */
body[class*="elementor-kit-"] .dp-player-season-btn,
body[class*="elementor-kit-"] .dp-match-details-filter-button {
  background: #666 !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

body[class*="elementor-kit-"] .dp-player-season-btn.is-active,
body[class*="elementor-kit-"] .dp-match-details-filter-button.is-active {
  background: #d4af37 !important;
  color: #111 !important;
}

body[class*="elementor-kit-"] .dp-player-season-btn:hover,
body[class*="elementor-kit-"] .dp-match-details-filter-button:hover {
  background: #d4af37 !important;
  color: #111 !important;
}

body[class*="elementor-kit-"] .dp-player-season-btn,
body[class*="elementor-kit-"] .dp-match-details-filter-button {
  padding: 6px 10px !important;
}
