
/* Local shell styles to keep this page independent from styl.css changes */


.about {
  text-align: center;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border-left: 4px solid #c40000;
  border-right: 4px solid #c40000;
}

.about h2 {
  color: #c40000;
  letter-spacing: 2px;
}

.about p {
  color: #cccccc;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer {
  background: #0b0b0b;
  border-top: 2px solid #c40000;
  margin-top: 80px;
  padding-top: 40px;
  color: #aaa;
}

.footer-content {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding: 0 20px 30px;
  flex-wrap: wrap;
}

.footer-logo h2 {
  color: #ff2a2a;
  letter-spacing: 2px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.footer-socials a {
  text-decoration: none !important;
  outline: none;
  display: flex;
  align-items: center;
}

.footer-socials img {
  height: 30px;
  width: auto;
  filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.footer-socials img:hover {
  transform: scale(1.1);
}

:root {
  --red: #ff2a2a;
  --dark: #0f0f0f;
  --card: #171717;
  --border: rgba(255, 42, 42, 0.35);
  --text: #f5f5f5;
}

body {
  background: #0b0b0b;
  color: var(--text);
}

.player-page {
  max-width: 1300px;
  margin: 0 auto 80px;
  padding: 30px 20px 60px;
}

.player-hero {
  text-align: center;
  margin: 20px auto 30px;
}

.player-hero h1 {
  color: var(--red);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.filters-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 16px;
}

.filters-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
}

.player-avatar-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #101010;
  min-width: 220px;
  flex: 0 0 240px;
}

.player-avatar-card.is-empty {
  opacity: 0.7;
}

.player-avatar-card img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.player-avatar-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.player-avatar-meta span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c9c9c9;
}

.player-avatar-meta strong {
  font-size: 16px;
  color: #fff;
}

.filters-fields {
  flex: 1 1 480px;
  display: grid;
  gap: 16px;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-item {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-item label {
  font-weight: 400;
  color: #f4cccc;
  font-size: 14px;
}

.filter-item select,
.filter-item input {
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
}

.quick-ranges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-range {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
}

.quick-range:hover {
  background: rgba(255, 42, 42, 0.2);
}

.filters-info {
  font-size: 14px;
  color: #b5b5b5;
}

.tabs {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tab-button {
  background: #101010;
  border: 1px solid var(--border);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  transition: 0.2s ease;
}

.tab-button.active,
.tab-button:hover {
  background: var(--red);
  color: #fff;
}

.tab-panel {
  display: none;
  margin-top: 25px;
}

.tab-panel.active {
  display: block;
}

.tab-panel.active#tab-stats {
  display: grid;
  gap: 24px;
}

.stats-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stats-visual-card {
  height: 300px;
  min-height: 300px;
  background:
    radial-gradient(circle at top right, rgba(255, 42, 42, 0.2), transparent 55%),
    linear-gradient(160deg, rgba(255, 42, 42, 0.1), rgba(255, 255, 255, 0.02));
}

.stats-visual-card canvas {
  height: 230px !important;
  min-height: 230px;
  max-height: 230px;
  width: 100% !important;
}

.graph-results-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.results-legend-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #dbe3f5;
  border-radius: 999px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  cursor: pointer;
}

.results-legend-item .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--legend-color);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
}

.results-legend-item.is-inactive {
  opacity: 0.45;
  text-decoration: line-through;
}

.graphs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.graph-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.graph-card-wide {
  grid-column: 1 / -1;
}

.graph-card h4 {
  margin: 0 0 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f9c9c9;
}


.tab-empty-state {
  display: none;
  padding: 20px;
  text-align: center;
  color: #aaa;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.player-page.no-player-selected #tab-stats .stats-visuals,
.player-page.no-player-selected #tab-stats .stats-grid,
.player-page.no-player-selected #tab-stats .recent-matches,
.player-page.no-player-selected #tab-stats > h3,
.player-page.no-player-selected #tab-graphs .graphs-grid,
.player-page.no-player-selected #tab-maps .maps-grid,
.player-page.no-player-selected #tab-matches .table-wrapper,
.player-page.no-player-selected #tab-compare .table-wrapper,
.player-page.no-player-selected #tab-moments .moments-grid {
  display: none;
}

.player-page.no-player-selected .tab-panel.active .tab-empty-state {
  display: block;
}

.stats-grid {
  display: grid;
  gap: 20px;
}

.stats-header-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.stats-section {
  display: grid;
  gap: 16px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.03), rgba(255, 42, 42, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.stats-section h3 {
  margin: 0;
  color: #ffe1e1;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.stat-card strong {
  font-size: 24px;
  color: var(--red);
  text-shadow: 0 0 18px rgba(255, 42, 42, 0.25);
}

.stat-card em {
  font-size: 12px;
  color: #aaa;
  margin-top: 2px;
}

.stat-card.summary-win em,
.stat-card.summary-loss em,
.stat-card.summary-draw em {
  padding: 2px 8px;
  border-radius: 999px;
}

.stat-card.summary-win em {
  color: #a6f3be;
  background: rgba(46, 204, 113, 0.22);
}

.stat-card.summary-loss em {
  color: #ffb1a9;
  background: rgba(231, 76, 60, 0.22);
}

.stat-card.summary-draw em {
  color: #ffe58a;
  background: rgba(241, 196, 15, 0.22);
}

.stat-card.highlight {
  border-color: var(--border);
  background: linear-gradient(135deg, rgba(255, 42, 42, 0.12), rgba(0, 0, 0, 0.2));
  box-shadow: inset 0 0 0 1px rgba(255, 42, 42, 0.1);
}

.stat-card.primary {
  border-color: rgba(255, 42, 42, 0.45);
}

.recent-matches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.match-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-rows: 86px 1fr;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.match-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 42, 42, 0.45);
}

.match-map {
  height: 86px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.match-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.72));
}

.match-result {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.match-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  align-items: center;
}

.match-info h4 {
  margin: 0;
  color: var(--red);
}

.chips-row {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.match-result-chip,
.side-chip {
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.match-result-chip.win {
  background: rgba(63, 185, 80, 0.2);
  color: #7ce39a;
}

.match-result-chip.loss {
  background: rgba(255, 102, 102, 0.2);
  color: #ff9a9a;
}

.match-result-chip.draw {
  background: rgba(242, 204, 96, 0.22);
  color: #ffdf87;
}

.side-chip {
  background: rgba(255, 255, 255, 0.14);
  color: #e8ecf7;
}

.maps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.map-card {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-rows: 140px 1fr;
}

.map-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.map-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-card-body h4 {
  margin: 0;
  color: var(--red);
  text-align: center;
}

.map-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  font-size: 13px;
}

.map-stats span {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 10px;
  border-radius: 10px;
}

.map-stats span:last-child {
  grid-column: 1 / -1;
  justify-content: center;
}

.map-stats strong {
  color: #fff;
}
.map-stats span:nth-child(1) { background: linear-gradient(135deg, rgba(78, 115, 255, 0.35), rgba(78, 115, 255, 0.14)); }
.map-stats span:nth-child(2) { background: linear-gradient(135deg, rgba(43, 212, 125, 0.35), rgba(43, 212, 125, 0.14)); }
.map-stats span:nth-child(3) { background: linear-gradient(135deg, rgba(255, 100, 100, 0.35), rgba(255, 100, 100, 0.14)); }
.map-stats span:nth-child(4) { background: linear-gradient(135deg, rgba(246, 207, 100, 0.35), rgba(246, 207, 100, 0.14)); }
.map-stats span:nth-child(5) { background: linear-gradient(135deg, rgba(141, 107, 255, 0.35), rgba(141, 107, 255, 0.14)); }
.map-stats span:nth-child(6) { background: linear-gradient(135deg, rgba(255, 126, 198, 0.35), rgba(255, 126, 198, 0.14)); }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  font-size: 13px;
}

.matches-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  font-size: 13px;
}

.matches-table th,
.matches-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.matches-table th {
  background: rgba(255, 42, 42, 0.15);
  color: #ffe6e6;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.8px;
}

.matches-table td.date-cell {
  white-space: nowrap;
  min-width: 140px;
  font-size: 11px;
}

