/* Jedna skala tabel w zakładkach Mecze, Gra z i Porównaj. */
.player-page #tab-matches .pg-matches-scroll,
.player-page #tab-played-with .played-with-scroll,
.player-page #tab-compare .pg-compare-scroll{
  border:1px solid #ffffff29;border-radius:12px;background:#10131b;
  box-shadow:0 10px 26px #0003;scrollbar-color:#6c2c35 #11151f;
}
.player-page #tab-matches .pg-matches-table,
.player-page #tab-played-with .played-with-table,
.player-page #tab-compare .pg-compare-table{
  font-family:inherit;font-variant-numeric:tabular-nums;border-spacing:0;
}
.player-page #tab-matches .pg-matches-table thead th,
.player-page #tab-played-with .played-with-table thead th,
.player-page #tab-compare .pg-compare-table thead th{
  height:40px;padding:9px 10px;border-bottom:1px solid #ffffff27;
  background:#1b1e28;color:#aab4c5;font-size:10px;font-weight:900;
  line-height:1.2;letter-spacing:1px;text-transform:uppercase;text-align:center;
}
.player-page #tab-matches .pg-matches-table tbody .pg-match-row td,
.player-page #tab-played-with .played-with-table tbody tr th,
.player-page #tab-played-with .played-with-table tbody tr td,
.player-page #tab-compare .pg-compare-table tbody tr td{
  height:54px;padding:9px 10px;border-bottom:1px solid #ffffff13;
  color:#dce1eb;font-size:14px;font-weight:700;line-height:1.2;
  text-align:center;vertical-align:middle;white-space:nowrap;
}
.player-page #tab-played-with .played-with-table tbody tr th:first-child,
.player-page #tab-compare .pg-compare-table tbody tr td:first-child:not([colspan]){
  color:#f3f6fb;text-align:left;font-weight:900;
}
.player-page #tab-matches .pg-match-col-adr,
.player-page #tab-matches .pg-match-col-hs,
.player-page #tab-matches .pg-match-col-rating,
.player-page #tab-played-with .pg-col-adr,
.player-page #tab-played-with .pg-col-hs,
.player-page #tab-played-with .pg-col-rating,
.player-page #tab-compare .pg-col-adr,
.player-page #tab-compare .pg-col-hs,
.player-page #tab-compare .pg-col-rating{width:96px}
.player-page #tab-played-with .played-with-table col:nth-child(n+2){width:11.25%!important}
.player-page #tab-compare .pg-compare-table col:nth-child(n+2){width:6%!important}
.player-page #tab-compare .pg-compare-table col.pg-col-adr,
.player-page #tab-compare .pg-compare-table col.pg-col-hs,
.player-page #tab-compare .pg-compare-table col.pg-col-rating{width:96px!important}

/* Ta sama komórka gracza i te same klasy awatara w obu zestawieniach. */
.player-page #tab-played-with .played-with-table col.pg-col-player,
.player-page #tab-compare .pg-compare-table col.pg-col-player,
.player-page #tab-played-with .played-with-table thead th:first-child,
.player-page #tab-played-with .played-with-table tbody th:first-child,
.player-page #tab-compare .pg-compare-table thead th:first-child,
.player-page #tab-compare .pg-compare-table tbody td:first-child:not([colspan]){
  box-sizing:border-box;width:160px!important;min-width:160px!important;max-width:160px!important;
  padding-left:8px!important;padding-right:8px!important;
}
.player-page #tab-played-with .played-with-table .pw-person.pg-compare-person,
.player-page #tab-compare .pg-compare-table .pg-compare-person{
  display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;
  width:100%;min-width:0;max-width:100%;overflow:hidden;white-space:nowrap;
}
.player-page #tab-played-with .played-with-table .pw-person .pg-compare-avatar,
.player-page #tab-compare .pg-compare-table .pg-compare-avatar{
  display:block;flex:0 0 30px;width:30px;height:32px;
  border:0;border-radius:0;background:transparent;object-fit:contain;
  filter:drop-shadow(0 3px 5px #0004);
}
.player-page #tab-played-with .played-with-table .pw-person-name,
.player-page #tab-compare .pg-compare-table .pg-compare-person-name{
  display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;
  color:var(--player-accent,#f0f2f7);font-size:14px;font-weight:900;
  line-height:1.2;letter-spacing:.15px;white-space:nowrap;
}
.player-page #tab-played-with .played-with-table .pw-own{font-size:14px}

@media(max-width:768px){
  .player-page #tab-matches .pg-matches-table thead th,
  .player-page #tab-played-with .played-with-table thead th,
  .player-page #tab-compare .pg-compare-table thead th{height:36px;padding:7px;font-size:10px}
  .player-page #tab-matches .pg-matches-table tbody .pg-match-row td,
  .player-page #tab-played-with .played-with-table tbody tr th,
  .player-page #tab-played-with .played-with-table tbody tr td,
  .player-page #tab-compare .pg-compare-table tbody tr td{
    height:48px;padding:7px;font-size:12px;
  }
  .player-page #tab-played-with .played-with-table col.pg-col-player,
  .player-page #tab-compare .pg-compare-table col.pg-col-player,
  .player-page #tab-played-with .played-with-table thead th:first-child,
  .player-page #tab-played-with .played-with-table tbody th:first-child,
  .player-page #tab-compare .pg-compare-table thead th:first-child,
  .player-page #tab-compare .pg-compare-table tbody td:first-child:not([colspan]){
    width:144px!important;min-width:144px!important;max-width:144px!important;
    padding-left:6px!important;padding-right:6px!important;
  }
  .player-page #tab-played-with .played-with-table .pw-person.pg-compare-person,
  .player-page #tab-compare .pg-compare-table .pg-compare-person{gap:5px}
  .player-page #tab-played-with .played-with-table .pw-person .pg-compare-avatar,
  .player-page #tab-compare .pg-compare-table .pg-compare-avatar{
    flex-basis:26px;width:26px;height:28px;
  }
  .player-page #tab-played-with .played-with-table .pw-person-name,
  .player-page #tab-compare .pg-compare-table .pg-compare-person-name,
  .player-page #tab-played-with .played-with-table .pw-own{font-size:12px}
}
