/* Release 1.10.46: status-specific match detail layouts. */
body.cs2day-v2 .cs2-player-duel {
	display: grid;
	grid-template-columns: minmax(210px, .85fr) minmax(310px, 1.3fr) minmax(210px, .85fr);
	gap: 16px;
	align-items: stretch;
}
body.cs2day-v2 .cs2-player-duel__lineup { display: grid; align-content: start; gap: 7px; }
body.cs2day-v2 .cs2-player-duel__lineup h3 { margin: 0 0 5px; font-size: 16px; }
body.cs2day-v2 .cs2-player-duel__lineup--two h3 { text-align: right; }
body.cs2day-v2 .cs2-player-duel__player {
	display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 10px; align-items: center;
	width: 100%; min-height: 54px; padding: 6px 9px; border: 1px solid var(--cs2-border); border-radius: 5px;
	background: var(--cs2-bg-alt); color: var(--cs2-text); text-align: left; cursor: pointer;
}
body.cs2day-v2 .cs2-player-duel__player:is(:hover,.is-selected) { border-color: color-mix(in srgb,var(--cs2-accent) 62%,var(--cs2-border)); background: color-mix(in srgb,var(--cs2-card-elevated) 90%,var(--cs2-accent)); }
body.cs2day-v2 .cs2-player-duel__player :is(img,i) { display:grid; place-items:center; width:42px; height:42px; object-fit:contain; border-radius:4px; background:var(--cs2-bg); font-style:normal; }
body.cs2day-v2 .cs2-player-duel__player span { display:grid; min-width:0; }
body.cs2day-v2 .cs2-player-duel__player strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.cs2day-v2 .cs2-player-duel__player small { color:var(--cs2-text-muted); }
body.cs2day-v2 .cs2-player-duel__compare { align-self:center; border:1px solid var(--cs2-border); border-radius:6px; background:var(--cs2-bg); overflow:hidden; }
body.cs2day-v2 .cs2-player-duel__compare > span { display:block; padding:40px 20px; color:var(--cs2-text-muted); text-align:center; }
body.cs2day-v2 .cs2-player-duel__compare header { display:grid; grid-template-columns:1fr auto 1fr; gap:8px; align-items:center; padding:13px; border-bottom:1px solid var(--cs2-border); text-align:center; }
body.cs2day-v2 .cs2-player-duel__compare dl { margin:0; padding:7px 13px; }
body.cs2day-v2 .cs2-player-duel__compare dl div { display:grid; grid-template-columns:1fr 1.3fr 1fr; gap:8px; min-height:31px; align-items:center; }
body.cs2day-v2 .cs2-player-duel__compare :is(dt,dd) { margin:0; }
body.cs2day-v2 .cs2-player-duel__compare dt { color:var(--cs2-text-muted); font-size:11px; text-align:center; }
body.cs2day-v2 .cs2-player-duel__compare dd { font-weight:850; }
body.cs2day-v2 .cs2-player-duel__compare dd:last-child { text-align:right; }
body.cs2day-v2 .cs2-player-duel__compare footer { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:10px 13px; border-top:1px solid var(--cs2-border); }
body.cs2day-v2 .cs2-player-duel__compare footer .cs2-button { width:100%; }

body.cs2day-v2 .cs2-match-team-overview__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
body.cs2day-v2 .cs2-match-team-card { display:grid; gap:14px; min-width:0; padding:16px; border:1px solid var(--cs2-border); border-radius:6px; background:linear-gradient(145deg,var(--cs2-card-elevated),var(--cs2-bg-alt)); }
body.cs2day-v2 .cs2-match-team-card > header { display:flex; align-items:center; justify-content:space-between; gap:14px; }
body.cs2day-v2 .cs2-match-team-card > header a { display:flex; align-items:center; gap:10px; min-width:0; color:var(--cs2-text); text-decoration:none; }
body.cs2day-v2 .cs2-match-team-card__logo { width:58px; height:58px; object-fit:contain; }
body.cs2day-v2 .cs2-match-team-card > header span { display:grid; min-width:0; }
body.cs2day-v2 .cs2-match-team-card > header small { color:var(--cs2-text-muted); font-size:9px; text-transform:uppercase; }
body.cs2day-v2 .cs2-match-team-card__org { justify-content:flex-end; color:var(--cs2-text-muted)!important; font-size:12px; }
body.cs2day-v2 .cs2-match-team-card__org-logo { width:28px; height:28px; object-fit:contain; }
body.cs2day-v2 .cs2-match-team-card dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:0; }
body.cs2day-v2 .cs2-match-team-card dl div { padding:8px; background:var(--cs2-bg); border-radius:4px; }
body.cs2day-v2 .cs2-match-team-card :is(dt,dd) { margin:0; }
body.cs2day-v2 .cs2-match-team-card dt { color:var(--cs2-text-muted); font-size:9px; text-transform:uppercase; }
body.cs2day-v2 .cs2-match-team-card dd { margin-top:3px; font-size:12px; font-weight:800; }
body.cs2day-v2 .cs2-match-team-card footer { display:flex; flex-wrap:wrap; gap:7px; }
body.cs2day-v2 .cs2-match-team-card footer a { padding:5px 8px; border:1px solid var(--cs2-border); border-radius:4px; color:var(--cs2-text); font-size:10px; font-weight:800; text-decoration:none; }

