/* POSTTEAM / MAPY 5.0 — niezależny, izolowany układ rankingu.
   Plik ładowany PO zespol.css; nie używa starych selektorów .map-overview-*. */
.team-page .legacy-maps .map-card:has(.pt-map-v5) {
  border: 1px solid rgba(184,198,222,.17);
  border-radius: 14px;
  background: linear-gradient(155deg,#151923,#0b0e16 72%);
  overflow: visible;
}
.team-page .legacy-maps .pt-map-v5 { padding: 18px; font-family: Arial,Helvetica,sans-serif; color: #f6f7fa; }
.team-page .legacy-maps .pt-map-v5 * { box-sizing: border-box; }
.team-page .legacy-maps .pt-map-v5-intro { display:flex; justify-content:space-between; align-items:flex-end; gap:18px; margin:0 2px 16px; flex-wrap:wrap; }
.team-page .legacy-maps .pt-map-v5-eyebrow { display:block; font-size:10px; font-weight:900; color:#ff5a67; letter-spacing:1.55px; }
.team-page .legacy-maps .pt-map-v5-intro h4 { margin:7px 0 0; color:#f5f6fa; font-size:19px; font-weight:900; line-height:1.25; letter-spacing:-.4px; }
.team-page .legacy-maps .pt-map-v5-intro h4 span { color:#808b9e; font-size:12px; font-weight:600; letter-spacing:0; }
.team-page .legacy-maps .pt-map-v5-caption { color:#8e98aa; font-size:11px; line-height:1.4; }
.team-page .legacy-maps .pt-map-v5-head,
.team-page .legacy-maps .pt-map-v5-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;
}
.team-page .legacy-maps .pt-map-v5-head { padding:10px 16px 11px; color:#7d899e; font-size:9px; font-weight:900; letter-spacing:1.1px; white-space:nowrap; }
.team-page .legacy-maps .pt-map-v5-head span:nth-child(n+4) { text-align:center; }
.team-page .legacy-maps .pt-map-v5-list { overflow:hidden; padding:0 12px; border:1px solid rgba(255,255,255,.105); border-radius:13px; background:linear-gradient(180deg,#11151f 0%,#0b0e15 100%); }
.team-page .legacy-maps .pt-map-v5-entry { border-bottom:1px solid rgba(195,207,231,.095); }
.team-page .legacy-maps .pt-map-v5-entry:last-child { border-bottom:0; }
.team-page .legacy-maps .pt-map-v5-entry.is-active { background:rgba(255,77,91,.055); }
.team-page .legacy-maps button.pt-map-v5-row {
  appearance:none; border:0; outline:0; box-shadow:none;
  width:100%; margin:0; padding:11px 13px;
  min-height:65px; border-radius:8px; background:transparent;
  color:inherit; font-family:inherit; font-size:13px;
  text-align:left; cursor:pointer; transition:background .15s ease;
}
.team-page .legacy-maps button.pt-map-v5-row:hover { background:rgba(255,255,255,.045); }
.team-page .legacy-maps button.pt-map-v5-row:focus-visible { outline:2px solid #ff5c69; outline-offset:-2px; }
.team-page .legacy-maps .pt-map-v5-entry.is-active button.pt-map-v5-row { background:linear-gradient(90deg,rgba(255,69,87,.12),rgba(255,69,87,.025)); box-shadow:inset 3px 0 0 #ff4e5e; }
.team-page .legacy-maps .pt-map-v5-identity { display:flex; align-items:center; gap:11px; min-width:0; }
.team-page .legacy-maps .pt-map-v5-position { display:block; flex:0 0 24px; width:24px; color:#6c7687; text-align:center; font-size:12px; font-weight:900; font-variant-numeric:tabular-nums; }
.team-page .legacy-maps .pt-map-v5-entry:first-child .pt-map-v5-position { color:#ffda9a; }
.team-page .legacy-maps .pt-map-v5-thumb { display:block; flex:0 0 38px; width:38px; height:38px; border-radius:9px; border:1px solid rgba(255,255,255,.14); background-color:#202a37; background-size:cover; background-position:center; }
.team-page .legacy-maps .pt-map-v5-map { display:flex; flex-direction:column; min-width:0; gap:5px; }
.team-page .legacy-maps .pt-map-v5-map strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; font-weight:900; color:#f4f6fa; text-transform:uppercase; letter-spacing:-.2px; }
.team-page .legacy-maps .pt-map-v5-map small { color:#8792a4; font-size:10px; font-weight:650; white-space:nowrap; }
.team-page .legacy-maps .pt-map-v5-map small b { padding:0 3px; color:#586272; }
.team-page .legacy-maps .pt-map-v5-cell { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; min-width:0; font-variant-numeric:tabular-nums; }
.team-page .legacy-maps .pt-map-v5-cell > small { display:none; }
.team-page .legacy-maps .pt-map-v5-cell > strong { font-weight:900; font-size:14px; line-height:1.1; white-space:nowrap; }
.team-page .legacy-maps .pt-map-v5-count, .team-page .legacy-maps .pt-map-v5-win { align-items:flex-start; }
.team-page .legacy-maps .pt-map-v5-count > strong { font-size:15px; }
.team-page .legacy-maps .pt-map-v5-win > strong { color:#63e69d; font-size:15px; }
.team-page .legacy-maps .pt-map-v5-track, .team-page .legacy-maps .pt-map-v5-wintrack { display:block; width:100%; height:4px; background:rgba(120,134,167,.18); border-radius:50px; overflow:hidden; }
.team-page .legacy-maps .pt-map-v5-track > i { display:block; height:100%; border-radius:inherit; background:#628bff; }
.team-page .legacy-maps .pt-map-v5-wintrack { background:rgba(255,86,96,.20); }
.team-page .legacy-maps .pt-map-v5-wintrack > i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#2fc46d,#6ae49b); }
.team-page .legacy-maps .pt-map-v5-rating > strong { color:#ffffff; font-size:15px; }
.team-page .legacy-maps .pt-map-v5-side strong { display:inline-flex; align-items:center; justify-content:center; padding:5px 6px; border-radius:7px; min-width:52px; font-size:12px; }
.team-page .legacy-maps .pt-map-v5-side-t strong { color:#ff909a; background:rgba(255,82,96,.11); border:1px solid rgba(255,82,96,.20); }
.team-page .legacy-maps .pt-map-v5-side-ct strong { color:#9dd6ff; background:rgba(60,157,255,.12); border:1px solid rgba(60,157,255,.24); }
.team-page .legacy-maps .pt-map-v5-chevron { width:25px; height:25px; display:grid; place-items:center; justify-self:end; background:rgba(255,255,255,.045); border-radius:7px; color:#8f9cad; transition:transform .18s ease, color .18s ease, background .18s ease; }
.team-page .legacy-maps .pt-map-v5-chevron svg { width:15px; height:15px; }
.team-page .legacy-maps .pt-map-v5-entry.is-active .pt-map-v5-chevron { transform:rotate(180deg); background:rgba(255,74,88,.17); color:#ffb8bf; }
.team-page .legacy-maps .pt-map-v5-details { padding:20px 16px 24px; border-top:1px solid rgba(255,255,255,.08); background:linear-gradient(180deg,rgba(3,5,10,.4),rgba(9,12,19,.32)); }
.team-page .legacy-maps .pt-map-v5-details[hidden] { display:none !important; }
.team-page .legacy-maps .pt-map-v5-empty { color:#aab4c5; padding:22px; }
/* Nie nadpisujemy barw kart CT/T; zmieniamy wyłącznie semantyczny progress wygranych. */
.team-page .legacy-maps .pt-map-v5-details .map-side-bar { background:rgba(246,81,91,.24); height:9px; border:1px solid rgba(255,255,255,.06); }
.team-page .legacy-maps .pt-map-v5-details .map-side-bar > span { background:linear-gradient(90deg,#30c86e,#6be59e); box-shadow:0 0 12px rgba(48,200,110,.24); }
.team-page .legacy-maps .pt-map-v5-details .map-side-ring { background:conic-gradient(#35d87c var(--ring-value),rgba(245,82,94,.30) 0); }
.team-page .legacy-maps .pt-map-v5-details .map-side-ring span { color:#f5f7fb; }

@media(max-width:1180px) {
  .team-page .legacy-maps .pt-map-v5-head { display:none; }
  .team-page .legacy-maps button.pt-map-v5-row { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); row-gap:12px; padding:15px; }
  .team-page .legacy-maps .pt-map-v5-identity { grid-column:1 / span 5; }
  .team-page .legacy-maps .pt-map-v5-count { grid-column:6 / span 3; }
  .team-page .legacy-maps .pt-map-v5-win { grid-column:9 / span 3; }
  .team-page .legacy-maps .pt-map-v5-chevron { grid-column:12; grid-row:1; }
  .team-page .legacy-maps .pt-map-v5-kd { grid-column:1 / span 2; }
  .team-page .legacy-maps .pt-map-v5-adr { grid-column:3 / span 2; }
  .team-page .legacy-maps .pt-map-v5-rating { grid-column:5 / span 2; }
  .team-page .legacy-maps .pt-map-v5-kast { grid-column:7 / span 2; }
  .team-page .legacy-maps .pt-map-v5-side-t { grid-column:9 / span 2; }
  .team-page .legacy-maps .pt-map-v5-side-ct { grid-column:11 / span 2; }
  .team-page .legacy-maps .pt-map-v5-cell > small { display:block; color:#78869b; font-size:9px; font-weight:900; letter-spacing:.7px; }
  .team-page .legacy-maps .pt-map-v5-count,
  .team-page .legacy-maps .pt-map-v5-win { align-items:center; }
  .team-page .legacy-maps .pt-map-v5-count > i,
  .team-page .legacy-maps .pt-map-v5-win > i { max-width:115px; }
}
@media(max-width:640px) {
  .team-page .legacy-maps .pt-map-v5 { padding:12px; }
  .team-page .legacy-maps .pt-map-v5-intro { gap:6px; margin:4px 1px 12px; }
  .team-page .legacy-maps .pt-map-v5-intro h4 { font-size:16px; }
  .team-page .legacy-maps .pt-map-v5-intro h4 span { display:block; font-size:11px; margin-top:3px; }
  .team-page .legacy-maps .pt-map-v5-caption { display:none; }
  .team-page .legacy-maps .pt-map-v5-list { padding:0 7px; }
  .team-page .legacy-maps button.pt-map-v5-row { grid-template-columns:repeat(6,minmax(0,1fr)); row-gap:12px; column-gap:6px; padding:13px 7px 14px; }
  .team-page .legacy-maps .pt-map-v5-identity { grid-column:1 / span 5; grid-row:1; gap:9px; }
  .team-page .legacy-maps .pt-map-v5-position { flex-basis:20px; width:20px; }
  .team-page .legacy-maps .pt-map-v5-thumb { flex-basis:36px; width:36px; height:36px; }
  .team-page .legacy-maps .pt-map-v5-map strong { font-size:14px; }
  .team-page .legacy-maps .pt-map-v5-chevron { grid-column:6; grid-row:1; }
  .team-page .legacy-maps .pt-map-v5-count { grid-column:1 / span 3; grid-row:2; }
  .team-page .legacy-maps .pt-map-v5-win { grid-column:4 / span 3; grid-row:2; }
  .team-page .legacy-maps .pt-map-v5-kd { grid-column:1; grid-row:3; }
  .team-page .legacy-maps .pt-map-v5-adr { grid-column:2; grid-row:3; }
  .team-page .legacy-maps .pt-map-v5-rating { grid-column:3; grid-row:3; }
  .team-page .legacy-maps .pt-map-v5-kast { grid-column:4; grid-row:3; }
  .team-page .legacy-maps .pt-map-v5-side-t { grid-column:5; grid-row:3; }
  .team-page .legacy-maps .pt-map-v5-side-ct { grid-column:6; grid-row:3; }
  .team-page .legacy-maps .pt-map-v5-cell > strong { font-size:12px; }
  .team-page .legacy-maps .pt-map-v5-side strong { min-width:0; padding:5px 4px; font-size:11px; }
  .team-page .legacy-maps .pt-map-v5-details { padding:13px 9px 17px; }
  .team-page .legacy-maps .pt-map-v5-details .map-side-card { padding:13px; }
  .team-page .legacy-maps .pt-map-v5-details .map-side-ring { width:55px; height:55px; flex-basis:55px; }
}
@media(max-width:380px) {
  .team-page .legacy-maps .pt-map-v5-position { display:none; }
  .team-page .legacy-maps .pt-map-v5-row .pt-map-v5-cell > small { font-size:8px; letter-spacing:0; }
  .team-page .legacy-maps .pt-map-v5-side strong { font-size:10px; }
}

/* Raport map: układ inspirowany planszą CS2. */
.team-page .legacy-maps .map-card:has(.pt-map-v5){background:transparent;border:0;overflow:visible}
.team-page .legacy-maps .pt-map-v5{padding:0;font-family:inherit}
.team-page .legacy-maps .pt-map-v5-head,.team-page .legacy-maps .pt-map-v5-list{background:#0c1320}
.team-page .legacy-maps .pt-map-v5-head,.team-page .legacy-maps .pt-map-v5-row{grid-template-columns:minmax(205px,2.3fr) minmax(76px,1fr) minmax(88px,1.05fr) repeat(3,minmax(62px,.75fr)) repeat(2,minmax(64px,.8fr)) 26px;column-gap:14px}
.team-page .legacy-maps .pt-map-v5-head{padding:10px 21px;border:1px solid #354054;border-bottom:0;border-radius:16px 16px 0 0;background:#0c1320;color:#bac5da}
.team-page .legacy-maps .pt-map-v5-list{padding:0 15px 15px;border-color:#354054;border-top:0;border-radius:0 0 16px 16px;overflow:visible}
.team-page .legacy-maps .pt-map-v5-entry{margin:0 0 5px;border:1px solid rgba(164,184,219,.16);border-radius:12px;background:linear-gradient(90deg,#171b28,#101622);overflow:hidden}
.team-page .legacy-maps .pt-map-v5-entry.is-active{border-color:rgba(255,87,107,.38);background:linear-gradient(90deg,#281b29,#121622)}
.team-page .legacy-maps button.pt-map-v5-row{min-height:60px;padding:9px 14px}
.team-page .legacy-maps .pt-map-v5-entry.is-active button.pt-map-v5-row{box-shadow:inset 3px 0 0 #ff5064;background:linear-gradient(90deg,rgba(255,83,100,.13),transparent 75%)}
.team-page .legacy-maps .pt-map-v5-thumb{width:42px;height:42px;flex-basis:42px}
.team-page .legacy-maps .pt-map-v5-map strong{font-size:16px}
.team-page .legacy-maps .pt-map-v5-cell>strong{font-size:16px}
.team-page .legacy-maps .pt-map-v5-side strong{font-size:14px}
.team-page .legacy-maps .pt-map-v5-details{margin:16px -16px -16px;padding:0;border:0;background:transparent;overflow:hidden}
.team-page .legacy-maps .map-drilldown-shell{gap:0;padding:20px 22px 24px;border:1px solid #3d4d65;border-radius:16px;background:#0b1422;box-shadow:0 22px 48px #02060d99;overflow:hidden}
.team-page .legacy-maps .map-drilldown-hero{position:relative;isolation:isolate;display:flex;flex-direction:row;align-items:center;min-height:166px;margin:-20px -22px 14px;padding:24px 26px;border:0;overflow:hidden;background:#101c2d}
.team-page .legacy-maps .map-drilldown-hero::before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--map-hero-image);background-size:cover;background-position:center 46%;filter:saturate(.75)}
.team-page .legacy-maps .map-drilldown-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0b1322 0%,#0b1322ed 31%,#0b1322a6 54%,#0b13224d 100%),linear-gradient(0deg,#0b1422 0%,transparent 60%)}
.team-page .legacy-maps .map-drilldown-thumb{width:170px;height:116px;flex-basis:170px;border-radius:18px;border-color:#ffffff50}
.team-page .legacy-maps .map-drilldown-copy{padding-left:12px}
.team-page .legacy-maps .map-drilldown-kicker{color:#d0dcf0;font-size:12px;letter-spacing:1.7px}
.team-page .legacy-maps .map-drilldown-copy h4{font-size:clamp(32px,4vw,54px);font-style:italic;line-height:1;text-shadow:0 3px 20px #000}
.team-page .legacy-maps .map-drilldown-copy p{color:#f1f5fa;font-size:14px}
.team-page .legacy-maps .map-drilldown-shell .map-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}
.team-page .legacy-maps .map-drilldown-shell .map-stat{min-height:90px;padding:13px 12px;border:1px solid #ffffff1c;border-radius:13px;background:linear-gradient(145deg,#1b2738,#101827)}
.team-page .legacy-maps .map-drilldown-shell .map-stat-info strong{font-size:clamp(20px,2.2vw,29px)}
.team-page .legacy-maps .map-drilldown-shell .map-stat-icon{width:38px;height:38px}
.team-page .legacy-maps .map-drilldown-shell .map-stat-ring{width:38px;height:38px}
.team-page .legacy-maps .map-report-middle{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:14px;margin-bottom:18px}
.team-page .legacy-maps .map-drilldown-shell .side-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.team-page .legacy-maps .map-drilldown-shell .map-side-card{position:relative;isolation:isolate;min-width:0;min-height:150px;padding:18px;border-radius:12px;overflow:hidden;align-items:stretch;background:linear-gradient(110deg,#0d2944,#061422);border:1px solid #3f8bc4}
.team-page .legacy-maps .map-drilldown-shell .map-side-t{background:linear-gradient(110deg,#402029,#1c111b);border-color:#b34355}
.team-page .legacy-maps .map-side-operator{position:absolute;right:-6px;bottom:-30px;height:125%;max-width:58%;object-fit:contain;object-position:bottom right;z-index:-1;opacity:.88;mask-image:linear-gradient(90deg,transparent,#000 25%),linear-gradient(0deg,transparent,#000 21%);mask-composite:intersect}
.team-page .legacy-maps .map-side-card::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent 45%,#07131d33)}
.team-page .legacy-maps .map-side-content{width:100%;position:relative;z-index:1}
.team-page .legacy-maps .map-side-label{font-size:15px;font-weight:900;text-shadow:0 1px 8px #000}
.team-page .legacy-maps .map-side-numbers{margin:14px 0 2px;gap:15px;justify-content:flex-start;text-shadow:0 2px 8px #000}
.team-page .legacy-maps .map-side-numbers>strong{font-size:34px!important}
.team-page .legacy-maps .map-side-caption{color:#eef4ff}
.team-page .legacy-maps .map-side-bar{margin-top:16px}
.team-page .legacy-maps .map-side-ring{display:none}
.team-page .legacy-maps .map-outcome-card{display:flex;align-items:center;justify-content:space-around;gap:14px;padding:15px;border:1px solid #334156;border-radius:12px;background:linear-gradient(145deg,#1b2636,#0d1523)}
.team-page .legacy-maps .map-outcome-donut{flex:0 0 116px;width:116px;height:116px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#24d397 0 var(--map-win-end),#f04d69 var(--map-win-end) var(--map-loss-end),#9ca9bf var(--map-loss-end) 100%)}
.team-page .legacy-maps .map-outcome-donut>span{width:82px;height:82px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:#101a29}
.team-page .legacy-maps .map-outcome-donut strong{font-size:23px;line-height:1}
.team-page .legacy-maps .map-outcome-donut small{font-size:9px;font-weight:800;letter-spacing:1px}
.team-page .legacy-maps .map-outcome-legend{display:grid;gap:12px;min-width:0;flex:1}
.team-page .legacy-maps .map-outcome-legend>div{display:grid;grid-template-columns:11px minmax(55px,1fr) auto auto;gap:7px;align-items:center;font-size:12px}
.team-page .legacy-maps .map-outcome-legend i{width:11px;height:11px;border-radius:3px;background:#9ca9bf}
.team-page .legacy-maps .map-outcome-legend i.won{background:#24d397}.team-page .legacy-maps .map-outcome-legend i.lost{background:#f04d69}
.team-page .legacy-maps .map-outcome-legend strong{font-size:14px}.team-page .legacy-maps .map-outcome-legend small{color:#bac5d6;font-size:11px}
.team-page .legacy-maps .map-report-bottom{display:grid;grid-template-columns:1.15fr 1.05fr .72fr;gap:14px;align-items:start}
.team-page .legacy-maps .map-report-bottom .map-stat-section{min-width:0;min-height:100%;padding:14px;border:1px solid #354054;border-radius:13px;background:linear-gradient(150deg,#192231,#0b121e)}
.team-page .legacy-maps .map-report-bottom .map-data-heading{margin:0 0 12px;color:#f4f6fa;font-size:14px;letter-spacing:.2px}
.team-page .legacy-maps .map-drilldown-shell .metrics-grid.map-metrics-important,.team-page .legacy-maps .map-drilldown-shell .metrics-grid.map-metrics-sums{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.team-page .legacy-maps .map-drilldown-shell .metrics-grid.map-metrics-support{display:grid;grid-template-columns:1fr;gap:10px}
.team-page .legacy-maps .map-drilldown-shell .map-metric{min-height:36px;padding:6px 8px;gap:6px;border:1px solid #ffffff16;border-radius:9px;background:linear-gradient(145deg,#1e2a39,#101827)}
.team-page .legacy-maps .map-drilldown-shell .map-metric-icon{width:26px;height:26px;flex:0 0 26px}
.team-page .legacy-maps .map-drilldown-shell .map-metric-info{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:5px;min-width:0;width:100%}
.team-page .legacy-maps .map-drilldown-shell .map-metric-label{font-size:11px;line-height:1.15}
.team-page .legacy-maps .map-drilldown-shell .map-metric-value{font-size:15px;white-space:nowrap}
.team-page .legacy-maps .map-support-section .map-metric{min-height:72px;padding:12px}
.team-page .legacy-maps .map-support-section .map-metric-info{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.team-page .legacy-maps .map-support-section .map-metric-value{font-size:24px}
@media(max-width:1180px){
  .team-page .legacy-maps .map-report-middle{grid-template-columns:1fr}
  .team-page .legacy-maps .pt-map-v5-list{padding-top:8px;border-top:1px solid #354054;border-radius:16px}
  .team-page .legacy-maps .map-report-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}
  .team-page .legacy-maps .map-support-section{grid-column:1/-1}
  .team-page .legacy-maps .map-drilldown-shell .metrics-grid.map-metrics-support{grid-template-columns:repeat(2,minmax(0,1fr))}
  .team-page .legacy-maps .pt-map-v5-rating{grid-column:3/span 2}.team-page .legacy-maps .pt-map-v5-kast{grid-column:5/span 2}.team-page .legacy-maps .pt-map-v5-side-t{grid-column:7/span 3}.team-page .legacy-maps .pt-map-v5-side-ct{grid-column:10/span 3}
}
@media(max-width:700px){
  .team-page .legacy-maps .pt-map-v5{padding:0}
  .team-page .legacy-maps .pt-map-v5-list{padding:0 8px 8px}
  .team-page .legacy-maps .pt-map-v5-rating{grid-column:2;grid-row:3}.team-page .legacy-maps .pt-map-v5-kast{grid-column:3;grid-row:3}.team-page .legacy-maps .pt-map-v5-side-t{grid-column:4;grid-row:3}.team-page .legacy-maps .pt-map-v5-side-ct{grid-column:5/span 2;grid-row:3}
  .team-page .legacy-maps .pt-map-v5-details{margin:10px -9px -9px}
  .team-page .legacy-maps .map-drilldown-shell{padding:10px;gap:0;border-radius:12px}
  .team-page .legacy-maps .map-drilldown-hero{min-height:132px;margin:-10px -10px 12px;padding:16px;gap:10px;flex-direction:row;align-items:center}
  .team-page .legacy-maps .map-drilldown-thumb{width:74px;height:70px;flex-basis:74px}
  .team-page .legacy-maps .map-drilldown-copy{padding-left:0}.team-page .legacy-maps .map-drilldown-copy h4{font-size:30px}.team-page .legacy-maps .map-drilldown-copy p{font-size:11px}
  .team-page .legacy-maps .map-drilldown-shell .map-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:10px}
  .team-page .legacy-maps .map-drilldown-shell .map-stat{min-height:67px;padding:8px;gap:5px}.team-page .legacy-maps .map-drilldown-shell .map-stat-icon{width:26px;height:26px}.team-page .legacy-maps .map-drilldown-shell .map-stat-info strong{font-size:20px}
  .team-page .legacy-maps .map-report-middle{gap:9px;margin-bottom:10px}.team-page .legacy-maps .map-drilldown-shell .side-row{grid-template-columns:1fr;gap:9px}
  .team-page .legacy-maps .map-drilldown-shell .map-side-card{min-height:136px;padding:13px}.team-page .legacy-maps .map-side-operator{height:135%;max-width:56%}
  .team-page .legacy-maps .map-outcome-card{padding:11px}.team-page .legacy-maps .map-outcome-donut{width:96px;height:96px;flex-basis:96px}.team-page .legacy-maps .map-outcome-donut>span{width:68px;height:68px}
  .team-page .legacy-maps .map-report-bottom{grid-template-columns:1fr;gap:9px}.team-page .legacy-maps .map-support-section{grid-column:auto}
  .team-page .legacy-maps .map-report-bottom .map-stat-section{padding:10px}.team-page .legacy-maps .map-drilldown-shell .metrics-grid.map-metrics-important,.team-page .legacy-maps .map-drilldown-shell .metrics-grid.map-metrics-sums{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Historia skuteczności w nagłówku rozwiniętej mapy. */
.team-page .legacy-maps .map-drilldown-copy{flex:0 1 420px;min-width:260px}
.team-page .legacy-maps .map-winrate-history{position:relative;flex:1 1 50%;min-width:450px;max-width:780px;margin-left:auto;padding:12px 15px 10px;border:1px solid #426353a8;border-radius:12px;background:linear-gradient(145deg,#0b1829ed,#0b1420dc);box-shadow:0 12px 28px #0006;font-variant-numeric:tabular-nums}
.team-page .legacy-maps .map-winrate-history-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.team-page .legacy-maps .map-winrate-history-head>div{display:grid;gap:2px}
.team-page .legacy-maps .map-winrate-history-head span,.team-page .legacy-maps .map-winrate-history-empty>span{color:#dcebe4;font-size:10px;font-weight:900;letter-spacing:1.05px}
.team-page .legacy-maps .map-winrate-history-head small{color:#91b4a2;font-size:9px;font-weight:700}
.team-page .legacy-maps .map-winrate-history-head strong{color:#5bea9e;font-size:24px;font-weight:900;line-height:1}
.team-page .legacy-maps .map-winrate-history svg{display:block;width:100%;height:99px;margin-top:2px;overflow:visible}
.team-page .legacy-maps .map-winrate-history svg text{fill:#8da99b;font-size:9px;font-weight:700}
.team-page .legacy-maps .map-winrate-grid{fill:none;stroke:#9bb6a32b;stroke-width:1;stroke-dasharray:3 4;vector-effect:non-scaling-stroke}
.team-page .legacy-maps .map-winrate-line{fill:none;stroke:#53e495;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 5px #28d78099)}
.team-page .legacy-maps .map-winrate-last{fill:#d9ffe9;stroke:#47df8c;stroke-width:2;vector-effect:non-scaling-stroke}
.team-page .legacy-maps .map-winrate-hit{fill:transparent;cursor:crosshair}
.team-page .legacy-maps .map-winrate-hit:hover{fill:#a5ffd526;stroke:#87f3b6;stroke-width:1;vector-effect:non-scaling-stroke}
.team-page .legacy-maps .map-winrate-history-range{display:flex;justify-content:space-between;margin:0 1px 0 38px;color:#a7b9ad;font-size:9px;font-weight:700}
.team-page .legacy-maps .map-winrate-view-toggle{display:block;margin:5px 0 0 auto;padding:3px 7px;border:1px solid #53e49568;border-radius:5px;background:#153529a8;color:#a8f5ca;font-size:9px;font-weight:900;letter-spacing:.4px;cursor:pointer}
.team-page .legacy-maps .map-winrate-view-toggle:hover,.team-page .legacy-maps .map-winrate-view-toggle:focus-visible{border-color:#70f5aa;background:#204936;outline:none}
.team-page .legacy-maps .map-winrate-history[data-mode="focus"] .map-winrate-plot[data-view="all"],.team-page .legacy-maps .map-winrate-history[data-mode="all"] .map-winrate-plot[data-view="focus"]{display:none}
.team-page .legacy-maps .map-winrate-history-empty{display:grid;align-content:center;gap:7px;min-height:112px}
.team-page .legacy-maps .map-winrate-history-empty p{margin:0;color:#9cadb1;font-size:11px}
@media(max-width:1000px){
  .team-page .legacy-maps .map-drilldown-hero{flex-wrap:wrap}
  .team-page .legacy-maps .map-drilldown-copy{flex:1 1 auto}
  .team-page .legacy-maps .map-winrate-history{flex:1 1 100%;max-width:none;margin:4px 0 0}
}
@media(max-width:700px){
  .team-page .legacy-maps .map-drilldown-hero{align-items:center}
  .team-page .legacy-maps .map-winrate-history{min-width:0;padding:10px 10px 7px}
  .team-page .legacy-maps .map-winrate-history svg{height:68px}
}

/* Dwa różne widoki TOP 3: podium rozegranych meczów i pierścienie winrate. */
.team-page .legacy-maps .map-top3-panel{border-color:#4b5364;padding:20px 21px 18px;background:radial-gradient(circle at 0 0,#4b132038,transparent 42%),linear-gradient(145deg,#131a26,#0a101a)}
.team-page .legacy-maps .map-top3-panel .legacy-chart-head{padding-bottom:13px;border-bottom:1px solid #ffffff20}
.team-page .legacy-maps .map-podium{display:grid;grid-template-columns:1fr 1.18fr 1fr;align-items:end;gap:12px;padding:25px 0 0}
.team-page .legacy-maps .map-podium-card{position:relative;display:block;min-width:0;height:151px;overflow:visible;border:1px solid #91a3b980;border-radius:14px;background:#081522;box-shadow:0 5px 18px #0008}
.team-page .legacy-maps .map-podium-place-1{height:177px;border-color:#43b9ff;box-shadow:0 0 0 1px #43b9ff66,0 8px 25px #198de666}
.team-page .legacy-maps .map-podium-place-2{border-color:#56d9aa;box-shadow:0 0 0 1px #56d9aa33,0 8px 22px #188d6870}
.team-page .legacy-maps .map-podium-place-3{border-color:#edb768;box-shadow:0 0 0 1px #edb76833,0 8px 22px #ba773970}
.team-page .legacy-maps .map-podium-thumb{position:absolute;inset:0 0 29%;border-radius:13px 13px 0 0;background-size:cover;background-position:center}
.team-page .legacy-maps .map-podium-copy{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:65px;padding:9px 4px 7px;border-radius:0 0 13px 13px;background:linear-gradient(0deg,#07111df5,#07111ddd 74%,#07111d84);text-align:center;color:#fff}
.team-page .legacy-maps .map-podium-copy strong{font-size:clamp(13px,1.35vw,20px);line-height:1.05;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.team-page .legacy-maps .map-podium-copy b{font-size:clamp(22px,2.25vw,33px);line-height:1.08;font-variant-numeric:tabular-nums}
.team-page .legacy-maps .map-podium-copy small{font-size:8px;font-weight:900;letter-spacing:1px;color:#aebbd0}
.team-page .legacy-maps .map-podium-medal{position:absolute;z-index:2;top:-14px;left:50%;transform:translateX(-50%);min-width:54px;padding:4px 10px;border:1px solid #e2e8f0;border-radius:999px;background:linear-gradient(#364558,#182230);box-shadow:0 4px 12px #0009;color:#f5f9ff;text-align:center;font-size:14px;font-weight:900;font-variant-numeric:tabular-nums}
.team-page .legacy-maps .map-podium-place-1 .map-podium-medal{border-color:#ffe69d;background:linear-gradient(#dba639,#5c3c0f);color:#fff4ce}
.team-page .legacy-maps .map-podium-place-3 .map-podium-medal{border-color:#f8caa5;background:linear-gradient(#81502d,#382015);color:#ffe3c3}
.team-page .legacy-maps .map-winrate-showcase{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;align-items:stretch;min-height:202px;padding:2px 0}
.team-page .legacy-maps .map-winrate-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0;padding:10px 8px;background:radial-gradient(circle at 50% 43%,#41c39115,transparent 60%);text-align:center}
.team-page .legacy-maps .map-winrate-item+.map-winrate-item{border-left:1px solid #9daabd55}
.team-page .legacy-maps .map-winrate-green{--map-winrate-color:#43e7a0}
.team-page .legacy-maps .map-winrate-yellow{--map-winrate-color:#f4c84d}
.team-page .legacy-maps .map-winrate-red{--map-winrate-color:#f4616d}
.team-page .legacy-maps .map-winrate-ring{--map-ring-size:clamp(90px,8vw,126px);display:grid;place-items:center;flex:0 0 auto;width:var(--map-ring-size);height:var(--map-ring-size);border-radius:50%;background:conic-gradient(var(--map-winrate-color) var(--map-rate),#35404d 0);box-shadow:inset 0 0 0 6px #121b27,0 6px 19px #0009,0 0 18px color-mix(in srgb,var(--map-winrate-color) 20%,transparent)}
.team-page .legacy-maps .map-winrate-ring>span{display:block;width:calc(var(--map-ring-size) - 27px);height:calc(var(--map-ring-size) - 27px);border-radius:50%;border:3px solid #101925;background-size:cover;background-position:center}
.team-page .legacy-maps .map-winrate-copy{display:grid;gap:4px;min-width:0;text-transform:uppercase}
.team-page .legacy-maps .map-winrate-copy strong{font-size:clamp(13px,1.1vw,17px);line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#f7f9fd}
.team-page .legacy-maps .map-winrate-copy b{font-size:clamp(23px,2.25vw,34px);line-height:1;color:var(--map-winrate-color);font-variant-numeric:tabular-nums}

/* Zwarta nazwa i bilans W/P/R bez zmiany reszty tabeli. */
.team-page .legacy-maps .pt-map-v5-map{gap:2px;justify-content:center}
.team-page .legacy-maps .pt-map-v5-map strong{line-height:1.05}
.team-page .legacy-maps .pt-map-v5-map small{line-height:1.15}
@media(min-width:1181px){
  .team-page .legacy-maps button.pt-map-v5-row{min-height:54px;padding-top:6px;padding-bottom:6px}
}

@media(max-width:700px){
  .team-page .legacy-maps .map-winrate-item{flex-direction:column;gap:7px;text-align:center}
  .team-page .legacy-maps .map-winrate-showcase{min-height:0}
}
@media(max-width:700px){
  .team-page .legacy-maps .map-top3-panel{padding:16px 12px 15px}
  .team-page .legacy-maps .map-podium{gap:8px;padding-top:25px}
  .team-page .legacy-maps .map-podium-card{height:132px}
  .team-page .legacy-maps .map-podium-place-1{height:153px}
  .team-page .legacy-maps .map-podium-copy{min-height:58px}
  .team-page .legacy-maps .map-podium-copy strong{font-size:12px}
  .team-page .legacy-maps .map-podium-copy b{font-size:23px}
  .team-page .legacy-maps .map-podium-medal{font-size:12px;min-width:43px;padding:3px 7px}
  .team-page .legacy-maps .map-winrate-showcase{min-height:0;padding:8px 0 2px}
  .team-page .legacy-maps .map-winrate-item{padding:8px 3px}
  .team-page .legacy-maps .map-winrate-ring{--map-ring-size:74px;box-shadow:inset 0 0 0 4px #121b27,0 4px 12px #0008}
  .team-page .legacy-maps .map-winrate-ring>span{width:56px;height:56px;border-width:2px}
  .team-page .legacy-maps .map-winrate-copy{gap:4px}
  .team-page .legacy-maps .map-winrate-copy strong{font-size:11px}
  .team-page .legacy-maps .map-winrate-copy b{font-size:21px}
}

/* Na telefonie ranking map jest zwartą tabelą, z pełnymi danymi po rozwinięciu wiersza. */
@media(max-width:700px){
  .team-page .legacy-maps .pt-map-v5-list{padding:3px 7px 4px}
  .team-page .legacy-maps .pt-map-v5-entry{margin-bottom:2px}
  .team-page .legacy-maps button.pt-map-v5-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) 48px 65px 22px;
    align-items:center;
    column-gap:6px;
    row-gap:0;
    min-height:44px;
    padding:3px 8px;
  }
  .team-page .legacy-maps .pt-map-v5-identity{grid-column:1;grid-row:1;gap:6px;min-width:0}
  .team-page .legacy-maps .pt-map-v5-position{display:block;flex:0 0 18px;width:18px;font-size:10px}
  .team-page .legacy-maps .pt-map-v5-thumb{flex:0 0 30px;width:30px;height:30px;border-radius:6px}
  .team-page .legacy-maps .pt-map-v5-map{gap:1px}
  .team-page .legacy-maps .pt-map-v5-map strong{font-size:12px}
  .team-page .legacy-maps .pt-map-v5-map small{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:8px}
  .team-page .legacy-maps .pt-map-v5-count{grid-column:2;grid-row:1;align-items:stretch}
  .team-page .legacy-maps .pt-map-v5-win{grid-column:3;grid-row:1;align-items:stretch}
  .team-page .legacy-maps .pt-map-v5-count>strong,.team-page .legacy-maps .pt-map-v5-win>strong{font-size:14px}
  .team-page .legacy-maps .pt-map-v5-count>i,.team-page .legacy-maps .pt-map-v5-win>i{width:100%;max-width:none}
  .team-page .legacy-maps .pt-map-v5-row .pt-map-v5-cell>small{display:none}
  .team-page .legacy-maps .pt-map-v5-kd,.team-page .legacy-maps .pt-map-v5-rating,
  .team-page .legacy-maps .pt-map-v5-kast,.team-page .legacy-maps .pt-map-v5-side{display:none}
  .team-page .legacy-maps .pt-map-v5-chevron{grid-column:4;grid-row:1;width:22px;height:22px}
  .team-page .legacy-maps .pt-map-v5-details{margin:0;padding:0;border-top:1px solid #ffffff20}
}
@media(max-width:380px){
  .team-page .legacy-maps button.pt-map-v5-row{grid-template-columns:minmax(0,1fr) 40px 55px 20px;column-gap:4px;padding:3px 6px}
  .team-page .legacy-maps .pt-map-v5-position{display:none}
  .team-page .legacy-maps .pt-map-v5-thumb{flex-basis:28px;width:28px;height:28px}
  .team-page .legacy-maps .pt-map-v5-map strong{font-size:11px}
  .team-page .legacy-maps .pt-map-v5-map small{font-size:7px}
  .team-page .legacy-maps .pt-map-v5-count>strong,.team-page .legacy-maps .pt-map-v5-win>strong{font-size:12px}
}
