.team-profile-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:center;min-height:180px;padding:24px;background:linear-gradient(135deg,rgba(23,151,125,.08),transparent 48%),var(--xx-panel);border:1px solid var(--xx-line);border-radius:8px;}
.team-profile-logo{display:grid;place-items:center;width:124px;height:124px;background:var(--xx-surface-2);border:1px solid var(--xx-line);border-radius:8px;}
.team-profile-logo .team-logo{width:92px;height:92px;}
.team-profile-logo .team-logo-fallback{width:82px;height:82px;font-size:20px;}
.team-profile-hero span{color:var(--xx-muted);font:700 10px "Space Mono",ui-monospace,monospace;letter-spacing:1.2px;text-transform:uppercase;}
.team-profile-hero h3{margin:6px 0;color:var(--xx-text);font:800 32px var(--xx-font-ui);text-transform:uppercase;}
.team-profile-hero p{margin:0;color:var(--xx-muted);font:600 13px var(--xx-font-ui);}
.team-profile-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;}
.team-profile-title{min-width:0;}
.player-form-profile{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;align-items:center;width:min(100%,620px);margin-top:12px;padding:11px 12px;background:rgba(148,163,184,.045);border:1px solid rgba(148,163,184,.18);border-radius:8px;}
.player-form-profile>span{grid-column:1 / -1;}
.player-form-profile strong{display:inline-flex;gap:7px;align-items:center;color:var(--xx-text);font:900 14px var(--xx-font-ui);}
.player-form-profile.form-hot strong,.player-form-profile.form-positive strong{color:var(--xx-accent);}
.player-form-profile.form-below-baseline strong{color:#ffbf69;}
.player-form-profile.form-cold strong{color:#aa3438;}
.player-form-profile small{color:var(--xx-muted);font:600 11px var(--xx-font-ui);line-height:1.45;}
.player-form-profile-meta{grid-column:1 / -1;color:var(--xx-muted);font:700 9px "Space Mono",ui-monospace,monospace;letter-spacing:.45px;text-transform:uppercase;}
.player-career-profile{container-type:inline-size;display:grid;gap:.75rem;margin:.875rem 0;padding:.875rem;background:rgba(56,189,248,.045);border:1px solid rgba(56,189,248,.2);border-radius:8px;}
.player-career-profile header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.25rem .625rem;align-items:center;}
.player-career-profile header>span,.player-career-profile dt{color:var(--xx-muted);font:800 .5625rem "Space Mono",ui-monospace,monospace;letter-spacing:.75px;text-transform:uppercase;}
.player-career-profile header strong{justify-self:end;color:#7dd3fc;font:900 .875rem var(--xx-font-ui);}
.player-career-profile.career-veteran header strong{color:#d8b4fe;}
.player-career-profile header small{grid-column:1 / -1;color:var(--xx-muted);font:700 .625rem "Space Mono",ui-monospace,monospace;}
.player-career-profile dl{display:grid;grid-template-columns:1fr;gap:.5rem;margin:0;}
.player-career-profile dl>div{min-width:0;padding:.625rem;background:rgba(255,255,255,.025);border:1px solid var(--xx-line);border-radius:6px;}
.player-career-profile dd{overflow:hidden;margin:.3125rem 0 0;color:var(--xx-text);font:800 .75rem var(--xx-font-ui);text-overflow:ellipsis;white-space:nowrap;}
.player-career-profile p{margin:0;color:var(--xx-muted);font:600 .6875rem var(--xx-font-ui);line-height:1.45;}
.player-career-profile.career-no-data{background:rgba(148,163,184,.045);border-color:rgba(148,163,184,.18);}
@container (min-width: 42rem){.player-career-profile dl{grid-template-columns:repeat(5,minmax(0,1fr));}}
.team-profile-style{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:4px 8px;align-items:center;width:min(100%,620px);margin:10px 0;padding:10px 12px;background:rgba(23,151,125,.055);border:1px solid rgba(23,151,125,.18);border-radius:7px;}
.team-profile-style>i{grid-row:1 / span 2;color:var(--xx-accent);}
.team-profile-style>span{color:var(--xx-muted);font:800 9px "Space Mono",ui-monospace,monospace;letter-spacing:.9px;text-transform:uppercase;}
.team-profile-style>strong{overflow:hidden;color:var(--xx-accent);font:900 12px var(--xx-font-ui);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;}
.team-profile-style>small{grid-column:2 / -1;color:var(--xx-muted);font:600 11px var(--xx-font-ui);}
.team-profile-coach{display:grid;gap:10px;width:min(100%,520px);margin:10px 0;padding:12px;border:1px solid rgba(100,181,230,.24);border-radius:7px;background:rgba(100,181,230,.065);}
.team-profile-coach:has(.team-profile-coach-history ol){border-color:rgba(100,181,230,.34);}
.team-profile-coach.is-vacant{border-color:var(--xx-line);background:rgba(255,255,255,.025);}
.team-profile-coach-identity{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;}
.team-profile-coach-identity>span:last-child{display:grid;gap:2px;min-width:0;}
.team-profile-coach-photo{display:grid;place-items:center;inline-size:42px;block-size:42px;overflow:hidden;border:1px solid rgba(100,181,230,.35);border-radius:50%;color:#8dc8ea;background:var(--xx-surface-2);font:900 .75rem "Space Mono",ui-monospace,monospace;}
.team-profile-coach-photo img{inline-size:100%;block-size:100%;object-fit:cover;}
.team-profile-coach-identity small,.team-profile-coach-history>span,.team-profile-coach-familiarity small,.team-profile-coach-meta dt{color:var(--xx-muted);font:800 .56rem "Space Mono",ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;}
.team-profile-coach-identity strong{overflow:hidden;color:#8dc8ea;font:900 .78rem var(--xx-font-ui);text-overflow:ellipsis;white-space:nowrap;}
.team-profile-coach-identity>span>span,.team-profile-coach-history small,.team-profile-coach-vacancy{color:var(--xx-muted);font:600 .68rem var(--xx-font-ui);}
.team-profile-coach-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;}
.team-profile-coach-meta>div{display:grid;gap:3px;padding:8px 9px;border:1px solid rgba(100,181,230,.16);border-radius:5px;}
.team-profile-coach-meta dd{margin:0;color:var(--xx-text);font:800 .68rem var(--xx-font-ui);}
.team-profile-coach-familiarity{display:grid;gap:7px;}
.team-profile-coach-familiarity>span{display:flex;gap:8px;align-items:baseline;justify-content:space-between;}
.team-profile-coach-familiarity strong{color:#8dc8ea;font:800 .68rem var(--xx-font-ui);}
.team-profile-coach-familiarity progress{width:100%;height:6px;overflow:hidden;border:0;border-radius:999px;background:var(--xx-surface-2);accent-color:#64b5e6;}
.team-profile-coach-familiarity progress::-webkit-progress-bar{background:var(--xx-surface-2);}
.team-profile-coach-familiarity progress::-webkit-progress-value{background:#64b5e6;}
.team-profile-coach-partnership{display:grid;gap:8px;padding-top:9px;border-top:1px solid rgba(100,181,230,.16);}
.team-profile-coach-partnership>div:first-child{display:flex;gap:8px;align-items:baseline;justify-content:space-between;}
.team-profile-coach-partnership small,.team-profile-coach-partnership dt{color:var(--xx-muted);font:800 .56rem "Space Mono",ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;}
.team-profile-coach-partnership strong{color:#8dc8ea;font:800 .68rem var(--xx-font-ui);}
.team-profile-coach-partnership dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;}
.team-profile-coach-partnership dl>div{display:grid;gap:3px;padding:7px 8px;border:1px solid rgba(100,181,230,.14);border-radius:5px;}
.team-profile-coach-partnership dd{margin:0;color:var(--xx-text);font:800 .65rem var(--xx-font-ui);}
.team-profile-coach-partnership ul{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;}
.team-profile-coach-partnership li{padding:5px 7px;color:var(--xx-text);background:rgba(23,151,125,.06);border:1px solid rgba(23,151,125,.18);border-radius:999px;font:700 .62rem var(--xx-font-ui);}
.team-profile-coach-history{display:grid;gap:7px;}
.team-profile-coach-history ol{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;}
.team-profile-coach-history li{display:grid;gap:2px;padding:6px 8px;border:1px solid rgba(100,181,230,.16);border-radius:5px;}
.team-profile-coach-history li strong{color:var(--xx-text);font:800 .65rem var(--xx-font-ui);}
.team-profile-coach-vacancy{padding-top:8px;border-top:1px solid var(--xx-line-soft);}
.team-profile-rating{display:grid;gap:6px;justify-items:end;margin-left:auto;padding:14px 18px;background:rgba(23,151,125,.06);border:1px solid rgba(23,151,125,.22);border-radius:8px;}
.team-profile-rating strong{font:900 34px "Space Mono",ui-monospace,monospace;}
.team-profile-stats article{display:grid;gap:5px;padding:14px;background:var(--xx-panel);border:1px solid var(--xx-line);border-radius:8px;}
.team-profile-stats span,.team-profile-rating span{color:var(--xx-muted);font:800 10px "Space Mono",ui-monospace,monospace;letter-spacing:1px;text-transform:uppercase;}
.team-profile-stats strong{color:var(--xx-text);font:900 24px var(--xx-font-ui);}
.team-profile-stats small{color:var(--xx-muted);font:700 11px "Space Mono",ui-monospace,monospace;text-transform:uppercase;}
.player-form-chart{width:100%;overflow-x: auto;padding:12px;background:linear-gradient(180deg,rgba(23,151,125,.035),transparent 52%),var(--xx-panel);border:1px solid var(--xx-line);border-radius:8px;}
.player-form-chart svg{display:block;min-width:660px;width:100%;height:auto;}
.team-roster-list{display:grid;gap:10px;}
.team-roster-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}
.team-current-roster-section .team-roster-grid{grid-template-columns:repeat(5,minmax(150px,1fr));gap:8px;align-items:start;overflow-x: auto;overscroll-behavior-inline: contain;padding:8px;scrollbar-gutter: stable;}
.team-map-pool-section{padding:0;overflow:hidden;}
.team-map-pool-list{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:10px;}
@container (max-width: 49rem){
  .team-map-pool-list{grid-template-columns:repeat(4,minmax(0,1fr));}
}
.team-map-pool-list:focus-visible{outline: 2px solid var(--xx-accent);outline-offset:-4px;}
.team-map-card{position:relative;isolation:isolate;display:grid;align-content:end;gap:3px;min-width:0;min-height:132px;padding:10px;overflow:hidden;background-color:var(--xx-surface-2);background-position:center;background-size:cover;border:1px solid var(--xx-line-soft);border-radius:8px;}
.team-map-card::before{position:absolute;z-index:0;inset:0;background:var(--xx-surface-2);content:"";}
.team-map-card>*{position:relative;z-index:1;}
.team-map-card.is-played{border-color:rgba(23,151,125,.42);}
.team-map-card.is-unplayed{border-style:dashed;filter:saturate(.45);}
.team-map-card strong{color:var(--xx-text);font:900 14px var(--xx-font-ui);text-shadow:0 2px 8px rgba(0,0,0,.82);}
.team-map-card span{color:var(--xx-accent);font:900 18px "Space Mono",ui-monospace,monospace;}
.team-map-card.is-unplayed span{color:var(--xx-muted);}
.team-map-card small{color:rgba(241,244,240,.72);font:700 9px/1.35 "Space Mono",ui-monospace,monospace;text-transform:uppercase;overflow-wrap:anywhere;}
.team-profile-tabs{margin-block:12px;}
.team-roster-workspace{display:grid;gap:14px;}
.team-roster-workspace-section{min-width:0;overflow:hidden;background:var(--xx-panel);border:1px solid var(--xx-line);border-radius:8px;}
.team-roster-workspace-header{display:flex;gap:12px;align-items:end;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--xx-line);}
.team-roster-workspace-header>div{display:grid;gap:3px;}
.team-roster-workspace-header span,.team-roster-workspace-header small{color:var(--xx-muted);font:800 9px "Space Mono",ui-monospace,monospace;text-transform:uppercase;}
.team-roster-workspace-header h3{margin:0;color:var(--xx-text);font:900 18px var(--xx-font-ui);}
.team-roster-workspace-section .history-table-wrap{border:0;border-radius:0;}
.team-roster-table{width:100%;min-width:760px;}
.team-roster-table th,.team-roster-table td{vertical-align:middle;}
.team-roster-table thead th:first-child{width:31%;}
.team-roster-table thead th:not(:first-child){text-align:center;}
.team-roster-table td:not(:first-child){color:var(--xx-muted);text-align:center;}
.team-roster-person-photo{display:grid;place-items:center;width:44px;height:44px;overflow:hidden;color:var(--xx-accent);background:var(--xx-surface-2);border-radius:5px;font:900 10px "Space Mono",ui-monospace,monospace;}
.team-roster-person-photo img{width:100%;height:100%;object-fit:cover;}
.team-roster-person{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;text-align:start;}
.team-roster-person-copy{display:flex;gap:7px;align-items:center;min-width:0;color:var(--xx-text);font:700 14px/1.3 var(--xx-font-ui);text-transform:none;letter-spacing:normal;}
.team-roster-person-copy .nationality-with-flag{flex:none;}
.team-roster-person-copy :is(.player-link,strong){min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:start;}
.team-roster-person-copy .nationality-with-flag>span:last-child{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;}
.team-roster-status{display:inline-grid;place-items:center;min-width:76px;padding:5px 8px;color:var(--xx-text);background:rgba(23,151,125,.12);border:1px solid rgba(23,151,125,.24);border-radius:5px;font:800 9px "Space Mono",ui-monospace,monospace;}
.team-roster-status.is-bench{color:var(--xx-muted);background:var(--xx-surface-2);border-color:var(--xx-line);}
.team-roster-period-tabs{flex:0 0 auto;padding:0;overflow:visible;scrollbar-gutter: auto;}
.team-roster-period-tabs button{min-block-size:32px;padding:6px 10px;text-transform:none;}
.team-roster-timeline-scroll{max-width:100%;overflow-x: auto;overscroll-behavior-inline: contain;scrollbar-gutter: stable;}
.team-roster-timeline-scroll:focus-visible{outline: 2px solid var(--xx-accent);outline-offset:-3px;}
.team-roster-timeline{min-width:760px;padding:12px 14px 16px;}
.team-roster-timeline-scale,.team-roster-timeline-row{display:grid;grid-template-columns:145px minmax(0,1fr);gap:12px;}
.team-roster-timeline-scale>div,.team-roster-timeline-row>div{position:relative;min-width:0;background-image:repeating-linear-gradient(to right,transparent 0,transparent calc((100% / var(--timeline-markers)) - 1px),rgba(148,163,184,.12) calc(100% / var(--timeline-markers)));}
.team-roster-timeline-scale{min-height:30px;}
.team-roster-timeline-scale i{position:absolute;color:var(--xx-muted);font:700 10px "Space Mono",ui-monospace,monospace;font-style:normal;transform: translateX(-50%);}
.team-roster-timeline-row{min-height:42px;}
.team-roster-timeline-row>span{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1px 6px;align-content:center;min-width:0;}
.team-roster-timeline-row>span small{grid-column:2;color:var(--xx-muted);font:700 8px "Space Mono",ui-monospace,monospace;text-transform:uppercase;}
.team-roster-timeline-row>div::before{position:absolute;top:50%;right:0;left:0;height:2px;background:var(--xx-line);content:"";}
.team-roster-timeline-row>div>i{position:absolute;z-index:1;top:calc(50% - 4px);height:8px;min-width:7px;background:#637485;border-radius:999px;}
.team-roster-timeline-row>div>i.is-current{background:var(--xx-accent);box-shadow:0 0 12px rgba(23,151,125,.2);}
.team-roster-transfers-list{padding:10px;}
.team-roster-transfers-list .team-transfer-row{grid-template-columns:104px 38px minmax(0,1fr);}
.team-roster-transfers-list .transfer-feed-avatar{width:38px;height:38px;}
.team-roster-empty{display:flex;gap:12px;align-items:center;min-height:76px;padding:16px;color:var(--xx-muted);}
.team-roster-empty i{color:var(--xx-dim);font-size:28px;}
.team-matches-workspace{display:grid;gap:22px;}
.team-matches-section{min-width:0;}
.team-matches-section>header{display:flex;gap:12px;align-items:end;justify-content:space-between;padding:4px 2px 9px;}
.team-matches-section>header h3{margin:0;color:var(--xx-text);font:900 18px var(--xx-font-ui);}
.team-matches-section>header small,.team-matches-columns{color:var(--xx-muted);font:800 9px "Space Mono",ui-monospace,monospace;text-transform:uppercase;}
.team-matches-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;background:var(--xx-panel);border:1px solid var(--xx-line);border-radius:6px;}
.team-matches-summary article{display:grid;place-items:center;min-height:74px;padding:10px;text-align:center;}
.team-matches-summary article + article{border-left:1px solid var(--xx-line);}
.team-matches-summary strong{color:var(--xx-text);font:900 24px var(--xx-font-ui);}
.team-matches-summary span{color:var(--xx-muted);font:700 11px var(--xx-font-ui);}
.team-matches-columns{display:grid;grid-template-columns:112px minmax(0,1fr) 72px;gap:12px;padding:4px 12px 8px;}
.team-matches-columns span:nth-child(2){text-align:center;}
.team-matches-event + .team-matches-event{margin-top:14px;}
.team-matches-event h4{margin:0;padding:10px 12px;color:var(--xx-text);background:var(--xx-surface-2);border-block:1px solid var(--xx-line);font:900 16px var(--xx-font-ui);text-align:center;}
.team-matches-event .tournament-match-list{gap:1px;}
.team-matches-row{grid-template-columns:112px minmax(0,1fr) 72px;min-height:52px;border-color:transparent;border-radius:0;}
.team-matches-row:hover,.team-matches-row:focus-visible{background:rgba(23,151,125,.06);border-color:var(--xx-line-soft);}
.team-matches-date{display:grid;gap:2px;}
.team-matches-date time{color:var(--xx-text);font:800 11px "Space Mono",ui-monospace,monospace;}
.team-matches-date small{justify-self:start;text-align:left;}
.team-matches-pair strong{text-transform:none;}
.team-matches-pair strong.is-loser{opacity:.46;}
.team-matches-pair strong.is-winner{color:var(--xx-accent);}
.team-matches-action{padding:5px 7px;color:var(--xx-text) !important;background:rgba(23,151,125,.12);border:1px solid rgba(23,151,125,.2);border-radius:5px;}
.team-matches-empty{display:grid;place-items:center;min-height:70px;color:var(--xx-muted);background:var(--xx-panel);border:1px dashed var(--xx-line-soft);font:700 11px "Space Mono",ui-monospace,monospace;}
@media (max-width: 640px){.team-matches-columns{display:none;}
.team-matches-event{overflow:hidden;}
.team-matches-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"date action" "pair pair";gap:8px 10px;min-width:0;min-height:82px;padding:10px;}
.team-matches-date{grid-area:date;}
.team-matches-pair{grid-area:pair;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:6px;width:100%;}
.team-matches-pair strong{min-width:0;font-size:10px;}
.team-matches-pair strong span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.team-matches-pair :is(.team-logo,.team-logo-fallback){width:22px;height:22px;flex:0 0 22px;}
.team-matches-action{grid-area:action;align-self:start;}
.team-matches-section>header{align-items:start;}}
.team-profile-history-grid{grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);}
@media (max-width: 760px){.team-profile-logo{width:92px;height:92px;}
.team-profile-logo .team-logo{width:68px;height:68px;}}
.player-overview-statistics[data-player-performance]{container-type:inline-size;overflow:hidden;color:var(--xx-color-text);background:var(--xx-color-surface);border:1px solid var(--xx-color-border);border-radius:var(--xx-radius-md);}
.player-performance-heading,.player-performance-form-heading,.player-performance-footer,.player-form-axis{display:flex;align-items:center;justify-content:space-between;gap:.75rem;}
.player-performance-heading{padding:1rem 1.25rem;border-bottom:1px solid var(--xx-color-border);}
.player-performance-heading h3{margin:0;font-size:1.125rem;}
.player-performance-heading p{margin:.3rem 0 0;color:var(--xx-color-text-muted);font-size:.75rem;}
.player-performance-heading p span{padding-inline:.15rem;}
.player-performance-sides{display:flex;flex:0 0 auto;padding:.2rem;border:1px solid var(--xx-color-border-strong);border-radius:.35rem;background:var(--xx-color-surface-raised);}
.player-performance-sides button{min-width:2.75rem;min-height:2.25rem;padding:.35rem .65rem;color:var(--xx-color-text-muted);border:0;border-radius:.2rem;background:transparent;font-size:.8rem;font-weight:800;cursor:pointer;}
.player-performance-sides button[aria-pressed="true"]{color:var(--xx-color-canvas);background:var(--xx-color-accent);}
.player-performance-sides button:focus-visible,.player-form-map:focus-visible{outline: 2px solid var(--xx-color-accent);outline-offset:2px;}
.player-performance-summary{display:grid;grid-template-columns:minmax(9rem,.95fr) minmax(0,4fr);padding:1.25rem;gap:1.25rem;align-items:stretch;}
.player-performance-rating{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding-right:1rem;border-right:1px solid var(--xx-color-border-strong);}
.player-performance-rating>span{color:var(--xx-color-text-muted);font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;}
.player-performance-rating strong{margin-block:.05rem;font-size:clamp(2.1rem,5cqi,3rem);font-weight:850;letter-spacing:-0.04em;line-height:1.2;font-variant-numeric:tabular-nums;}
.player-performance-rating small{color:var(--xx-color-text-muted);font-size:.68rem;}
.player-performance-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.7rem;align-items:center;margin:0;}
.player-performance-metrics>div{min-width:0;}
.player-performance-metrics dt{margin:0;color:var(--xx-color-text-muted);font-size:.75rem;font-weight:800;}
.player-performance-metrics dd{margin:.2rem 0;font-size:clamp(1.1rem,2.3cqi,1.65rem);font-weight:800;line-height:1.2;letter-spacing:-0.025em;font-variant-numeric:tabular-nums;}
.player-performance-metrics small{display:block;color:var(--xx-color-text-dim);font-size:.67rem;line-height:1.4;}
.player-performance-impact{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 1.25rem;border-top:1px solid var(--xx-color-border);border-bottom:1px solid var(--xx-color-border);background:var(--xx-color-surface-raised);}
.player-performance-impact>div{display:grid;gap:.15rem;min-width:0;padding:.75rem;}
.player-performance-impact>div + div{border-left:1px solid var(--xx-color-border);}
.player-performance-impact dt{color:var(--xx-color-text-muted);font-size:.72rem;}
.player-performance-impact dd{margin:0;font-size:1.15rem;font-weight:750;font-variant-numeric:tabular-nums;}
.player-performance-impact dd span{color:var(--xx-color-text-muted);font-size:.85rem;font-weight:500;}
.player-performance-impact small{color:var(--xx-color-text-dim);font-size:.67rem;}
.player-performance-footer{padding:.65rem 1.25rem;color:var(--xx-color-text-muted);font-size:.68rem;flex-wrap:wrap;}
.player-performance-notice{margin:0 1.25rem .85rem;padding:.5rem .65rem;border-left:2px solid var(--xx-color-warning);color:var(--xx-color-text-muted);background:var(--xx-color-surface-raised);font-size:.72rem;}
.player-performance-form{padding:.85rem 1.25rem .75rem;border-top:1px solid var(--xx-color-border);}
.player-performance-form-heading h4{margin:0;font-size:.85rem;}
.player-performance-form-heading>span{color:var(--xx-color-text-muted);font-size:.68rem;}
.player-performance-chart{display:grid;grid-template-columns:repeat(var(--form-columns),minmax(0,1fr));gap:.65rem;margin-top:.75rem;}
.player-form-map{min-width:0;padding:.3rem 0 0;border:0;border-radius:.2rem;background:transparent;color:var(--xx-color-text-muted);cursor:pointer;}
.player-form-map:hover{background:var(--xx-color-surface-raised);}
.player-form-bar-track{position:relative;display:block;height:5.5rem;border-bottom:1px solid var(--xx-color-border-strong);}
.player-form-bar-track::before{content:'';position:absolute;left:0;right:0;bottom:var(--form-baseline);border-bottom:1px dashed var(--xx-color-border-strong);}
.player-form-bar{display:block;position:absolute;width:min(55%,3.5rem);left:50%;bottom:0;transform: translateX(-50%);background:currentColor;opacity:.5;border-radius:.15rem .15rem 0 0;}
.player-form-bar-track strong{position:absolute;top:.1rem;left:0;right:0;font-size:.75rem;font-variant-numeric:tabular-nums;color:var(--xx-color-text);text-shadow:0 1px 5px var(--xx-color-surface);}
.player-form-map-label{display:block;margin-top:.3rem;font-size:.68rem;color:var(--xx-color-text-muted);text-transform:uppercase;}
.player-form-axis{padding-top:.5rem;color:var(--xx-color-text-dim);font-size:.65rem;}
.player-performance-empty{color:var(--xx-color-text-muted);font-size:.8rem;}
.player-performance-footnote{margin:0;padding:0 1.25rem .75rem;color:var(--xx-color-text-dim);font-size:.68rem;}
@container (max-width: 650px){.player-performance-heading{align-items:flex-start;padding:.85rem;gap:.4rem;}
.player-performance-heading h3{font-size:1rem;}
.player-performance-heading p{font-size:.66rem;max-width:13rem;line-height:1.6;}
.player-performance-sides button{min-width:2rem;min-height:2.25rem;padding:.25rem .45rem;font-size:.73rem;}
.player-performance-summary{grid-template-columns:minmax(0,1fr);padding:.85rem;gap:.85rem;}
.player-performance-rating{display:grid;grid-template-columns:1fr auto;gap:.15rem .5rem;padding:0 0 .8rem;border-right:0;border-bottom:1px solid var(--xx-color-border);align-items:center;}
.player-performance-rating strong{grid-column:2;grid-row:1 / 3;font-size:2.4rem;}
.player-performance-rating small{grid-column:1;}
.player-performance-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem .5rem;}
.player-performance-metrics dd{font-size:1.3rem;}
.player-performance-metrics dt{font-size:.7rem;}
.player-performance-metrics small{font-size:.63rem;}
.player-performance-impact{margin-inline:.85rem;grid-template-columns:repeat(2,minmax(0,1fr));}
.player-performance-impact>div{padding:.6rem;}
.player-performance-impact>div:nth-child(3){border-left:0;}
.player-performance-impact>div:nth-child(n+3){border-top:1px solid var(--xx-color-border);}
.player-performance-notice{margin-inline:.85rem;font-size:.68rem;}
.player-performance-footer{padding-inline:.85rem;gap:.2rem;font-size:.63rem;}
.player-performance-form{padding-inline:.85rem;}
.player-performance-form-heading{align-items:baseline;flex-wrap:wrap;gap:.2rem;}
.player-performance-chart{gap:.3rem;}
.player-form-bar-track{height:4.5rem;}
.player-performance-footnote{padding-inline:.85rem;}}
#match-detail-content.team-detail-content{display:block;max-inline-size:none;}
.match-page-hero,.match-page-section{overflow:hidden;background:var(--xx-color-surface);border:1px solid var(--xx-color-border);border-radius:var(--xx-radius-md);}
.match-page-context{display:flex;flex-wrap:wrap;gap:var(--xx-space-2);align-items:center;min-block-size:2.05rem;padding:.38rem .75rem;color:var(--xx-color-text-muted);background:var(--xx-color-surface-raised);border-block-end:1px solid var(--xx-color-border);font-size:var(--xx-font-xs);font-weight:750;letter-spacing:.04em;text-transform:uppercase;}
.match-page-context>span + span::before{margin-inline-end:var(--xx-space-2);color:var(--xx-color-text-dim);content:"•";}
.match-page-versus{display:grid;grid-template-columns:minmax(15rem,1fr) minmax(12rem,.68fr) minmax(15rem,1fr);min-block-size:10.75rem;}
.match-page-team{display:grid;grid-template-columns:minmax(0,1fr);place-items:center;align-content:center;gap:.45rem;min-inline-size:0;padding:.85rem;color:var(--xx-color-text);background:transparent;border:0;cursor:pointer;text-align:center;}
.match-page-team:hover,.match-page-team:focus-visible{background:var(--xx-color-surface-raised);}
.match-page-team.winner{background:linear-gradient(180deg,var(--xx-color-accent-soft),transparent 70%);}
.match-page-team-logo :is(.team-logo,.team-logo-fallback){inline-size:3.25rem;block-size:3.25rem;font-size:var(--xx-font-xl);}
.match-page-team-copy{display:grid;gap:var(--xx-space-1);min-inline-size:0;}
.match-page-team-copy small,.match-page-team-copy span,.match-page-style small{color:var(--xx-color-text-muted);font-size:var(--xx-font-xs);}
.match-page-team-copy strong{overflow-wrap:anywhere;font-size:clamp(1.1rem,2vw,1.6rem);line-height:var(--xx-leading-tight);}
.match-page-style{display:grid;gap:.125rem;padding:.3rem .65rem;background:var(--xx-color-surface-soft);border:1px solid var(--xx-color-border);border-radius:999px;}
.match-page-style b{color:var(--xx-color-accent);font-size:var(--xx-font-xs);}
.match-page-score{display:grid;place-items:center;align-content:center;gap:.35rem;padding:.75rem;background:color-mix(in srgb,var(--xx-color-canvas) 55%,var(--xx-color-surface));border-inline:1px solid var(--xx-color-border);text-align:center;}
.match-page-score>small{color:var(--xx-color-accent);font-size:var(--xx-font-xs);font-weight:800;letter-spacing:.08em;text-transform:uppercase;}
.match-page-score>strong{font-size:clamp(2.3rem,5vw,3.7rem);line-height:1;}
.match-page-score time{color:var(--xx-color-text-muted);font-size:var(--xx-font-sm);}
.match-vrs-result-table-wrap{min-inline-size:0;overflow:hidden;padding:0 !important;background:var(--xx-color-surface);border:1px solid var(--xx-color-border);border-radius:var(--xx-radius-sm);}
.match-vrs-result-table{inline-size:100%;min-inline-size:0;table-layout: fixed;border-collapse:collapse;background:var(--xx-color-surface);}
.match-vrs-result-table col.is-team{inline-size:50%;}
.match-vrs-result-table col.is-before,.match-vrs-result-table col.is-result{inline-size:25%;}
.match-vrs-result-table :is(th,td){box-sizing:border-box;block-size:3.2rem;min-inline-size:0;padding:.42rem .55rem;overflow:hidden;border-block-end:1px solid var(--xx-color-border);white-space:nowrap;}
.match-vrs-result-table thead th{block-size:2.05rem;color:var(--xx-color-text-muted);background:var(--xx-color-surface-raised);text-align:center;}
.match-vrs-result-table thead th:first-child,.match-vrs-result-table tbody th{text-align:start;}
.match-vrs-result-table thead span:not(.sr-only){display:inline-flex;align-items:center;min-block-size:1.35rem;padding-inline:.42rem;background:color-mix(in srgb,var(--xx-color-border) 76%,transparent);border-radius:.22rem;font:800 var(--xx-font-xs)/1 var(--xx-font-mono);text-transform:uppercase;}
.match-vrs-result-table thead th:last-child span{color:var(--xx-color-canvas);background:var(--xx-color-accent);}
.match-vrs-result-table td{border-inline-start:1px solid var(--xx-color-border);text-align:center;font-variant-numeric:tabular-nums;}
.match-vrs-result-table td :is(strong,small){display:block;}
.match-vrs-result-table td strong{color:var(--xx-color-text);font-size:var(--xx-font-sm);}
.match-vrs-result-table td small{margin-block-start:.12rem;color:var(--xx-color-text-muted);font:700 var(--xx-font-xs)/1.2 var(--xx-font-mono);}
.match-vrs-result-table tbody tr:last-child>:is(th,td){border-block-end:0;}
.match-vrs-result-team{display:flex;align-items:center;gap:.55rem;inline-size:100%;min-inline-size:0;padding:0;color:#9fc8e8;background:transparent;border:0;text-align:start;}
.match-vrs-result-team strong{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.match-vrs-result-team :is(.team-logo,.team-logo-fallback){flex:0 0 auto;inline-size:2rem;block-size:2rem;}
.match-page-watch{min-inline-size:9rem;margin-block-start:var(--xx-space-2);}
.match-page-main{display:grid;gap:.7rem;min-inline-size:0;}
.match-page-section-heading span{color:var(--xx-color-accent);font-size:var(--xx-font-xs);font-weight:850;letter-spacing:.08em;text-transform:uppercase;}
.match-page-section-heading p{margin:0;color:var(--xx-color-text-muted);font-size:var(--xx-font-xs);}
.match-page-section-heading{display:flex;gap:.75rem;align-items:end;justify-content:space-between;padding:.5rem .75rem;background:var(--xx-color-surface-raised);border-block-end:1px solid var(--xx-color-border);}
.match-page-section-heading h3{margin:.125rem 0 0;color:var(--xx-color-text);font-size:.95rem;}
.match-stats-controls{flex-wrap:wrap;background:var(--xx-color-surface-soft)}
.match-stats-controls>small{margin-inline-start:-.12rem;margin-inline-end:.25rem;color:var(--xx-color-text-muted)}
.match-stats-controls button:not([aria-pressed=true]){color:var(--xx-text)}
.match-stats-controls button[aria-pressed=true]{color:var(--xx-color-canvas);background:var(--xx-color-accent)}
.match-stats-tabs{display:flex;overflow-x:auto;background:var(--xx-color-surface-soft)}
.match-stats-tabs :is(button,a){min-height:2.65rem;padding:.55rem .9rem;color:var(--xx-color-text-muted);background:transparent;border:0;border-bottom:2px solid transparent;font-size:.76rem;text-decoration:none;white-space:nowrap;cursor:pointer}
.match-stats-tabs button[aria-selected=true]{color:var(--xx-color-accent);background:var(--xx-color-accent-soft);border-color:var(--xx-color-accent)}
.match-stats-panel:not([hidden]),.match-stats-side-panel:not([hidden]){display:grid;gap:.7rem}
.match-stats-panel:not([hidden]){padding:.7rem}
.match-stats-side-unavailable{margin:0;padding:.55rem .7rem;color:var(--xx-color-text-muted);background:var(--xx-color-surface-soft);border:1px solid var(--xx-color-border);font-size:.72rem}
.match-stats-team{min-width:0;border:1px solid var(--xx-color-border)}
.match-stats-scroll{overflow-x:auto}
.match-stats-table{width:100%;min-width:38rem;border-collapse:collapse}
.match-stats-table :is(th,td){height:2.35rem;padding:.35rem .65rem;border-top:1px solid var(--xx-color-border);text-align:center}
.match-stats-table :is(th,td):first-child{width:52%;text-align:left}
.match-stats-table thead th{color:var(--xx-color-text-muted);background:var(--xx-color-surface-raised);font-size:.64rem;text-transform:uppercase}
.match-stats-team-name{display:flex;align-items:center;gap:.55rem;text-transform:none}
.match-stats-team-name :is(.team-logo,.team-logo-fallback){width:1.7rem;height:1.7rem}
.match-stats-table tbody :is(th,td){background:var(--xx-color-surface);font-size:.75rem}
.match-stats-table .player-link{display:inline-flex;align-items:center;gap:.55rem;max-width:100%;padding:0;color:var(--xx-color-text-muted);background:transparent;border:0}
.match-stats-table .player-link>span{display:flex;gap:.35rem;min-width:0}
.match-stats-table .player-link small{overflow:hidden;color:var(--xx-color-text-muted);font-size:.66rem;text-overflow:ellipsis;white-space:nowrap}
.match-stats-table .player-link strong{color:var(--xx-color-text)}
.match-stats-table :is(.positive,.negative){font-weight:800}
.match-stats-mobile-label{display:none}
.match-page .match-stats-tabs :is(button,a){min-height:2.15rem;padding:.4rem .7rem;font-size:.7rem}
.match-page .match-stats-panel:not([hidden]){gap:.45rem;padding:.45rem}
.match-page .match-stats-table :is(th,td){height:1.85rem;padding:.22rem .55rem}
.match-page .match-stats-table thead th{font-size:.58rem}
.match-page .match-stats-team-name{gap:.45rem}
.match-page .match-stats-team-name :is(.team-logo,.team-logo-fallback){width:1.35rem;height:1.35rem}
.match-page .match-stats-table tbody :is(th,td){font-size:.7rem}
.match-page .match-stats-table .player-link{gap:.45rem}
.match-page .match-stats-table .player-link small{font-size:.61rem}
.match-lineup-card{min-inline-size:0;background:var(--xx-color-surface)}
.match-hltv-lineups .match-page-section-heading{padding:.45rem .6rem}
.match-lineup-card>header{display:flex;align-items:center;justify-content:space-between;min-block-size:2.35rem;padding:.35rem .55rem;background:#33424f;border-block-end:1px solid var(--xx-color-border)}
.match-lineup-card>header .team-link{display:inline-flex;align-items:center;gap:.45rem;padding:0;color:#9fc8e8;background:transparent;border:0;font-size:.8rem;font-weight:800;cursor:pointer}
.match-lineup-card>header>span{color:var(--xx-color-text-muted);font-size:.66rem}
.match-lineup-card>header :is(.team-logo,.team-logo-fallback){inline-size:1.55rem;block-size:1.55rem}
.match-lineup-list{display:grid;grid-template-columns:repeat(5,minmax(6.25rem,1fr));gap:.2rem;padding:.25rem;overflow-x:auto}
.match-lineup-list li{min-inline-size:0}
.match-lineup-player{position:relative;display:grid;width:100%;min-width:0;padding:0;overflow:hidden;color:var(--xx-color-text);background:#293740;border:1px solid transparent;cursor:pointer}
.match-lineup-player:hover,.match-lineup-player[aria-pressed=true]{background:#3f5870;border-color:var(--xx-color-accent)}
.match-lineup-player:focus-visible{outline:3px solid var(--xx-focus-ring);outline-offset:1px}
.match-lineup-photo{position:relative;display:grid;place-items:center;height:clamp(5.5rem,9vw,7.25rem);overflow:hidden;color:var(--xx-color-accent);background:linear-gradient(145deg,#43535e,#26323a);font:900 1rem/1 inherit}
.match-lineup-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center bottom}
.match-lineup-role{position:absolute;inset:.2rem .2rem auto auto;z-index:2;max-width:calc(100% - .4rem);padding:.08rem .2rem;color:#d8e6ef;background:var(--xx-panel);font-size:.44rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.match-lineup-player-name{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:.2rem;min-height:1.2rem;padding:.08rem;background:#33424f}
.match-lineup-player-name strong{overflow:hidden;font-size:.6rem;text-overflow:ellipsis;white-space:nowrap}
.match-lineup-flag{width:.9rem;height:.6rem;object-fit:cover}
.match-lineup-flag.is-empty{display:none}
.match-lineup-coach{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.38rem;margin:.12rem .25rem .25rem;padding:.24rem .38rem;background:#1c252b;border-block-start:1px solid var(--xx-color-border)}
.match-lineup-coach-photo{position:relative;display:grid;place-items:center;width:1.45rem;height:1.45rem;overflow:hidden;color:var(--xx-color-accent);background:var(--xx-color-accent-soft);border-radius:50%}
.match-lineup-coach-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.match-lineup-coach>span:nth-child(2){display:grid}
.match-lineup-coach small{color:var(--xx-color-text-muted);font-size:.5rem}
.match-lineup-coach strong{font-size:.66rem}
.match-lineup-coach-meta{display:flex;align-items:center;gap:.2rem}
.match-lineup-comparison{display:grid;grid-template-columns:minmax(12rem,1fr) minmax(17rem,1.15fr) minmax(12rem,1fr);min-width:0;overflow:hidden;border-block:1px solid var(--xx-color-border)}
.match-lineup-comparison.is-empty{display:grid;place-items:center;min-height:5rem;color:var(--xx-color-text-muted)}
.match-lineup-highlight{position:relative;display:grid;align-content:end;justify-items:center;min-width:0;padding:.35rem;overflow:hidden;text-align:center}
.match-lineup-highlight-logo{position:absolute;inset:.8rem;z-index:0;display:grid;place-items:center;opacity:.16}
.match-lineup-highlight-logo :is(.team-logo,.team-logo-fallback){width:82%;height:82%}
.match-lineup-highlight .is-highlight{position:relative;z-index:1;width:min(100%,15.5rem);height:clamp(13.5rem,20vw,18rem);background:transparent}
.match-lineup-highlight>strong{margin-top:-1.4rem;z-index:2;font-size:.95rem}
.match-lineup-highlight>small{z-index:2;color:var(--xx-color-text-muted);font-size:.56rem}
.match-lineup-highlight .player-link{z-index:2;margin-top:.2rem;padding:.22rem .36rem;color:var(--xx-color-text);background:#3f5870;border:1px solid #567089;border-radius:.2rem;font-size:.58rem;cursor:pointer}
.match-lineup-metrics{display:grid;align-content:center;padding:.55rem}
.match-lineup-metrics>header{display:grid;justify-items:center;margin-bottom:.35rem;text-transform:uppercase}
.match-lineup-metrics>header strong{font-size:.9rem;letter-spacing:.12em}
.match-lineup-metrics>header small{color:var(--xx-color-text-muted);font-size:.55rem}
.match-lineup-metrics dl{margin:0}
.match-lineup-metrics dl>div{display:grid;grid-template-columns:1fr minmax(6.5rem,1.5fr) 1fr;align-items:center;min-height:1.35rem}
.match-lineup-metrics :is(dt,dd){margin:0;text-align:center;font-size:.63rem}
.match-lineup-metrics dt{color:var(--xx-color-text-muted);text-transform:uppercase}
.match-lineup-metrics dd{font-weight:800}
.match-lineup-metrics dd.is-leading{color:var(--xx-color-accent)}
.match-lineup-mobile-label,.match-lineup-mobile-period{display:none}
.match-page .match-lineup-photo{height:clamp(4rem,5.8vw,4.85rem)}
.match-page .match-lineup-player-name{min-height:1.1rem;padding:.06rem}
.match-page .match-lineup-player-name strong{font-size:.58rem}
.match-page .match-lineup-flag{width:.85rem;height:.56rem}
.match-page .match-lineup-comparison{grid-template-columns:minmax(11rem,1fr) minmax(16rem,1.15fr) minmax(11rem,1fr)}
.match-page .match-lineup-highlight .is-highlight{width:min(100%,10.5rem);height:clamp(7.75rem,9.8vw,9.25rem)}
.match-page .match-lineup-highlight>strong{margin-top:-1.15rem;font-size:.88rem}
.match-page .match-lineup-metrics{padding:.4rem}
.match-page .match-lineup-metrics dl>div{min-height:.95rem}
@media (min-width:50.0625rem){.match-page .match-lineup-card>header{min-block-size:2.1875rem;padding:.3rem .5rem}
.match-page .match-lineup-card>header .team-link{font-size:.84rem}
.match-page .match-lineup-card>header :is(.team-logo,.team-logo-fallback){inline-size:1.5rem;block-size:1.5rem}
.match-page .match-lineup-list{gap:.25rem;padding:.25rem}
.match-page .match-lineup-photo{height:7.5rem}
.match-page .match-lineup-player-name{min-height:1.35rem;padding:.08rem}
.match-page .match-lineup-player-name strong{font-size:.7rem}
.match-page .match-lineup-flag{width:1rem;height:.66rem}
.match-page .match-lineup-role{inset:.25rem .25rem auto auto;font-size:.48rem}
.match-page .match-lineup-coach{min-height:2.25rem;margin:.15rem .38rem .38rem;padding:.28rem .45rem}
.match-page .match-lineup-coach-photo{width:1.65rem;height:1.65rem}
.match-page .match-lineup-coach strong{font-size:.7rem}
.match-page .match-lineup-comparison{grid-template-columns:minmax(11.5rem,.84fr) minmax(14rem,1fr) minmax(11.5rem,.84fr);min-block-size:15.6875rem}
.match-page .match-lineup-highlight{padding:.4rem .5rem}
.match-page .match-lineup-highlight .is-highlight{width:min(100%,12.75rem);height:13.3125rem}
.match-page .match-lineup-highlight>strong{position:absolute;inset:auto 0 3.25rem;margin:0;font-size:.95rem;line-height:1.1}
.match-page .match-lineup-highlight>small{position:absolute;inset:auto 0 2.05rem;font-size:.62rem}
.match-page .match-lineup-highlight .player-link{position:absolute;inset:auto auto .3rem 50%;margin:0;padding:.25rem .42rem;font-size:.62rem;transform:translateX(-50%);white-space:nowrap}
.match-page .match-lineup-metrics{padding:.6rem}
.match-page .match-lineup-metrics>header{margin-bottom:.45rem}
.match-page .match-lineup-metrics>header strong{font-size:.95rem}
.match-page .match-lineup-metrics>header small{font-size:.58rem}
.match-page .match-lineup-metrics dl>div{grid-template-columns:minmax(3rem,.65fr) minmax(7.5rem,1.7fr) minmax(3rem,.65fr);min-height:1.32rem}
.match-page .match-lineup-metrics :is(dt,dd){font-size:.66rem}}
.match-page-empty{display:flex;gap:var(--xx-space-3);align-items:center;justify-content:center;min-block-size:4rem;padding:.85rem;color:var(--xx-color-text-muted);text-align:center;}
.match-page-empty i{color:var(--xx-color-accent);}
.match-mvp-card{display:grid;grid-template-columns:auto minmax(10rem,auto) minmax(16rem,1fr);gap:.75rem;align-items:center;padding:.75rem;}
.match-mvp-avatar{display:grid;place-items:center;overflow:hidden;inline-size:3.25rem;block-size:3.25rem;color:var(--xx-color-canvas);background:var(--xx-color-accent);border-radius:50%;font-weight:900;}
.match-mvp-avatar img{inline-size:100%;block-size:100%;object-fit:cover;}
.match-mvp-card>div{display:grid;}
.match-mvp-card small,.match-mvp-card span,.match-mvp-card p{color:var(--xx-color-text-muted);font-size:var(--xx-font-sm);}
.match-mvp-card p{margin:0;padding-inline-start:var(--xx-space-4);border-inline-start:1px solid var(--xx-color-border);}
.match-state-live .match-page-score,.match-state-paused .match-page-score{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--xx-color-live) 45%,transparent);}
@media (max-width: 50rem){.match-page-stats-section .match-page-section-heading{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.4rem;padding:.4rem .5rem;}
.match-page-stats-section .match-page-section-heading h3{margin:0;font-size:.9rem;white-space:nowrap;}
.match-page-stats-section .match-stats-controls{justify-self:end;min-inline-size:0;padding:.1rem;flex-wrap:nowrap;overflow:hidden;}
.match-page-stats-section .match-stats-controls button{min-block-size:2rem;padding:.3rem .42rem;border-radius:.25rem;font-size:.62rem;text-transform:none;white-space:nowrap;}
.match-page-stats-section .match-stats-controls button:disabled{color:#87939c;opacity:.72;}
.match-page-stats-section .match-stats-controls button[aria-pressed=true]{color:var(--xx-color-canvas);opacity:1;}
.match-page-stats-section .match-stats-controls small{margin-inline-start:-.08rem;margin-inline-end:.18rem;padding-inline:0;color:var(--xx-color-text-muted);font-size:.58rem;white-space:nowrap;}
.match-stats-desktop-label{display:none;}
.match-stats-mobile-label{display:inline;}
.match-page .match-stats-tabs{align-items:stretch;min-block-size:2.75rem;overflow:hidden;background:var(--xx-panel-soft);}
.match-page .match-stats-tablist{display:flex;flex:1 1 auto;align-items:stretch;min-inline-size:0;}
.match-page .match-stats-tabs :is(button,a){min-inline-size:0;min-block-size:2.75rem;padding:.45rem clamp(.22rem,1.6vw,.42rem);border-block-end:0;font-size:clamp(.56rem,2.8vw,.7rem);}
.match-page .match-stats-tabs button[aria-selected=true]{color:var(--xx-color-text);background:transparent;border-block-end:2px solid var(--xx-accent);font-weight:900;}
.match-page .match-stats-panel:not([hidden]){gap:.55rem;padding:.55rem .45rem;}
.match-page .match-stats-scroll{inline-size:100%;min-inline-size:0;overflow-x: clip;}
.match-page .match-stats-table{inline-size:100%;min-inline-size:0;table-layout: fixed;}
.match-page .match-stats-table :is(th,td){box-sizing:border-box;block-size:1.9rem;padding:.2rem .12rem;border: 1px solid #465764;}
.match-page .match-stats-table :is(th,td):first-child{inline-size: 34%;padding-inline:.42rem .2rem;}
.match-page .match-stats-table :is(th,td):nth-child(2){inline-size: 18%;}
.match-page .match-stats-table :is(th,td):nth-child(3){inline-size:15%;}
.match-page .match-stats-table :is(th,td):nth-child(4){inline-size: 17%;}
.match-page .match-stats-table :is(th,td):nth-child(5){inline-size: 16%;}
.match-page .match-stats-table thead th{color:#b6c1c9;background:#22313b;font-size:clamp(.55rem,2.5vw,.66rem);font-weight:800;}
.match-page .match-stats-table tbody :is(th,td){color:#aeb9c1;background:#293740;font-size:clamp(.62rem,3vw,.72rem);font-weight:500;}
.match-page .match-stats-team-name,.match-page .match-stats-table .player-link,.match-page .match-stats-table .player-link>span{min-inline-size:0;}
.match-page .match-stats-team-name{gap:.35rem;}
.match-page .match-stats-team-name strong,.match-page .match-stats-table .player-link strong{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.match-page .match-stats-team-name :is(.team-logo,.team-logo-fallback){flex:0 0 auto;inline-size:1.4rem;block-size:1.4rem;}
.match-page .match-stats-table .player-link{gap:.35rem;max-inline-size:100%;}
.match-page .match-stats-table .player-link small{display:none;}
.match-page .match-stats-table .player-link strong{color:#b6c1c9;font-weight:500;}
.match-page .match-stats-table .match-lineup-flag{flex:0 0 auto;inline-size:1.1rem;block-size:auto;}
.match-page .match-stats-table td:last-child{font-weight:850;}
.match-page .match-lineup-card>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem;}
.match-page .match-lineup-card>header .team-link{min-inline-size:0;}
.match-page .match-lineup-card>header .team-link strong{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.match-page .match-lineup-card>header>span{white-space:nowrap;}
.match-page .match-lineup-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(.08rem,.7vw,.2rem);inline-size:100%;min-inline-size:0;overflow-x: clip;padding:clamp(.12rem,.7vw,.25rem);}
.match-page .match-lineup-player{min-inline-size:0;}
.match-page .match-lineup-role{inset:.12rem .12rem auto auto;max-inline-size:calc(100% - .24rem);padding:.06rem .12rem;font-size:clamp(.3rem,1.35vw,.44rem);}
.match-page .match-lineup-player-name{gap:clamp(.06rem,.45vw,.2rem);padding-inline:.04rem;}
.match-page .match-lineup-player-name strong{min-inline-size:0;font-size:clamp(.44rem,2.2vw,.58rem);}
.match-page .match-lineup-flag{flex:0 0 auto;inline-size:clamp(.62rem,3vw,.85rem);block-size:auto;aspect-ratio: 3 / 2;}
.match-page-versus{grid-template-columns:repeat(2,minmax(0,1fr));}
.match-page-score{grid-column:1 / -1;grid-row:1;min-block-size:8rem;border-inline:0;border-block-end:1px solid var(--xx-color-border);}
.match-page-team{padding:.75rem;}
.match-page .match-lineup-comparison{position:relative;grid-template-columns:minmax(0,37fr) minmax(5.8rem,28fr) minmax(0,37fr);min-block-size:15.1667rem;overflow:hidden;isolation:isolate;}
.match-page .match-lineup-highlight{grid-row:1;z-index:1;align-content:end;padding:.2rem 0;overflow:visible}
.match-page .match-lineup-highlight-logo{inset:.35rem -1.5rem;opacity:.14}
.match-page .match-lineup-highlight .is-highlight{width:min(145%,11.5rem);height:14.5rem}
.match-page .match-lineup-highlight>strong{position:absolute;inset:auto 0 2.65rem;margin:0;font-size:clamp(.78rem,4vw,.95rem);line-height:1.05;white-space:nowrap}
.match-page .match-lineup-highlight>small{display:none}
.match-page .match-lineup-highlight .player-link{position:absolute;inset:auto auto .35rem 50%;margin:0;padding:.22rem .34rem;font-size:.58rem;transform:translateX(-50%);white-space:nowrap}
.match-page .match-lineup-metrics{z-index:3;grid-column:2;grid-row:1;align-self:stretch;min-inline-size:0;padding:.3rem 0 .4rem;overflow:visible}
.match-page .match-lineup-metrics>header{margin-bottom:.22rem;line-height:1.35;text-align:center}
.match-page .match-lineup-metrics>header strong{font-size:.72rem;line-height:1.45;letter-spacing:.12em}
.match-page .match-lineup-metrics>header small{font-size:.5rem;white-space:nowrap}
.match-page .match-lineup-metrics dl{inline-size:100%;overflow:visible}
.match-page .match-lineup-metrics dl>div{grid-template-columns:25% 50% 25%;min-height:1.38rem}
.match-page .match-lineup-metrics :is(dt,dd){font-size:.58rem;line-height:1.1;white-space:nowrap}
.match-page .match-lineup-metrics dd{font-size:.68rem}
.match-lineup-desktop-label,.match-lineup-desktop-period{display:none}
.match-lineup-mobile-label,.match-lineup-mobile-period{display:inline}
.match-mvp-card p{padding:var(--xx-space-3) 0 0;border-inline-start:0;border-block-start:1px solid var(--xx-color-border);}}
@media (max-width: 34rem){.match-vrs-result-table col.is-team{inline-size:44%;}
.match-vrs-result-table col.is-before,.match-vrs-result-table col.is-result{inline-size:28%;}
.match-vrs-result-table :is(th,td){block-size:2.85rem;padding:.28rem .22rem;}
.match-vrs-result-table thead th{block-size:1.75rem;}
.match-vrs-result-table thead span:not(.sr-only){min-block-size:1.15rem;padding-inline:.28rem;font-size:.5rem;}
.match-vrs-result-team{gap:.34rem;}
.match-vrs-result-team strong,.match-vrs-result-table td strong{font-size:.68rem;}
.match-vrs-result-team :is(.team-logo,.team-logo-fallback){inline-size:1.65rem;block-size:1.65rem;}
.match-vrs-result-table td small{margin-block-start:.08rem;font-size:.5rem;}
.match-page-context,.match-page-section-heading{align-items:start;}
.match-page-section-heading{flex-direction:column;gap:var(--xx-space-1);}
.match-page-team-logo :is(.team-logo,.team-logo-fallback){inline-size:3.75rem;block-size:3.75rem;}
.match-page-team-copy strong{font-size:var(--xx-font-lg);}
.match-page-style{border-radius:var(--xx-radius-sm);}}
@media (forced-colors: active){.match-page-hero,.match-page-section,.match-page-style{border:1px solid CanvasText;}}
#team-detail-content .profile-v18-hero .team-profile-logo{inline-size:6.75rem;block-size:6.75rem;}
#team-detail-content .profile-v18-hero .team-profile-logo :is(.team-logo,.team-logo-fallback){inline-size:4.75rem;block-size:4.75rem;}
#team-detail-content .profile-v18-hero .team-profile-rating{gap:.2rem;min-inline-size:6.5rem;padding:.75rem .9rem;}
#team-detail-content .profile-v18-hero .team-profile-rating strong{font-size:1.65rem;}
.profile-v18-hero .team-profile-logo{inline-size:10rem;block-size:10rem;}
.profile-v18-hero .team-profile-logo .team-logo,.profile-v18-hero .team-profile-logo .team-logo-fallback{inline-size:7rem;block-size:7rem;}
#player-detail-content .player-hltv-hero{grid-template-columns:minmax(13rem,15rem) minmax(0,1fr);gap:0;padding:0;overflow:hidden;}
.player-hltv-media{position:relative;display:grid;grid-template-columns:3.25rem minmax(0,1fr);background:var(--xx-color-surface-soft);border-inline-end:1px solid var(--xx-color-border);}
.player-hltv-identity{display:grid;align-content:center;justify-items:center;gap:var(--xx-space-3);padding-block:var(--xx-space-4);border-inline-end:1px solid var(--xx-color-border);}
.player-hltv-nationality .nationality-with-flag>span:last-child{display:none;}
.player-hltv-team-mark :is(.team-logo,.team-logo-fallback){inline-size:2.25rem;block-size:2.25rem;}
#player-detail-content .player-hltv-media .player-profile-photo{grid-column:2;inline-size:100%;block-size:100%;min-block-size:15rem;overflow:hidden;border:0;border-radius:0;}
#player-detail-content .player-hltv-media .player-profile-image{inline-size:100%;block-size:100%;object-fit:cover;border-radius:0;}
.player-hltv-copy{min-inline-size:0;padding:var(--xx-space-5);}
#player-detail-content .player-hltv-heading h2{margin:0 0 var(--xx-space-1);font-size:clamp(1.8rem,4cqi,2.75rem);}
.player-hltv-heading .player-profile-real-name,.player-hltv-role{margin:0;}
.player-hltv-role{margin-block-start:var(--xx-space-2);color:var(--xx-color-text-muted) !important;font-size:var(--xx-font-xs) !important;}
.player-hltv-facts{margin:var(--xx-space-3) 0 0;}
.player-hltv-facts>div{display:grid;grid-template-columns:minmax(7rem,.45fr) minmax(0,1fr);gap:var(--xx-space-3);align-items:center;border-block-end:1px solid var(--xx-color-border-strong);}
.player-hltv-facts :is(dt,dd){margin:0;}
.player-hltv-facts dt{color:var(--xx-color-text-muted);font-weight:800;}
.player-hltv-facts dd{justify-self:end;}
.player-hltv-facts .profile-team-link{display:inline-flex;align-items:center;gap:var(--xx-space-2);}
.player-hltv-facts .profile-team-link :is(.team-logo,.team-logo-fallback){inline-size:1.5rem;block-size:1.5rem;}
.team-profile-country{display:flex;flex-wrap:wrap;gap:var(--xx-space-2);align-items:center;margin-block:var(--xx-space-2);}
.team-profile-country small{color:var(--xx-color-text-muted);}
.team-profile-context-grid{display:grid;grid-template-columns:minmax(14rem,.8fr) minmax(20rem,1.2fr);gap:var(--xx-space-3);margin-block:var(--xx-space-3);}
#team-detail-content .team-profile-context-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--xx-space-2);margin-block:var(--xx-space-2);}
#team-detail-content .team-profile-context-grid>:is(.team-profile-style,.team-profile-coach){inline-size:100%;block-size:100%;padding:.7rem .8rem;}
#team-detail-content .team-profile-coach{gap:.5rem;}
#team-detail-content .team-profile-coach-photo{inline-size:2.25rem;block-size:2.25rem;}
#team-detail-content .team-profile-coach-meta,#team-detail-content .team-profile-coach-partnership dl{gap:.4rem;}
#team-detail-content :is(.team-profile-coach-meta,.team-profile-coach-partnership dl)>div{padding:.4rem .5rem;}
.team-profile-context-grid>:is(.team-profile-style,.team-profile-coach){margin:0;min-inline-size:0;}
.player-condition-grid>:is(.player-form-profile,.player-career-profile,.player-fatigue-profile){inline-size:auto;min-inline-size:0;margin:0;}
.player-condition-grid>.player-career-profile dl{grid-template-columns:repeat(2,minmax(0,1fr));}
.team-detail-content .team-profile-stats{grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));}
.player-overview-statistics .team-profile-stats{margin:0;padding:var(--xx-space-3);}
#team-detail-content .team-profile-stats{gap:var(--xx-space-2);}
#team-detail-content .team-profile-stats article{gap:.2rem;padding:.65rem .75rem;}
#team-detail-content .team-profile-stats strong{font-size:1.15rem;}
#team-detail-content :is(.team-roster-list,.team-map-pool-list){gap:1px;}
#team-detail-content .team-profile-history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--xx-space-2);margin-block:var(--xx-space-2);}
#team-detail-content .team-profile-history-grid>:last-child:nth-child(odd){grid-column:1 / -1;}
#team-detail-content [data-profile-section="team-roster-timeline"]>.team-roster-workspace-header{align-items:center;padding:0 .15rem .55rem;border:0;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-workspace-header>div{gap:0;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-workspace-header>div>span{display:none;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-workspace-header h3{color:var(--xx-color-text-muted);font-size:.82rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-period-tabs{gap:.15rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-period-tabs button{min-block-size:1.7rem;padding:.3rem .55rem;color:var(--xx-color-text-muted);background:transparent;border:0;border-radius:var(--xx-radius-xs);font-size:.66rem;text-transform:none;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-period-tabs button[aria-selected="true"]{color:var(--xx-color-text);background:#40566b;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-scroll{background:#293744;border:1px solid #405160;border-radius:var(--xx-radius-sm);}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline{position:relative;min-inline-size:46rem;padding:.75rem .9rem .95rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] :is(.team-roster-timeline-scale,.team-roster-timeline-row,.team-roster-timeline-guides){grid-template-columns:6.4rem minmax(0,1fr);gap:.65rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] :is(.team-roster-timeline-scale,.team-roster-timeline-row){position:relative;z-index:1;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-scale{min-block-size:1.75rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-scale>div{background:none;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-scale i{top:0;padding:.12rem .2rem;color:#9ba7b0;border-radius:var(--xx-radius-xs);font-size:.64rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-scale i>small{display:none;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-scale i.is-year{color:#aeb9c1;background:#344553;border:1px solid #526474;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-guides{position:absolute;z-index:0;inset:.75rem .9rem .95rem;display:grid;pointer-events:none;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-guides>div{position:relative;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-guides i{position:absolute;inset-block:1.5rem 0;border-inline-start:1px dashed rgba(151,168,181,.18);}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-guides i.is-year{border-inline-start:2px solid rgba(151,168,181,.48);}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row{min-block-size:1.85rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>span{grid-template-columns:auto minmax(0,1fr);gap:.35rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>span .nationality-with-flag>span:last-child,#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>span>small{display:none;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>span .country-flag{inline-size:1.15rem;block-size:.78rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>span>strong{overflow:hidden;color:#91abc1;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>div{background:none;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>div::before{display:none;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>div>i{top:calc(50% - .18rem);block-size:.36rem;min-inline-size:.35rem;background:#405a72;border-radius:999px;opacity:.72;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>div>i.is-current{background:#52718c;box-shadow:none;opacity:1;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>div>i.is-bench{background:#803444;}
@container (max-width: 52rem){.profile-v18-hero .team-profile-logo{inline-size:7rem;block-size:7rem;}
.profile-v18-hero .team-profile-logo .team-logo,.profile-v18-hero .team-profile-logo .team-logo-fallback{inline-size:5rem;block-size:5rem;}
#team-detail-content .team-profile-context-grid,#team-detail-content .team-profile-history-grid{grid-template-columns:minmax(0,1fr);}
#team-detail-content .team-profile-history-grid>:last-child:nth-child(odd){grid-column:auto;}}
@container (max-width: 34rem){#team-detail-content .team-current-roster-section .team-roster-grid{grid-template-columns:minmax(0,1fr);gap:.4rem;overflow-x: clip;overscroll-behavior-inline: auto;padding:.5rem;scrollbar-gutter: auto;}
#team-detail-content .team-map-pool-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;padding:.5rem;}
#team-detail-content .team-map-card{inline-size:auto;min-inline-size:0;min-block-size:8rem;padding:.65rem;}
#team-detail-content .team-map-card:last-child:nth-child(odd){grid-column:1 / -1;}
#team-detail-content .team-roster-workspace-header,#team-detail-content [data-profile-section="team-roster-timeline"]>.team-roster-workspace-header{align-items:stretch;flex-direction:column;gap:.6rem;padding:.75rem;}
#team-detail-content [data-profile-section="team-roster-timeline"]>.team-roster-workspace-header{flex-direction:row;gap:.5rem;align-items:center;padding:0 .15rem .55rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-workspace-header>div{min-inline-size:0;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-workspace-header h3{overflow:hidden;font-size:0;white-space:nowrap;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-workspace-header h3::after{font:900 .82rem/1.2 var(--xx-font-ui);content:attr(data-compact-title);}
#team-detail-content .team-roster-period-tabs,#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-period-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));inline-size:100%;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-period-tabs{display:flex;inline-size:auto;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-period-tabs button{min-block-size:1.9rem;padding:.35rem .6rem;}
#team-detail-content .team-roster-workspace-section .history-table-wrap,#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-scroll{max-inline-size:100%;overflow-x: clip;scrollbar-gutter: auto;}
#team-detail-content .team-roster-table{display:block;inline-size:100%;min-inline-size:0;}
#team-detail-content .team-roster-table thead{display:none;}
#team-detail-content .team-roster-table tbody{display:grid;inline-size:100%;}
#team-detail-content .team-roster-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));inline-size:100%;}
#team-detail-content .team-roster-table tr + tr{border-block-start:1px solid var(--xx-color-border);}
#team-detail-content .team-roster-table th[scope="row"]{grid-column:1 / -1;inline-size:auto;padding:.7rem .75rem;border-block-end:1px solid var(--xx-color-border);}
#team-detail-content .team-roster-table td{display:grid;gap:.3rem;align-content:center;min-inline-size:0;min-block-size:3.4rem;padding:.55rem .75rem;border-block-start:0;text-align:start;}
#team-detail-content .team-roster-table td::before{color:var(--xx-color-text-muted);font:700 .56rem/1.2 var(--xx-font-mono);letter-spacing:.04em;text-transform:uppercase;content:attr(data-label);}
#team-detail-content .team-roster-table td:nth-of-type(even){border-inline-start:1px solid var(--xx-color-border);}
#team-detail-content .team-roster-table .team-roster-status{justify-self:start;min-inline-size:0;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline{inline-size:100%;min-inline-size:0;padding:.65rem .65rem .85rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-scale{display:grid;grid-template-columns:5.1rem minmax(0,1fr);gap:.45rem;min-block-size:2.2rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-guides{inset:.65rem .65rem .85rem;display:grid;grid-template-columns:5.1rem minmax(0,1fr);gap:.45rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-scale i{display:none;padding:.1rem .14rem;font-size:.56rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-scale i:nth-child(2n + 3),#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-scale i.is-year{display:block;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-scale i>span{display:none;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-scale i>small{display:inline;color:inherit;font:inherit;text-transform:none;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-scale i:last-child{transform: translateX(-100%);}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row{grid-template-columns:5.1rem minmax(0,1fr);gap:.45rem;min-block-size:2.15rem;padding:0;border:0;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>span{display:block;align-self:center;min-inline-size:0;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>span .nationality-with-flag,#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>span>small{display:none;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>span>strong{display:block;font-size:.67rem;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>div{position:relative;display:block;min-block-size:100%;background:none;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>div::before{display:block;block-size:1px;background:var(--xx-panel);}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>div>i{position:absolute;display:block;top:calc(50% - .18rem);min-inline-size:.25rem;block-size:.36rem;padding:0;border-radius:999px;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>div>i.is-current{background:#52718c;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>div>i.is-bench{background:#803444;}
#team-detail-content [data-profile-section="team-roster-timeline"] .team-roster-timeline-row>div>i::after{display:none;content:none;}
#team-detail-content .profile-v18-hero .team-profile-logo{inline-size:4.5rem;block-size:4.5rem;}
#team-detail-content .profile-v18-hero .team-profile-logo :is(.team-logo,.team-logo-fallback){inline-size:3.25rem;block-size:3.25rem;}
#team-detail-content .profile-v18-hero .team-profile-rating{min-inline-size:0;}
.profile-v18-hero .team-profile-logo{inline-size:5.5rem;block-size:5.5rem;}
.profile-v18-hero .team-profile-logo .team-logo,.profile-v18-hero .team-profile-logo .team-logo-fallback{inline-size:4rem;block-size:4rem;}
.profile-v18-hero .team-profile-rating{grid-column:1 / -1;justify-self:stretch;}
#player-detail-content .player-hltv-hero{grid-template-columns:minmax(0,1fr);gap:0;padding:0;}
.player-hltv-media{min-block-size:16rem;border-inline-end:0;border-block-end:1px solid var(--xx-color-border);}
.player-hltv-copy{padding:var(--xx-space-3);}
.player-overview-statistics .team-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--xx-space-2);padding:var(--xx-space-2);}
.player-events-table,.player-events-table :is(thead,tbody,tr,th,td){display:block;inline-size:100%;}
.player-events-table thead{position:absolute;clip-path:inset(50%);inline-size:1px;block-size:1px;overflow:hidden;}
.player-events-table tbody{display:grid;gap:var(--xx-space-2);padding:var(--xx-space-2);}
.player-events-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;background:var(--xx-color-surface-raised);border:1px solid var(--xx-color-border);border-radius:var(--xx-radius-sm);}
.player-events-table tbody th{grid-column:1 / -1;padding:.75rem;border-block-end:1px solid var(--xx-color-border);}
.player-events-table tbody td{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--xx-space-2);padding:.55rem .75rem;}
.player-events-table tbody td::before{content:attr(data-label);color:var(--xx-color-text-muted);font-size:var(--xx-font-xs);font-weight:800;}
.player-condition-grid>.player-career-profile dl{grid-template-columns:minmax(0,1fr);}}

/* Team and player dossier headers share the same fact rows and tab strip. */
.profile-page-columns { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: 12px; }
.profile-page-columns > .team-detail-content { width: 100%; min-width: 0; }
.profile-sidebar { min-width: 0; }
.profile-sidebar-section { margin-bottom: 14px; border: 1px solid var(--xx-line); border-radius: 10px; overflow: clip; background: var(--xx-panel); }
.profile-sidebar-section h3 {
  margin: 0;
  padding: 7px 8px;
  color: var(--xx-text);
  background: var(--xx-color-surface-soft);
  font: 700 13px/1.3 var(--xx-font-ui);
}
.profile-sidebar-list { display: grid; }
.profile-sidebar-list > button {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 7px;
  border: 0;
  border-top: 1px solid var(--xx-line);
  color: var(--xx-text);
  background: transparent;
  text-align: left;
}
.profile-sidebar-list > button:is(:hover,:focus-visible) { background: var(--xx-color-accent-soft); outline-offset: -2px; }
.profile-sidebar-list :is(.profile-sidebar-mark,time) { display: grid; place-items: center; color: var(--xx-muted); font-size: 10px; font-weight: 700; }
.profile-sidebar-mark :is(img,i) { display: block; width: 24px; height: 24px; object-fit: contain; text-align: center; line-height: 24px; }
.profile-sidebar-list > .profile-sidebar-match { grid-template-columns: minmax(0,1fr) auto; }
.profile-sidebar-list button > span:not(.profile-sidebar-mark) { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.profile-sidebar-list .profile-sidebar-match b { color: var(--xx-muted); font-size: 11px; }
.profile-sidebar-list strong { color: var(--xx-accent); font-size: 12px; line-height: 1.25; }
.profile-sidebar-list small { color: var(--xx-muted); font-size: 10px; line-height: 1.3; }
@media (min-width: 851px) {
  .profile-page-columns:has(> .profile-sidebar:not([hidden])) { grid-template-columns: minmax(0,1fr) 180px; }
}
@media (max-width: 850px) {
  .profile-page-columns > .profile-sidebar { display: none; }
}
:is(#team-detail-content, #player-detail-content).team-detail-content {
  gap: 0;
  --profile-photo-backdrop: radial-gradient(ellipse at 50% 110%,#37605a,#233b39 55%,#142324);
}
#team-detail-content .team-current-roster-section.profile-lineup {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--xx-line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: var(--profile-photo-backdrop);
}
#team-detail-content .team-current-roster-section .team-roster-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  scrollbar-gutter: auto;
}
#team-detail-content .profile-lineup .team-roster-grid .roster-row {
  display: block;
  flex: 0 0 20%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.profile-lineup .profile-lineup-player {
  display: grid;
  grid-template: auto 1fr / minmax(0, 1fr);
  height: 100%;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}
#team-detail-content .profile-lineup .profile-lineup-player .roster-player-avatar {
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(70px, 20cqi, 182px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.profile-lineup .roster-player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.profile-lineup .roster-player-avatar > span {
  color: #e3ebf0;
  font: 700 clamp(18px, 4cqi, 36px)/1 var(--xx-font-ui);
}
#team-detail-content .profile-lineup .profile-lineup-player .roster-player-copy {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 0 4px;
  min-width: 0;
  padding: 6px 3px;
  color: #fff;
  background: #1b2e2b;
  border-top: 1px solid #42625b;
  text-align: center;
  white-space: normal;
}
.profile-lineup .roster-player-copy strong {
  width: 100%;
  color: inherit;
  font: 700 clamp(11px, 2cqi, 15px)/1.2 var(--xx-font-ui);
  overflow-wrap: anywhere;
  text-transform: none;
  letter-spacing: normal;
}
#team-detail-content .profile-lineup .roster-player-copy :is(small,b) {
  color: #c7dad6;
  font: 400 10px/1.35 var(--xx-font-ui);
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}
.profile-lineup .profile-lineup-player:is(:hover,:focus-visible) .roster-player-copy strong { text-decoration: underline; }
.profile-lineup .profile-lineup-player:focus-visible { outline: 3px solid #c6e6ff; outline-offset: -3px; }

#team-detail-content .team-profile-hero.team-profile-identity,
#player-detail-content .team-profile-hero.player-hltv-hero {
  min-height: 0;
  margin: 0;
  border: 1px solid var(--xx-line);
  border-radius: 0;
  background: var(--xx-panel);
  box-shadow: none;
}
#team-detail-content .team-profile-hero.team-profile-identity {
  grid-template-columns: auto minmax(0, 1fr) minmax(215px, 48%);
  gap: clamp(10px, 2cqi, 22px);
  align-items: center;
  padding: 14px;
}
#team-detail-content .team-profile-identity .team-profile-logo {
  display: grid;
  place-items: center;
  width: clamp(56px, 11cqi, 96px);
  height: auto;
  aspect-ratio: 1;
  border: 0;
  background: transparent;
}
#team-detail-content .team-profile-identity .team-profile-logo :is(img,.team-logo-fallback) {
  width: 85%;
  height: 85%;
  object-fit: contain;
}
/* The published logo can be black or white regardless of the portal theme. */
:is(#team-detail-content, #player-detail-content) :is(.team-profile-logo,.profile-team-link,.profile-match-opponent,.profile-history-logo) img.team-logo {
  filter: drop-shadow(0 0 1px #e7eef4) drop-shadow(0 0 1px #677886);
}
#team-detail-content .team-profile-identity .team-profile-title h2,
#player-detail-content .player-hltv-heading h2 {
  margin: 3px 0;
  color: var(--xx-text);
  font: 780 clamp(26px, 4.3cqi, 42px)/1.05 var(--xx-font-ui);
  letter-spacing: -.035em;
  text-transform: none;
}
.team-profile-identity .team-profile-country { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
#team-detail-content .team-profile-country :is(span,small),
#player-detail-content .player-hltv-copy .player-profile-real-name {
  color: var(--xx-muted);
  font: 400 13px/1.35 var(--xx-font-ui);
  letter-spacing: normal;
  text-transform: none;
}
:is(#team-detail-content, #player-detail-content) .profile-facts { margin: 0; min-width: 0; }
:is(#team-detail-content, #player-detail-content) .profile-facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  min-height: 26px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid var(--xx-line);
  background: transparent;
}
:is(#team-detail-content, #player-detail-content) .profile-facts > div:last-child { border-bottom: 0; }
:is(#team-detail-content, #player-detail-content) .profile-facts :is(dt,dd,dd span) {
  min-width: 0;
  margin: 0;
  font: 400 13px/1.25 var(--xx-font-ui);
  text-transform: none;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
:is(#team-detail-content, #player-detail-content) .profile-facts dt { flex-shrink: 0; color: var(--xx-muted); }
:is(#team-detail-content, #player-detail-content) .profile-facts dd { color: var(--xx-text); font-weight: 700; text-align: right; }
#player-detail-content .profile-facts .profile-team-link { min-height: 0; min-block-size: 0; max-width: 100%; text-align: right; white-space: normal; }
#player-detail-content .profile-facts .profile-team-link span { color: var(--xx-accent); font-weight: 700; }
#player-detail-content .profile-facts .profile-team-link :is(.team-logo,.team-logo-fallback) { width: 19px; height: 19px; }

#player-detail-content .player-hltv-hero {
  grid-template-columns: minmax(108px, 31%) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
}
#player-detail-content .player-hltv-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
  min-block-size: 0;
  border: 0;
  background: var(--profile-photo-backdrop);
}
#player-detail-content .player-hltv-identity {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 5px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 4px;
  padding: 5px;
  border: 0;
  background: #19332ed9;
}
#player-detail-content .player-hltv-identity:empty { display: none; }
#player-detail-content .player-hltv-identity .player-hltv-team-mark { min-block-size: 0; line-height: 1; }
#player-detail-content .player-hltv-team-mark :is(.team-logo,.team-logo-fallback) { width: 21px; height: 21px; color: white; }
#player-detail-content .player-hltv-media .player-profile-photo {
  display: grid;
  place-items: end center;
  grid-column: 1;
  width: 100%;
  height: 100%;
  min-height: 162px;
  background: transparent;
}
#player-detail-content .player-hltv-media .player-profile-image {
  width: 100%;
  height: clamp(162px, 26cqi, 218px);
  object-fit: contain;
  object-position: bottom center;
}
#player-detail-content .player-hltv-media .player-profile-image.fallback {
  align-self: center;
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: #e0e8ef;
  font: 700 clamp(23px, 5cqi, 48px)/1 var(--xx-font-ui);
}
#player-detail-content .player-hltv-copy { align-self: center; padding: clamp(10px, 2cqi, 21px); }
#player-detail-content .player-hltv-copy .player-hltv-facts { margin-top: 10px; }
#player-detail-content .profile-honours {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 0;
  border-top: 1px solid var(--xx-line);
  color: var(--xx-text);
  background: var(--xx-color-surface-soft);
  text-align: left;
}
#player-detail-content .profile-honours > i { color: var(--xx-color-warning); font-size: 19px; }
#player-detail-content .profile-honours > span { display: grid; gap: 2px; min-width: 0; }
#player-detail-content .profile-honours small { color: var(--xx-muted); font-size: 11px; }
#player-detail-content .profile-honours strong { color: var(--xx-text); font: 700 13px/1.3 var(--xx-font-ui); text-transform: none; letter-spacing: normal; overflow-wrap: anywhere; }
#player-detail-content .profile-honours:hover strong { text-decoration: underline; }

#team-detail-content .team-profile-tabs, #player-detail-content .player-profile-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 16px;
  padding: 0;
  flex-wrap: wrap;
  border: 1px solid var(--xx-line);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: var(--xx-color-surface-soft);
}
#team-detail-content .team-profile-tabs button, #player-detail-content .player-profile-tabs button {
  flex: 1 0 auto;
  min-height: 40px;
  padding: 6px 9px;
  border: 0;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  color: var(--xx-muted);
  background: transparent;
  font: 700 13px/1.3 var(--xx-font-ui);
  letter-spacing: normal;
  text-transform: none;
}
:is(#team-detail-content, #player-detail-content) .team-profile-tabs button[aria-selected="true"] {
  color: var(--xx-text);
  background: var(--xx-panel);
  border-bottom-color: var(--xx-accent);
}
:is(#team-detail-content, #player-detail-content) .team-profile-tabs button:is(:hover,:focus-visible) { color: var(--xx-accent); }
:is(#team-detail-content, #player-detail-content) .team-profile-tabs button:focus-visible { outline-offset: -3px; }

#team-detail-content .profile-rank-figure { margin: 0; padding: 12px; }
#team-detail-content .profile-rank-chart { display: block; width: 100%; height: 98px; overflow: visible; color: var(--xx-accent); }
.profile-rank-grid, .profile-rank-line { fill: none; vector-effect: non-scaling-stroke; }
.profile-rank-grid { stroke: var(--xx-line); stroke-width: 1; }
.profile-rank-line { stroke: currentColor; stroke-width: 2; }
.profile-rank-point { fill: currentColor; }
.profile-rank-figure figcaption { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; color: var(--xx-muted); font-size: 11px; }

:is(#team-detail-content, #player-detail-content) :is(.profile-section,.profile-v18-section,.team-profile-style,.team-profile-coach,.team-profile-stats article) {
  border-radius: 10px;
  box-shadow: none;
  background-color: var(--xx-panel);
}
:is(#team-detail-content, #player-detail-content) .panel-header :is(h2,h3) {
  color: var(--xx-text);
  font: 700 16px/1.25 var(--xx-font-ui);
  text-transform: none;
  letter-spacing: normal;
}
#player-detail-content .player-performance-heading { padding: 10px 12px; background: var(--xx-color-surface-soft); }
#player-detail-content .player-performance-heading > div:first-child { min-width: 0; }
#player-detail-content .player-performance-heading h3 { font: 700 16px/1.25 var(--xx-font-ui); overflow-wrap: anywhere; white-space: normal; }
#player-detail-content .player-performance-sides { padding: 0; border-radius: 0; }
#player-detail-content .player-performance-sides button { min-height: 30px; border-radius: 0; }
#player-detail-content .player-performance-sides button[aria-pressed="true"] { color: var(--xx-panel); background: var(--xx-accent); }
#player-detail-content .player-performance-rating > span { text-transform: none; letter-spacing: normal; }
#player-detail-content .profile-match-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,98px),1fr));
  gap: 1px;
  background: var(--xx-line);
  padding: 0;
  border-top: 1px solid var(--xx-line);
}
#player-detail-content .profile-match-tile {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 4px;
  min-width: 0;
  padding: 10px 6px;
  border: 0;
  border-radius: 0;
  color: var(--xx-text);
  background: var(--xx-color-surface);
  font: 600 12px/1.3 var(--xx-font-ui);
}
.profile-match-strip .profile-match-opponent { display: flex; align-items: center; justify-content: center; gap: 4px; max-width: 100%; }
.profile-match-strip .profile-match-opponent :is(img,.team-logo-fallback) { width: 20px; height: 20px; }
.profile-match-strip .profile-match-opponent strong { overflow-wrap: anywhere; }
.profile-match-strip .profile-match-tile small { color: var(--xx-muted); font-size: 10px; font-weight: 400; }
.profile-match-strip .is-win b { color: var(--xx-color-success); }
.profile-match-strip .is-loss b { color: var(--xx-color-danger); }
#player-detail-content .profile-match-tile:is(:hover,:focus-visible) { background: var(--xx-color-accent-soft); outline-offset: -3px; }
#team-detail-content .team-profile-coach-identity strong { color: var(--xx-text); }
#team-detail-content .team-profile-style strong { color: var(--xx-accent); }
#team-detail-content .team-profile-context-grid { align-items: start; }
#team-detail-content .team-profile-context-grid > * { block-size: auto; margin: 0; border-color: var(--xx-line); }
#team-detail-content .team-profile-context-grid .team-profile-style { align-content: start; grid-template-columns: auto 1fr; gap: 4px 8px; padding: 10px; }
#team-detail-content .team-profile-style > i { grid-row: 1 / 4; }
#team-detail-content .team-profile-style :is(span,strong,small) { grid-column: 2; text-transform: none; letter-spacing: 0; }
#team-detail-content .team-profile-context-grid .team-profile-coach { gap: 6px; }
#team-detail-content .team-profile-coach :is(.team-profile-coach-meta,.team-profile-coach-partnership) :is(div,li) { border-radius: 0; border-color: var(--xx-line); }
#team-detail-content .team-profile-coach :is(.team-profile-coach-familiarity,.team-profile-coach-partnership) strong { color: var(--xx-accent); }
#team-detail-content .team-map-card::before {
  background: linear-gradient(0deg, rgba(11,30,44,.98), rgba(13,34,48,.77) 67%, rgba(14,33,46,.58)), var(--map-image,none) center/cover, #203a4a;
}
#team-detail-content .team-map-card strong, #team-detail-content .team-map-card small { color: #f3f6f9; text-shadow: none; }
#team-detail-content .team-map-card:not(.is-unplayed)>span { color: #8de9cc; }
#team-detail-content .team-map-card.is-unplayed>span { color: #c0ccd4; }

@container (max-width: 34rem) {
  #team-detail-content .team-profile-hero.team-profile-identity {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 5px 12px;
    padding: 9px 12px;
  }
  #team-detail-content .team-profile-facts { grid-column: 1 / -1; }
  #player-detail-content .player-hltv-hero { grid-template-columns: minmax(92px, 30%) minmax(0, 1fr); }
  #player-detail-content .player-hltv-copy { padding: 8px; }
  #player-detail-content .player-hltv-media .player-profile-photo { min-height: 144px; }
  #player-detail-content .player-hltv-media .player-profile-image:not(.fallback) { height: 154px; }
  #player-detail-content .player-hltv-identity { inset: 3px auto auto 3px; padding: 3px; }
  #player-detail-content .player-hltv-team-mark :is(.team-logo,.team-logo-fallback) { width: 16px; height: 16px; }
  #player-detail-content .profile-facts :is(dt,dd,dd span) { font-size: 12px; }
  #team-detail-content .team-profile-tabs button, #player-detail-content .player-profile-tabs button { min-height: 42px; padding-inline: 6px; font-size: 12px; }
}