body.cs2day-v2 .cs2-match-content--banter .cs2-match-content-row__teams { grid-template-columns:repeat(2,minmax(0,1fr)); }
body.cs2day-v2 .cs2-match-content-team__empty--action { display:grid; gap:3px; width:100%; padding:13px; border:1px dashed var(--cs2-border); border-radius:5px; background:transparent; color:var(--cs2-text); text-align:left; cursor:pointer; }
body.cs2day-v2 .cs2-match-content-team__empty--action:hover { border-color:var(--cs2-accent); }
body.cs2day-v2 .cs2-match-content-team__empty--action span { color:var(--cs2-text-muted); font-size:11px; }
body.cs2day-v2 .cs2-match-recent__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
body.cs2day-v2 .cs2-match-recent__team { overflow:hidden; border:1px solid var(--cs2-border); border-radius:6px; }
body.cs2day-v2 .cs2-match-recent__team h3 { display:flex; align-items:center; gap:9px; margin:0; padding:11px 13px; background:var(--cs2-bg); font-size:14px; }
body.cs2day-v2 .cs2-match-recent__logo { width:28px; height:28px; object-fit:contain; }
body.cs2day-v2 .cs2-match-recent__team > a { display:grid; grid-template-columns:65px minmax(0,1fr) auto; gap:10px; align-items:center; min-height:38px; padding:7px 13px; color:var(--cs2-text); text-decoration:none; }
body.cs2day-v2 .cs2-match-recent__team > a:nth-of-type(even) { background:color-mix(in srgb,var(--cs2-bg) 55%,transparent); }
body.cs2day-v2 .cs2-match-recent__team time { color:var(--cs2-text-muted); font-size:10px; }
body.cs2day-v2 .cs2-match-recent__team .is-win { color:var(--cs2-success); }
body.cs2day-v2 .cs2-match-recent__team .is-loss { color:var(--cs2-error); }
body.cs2day-v2 .cs2-player-profile-dialog { width:min(1180px,calc(100vw - 28px)); padding:0; }
body.cs2day-v2 .cs2-player-profile-dialog > div { display:grid; grid-template-rows:auto minmax(0,1fr); height:min(820px,calc(100vh - 28px)); background:var(--cs2-bg); }
body.cs2day-v2 .cs2-player-profile-dialog header { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; border-bottom:1px solid var(--cs2-border); }
body.cs2day-v2 .cs2-player-profile-dialog iframe { width:100%; height:100%; border:0; background:var(--cs2-bg); }

@media(max-width:900px){
	body.cs2day-v2 .cs2-player-duel { grid-template-columns:1fr 1fr; }
	body.cs2day-v2 .cs2-player-duel__compare { grid-column:1/-1; grid-row:2; width:100%; }
	body.cs2day-v2 .cs2-match-team-card dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:620px){
	body.cs2day-v2 .cs2-player-duel { grid-template-columns:1fr; }
	body.cs2day-v2 .cs2-player-duel__compare { grid-column:auto; grid-row:auto; }
	body.cs2day-v2 .cs2-player-duel__lineup--two h3 { text-align:left; }
	body.cs2day-v2 :is(.cs2-match-team-overview__grid,.cs2-match-recent__grid,.cs2-match-content--banter .cs2-match-content-row__teams) { grid-template-columns:1fr; }
	body.cs2day-v2 .cs2-match-team-card > header { align-items:flex-start; }
	body.cs2day-v2 .cs2-match-team-card__org { flex-direction:column; align-items:flex-end!important; }
	body.cs2day-v2 .cs2-match-team-card dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