.matches-table td.map-cell {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)), var(--map-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.matches-table td.map-cell,
.matches-table td.score-cell {
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}


.result-win {
  color: #7bff9d;
  font-weight: 700;
}

.result-lose {
  color: #ff7b7b;
  font-weight: 700;
}

.result-tie {
  color: #ffd27b;
  font-weight: 700;
}

.table-wrapper {
  overflow-x: auto;
}

.compare-table th,
.compare-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.compare-table th {
  background: rgba(255, 42, 42, 0.15);
  color: #ffe6e6;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.8px;
}

.compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.compare-table td.better {
  color: #7bff9d;
  font-weight: 400;
}

.compare-table td.worse {
  color: #ff7b7b;
  font-weight: 400;
}

.compare-table td.self {
  color: #ffd27b;
  font-weight: 400;
}

.compare-self td {
  background: rgba(255, 255, 255, 0.04);
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.moment-card {
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.moment-card h4 {
  margin-top: 0;
  color: var(--red);
}

.moment-highlight {
  font-size: 18px;
  font-weight: 700;
  color: #ffb3b3;
}

.moment-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.moment-icon {
  font-size: 20px;
}

.moment-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: #d0d0d0;
}

.moment-meta span {
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 8px;
  border-radius: 10px;
}

.empty-state {
  padding: 20px;
  text-align: center;
  color: #aaa;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

@media (max-width: 768px) {
  .player-page {
    padding:0 0 44px;
    overflow-x: hidden;
    z-index: 1 !important;
  }

  .stats-visuals {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .stats-visual-card {
    height: 260px;
    min-height: 260px;
  }

  .stats-visual-card canvas {
    height: 190px !important;
    min-height: 190px;
    max-height: 190px;
  }

  .stats-header-grid,
  .stats-cards,
  .recent-matches,
  .moments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maps-grid {
    grid-template-columns: 1fr;
  }

  .filters-panel {
    padding: 16px;
  }

  .player-avatar-card {
    flex: 1 1 100%;
    min-width: 0;
  }

  .filter-item {
    min-width: 0;
  }

  .compare-table {
    display: block;
    overflow-x: auto;
  }

  .tab-button {
    flex: 1 1 140px;
  }
}

.recent-matches .match-card.clickable{cursor:pointer;transition:transform .15s ease,border-color .2s ease;}
.recent-matches .match-card.clickable:hover{transform:translateY(-2px);border-color:rgba(255,60,60,.55);}
.open-match-btn{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:700;cursor:pointer;}
.open-match-btn:hover{background:#ff2a2a;border-color:#ff6a6a;}

.moment-meta .open-match-btn{margin-top:6px;padding:5px 9px;font-size:11px;}


/* ============================================================
   POSTTEAM – tabela startowa wszystkich zawodników.
   Widoczna tylko, gdy nie wybrano gracza. Pozostałe zakładki
   i oryginalny widok „Porównaj” zachowują dotychczasowe style.
   ============================================================ */
.player-page .players-overview { display: none; }
.player-page.no-player-selected .players-overview {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 24px;
  background: #171717;
  border: 1px solid rgba(255,42,42,.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,.22);
}
.player-page.no-player-selected > .tabs,
.player-page.no-player-selected > .tab-panel {
  display: none !important;
}
.players-overview-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 20px 14px;
  text-align: left;
}
.players-overview-heading h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(17px, 2vw, 23px);
  letter-spacing: 1px;
}
.players-overview-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.players-overview-table {
  min-width: 1060px;
  border-radius: 0;
  overflow: visible;
}
.players-overview-table th,
.players-overview-table td { white-space: nowrap; }
.players-overview-table td { font-variant-numeric: tabular-nums; }
.players-overview-table .overview-name-cell {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 110px;
  text-align: left;
  background: #171717;
  box-shadow: 1px 0 0 rgba(255,255,255,.10);
}
.players-overview-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #372022;
  text-align: left;
}
.players-overview-table tbody tr:nth-child(even) .overview-name-cell { background: #1e1e1e; }
.players-overview-table tbody tr:hover .overview-name-cell { background: #2a2222; }
.players-overview-table .overview-player-link {
  border: 0;
  padding: 2px 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color .15s, text-decoration-color .15s;
}
.players-overview-table .overview-player-link:hover,
.players-overview-table .overview-player-link:focus-visible {
  color: #ff6868;
  text-decoration-color: currentColor;
}
.players-overview-table.compare-table td.overview-best {
  color: #ffe29a;
  font-weight: 800;
  background: rgba(255,207,87,.16);
  box-shadow: inset 0 0 0 1px rgba(255,207,87,.25);
}
.players-overview-table.compare-table tr:hover td.overview-best {
  background: rgba(255,207,87,.24);
}
.players-overview-table .overview-no-data { color: #777; }
.players-overview-note {
  margin: 0;
  padding: 12px 20px 16px;
  text-align: left;
  color: #aaa;
  font-size: 12px;
  line-height: 1.5;
}
.players-overview-swatch {
  display: inline-block;
  vertical-align: -1px;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background: rgba(255,207,87,.48);
  border: 1px solid rgba(255,207,87,.7);
  border-radius: 3px;
}
@media (max-width: 680px) {
  .players-overview-heading { padding: 17px 14px 12px; align-items: flex-start; }
  .players-overview-table.compare-table { display: table; }
  .players-overview-table.compare-table th,
  .players-overview-table.compare-table td { padding: 12px 10px; }
  .players-overview-note { padding: 12px 14px 16px; }
}


/* =======================================================================
   POSTTEAM / PLAYER DATABASE — editorial redesign (2026)
   Wyłącznie .player-page. Styl globalny, nagłówek, nawigacja i footer są nietknięte.
   ======================================================================= */
.player-page {
  --pg-red:#ff444d; --pg-redsoft:rgba(255,68,77,.13);
  --pg-line:rgba(255,255,255,.105); --pg-text:#f5f6fa;
  --pg-muted:#a5adbc; --pg-surface:#13161e; --pg-deep:#0b0e14;
  max-width:1600px; width:min(1600px,calc(100% - 36px));
  margin:30px auto 60px; padding:0 0 60px; box-sizing:border-box;
  min-width:0; text-align:left;
}
.player-page * {box-sizing:border-box}
@media (max-width:768px){
  .player-page{width:100%}
}
.player-page button,.player-page input,.player-page select{font-family:inherit}
.player-page button:focus-visible,.player-page input:focus-visible,.player-page select:focus-visible,
.player-page a:focus-visible {outline:2px solid #ff656c;outline-offset:3px}
.player-page .pg-eyebrow {
  display:flex;align-items:center;gap:10px;font-size:10px;
  letter-spacing:2.15px;text-transform:uppercase;font-weight:900;color:#ecabb1;
}
.player-page .pg-eyebrow i,.player-page .pg-table-kicker i,.player-page .pg-nav-intro i {
  display:block;flex:none;height:2px;width:23px;background:var(--pg-red);
  box-shadow:0 0 15px rgba(255,68,77,.35);
}
.player-page .pg-display-title {
  margin:12px 0 11px;line-height:1.02;font-size:clamp(29px,3.4vw,52px);
  letter-spacing:-1.5px;font-weight:900;text-transform:uppercase;color:#fff;
}
.player-page .pg-display-title em,.player-page .pg-filter-title em,.player-page .pg-subhead h3 em {
  color:var(--pg-red);font-style:italic;
}
.player-page .pg-display-title + p,.player-page .pg-module-heading p {
  margin:0;color:var(--pg-muted);font-size:13px;line-height:1.75;max-width:670px;
}
.player-page .pg-shell-panel,.player-page .players-overview,
.player-page .tab-panel.pg-module {
  position:relative;isolation:isolate;overflow:hidden;
  border:1px solid rgba(255,255,255,.13);
  border-radius:16px;
  background:radial-gradient(ellipse 660px 260px at 100% 0%,rgba(212,29,44,.085),transparent 75%),linear-gradient(162deg,rgba(22,25,34,.975),rgba(10,12,18,.978) 76%);
  box-shadow:0 19px 45px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.026);
}
.player-page .pg-shell-panel::before,.player-page .players-overview::before,.player-page .tab-panel.pg-module::before{
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.013) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.013) 1px,transparent 1px);
  background-size:40px 40px;mask-image:linear-gradient(#000 0,transparent 420px);
}
.player-page .pg-shell-panel::after,.player-page .players-overview::after,.player-page .tab-panel.pg-module::after{
  content:"";position:absolute;top:0;left:29px;width:50%;height:2px;
  background:linear-gradient(90deg,var(--pg-red),rgba(255,68,77,.12) 42%,transparent);
  pointer-events:none;
}
/* Selektor / centrum sterowania */
.player-page .filters-panel.pg-shell-panel{padding:clamp(19px,2.4vw,32px);gap:0}
.player-page .pg-filter-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid var(--pg-line)}
.player-page .pg-filter-title{font-size:clamp(24px,2.65vw,37px);font-style:italic;letter-spacing:-.7px;line-height:1.08;font-weight:900;margin:10px 0 8px;color:#fff}
.player-page .pg-filter-heading p{margin:0;color:var(--pg-muted);font-size:12px;line-height:1.65;max-width:700px}
.player-page .pg-data-stamp{flex:none;display:grid;gap:7px;text-align:right;padding:13px 17px;border:1px solid rgba(255,255,255,.085);background:rgba(255,255,255,.022);border-radius:7px}
.player-page .pg-data-stamp small{font-size:9px;letter-spacing:1.2px;color:#7c8596;font-weight:800}
.player-page .pg-data-stamp strong{font-weight:900;font-size:13px;letter-spacing:1px;color:#d4d8e3}
.player-page .filters-layout{display:grid;grid-template-columns:minmax(205px,255px) minmax(0,1fr);gap:18px;align-items:stretch}
.player-page .player-avatar-card{min-width:0;flex:auto;position:relative;display:flex;flex-direction:column;justify-content:center;text-align:center;gap:12px;padding:18px;border-radius:10px;border:1px solid rgba(255,255,255,.11);background:radial-gradient(ellipse at 50% 24%,rgba(255,64,75,.14),transparent 65%),#0d1017;overflow:hidden}
.player-page .player-avatar-card::after{content:"PLAYER FILE";position:absolute;top:10px;left:12px;color:#727986;font-size:8px;font-weight:900;letter-spacing:1.8px}
.player-page .player-avatar-card img{height:97px;width:105px;object-fit:contain;max-width:100%;border:0;border-radius:0;background:transparent;mix-blend-mode:normal;filter:drop-shadow(0 12px 15px rgba(0,0,0,.35))}
.player-page .player-avatar-card.is-empty img{opacity:.45}
.player-page .player-avatar-card.is-empty{opacity:1}
.player-page .player-avatar-meta{align-items:center;gap:6px}
.player-page .player-avatar-meta span{font-weight:800;color:#818998;letter-spacing:1.6px;font-size:9px}
.player-page .player-avatar-meta strong{font-weight:900;letter-spacing:.4px;font-size:18px;text-transform:uppercase}
.player-page .filters-fields{min-width:0;gap:16px;display:flex;flex-direction:column;justify-content:center}
.player-page .filters-row{gap:13px}
.player-page .filter-item{flex:1 1 165px;min-width:0;gap:9px}
.player-page .filter-item label{font-size:10px;letter-spacing:1.25px;text-transform:uppercase;color:#afb7c7;font-weight:900}
.player-page .filter-item select,.player-page .filter-item input{
  background:#0c0e15;color:#f1f3f7;border:1px solid rgba(255,255,255,.16);
  padding:13px 14px;min-height:45px;border-radius:8px;font-size:13px;
  transition:border-color .2s,box-shadow .2s;
}
.player-page .filter-item select:hover,.player-page .filter-item input:hover{border-color:rgba(255,255,255,.32)}
.player-page .filter-item select:focus,.player-page .filter-item input:focus{border-color:rgba(255,68,77,.8);box-shadow:0 0 0 3px rgba(255,68,77,.11);outline:none}
.player-page .filter-item input::-webkit-calendar-picker-indicator{filter:invert(1);opacity:.7}
.player-page .quick-ranges{gap:8px}
.player-page .quick-range{background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.12);border-radius:7px;color:#c0c7d2;min-height:35px;padding:8px 11px;font-size:10px;font-weight:800;letter-spacing:.55px;transition:transform .18s,background .18s,border-color .18s}
.player-page .quick-range:hover{background:rgba(255,68,77,.12);border-color:rgba(255,68,77,.5);transform:translateY(-1px)}
.player-page .quick-range:active{transform:translateY(0)}
.player-page .filters-info{padding:15px 0 0;margin-top:20px;border-top:1px solid var(--pg-line);font-size:11px;color:#9aa4b6;letter-spacing:.2px;display:flex;align-items:center;gap:9px}
.player-page .filters-info::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:#43ce85;box-shadow:0 0 12px rgba(67,206,133,.6)}
/* Widok bez wyboru — tabelka całej ekipy */
.player-page.no-player-selected .players-overview{padding:clamp(19px,2.55vw,33px);margin-top:19px;width:100%;border:1px solid rgba(255,255,255,.13)}
.player-page .players-overview-heading{padding:0;margin-bottom:24px;align-items:center;gap:25px}
.player-page .players-overview-heading>div{min-width:0}
.player-page .players-overview-heading h2{margin:12px 0 10px}
.player-page .pg-table-kicker,.player-page .pg-nav-intro{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin-bottom:11px;min-width:0;
}
.player-page .pg-table-kicker span:first-child,.player-page .pg-nav-intro>span{display:flex;align-items:center;gap:10px;color:#e9edf6;font-size:10px;font-weight:900;letter-spacing:1.7px}
.player-page .pg-table-kicker span:last-child,.player-page .pg-nav-intro small{color:#7d8595;font-size:9px;font-weight:800;letter-spacing:1px;white-space:nowrap}
.player-page .players-overview-scroll,.player-page .tab-panel .table-wrapper{border:1px solid rgba(255,255,255,.105);border-radius:9px;background:rgba(6,8,12,.52);max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-color:#6c2c35 #11151f}
.player-page .players-overview-table,.player-page .compare-table,.player-page .matches-table{border-collapse:separate;border-spacing:0;border-radius:0;background:transparent;width:100%}
.player-page .players-overview-table th,.player-page .players-overview-table td,
.player-page .compare-table th,.player-page .compare-table td,
.player-page .matches-table th,.player-page .matches-table td{
  border:0;border-bottom:1px solid rgba(255,255,255,.075);padding:14px 12px;text-align:center;font-variant-numeric:tabular-nums;
}
.player-page .players-overview-table th,.player-page .compare-table th,.player-page .matches-table th{background:#1b1e28;color:#aab4c5;font-weight:900;text-transform:uppercase;font-size:10px;letter-spacing:1px}
.player-page .players-overview-table td,.player-page .compare-table td,.player-page .matches-table td{color:#dce1eb;font-size:12px;font-weight:650}
.player-page .players-overview-table tbody tr:nth-child(2n),.player-page .compare-table tbody tr:nth-child(2n),.player-page .matches-table tbody tr:nth-child(2n){background:rgba(255,255,255,.016)}
.player-page .players-overview-table tbody tr:hover,.player-page .compare-table tbody tr:hover,.player-page .matches-table tbody tr:hover{background:rgba(255,68,77,.065)}
.player-page .players-overview-table .overview-name-cell{background:#11151d!important;box-shadow:2px 0 0 rgba(255,255,255,.08);min-width:136px}
.player-page .players-overview-table tbody tr:nth-child(2n) .overview-name-cell{background:#161a23!important}
.player-page .players-overview-table tbody tr:hover .overview-name-cell{background:#22202a!important}
.player-page .players-overview-table thead th:first-child{background:#1b1e28!important;min-width:136px}
.player-page .players-overview-table .overview-player-link{text-decoration:none;font-size:12px;letter-spacing:.35px;font-weight:900;position:relative}
.player-page .players-overview-table .overview-player-link::after{content:"↗";margin-left:7px;color:var(--pg-red);font-size:13px}
.player-page .players-overview-table .overview-player-link:hover{color:#ff858b}
.player-page .players-overview-table.compare-table td.overview-best{color:#ffdf89;background:rgba(241,191,77,.105);box-shadow:inset 0 -2px 0 rgba(250,194,73,.48);font-weight:900}
.player-page .players-overview-table.compare-table tr:hover td.overview-best{background:rgba(241,191,77,.17)}
.player-page .players-overview-note{font-size:11px;color:#9099a9;padding:17px 0 0;margin-top:16px;border-top:1px solid var(--pg-line)}
.player-page .players-overview-swatch{border-radius:2px}
/* nawigacja modułowa */
.player-page .pg-nav-intro{margin:26px 0 12px;padding:0 4px}
.player-page.no-player-selected .pg-nav-intro{display:none}
.player-page .tabs{margin:0;display:flex;gap:6px;flex-wrap:wrap;min-width:0;padding:7px;background:rgba(13,16,23,.92);border:1px solid var(--pg-line);border-radius:10px}
.player-page .tab-button{flex:1 1 125px;margin:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#a6aebe;font-weight:900;letter-spacing:.85px;font-size:11px;padding:13px 10px;white-space:nowrap;transition:background .2s,color .2s,border-color .2s;min-height:44px}
.player-page .tab-button:hover{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.095);color:#fff}
.player-page .tab-button.active{background:linear-gradient(135deg,#ef3e49,#ac192d);color:#fff;border-color:#ff5961;box-shadow:0 5px 17px rgba(221,28,48,.17)}
.player-page .tab-panel.pg-module{margin-top:17px;padding:clamp(17px,2.6vw,33px);min-width:0}
.player-page .tab-panel.pg-module.active#tab-stats{display:grid;gap:21px}
.player-page .pg-module-heading{display:flex;justify-content:space-between;gap:22px;align-items:center;padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--pg-line)}
.player-page #tab-stats .pg-module-heading{margin-bottom:0}
.player-page .pg-module-stamp{flex:none;color:#798292;text-transform:uppercase;font-weight:900;font-size:10px;letter-spacing:1.2px;padding:11px 12px;border:1px solid rgba(255,255,255,.075);border-radius:6px;background:rgba(255,255,255,.018)}
.player-page .pg-mini-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;margin:0 0 12px}
.player-page .pg-mini-heading span{font-size:9px;color:#ff737c;letter-spacing:1.4px;font-weight:900}
.player-page .pg-mini-heading h4{font-size:13px;color:#f0f2fa;letter-spacing:.5px;text-align:right;line-height:1.4;margin:0;text-transform:uppercase;font-weight:900}
.player-page .stats-visuals{gap:12px}
.player-page .stats-visual-card,.player-page .graph-card{
  position:relative;min-width:0;padding:19px;background:linear-gradient(155deg,rgba(255,255,255,.035),rgba(4,6,10,.35));
  border:1px solid var(--pg-line);border-radius:10px;box-shadow:none;
}
.player-page .stats-visual-card::before,.player-page .graph-card::before{content:"";position:absolute;top:0;left:17px;right:45%;height:2px;background:linear-gradient(90deg,rgba(255,68,77,.65),transparent)}
.player-page .stats-visual-card{height:300px;min-height:300px;display:block}
.player-page .stats-visual-card canvas{height:225px!important;min-height:225px;max-height:225px}
.player-page .graph-card-wide{min-height:315px}
.player-page .graphs-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.player-page .graphs-grid .graph-card:nth-child(4),.player-page .graphs-grid .graph-card:nth-child(5){grid-column:auto}
.player-page .graph-card canvas{max-width:100%}
.player-page .stats-grid{gap:14px}
.player-page .stats-header-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.player-page .stat-card{align-items:flex-start;text-align:left;border:1px solid rgba(255,255,255,.09);background:linear-gradient(145deg,rgba(255,255,255,.048),rgba(255,255,255,.015));border-radius:9px;padding:17px 16px;gap:7px;position:relative;overflow:hidden;box-shadow:none;min-width:0}
.player-page .stat-card::before{content:"";height:3px;width:28px;background:#525b6c;margin-bottom:8px;border-radius:3px}
.player-page .stat-card>span{font-size:10px;letter-spacing:.8px;color:#a6afbd;text-transform:uppercase;font-weight:800}
.player-page .stat-card strong{font-size:clamp(20px,2vw,30px);line-height:1.2;letter-spacing:-.6px;color:#fff;text-shadow:none;font-weight:900;font-variant-numeric:tabular-nums}
.player-page .stat-card em{color:#8995a5;font-weight:800;font-size:10px;margin:0}
.player-page .stat-card.highlight{border-color:rgba(255,255,255,.12);background:radial-gradient(ellipse at 100% 0%,rgba(255,68,77,.085),transparent 75%),rgba(255,255,255,.025);box-shadow:none}
.player-page .stat-card.highlight::before{background:var(--pg-red)}
.player-page .stat-card.summary-win::before{background:#49d38c}.player-page .stat-card.summary-loss::before{background:#ff6570}.player-page .stat-card.summary-draw::before{background:#e5ba53}
.player-page .stat-card.summary-win strong{color:#71e6ab}.player-page .stat-card.summary-loss strong{color:#ffa4a7}.player-page .stat-card.summary-draw strong{color:#f0cb77}
.player-page .stats-section{gap:17px;background:linear-gradient(155deg,rgba(255,255,255,.029),rgba(255,255,255,.008));border:1px solid var(--pg-line);border-radius:10px;padding:18px;box-shadow:none}
.player-page .stats-section h3{border:0;padding:0;display:flex;align-items:center;gap:11px;color:#e9edf5;font-size:12px;letter-spacing:1.5px;margin:0}
.player-page .stats-section h3::before{content:"";background:var(--pg-red);width:19px;height:2px;flex:none}
.player-page .stats-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.player-page .stats-cards .stat-card strong{font-size:23px}
.player-page .pg-subhead{margin:10px 0 -1px;padding:17px 0 0;border-top:1px solid var(--pg-line)}
.player-page .pg-subhead h3{margin:11px 0 7px;font-size:clamp(24px,3vw,35px);font-weight:900;font-style:italic;letter-spacing:-.7px;line-height:1.1;color:#fff}
.player-page .pg-subhead p{margin:0;color:var(--pg-muted);font-size:12px}
.player-page .recent-matches{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.player-page .match-card{grid-template-rows:100px 1fr;border-radius:9px;background:linear-gradient(150deg,#181b24,#0c0f16);border:1px solid rgba(255,255,255,.11);box-shadow:none;overflow:hidden;min-width:0}
.player-page .match-card.clickable:hover{transform:translateY(-3px);border-color:rgba(255,68,77,.48);box-shadow:0 10px 28px rgba(0,0,0,.33)}
.player-page .match-map{height:100px}
.player-page .match-map::after{background:linear-gradient(180deg,rgba(0,0,0,.1) 15%,rgba(6,7,12,.82))}
.player-page .match-info{padding:14px;gap:8px;align-items:flex-start;text-align:left}
.player-page .match-info h4{font-size:16px;color:#f5f5f9;font-weight:900;letter-spacing:-.25px;text-transform:uppercase}
.player-page .match-info>span:last-child{color:#87909e;font-size:10px}
.player-page .match-info .match-result{font-size:20px;font-weight:900;color:#fff;letter-spacing:-.5px}
.player-page .match-result-chip,.player-page .side-chip{font-weight:900;text-transform:uppercase;letter-spacing:.5px;padding:4px 7px;font-size:9px;border-radius:5px}
.player-page .match-result-chip.win{color:#5ee59c;background:rgba(58,196,117,.13)}
.player-page .match-result-chip.loss{color:#ff8e94;background:rgba(255,83,91,.13)}
.player-page .match-result-chip.draw{color:#f9d47b;background:rgba(249,196,82,.13)}
.player-page .side-chip{color:#adb7c5;background:rgba(255,255,255,.06)}
.player-page .maps-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.player-page .map-card{grid-template-rows:175px 1fr;border-radius:10px;background:linear-gradient(165deg,#181b25,#0d1017);border:1px solid var(--pg-line);min-width:0;position:relative}
.player-page .map-card img{height:175px;width:100%;object-fit:cover;filter:saturate(.82) contrast(1.08)}
.player-page .map-card::before{content:"";position:absolute;top:117px;left:0;right:0;height:58px;background:linear-gradient(transparent,#11141d);z-index:1;pointer-events:none}
.player-page .map-card-body{padding:19px 17px 17px;gap:17px}
.player-page .map-card-body h4{text-transform:uppercase;text-align:left;color:#fff;font-size:26px;font-style:italic;letter-spacing:-.5px;font-weight:900;line-height:1}
.player-page .map-stats{gap:7px}
.player-page .map-stats span,.player-page .map-stats span:nth-child(n){min-width:0;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);border-radius:6px;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:10px;text-align:left;font-size:10px;color:#a2adbc;line-height:1.4}
.player-page .map-stats span strong{color:#fff;font-size:18px;font-weight:900}
.player-page .map-stats span:nth-child(2){border-left:2px solid #43cf86}.player-page .map-stats span:nth-child(3){border-left:2px solid #fa6975}.player-page .map-stats span:nth-child(4){border-left:2px solid #e7c16b}
.player-page .map-stats span:last-child{grid-column:1/-1;align-items:center;flex-direction:row;justify-content:space-between;border-left:2px solid var(--pg-red);font-weight:900}
.player-page .map-stats span:last-child strong{color:#fff}
.player-page .compare-table,.player-page .matches-table{min-width:1040px}
.player-page .matches-table .date-cell{font-weight:700;color:#aab3c3;min-width:150px}
.player-page .matches-table .map-cell{min-width:118px;color:#fff;font-weight:900;text-transform:uppercase}
.player-page .matches-table .score-cell{font-size:14px;font-weight:900}
.player-page .compare-table td.better{color:#80dda7;font-weight:800}.player-page .compare-table td.worse{color:#ff9298;font-weight:750}.player-page .compare-table td.self{color:#f2d17f;font-weight:900}
.player-page .compare-self td{background:rgba(241,187,67,.07)}
.player-page .open-match-btn{border:1px solid rgba(255,88,99,.4);background:rgba(255,68,77,.11);color:#ffc9ce;border-radius:5px;padding:8px 10px;font-weight:900;letter-spacing:.25px;white-space:nowrap}
.player-page .open-match-btn:hover{border-color:#ff6871;background:rgba(255,68,77,.25);color:#fff}
.player-page .moments-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.player-page .moment-card{position:relative;display:flex;flex-direction:column;gap:14px;align-items:flex-start;text-align:left;background:radial-gradient(circle at 100% 0%,rgba(255,68,77,.07),transparent 57%),linear-gradient(155deg,#181b24,#0d1017);border:1px solid var(--pg-line);border-radius:10px;box-shadow:none;padding:22px;min-width:0;overflow:hidden;transition:transform .2s,border-color .2s}
.player-page .moment-card:hover{transform:translateY(-3px);border-color:rgba(255,68,77,.32)}
.player-page .moment-card::before{content:"";position:absolute;left:21px;top:0;height:2px;width:52px;background:linear-gradient(90deg,var(--pg-red),transparent)}
.player-page .moment-header{justify-content:flex-start;gap:12px;margin:0;align-items:center}
.player-page .moment-icon{width:37px;height:37px;background:rgba(255,68,77,.1);border:1px solid rgba(255,68,77,.17);border-radius:8px;display:grid;place-items:center;font-size:17px;flex:none}
.player-page .moment-card h4{color:#d7dce6;font-weight:900;text-transform:uppercase;font-size:11px;letter-spacing:1.1px;line-height:1.5;margin:0}
.player-page .moment-highlight{font-size:clamp(23px,2.6vw,38px);line-height:1.08;color:#fff;font-weight:900;letter-spacing:-1px;margin:0;font-variant-numeric:tabular-nums}
.player-page .moment-meta{justify-content:flex-start;gap:7px;line-height:1.65;font-size:10px;margin-top:auto;color:#9ca5b5}
.player-page .moment-meta span{background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.045);padding:5px 7px;border-radius:5px}
.player-page .moment-meta .open-match-btn{margin-top:0;font-size:10px}
.player-page .graph-results-legend{gap:6px}.player-page .results-legend-item{background:rgba(255,255,255,.04);border:1px solid var(--pg-line);font-size:10px;border-radius:5px}
/* Responsive */
@media (max-width:1220px){
 .player-page .recent-matches{grid-template-columns:repeat(3,minmax(0,1fr))}
 .player-page .maps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .player-page .stats-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
 .player-page .filters-layout{grid-template-columns:1fr}
 .player-page .player-avatar-card{flex-direction:row;text-align:left;justify-content:flex-start;min-height:125px}
 .player-page .player-avatar-meta{align-items:flex-start}
 .player-page .pg-data-stamp,.player-page .pg-module-stamp{display:none}
 .player-page .graphs-grid{grid-template-columns:1fr}
 .player-page .moments-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .player-page .stats-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .player-page .stats-header-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
 .player-page{padding:0 0 42px;overflow-x:clip}
 .player-page .pg-display-title{font-size:clamp(27px,7.5vw,37px);letter-spacing:-.9px}
 .player-page .pg-eyebrow{font-size:9px;letter-spacing:1.4px}
 .player-page .pg-filter-title{font-size:27px}
 .player-page .filters-panel.pg-shell-panel{padding:19px 14px}
 .player-page .pg-filter-heading{margin-bottom:15px;padding-bottom:16px}
 .player-page .pg-filter-heading p{font-size:11px}
 .player-page .filters-layout{gap:11px}
 .player-page .player-avatar-card{padding:15px;min-height:100px}
 .player-page .player-avatar-card img{width:70px;height:71px}
 .player-page .player-avatar-meta strong{font-size:16px}
 .player-page .filter-item{flex:1 1 145px}
 .player-page .filter-item select,.player-page .filter-item input{min-height:42px;padding:10px 11px}
 .player-page .quick-ranges{gap:6px}.player-page .quick-range{font-size:9px;padding:8px 10px}
 .player-page .filters-info{margin-top:15px;padding-top:13px}
 .player-page.no-player-selected .players-overview{padding:20px 13px}
 .player-page .players-overview-heading{margin-bottom:19px}
 .player-page .pg-table-kicker span:last-child,.player-page .pg-nav-intro small{font-size:8px;letter-spacing:.3px}
 .player-page .pg-table-kicker span:first-child{font-size:9px;letter-spacing:1px}
 .player-page .players-overview-table.compare-table{display:table;min-width:1100px}
 .player-page .tabs{gap:4px;padding:5px}
 .player-page .tab-button{flex:1 1 calc(50% - 5px);font-size:10px;padding:12px 7px}
 .player-page .tab-panel.pg-module{padding:19px 13px;margin-top:12px}
 .player-page .pg-module-heading{padding-bottom:17px;margin-bottom:17px}
 .player-page .pg-module-heading p{font-size:11px}
 .player-page .pg-mini-heading{align-items:flex-start;flex-direction:column;gap:6px}
 .player-page .pg-mini-heading h4{text-align:left;font-size:12px}
 .player-page .stats-visuals{grid-template-columns:1fr;gap:10px}
 .player-page .stats-visual-card{height:265px;min-height:265px}
 .player-page .stats-visual-card canvas{height:188px!important;min-height:188px;max-height:188px}
 .player-page .graphs-grid{gap:9px}
 .player-page .graph-card{padding:14px}
 .player-page .stats-header-grid{gap:7px}
 .player-page .stats-cards{gap:7px}
 .player-page .stats-section{padding:14px}
 .player-page .stat-card{padding:12px 11px}
 .player-page .stat-card strong{font-size:21px}
 .player-page .stats-cards .stat-card strong{font-size:19px}
 .player-page .stat-card>span{font-size:9px}
 .player-page .recent-matches{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .player-page .match-card{grid-template-rows:80px 1fr}
 .player-page .match-map{height:80px}
 .player-page .match-info{padding:11px 9px}
 .player-page .match-info h4{font-size:13px}
 .player-page .maps-grid{grid-template-columns:1fr}
 .player-page .moments-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .player-page .moment-card{padding:16px 12px;gap:10px}
 .player-page .moment-icon{width:30px;height:30px;font-size:14px}
 .player-page .moment-header{gap:6px}
 .player-page .moment-card h4{font-size:9px;letter-spacing:.5px}
 .player-page .moment-highlight{font-size:23px}
 .player-page .moment-meta{font-size:9px}
}
@media (max-width:370px){
 .player-page .moments-grid{grid-template-columns:1fr}
 .player-page .tab-button{font-size:9px}
 .player-page .players-overview-heading h2{font-size:27px}
}
@media (prefers-reduced-motion:reduce){.player-page .moment-card,.player-page .match-card,.player-page .quick-range{transition:none;transform:none!important}}

/* Karta zawodnika — zwarty raport statystyk. */
.player-page .tab-panel.pg-module.active#tab-stats{gap:15px;background:radial-gradient(ellipse at 95% 0%,#8e172542,transparent 26%),linear-gradient(145deg,#121923,#0a0f19 70%);border:1px solid #374052;border-radius:14px}
.player-page .tab-panel.pg-module.active#tab-stats{--stats-pad-x:clamp(17px,2.6vw,33px);--stats-pad-y:clamp(17px,2.6vw,33px);padding:var(--stats-pad-y) var(--stats-pad-x)}
.player-page #tab-stats .pg-module-heading{position:relative;isolation:isolate;min-height:120px;margin:calc(-1 * var(--stats-pad-y)) calc(-1 * var(--stats-pad-x)) 0;padding:20px 30px;align-items:flex-start;border:0;border-radius:13px 13px 0 0;overflow:hidden;background:linear-gradient(90deg,#101622 0%,#121827ec 45%,#1218277a 100%)}
@media(max-width:640px){.player-page .tab-panel.pg-module.active#tab-stats{--stats-pad-x:13px;--stats-pad-y:19px}}
@media(max-width:540px){.player-page .tab-panel.pg-module.active#tab-stats{--stats-pad-x:10px;--stats-pad-y:10px}}
.player-page #tab-stats .pg-module-heading::before{content:"";position:absolute;right:0;bottom:-110px;width:min(43%,460px);height:240px;z-index:-2;background:url('../zespol/assets/map-ct-operator.webp') right bottom/contain no-repeat;opacity:.9;mask-image:linear-gradient(90deg,transparent 0%,#000 30%)}
.player-page #tab-stats .pg-module-heading::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0e1420 0%,transparent 75%),radial-gradient(ellipse at 85% 75%,#e02d473a,transparent 45%)}
.player-page #tab-stats .pg-display-title{font-size:clamp(29px,3.8vw,48px);line-height:1.05;text-shadow:0 3px 18px #000}
.player-page #tab-stats .stats-visuals{display:grid;grid-template-columns:1.3fr 1fr;gap:14px}
.player-page #tab-stats .stats-visual-card{height:170px;min-height:170px;padding:14px 17px;border-color:#435068;border-radius:12px;background:linear-gradient(135deg,#1d2431,#101722)}
.player-page #tab-stats .stats-visual-card:first-child{background:linear-gradient(110deg,#1e202b,#121923 72%),url('../zespol/assets/map-t-operator.webp') right bottom/auto 160px no-repeat}
.player-page #tab-stats .stats-visual-card .pg-mini-heading{margin:0 0 8px;padding-bottom:7px;border-bottom:1px solid #ffffff15}
.player-page #tab-stats .stats-visual-card .pg-mini-heading h4{font-size:13px;text-align:left}
.player-page #tab-stats .stats-visual-card canvas{display:none!important}
.player-page .stats-kda-bars{display:grid;gap:7px}
.player-page .stats-kda-row{display:grid;grid-template-columns:28px minmax(60px,100px) 56px minmax(65px,1fr);gap:8px;align-items:center;color:#d9e0ed;font-size:11px}
.player-page .stats-kda-row strong{font-size:17px;color:#fff;font-variant-numeric:tabular-nums}
.player-page .stats-visual-icon{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#ff485522;color:#ff6470}
.player-page .stats-kda-row i{height:9px;border-radius:20px;background:#36404f;overflow:hidden}
.player-page .stats-kda-row i b{display:block;height:100%;border-radius:inherit;background:#f04456}
.player-page .stats-kda-row.tone-1 i b{background:#ff8c9d}.player-page .stats-kda-row.tone-2 i b{background:#c95969}
.player-page .stats-results-ring{display:flex;align-items:center;justify-content:space-around;gap:14px;height:115px}
.player-page .stats-result-donut{flex:0 0 114px;width:114px;height:114px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#26c882 0 var(--win-end),#f04856 var(--win-end) var(--loss-end),#e9ba2c var(--loss-end) 100%)}
.player-page .stats-result-donut>span{width:88px;height:88px;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#131c29}.player-page .stats-result-donut strong{font-size:25px;line-height:1}.player-page .stats-result-donut small{font-size:9px;font-weight:900;letter-spacing:1px;color:#aab8ca}
.player-page .stats-result-legend{flex:1;min-width:0;display:grid;gap:8px}.player-page .stats-result-legend>div{display:grid;grid-template-columns:11px minmax(58px,1fr) auto auto;gap:7px;align-items:center;padding-bottom:5px;border-bottom:1px solid #ffffff13;font-size:11px}.player-page .stats-result-legend i{width:10px;height:10px;border-radius:3px;background:#e9ba2c}.player-page .stats-result-legend .win i{background:#26c882}.player-page .stats-result-legend .loss i{background:#f04856}.player-page .stats-result-legend strong{font-size:13px;color:#fff}.player-page .stats-result-legend small{color:#c1cad9;font-size:10px}
.player-page #tab-stats .stats-grid{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:12px}
.player-page #tab-stats .stats-header-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.player-page #tab-stats .stats-header-grid .stat-card{position:relative;min-height:78px;padding:12px 15px 11px 67px;justify-content:center;gap:3px;border-radius:10px;border-color:#ff63705c;background:linear-gradient(135deg,#37202b,#161a25)}
.player-page #tab-stats .stats-header-grid .stat-card::before{display:none}.player-page #tab-stats .stats-header-grid .stat-card>span{font-size:10px;color:#d3d8e2}.player-page #tab-stats .stats-header-grid .stat-card strong{font-size:27px;color:#fff}.player-page #tab-stats .stats-header-grid .stat-card em{position:absolute;right:9px;bottom:14px}
.player-page #tab-stats .stats-header-grid .summary-icon{position:absolute;left:15px;top:18px;width:37px;height:37px;display:grid;place-items:center;border-radius:50%;background:#ff637022;color:#ff6e78}
.player-page #tab-stats .stats-header-grid .summary-win{border-color:#42cd8d6b;background:linear-gradient(135deg,#16362d,#151c23)}.player-page #tab-stats .stats-header-grid .summary-win .summary-icon{color:#51e0a0;background:#3bcb8d24}
.player-page #tab-stats .stats-header-grid .summary-loss{border-color:#e65b7777}.player-page #tab-stats .stats-header-grid .summary-draw{border-color:#d1aa4f77;background:linear-gradient(135deg,#302b26,#181c23)}.player-page #tab-stats .stats-header-grid .summary-draw .summary-icon{color:#f3c952;background:#e1ba4c22}
.player-page #tab-stats .stats-header-grid .summary-rating{border-color:#967ad270;background:linear-gradient(135deg,#27223b,#161a24)}.player-page #tab-stats .stats-header-grid .summary-rating .summary-icon{color:#b795f5;background:#9b79d622}
.player-page #tab-stats .stats-section{min-width:0;padding:12px;gap:10px;border-color:#354054;border-radius:11px;background:linear-gradient(145deg,#1a2430,#0c131e)}
.player-page #tab-stats .stats-section h3{font-size:12px;letter-spacing:.5px;gap:8px;padding:0 0 7px;border-bottom:1px solid #ffffff16}.player-page #tab-stats .stats-section h3::before{display:none}.player-page #tab-stats .stats-section h3 svg{color:#fa5967;width:20px;height:20px}
.player-page #tab-stats .stats-cards{display:grid;grid-template-columns:1fr;gap:4px}
.player-page #tab-stats .stats-cards .stat-card{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:31px;padding:4px 6px;border-radius:6px;background:linear-gradient(100deg,#25303f,#131c28);border-color:#ffffff12}
.player-page #tab-stats .stats-cards .stat-card::before{display:none}.player-page #tab-stats .stats-cards .stat-card .metric-icon{display:grid;place-items:center;width:24px;height:24px;color:#b9d6ee}.player-page #tab-stats .stats-cards .stat-card .metric-icon svg{width:17px;height:17px}.player-page #tab-stats .stats-cards .stat-card>span{font-size:11px;letter-spacing:0;text-transform:none;color:#edf1fa}.player-page #tab-stats .stats-cards .stat-card>span small{display:inline;margin-left:4px;color:#8493a8;font-size:9px}.player-page #tab-stats .stats-cards .stat-card strong{font-size:14px;color:#fff;white-space:nowrap;letter-spacing:0}
.player-page #tab-stats .stats-general .stat-card:last-child{border-color:#fa687b8c;background:linear-gradient(90deg,#532a39,#1b202d)}
.player-page #tab-stats .stats-clutch .stats-cards{grid-template-columns:1.4fr repeat(4,minmax(0,1fr));gap:6px}.player-page #tab-stats .stats-clutch .stat-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:56px;padding:7px;gap:2px}.player-page #tab-stats .stats-clutch .stat-card>span small{display:none}.player-page #tab-stats .stats-clutch .stat-card .metric-icon{display:none}.player-page #tab-stats .stats-clutch .stat-card strong{font-size:19px}.player-page #tab-stats .stats-clutch .stat-card:first-child{grid-row:span 2;min-height:118px;align-items:center;border-color:#f15c7277;background:linear-gradient(145deg,#552935,#201b2a)}.player-page #tab-stats .stats-clutch .stat-card:first-child .metric-icon{display:grid;color:#ff6470}.player-page #tab-stats .stats-clutch .stat-card:first-child strong{font-size:32px}
.player-page #tab-stats .stats-utility .stats-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.player-page #tab-stats .stats-utility .stat-card{min-height:42px;padding:5px}.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5){grid-column:span 3}.player-page #tab-stats .stats-utility .stat-card:nth-child(n+6){display:flex;flex-direction:column;align-items:flex-start;gap:1px}.player-page #tab-stats .stats-utility .stat-card:nth-child(n+6) .metric-icon{display:none}.player-page #tab-stats .stats-utility .stat-card:nth-child(n+6)>span{font-size:9px}.player-page #tab-stats .stats-utility .stat-card:nth-child(n+6)>span small{display:none}
.player-page #tab-stats .pg-subhead{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:0;padding-top:12px}.player-page #tab-stats .pg-subhead h3{margin:6px 0 0}.player-page #tab-stats .stats-all-matches{padding:10px 13px;border:1px solid #f15c70;border-radius:6px;background:#1b1922;color:#fff;font-size:10px;font-weight:900;letter-spacing:.3px;cursor:pointer}.player-page #tab-stats .stats-all-matches span{font-size:16px;margin-left:7px}
.player-page #tab-stats .recent-matches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.player-page #tab-stats .match-card{display:grid;grid-template-columns:100px minmax(0,1fr);grid-template-rows:1fr;min-height:100px;border-left:3px solid #e0b83f;background:linear-gradient(130deg,#1a2633,#111722)}.player-page #tab-stats .match-card.match-win{border-left-color:#2ecc83}.player-page #tab-stats .match-card.match-loss{border-left-color:#f34f65}.player-page #tab-stats .match-map{height:100%;min-height:100px}.player-page #tab-stats .match-info{padding:8px;gap:4px;min-width:0}.player-page #tab-stats .match-info h4{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-page #tab-stats .match-info .match-result{font-size:18px;line-height:1}.player-page #tab-stats .match-info>span:last-child{font-size:9px;white-space:nowrap}.player-page #tab-stats .match-result-chip,.player-page #tab-stats .side-chip{font-size:8px;padding:2px 5px}.player-page #tab-stats .chips-row{gap:4px}
@media(max-width:1150px){.player-page #tab-stats .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.player-page #tab-stats .stats-utility{grid-column:1/-1}.player-page #tab-stats .stats-utility .stats-cards{grid-template-columns:repeat(6,minmax(0,1fr))}.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5){grid-column:span 3}.player-page #tab-stats .recent-matches{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.player-page #tab-stats .stats-visuals{grid-template-columns:1fr}.player-page #tab-stats .stats-header-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.player-page #tab-stats .stats-grid{grid-template-columns:1fr}.player-page #tab-stats .stats-header-grid,.player-page #tab-stats .stats-utility{grid-column:auto}.player-page #tab-stats .stats-utility .stats-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5){grid-column:span 3}.player-page #tab-stats .pg-module-heading::before{opacity:.45}.player-page #tab-stats .pg-subhead{align-items:center}.player-page #tab-stats .stats-all-matches{font-size:9px}}
@media(max-width:540px){.player-page .tab-panel.pg-module.active#tab-stats{gap:10px;padding:10px}.player-page #tab-stats .pg-module-heading{margin:-10px -10px 0;padding:17px;min-height:110px}.player-page #tab-stats .pg-display-title{font-size:30px}.player-page #tab-stats .stats-visual-card{height:165px;min-height:165px;padding:11px}.player-page #tab-stats .stats-result-legend>div{grid-template-columns:9px minmax(52px,1fr) auto auto;gap:4px}.player-page #tab-stats .stats-result-donut{width:98px;height:98px;flex-basis:98px}.player-page #tab-stats .stats-result-donut>span{width:75px;height:75px}.player-page #tab-stats .stats-header-grid{gap:6px}.player-page #tab-stats .stats-header-grid .stat-card{min-height:68px;padding:10px 8px 8px 48px}.player-page #tab-stats .stats-header-grid .summary-icon{left:8px;top:14px;width:32px;height:32px}.player-page #tab-stats .stats-header-grid .stat-card strong{font-size:23px}.player-page #tab-stats .recent-matches{grid-template-columns:1fr}.player-page #tab-stats .match-card{grid-template-columns:92px minmax(0,1fr)}.player-page #tab-stats .stats-all-matches{max-width:115px;line-height:1.2}.player-page #tab-stats .stats-all-matches span{margin-left:2px}}


/* POSTTEAM / UX: tylko kafel wybranego gracza w bieli, grafiki mają białe tło. */
.player-page .player-avatar-card,
.player-page .player-avatar-card.is-empty{
  background:#fff!important;
  border:1px solid #e8e8e9!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.5),0 9px 25px rgba(0,0,0,.12);
}
.player-page .player-avatar-card::after{color:#727984;}
.player-page .player-avatar-card .player-avatar-meta span{color:#69707b;}
.player-page .player-avatar-card .player-avatar-meta strong{color:#171b25;}
.player-page .player-avatar-card img{
  background:#fff!important;
  filter:none!important;
  mix-blend-mode:normal!important;
}
/* Porównanie startowe: nagłówek osobno, tabelę zamyka wyłącznie własna ramka. */
.player-page.no-player-selected .players-overview{
  display:block;
  width:100%;min-width:0;
  height:auto;min-height:0;
  padding:0!important;
  margin-top:22px;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible;
}
.player-page .players-overview::before,.player-page .players-overview::after{display:none!important;}
.player-page .players-overview-heading{margin:0 0 15px;padding:0;}
.player-page .players-overview-heading h2{margin:8px 0 7px;}
.player-page .players-overview .pg-table-kicker{margin:0 0 9px;}
.player-page .players-overview .players-overview-scroll{
  display:block;
  height:auto!important;min-height:0!important;max-height:none!important;
  padding:0!important;margin:0!important;
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  background:#10131b;
  overflow-x:auto;overflow-y:hidden;
  box-shadow:0 10px 26px rgba(0,0,0,.2);
}
.player-page .players-overview .players-overview-table{
  display:table!important;margin:0!important;
  border-radius:0!important;border:0!important;
  width:100%;max-width:none;
}
.player-page .players-overview .players-overview-table th,
.player-page .players-overview .players-overview-table td{vertical-align:middle;}
.player-page .players-overview .players-overview-table tbody tr:last-child td{border-bottom:0;}
.player-page .players-overview .players-overview-note{
  padding:9px 1px 0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
}
@media(max-width:640px){
  .player-page.no-player-selected .players-overview{padding:0!important;margin-top:18px;}
  .player-page .players-overview-heading{margin-bottom:12px;}
  .player-page .players-overview .pg-table-kicker{margin-bottom:7px;}
  .player-page .players-overview .players-overview-note{padding-top:8px!important;}
}


/* ====================================================================
   POSTTEAM — korekta karty zawodnika / Porównaj
   Tylko wygląd sekcji Porównaj, bez wpływu na pozostałe tabele.
   ==================================================================== */
.player-page #tab-compare.pg-module {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
  isolation: auto;
}
.player-page #tab-compare.pg-module::before,
.player-page #tab-compare.pg-module::after { display: none !important; }
.player-page #tab-compare .pg-module-heading { margin: 0 0 15px; }
.player-page #tab-compare .pg-table-kicker { margin: 0 0 9px; }
.player-page #tab-compare .pg-compare-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #10131b;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.2);
  -webkit-overflow-scrolling: touch;
}
.player-page #tab-compare .pg-compare-table {
  display: table !important;
  width: 100%;
  min-width: 1040px;
  max-width: none;
  height: auto;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
}
.player-page #tab-compare .pg-compare-table tbody tr:last-child td { border-bottom: 0; }
.player-page #tab-compare .pg-compare-table th,
.player-page #tab-compare .pg-compare-table td { vertical-align: middle; }
@media (max-width:640px) {
  .player-page #tab-compare.pg-module { margin-top: 18px; }
  .player-page #tab-compare .pg-module-heading { margin-bottom: 12px; }
  .player-page #tab-compare .pg-table-kicker { margin-bottom: 7px; }
}


/* ===================================================================
   POSTTEAM / aktywny zakres czasu + avatary w obu porównywarkach
   =================================================================== */
.player-page .quick-range.is-active,
.player-page .quick-range[aria-pressed="true"] {
  border-color: rgba(255, 78, 88, .9);
  background: linear-gradient(155deg, rgba(214, 37, 52, .38), rgba(115, 18, 31, .27));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 0 0 1px rgba(255,53,70,.08);
}
.player-page .quick-range.is-active::before { content: "✓"; display: inline-block; margin-right: 6px; font-weight: 900; color: #ff858c; }
.player-page .quick-range:focus-visible { outline: 2px solid #ff727a; outline-offset: 3px; }

.player-page .pg-compare-person {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  vertical-align: middle;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}
.player-page .pg-compare-avatar {
  flex: 0 0 35px;
  width: 35px;
  height: 37px;
  object-fit: contain;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.25));
}
.player-page .pg-compare-person-name {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15px;
  color: var(--player-accent, #edf0f5);
}
.player-page .players-overview-table .overview-name-cell,
.player-page .players-overview-table thead th:first-child { min-width: 165px; }
.player-page .players-overview-table .overview-player-link {
  display: inline-flex;
  align-items: center;
  padding: 1px 0;
}
.player-page .players-overview-table .overview-player-link::after { margin-left: 4px; }
.player-page #tab-compare .pg-compare-name-cell {
  text-align: left;
  min-width: 158px;
}
.player-page #tab-compare .pg-compare-name-cell .pg-compare-person-name { color: var(--player-accent, #fff); }
@media(max-width:640px) {
  .player-page .pg-compare-avatar { flex-basis: 29px; width: 29px; height: 32px; }
  .player-page .pg-compare-person { gap: 6px; }
  .player-page .pg-compare-person-name { font-size: 11px; }
  .player-page .players-overview-table .overview-name-cell,
  .player-page .players-overview-table thead th:first-child { min-width: 145px; }
  .player-page #tab-compare .pg-compare-name-cell { min-width: 145px; }
}

/* POSTTEAM / archiwalny gracz - widoczny i klikalny, ale nieaktywny. */
.player-page .players-overview-table .overview-player-row.is-inactive {background:rgba(140,147,161,.06)}
.player-page .players-overview-table .overview-player-row.is-inactive td {color:#959ca8}
.player-page .players-overview-table .overview-player-row.is-inactive .overview-name-cell {background:#15181e!important}
.player-page .pg-compare-person.is-inactive .pg-compare-avatar {filter:grayscale(1);opacity:.58}
.player-page .pg-compare-person.is-inactive .pg-compare-person-name {color:#9299a6}
.player-page .pg-inactive-status {color:#999fac;letter-spacing:.3px;font-size:8px;font-weight:800;white-space:nowrap}
.player-page .players-overview-table .overview-player-row.is-inactive .overview-best {color:#b2b8c2}
@media(max-width:640px) {
 .player-page .pg-inactive-status {font-size:7px}
 .player-page .pg-compare-person {flex-wrap:wrap;row-gap:1px}
}

/* Mobilnie tabele zajmują całą szerokość, a ikony mają jednolity rysunek SVG. */
.player-page .moment-svg {display:none}
@media(max-width:768px) {
  .player-page {--pg-gutter:10px}
  .player-page .players-overview-table .overview-name-cell,
  .player-page .players-overview-table thead th:first-child {
    width:126px;min-width:126px;max-width:126px;
    padding-left:6px;padding-right:6px;
  }
  .player-page .players-overview-table.compare-table td.overview-name-cell {padding-left:6px;padding-right:6px}
  .player-page .players-overview-table .overview-player-link::after {
    content:"";display:inline-block;flex:none;width:12px;height:12px;margin-left:3px;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ff444d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12 12 4M6 4h6v6'/%3E%3C/svg%3E") center/contain no-repeat;
  }
  .player-page.no-player-selected .players-overview,
  .player-page #tab-matches.pg-module,
  .player-page #tab-compare.pg-module {
    width:calc(100% + 2 * var(--pg-gutter));
    max-width:none;
    margin-left:calc(-1 * var(--pg-gutter));
    margin-right:calc(-1 * var(--pg-gutter));
  }
  .player-page #tab-matches.pg-module {padding-left:0;padding-right:0;border-left:0;border-right:0;border-radius:0}
  .player-page .players-overview-heading,
  .player-page .players-overview .pg-table-kicker,
  .player-page .players-overview .players-overview-note,
  .player-page #tab-matches .pg-module-heading,
  .player-page #tab-matches .pg-table-kicker,
  .player-page #tab-compare .pg-module-heading,
  .player-page #tab-compare .pg-table-kicker {padding-left:var(--pg-gutter);padding-right:var(--pg-gutter)}
  .player-page .players-overview .players-overview-scroll,
  .player-page #tab-matches .table-wrapper,
  .player-page #tab-compare .pg-compare-scroll {
    width:100%;max-width:none;margin-left:0;margin-right:0;padding-left:0;padding-right:0;
    border-left:0;border-right:0;border-radius:0;
  }
  .player-page .pg-inactive-status {display:none}
  .player-page .pg-compare-person {flex-wrap:nowrap}
  .player-page .moment-emoji {display:none}
  .player-page .moment-emoji.moment-clown {display:inline}
  .player-page .moment-svg {display:block}
  .player-page .moment-svg svg {display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
}

/* GRA Z — statystyki tylko ze wspólnych meczów. */
.player-page #tab-played-with.pg-module{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;isolation:auto}
.player-page #tab-played-with.pg-module::before,.player-page #tab-played-with.pg-module::after{display:none!important}
.player-page #tab-played-with .pg-module-heading{margin:0 0 15px}
.player-page #tab-played-with .pg-table-kicker{margin:0 0 9px}
.player-page #tab-played-with .played-with-scroll{display:block;width:100%;max-width:100%;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;background:#10131b;border:1px solid rgba(255,255,255,.16);border-radius:12px;overflow-x:auto;overflow-y:hidden;box-shadow:0 10px 26px rgba(0,0,0,.2);-webkit-overflow-scrolling:touch;scrollbar-color:#6c2c35 #11151f}
.player-page #tab-played-with .played-with-table{display:table!important;width:100%;min-width:920px;max-width:none;height:auto;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;border-collapse:separate;border-spacing:0;background:transparent;font-variant-numeric:tabular-nums}
.player-page .played-with-table th,.player-page .played-with-table td{border:0;border-bottom:1px solid rgba(255,255,255,.075);padding:13px 10px;text-align:center;white-space:nowrap}
.player-page .played-with-table thead th{background:#1b1e28;color:#aab4c5;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:1px}
.player-page .played-with-table tbody th{color:#f0f2f7;text-align:left;font-size:12px;font-weight:850;background:#11151d}
.player-page .played-with-table tbody td{color:#dce1eb;font-size:12px;font-weight:700}
.player-page .played-with-table tbody tr:nth-child(even){background:rgba(255,255,255,.016)}
.player-page .played-with-table tbody tr:hover{background:rgba(255,68,77,.065)}
.player-page .played-with-table .pw-overall th,.player-page .played-with-table .pw-overall td{background:#211c24;font-weight:900}
.player-page .pw-person{display:inline-flex;align-items:center;gap:8px}
.player-page .pw-person img{width:27px;height:27px;object-fit:cover;border-radius:50%}
.player-page .pw-own{display:inline-block;min-width:32px}
.player-page .pw-other{display:inline-block;margin-left:7px;color:#a4adbb;font-size:11px;font-weight:800}
.player-page .pw-other.is-better{color:#85dca6}.player-page .pw-other.is-worse{color:#ff9298}
.player-page .played-with-table .pw-empty{text-align:center;color:#99a4b5;padding:30px}
.player-page .played-with-legend{margin:12px 0 0;color:#939dad;font-size:11px;line-height:1.6}
.player-page #tab-played-with .played-with-table tbody tr:last-child th,.player-page #tab-played-with .played-with-table tbody tr:last-child td{border-bottom:0}
@media(max-width:640px){
  .player-page #tab-played-with.pg-module{margin-top:18px}
  .player-page #tab-played-with .pg-module-heading{margin-bottom:12px}
  .player-page #tab-played-with .pg-table-kicker{margin-bottom:7px}
}
@media(max-width:768px){
  .player-page #tab-played-with.pg-module{width:calc(100% + 2 * var(--pg-gutter));max-width:none;margin-left:calc(-1 * var(--pg-gutter));margin-right:calc(-1 * var(--pg-gutter));padding-left:0;padding-right:0;border-left:0;border-right:0;border-radius:0}
  .player-page #tab-played-with .pg-module-heading,.player-page #tab-played-with .pg-table-kicker,.player-page #tab-played-with .played-with-legend{padding-left:var(--pg-gutter);padding-right:var(--pg-gutter)}
  .player-page #tab-played-with .played-with-scroll{width:100%;max-width:none;border-left:0;border-right:0;border-radius:0}
  .player-page #tab-played-with .played-with-table{min-width:800px}
  .player-page .played-with-table th,.player-page .played-with-table td{padding:10px 7px}
  .player-page .pw-person img{width:22px;height:22px}
}

/* Wykresy — wybór kilku zawodników. */
.player-page.no-player-selected #tab-graphs .graph-comparison{display:none}
.player-page #tab-graphs .graph-comparison{display:flex;align-items:center;gap:14px;min-width:0;margin:-3px 0 15px;padding:9px 11px;background:#10131b;border:1px solid rgba(255,255,255,.13);border-radius:9px}
.player-page .graph-comparison>strong{flex:none;color:#f1f3f8;font-size:10px;font-weight:900;letter-spacing:.9px;white-space:nowrap}
.player-page .graph-comparison>strong small{display:block;margin-top:2px;color:#858f9e;font-size:9px;font-weight:700;letter-spacing:0;text-transform:none}
.player-page .graph-comparison-players{display:flex;align-items:center;gap:5px;min-width:0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#596273 transparent}
.player-page .graph-player-button{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:5px 9px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.12);border-radius:5px;color:#aeb6c4;font-family:inherit;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.player-page .graph-player-button::before{content:"";width:7px;height:7px;flex:none;border-radius:50%;background:var(--graph-player-color)}
.player-page .graph-player-button.is-selected{color:#fff;background:color-mix(in srgb,var(--graph-player-color) 17%,#10131b);border-color:var(--graph-player-color);box-shadow:inset 0 -2px 0 var(--graph-player-color)}
.player-page .graph-player-button:focus-visible{outline:2px solid var(--graph-player-color);outline-offset:2px}
@media(max-width:640px){
  .player-page #tab-graphs .graph-comparison{gap:7px;margin:-5px 0 9px;padding:5px 6px;border-radius:6px}
  .player-page .graph-comparison>strong{font-size:8px;letter-spacing:.2px}
  .player-page .graph-comparison>strong small{display:none}
  .player-page .graph-comparison-players{gap:4px}
  .player-page .graph-player-button{min-height:25px;padding:3px 6px;gap:4px;font-size:9px}
  .player-page .graph-player-button::before{width:6px;height:6px}
}

/* Mapy zawodnika — ranking i rozwijany bilans jak na stronie zespołu. */
.player-page #tab-maps .maps-grid{display:block;min-width:0}
.player-page .pg-map-ranking{min-width:0;color:#f6f7fa}
.player-page .pg-map-ranking-head,.player-page .pg-map-row{display:grid;grid-template-columns:minmax(185px,2.1fr) minmax(94px,1.05fr) minmax(96px,1.1fr) repeat(4,minmax(50px,.7fr)) minmax(58px,.68fr) minmax(58px,.68fr) 25px;column-gap:12px;align-items:center}
.player-page .pg-map-ranking-head{padding:10px 15px 11px;color:#8793a7;font-size:9px;font-weight:900;letter-spacing:1.1px;white-space:nowrap}
.player-page .pg-map-ranking-head span:nth-child(n+4){text-align:center}
.player-page .pg-map-ranking-list{padding:0 12px;overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:#10131b;box-shadow:0 10px 26px rgba(0,0,0,.2)}
.player-page .pg-map-entry{border-bottom:1px solid rgba(255,255,255,.075)}
.player-page .pg-map-entry:last-child{border-bottom:0}
.player-page .pg-map-entry.is-active{background:rgba(255,68,77,.055)}
.player-page button.pg-map-row{appearance:none;width:100%;min-height:65px;margin:0;padding:11px 13px;border:0;border-radius:7px;background:transparent;color:inherit;font-family:inherit;font-size:13px;text-align:left;cursor:pointer}
.player-page button.pg-map-row:hover{background:rgba(255,255,255,.045)}
.player-page button.pg-map-row:focus-visible{outline:2px solid #ff5c69;outline-offset:-2px}
.player-page .pg-map-entry.is-active button.pg-map-row{background:linear-gradient(90deg,rgba(255,69,87,.12),rgba(255,69,87,.025));box-shadow:inset 3px 0 0 #ff4e5e}
.player-page .pg-map-identity{display:flex;align-items:center;gap:10px;min-width:0}
.player-page .pg-map-position{flex:0 0 24px;width:24px;color:#758092;text-align:center;font-size:12px;font-weight:900;font-variant-numeric:tabular-nums}
.player-page .pg-map-entry:first-child .pg-map-position{color:#ffda9a}
.player-page .pg-map-thumb{flex:0 0 38px;width:38px;height:38px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:#202a37 center/cover no-repeat}
.player-page .pg-map-name{display:flex;flex-direction:column;gap:5px;min-width:0}
.player-page .pg-map-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f4f6fa;font-size:14px;font-weight:900;text-transform:uppercase}
.player-page .pg-map-name small{color:#8792a4;font-size:10px;font-weight:650;white-space:nowrap}
.player-page .pg-map-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;font-variant-numeric:tabular-nums}
.player-page .pg-map-cell>small{display:none}
.player-page .pg-map-cell>strong{font-size:14px;font-weight:900;line-height:1.1;white-space:nowrap}
.player-page .pg-map-count,.player-page .pg-map-win{align-items:flex-start}
.player-page .pg-map-win>strong{color:#63e69d}
.player-page .pg-map-track,.player-page .pg-map-wintrack{display:block;width:100%;height:4px;overflow:hidden;border-radius:50px;background:rgba(120,134,167,.18)}
.player-page .pg-map-track>i,.player-page .pg-map-wintrack>i{display:block;height:100%;border-radius:inherit;background:#628bff}
.player-page .pg-map-wintrack{background:rgba(255,86,96,.20)}
.player-page .pg-map-wintrack>i{background:linear-gradient(90deg,#2fc46d,#6ae49b)}
.player-page .pg-map-side strong{display:inline-flex;align-items:center;justify-content:center;min-width:52px;padding:5px 6px;border:1px solid;border-radius:7px;font-size:12px}
.player-page .pg-map-side-t strong{color:#ff909a;background:rgba(255,82,96,.11);border-color:rgba(255,82,96,.20)}
.player-page .pg-map-side-ct strong{color:#9dd6ff;background:rgba(60,157,255,.12);border-color:rgba(60,157,255,.24)}
.player-page .pg-map-chevron{display:grid;place-items:center;justify-self:end;width:25px;height:25px;border-radius:7px;background:rgba(255,255,255,.045);color:#8f9cad;transition:transform .18s ease}
.player-page .pg-map-chevron svg{width:15px;height:15px}
.player-page .pg-map-entry.is-active .pg-map-chevron{transform:rotate(180deg);background:rgba(255,74,88,.17);color:#ffb8bf}
.player-page .pg-map-details{padding:18px 16px 20px;border-top:1px solid rgba(255,255,255,.08);background:rgba(3,5,10,.25)}
.player-page .pg-map-details[hidden]{display:none!important}
.player-page .pg-map-detail-heading{display:flex;align-items:baseline;gap:10px;margin-bottom:12px}
.player-page .pg-map-detail-heading strong{color:#fff;font-size:16px;font-weight:900;text-transform:uppercase}
.player-page .pg-map-detail-heading span{color:#8792a4;font-size:11px}
.player-page .pg-map-detail-stats{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.player-page .pg-map-detail-stats>span{display:flex;flex-direction:column;gap:7px;min-width:0;padding:11px;border:1px solid rgba(255,255,255,.08);border-radius:7px;background:rgba(255,255,255,.035);color:#a2adbc;font-size:10px;font-weight:800}
.player-page .pg-map-detail-stats strong{color:#fff;font-size:17px;font-weight:900;font-variant-numeric:tabular-nums}
.player-page .pg-map-detail-stats .result-win{color:#63e69d}
.player-page .pg-map-detail-stats .result-lose{color:#ff909a}
.player-page .pg-map-detail-stats .result-tie{color:#f0cb77}
@media(max-width:1180px){
  .player-page .pg-map-ranking-head{display:none}
  .player-page button.pg-map-row{grid-template-columns:repeat(12,minmax(0,1fr));row-gap:12px;padding:15px}
  .player-page .pg-map-identity{grid-column:1 / span 5}
  .player-page .pg-map-count{grid-column:6 / span 3}
  .player-page .pg-map-win{grid-column:9 / span 3}
  .player-page .pg-map-chevron{grid-column:12;grid-row:1}
  .player-page .pg-map-kd{grid-column:1 / span 2}
  .player-page .pg-map-adr{grid-column:3 / span 2}
  .player-page .pg-map-rating{grid-column:5 / span 2}
  .player-page .pg-map-kast{grid-column:7 / span 2}
  .player-page .pg-map-side-t{grid-column:9 / span 2}
  .player-page .pg-map-side-ct{grid-column:11 / span 2}
  .player-page .pg-map-cell>small{display:block;color:#78869b;font-size:9px;font-weight:900;letter-spacing:.7px}
  .player-page .pg-map-count,.player-page .pg-map-win{align-items:center}
  .player-page .pg-map-count>i,.player-page .pg-map-win>i{max-width:115px}
  .player-page .pg-map-detail-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:640px){
  .player-page .pg-map-ranking-list{padding:0 7px}
  .player-page button.pg-map-row{grid-template-columns:repeat(6,minmax(0,1fr));column-gap:6px;row-gap:11px;padding:12px 7px}
  .player-page .pg-map-identity{grid-column:1 / span 5;grid-row:1;gap:8px}
  .player-page .pg-map-position{flex-basis:20px;width:20px}
  .player-page .pg-map-thumb{flex-basis:34px;width:34px;height:34px}
  .player-page .pg-map-name strong{font-size:13px}
  .player-page .pg-map-chevron{grid-column:6;grid-row:1}
  .player-page .pg-map-count{grid-column:1 / span 3;grid-row:2}
  .player-page .pg-map-win{grid-column:4 / span 3;grid-row:2}
  .player-page .pg-map-kd{grid-column:1;grid-row:3}
  .player-page .pg-map-adr{grid-column:2;grid-row:3}
  .player-page .pg-map-rating{grid-column:3;grid-row:3}
  .player-page .pg-map-kast{grid-column:4;grid-row:3}
  .player-page .pg-map-side-t{grid-column:5;grid-row:3}
  .player-page .pg-map-side-ct{grid-column:6;grid-row:3}
  .player-page .pg-map-cell>small{font-size:8px;letter-spacing:0}
  .player-page .pg-map-cell>strong{font-size:11px}
  .player-page .pg-map-side strong{min-width:0;padding:4px 3px;font-size:10px}
  .player-page .pg-map-details{padding:14px 9px 16px}
  .player-page .pg-map-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .player-page .pg-map-detail-heading{flex-direction:column;gap:2px}
}

/* Mecze gracza — układ tabeli z Historii meczów, z obecnymi 14 kolumnami. */
.player-page #tab-matches .pg-matches-scroll{display:block;width:100%;max-width:100%;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;overflow-x:auto;overflow-y:hidden;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:#10131b;box-shadow:0 10px 26px rgba(0,0,0,.2);-webkit-overflow-scrolling:touch;scrollbar-color:#6c2c35 #11151f}
.player-page #tab-matches .pg-matches-table{display:table!important;width:100%;min-width:1220px;max-width:none;height:auto;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;border-collapse:separate;border-spacing:0;table-layout:auto;background:transparent}
.player-page #tab-matches .pg-matches-table th,.player-page #tab-matches .pg-matches-table td{border:0;border-bottom:1px solid rgba(255,255,255,.075);padding:14px 12px;text-align:center;vertical-align:middle;white-space:nowrap;font-variant-numeric:tabular-nums}
.player-page #tab-matches .pg-matches-table th{background:#1b1e28;color:#aab4c5;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:1px}
.player-page #tab-matches .pg-matches-table td{height:auto;color:#dce1eb;font-size:14px;font-weight:650}
.player-page #tab-matches .pg-matches-table .pg-match-row:nth-child(even){background:rgba(255,255,255,.016)}
.player-page #tab-matches .pg-matches-table .pg-match-row:hover{background:rgba(255,68,77,.065)}
.player-page #tab-matches .pg-matches-table .pg-match-row.is-win td:first-child{box-shadow:inset 3px 0 0 #35bd70}
.player-page #tab-matches .pg-matches-table .pg-match-row.is-loss td:first-child{box-shadow:inset 3px 0 0 #f25762}
.player-page #tab-matches .pg-matches-table .pg-match-row.is-draw td:first-child{box-shadow:inset 3px 0 0 #e6b45a}
.player-page #tab-matches .pg-matches-table tbody tr:last-child td{border-bottom:0}
.player-page #tab-matches .pg-matches-table .date-cell{min-width:150px;color:#aab3c3;text-align:left}
.player-page #tab-matches .pg-match-date{display:grid;gap:4px}
.player-page #tab-matches .pg-match-date strong{font-size:14px;font-weight:700}
.player-page #tab-matches .pg-match-date small{color:#8590a2;font-size:10px}
.player-page #tab-matches .pg-matches-table .map-cell{min-width:160px;background:transparent!important;background-image:none!important;text-shadow:none}
.player-page #tab-matches .pg-match-map{display:flex;align-items:center;gap:9px;text-align:left}
.player-page #tab-matches .pg-match-map img{flex:none;width:53px;height:36px;object-fit:cover;border:1px solid rgba(255,255,255,.15);border-radius:5px}
.player-page #tab-matches .pg-match-map strong{overflow:hidden;text-overflow:ellipsis;color:#fff;font-size:14px;font-weight:900;text-transform:uppercase}
.player-page #tab-matches .pg-matches-table .score-cell{font-size:14px;font-weight:900;text-shadow:none}
.player-page #tab-matches .pg-matches-table .score-cell.result-win{color:#69e48b}
.player-page #tab-matches .pg-matches-table .score-cell.result-lose{color:#ff6570}
.player-page #tab-matches .pg-matches-table .score-cell.result-tie{color:#ffce83}
.player-page #tab-matches .open-match-btn{min-height:31px;padding:0 9px;font-size:14px;border-radius:5px;cursor:pointer}
@media(max-width:768px){
  .player-page #tab-matches .pg-matches-scroll{width:100%;max-width:none;border-left:0;border-right:0;border-radius:0}
  .player-page #tab-matches .pg-matches-table{min-width:1120px}
  .player-page #tab-matches .pg-matches-table th,.player-page #tab-matches .pg-matches-table td{padding:10px 7px}
  .player-page #tab-matches .pg-matches-table .date-cell{min-width:112px}
  .player-page #tab-matches .pg-matches-table .map-cell{min-width:115px}
  .player-page #tab-matches .pg-match-map{gap:5px}
  .player-page #tab-matches .pg-match-map img{display:none}
}

/* Dopasowanie dolnych paneli i listy meczów do karty referencyjnej. */
.player-page #tab-stats .stats-section{grid-template-rows:auto 1fr;align-content:start}
.player-page #tab-stats .stats-section h3{min-height:30px;align-self:start}
.player-page #tab-stats .stats-general .stats-cards{align-self:start}
.player-page #tab-stats .stats-general .stat-card{min-height:28px;padding:3px 6px}
.player-page #tab-stats .stats-clutch .stats-cards{align-self:start;grid-template-columns:1.4fr repeat(4,minmax(0,1fr));grid-auto-rows:82px;gap:6px}
.player-page #tab-stats .stats-clutch .stat-card{min-height:0;align-items:flex-start;justify-content:center;padding:8px}
.player-page #tab-stats .stats-clutch .stat-card:first-child{min-height:0;align-items:center;justify-content:center;grid-row:span 2}
.player-page #tab-stats .stats-clutch .stat-card:first-child .metric-icon{width:35px;height:35px}
.player-page #tab-stats .stats-clutch .stat-card:first-child .metric-icon svg{width:25px;height:25px}
.player-page #tab-stats .stats-clutch .stat-card:first-child strong{font-size:36px}
.player-page #tab-stats .stats-utility .stats-cards{align-self:start;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
.player-page #tab-stats .stats-utility .stat-card{min-height:40px;padding:5px 7px}
.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+4){grid-column:span 3}
.player-page #tab-stats .stats-utility .stat-card:nth-child(5){grid-column:span 6}
.player-page #tab-stats .stats-utility .stat-card:nth-child(n+6){grid-column:span 2;min-height:42px;padding:6px;justify-content:center}
.player-page #tab-stats .stats-utility .stat-card:nth-child(n+6)>span{font-size:10px}
.player-page #tab-stats .stats-utility .stat-card:nth-child(n+6) strong{font-size:16px}
.player-page #tab-stats .recent-matches{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.player-page #tab-stats .match-card{grid-template-columns:108px minmax(0,1fr);min-height:106px}
.player-page #tab-stats .match-map{min-height:106px}
.player-page #tab-stats .match-info{padding:9px 10px;gap:5px}
.player-page #tab-stats .match-info h4{font-size:12px}
.player-page #tab-stats .match-info .match-result{font-size:20px}
@media(max-width:1150px){.player-page #tab-stats .recent-matches{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.player-page #tab-stats .stats-utility .stats-cards{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:540px){.player-page #tab-stats .recent-matches{grid-template-columns:1fr}.player-page #tab-stats .match-card{grid-template-columns:100px minmax(0,1fr)}}

/* K/D/A: grafika amunicji i proporcje wierszy jak w projekcie. */
.player-page #tab-stats .stats-visual-card:first-child{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#1e222d,#111925 77%,#2c1829)}
.player-page #tab-stats .stats-visual-card:first-child::after{content:"";position:absolute;right:-27px;bottom:-72px;width:220px;height:220px;z-index:0;background:url('zdjecia/kda-ammo.webp') center/contain no-repeat;opacity:.9;filter:drop-shadow(0 0 18px #b6213a65);mask-image:linear-gradient(90deg,transparent,#000 30%)}
.player-page #tab-stats .stats-visual-card:first-child .pg-mini-heading,.player-page #tab-stats .stats-kda-bars{position:relative;z-index:1}
.player-page #tab-stats .stats-visual-card:first-child .pg-mini-heading{margin:0 0 6px;min-height:30px}
.player-page #tab-stats .stats-visual-card:first-child .pg-mini-heading h4{display:flex;align-items:center;gap:10px;font-size:14px}
.player-page #tab-stats .stats-visual-card:first-child .pg-mini-heading h4 svg{color:#ff5366;flex:none}
.player-page #tab-stats .stats-kda-mark{margin-right:8px;color:#8892a3;font-size:21px;font-weight:1000;font-style:italic;letter-spacing:-2px;opacity:.55}
.player-page #tab-stats .stats-kda-bars{width:calc(100% - 138px);gap:2px}
.player-page #tab-stats .stats-kda-row{grid-template-columns:30px minmax(72px,120px) 60px minmax(60px,1fr);gap:9px;min-height:31px;padding:2px 0;border-bottom:1px solid #ffffff12}
.player-page #tab-stats .stats-kda-row:last-child{border-bottom:0}
.player-page #tab-stats .stats-kda-row .stats-visual-icon{width:27px;height:27px}
.player-page #tab-stats .stats-kda-row>span:nth-child(2){font-size:11px;color:#e2e8f3}
.player-page #tab-stats .stats-kda-row strong{font-size:17px}
.player-page #tab-stats .stats-kda-row i{height:10px;background:#303a49}
@media(max-width:900px){.player-page #tab-stats .stats-kda-bars{width:calc(100% - 105px)}.player-page #tab-stats .stats-visual-card:first-child::after{right:-45px;opacity:.65}}
@media(max-width:760px){.player-page #tab-stats .stats-kda-bars{width:100%}.player-page #tab-stats .stats-visual-card:first-child::after{right:-30px;bottom:-90px;opacity:.2;mask-image:linear-gradient(90deg,transparent,#000 25%)}.player-page #tab-stats .stats-kda-mark{display:none}}
@media(max-width:540px){.player-page #tab-stats .stats-kda-row{grid-template-columns:27px minmax(60px,88px) 52px minmax(55px,1fr);gap:6px}.player-page #tab-stats .stats-kda-row strong{font-size:15px}}

/* Rozkład wyników i kafelki pod wykresami. */
.player-page #tab-stats .stats-visual-card:nth-child(2) .stats-results-ring{justify-content:space-between;gap:clamp(24px,4vw,58px);padding:0 20px 0 26px}
.player-page #tab-stats .stats-visual-card:nth-child(2) .stats-result-legend{max-width:300px}
.player-page #tab-stats .stats-header-grid .summary-matches{background:radial-gradient(circle at 88% 85%,#aa2e4759,transparent 55%),linear-gradient(135deg,#37202b,#161a25)}
.player-page #tab-stats .stats-header-grid .summary-matches::after{content:"";position:absolute;right:-9px;bottom:-70px;width:110px;height:130px;background:url('../zespol/assets/map-t-operator.webp') right bottom/contain no-repeat;opacity:.55;filter:drop-shadow(0 0 12px #bb2d4677);mask-image:linear-gradient(90deg,transparent 0%,#000 35%);pointer-events:none}
.player-page #tab-stats .stats-header-grid .summary-matches>span,.player-page #tab-stats .stats-header-grid .summary-matches>strong,.player-page #tab-stats .stats-header-grid .summary-matches .summary-icon{z-index:1}
.player-page #tab-stats .stats-header-grid .stat-card em{padding:4px 10px;font-size:13px;font-weight:900;line-height:1;min-width:55px;text-align:center;border:1px solid currentColor}
.player-page #tab-stats .stats-result-legend>div small{margin-left:14px}
@media(max-width:760px){.player-page #tab-stats .stats-visual-card:nth-child(2) .stats-results-ring{gap:18px;padding:0 12px}}
@media(max-width:540px){.player-page #tab-stats .stats-visual-card:nth-child(2) .stats-results-ring{gap:10px;padding:0 2px}.player-page #tab-stats .stats-result-legend>div small{margin-left:7px}.player-page #tab-stats .stats-header-grid .stat-card em{font-size:10px;min-width:0;padding:3px 5px}.player-page #tab-stats .stats-header-grid .summary-matches::after{opacity:.38;width:90px}}

/* Trzy panele statystyk: paski, ikony i równe karty. */
.player-page #tab-stats .stats-grid{align-items:stretch}
.player-page #tab-stats .stats-grid>.stats-section{height:100%;min-height:348px}
.player-page #tab-stats .stats-general .stat-card.has-meter{grid-template-columns:26px minmax(45px,1fr) auto minmax(55px,105px)}
.player-page #tab-stats .metric-meter{display:block;height:6px;min-width:0;border-radius:99px;background:#3b4554;overflow:hidden}
.player-page #tab-stats .metric-meter>b{display:block;height:100%;border-radius:inherit;background:#89b9ff}
.player-page #tab-stats .metric-green .metric-meter>b{background:#54d59b}
.player-page #tab-stats .metric-red .metric-meter>b{background:#ff6077}
.player-page #tab-stats .stats-general .stat-card.is-rating{background:linear-gradient(90deg,#602b3d,#201d2c);border:1px solid #f3586d;box-shadow:inset 3px 0 #ff6279}
.player-page #tab-stats .stats-general .stat-card.is-rating .metric-icon{color:#ff8293}
.player-page #tab-stats .stats-general .stat-card.is-rating strong{font-size:17px}
.player-page #tab-stats .stats-clutch .stat-card.metric-green{border-color:#3cba806b;background:linear-gradient(140deg,#193c32,#172532)}
.player-page #tab-stats .stats-clutch .stat-card.metric-green>span,.player-page #tab-stats .stats-clutch .stat-card.metric-green strong{color:#78e7ab}
.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5){grid-template-columns:28px minmax(0,1fr) auto;grid-template-rows:auto 6px;min-height:51px;padding:7px 8px;column-gap:7px;row-gap:3px}
.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5) .metric-icon{grid-row:1/3;align-self:center;width:26px;height:26px;border-radius:7px;background:currentColor;display:grid;place-items:center}
.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5) .metric-icon svg{width:17px;height:17px;filter:brightness(0) invert(1)}
.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5)>span{grid-column:2;font-size:11px}
.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5)>strong{grid-column:3;font-size:14px}
.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5) .metric-meter{grid-column:2/4;grid-row:2;height:5px}
.player-page #tab-stats .stats-utility .metric-green .metric-icon{color:#49d99a}
.player-page #tab-stats .stats-utility .metric-blue .metric-icon{color:#77b3ff}
.player-page #tab-stats .stats-utility .metric-red .metric-icon{color:#ff7186}
.player-page #tab-stats .stats-utility .metric-violet .metric-icon{color:#b29aff}
.player-page #tab-stats .stats-utility .stat-card:nth-child(n+6){display:grid;grid-template-columns:25px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;align-items:center;column-gap:6px;min-height:44px}
.player-page #tab-stats .stats-utility .stat-card:nth-child(n+6) .metric-icon{display:grid;grid-column:1;grid-row:1/3;place-items:center;width:23px;height:23px}
.player-page #tab-stats .stats-utility .stat-card:nth-child(n+6) .metric-icon svg{width:19px;height:19px}
.player-page #tab-stats .stats-utility .stat-card:nth-child(n+6)>span{grid-column:2;grid-row:1;line-height:1.1}
.player-page #tab-stats .stats-utility .stat-card:nth-child(n+6)>strong{grid-column:2;grid-row:2;line-height:1.1}
@media(max-width:760px){.player-page #tab-stats .stats-grid>.stats-section{height:auto;min-height:0}}
@media(max-width:540px){.player-page #tab-stats .stats-general .stat-card.has-meter{grid-template-columns:23px minmax(43px,1fr) auto minmax(40px,72px)}.player-page #tab-stats .stats-utility .stat-card:nth-child(n+6){grid-template-columns:20px minmax(0,1fr);column-gap:4px}.player-page #tab-stats .stats-utility .stat-card:nth-child(n+6) .metric-icon svg{width:16px;height:16px}}

/* Średnia i suma w jednym wierszu. */
.player-page #tab-stats .stats-general .stats-cards{align-self:stretch;grid-auto-rows:minmax(34px,1fr)}
.player-page #tab-stats .stats-general .stat-card.is-dual{display:grid;grid-template-columns:26px minmax(58px,1fr) auto auto;min-height:36px;column-gap:7px;padding:5px 7px}
.player-page #tab-stats .stats-general .stat-card.is-dual>span{font-size:11px;white-space:nowrap}
.player-page #tab-stats .stats-general .stat-card.is-dual strong{display:inline-flex;align-items:baseline;gap:4px;white-space:nowrap;font-size:13px;letter-spacing:0}
.player-page #tab-stats .stats-general .stat-card.is-dual strong small{font-size:8px;letter-spacing:.3px;color:#8799ae;font-weight:800}
.player-page #tab-stats .stats-general .stat-card.is-dual .metric-total{padding-left:8px;border-left:1px solid #ffffff24}
@media(max-width:540px){.player-page #tab-stats .stats-general .stat-card.is-dual{grid-template-columns:22px minmax(55px,1fr) auto auto;column-gap:4px;padding:4px}.player-page #tab-stats .stats-general .stat-card.is-dual strong{font-size:11px;gap:2px}.player-page #tab-stats .stats-general .stat-card.is-dual strong small{font-size:7px}.player-page #tab-stats .stats-general .stat-card.is-dual .metric-total{padding-left:5px}}

/* Clutche i multikille wypełniają wysokość wspólnego rzędu. */
@media(min-width:1151px){.player-page #tab-stats .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.player-page #tab-stats .stats-clutch .stats-cards{align-self:stretch;grid-template-columns:1.35fr repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:7px}
.player-page #tab-stats .stats-clutch .stat-card{min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;padding:7px 4px}
.player-page #tab-stats .stats-clutch .stat-card .metric-icon{display:grid;place-items:center;width:28px;height:28px;color:#bdcadb}
.player-page #tab-stats .stats-clutch .stat-card .metric-icon svg{width:22px;height:22px}
.player-page #tab-stats .stats-clutch .stat-card>span{font-size:12px;color:#d3dbe8;line-height:1}
.player-page #tab-stats .stats-clutch .stat-card strong{font-size:clamp(20px,2vw,27px);line-height:1;color:#fff}
.player-page #tab-stats .stats-clutch .stat-card:first-child{grid-row:span 2;gap:12px;border-color:#f35e72;background:linear-gradient(145deg,#532330,#1f1b2a)}
.player-page #tab-stats .stats-clutch .stat-card:first-child .metric-icon{width:42px;height:42px;color:#ff6477}
.player-page #tab-stats .stats-clutch .stat-card:first-child .metric-icon svg{width:32px;height:32px}
.player-page #tab-stats .stats-clutch .stat-card:first-child>span{font-size:15px;color:#ff7283}
.player-page #tab-stats .stats-clutch .stat-card:first-child strong{font-size:clamp(36px,3.5vw,48px)}
.player-page #tab-stats .stats-clutch .stat-card.metric-green .metric-icon,.player-page #tab-stats .stats-clutch .stat-card.metric-green>span{color:#4ee49b}
@media(max-width:540px){.player-page #tab-stats .stats-clutch .stats-cards{gap:4px}.player-page #tab-stats .stats-clutch .stat-card .metric-icon{width:22px;height:22px}.player-page #tab-stats .stats-clutch .stat-card .metric-icon svg{width:18px;height:18px}.player-page #tab-stats .stats-clutch .stat-card>span{font-size:10px}.player-page #tab-stats .stats-clutch .stat-card strong{font-size:18px}}

/* Użyteczność: zwarte pełne wiersze jak w ogólnych statystykach. */
@media(min-width:1151px){.player-page #tab-stats .stats-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1fr) minmax(0,1.2fr)}}
.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5){
  position:relative;display:grid;grid-column:1/-1;
  grid-template-columns:25px minmax(0,1fr) auto;grid-template-rows:auto;
  align-items:center;column-gap:7px;row-gap:0;
  min-height:36px;padding:5px 8px 7px;
}
.player-page #tab-stats .stats-utility .stat-card.is-dual:nth-child(-n+5){grid-template-columns:25px minmax(0,1fr) auto auto}
.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5) .metric-icon{
  grid-column:1;grid-row:1;width:23px;height:23px;
}
.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5)>span{
  grid-column:2;grid-row:1;min-width:0;white-space:normal;
  font-size:11px;font-weight:800;line-height:1.1;
}
.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5)>strong{grid-column:3;grid-row:1;font-size:13px}
.player-page #tab-stats .stats-utility .stat-card.is-dual:nth-child(-n+5) strong{
  display:inline-flex;align-items:baseline;justify-content:flex-end;
  gap:3px;white-space:nowrap;font-size:13px;line-height:1;
}
.player-page #tab-stats .stats-utility .stat-card.is-dual:nth-child(-n+5) strong small{
  color:#94a5bb;font-size:8px;font-weight:800;
}
.player-page #tab-stats .stats-utility .stat-card.is-dual:nth-child(-n+5) .metric-average{grid-column:3;grid-row:1}
.player-page #tab-stats .stats-utility .stat-card.is-dual:nth-child(-n+5) .metric-total{
  grid-column:4;grid-row:1;padding-left:7px;border-left:1px solid #ffffff25;
}
.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5) .metric-meter{
  position:absolute;left:40px;right:8px;bottom:2px;
  grid-column:auto;grid-row:auto;width:auto;height:2px;min-width:0;
  background:#ffffff18;
}

/* Ostatnie mecze: miniatura i treść jak w karcie referencyjnej. */
.player-page #tab-stats .recent-matches{gap:10px}
.player-page #tab-stats .match-card{grid-template-columns:38% minmax(0,1fr);min-height:112px;border:1px solid #303c4f;border-left:4px solid #e3b93d;border-radius:11px;background:linear-gradient(120deg,#1b2734,#101722 78%);box-shadow:inset 0 1px #ffffff0d}
.player-page #tab-stats .match-card.match-win{border-left-color:#32d17f}.player-page #tab-stats .match-card.match-loss{border-left-color:#f25165}
.player-page #tab-stats .match-map{height:auto;min-height:0;margin:6px 0 6px 5px;align-self:stretch;border-radius:9px;background-position:center}
.player-page #tab-stats .match-map::after{border-radius:inherit;background:linear-gradient(90deg,#07111a10,#07111a50)}
.player-page #tab-stats .match-info{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:8px 10px 8px 14px;min-width:0}
.player-page #tab-stats .match-info h4{max-width:100%;font-size:13px;line-height:1.1;letter-spacing:.1px;color:#f4f7fc}
.player-page #tab-stats .match-info .match-result{font-size:22px;line-height:1.05;letter-spacing:-.4px}
.player-page #tab-stats .match-result-chip,.player-page #tab-stats .side-chip{font-size:9px;line-height:1.1;padding:3px 7px;border:1px solid #ffffff19;border-radius:6px}
.player-page #tab-stats .match-result-chip.win{border-color:#42d98a78;background:#0a4c3580;color:#6af2a6}
.player-page #tab-stats .match-result-chip.loss{border-color:#ef5c6d78;background:#61253180;color:#ff99a5}
.player-page #tab-stats .match-result-chip.draw{border-color:#e5bc5378;background:#4c3b1980;color:#ffe18a}
.player-page #tab-stats .match-date{display:inline-flex;align-items:center;gap:5px;color:#b5c3d6;font-size:10px;line-height:1.1;white-space:nowrap}
.player-page #tab-stats .match-date svg{flex:none;color:#cbd7e7}
@media(max-width:540px){.player-page #tab-stats .match-card{grid-template-columns:38% minmax(0,1fr)}.player-page #tab-stats .match-info{padding:7px 8px 7px 11px}.player-page #tab-stats .match-info h4{font-size:12px}.player-page #tab-stats .match-info .match-result{font-size:20px}}

/* Rozkład meczów: ten sam rytm trzech wierszy co K/D/A. */
.player-page #tab-stats .stats-result-legend{height:100%;align-content:center;grid-auto-rows:31px;gap:2px}
.player-page #tab-stats .stats-result-legend>div{min-height:31px;padding:2px 0;column-gap:9px;border-bottom:1px solid #ffffff18;font-size:11px}
.player-page #tab-stats .stats-result-legend>div:last-child{border-bottom:0}
.player-page #tab-stats .stats-result-legend strong{font-size:17px;line-height:1.1;font-variant-numeric:tabular-nums}
.player-page #tab-stats .stats-result-legend small{font-size:12px;line-height:1.1;font-variant-numeric:tabular-nums}
@media(max-width:540px){.player-page #tab-stats .stats-result-legend>div{column-gap:4px}.player-page #tab-stats .stats-result-legend strong{font-size:15px}.player-page #tab-stats .stats-result-legend small{font-size:10px}.player-page #tab-stats .stats-result-legend>div small{margin-left:5px}}

/* Pierścień wyników jak w bilansie zespołu: oddzielone, zaokrąglone segmenty. */
.player-page #tab-stats .stats-result-donut{position:relative;isolation:isolate;background:radial-gradient(circle,#1d2c3d 0 48%,#122030 59%,transparent 68%);box-shadow:0 0 0 1px #8ca5bf24,0 0 28px #39dc8c18}
.player-page #tab-stats .stats-result-donut::before{content:"";position:absolute;inset:8px;border:1px solid #9bb3ca24;border-radius:50%;pointer-events:none}
.player-page #tab-stats .stats-result-donut svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;transform:rotate(-90deg);fill:none}
.player-page #tab-stats .stats-result-donut svg circle{stroke-width:12;stroke-linecap:round}
.player-page #tab-stats .stats-result-donut svg .track{stroke:#334151;opacity:.55}
.player-page #tab-stats .stats-result-donut svg .win{stroke:#38dc8e}.player-page #tab-stats .stats-result-donut svg .loss{stroke:#ff6475}.player-page #tab-stats .stats-result-donut svg .draw{stroke:#f6c966}
.player-page #tab-stats .stats-result-donut>span{position:relative;z-index:1;width:72px;height:72px;background:radial-gradient(circle,#1d2a39,#101a27 76%);box-shadow:inset 0 0 16px #0006}
.player-page #tab-stats .stats-result-donut strong{font-size:25px}
.player-page #tab-stats .stats-result-donut small{max-width:60px;font-size:7px;line-height:1.2;text-align:center;letter-spacing:.3px;color:#bdcad9}
@media(max-width:540px){.player-page #tab-stats .stats-result-donut>span{width:62px;height:62px}.player-page #tab-stats .stats-result-donut strong{font-size:22px}.player-page #tab-stats .stats-result-donut small{font-size:6px;max-width:50px}}

/* Centrum dowodzenia: spójne pola i stylowane rozwijane listy. */
.player-page .filters-panel.pg-shell-panel.is-select-open{overflow:visible;z-index:30}
.player-page .filter-item{position:relative}
.player-page .filter-item label{display:inline-flex;align-items:center;gap:6px;color:#b9c6d8}
.player-page .filter-item label::before{content:"";width:3px;height:12px;border-radius:2px;background:#ed4a60;box-shadow:0 0 9px #ed4a6070}
.player-page .filter-item:focus-within label{color:#ff8493}
.player-page .pg-enhanced-select{position:relative;min-width:0}
.player-page .pg-enhanced-select.is-open{z-index:40}
.player-page .pg-enhanced-select select{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;opacity:0;pointer-events:none;overflow:hidden}
.player-page .filter-item .pg-select-trigger,.player-page .filter-item input[type="date"]{width:100%;height:49px;min-height:49px;border:1px solid #38485c;border-radius:10px;background:linear-gradient(145deg,#1b2634,#0d1622);box-shadow:inset 0 1px #ffffff0d,0 5px 14px #0002;color:#f4f7fc;font-size:13px;font-weight:750;transition:border-color .18s,box-shadow .18s,background .18s}
.player-page .filter-item .pg-select-trigger{display:flex;align-items:center;gap:10px;text-align:left;padding:6px 9px 6px 10px;cursor:pointer}
.player-page .filter-item .pg-select-trigger:hover,.player-page .filter-item input[type="date"]:hover{border-color:#8e6375;background:linear-gradient(145deg,#242d3b,#121b28)}
.player-page .filter-item .pg-select-trigger:focus-visible,.player-page .filter-item .pg-enhanced-select.is-open .pg-select-trigger,.player-page .filter-item input[type="date"]:focus{outline:none;border-color:#f05a70;box-shadow:0 0 0 3px #e8435b20,inset 0 1px #ffffff13}
.player-page .pg-select-avatar{flex:none;width:31px;height:31px;object-fit:contain;border-radius:7px;background:#2b3441;border:1px solid #ffffff1a}
.player-page .pg-select-map-icon{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:7px;color:#78b7ff;background:#398dda1f}
.player-page .pg-select-current{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.player-page .pg-select-chevron{flex:none;display:grid;place-items:center;width:26px;height:26px;border:1px solid #68778e4d;border-radius:7px;color:#ccd7e6;background:#ffffff0a;transition:transform .18s,color .18s}
.player-page .pg-enhanced-select.is-open .pg-select-chevron{transform:rotate(180deg);color:#ff8292}
.player-page .pg-select-options{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:50;max-height:min(330px,52vh);overflow-y:auto;padding:6px;border:1px solid #57687e;border-radius:12px;background:linear-gradient(160deg,#202c3b,#101925 75%);box-shadow:0 18px 40px #000a,0 0 0 1px #ffffff0c;scrollbar-color:#758398 #152231;scrollbar-width:thin}
.player-page .pg-select-options[hidden]{display:none!important}
.player-page .pg-select-option{appearance:none;display:flex;align-items:center;gap:9px;width:100%;min-height:41px;margin:0;padding:5px 8px;border:1px solid transparent;border-radius:8px;background:transparent;color:#e1e9f5;text-align:left;font-family:inherit;font-size:12px;font-weight:750;line-height:1.25;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.player-page .pg-select-option+ .pg-select-option{margin-top:2px}
.player-page .pg-select-option:hover,.player-page .pg-select-option:focus-visible{outline:none;border-color:#c85b7090;background:#f0506623;color:#fff}
.player-page .pg-select-option[aria-selected="true"]{border-color:#f05d7370;background:linear-gradient(90deg,#e83e5836,#e83e580d);color:#fff;box-shadow:inset 3px 0 #f2556d}
.player-page .pg-select-option.is-placeholder{color:#9eacc0}
.player-page .pg-select-option img{flex:none;width:30px;height:30px;object-fit:contain;border-radius:6px;background:#303c4c;border:1px solid #ffffff19}
.player-page .pg-select-option-dot{flex:none;width:10px;height:10px;margin:0 10px;border:2px solid #7db6ee;border-radius:50%;background:#297ec04d}
.player-page .pg-select-option[aria-selected="true"] .pg-select-option-dot{background:#ff657a;border-color:#ffadbb}
.player-page .filter-item input[type="date"]{color-scheme:dark;padding:0 13px;cursor:pointer}
.player-page .filter-item input[type="date"]::-webkit-calendar-picker-indicator{opacity:1;cursor:pointer;filter:invert(.78) sepia(.12) saturate(1.6) hue-rotate(310deg);padding:6px;border-radius:6px;background:#ffffff14}
@media(max-width:600px){.player-page .filter-item .pg-select-trigger,.player-page .filter-item input[type="date"]{height:45px;min-height:45px}.player-page .pg-select-options{max-height:min(280px,48vh)}}

/* Wykresy formy — nowa tablica analityczna. */
.player-page #tab-graphs.pg-module{background:linear-gradient(150deg,#111923,#090e17 80%);border-color:#354151}
.player-page #tab-graphs .pg-module-heading{margin:0 0 14px;padding:0 0 14px;align-items:end}
.player-page #tab-graphs .pg-display-title{font-size:clamp(34px,4vw,54px)}
.player-page #tab-graphs .pg-graph-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.player-page #tab-graphs .pg-graph-kpi{--tone:#37da86;display:flex;align-items:center;gap:12px;min-width:0;min-height:85px;padding:13px 15px;border:1px solid #354051;border-radius:13px;background:radial-gradient(circle at 90% 100%,color-mix(in srgb,var(--tone) 12%,transparent),transparent 45%),linear-gradient(145deg,#1b222e,#0e1520)}
.player-page #tab-graphs .pg-graph-kpi.tone-red{--tone:#f26379}.player-page #tab-graphs .pg-graph-kpi.tone-violet{--tone:#b57dff}.player-page #tab-graphs .pg-graph-kpi.tone-blue{--tone:#48b9f4}
.player-page #tab-graphs .pg-graph-kpi-icon{flex:0 0 46px;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:color-mix(in srgb,var(--tone) 15%,#151c28);color:var(--tone)}
.player-page #tab-graphs .pg-graph-kpi>div{display:grid;gap:3px;min-width:0}.player-page #tab-graphs .pg-graph-kpi>div small{font-size:10px;font-weight:900;color:#d2dbe8;white-space:nowrap}.player-page #tab-graphs .pg-graph-kpi>div strong{font-size:clamp(24px,2.5vw,34px);line-height:1;color:#fff}
.player-page #tab-graphs .pg-graph-kpi-delta{display:grid;gap:4px;align-self:end;margin-left:auto;color:#4ce698;font-size:13px;font-weight:900;white-space:nowrap}.player-page #tab-graphs .pg-graph-kpi-delta.is-negative{color:#ff697c}.player-page #tab-graphs .pg-graph-kpi-delta.is-neutral{color:#9caabc}.player-page #tab-graphs .pg-graph-kpi-delta small{color:#9aabc0;font-size:8px;font-weight:600}
.player-page #tab-graphs .graph-comparison{margin:0;padding:7px 10px;border:0;border-radius:0;background:transparent;box-shadow:none}
.player-page #tab-graphs .pg-form-dashboard{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:13px}
.player-page #tab-graphs .pg-form-dashboard>.graph-card{min-width:0;min-height:0;display:flex;flex-direction:column;gap:9px;padding:15px;border:1px solid #344153;border-radius:14px;background:radial-gradient(ellipse at 50% 80%,#15375127,transparent 70%),linear-gradient(150deg,#17212f,#0c1420);overflow:hidden}
.player-page #tab-graphs .pg-form-dashboard>.graph-card::before{top:0;left:15px;right:70%;height:2px}
.player-page #tab-graphs .pg-form-dashboard .pg-mini-heading{margin:0 0 5px;justify-content:flex-start}.player-page #tab-graphs .pg-form-dashboard .pg-mini-heading h4{font-size:13px;color:#f2f6fb;text-align:left;letter-spacing:.2px}.player-page #tab-graphs .pg-form-dashboard .pg-mini-heading h4 small{font-size:11px;color:#d2dbe8}
.player-page #tab-graphs .pg-form-main{grid-column:span 8;height:345px}.player-page #tab-graphs .pg-form-trend{grid-column:span 4;height:345px;position:relative;isolation:isolate}
.player-page #tab-graphs .pg-form-activity,.player-page #tab-graphs .pg-form-periods{grid-column:span 6;height:218px}
.player-page #tab-graphs .pg-form-maps,.player-page #tab-graphs .pg-form-last{grid-column:span 6;height:205px}
.player-page #tab-graphs .pg-form-main-canvas{flex:1;min-height:0}.player-page #tab-graphs .pg-form-main-canvas canvas{width:100%!important;height:100%!important;max-height:none}
.player-page #tab-graphs .pg-form-trend::after{content:"";position:absolute;right:-40px;top:-60px;width:240px;height:250px;z-index:-1;background:url('../zespol/assets/map-ct-operator.webp') right top/contain no-repeat;opacity:.34;mask-image:linear-gradient(90deg,transparent,#000 35%)}
.player-page #tab-graphs .pg-trend-main{display:grid;grid-template-columns:auto 32px;column-gap:10px;align-items:center;margin:8px 0 5px}.player-page #tab-graphs .pg-trend-main>strong{font-size:clamp(32px,4vw,49px);line-height:1;color:#42de84}.player-page #tab-graphs .pg-trend-main.is-negative>strong{color:#ff6475}.player-page #tab-graphs .pg-trend-main>span{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#3cdb8730;color:#48e794;font-size:23px}.player-page #tab-graphs .pg-trend-main>small{grid-column:1/-1;color:#c3cede;font-size:11px}
.player-page #tab-graphs .pg-trend-rows{display:grid;gap:6px;margin-top:auto}.player-page #tab-graphs .pg-trend-rows>div{display:flex;align-items:center;gap:9px;min-height:50px;padding:7px;border:1px solid #ffffff1b;border-radius:10px;background:#101925ce}.player-page #tab-graphs .pg-trend-rows>div>span{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:9px;background:#db994c23;color:#ffca70;font-size:19px}.player-page #tab-graphs .pg-trend-rows>div:nth-child(2)>span{color:#ff7084;background:#ef5e7027}.player-page #tab-graphs .pg-trend-rows>div:nth-child(3)>span{color:#8ac9ff;background:#63adff25}.player-page #tab-graphs .pg-trend-rows svg{width:20px;height:20px}.player-page #tab-graphs .pg-trend-rows p{display:grid;gap:3px;margin:0;color:#f6f8fc;font-size:11px;font-weight:800}.player-page #tab-graphs .pg-trend-rows p small{color:#aab9cb;font-size:9px;font-weight:500}.player-page #tab-graphs .pg-trend-rows strong{margin-left:auto;color:#4ce395;font-size:17px;white-space:nowrap}
.player-page #tab-graphs #graphTrendSummary{display:flex;flex-direction:column;flex:1;min-height:0}
.player-page #tab-graphs .pg-trend-rows{flex:1;grid-template-rows:repeat(3,minmax(0,1fr));margin-top:7px}
.player-page #tab-graphs .pg-trend-rows>div{min-height:0;padding:9px 11px}
.player-page #tab-graphs .pg-trend-rows p{min-width:0}
@media(max-width:550px){.player-page #tab-graphs .pg-trend-rows>div{padding:7px 9px}}
.player-page #tab-graphs #graphActivityHeatmap{display:flex;gap:15px;align-items:stretch;flex:1;min-height:0}.player-page #tab-graphs .pg-heatmap{display:grid;gap:8px;flex:1;min-width:0;align-content:center}.player-page #tab-graphs .pg-heatmap-months,.player-page #tab-graphs .pg-heatmap-row{display:grid;grid-template-columns:38px repeat(12,minmax(0,1fr));gap:4px;align-items:center}.player-page #tab-graphs .pg-heatmap-months span{grid-column:auto;text-align:center;color:#b3c0d1;font-size:9px}.player-page #tab-graphs .pg-heatmap-months::before{content:""}.player-page #tab-graphs .pg-heatmap-row strong{color:#d6e0ec;font-size:10px}.player-page #tab-graphs .pg-heatmap-row>span{aspect-ratio:1.12;border-radius:4px;background:color-mix(in srgb,#ff556b var(--heat),#202a38);border:1px solid #ffffff09}
.player-page #tab-graphs .pg-heatmap-total{display:grid;align-content:center;gap:17px;min-width:105px;padding-left:12px;border-left:1px solid #ffffff22}.player-page #tab-graphs .pg-heatmap-total span{display:grid;gap:3px;color:#b4c2d2;font-size:10px}.player-page #tab-graphs .pg-heatmap-total strong{color:#f4f6fb;font-size:23px}
.player-page #tab-graphs #graphPeriodCompare{display:flex;flex-direction:column;flex:1;min-height:0}.player-page #tab-graphs .pg-period-legend{display:flex;justify-content:flex-end;gap:16px;color:#bfcbd9;font-size:9px}.player-page #tab-graphs .pg-period-legend span{display:flex;align-items:center;gap:5px}.player-page #tab-graphs .pg-period-legend i{width:10px;height:10px;border-radius:2px;background:#8d9ba9}.player-page #tab-graphs .pg-period-legend span:last-child i{background:#f55269}.player-page #tab-graphs .pg-period-groups{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;flex:1;min-height:0;border-bottom:1px solid #ffffff22}.player-page #tab-graphs .pg-period-group{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0}.player-page #tab-graphs .pg-period-bars{display:flex;align-items:flex-end;justify-content:center;gap:4px;width:100%;height:116px}.player-page #tab-graphs .pg-period-bars>span{position:relative;width:min(32%,34px);border-radius:5px 5px 0 0;background:linear-gradient(#a9b5c5,#657386)}.player-page #tab-graphs .pg-period-bars>span:last-child{background:linear-gradient(#ff7182,#d5314b)}.player-page #tab-graphs .pg-period-bars b{position:absolute;bottom:calc(100% + 4px);left:50%;transform:translateX(-50%);color:#edf2f9;font-size:10px}.player-page #tab-graphs .pg-period-group>strong{padding:5px 0;color:#e8eef7;font-size:10px}
.player-page #tab-graphs .pg-trend-rows>div.is-negative>strong{color:#ff6475}
@media(max-width:650px){.player-page #tab-graphs .pg-period-legend{justify-content:flex-start;flex-wrap:wrap;gap:3px 10px;font-size:8px}.player-page #tab-graphs .pg-period-legend span{white-space:nowrap}}
.player-page #tab-graphs .pg-map-form-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:1;min-height:0}.player-page #tab-graphs .pg-map-form-item{display:flex;align-items:center;gap:8px;min-width:0;padding:6px;border:1px solid #ffffff1e;border-radius:10px;background:#131e2b}.player-page #tab-graphs .pg-map-form-item img{width:45%;height:100%;max-height:112px;object-fit:cover;border-radius:7px}.player-page #tab-graphs .pg-map-form-item>div{display:grid;gap:6px;min-width:0}.player-page #tab-graphs .pg-map-form-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f2f5fa;font-size:11px;text-transform:uppercase}.player-page #tab-graphs .pg-map-form-item b{color:#48df8d;font-size:clamp(17px,2vw,26px)}.player-page #tab-graphs .pg-map-form-item small{font-size:10px;font-weight:900}.player-page #tab-graphs .pg-map-form-item small.good{color:#42e184}.player-page #tab-graphs .pg-map-form-item small.bad{color:#ff6074}
.player-page #tab-graphs #graphLastMatches{display:flex;gap:12px;align-items:stretch;flex:1;min-height:0}.player-page #tab-graphs .pg-last-bars{display:flex;align-items:flex-end;justify-content:space-around;gap:4px;flex:1;min-width:0;padding-top:20px}.player-page #tab-graphs .pg-last-bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;flex:1;height:100%;min-width:0}.player-page #tab-graphs .pg-last-bar strong{color:#edf3fa;font-size:10px}.player-page #tab-graphs .pg-last-bar i{display:block;width:80%;max-width:35px;min-height:12px;border-radius:4px 4px 0 0;background:linear-gradient(#71e994,#2a9d62)}.player-page #tab-graphs .pg-last-bar.loss i{background:linear-gradient(#ff7180,#b52b45)}.player-page #tab-graphs .pg-last-bar.draw i{background:linear-gradient(#f6d272,#b58c39)}.player-page #tab-graphs .pg-last-summary{display:grid;align-content:center;justify-items:center;gap:5px;min-width:103px;padding:10px;border:1px solid #ffffff1b;border-radius:10px;background:#101923}.player-page #tab-graphs .pg-last-summary>strong{color:#4ddd8d;font-size:17px}.player-page #tab-graphs .pg-last-summary>span{display:grid;gap:2px;color:#f4f7fb;font-size:22px;font-weight:900}.player-page #tab-graphs .pg-last-summary small{font-size:9px;color:#9dabbc;font-weight:500}
.player-page.no-player-selected #tab-graphs .pg-graph-kpis{display:none}
@media(max-width:1200px){.player-page #tab-graphs .pg-graph-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.player-page #tab-graphs .pg-form-main,.player-page #tab-graphs .pg-form-trend{grid-column:span 6}.player-page #tab-graphs .pg-form-maps,.player-page #tab-graphs .pg-form-last{height:auto;min-height:205px}}
@media(max-width:850px){.player-page #tab-graphs .pg-module-heading{align-items:flex-start;flex-direction:column}.player-page #tab-graphs .pg-form-dashboard>.graph-card{grid-column:1/-1!important}.player-page #tab-graphs .pg-form-main{height:330px}.player-page #tab-graphs .pg-form-trend{height:300px}.player-page #tab-graphs .pg-form-activity,.player-page #tab-graphs .pg-form-periods{height:220px}.player-page #tab-graphs .pg-form-maps,.player-page #tab-graphs .pg-form-last{height:210px}}
@media(max-width:550px){.player-page #tab-graphs .pg-graph-kpis{gap:6px}.player-page #tab-graphs .pg-graph-kpi{gap:6px;min-height:73px;padding:8px}.player-page #tab-graphs .pg-graph-kpi-icon{flex-basis:28px;width:28px;height:28px}.player-page #tab-graphs .pg-graph-kpi-icon svg{width:16px;height:16px}.player-page #tab-graphs .pg-graph-kpi>div small{font-size:8px}.player-page #tab-graphs .pg-graph-kpi>div strong{font-size:20px}.player-page #tab-graphs .pg-graph-kpi-delta{font-size:10px}.player-page #tab-graphs .pg-graph-kpi-delta small{display:none}.player-page #tab-graphs .pg-form-dashboard>.graph-card{padding:11px}.player-page #tab-graphs .pg-form-main{height:300px}.player-page #tab-graphs .pg-form-trend{height:285px}.player-page #tab-graphs .pg-form-activity{height:240px}.player-page #tab-graphs #graphActivityHeatmap{flex-direction:column;gap:5px}.player-page #tab-graphs .pg-heatmap-total{display:flex;justify-content:space-around;min-width:0;padding:5px 0 0;border-left:0;border-top:1px solid #ffffff22}.player-page #tab-graphs .pg-heatmap-total span{font-size:9px}.player-page #tab-graphs .pg-heatmap-total strong{font-size:17px}.player-page #tab-graphs .pg-heatmap-months,.player-page #tab-graphs .pg-heatmap-row{grid-template-columns:27px repeat(12,minmax(0,1fr));gap:2px}.player-page #tab-graphs .pg-heatmap-months span{font-size:7px}.player-page #tab-graphs .pg-map-form-list{gap:4px}.player-page #tab-graphs .pg-map-form-item{flex-direction:column;align-items:stretch;padding:4px}.player-page #tab-graphs .pg-map-form-item img{width:100%;height:56px}.player-page #tab-graphs .pg-map-form-item>div{gap:2px}.player-page #tab-graphs .pg-map-form-item strong{font-size:8px}.player-page #tab-graphs .pg-map-form-item b{font-size:16px}.player-page #tab-graphs .pg-map-form-item small{font-size:8px}.player-page #tab-graphs .pg-last-summary{min-width:65px;padding:5px}.player-page #tab-graphs .pg-last-summary>strong{font-size:11px}.player-page #tab-graphs .pg-last-summary>span{font-size:16px}}

/* Dolny rząd wykresów: pełnowymiarowe mapy i czytelne podsumowanie formy. */
@media(min-width:851px){.player-page #tab-graphs .pg-form-maps,.player-page #tab-graphs .pg-form-last{height:230px;min-height:230px}}
.player-page #tab-graphs #graphMapForm{display:flex;flex:1;min-height:0}
.player-page #tab-graphs .pg-map-form-list{width:100%;height:100%;align-items:stretch;gap:10px}
.player-page #tab-graphs .pg-map-form-item{height:100%;min-height:0;align-items:stretch;gap:10px;padding:7px}
.player-page #tab-graphs .pg-map-form-item img{flex:0 0 43%;width:43%;height:100%;min-height:0;max-height:none;object-fit:cover;object-position:center}
.player-page #tab-graphs .pg-map-form-item>div{flex:1;align-content:center;justify-items:start;gap:7px}
.player-page #tab-graphs .pg-map-form-item strong{max-width:100%;font-size:13px;font-weight:850;letter-spacing:.25px}
.player-page #tab-graphs .pg-map-form-item b{font-size:clamp(22px,2.2vw,30px);font-weight:900;line-height:1}
.player-page #tab-graphs .pg-map-form-item small{font-size:11px;font-weight:850;white-space:nowrap}
.player-page #tab-graphs .pg-last-bars{padding-top:16px}
.player-page #tab-graphs .pg-last-bar strong{font-size:12px;font-weight:850}
.player-page #tab-graphs .pg-last-summary{min-width:143px;gap:11px;padding:12px;background:linear-gradient(145deg,#10251e,#101923 65%);border-color:#2bd67834}
.player-page #tab-graphs .pg-last-summary-top{display:flex;align-items:center;justify-content:center;gap:9px;width:100%}
.player-page #tab-graphs .pg-last-summary-icon{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;border-radius:10px;background:#26d87920;color:#43e28c}
.player-page #tab-graphs .pg-last-summary-icon svg{width:21px;height:21px}
.player-page #tab-graphs .pg-last-summary-top strong{color:#eaf3ee;font-size:18px;font-weight:900;white-space:nowrap}
.player-page #tab-graphs .pg-last-summary-top strong b:first-child{color:#48e48d}
.player-page #tab-graphs .pg-last-summary-top strong b:last-child{color:#ff6578}
.player-page #tab-graphs .pg-last-summary-top strong i{color:#83939b;font-style:normal;font-weight:500}
.player-page #tab-graphs .pg-last-summary>span{font-size:25px;line-height:1;font-weight:900;text-align:center}
.player-page #tab-graphs .pg-last-summary small{margin-top:4px;font-size:10px;letter-spacing:.2px}
@media(max-width:1200px){.player-page #tab-graphs .pg-map-form-item{gap:6px}.player-page #tab-graphs .pg-map-form-item strong{font-size:11px}.player-page #tab-graphs .pg-map-form-item b{font-size:23px}}
@media(max-width:550px){.player-page #tab-graphs .pg-map-form-list{gap:5px}.player-page #tab-graphs .pg-map-form-item{gap:4px;padding:4px}.player-page #tab-graphs .pg-map-form-item img{flex:none;width:100%;height:58%}.player-page #tab-graphs .pg-map-form-item>div{gap:2px;align-content:center}.player-page #tab-graphs .pg-map-form-item strong{font-size:9px}.player-page #tab-graphs .pg-map-form-item b{font-size:17px}.player-page #tab-graphs .pg-map-form-item small{font-size:8px}.player-page #tab-graphs .pg-last-bar strong{font-size:9px}.player-page #tab-graphs .pg-last-summary{min-width:82px;gap:5px;padding:6px}.player-page #tab-graphs .pg-last-summary-top{flex-direction:column;gap:3px}.player-page #tab-graphs .pg-last-summary-icon{flex-basis:26px;width:26px;height:26px}.player-page #tab-graphs .pg-last-summary-icon svg{width:17px;height:17px}.player-page #tab-graphs .pg-last-summary-top strong{font-size:12px}.player-page #tab-graphs .pg-last-summary>span{font-size:17px}.player-page #tab-graphs .pg-last-summary small{font-size:9px}}

/* Na desktopie avatar i nick tworzą jeden widoczny przycisk profilu. */
@media(min-width:769px){
  .player-page .players-overview-table .overview-player-link{
    display:inline-flex;align-items:center;gap:0;padding:3px 10px 3px 4px;
    border:1px solid #ffffff1c;border-radius:9px;background:#ffffff09;
    text-decoration:none;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s;
  }
  .player-page .players-overview-table .overview-player-link::after{display:none;content:none}
  .player-page .players-overview-table .overview-player-link .pg-compare-avatar{
    border-radius:7px;background:#ffffff0b;transition:background .18s,transform .18s;
  }
  .player-page .players-overview-table .overview-player-link:hover,
  .player-page .players-overview-table .overview-player-link:focus-visible{
    border-color:#ff68758c;background:#ff52621c;box-shadow:0 0 0 2px #ff526219;
    transform:translateY(-1px);outline:none;
  }
  .player-page .players-overview-table .overview-player-link:hover .pg-compare-avatar,
  .player-page .players-overview-table .overview-player-link:focus-visible .pg-compare-avatar{
    background:#ff586322;transform:scale(1.06);
  }
  .player-page .players-overview-table .overview-player-link:hover .pg-compare-person-name,
  .player-page .players-overview-table .overview-player-link:focus-visible .pg-compare-person-name{
    text-decoration:underline;text-decoration-color:currentColor;text-underline-offset:3px;
  }
}

/* Aktywność i porównanie okresów. */
.player-page #tab-graphs .pg-form-activity,.player-page #tab-graphs .pg-form-periods{height:250px}
.player-page #tab-graphs .pg-form-dashboard .pg-data-heading{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:36px;margin:0 0 2px}
.player-page #tab-graphs .pg-form-dashboard .pg-data-heading h4{display:flex;align-items:center;gap:9px;margin:0;font-size:14px;font-weight:900;letter-spacing:.15px;white-space:nowrap}
.player-page #tab-graphs .pg-form-dashboard .pg-data-heading h4 small{font-size:12px;font-weight:650;color:#c4ccd9}
.player-page #tab-graphs .pg-data-heading .pg-data-heading-icon{display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:10px;background:#ff49561c;color:#ff5869;font-size:inherit;letter-spacing:0}
.player-page #tab-graphs .pg-data-heading-icon svg{width:21px;height:21px}
.player-page #tab-graphs .pg-form-dashboard .pg-period-heading{justify-content:space-between}
.player-page #tab-graphs .pg-period-heading .pg-period-legend{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-left:auto;color:#cbd4e1;font-size:10px;font-weight:700;white-space:nowrap}
.player-page #tab-graphs .pg-period-heading .pg-period-legend span{display:inline-flex;align-items:center;gap:6px;color:inherit;font-size:inherit;letter-spacing:0;font-weight:inherit}
.player-page #tab-graphs .pg-period-heading .pg-period-legend i{flex:none;width:13px;height:13px;border-radius:3px;background:linear-gradient(#aab6c7,#6b788a)}
.player-page #tab-graphs .pg-period-heading .pg-period-legend span:last-child i{background:linear-gradient(#ff7685,#d8334d)}
.player-page #tab-graphs #graphActivityHeatmap{gap:20px}
.player-page #tab-graphs .pg-heatmap{gap:8px}
.player-page #tab-graphs .pg-heatmap-months,.player-page #tab-graphs .pg-heatmap-row{grid-template-columns:44px repeat(12,minmax(0,1fr));gap:5px}
.player-page #tab-graphs .pg-heatmap-months span{font-size:11px;font-weight:750;color:#b8c4d5;letter-spacing:0}
.player-page #tab-graphs .pg-heatmap-row strong{font-size:11px;font-weight:800;color:#bdc9d9}
.player-page #tab-graphs .pg-heatmap-row>span{aspect-ratio:1.17;border-radius:5px;box-shadow:inset 0 1px 0 #ffffff16;transition:filter .15s,transform .15s}
.player-page #tab-graphs .pg-heatmap-row>span:hover{filter:brightness(1.35);transform:translateY(-2px)}
.player-page #tab-graphs .pg-heatmap-total{gap:19px;min-width:152px;padding-left:20px}
.player-page #tab-graphs .pg-activity-stat{display:flex;align-items:center;gap:10px}
.player-page #tab-graphs .pg-activity-icon{display:grid;place-items:center;flex:0 0 37px;width:37px;height:37px;border-radius:11px;background:#f6465620;color:#ff5367}
.player-page #tab-graphs .pg-activity-icon svg{width:22px;height:22px}
.player-page #tab-graphs .pg-activity-copy{display:grid;gap:1px;min-width:0}
.player-page #tab-graphs .pg-activity-copy small{color:#bac7d8;font-size:11px;font-weight:750;white-space:nowrap}
.player-page #tab-graphs .pg-activity-copy strong{color:#f5f8ff;font-size:27px;line-height:1.04;font-weight:900;letter-spacing:-.5px}
.player-page #tab-graphs .pg-period-groups{gap:12px}
.player-page #tab-graphs .pg-period-bars{gap:7px;height:127px}
.player-page #tab-graphs .pg-period-bars>span{width:min(42%,57px);border:1px solid #ffffff22;box-shadow:inset 0 1px 0 #ffffff34,0 5px 15px #0004;background:linear-gradient(180deg,#adb9ca,#677789)}
.player-page #tab-graphs .pg-period-bars>span:last-child{border-color:#ff68794d;box-shadow:inset 0 1px 0 #ffffff44,0 5px 18px #e5344e28;background:linear-gradient(180deg,#ff7889,#ed455d 65%,#c82d49)}
.player-page #tab-graphs .pg-period-bars b{bottom:calc(100% + 6px);font-size:12px;font-weight:900}
.player-page #tab-graphs .pg-period-group>strong{padding:8px 0 2px;font-size:12px;font-weight:850}
.player-page .filter-item .pg-filter-team-tag{display:inline-flex;align-items:center;padding:3px 7px;border:1px solid #fa536570;border-radius:5px;background:#e945591a;color:#ff7784;font-size:10px;font-weight:900;letter-spacing:1px;line-height:1}
@media(max-width:1200px){.player-page #tab-graphs .pg-period-heading .pg-period-legend{gap:8px;font-size:8px}.player-page #tab-graphs .pg-form-dashboard .pg-data-heading h4{font-size:12px}.player-page #tab-graphs .pg-form-dashboard .pg-data-heading h4 small{font-size:10px}}
@media(max-width:850px){.player-page #tab-graphs .pg-form-activity,.player-page #tab-graphs .pg-form-periods{height:250px}.player-page #tab-graphs .pg-period-heading .pg-period-legend{font-size:10px}}
@media(max-width:650px){.player-page #tab-graphs .pg-form-periods{height:auto;min-height:250px}.player-page #tab-graphs .pg-form-dashboard .pg-period-heading{align-items:flex-start;flex-direction:column;gap:7px}.player-page #tab-graphs .pg-period-heading .pg-period-legend{justify-content:flex-start;flex-wrap:wrap;gap:4px 12px;margin-left:0;font-size:9px}.player-page #tab-graphs .pg-period-bars{gap:3px;height:115px}.player-page #tab-graphs .pg-period-bars>span{width:min(43%,42px)}.player-page #tab-graphs .pg-period-bars b{font-size:10px}.player-page #tab-graphs .pg-period-group>strong{font-size:10px}.player-page #tab-graphs .pg-heatmap-total{gap:8px;padding-left:0}.player-page #tab-graphs .pg-activity-stat{gap:6px}.player-page #tab-graphs .pg-activity-icon{flex-basis:28px;width:28px;height:28px}.player-page #tab-graphs .pg-activity-icon svg{width:17px;height:17px}.player-page #tab-graphs .pg-activity-copy small{font-size:9px}.player-page #tab-graphs .pg-activity-copy strong{font-size:19px}}
@media(max-width:550px){.player-page #tab-graphs .pg-heatmap-months,.player-page #tab-graphs .pg-heatmap-row{grid-template-columns:28px repeat(12,minmax(0,1fr));gap:2px}.player-page #tab-graphs .pg-heatmap-months span{font-size:8px}.player-page #tab-graphs .pg-heatmap-row strong{font-size:9px}.player-page #tab-graphs .pg-heatmap-row>span{border-radius:3px}.player-page #tab-graphs .pg-heatmap-total{display:flex;justify-content:space-around;min-width:0;padding:8px 0 0;border-left:0;border-top:1px solid #ffffff22}.player-page #tab-graphs .pg-activity-stat{width:50%;justify-content:center}}

/* Wyniki gracza: procent wszystkich meczów i mocniejszy akcent kart. */
.player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw){
  min-height:82px;overflow:hidden;border-width:1px;box-shadow:inset 0 1px 0 #ffffff14,0 0 17px var(--outcome-glow);
}
.player-page #tab-stats .stats-header-grid .summary-win{--outcome-glow:#27dc8730;border-color:#2bd7866e;background:radial-gradient(circle at 10% 30%,#26d98923,transparent 62%),linear-gradient(130deg,#142b2b,#111b22)}
.player-page #tab-stats .stats-header-grid .summary-loss{--outcome-glow:#f44f6b29;border-color:#ee647479;background:radial-gradient(circle at 10% 30%,#f04d6921,transparent 62%),linear-gradient(130deg,#2c1d29,#191923)}
.player-page #tab-stats .stats-header-grid .summary-draw{--outcome-glow:#e6b84723;border-color:#d7ad5073;background:radial-gradient(circle at 10% 30%,#e8b94d1d,transparent 62%),linear-gradient(130deg,#2a2824,#1b1d22)}
.player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw)>span{color:#f1f3f7;font-size:11px;font-weight:900;letter-spacing:.65px;line-height:1.1;text-shadow:0 1px 2px #0008}
.player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw) strong{color:#fff;font-size:29px;font-weight:900;line-height:1;letter-spacing:-.4px;text-shadow:0 1px 7px #ffffff24}
.player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw) .summary-icon{top:18px;border-radius:11px;box-shadow:0 0 15px var(--outcome-glow)}
.player-page #tab-stats .stats-header-grid .summary-win .summary-icon{background:#23db8425;color:#36e696}
.player-page #tab-stats .stats-header-grid .summary-loss .summary-icon{background:#f0526827;color:#ff6779}
.player-page #tab-stats .stats-header-grid .summary-draw .summary-icon{background:#e5b74824;color:#f5c64c}
.player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw) .summary-icon svg{width:23px;height:23px;filter:drop-shadow(0 0 5px currentColor)}
.player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw) em{right:12px;bottom:17px;min-width:64px;padding:5px 10px;border-radius:999px;font-size:12px;font-style:normal;font-weight:900;line-height:1;text-shadow:0 0 6px currentColor;box-shadow:inset 0 1px 0 #ffffff12,0 0 10px var(--outcome-glow)}
.player-page #tab-stats .stats-header-grid .summary-win em{color:#61ec9e;border-color:#2fdf846b;background:#2bd97c1a}
.player-page #tab-stats .stats-header-grid .summary-loss em{color:#ff8c9a;border-color:#f36e7b68;background:#ee4b6320}
.player-page #tab-stats .stats-header-grid .summary-draw em{color:#ffd36d;border-color:#e6bd586b;background:#e5b8481c}
@media(max-width:1150px){.player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw) em{right:7px;min-width:52px;padding:4px 7px;font-size:11px}.player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw) strong{font-size:26px}}
@media(max-width:540px){.player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw){min-height:68px}.player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw)>span{font-size:9px;letter-spacing:.35px}.player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw) strong{font-size:23px}.player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw) .summary-icon{top:14px;width:32px;height:32px}.player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw) .summary-icon svg{width:19px;height:19px}.player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw) em{right:6px;bottom:11px;min-width:0;padding:3px 6px;font-size:10px}}

/* Smukła legenda dwóch połówek, z datami skróconymi do miesiąca. */
.player-page #tab-graphs .pg-period-heading .pg-period-legend{gap:7px;flex-wrap:wrap;min-width:0;margin-left:auto;font-size:9px;line-height:1.1;white-space:normal}
.player-page #tab-graphs .pg-period-heading .pg-period-legend span{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap}
.player-page #tab-graphs .pg-period-heading .pg-period-legend i{align-self:center;width:9px;height:9px;border-radius:2px}
.player-page #tab-graphs .pg-period-heading .pg-period-legend b{color:#eaf0f7;font-size:9px;font-weight:850}
.player-page #tab-graphs .pg-period-heading .pg-period-legend small{color:#9eacbd;font-size:9px;font-weight:650;letter-spacing:0;line-height:1.2}
@media(min-width:651px) and (max-width:1150px){.player-page #tab-graphs .pg-form-dashboard .pg-period-heading{flex-wrap:wrap}.player-page #tab-graphs .pg-period-heading .pg-period-legend{justify-content:flex-end}}
@media(max-width:650px){.player-page #tab-graphs .pg-form-dashboard .pg-period-heading{gap:4px}.player-page #tab-graphs .pg-period-heading .pg-period-legend{align-self:stretch;justify-content:flex-start;gap:5px 12px;margin-left:0}.player-page #tab-graphs .pg-period-heading .pg-period-legend b{font-size:8px}.player-page #tab-graphs .pg-period-heading .pg-period-legend small{font-size:9px}}
.player-page #tab-graphs .pg-form-main .pg-mini-heading{align-items:center;justify-content:space-between}

/* Dolne panele wykresów: krótsza forma i czytelne karty map. */
@media(min-width:851px){.player-page #tab-graphs .pg-form-maps,.player-page #tab-graphs .pg-form-last{height:192px;min-height:192px}}
.player-page #tab-graphs #graphMapForm,.player-page #tab-graphs .pg-map-form-list{min-width:0}
.player-page #tab-graphs .pg-map-form-list{grid-auto-rows:minmax(0,1fr)}
.player-page #tab-graphs .pg-map-form-item{min-width:0;overflow:hidden}
.player-page #tab-graphs .pg-map-form-item img{min-width:0;object-fit:cover;object-position:center}
.player-page #tab-graphs .pg-map-form-item>div{min-width:0;max-width:100%;overflow:hidden;gap:4px}
.player-page #tab-graphs .pg-map-form-item strong{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(10px,1vw,12px);font-weight:850;line-height:1.15}
.player-page #tab-graphs .pg-map-form-item b{display:block;max-width:100%;overflow:hidden;white-space:nowrap;font-size:clamp(19px,1.7vw,25px);line-height:1.05}
.player-page #tab-graphs .pg-map-form-item small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.2}
.player-page #tab-graphs .pg-last-bars{padding-top:7px}
.player-page #tab-graphs .pg-last-summary{min-width:128px;gap:7px;padding:8px}
.player-page #tab-graphs .pg-last-summary-top strong{font-size:16px}
.player-page #tab-graphs .pg-last-summary>span{font-size:21px}
@media(min-width:851px) and (max-width:1200px){.player-page #tab-graphs .pg-map-form-item{gap:5px;padding:5px}.player-page #tab-graphs .pg-map-form-item img{flex-basis:36%;width:36%}.player-page #tab-graphs .pg-map-form-item strong{font-size:10px}.player-page #tab-graphs .pg-map-form-item b{font-size:20px}.player-page #tab-graphs .pg-map-form-item small{font-size:9px}}
@media(max-width:850px){.player-page #tab-graphs .pg-form-maps{height:195px;min-height:195px}.player-page #tab-graphs .pg-form-last{height:175px;min-height:175px}}
@media(max-width:650px){
  .player-page #tab-graphs .pg-form-maps{height:auto;min-height:0}
  .player-page #tab-graphs #graphMapForm{flex:none;height:auto}
  .player-page #tab-graphs .pg-map-form-list{grid-template-columns:1fr;grid-auto-rows:76px;width:100%;height:auto;gap:6px}
  .player-page #tab-graphs .pg-map-form-item{flex-direction:row;align-items:stretch;height:76px;gap:9px;padding:5px}
  .player-page #tab-graphs .pg-map-form-item img{flex:0 0 min(32%,130px);width:min(32%,130px);height:100%;max-height:none}
  .player-page #tab-graphs .pg-map-form-item>div{flex:1;align-content:center;gap:2px}
  .player-page #tab-graphs .pg-map-form-item strong{font-size:11px}
  .player-page #tab-graphs .pg-map-form-item b{font-size:22px}
  .player-page #tab-graphs .pg-map-form-item small{font-size:10px}
  .player-page #tab-graphs .pg-last-summary{min-width:82px;gap:4px;padding:5px}
  .player-page #tab-graphs .pg-last-summary>span{font-size:17px}
}
@media(max-width:380px){.player-page #tab-graphs .pg-last-summary{min-width:72px}.player-page #tab-graphs .pg-last-bar strong{font-size:8px}}

/* Progi aktywności zgodne z widokiem zespołu. */
.player-page #tab-graphs .pg-form-activity,.player-page #tab-graphs .pg-form-periods{height:280px}
.player-page #tab-graphs .pg-heatmap-row>span.pg-heat-low{background:#fa4d5e;border-color:#fa4d5e55}
.player-page #tab-graphs .pg-heatmap-row>span.pg-heat-medium{background:#ffce4a;border-color:#ffce4a66}
.player-page #tab-graphs .pg-heatmap-row>span.pg-heat-high{background:#43c979;border-color:#43c97966}
.player-page #tab-graphs .pg-heatmap-row>span.pg-heat-peak{background:#f85aa4;border-color:#f85aa477}
.player-page #tab-graphs .pg-heatmap-row>span.is-empty{background:#fa4d5e24;border-color:#fa4d5e18;box-shadow:none}
.player-page #tab-graphs .pg-heat-legend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:3px;padding-top:7px;border-top:1px solid #ffffff18}
.player-page #tab-graphs .pg-heat-legend>span{display:grid;grid-template-columns:9px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:1px 5px;min-width:0}
.player-page #tab-graphs .pg-heat-legend i{grid-row:1/3;width:9px;height:9px;border-radius:50%;box-shadow:0 0 8px currentColor}
.player-page #tab-graphs .pg-heat-legend i.pg-heat-low{background:#fa4d5e;color:#fa4d5e}
.player-page #tab-graphs .pg-heat-legend i.pg-heat-medium{background:#ffce4a;color:#ffce4a}
.player-page #tab-graphs .pg-heat-legend i.pg-heat-high{background:#43c979;color:#43c979}
.player-page #tab-graphs .pg-heat-legend i.pg-heat-peak{background:#f85aa4;color:#f85aa4}
.player-page #tab-graphs .pg-heat-legend b{color:#e9f0f9;font-size:10px;font-weight:900;line-height:1.1}
.player-page #tab-graphs .pg-heat-legend small{color:#a9b7c9;font-size:8px;font-weight:650;line-height:1.15}
@media(max-width:650px){.player-page #tab-graphs .pg-form-activity{height:auto;min-height:280px}.player-page #tab-graphs .pg-heatmap{gap:5px}.player-page #tab-graphs .pg-heat-legend{gap:3px;padding-top:5px}.player-page #tab-graphs .pg-heat-legend b{font-size:9px}.player-page #tab-graphs .pg-heat-legend small{font-size:8px}}
@media(max-width:420px){.player-page #tab-graphs .pg-form-activity{min-height:310px}.player-page #tab-graphs .pg-heat-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px}}
.player-page #tab-graphs .pg-period-bars>span.is-empty{background:transparent;border:0;box-shadow:none}
.player-page #tab-graphs .pg-period-heading .pg-period-legend span{max-width:100%}
@media(max-width:650px){.player-page #tab-graphs .pg-period-heading .pg-period-legend span{white-space:nowrap}}
.player-page #tab-stats .stats-clutch .stat-card{gap:3px;padding:5px 4px}
.player-page #tab-stats .stats-clutch .stat-card .metric-icon{width:42px;height:42px}
.player-page #tab-stats .stats-clutch .stat-card:first-child .metric-icon{width:64px;height:64px}
.player-page #tab-stats .stats-clutch .metric-icon img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 5px #ffffff2b)}
@media(max-width:540px){.player-page #tab-stats .stats-clutch .stat-card .metric-icon{width:31px;height:31px}.player-page #tab-stats .stats-clutch .stat-card:first-child .metric-icon{width:46px;height:46px}}

/* Akcent aktywnego zawodnika w jego nagłówkach i wskazanych statystykach. */
.player-page.has-player-selected .pg-filter-title em,
.player-page.has-player-selected .tab-panel.pg-module .pg-display-title em,
.player-page.has-player-selected .tab-panel.pg-module .pg-subhead h3 em{color:var(--selected-player-accent)}
.player-page.has-player-selected #tab-stats .stats-header-grid .summary-matches{
  border-color:rgba(var(--selected-player-rgb),.65);
  background:radial-gradient(circle at 85% 80%,rgba(var(--selected-player-rgb),.22),transparent 58%),linear-gradient(135deg,rgba(var(--selected-player-rgb),.16),#161a25 75%);
  box-shadow:inset 3px 0 0 var(--selected-player-accent),0 0 22px rgba(var(--selected-player-rgb),.10)
}
.player-page.has-player-selected #tab-stats .stats-header-grid .summary-matches .summary-icon{
  color:var(--selected-player-accent);background:rgba(var(--selected-player-rgb),.18)
}
.player-page.has-player-selected #tab-stats .stats-header-grid .summary-matches::after{
  filter:drop-shadow(0 0 12px rgba(var(--selected-player-rgb),.45))
}
.player-page.has-player-selected #tab-stats .stats-visual-card:first-child .pg-mini-heading h4 svg,
.player-page.has-player-selected #tab-stats .stats-kda-row .stats-visual-icon{color:var(--selected-player-accent)}
.player-page.has-player-selected #tab-stats .stats-kda-row .stats-visual-icon{
  background:rgba(var(--selected-player-rgb),.16)
}
.player-page.has-player-selected #tab-stats .stats-kda-row i b{background:var(--selected-player-accent)}
.player-page.has-player-selected #tab-stats .stats-general .stat-card.is-rating{
  border-color:rgba(var(--selected-player-rgb),.85);
  background:linear-gradient(90deg,rgba(var(--selected-player-rgb),.24),#1b202d);
  box-shadow:inset 3px 0 0 var(--selected-player-accent)
}
.player-page.has-player-selected #tab-stats .stats-general .stat-card.is-rating .metric-icon,
.player-page.has-player-selected #tab-stats .stats-general .stat-card.is-rating strong{color:var(--selected-player-accent)}

/* Rzeczywisty przebieg ostatnich występów w kaflach wykresów. */
.player-page #tab-graphs .pg-graph-kpi{
  display:grid;grid-template-columns:46px minmax(0,1fr) max-content 66px;column-gap:8px;align-items:center
}
.player-page #tab-graphs .pg-graph-kpi-icon svg{width:29px;height:29px}
.player-page #tab-graphs .pg-graph-kpi>div small{overflow:hidden;text-overflow:ellipsis}
.player-page #tab-graphs .pg-graph-kpi-delta{margin-left:0;justify-self:end}
.player-page #tab-graphs .pg-kpi-spark{display:block;justify-self:end;width:66px;height:44px;flex:none;color:var(--tone);overflow:visible}
.player-page #tab-graphs .pg-kpi-spark.is-empty{display:grid;place-items:center;color:#718092;font-size:18px}
@media(min-width:1201px) and (max-width:1380px){.player-page #tab-graphs .pg-graph-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){
  .player-page #tab-graphs .pg-graph-kpi{grid-template-columns:32px minmax(0,1fr) 42px;grid-template-rows:auto auto;column-gap:6px;row-gap:2px;min-height:82px}
  .player-page #tab-graphs .pg-graph-kpi-icon{grid-column:1;grid-row:1/3;flex-basis:32px;width:32px;height:32px}
  .player-page #tab-graphs .pg-graph-kpi-icon svg{width:22px;height:22px}
  .player-page #tab-graphs .pg-graph-kpi>div{grid-column:2/4;grid-row:1}
  .player-page #tab-graphs .pg-graph-kpi-delta{grid-column:2;grid-row:2;justify-self:start;align-self:end}
  .player-page #tab-graphs .pg-kpi-spark{grid-column:3;grid-row:2;width:42px;height:25px}
}

/* Skala ratingu taka sama jak w tabeli pojedynczego meczu. */
.player-page #tab-graphs .pg-last-bar.rating-high strong{color:#78e6a3}
.player-page #tab-graphs .pg-last-bar.rating-high i{background:linear-gradient(#78e6a3,#2a9c66);box-shadow:0 0 10px #78e6a344}
.player-page #tab-graphs .pg-last-bar.rating-mid strong{color:#efd189}
.player-page #tab-graphs .pg-last-bar.rating-mid i{background:linear-gradient(#efd189,#a98735);box-shadow:0 0 10px #efd18936}
.player-page #tab-graphs .pg-last-bar.rating-low strong{color:#ff8c92}
.player-page #tab-graphs .pg-last-bar.rating-low i{background:linear-gradient(#ff8c92,#bd4558);box-shadow:0 0 10px #ff8c9236}
.player-page #tab-graphs .pg-last-bar.has-no-rating strong{color:#8795a7}
.player-page #tab-graphs .pg-last-bar.has-no-rating i{visibility:hidden}

/* Przełącznik pięciu składowych formy pod nagłówkiem wykresu. */
.player-page #tab-graphs .pg-form-metric-switch{
  display:flex;gap:5px;flex:none;min-width:0;overflow-x:auto;padding:2px 1px 5px;
  scrollbar-width:none
}
.player-page #tab-graphs .pg-form-metric-switch::-webkit-scrollbar{display:none}
.player-page #tab-graphs .pg-form-metric-switch button{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:28px;
  padding:5px 8px;border:1px solid #3a485b;border-radius:7px;background:#151f2c;
  color:#b9c7d8;font-size:9px;font-weight:850;white-space:nowrap;cursor:pointer;
  transition:background .15s,border-color .15s,color .15s
}
.player-page #tab-graphs .pg-form-metric-switch button:hover{border-color:#8392a7;color:#fff}
.player-page #tab-graphs .pg-form-metric-switch button small{
  color:#8394a8;font-size:8px;font-weight:900
}
.player-page #tab-graphs .pg-form-metric-switch button.is-active{
  border-color:var(--selected-player-accent,#f1495a);
  background:rgba(var(--selected-player-rgb,241,73,90),.16);
  color:#fff;box-shadow:inset 0 -2px 0 var(--selected-player-accent,#f1495a)
}
.player-page #tab-graphs .pg-form-metric-switch button.is-active small{color:var(--selected-player-accent,#ff7884)}
.player-page #tab-graphs .pg-form-metric-switch button:focus-visible{outline:2px solid var(--selected-player-accent,#f1495a);outline-offset:1px}
@media(min-width:851px){.player-page #tab-graphs .pg-form-main,.player-page #tab-graphs .pg-form-trend{height:380px}}
@media(max-width:850px){.player-page #tab-graphs .pg-form-main{height:355px}}
@media(max-width:550px){
  .player-page #tab-graphs .pg-form-main{height:330px}
  .player-page #tab-graphs .pg-form-metric-switch{gap:4px;margin:0 -2px;padding-bottom:4px}
  .player-page #tab-graphs .pg-form-metric-switch button{min-height:26px;padding:4px 6px;font-size:8px}
  .player-page #tab-graphs .pg-form-metric-switch button small{font-size:7px}
}

/* Trend odnosi się do punktów oceny formy 0–100. */
.player-page #tab-graphs .pg-trend-main>strong{white-space:nowrap;font-size:clamp(30px,3.3vw,47px)}
.player-page #tab-graphs .pg-trend-main>strong small{font-size:.4em;font-weight:850}
.player-page #tab-graphs .pg-trend-main.is-negative>span{color:#ff6475;background:#ff647529}
.player-page #tab-graphs .pg-trend-main.is-neutral>strong,.player-page #tab-graphs .pg-trend-main.is-neutral>span{color:#a9b6c7}
.player-page #tab-graphs .pg-trend-rows>div.is-lowest>strong{color:#ff7186}
.player-page #tab-graphs .pg-trend-rows>div.is-neutral>strong{color:#a9b6c7}

.player-page #tab-graphs .pg-trend-rows p{font-size:13px;line-height:1.2}
.player-page #tab-graphs .pg-trend-rows p small{font-size:11px;line-height:1.2}
@media(max-width:550px){
  .player-page #tab-graphs .pg-trend-rows p{font-size:11px}
  .player-page #tab-graphs .pg-trend-rows p small{font-size:10px}
}
.pg-form-chart-tooltip{
  position:fixed;z-index:9999;width:max-content;max-width:min(740px,calc(100vw - 16px));
  max-height:min(520px,70vh);overflow:auto;padding:0;
  border:1px solid #52677f;border-radius:14px;
  background:linear-gradient(145deg,#172436f8,#0c1623f8 70%);
  color:#eaf2fb;box-shadow:0 22px 55px #000c,inset 0 1px 0 #ffffff1b;
  pointer-events:none;font-variant-numeric:tabular-nums;
  scrollbar-width:thin;scrollbar-color:#5a718c #111d2c;
  backdrop-filter:blur(12px);
}
.pg-form-chart-tooltip[hidden]{display:none}
.pg-form-tooltip-head{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  margin:0;padding:12px 14px;
  border-bottom:1px solid #ffffff21;
  background:linear-gradient(90deg,#f04c6126,#ffffff08 58%,transparent);
}
.pg-form-tooltip-head strong{color:#f5f8fd;font-size:13px;font-weight:900;line-height:1.2}
.pg-form-tooltip-head small{
  flex:none;padding:5px 8px;border:1px solid #ffffff20;border-radius:999px;
  background:#0813207a;color:#b8c8da;font-size:10px;font-weight:800;white-space:nowrap;
}
.pg-form-tooltip-close{
  flex:none;display:grid;place-items:center;width:28px;height:28px;padding:0;
  border:1px solid #ffffff36;border-radius:8px;background:#ffffff12;
  color:#eaf2fb;font:700 22px/1 Arial,sans-serif;cursor:pointer;
}
.pg-form-tooltip-close:active{background:#ffffff30}
@media(hover:none) and (pointer:coarse){
  .pg-form-chart-tooltip{pointer-events:auto}
}
.pg-form-chart-tooltip table{width:100%;border-collapse:separate;border-spacing:0;font-size:11px;white-space:nowrap}
.pg-form-chart-tooltip th,.pg-form-chart-tooltip td{
  padding:8px 9px;text-align:right;border-bottom:1px solid #ffffff12;
}
.pg-form-chart-tooltip th:first-child{text-align:left}
.pg-form-chart-tooltip thead th{
  background:#172537;color:#aebed0;font-size:9px;font-weight:900;
  text-transform:uppercase;letter-spacing:.5px;
}
.pg-form-chart-tooltip tbody tr:nth-child(even){background:#ffffff07}
.pg-form-chart-tooltip tbody tr:hover{background:#ffffff11}
.pg-form-chart-tooltip tbody tr:last-child>*{border-bottom:0}
.pg-form-chart-tooltip tbody th{
  position:sticky;left:0;z-index:1;min-width:92px;
  background:#111e2e;color:#f2f6fb;font-size:11px;font-weight:850;
  box-shadow:2px 0 8px #0004;
}
.pg-form-chart-tooltip tbody tr:nth-child(even) th{background:#172335}
.pg-form-chart-tooltip tbody th i{
  display:inline-block;width:9px;height:9px;margin-right:8px;
  border:1px solid #ffffff5a;border-radius:50%;vertical-align:0;
  box-shadow:0 0 8px var(--row-color);
}
.pg-form-chart-tooltip tbody td{color:#dce7f4;font-weight:750}
.pg-form-chart-tooltip tbody td:nth-child(2){
  background:color-mix(in srgb,var(--row-color) 13%,transparent);
  color:var(--row-color);font-size:12px;font-weight:950;
}
.pg-form-chart-tooltip tbody td:last-child{color:#c1d0e0;font-weight:900}
@media(max-width:650px){
  .pg-form-chart-tooltip{width:min(380px,calc(100vw - 16px));max-height:58vh;pointer-events:auto}
  .pg-form-tooltip-head{align-items:flex-start;gap:8px;padding:10px 11px}
  .pg-form-tooltip-head strong{font-size:11px}
  .pg-form-tooltip-head small{padding:4px 6px;font-size:8px}
  .pg-form-chart-tooltip table,.pg-form-chart-tooltip tbody{display:block;width:100%}
  .pg-form-chart-tooltip thead{display:none}
  .pg-form-chart-tooltip tbody{padding:7px}
  .pg-form-chart-tooltip tbody tr{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;
    margin-bottom:6px;padding:7px;border:1px solid #ffffff18;border-left:3px solid var(--row-color);
    border-radius:9px;background:#111e2c;
  }
  .pg-form-chart-tooltip.is-form tbody tr{grid-template-columns:repeat(4,minmax(0,1fr))}
  .pg-form-chart-tooltip tbody tr:last-child{margin-bottom:0}
  .pg-form-chart-tooltip tbody th{
    position:static;grid-column:1/-1;min-width:0;
    padding:1px 2px 6px;border:0;border-bottom:1px solid #ffffff1a;
    background:transparent!important;box-shadow:none;font-size:11px;
  }
  .pg-form-chart-tooltip tbody td{
    display:grid;gap:3px;min-width:0;padding:5px 6px;border:1px solid #ffffff10;
    border-radius:6px;background:#1c2a3b;text-align:left;font-size:11px;
  }
  .pg-form-chart-tooltip tbody td::before{
    content:attr(data-label);color:#9bb0c6;font-size:8px;font-weight:850;
    text-transform:uppercase;letter-spacing:.2px;
  }
  .pg-form-chart-tooltip tbody td:nth-child(2){
    border-color:color-mix(in srgb,var(--row-color) 45%,#334355);
    background:color-mix(in srgb,var(--row-color) 16%,#1c2a3b);
  }
}
.player-page .pg-date-field{position:relative;min-width:0}
.player-page .pg-date-field input[type="date"]{padding-right:52px}
.player-page .pg-date-field.has-picker input[type="date"]::-webkit-calendar-picker-indicator{opacity:0;pointer-events:none}
.player-page .pg-date-picker{position:absolute;right:7px;top:50%;display:grid;place-items:center;width:35px;height:35px;transform:translateY(-50%);border:1px solid #52627a;border-radius:8px;background:#263449;color:#dce8f7;cursor:pointer}
.player-page .pg-date-picker:hover,.player-page .pg-date-picker:focus-visible{border-color:#f05a70;background:#3d2b39;color:#fff;outline:none;box-shadow:0 0 0 2px #e8435b25}
.player-page .pg-date-picker svg{width:19px;height:19px}
.player-page .pg-date-picker[hidden]{display:none}

/* Równe kolumny: wykres, legenda, liczba i procent. */
.player-page #tab-stats .stats-visual-card:nth-child(2) .stats-results-ring{
  display:grid;
  grid-template-columns:minmax(114px,1fr) minmax(0,2fr);
  align-items:center;
  justify-content:stretch;
  gap:20px;
  width:100%;
  padding:0 12px;
}
.player-page #tab-stats .stats-visual-card:nth-child(2) .stats-result-donut{justify-self:center}
.player-page #tab-stats .stats-visual-card:nth-child(2) .stats-result-legend{width:100%;max-width:none}
.player-page #tab-stats .stats-result-legend>div{
  grid-template-columns:11px minmax(0,1fr) 42px 55px;
  column-gap:10px;
}
.player-page #tab-stats .stats-result-legend>div strong,
.player-page #tab-stats .stats-result-legend>div small{text-align:right}
.player-page #tab-stats .stats-result-legend>div small{margin-left:0}
@media(max-width:540px){
  .player-page #tab-stats .stats-visual-card:nth-child(2) .stats-results-ring{
    grid-template-columns:98px minmax(0,1fr);
    gap:10px;
    padding:0 2px;
  }
  .player-page #tab-stats .stats-result-legend>div{
    grid-template-columns:9px minmax(0,1fr) 24px 41px;
    column-gap:4px;
  }
  .player-page #tab-stats .stats-result-legend>div small{margin-left:0}
}

/* Centrum dowodzenia na telefonie: mniej wysokości i przewijane filtry. */
@media(max-width:640px){
  .player-page .filters-panel.pg-shell-panel{padding:13px 11px 11px}
  .player-page .pg-filter-heading{margin-bottom:10px;padding-bottom:9px}
  .player-page .pg-filter-title{margin:0;font-size:clamp(20px,6vw,25px);line-height:1.1}
  .player-page .filters-layout{display:block}
  .player-page .player-avatar-card{display:none}
  .player-page .filters-fields{gap:10px}
  .player-page .filters-row{min-width:0;gap:7px}
  .player-page .filters-row:first-child{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 7px;
  }
  .player-page .filter-item{flex:1 1 auto;min-width:0;gap:5px}
  .player-page .filter-item label{font-size:9px;letter-spacing:.7px}
  .player-page .filter-item .pg-select-trigger,
  .player-page .filter-item input[type="date"]{height:39px;min-height:39px;font-size:12px}
  .player-page .filter-item .pg-select-trigger{padding:5px 7px;gap:6px}
  .player-page .pg-date-field input[type="date"]{
    box-sizing:border-box;min-width:0;width:100%;padding:0 8px;
    text-align:left;color-scheme:dark;
  }
  .player-page .pg-date-field input[type="date"]::-webkit-date-and-time-value{text-align:left;min-width:0}
  .player-page .pg-date-field input[type="date"]::-webkit-datetime-edit{padding:0}
  .player-page .pg-date-field.has-picker input[type="date"]::-webkit-calendar-picker-indicator{
    opacity:1;pointer-events:auto;
  }
  .player-page .pg-date-picker{display:none}
  .player-page .quick-ranges{
    flex-wrap:nowrap;gap:6px;min-width:0;max-width:100%;
    overflow-x:auto;overflow-y:hidden;padding:1px 1px 5px;
    scrollbar-width:thin;scrollbar-color:#5b6475 transparent;
    overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;
  }
  .player-page .quick-range{
    flex:none;min-height:31px;padding:6px 9px;
    font-size:10px;letter-spacing:0;white-space:nowrap;
  }
  .player-page .filters-info{margin-top:8px;padding-top:8px;font-size:10px;line-height:1.35}
}

/* Węższa przypięta kolumna gracza w głównej tabeli na telefonach. */
@media(max-width:768px){
  .player-page .players-overview-table .overview-name-cell,
  .player-page .players-overview-table thead th:first-child{
    width:112px;min-width:112px;max-width:112px;
    padding-left:3px;padding-right:3px;
  }
  .player-page .players-overview-table.compare-table td.overview-name-cell{
    padding-left:3px;padding-right:3px;
  }
  .player-page .players-overview-table .overview-player-link .pg-compare-person{
    flex-wrap:nowrap;gap:4px;
  }
  .player-page .players-overview-table .overview-player-link .pg-compare-avatar{
    flex-basis:26px;width:26px;height:29px;
  }
}

/* Statystyki gracza na telefonie: 2 kafle podsumowania nad 3 wynikami. */
@media(max-width:640px){
  .player-page #tab-stats .stats-header-grid{
    grid-template-columns:repeat(6,minmax(0,1fr));
    grid-template-areas:"matches matches matches rating rating rating" "win win loss loss draw draw";
    gap:7px;
  }
  .player-page #tab-stats .stats-header-grid .summary-matches{grid-area:matches}
  .player-page #tab-stats .stats-header-grid .summary-rating{grid-area:rating}
  .player-page #tab-stats .stats-header-grid .summary-win{grid-area:win}
  .player-page #tab-stats .stats-header-grid .summary-loss{grid-area:loss}
  .player-page #tab-stats .stats-header-grid .summary-draw{grid-area:draw}
  .player-page #tab-stats .stats-header-grid .stat-card:is(.summary-matches,.summary-rating){
    min-height:70px;padding:10px 8px 9px 48px;
  }
  .player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw){
    display:grid;grid-template-columns:22px minmax(0,1fr);
    grid-template-rows:22px auto auto;align-content:center;
    column-gap:4px;row-gap:3px;min-height:92px;padding:7px 6px;
  }
  .player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw) .summary-icon{
    position:static;grid-column:1;grid-row:1;
    width:22px;height:22px;border-radius:7px;
  }
  .player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw) .summary-icon svg{width:16px;height:16px}
  .player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw)>span{
    grid-column:2;grid-row:1;align-self:center;
    min-width:0;font-size:8px;letter-spacing:0;white-space:nowrap;
  }
  .player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw) strong{
    grid-column:1/-1;grid-row:2;font-size:24px;line-height:1.05;
  }
  .player-page #tab-stats .stats-header-grid .stat-card:is(.summary-win,.summary-loss,.summary-draw) em{
    position:static;grid-column:1/-1;grid-row:3;justify-self:start;
    min-width:0;padding:3px 6px;font-size:10px;
  }
}

@media(max-width:640px){
  .player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5){
    grid-template-columns:23px minmax(0,1fr) auto;
    column-gap:5px;min-height:37px;padding:5px 7px 7px;
  }
  .player-page #tab-stats .stats-utility .stat-card.is-dual:nth-child(-n+5){
    grid-template-columns:23px minmax(0,1fr) auto auto;
  }
  .player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5)>span{font-size:10px}
  .player-page #tab-stats .stats-utility .stat-card.is-dual:nth-child(-n+5) strong{font-size:11px;gap:2px}
  .player-page #tab-stats .stats-utility .stat-card.is-dual:nth-child(-n+5) strong small{font-size:7px}
  .player-page #tab-stats .stats-utility .stat-card.is-dual:nth-child(-n+5) .metric-total{padding-left:5px}
  .player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5) .metric-meter{left:36px;right:7px}
}

/* Mobilne tabele: zawodnik zostaje widoczny podczas przewijania statystyk. */
.player-page #tab-matches .pg-match-compact{display:none}
@media(max-width:768px){
  .player-page #tab-compare .pg-compare-table thead th:first-child,
  .player-page #tab-compare .pg-compare-table tbody td:first-child:not([colspan]),
  .player-page #tab-played-with .played-with-table thead th:first-child,
  .player-page #tab-played-with .played-with-table tbody th:first-child{
    position:sticky;left:0;
    width:118px;min-width:118px;max-width:118px;
    padding-left:6px;padding-right:6px;
    border-right:1px solid #435064;
    box-shadow:2px 0 10px #0008;
  }
  .player-page #tab-compare .pg-compare-table thead th:first-child,
  .player-page #tab-played-with .played-with-table thead th:first-child{
    z-index:4;background:#1b1e28;
  }
  .player-page #tab-compare .pg-compare-table tbody td:first-child:not([colspan]),
  .player-page #tab-played-with .played-with-table tbody th:first-child{
    z-index:2;background:#11151d;
  }
  .player-page #tab-compare .pg-compare-table tbody tr:nth-child(even) td:first-child:not([colspan]),
  .player-page #tab-played-with .played-with-table tbody tr:nth-child(even) th:first-child{background:#161a23}
  .player-page #tab-compare .pg-compare-table tbody tr.compare-self td:first-child,
  .player-page #tab-played-with .played-with-table tbody tr.pw-overall th:first-child{background:#29222c}
  .player-page #tab-compare .pg-compare-table .pg-compare-person{flex-wrap:nowrap;gap:4px}
  .player-page #tab-compare .pg-compare-table .pg-compare-avatar{flex-basis:25px;width:25px;height:28px}
  .player-page #tab-played-with .pw-person{gap:5px}

  .player-page #tab-matches .pg-matches-table thead th:first-child,
  .player-page #tab-matches .pg-matches-table tbody .date-cell{
    position:sticky;left:0;width:116px;min-width:116px;max-width:116px;
    border-right:1px solid #435064;
    background:#11151d;
  }
  .player-page #tab-matches .pg-matches-table thead th:first-child{
    z-index:4;background:#1b1e28;
  }
  .player-page #tab-matches .pg-matches-table tbody .date-cell{z-index:2}
  .player-page #tab-matches .pg-matches-table tbody tr:nth-child(even) .date-cell{background:#161a23}
  .player-page #tab-matches .pg-matches-scroll.is-scrolled .pg-match-date{display:none}
  .player-page #tab-matches .pg-matches-scroll.is-scrolled .pg-match-compact{
    display:grid;gap:2px;line-height:1.1;text-align:left;
  }
  .player-page #tab-matches .pg-match-compact small{color:#9baabd;font-size:9px;font-weight:750}
  .player-page #tab-matches .pg-match-compact strong{color:#f3f6fb;font-size:10px;font-weight:900}
  .player-page #tab-matches .pg-match-compact b{font-size:13px;font-weight:950}
  .player-page #tab-matches .pg-match-row.is-win .pg-match-compact b{color:#69e48b}
  .player-page #tab-matches .pg-match-row.is-loss .pg-match-compact b{color:#ff6570}
  .player-page #tab-matches .pg-match-row.is-draw .pg-match-compact b{color:#ffce83}
  .player-page #tab-matches .pg-matches-scroll.is-scrolled thead th:first-child{font-size:0}
  .player-page #tab-matches .pg-matches-scroll.is-scrolled thead th:first-child::after{
    content:"MECZ";font-size:10px;
  }
}

/* Mecze, Gra z i Porównaj korzystają z jednej skali typografii tabel. */
.player-page #tab-compare .pg-compare-scroll{scrollbar-color:#6c2c35 #11151f}
.player-page #tab-played-with .played-with-table th,
.player-page #tab-played-with .played-with-table td,
.player-page #tab-compare .pg-compare-table th,
.player-page #tab-compare .pg-compare-table td{
  padding:14px 12px;
  border-bottom:1px solid rgba(255,255,255,.075);
  font-variant-numeric:tabular-nums;
}
.player-page #tab-played-with .played-with-table thead th,
.player-page #tab-compare .pg-compare-table thead th{
  background:#1b1e28;color:#aab4c5;
  font-size:10px;font-weight:900;letter-spacing:1px;
}
.player-page #tab-played-with .played-with-table tbody th,
.player-page #tab-played-with .played-with-table tbody td,
.player-page #tab-compare .pg-compare-table tbody td{
  color:#dce1eb;font-size:14px;font-weight:700;line-height:1.2;
}
.player-page #tab-played-with .played-with-table tbody th,
.player-page #tab-compare .pg-compare-name-cell{color:#f3f6fb;font-weight:900}
.player-page #tab-played-with .pw-person,
.player-page #tab-compare .pg-compare-person{font-size:14px}
.player-page #tab-compare .pg-compare-person-name{font-size:14px}
.player-page #tab-played-with .pw-own{font-size:14px;font-weight:850}
.player-page #tab-played-with .pw-other{font-size:12px;color:#a4adbb}
.player-page #tab-compare .pg-compare-table td.better,
.player-page #tab-played-with .pw-other.is-better{color:#69e48b;font-weight:850}
.player-page #tab-compare .pg-compare-table td.worse,
.player-page #tab-played-with .pw-other.is-worse{color:#ff6570;font-weight:850}
.player-page #tab-compare .pg-compare-table td.self{color:#ffce83;font-weight:900}
.player-page #tab-compare .pg-compare-table tbody tr.compare-self td{background:#211c24}
.player-page #tab-compare .pg-compare-table tbody tr:hover td{background:rgba(255,68,77,.065)}
@media(max-width:768px){
  .player-page #tab-played-with .played-with-table th,
  .player-page #tab-played-with .played-with-table td,
  .player-page #tab-compare .pg-compare-table th,
  .player-page #tab-compare .pg-compare-table td{padding:10px 7px}
  .player-page #tab-played-with .played-with-table tbody th,
  .player-page #tab-compare .pg-compare-person-name{font-size:12px}
  .player-page #tab-played-with .pw-other{font-size:11px}
  .player-page #tab-compare .pg-compare-table thead th:first-child,
  .player-page #tab-compare .pg-compare-table tbody td:first-child:not([colspan]),
  .player-page #tab-played-with .played-with-table thead th:first-child,
  .player-page #tab-played-with .played-with-table tbody th:first-child{
    padding-left:6px;padding-right:6px;
  }
  .player-page #tab-compare .pg-compare-table tbody tr.compare-self td:first-child{background:#29222c}
  .player-page #tab-compare .pg-compare-table tbody tr:hover td:first-child:not([colspan]){background:#252b38}
  .player-page #tab-compare .pg-compare-table tbody tr.compare-self:hover td:first-child{background:#342630}
}

/* Przejście do historii meczów w kolorze wybranego zawodnika. */
.player-page #tab-stats .stats-all-matches{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:40px;padding:7px 8px 7px 14px;
  border:1px solid var(--selected-player-accent,#f15c70);border-radius:9px;
  background:linear-gradient(115deg,rgba(var(--selected-player-rgb,241,73,90),.23),#151d2a 80%);
  color:#f7f9fc;font-size:10px;font-weight:900;letter-spacing:.4px;
  box-shadow:inset 0 1px 0 #ffffff20,0 6px 18px rgba(var(--selected-player-rgb,241,73,90),.12);
  transition:transform .18s,border-color .18s,background .18s,box-shadow .18s;
}
.player-page #tab-stats .stats-all-matches span{
  display:grid;place-items:center;flex:none;
  width:22px;height:22px;margin:0;
  background:transparent;color:var(--selected-player-accent,#f15c70);
  transition:transform .18s;
}
.player-page #tab-stats .stats-all-matches span svg{display:block;width:18px;height:18px}
.player-page #tab-stats .stats-all-matches:hover{
  transform:translateY(-2px);
  background:linear-gradient(115deg,rgba(var(--selected-player-rgb,241,73,90),.33),#1a2533 85%);
  box-shadow:inset 0 1px 0 #ffffff28,0 10px 22px rgba(var(--selected-player-rgb,241,73,90),.22);
}
.player-page #tab-stats .stats-all-matches:hover span{transform:translateX(3px)}
.player-page #tab-stats .stats-all-matches:focus-visible{
  outline:2px solid var(--selected-player-accent,#f15c70);outline-offset:3px;
}
@media(max-width:540px){
  .player-page #tab-stats .stats-all-matches{
    max-width:155px;min-height:38px;padding:6px 6px 6px 9px;
    gap:6px;font-size:8px;line-height:1.15;text-align:left;
  }
  .player-page #tab-stats .stats-all-matches span{width:19px;height:19px}
  .player-page #tab-stats .stats-all-matches span svg{width:16px;height:16px}
}

/* Liderzy poszczególnych kolumn w tooltipie formy. */
.pg-form-tooltip-head strong{font-size:14px;letter-spacing:.1px}
.pg-form-chart-tooltip thead th{padding:9px 10px;font-size:10px;letter-spacing:.35px}
.pg-form-chart-tooltip tbody th{font-size:12px;letter-spacing:.1px}
.pg-form-chart-tooltip tbody td{font-size:12px;font-weight:800}
.pg-form-chart-tooltip tbody td:nth-child(2){font-size:13px}
.pg-form-chart-tooltip tbody td.is-column-best{
  position:relative;padding-right:21px;
  border-bottom-color:#e8bc5b53;
  background:linear-gradient(90deg,#e8bb4d32,#e8bb4d12);
  box-shadow:inset 0 -2px 0 #eec75f;
  color:#ffe5a2;font-weight:950;
}
.pg-form-chart-tooltip tbody td.is-column-best::after{
  content:"★";position:absolute;right:6px;top:50%;transform:translateY(-50%);
  color:#f3c965;font-size:10px;line-height:1;
}
@media(max-width:650px){
  .pg-form-tooltip-head strong{font-size:12px}
  .pg-form-chart-tooltip tbody th{font-size:12px}
  .pg-form-chart-tooltip tbody td{padding:6px;font-size:12px}
  .pg-form-chart-tooltip tbody td::before{font-size:8px;letter-spacing:.1px}
  .pg-form-chart-tooltip tbody td.is-column-best{padding-right:18px;border-color:#e8bc5b70}
  .pg-form-chart-tooltip tbody td.is-column-best::after{right:5px;font-size:9px}
}

/* Ikony Lucide w kartach clutchy i multikilli. */
.player-page #tab-stats .stats-clutch .stat-card .metric-icon{width:36px;height:36px}
.player-page #tab-stats .stats-clutch .stat-card:first-child .metric-icon{width:48px;height:48px}
.player-page #tab-stats .stats-clutch .stat-card>span{font-size:11px;font-weight:900;letter-spacing:.3px}
@media(max-width:540px){
  .player-page #tab-stats .stats-clutch .stat-card .metric-icon{width:28px;height:28px}
  .player-page #tab-stats .stats-clutch .stat-card:first-child .metric-icon{width:36px;height:36px}
  .player-page #tab-stats .stats-clutch .stat-card>span{font-size:9px}
}

@media(max-width:760px){
  .player-page #tab-stats .stats-visual-card:nth-child(2),
  .player-page #tab-stats .stats-header-grid{display:none}
}

/* Moduły zawodnika: jeden przewijany rząd zamiast kilku rzędów przycisków. */
@media(max-width:760px){
  .player-page .pg-nav-intro{margin:18px 0 8px}
  .player-page .tabs{
    flex-wrap:nowrap;gap:5px;padding:5px;max-width:100%;
    overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;
    scrollbar-color:#6b7789 transparent;overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
  }
  .player-page .tab-button{
    flex:0 0 auto;min-height:36px;padding:8px 11px;
    font-size:10px;letter-spacing:.3px;line-height:1.1;
  }
}

@media(max-width:640px){
  .player-page .filters-panel.pg-shell-panel{grid-template-columns:minmax(0,1fr);max-width:100%}
  .player-page .filters-layout,
  .player-page .filters-fields,
  .player-page .filters-row,
  .player-page .filter-item{width:100%;max-width:100%;min-width:0}
  .player-page .filters-row:first-child{
    width:100%;grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .player-page .pg-enhanced-select,
  .player-page .pg-date-field,
  .player-page .filter-item .pg-select-trigger,
  .player-page .filter-item input[type="date"]{min-width:0;max-width:100%}
  .player-page .quick-ranges{width:100%;min-width:0;max-width:100%}
}

/* Ostatnie mecze: zwarte kafle w dwóch kolumnach na telefonie. */
@media(max-width:600px){
  .player-page #tab-stats .recent-matches{
    grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;
  }
  .player-page #tab-stats .match-card{
    position:relative;grid-template-columns:minmax(0,1fr);grid-template-rows:67px auto;
    min-height:0;border:1px solid #354252;border-top:3px solid #e3b93d;
    border-radius:10px;background:linear-gradient(145deg,#182332,#0e1622);
  }
  .player-page #tab-stats .match-card.match-win{border-color:#354252;border-top-color:#32d17f}
  .player-page #tab-stats .match-card.match-loss{border-color:#354252;border-top-color:#f25165}
  .player-page #tab-stats .match-map{
    height:67px;min-height:0;margin:0;border-radius:0;
    background-position:center 38%;
  }
  .player-page #tab-stats .match-map::after{
    border-radius:0;background:linear-gradient(180deg,#09111b08 20%,#0e1622cc);
  }
  .player-page #tab-stats .match-info{
    display:flex;align-items:flex-start;justify-content:flex-start;
    gap:3px;min-width:0;padding:7px 8px 8px;
  }
  .player-page #tab-stats .match-info h4{font-size:11px;line-height:1.1}
  .player-page #tab-stats .chips-row{gap:4px;justify-content:flex-start}
  .player-page #tab-stats .match-result-chip,
  .player-page #tab-stats .side-chip{padding:2px 5px;font-size:8px;letter-spacing:.15px}
  .player-page #tab-stats .match-info .match-result{font-size:19px;line-height:1.05}
  .player-page #tab-stats .match-date{max-width:100%;font-size:9px;overflow:hidden;text-overflow:ellipsis}
  .player-page #tab-stats .match-date svg{width:10px;height:10px}
}

/* Natywne kalendarze potrzebują więcej miejsca niż połowa wąskiego panelu. */
@media(max-width:640px){
  .player-page .filters-row:first-child>.filter-item:nth-child(3),
  .player-page .filters-row:first-child>.filter-item:nth-child(4){
    grid-column:1/-1;display:grid;grid-template-columns:58px minmax(0,1fr);
    align-items:center;gap:8px;min-width:0;
  }
  .player-page .filters-row:first-child>.filter-item:nth-child(3) label,
  .player-page .filters-row:first-child>.filter-item:nth-child(4) label{
    margin:0;white-space:nowrap;
  }
  .player-page .pg-date-field{width:100%;max-width:100%;overflow:hidden}
  .player-page .pg-date-field input[type="date"]{
    display:block;width:100%;max-width:100%;min-width:0;margin:0;
    box-sizing:border-box;font-size:13px;
  }
}

/* Czytelny tooltip formy: wynik główny i dwie kolumny składowych. */
@media(max-width:650px){
  .pg-form-chart-tooltip{
    width:calc(100vw - 20px);max-width:420px;max-height:min(60vh,440px);
    border-radius:13px;box-shadow:0 18px 55px #000e,0 0 0 1px #ffffff13;
  }
  .pg-form-tooltip-head{
    display:grid;grid-template-columns:minmax(0,1fr) auto;
    align-items:center;gap:3px 9px;padding:10px 12px;
  }
  .pg-form-tooltip-head strong{grid-column:1;font-size:13px;line-height:1.2}
  .pg-form-tooltip-head small{
    grid-column:1;grid-row:2;width:max-content;padding:0;border:0;
    background:none;font-size:9px;
  }
  .pg-form-chart-tooltip.is-single .pg-form-tooltip-head small{display:none}
  .pg-form-tooltip-close{grid-column:2;grid-row:1/3;width:30px;height:30px}
  .pg-form-chart-tooltip tbody{padding:8px}
  .pg-form-chart-tooltip tbody tr,
  .pg-form-chart-tooltip.is-form tbody tr{
    grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px;
    margin-bottom:7px;padding:7px 10px;
    border-color:#46576c;border-left-color:var(--row-color);
    background:linear-gradient(135deg,#1b2a3b,#111e2d);
  }
  .pg-form-chart-tooltip tbody th{
    grid-column:1/-1;padding:3px 0 8px;margin-bottom:2px;
    font-size:13px;font-weight:900;
  }
  .pg-form-chart-tooltip tbody td{
    display:flex;align-items:center;justify-content:space-between;gap:5px;
    min-width:0;padding:7px 1px;border:0;border-bottom:1px solid #ffffff13;
    border-radius:0;background:transparent;font-size:13px;text-align:right;
  }
  .pg-form-chart-tooltip tbody td::before{
    flex:0 1 auto;color:#aabdd2;font-size:9px;font-weight:850;
    line-height:1.15;text-align:left;letter-spacing:.15px;
  }
  .pg-form-chart-tooltip tbody td:nth-child(2){
    grid-column:1/-1;margin:5px 0 2px;padding:9px 10px;
    border:1px solid color-mix(in srgb,var(--row-color) 55%,#334355);
    border-radius:8px;background:color-mix(in srgb,var(--row-color) 13%,#1b2a3b);
    color:var(--row-color);font-size:18px;font-weight:950;
  }
  .pg-form-chart-tooltip tbody td:nth-child(2)::before{color:#dce7f2;font-size:10px}
  .pg-form-chart-tooltip tbody td:nth-child(2).is-column-best{
    border-color:#e8bc5b70;background:linear-gradient(90deg,#e8bb4d32,#e8bb4d12);
    color:#ffe5a2;
  }
  .pg-form-chart-tooltip tbody td:last-child{
    grid-column:1/-1;border-bottom:0;color:#d6e3f0;font-size:12px;
  }
  .pg-form-chart-tooltip tbody td.is-column-best{padding-right:23px}
  .pg-form-chart-tooltip tbody td.is-column-best::after{right:7px}
}

/* Typografia i ikony panelu trendu formy. */
.player-page #tab-graphs .pg-trend-main{
  --trend-color:#4ce395;grid-template-columns:minmax(0,1fr) 42px;
  gap:5px 12px;margin:9px 0 12px;align-items:center;
}
.player-page #tab-graphs .pg-trend-main.is-negative{--trend-color:#ff687d}
.player-page #tab-graphs .pg-trend-main.is-neutral{--trend-color:#a9b6c7}
.player-page #tab-graphs .pg-trend-value{display:flex;align-items:baseline;gap:8px;min-width:0;color:var(--trend-color)}
.player-page #tab-graphs .pg-trend-value strong{
  font-size:clamp(34px,3.4vw,46px);font-weight:950;line-height:.98;
  letter-spacing:-1.8px;font-variant-numeric:tabular-nums;
}
.player-page #tab-graphs .pg-trend-value span{
  font-size:13px;font-weight:900;letter-spacing:.7px;text-transform:uppercase;
}
.player-page #tab-graphs .pg-trend-main>.pg-trend-direction{
  display:grid;place-items:center;width:42px;height:42px;border-radius:11px;
  border:1px solid color-mix(in srgb,var(--trend-color) 35%,transparent);
  background:color-mix(in srgb,var(--trend-color) 14%,#122131);
  color:var(--trend-color);
}
.player-page #tab-graphs .pg-trend-direction svg{width:23px;height:23px}
.player-page #tab-graphs .pg-trend-main>small{
  color:#b9c7d9;font-size:11px;font-weight:700;line-height:1.3;
}
.player-page #tab-graphs .pg-trend-rows>div{
  gap:10px;border-color:#3a4b5e;background:linear-gradient(110deg,#172536,#101b29);
}
.player-page #tab-graphs .pg-trend-rows p{font-size:13px;font-weight:900;letter-spacing:.1px}
.player-page #tab-graphs .pg-trend-rows p small{font-size:10px;font-weight:650;color:#a9b9cd}
.player-page #tab-graphs .pg-trend-rows>div>strong{font-size:17px;font-weight:900;font-variant-numeric:tabular-nums}
.player-page #tab-graphs .pg-trend-rows>div>span svg{width:18px;height:18px}
.player-page #tab-graphs .pg-trend-rows>div:nth-child(3)>span{color:#4ce395;background:#4ce39522}
.player-page #tab-graphs .pg-trend-rows>div:nth-child(3).is-negative>span{color:#ff687d;background:#ff687d22}
.player-page #tab-graphs .pg-trend-rows>div:nth-child(3).is-neutral>span{color:#a9b6c7;background:#a9b6c722}
@media(max-width:550px){
  .player-page #tab-graphs .pg-trend-main{grid-template-columns:minmax(0,1fr) 36px;margin:5px 0 9px}
  .player-page #tab-graphs .pg-trend-value strong{font-size:36px}
  .player-page #tab-graphs .pg-trend-value span{font-size:11px}
  .player-page #tab-graphs .pg-trend-main>.pg-trend-direction{width:36px;height:36px}
  .player-page #tab-graphs .pg-trend-direction svg{width:20px;height:20px}
  .player-page #tab-graphs .pg-trend-main>small{font-size:10px}
  .player-page #tab-graphs .pg-trend-rows p{font-size:12px}
  .player-page #tab-graphs .pg-trend-rows p small{font-size:10px}
}

.player-page #tab-graphs .pg-activity-copy strong em{
  color:#91bff0;font-size:.42em;font-style:normal;font-weight:800;
  letter-spacing:0;white-space:nowrap;
}
@media(max-width:650px){
  .player-page #tab-graphs .pg-form-activity{height:auto;min-height:225px}
  .player-page #tab-graphs #graphActivityHeatmap{flex-direction:column;gap:8px}
  .player-page #tab-graphs .pg-heatmap{width:100%;gap:5px}
  .player-page #tab-graphs .pg-heat-legend{
    display:flex;flex-wrap:nowrap;align-items:center;gap:5px;
    min-width:0;max-width:100%;margin-top:4px;padding:7px 1px 6px;
    overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;
    scrollbar-color:#536b85 transparent;overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
  }
  .player-page #tab-graphs .pg-heat-legend>span{
    display:inline-flex;align-items:center;flex:none;gap:4px;
    padding:4px 7px;border:1px solid #405069;border-radius:999px;
    background:#172437;white-space:nowrap;
  }
  .player-page #tab-graphs .pg-heat-legend i{flex:none;width:7px;height:7px}
  .player-page #tab-graphs .pg-heat-legend b{font-size:9px}
  .player-page #tab-graphs .pg-heat-legend small{font-size:8px;white-space:nowrap}
  .player-page #tab-graphs .pg-heatmap-total{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;
    width:100%;min-width:0;margin:0;padding:7px 0 0;
    border-left:0;border-top:1px solid #ffffff22;
  }
  .player-page #tab-graphs .pg-activity-stat{
    display:flex;align-items:center;justify-content:flex-start;gap:7px;
    width:auto;min-width:0;padding:6px 8px;border:1px solid #33445a;
    border-radius:9px;background:linear-gradient(135deg,#172638,#101b29);
  }
  .player-page #tab-graphs .pg-activity-icon{
    flex:0 0 27px;width:27px;height:27px;border-radius:8px;
  }
  .player-page #tab-graphs .pg-activity-icon svg{width:16px;height:16px}
  .player-page #tab-graphs .pg-activity-copy{gap:1px}
  .player-page #tab-graphs .pg-activity-copy small{
    font-size:8px;font-weight:800;letter-spacing:.2px;white-space:nowrap;
  }
  .player-page #tab-graphs .pg-activity-copy strong{font-size:18px;white-space:nowrap}
  .player-page #tab-graphs .pg-activity-copy strong em{font-size:9px}
}

@media(max-width:650px){
  .player-page #tab-graphs .pg-form-dashboard>.pg-form-periods{
    height:auto;min-height:0;gap:3px;
  }
  .player-page #tab-graphs #graphPeriodCompare{flex:0 0 auto;min-height:0}
  .player-page #tab-graphs .pg-period-groups{flex:none;height:126px;min-height:0}
  .player-page #tab-graphs .pg-period-bars{height:98px}
}

/* Naprzemienne tło rankingu map jak w tabeli meczów. */
.player-page #tab-maps .pg-map-entry:nth-child(even):not(.is-active){
  background:rgba(255,255,255,.016);
}

/* Porównaj: ten sam rytm tabeli co Gra z, także na małych ekranach. */
.player-page #tab-compare .pg-compare-scroll{
  background:#10131b;border-color:rgba(255,255,255,.16);
  box-shadow:0 10px 26px #0003;
}
.player-page #tab-compare .pg-compare-table{min-width:1450px;font-variant-numeric:tabular-nums}
.player-page #tab-compare .pg-compare-table th,
.player-page #tab-compare .pg-compare-table td{
  padding:13px 10px;border:0;border-bottom:1px solid rgba(255,255,255,.075);
  text-align:center;white-space:nowrap;
}
.player-page #tab-compare .pg-compare-table thead th{
  background:#1b1e28;color:#aab4c5;font-size:10px;font-weight:900;
  letter-spacing:1px;text-transform:uppercase;
}
.player-page #tab-compare .pg-compare-table tbody td{
  color:#dce1eb;font-size:14px;font-weight:700;line-height:1.2;
}
.player-page #tab-compare .pg-compare-table .pg-compare-name-cell{
  text-align:left;color:#f0f2f7;font-weight:900;background:#11151d;
}
.player-page #tab-compare .pg-compare-table tbody tr:nth-child(even){background:rgba(255,255,255,.016)}
.player-page #tab-compare .pg-compare-table tbody tr:nth-child(even) .pg-compare-name-cell{background:#161a23}
.player-page #tab-compare .pg-compare-table tbody tr:hover{background:rgba(255,68,77,.065)}
.player-page #tab-compare .pg-compare-table tbody tr.compare-self td{background:#211c24}
.player-page #tab-compare .pg-compare-table tbody tr.compare-self .pg-compare-name-cell{background:#29222c}
.player-page #tab-compare .pg-compare-table td.better{color:#69e48b;font-weight:850}
.player-page #tab-compare .pg-compare-table td.worse{color:#ff6570;font-weight:850}
.player-page #tab-compare .pg-compare-table td.self{color:#ffce83;font-weight:900}

/* Mecze: mały identyfikator pozostaje przy krawędzi podczas przewijania. */
.player-page #tab-matches .pg-matches-table th,
.player-page #tab-matches .pg-matches-table td{padding:13px 10px}
.player-page #tab-matches .pg-matches-table thead th:first-child,
.player-page #tab-matches .pg-matches-table tbody .date-cell{
  position:sticky;left:0;width:108px;min-width:108px;max-width:108px;
  border-right:1px solid #435064;box-shadow:2px 0 9px #0007;
}
.player-page #tab-matches .pg-matches-table thead th:first-child{z-index:4;background:#1b1e28}
.player-page #tab-matches .pg-matches-table tbody .date-cell{z-index:2;background:#11151d}
.player-page #tab-matches .pg-matches-table tbody tr:nth-child(even) .date-cell{background:#161a23}
.player-page #tab-matches .pg-match-date strong{font-size:11px}
.player-page #tab-matches .pg-matches-scroll.is-scrolled .pg-match-date{display:none}
.player-page #tab-matches .pg-matches-scroll.is-scrolled .pg-match-compact{display:grid;gap:2px;text-align:left;line-height:1.1}
.player-page #tab-matches .pg-match-compact small{color:#9baabd;font-size:9px;font-weight:750}
.player-page #tab-matches .pg-match-compact strong{color:#f3f6fb;font-size:10px;font-weight:900}
.player-page #tab-matches .pg-match-compact b{font-size:13px;font-weight:950}
.player-page #tab-matches .pg-matches-scroll.is-scrolled thead th:first-child{font-size:0}
.player-page #tab-matches .pg-matches-scroll.is-scrolled thead th:first-child::after{content:"MECZ";font-size:10px}
@media(max-width:768px){
  .player-page #tab-compare .pg-compare-scroll{
    width:100%;max-width:none;border-left:0;border-right:0;border-radius:0;
  }
  .player-page #tab-compare .pg-compare-table th,
  .player-page #tab-compare .pg-compare-table td{padding:10px 7px}
  .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:118px;min-width:118px;max-width:118px;
    padding-left:6px;padding-right:6px;
  }
  .player-page #tab-compare .pg-compare-table tbody tr:nth-child(even) td:first-child:not([colspan]){background:#161a23}
  .player-page #tab-compare .pg-compare-table tbody tr.compare-self td:first-child{background:#29222c}
  .player-page #tab-matches .pg-matches-table th,
  .player-page #tab-matches .pg-matches-table td{padding:10px 7px}
  .player-page #tab-matches .pg-matches-table thead th:first-child,
  .player-page #tab-matches .pg-matches-table tbody .date-cell{
    width:92px;min-width:92px;max-width:92px;padding-left:7px;padding-right:7px;
  }
  .player-page #tab-matches .pg-matches-table .pg-match-date{display:none}
  .player-page #tab-matches .pg-matches-table .pg-match-compact{display:grid;gap:2px;text-align:left;line-height:1.1}
  .player-page #tab-matches .pg-matches-table thead th:first-child{font-size:0}
  .player-page #tab-matches .pg-matches-table thead th:first-child::after{content:"MECZ";font-size:10px}
}

/* Gra z i Porównaj: wspólne szerokości kolumn i jednakowa wysokość wierszy. */
.player-page #tab-played-with .played-with-table,
.player-page #tab-compare .pg-compare-table{table-layout:fixed}
.player-page #tab-played-with .played-with-table{min-width:970px}
.player-page #tab-compare .pg-compare-table{min-width:1470px}
.player-page #tab-played-with .pg-col-player,
.player-page #tab-compare .pg-col-player{width:158px}
.player-page #tab-played-with .pg-col-matches,
.player-page #tab-compare .pg-col-matches{width:112px}
.player-page #tab-played-with .pg-col-adr,
.player-page #tab-compare .pg-col-adr,
.player-page #tab-played-with .pg-col-hs,
.player-page #tab-compare .pg-col-hs,
.player-page #tab-played-with .pg-col-rating,
.player-page #tab-compare .pg-col-rating{width:90px}
.player-page #tab-played-with .played-with-table tbody tr,
.player-page #tab-compare .pg-compare-table tbody tr{height:54px}
.player-page #tab-played-with .played-with-table thead th,
.player-page #tab-compare .pg-compare-table thead th{height:40px;padding:9px 10px}
.player-page #tab-played-with .played-with-table tbody th,
.player-page #tab-played-with .played-with-table tbody td,
.player-page #tab-compare .pg-compare-table tbody td{height:54px;padding:9px 10px;font-size:14px;line-height:1.2}
.player-page #tab-compare .pg-compare-avatar{
  flex-basis:27px;width:27px;height:27px;
}
.player-page #tab-compare .pg-compare-person{gap:8px}
.player-page #tab-compare .pg-compare-person-name,
.player-page #tab-played-with .pw-person{font-size:14px}
@media(max-width:768px){
  .player-page #tab-played-with .pg-col-player,
  .player-page #tab-compare .pg-col-player{width:118px}
  .player-page #tab-played-with .played-with-table tbody tr,
  .player-page #tab-compare .pg-compare-table tbody tr{height:48px}
  .player-page #tab-played-with .played-with-table thead th,
  .player-page #tab-compare .pg-compare-table thead th{height:36px;padding:7px}
  .player-page #tab-played-with .played-with-table tbody th,
  .player-page #tab-played-with .played-with-table tbody td,
  .player-page #tab-compare .pg-compare-table tbody td{height:48px;padding:7px;font-size:12px}
  .player-page #tab-played-with .played-with-table tbody th:first-child,
  .player-page #tab-compare .pg-compare-table tbody td:first-child:not([colspan]){padding-left:6px;padding-right:6px}
  .player-page #tab-compare .pg-compare-avatar{flex-basis:25px;width:25px;height:25px}
  .player-page #tab-compare .pg-compare-person{gap:5px}
  .player-page #tab-compare .pg-compare-person-name,
  .player-page #tab-played-with .pw-person{font-size:12px}
}

/* Mecze: te same proporcje wierszy co w Gra z i Porównaj. */
.player-page #tab-matches .pg-matches-table{table-layout:fixed;min-width:1160px}
.player-page #tab-matches .pg-match-col-id{width:96px}
.player-page #tab-matches .pg-match-col-map{width:160px}
.player-page #tab-matches .pg-match-col-score{width:82px}
.player-page #tab-matches .pg-match-col-kda{width:100px}
.player-page #tab-matches .pg-match-col-adr,
.player-page #tab-matches .pg-match-col-hs,
.player-page #tab-matches .pg-match-col-rating{width:90px}
.player-page #tab-matches .pg-match-col-small{width:68px}
.player-page #tab-matches .pg-match-col-action{width:78px}
.player-page #tab-matches .pg-matches-table tbody tr{height:54px}
.player-page #tab-matches .pg-matches-table thead th{height:40px;padding:9px 10px}
.player-page #tab-matches .pg-matches-table tbody td{height:54px;padding:9px 10px;font-size:14px;line-height:1.2}
.player-page #tab-matches .pg-matches-table thead th:first-child,
.player-page #tab-matches .pg-matches-table tbody .date-cell{
  position:sticky;left:0;width:96px;min-width:96px;max-width:96px;
  padding-left:9px;padding-right:7px;border-right:1px solid #435064;
  box-shadow:2px 0 9px #0007;
}
.player-page #tab-matches .pg-matches-table thead th:first-child{z-index:5;background:#1b1e28}
.player-page #tab-matches .pg-matches-table tbody .date-cell{z-index:3;background:#11151d}
.player-page #tab-matches .pg-matches-table tbody tr:nth-child(even) .date-cell{background:#161a23}
.player-page #tab-matches .pg-matches-table thead th:last-child,
.player-page #tab-matches .pg-matches-table tbody .pg-match-row td:last-child{
  position:static;width:78px;min-width:78px;max-width:78px;
  padding-left:5px;padding-right:5px;border-left:0;box-shadow:none;
}
.player-page #tab-matches .pg-matches-table thead th:last-child{z-index:5;background:#1b1e28}
.player-page #tab-matches .pg-matches-table tbody .pg-match-row td:last-child{z-index:3;background:#11151d}
.player-page #tab-matches .pg-matches-table tbody .pg-match-row:nth-child(even) td:last-child{background:#161a23}
.player-page #tab-matches .pg-matches-table tbody .pg-match-row:hover .date-cell,
.player-page #tab-matches .pg-matches-table tbody .pg-match-row:hover td:last-child{background:#25202a}
.player-page #tab-matches .pg-matches-table .pg-match-date{display:grid}
.player-page #tab-matches .pg-matches-table .pg-match-compact{
  display:none;grid-template-columns:1fr auto;gap:2px 3px;align-items:center;
  text-align:left;line-height:1.1;
}
.player-page #tab-matches .pg-match-compact small{grid-column:1;grid-row:1;white-space:nowrap}
.player-page #tab-matches .pg-match-compact b{grid-column:2;grid-row:1;font-size:11px;white-space:nowrap}
.player-page #tab-matches .pg-match-compact strong{grid-column:1 / -1;grid-row:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.player-page #tab-matches .pg-matches-table thead th:first-child{font-size:10px}
.player-page #tab-matches .pg-matches-table thead th:first-child::after{display:none}
.player-page #tab-matches .pg-matches-scroll.is-scrolled .pg-matches-table thead th:first-child,
.player-page #tab-matches .pg-matches-scroll.is-scrolled .pg-matches-table tbody .date-cell{
  position:sticky;left:0;border-right:1px solid #435064;box-shadow:2px 0 9px #0007;
}
.player-page #tab-matches .pg-matches-scroll.is-scrolled .pg-matches-table thead th:first-child{z-index:5;font-size:10px}
.player-page #tab-matches .pg-matches-scroll.is-scrolled .pg-matches-table tbody .date-cell{z-index:3}
.player-page #tab-matches .pg-matches-scroll.is-scrolled .pg-matches-table .pg-match-date{display:none}
.player-page #tab-matches .pg-matches-scroll.is-scrolled .pg-matches-table .pg-match-compact{display:grid}
.player-page #tab-matches .open-match-btn{min-height:28px;padding:0 5px;font-size:11px}
@media(max-width:768px){
  .player-page #tab-matches .pg-matches-table{min-width:1020px}
  .player-page #tab-matches .pg-match-col-id{width:84px}
  .player-page #tab-matches .pg-match-col-map{width:136px}
  .player-page #tab-matches .pg-match-col-action{width:68px}
  .player-page #tab-matches .pg-matches-table tbody tr{height:48px}
  .player-page #tab-matches .pg-matches-table thead th{height:36px;padding:7px}
  .player-page #tab-matches .pg-matches-table tbody td{height:48px;padding:7px;font-size:12px}
  .player-page #tab-matches .pg-matches-table thead th:first-child,
  .player-page #tab-matches .pg-matches-table tbody .date-cell{
    width:84px;min-width:84px;max-width:84px;padding-left:6px;padding-right:5px;
  }
  .player-page #tab-matches .pg-matches-table thead th:last-child,
  .player-page #tab-matches .pg-matches-table tbody .pg-match-row td:last-child{
    width:68px;min-width:68px;max-width:68px;padding-left:4px;padding-right:4px;
  }
  .player-page #tab-matches .pg-match-compact small{font-size:8px}
  .player-page #tab-matches .pg-match-compact b{font-size:10px}
  .player-page #tab-matches .pg-match-compact strong{font-size:9px}
  .player-page #tab-matches .open-match-btn{min-height:25px;padding:0 4px;font-size:10px}
}

.player-page #tab-matches .pg-matches-table .score-cell .pg-match-score{
  display:inline-flex;align-items:center;justify-content:center;min-width:60px;
  padding:5px 8px;border:1px solid;border-radius:6px;
  font-size:15px;font-weight:950;letter-spacing:.25px;line-height:1.05;
  font-variant-numeric:tabular-nums;
}
.player-page #tab-matches .score-cell.result-win .pg-match-score{background:#153327;border-color:#367b53;box-shadow:inset 0 1px #ffffff12}
.player-page #tab-matches .score-cell.result-lose .pg-match-score{background:#391f29;border-color:#874453;box-shadow:inset 0 1px #ffffff12}
.player-page #tab-matches .score-cell.result-tie .pg-match-score{background:#3a301d;border-color:#8d7340;box-shadow:inset 0 1px #ffffff12}
@media(max-width:768px){
  .player-page #tab-matches .pg-matches-table .score-cell .pg-match-score{min-width:52px;padding:4px 6px;font-size:13px}
}

/* Ta sama miniatura mapy w tabeli meczów i w zakładce Mapy. */
.player-page #tab-matches .pg-matches-table .map-cell{min-width:0}
.player-page #tab-matches .pg-match-map{min-width:0}
.player-page #tab-matches .pg-match-map img.pg-map-thumb{
  display:block;flex:0 0 38px;width:38px;height:38px;min-width:38px;
  border-radius:9px;object-fit:cover;filter:saturate(.85) contrast(1.08);
}
.player-page #tab-matches .pg-match-map strong{min-width:0}
@media(max-width:768px){
  .player-page #tab-matches .pg-matches-table .map-cell{min-width:136px}
  .player-page #tab-matches .pg-match-map img.pg-map-thumb{
    display:block;flex-basis:34px;width:34px;height:34px;min-width:34px;
  }
  .player-page #tab-matches .pg-match-map strong{font-size:11px}
}

/* Kolumna gracza dopasowana do avatara i nicku w obu zestawieniach. */
.player-page #tab-played-with .played-with-table{min-width:944px}
.player-page #tab-compare .pg-compare-table{min-width:1444px}
.player-page #tab-played-with .pg-col-player,
.player-page #tab-compare .pg-col-player{width:132px}
.player-page #tab-compare .pg-compare-table thead th:first-child,
.player-page #tab-compare .pg-compare-table tbody td:first-child:not([colspan]).pg-compare-name-cell,
.player-page #tab-played-with .played-with-table thead th:first-child,
.player-page #tab-played-with .played-with-table tbody th:first-child{
  width:132px;min-width:132px;max-width:132px;
  padding-left:7px;padding-right:7px;
}
.player-page #tab-played-with .pw-person-name{color:var(--player-accent,#f0f2f7)}
.player-page #tab-played-with .pw-person img{flex:none}
@media(max-width:768px){
  .player-page #tab-played-with .played-with-table{min-width:800px}
  .player-page #tab-played-with .pg-col-player,
  .player-page #tab-compare .pg-col-player{width:108px}
  .player-page #tab-compare .pg-compare-table thead th:first-child,
  .player-page #tab-compare .pg-compare-table tbody td:first-child:not([colspan]).pg-compare-name-cell,
  .player-page #tab-played-with .played-with-table thead th:first-child,
  .player-page #tab-played-with .played-with-table tbody th:first-child{
    width:108px;min-width:108px;max-width:108px;
    padding-left:5px;padding-right:5px;
  }
  .player-page #tab-played-with .pw-person img{width:25px;height:25px}
  .player-page #tab-played-with .pw-person,
  .player-page #tab-compare .pg-compare-person{gap:4px}
}

/* Trzy nagłówki tabel mają ten sam rytm i typografię. */
.player-page #tab-matches .pg-module-heading,
.player-page #tab-played-with .pg-module-heading,
.player-page #tab-compare .pg-module-heading{
  margin:0 0 22px;padding-bottom:22px;align-items:center;
}

/* Gra z: stałe szerokości na przewijanej tabeli mieszczą obie wartości w każdej komórce. */
.player-page #tab-played-with .played-with-table{min-width:954px}
.player-page #tab-played-with .played-with-table col:nth-child(3){width:112px}
.player-page #tab-played-with .played-with-table col:nth-child(4){width:100px}
.player-page #tab-played-with .played-with-table col:nth-child(5){width:110px}
.player-page #tab-played-with .played-with-table col:nth-child(6){width:100px}
.player-page #tab-played-with .played-with-table .pg-col-adr,
.player-page #tab-played-with .played-with-table .pg-col-hs,
.player-page #tab-played-with .played-with-table .pg-col-rating{width:96px}
.player-page #tab-played-with .played-with-table th,
.player-page #tab-played-with .played-with-table td{overflow:hidden;text-overflow:ellipsis}
@media(max-width:768px){
  .player-page #tab-played-with .played-with-table{min-width:926px}
  .player-page #tab-played-with .played-with-table .pg-col-matches{width:108px}
}
@media(max-width:768px){
  .player-page #tab-matches .pg-module-heading,
  .player-page #tab-played-with .pg-module-heading,
  .player-page #tab-compare .pg-module-heading{
    margin-bottom:17px;padding-bottom:17px;
    padding-left:var(--pg-gutter);padding-right:var(--pg-gutter);
  }
}

/* Mecze, Gra z i Porównaj: jeden wygląd panelu aż do zawartości tabeli. */
.player-page #tab-matches.pg-module,
.player-page #tab-played-with.pg-module,
.player-page #tab-compare.pg-module{
  position:relative;isolation:isolate;overflow:hidden!important;
  width:100%;margin-top:17px;padding:clamp(17px,2.6vw,33px)!important;
  border:1px solid rgba(255,255,255,.13)!important;border-radius:16px!important;
  background:radial-gradient(ellipse 660px 260px at 100% 0%,rgba(212,29,44,.085),transparent 75%),linear-gradient(162deg,rgba(22,25,34,.975),rgba(10,12,18,.978) 76%)!important;
  box-shadow:0 19px 45px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.026)!important;
}
.player-page #tab-played-with.pg-module::before,
.player-page #tab-played-with.pg-module::after,
.player-page #tab-compare.pg-module::before,
.player-page #tab-compare.pg-module::after{display:block!important}
.player-page #tab-matches .pg-table-kicker,
.player-page #tab-played-with .pg-table-kicker,
.player-page #tab-compare .pg-table-kicker{margin:0 0 11px}
@media(max-width:768px){
  .player-page #tab-matches.pg-module,
  .player-page #tab-played-with.pg-module,
  .player-page #tab-compare.pg-module{
    width:calc(100% + 2 * var(--pg-gutter));max-width:none;
    margin:12px calc(-1 * var(--pg-gutter)) 0;padding:19px 0!important;
    border-left:0!important;border-right:0!important;border-radius:0!important;
  }
  .player-page #tab-matches .pg-table-kicker,
  .player-page #tab-played-with .pg-table-kicker,
  .player-page #tab-compare .pg-table-kicker{
    margin-bottom:9px;padding-left:var(--pg-gutter);padding-right:var(--pg-gutter);
  }
}

/* Porównaj: stała siatka kolumn, spójna z Gra z przy przewijaniu. */
.player-page #tab-compare .pg-compare-table{min-width:1442px}
.player-page #tab-compare .pg-compare-table col:nth-child(n+3):nth-child(-n+6){width:76px}
.player-page #tab-compare .pg-compare-table col:nth-child(n+9):nth-child(-n+16){width:78px}
.player-page #tab-compare .pg-compare-table th,
.player-page #tab-compare .pg-compare-table td{overflow:hidden;text-overflow:ellipsis}
@media(max-width:768px){
  .player-page #tab-compare .pg-compare-table{min-width:1418px}
}

/* Porównaj: identyczna szerokość przypiętego gracza jak w Gra z. */
.player-page #tab-compare .pg-compare-table .pg-col-player,
.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:132px!important;min-width:132px!important;max-width:132px!important;
}
.player-page #tab-compare .pg-compare-table .pg-compare-person{min-width:0;max-width:100%;overflow:hidden}
.player-page #tab-compare .pg-compare-table .pg-compare-person-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:768px){
  .player-page #tab-compare .pg-compare-table .pg-col-player,
  .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:108px!important;min-width:108px!important;max-width:108px!important;
  }
}

/* Tooltip formy na telefonie zachowuje tabelę z PC i przewija ją w obu osiach. */
.pg-form-tooltip-scroll{display:contents}
@media(max-width:650px){
  .pg-form-chart-tooltip{
    width:calc(100vw - 20px);max-width:420px;max-height:min(66vh,500px);
    overflow:hidden;pointer-events:auto;
  }
  .pg-form-tooltip-head{position:relative;z-index:3}
  .pg-form-tooltip-scroll{
    display:block;max-height:min(55vh,420px);overflow:auto;
    overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
    scrollbar-width:thin;scrollbar-color:#6f829a #111d2c;
    touch-action:pan-x pan-y;
  }
  .pg-form-chart-tooltip table{
    display:table;width:max-content;min-width:100%;border-collapse:separate;
    border-spacing:0;table-layout:auto;white-space:nowrap;
  }
  .pg-form-chart-tooltip.is-form table{min-width:680px}
  .pg-form-chart-tooltip thead{display:table-header-group}
  .pg-form-chart-tooltip tbody{display:table-row-group;width:auto;padding:0}
  .pg-form-chart-tooltip tbody tr,
  .pg-form-chart-tooltip.is-form tbody tr{
    display:table-row;margin:0;padding:0;border:0;border-radius:0;background:transparent;
  }
  .pg-form-chart-tooltip th,
  .pg-form-chart-tooltip td,
  .pg-form-chart-tooltip tbody th,
  .pg-form-chart-tooltip tbody td{
    display:table-cell;width:auto;min-width:0;margin:0;padding:9px 10px;
    border:0;border-bottom:1px solid #ffffff16;border-radius:0;
    font-size:11px;line-height:1.2;text-align:right;white-space:nowrap;
  }
  .pg-form-chart-tooltip thead th{position:sticky;top:0;z-index:2;background:#172537;font-size:9px}
  .pg-form-chart-tooltip thead th:first-child{z-index:4;text-align:left}
  .pg-form-chart-tooltip tbody th{
    position:sticky;left:0;z-index:1;min-width:90px;
    padding:9px 10px;background:#111e2e!important;
    box-shadow:2px 0 8px #0008;text-align:left;font-size:11px;
  }
  .pg-form-chart-tooltip tbody tr:nth-child(even) th{background:#172335!important}
  .pg-form-chart-tooltip tbody td{background:transparent;font-weight:800}
  .pg-form-chart-tooltip tbody td::before{content:none}
  .pg-form-chart-tooltip tbody td:nth-child(2){
    background:color-mix(in srgb,var(--row-color) 13%,#142134);
    color:var(--row-color);font-size:12px;font-weight:950;
  }
  .pg-form-chart-tooltip tbody td:last-child{border-bottom:1px solid #ffffff16;font-size:11px}
  .pg-form-chart-tooltip tbody td.is-column-best{
    padding-right:22px;border-color:#e8bc5b70;
    background:linear-gradient(90deg,#e8bb4d32,#e8bb4d12);color:#ffe5a2;
  }
}

/* Mobilny identyfikator meczu jest osobną warstwą nad przewijaną tabelą. */
.player-page #tab-matches .pg-matches-frame{position:relative;min-width:0}
.player-page #tab-matches .pg-match-float{display:none}
@media(max-width:768px){
  .player-page #tab-matches .pg-matches-frame.is-scrolled .pg-match-float{
    display:block;position:absolute;z-index:12;top:0;left:0;width:84px;
    overflow:hidden;border-right:1px solid #435064;
    box-shadow:3px 0 12px #000b;pointer-events:none;
  }
  .player-page #tab-matches .pg-match-float-head{
    display:flex;align-items:center;height:36px;padding:0 6px;
    background:#1b1e28;border-bottom:1px solid rgba(255,255,255,.075);
    color:#aab4c5;font-size:10px;font-weight:900;letter-spacing:1px;
  }
  .player-page #tab-matches .pg-match-float-row{
    display:flex;align-items:center;height:48px;padding:4px 5px 4px 6px;
    background:#11151d;border-bottom:1px solid rgba(255,255,255,.075);
  }
  .player-page #tab-matches .pg-match-float-row:nth-child(even){background:#161a23}
  .player-page #tab-matches .pg-match-float .pg-match-compact{
    display:grid;width:100%;grid-template-columns:1fr auto;
    gap:2px 3px;align-items:center;text-align:left;line-height:1.1;
  }
  .player-page #tab-matches .pg-match-float .pg-match-compact small{grid-column:1;grid-row:1;color:#9baabd;font-size:8px;font-weight:750;white-space:nowrap}
  .player-page #tab-matches .pg-match-float .pg-match-compact b{grid-column:2;grid-row:1;font-size:10px;font-weight:950;white-space:nowrap}
  .player-page #tab-matches .pg-match-float .pg-match-compact strong{grid-column:1 / -1;grid-row:2;overflow:hidden;color:#f3f6fb;font-size:9px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
}

/* Centrum dowodzenia: dwa zwarte pola daty w jednym rzędzie na telefonie. */
.player-page .pg-date-pair{display:contents}
.player-page .pg-date-display{display:none}
@media(max-width:640px){
  .player-page .filters-row:first-child>.pg-date-pair{
    display:grid;grid-column:1 / -1;
    grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%;min-width:0;
  }
  .player-page .pg-date-pair>.filter-item{
    display:flex;flex-direction:column;align-items:stretch;gap:5px;
    width:100%;min-width:0;max-width:100%;
  }
  .player-page .pg-date-pair .pg-date-field{
    display:flex;align-items:center;position:relative;width:100%;height:39px;min-width:0;
    border:1px solid #44526a;border-radius:8px;
    background:linear-gradient(145deg,#1c293a,#141d2b);
    box-shadow:inset 0 1px #ffffff0c;
  }
  .player-page .pg-date-pair .pg-date-field:focus-within{
    border-color:#ff6772;box-shadow:0 0 0 2px #ff495433;
  }
  .player-page .pg-date-pair .pg-date-field input[type="date"]{
    position:absolute;z-index:2;inset:0;display:block;
    width:100%;height:100%;min-height:0;max-width:100%;
    margin:0;padding:0;opacity:0;cursor:pointer;
  }
  .player-page .pg-date-pair .pg-date-display{
    display:flex;align-items:center;width:100%;height:100%;min-width:0;
    padding:0 31px 0 9px;overflow:hidden;color:#e8edf5;
    font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;
    line-height:1;white-space:nowrap;pointer-events:none;
  }
  .player-page .pg-date-pair .pg-date-display.is-empty{color:#8998ad;font-size:11px;font-weight:650}
  .player-page .pg-date-pair .pg-date-picker{
    display:grid;right:7px;z-index:1;width:24px;height:24px;
    border:0;background:transparent;color:#91b7e7;box-shadow:none;pointer-events:none;
  }
  .player-page .pg-date-pair .pg-date-picker svg{width:17px;height:17px}
}

.player-page #tab-stats .stats-general .metric-icon .headshot-icon{display:block;width:21px;height:21px;object-fit:contain;filter:brightness(0) invert(1)}
@media(max-width:540px){.player-page #tab-stats .stats-general .metric-icon .headshot-icon{width:18px;height:18px}}

/* Delikatny akcent dla dwóch wskaźników K/D w statystykach gracza. */
.player-page #tab-stats .stats-utility .stat-card.is-ratio{
  border-color:#79b8f44a;
  background:linear-gradient(105deg,#294056,#182332 70%);
  box-shadow:inset 2px 0 0 #77b3ff,0 2px 8px #050b151f;
}
.player-page #tab-stats .stats-utility .stat-card.is-ratio.metric-violet{
  border-color:#b29aff4a;
  background:linear-gradient(105deg,#332e4d,#1d2031 70%);
  box-shadow:inset 2px 0 0 #b29aff,0 2px 8px #050b151f;
}
.player-page #tab-stats .stats-utility .stat-card.is-ratio strong{font-weight:900;color:#e8f2ff}
.player-page #tab-stats .stats-utility .stat-card.is-ratio.metric-violet strong{color:#eee8ff}

/* Główne statystyki: kolor nawiązuje do rodzaju akcji. */
.player-page #tab-stats .stats-general .stat-card.core-kills{
  border-color:#62d99b66;
  background:linear-gradient(100deg,#1d4035,#182b2d 76%);
  box-shadow:inset 2px 0 0 #62d99b;
}
.player-page #tab-stats .stats-general .stat-card.core-deaths{
  border-color:#f47c8b66;
  background:linear-gradient(100deg,#442934,#20212e 76%);
  box-shadow:inset 2px 0 0 #fb7b90;
}
.player-page #tab-stats .stats-general .stat-card.core-assists{
  border-color:#e5bf6266;
  background:linear-gradient(100deg,#403923,#2b2921 76%);
  box-shadow:inset 2px 0 0 #e5bf62;
}
.player-page #tab-stats .stats-general .stat-card.core-kills .metric-icon,
.player-page #tab-stats .stats-general .stat-card.core-kills strong{color:#80e5ae}
.player-page #tab-stats .stats-general .stat-card.core-deaths .metric-icon,
.player-page #tab-stats .stats-general .stat-card.core-deaths strong{color:#ff9aab}
.player-page #tab-stats .stats-general .stat-card.core-assists .metric-icon,
.player-page #tab-stats .stats-general .stat-card.core-assists strong{color:#f0d37d}

/* Paski użyteczności pod wartościami, bez podnoszenia wysokości kart. */
.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5){
  grid-template-columns:25px minmax(0,1fr) minmax(78px,30%);
  grid-template-rows:23px 6px;
  row-gap:2px;
  min-height:36px;
  padding:1px 8px 2px;
}
.player-page #tab-stats .stats-utility .stat-card.is-dual:nth-child(-n+5){grid-template-columns:25px minmax(0,1fr) auto auto}
.player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5) .metric-meter{
  position:static;grid-column:3/-1;grid-row:2;
  width:100%;height:6px;align-self:center;
  background:#3b4554;
}
@media(max-width:640px){
  .player-page #tab-stats .stats-utility .stat-card:nth-child(-n+5){grid-template-columns:23px minmax(0,1fr) minmax(70px,30%);padding:1px 7px 2px}
  .player-page #tab-stats .stats-utility .stat-card.is-dual:nth-child(-n+5){grid-template-columns:23px minmax(0,1fr) auto auto}
}

/* Rozkład wyników w tym samym rytmie co sąsiednia karta K/D/A. */
.player-page #tab-stats .stats-visuals{grid-template-columns:repeat(2,minmax(0,1fr))}
.player-page #tab-stats .stats-visual-card:nth-child(2){
  overflow:hidden;
  background:radial-gradient(circle at 100% 100%,#26c88216,transparent 52%),linear-gradient(115deg,#1b2430,#101722 78%);
}
.player-page #tab-stats .stats-visual-card:nth-child(2) .pg-mini-heading{
  flex-direction:row;align-items:center;justify-content:space-between;
  min-height:30px;margin:0 0 6px;
}
.player-page #tab-stats .stats-visual-card:nth-child(2) .pg-mini-heading h4{
  display:flex;align-items:center;gap:10px;min-width:0;font-size:14px;
}
.player-page #tab-stats .stats-visual-card:nth-child(2) .pg-mini-heading h4 svg{flex:none;color:#ff5366}
.player-page #tab-stats .stats-visual-card:nth-child(2) .stats-results-total{
  display:inline-flex;flex:none;align-items:baseline;gap:5px;
  color:#f0f2fa;font-size:11px;font-weight:900;letter-spacing:0;
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
.player-page #tab-stats .stats-results-total strong{font-size:18px;line-height:1}
.player-page #tab-stats .stats-results-total small{color:#aab8ca;font-size:9px;letter-spacing:.5px}
.player-page #tab-stats .stats-visual-card:nth-child(2) .stats-results-ring{
  display:grid;grid-template-columns:minmax(0,1fr);align-content:center;
  gap:2px;width:100%;height:auto;min-height:0;padding:0;
}
.player-page #tab-stats .stats-result-row{
  --result-color:#f6c966;--result-tint:#f6c96620;
  display:grid;grid-template-columns:30px minmax(70px,1fr) 44px minmax(65px,1.05fr) 52px;
  align-items:center;gap:8px;min-width:0;min-height:31px;padding:2px 0;
  border-bottom:1px solid #ffffff18;
  font-size:11px;font-variant-numeric:tabular-nums;
}
.player-page #tab-stats .stats-result-row:last-child{border-bottom:0}
.player-page #tab-stats .stats-result-row.win{--result-color:#38dc8e;--result-tint:#38dc8e22}
.player-page #tab-stats .stats-result-row.loss{--result-color:#ff6475;--result-tint:#ff647522}
.player-page #tab-stats .stats-result-row .stats-visual-icon{
  width:27px;height:27px;background:var(--result-tint);color:var(--result-color);
}
.player-page #tab-stats .stats-result-row .stats-visual-icon svg{width:18px;height:18px}
.player-page #tab-stats .stats-result-label{min-width:0;color:#e2e8f3;font-weight:700}
.player-page #tab-stats .stats-result-row strong{color:var(--result-color);font-size:17px;line-height:1}
.player-page #tab-stats .stats-result-meter{height:10px;min-width:0;border-radius:20px;background:#303a49;overflow:hidden}
.player-page #tab-stats .stats-result-meter b{display:block;height:100%;border-radius:inherit;background:var(--result-color)}
.player-page #tab-stats .stats-result-percent{color:var(--result-color);font-size:11px;font-weight:850;text-align:right;white-space:nowrap}
@media(max-width:760px){
  .player-page #tab-stats .stats-visuals{grid-template-columns:minmax(0,1fr)}
  .player-page #tab-stats .stats-visual-card:nth-child(2){display:block}
}
@media(max-width:540px){
  .player-page #tab-stats .stats-result-row{grid-template-columns:25px minmax(62px,1fr) 37px minmax(40px,.9fr) 43px;gap:5px}
  .player-page #tab-stats .stats-result-row strong{font-size:15px}
  .player-page #tab-stats .stats-result-percent{font-size:10px}
  .player-page #tab-stats .stats-visual-card:nth-child(2) .pg-mini-heading h4{font-size:12px;gap:7px}
}

/* Wspólna typografia i kolumny obu kart na komputerze i telefonie. */
.player-page #tab-stats .stats-visual-card .pg-mini-heading{
  display:flex;flex-direction:row;align-items:center;justify-content:space-between;
  min-height:30px;margin:0 0 6px;padding-bottom:7px;
}
.player-page #tab-stats .stats-visual-card .pg-mini-heading h4{
  display:flex;align-items:center;gap:10px;min-width:0;
  font-size:14px;font-weight:900;line-height:1.2;
}
.player-page #tab-stats .stats-kda-mark{font-size:18px;font-weight:900}
.player-page #tab-stats .stats-kda-bars,
.player-page #tab-stats .stats-visual-card:nth-child(2) .stats-results-ring{
  width:100%;gap:2px;
}
.player-page #tab-stats .stats-visual-card:first-child::after{opacity:.24}
.player-page #tab-stats .stats-kda-row,
.player-page #tab-stats .stats-result-row{
  grid-template-columns:30px minmax(72px,1fr) 54px minmax(70px,1.1fr) 52px;
  gap:8px;min-height:31px;padding:2px 0;
  border-bottom:1px solid #ffffff18;
  font-size:11px;font-weight:700;
}
.player-page #tab-stats .stats-kda-row>span:nth-child(2),
.player-page #tab-stats .stats-result-label{font-size:11px;font-weight:700}
.player-page #tab-stats .stats-kda-row strong,
.player-page #tab-stats .stats-result-row strong{
  font-size:17px;font-weight:900;font-variant-numeric:tabular-nums;
}
.player-page #tab-stats .stats-kda-row i{grid-column:4/6}
.player-page #tab-stats .stats-result-meter{grid-column:4}
.player-page #tab-stats .stats-result-percent{grid-column:5;font-size:11px;font-weight:800}
@media(max-width:540px){
  .player-page #tab-stats .stats-visual-card .pg-mini-heading h4{font-size:12px;gap:7px}
  .player-page #tab-stats .stats-kda-row,
  .player-page #tab-stats .stats-result-row{
    grid-template-columns:25px minmax(62px,1fr) 42px minmax(40px,.9fr) 43px;
    gap:5px;
  }
  .player-page #tab-stats .stats-kda-row strong,
  .player-page #tab-stats .stats-result-row strong{font-size:15px}
  .player-page #tab-stats .stats-result-percent{font-size:10px}
  .player-page #tab-stats .stats-visual-card:first-child::after{opacity:.16}
}

/* Ramy mobilnych tabel pozostają w granicach strony po usunięciu zewnętrznego paddingu. */
@media(max-width:768px){
  .player-page.no-player-selected .players-overview,
  .player-page #tab-matches.pg-module,
  .player-page #tab-played-with.pg-module,
  .player-page #tab-compare.pg-module{
    width:100%;margin-left:0;margin-right:0;
  }
}
