/* Eagle Match 5.13.16 - dedicated live match screen */
body.match-screen-active{overflow:hidden!important;background:#070707!important}
body.match-screen-active #dashView,body.match-screen-active #loginView{display:none!important}
body.match-screen-active #matchView{display:block!important;position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:100!important;overflow-y:auto!important;overflow-x:hidden!important;background:#070707!important}
body.match-screen-active .match-shell{min-height:100%;max-width:1480px;padding:clamp(14px,2.4vw,34px);padding-bottom:40px}
.matchview .match-bg{position:fixed;inset:0;pointer-events:none;background:radial-gradient(900px 460px at 50% -5%,rgba(255,45,67,.16),transparent 68%),linear-gradient(180deg,#090909,#050505 72%)}
.matchview .match-top{position:relative;z-index:2;padding:4px 2px 14px;border-bottom:1px solid #302025}
.matchview .live-pill{display:flex;align-items:center;gap:9px;border-color:#563039;background:#160d10;color:#f3dfe2}
.matchview .live-pill b{margin-left:8px;color:#ff6577;font-size:10px;letter-spacing:.7px}
.matchview .match-hero{background:linear-gradient(135deg,rgba(31,15,19,.97),rgba(12,10,11,.97));border-color:#4a252d;box-shadow:0 18px 48px rgba(0,0,0,.28)}
.matchview .match-title-row h1{letter-spacing:1px}
.matchview .em-match-map-label{margin-top:8px;color:#ff465d;font-weight:900;letter-spacing:1.1px}
.matchview .match-scoreboard{display:flex;align-items:center;justify-content:flex-start;gap:13px;margin-top:16px;color:#cfc5c7;font-size:11px;font-weight:900;letter-spacing:1px}
.matchview .match-scoreboard b{display:inline-grid;min-width:42px;height:38px;place-items:center;padding:0 10px;border:1px solid #48252d;border-radius:10px;background:#190d11;color:#fff;font-size:23px;line-height:1}
.matchview .match-scoreboard i{font-style:normal;color:#7e6268}
.matchview .match-scoreboard span{color:#ff929e}
.em-match-ready-count{margin-top:10px;color:#a99b9f;font-size:11px;font-weight:800;letter-spacing:.7px}
.em-match-connection{position:relative;z-index:1;margin-top:14px;padding:18px;border:1px solid #38232a;border-radius:15px;background:linear-gradient(145deg,rgba(22,15,17,.98),rgba(11,10,11,.98));box-shadow:0 12px 30px rgba(0,0,0,.2)}
.em-connection-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:13px}
.em-connection-heading h2{margin:4px 0 0;font-size:20px;letter-spacing:.7px}
.em-mixmod-status{padding:8px 11px;border:1px solid #5a3b23;border-radius:999px;color:#f1b86c;background:#1d160e;font-size:10px;font-weight:900;letter-spacing:.5px}
.em-mixmod-status.active{border-color:#235a39;color:#84e6a6;background:#0c1c12}
.em-connection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.em-connection-item{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;min-width:0;padding:12px;border:1px solid #322329;border-radius:11px;background:#0b090a}
.em-connection-item>span{grid-column:1/-1;color:#9f8c92;font-size:9px;font-weight:900;letter-spacing:1.1px}
.em-connection-item code{min-width:0;overflow-wrap:anywhere;color:#fff;font-size:12px;font-weight:800}
.em-connection-item .btn{white-space:nowrap;padding:7px 9px;font-size:9px}
.em-match-team-layout{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr)!important;align-items:stretch!important;margin-top:15px!important}
.matchview .team-column{min-height:250px;background:linear-gradient(180deg,#140e10,#0b090a);border-color:#39242a}
.matchview .team-tag.t,.matchview .team-tag.ct{width:34px;height:34px;border-radius:10px;background:#281117;color:#ff8795;border:1px solid #63303a;font-size:16px}
.matchview .team-tag.ct{background:#171015;color:#ffb2bb}
.matchview .team-head b{color:#fff;letter-spacing:.8px}
.em-live-player{grid-template-columns:9px minmax(0,1fr) auto auto!important;gap:9px!important;align-items:center}
.em-player-ready{padding:4px 6px;border-radius:6px;border:1px solid #4c3b2a;background:#1a140d;color:#d6b47c;font-size:8px;font-weight:900;letter-spacing:.4px}
.em-player-ready.ready{border-color:#245538;background:#0e1d13;color:#7ee0a1}
.matchview .player i{font-size:9px;font-style:normal}
.matchview .match-bottom{background:linear-gradient(90deg,#170e11,#0b090a);border-color:#4a252d}
.matchview .match-actions{flex-wrap:wrap;justify-content:flex-end}
.matchview #acceptBtn{background:linear-gradient(135deg,#ef243e,#9d101f);border-color:#fc4a5e;min-width:135px}
.matchview #connectBtn{background:linear-gradient(135deg,#a51629,#5a0b17);border-color:#b93648}
.matchview .round-state{color:#ff9aa5}
.matchview .join-progress-wrap{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px;font-size:10px;color:#a8959a}
.matchview .join-countdown{color:#ff9aa5}
@media(max-width:900px){.em-connection-grid{grid-template-columns:1fr}.em-match-team-layout{grid-template-columns:1fr!important}.em-match-team-layout .vs{padding:2px}.em-connection-heading{align-items:flex-start;flex-direction:column}.matchview .match-title-row{align-items:flex-start;flex-direction:column}.matchview .server-box{width:100%;text-align:left}.matchview .match-bottom{align-items:flex-start;flex-direction:column}.matchview .match-actions{width:100%;justify-content:flex-start}}
@media(max-width:520px){body.match-screen-active .match-shell{padding:12px}.matchview .match-title-row h1{font-size:29px}.matchview .match-scoreboard{gap:7px;flex-wrap:wrap}.matchview .match-scoreboard b{min-width:34px;height:34px;font-size:19px}.em-connection-item{grid-template-columns:1fr}.em-connection-item>span{grid-column:auto}.em-connection-item .btn{justify-self:start}}

.em-mixmod-hint{margin:9px 0 14px;color:#bba8ad;font-size:11px;line-height:1.65;font-weight:650}
body.lang-fa .em-mixmod-hint{direction:rtl;text-align:right}


/* Eagle Match 5.13.31 — clear team roster and end-of-match scoreboard */
.matchview .match-hero{position:relative;overflow:hidden}
.matchview .match-hero:after{content:"";position:absolute;inset:auto -8% -70% 38%;height:220px;pointer-events:none;background:radial-gradient(ellipse,rgba(239,36,62,.13),transparent 68%)}
.matchview .match-layout{align-items:stretch!important}
.matchview .team-column{min-width:0;overflow:hidden}
.matchview .team-head{padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.07)}
.matchview .team-head small{font-variant-numeric:tabular-nums;letter-spacing:.6px}
.matchview .em-live-player{grid-template-columns:8px 38px minmax(0,1fr) auto auto!important;gap:10px!important;min-height:58px;padding:9px 10px!important}
.matchview .em-live-avatar,.matchview .em-live-avatar-fallback{width:36px;height:36px;min-width:36px;border-radius:10px;object-fit:cover;background:#1a1417;border:1px solid #49323a}
.matchview .em-live-avatar-fallback{display:grid;place-items:center;color:#ffc1c9;font-weight:950}
.matchview .player-identity{min-width:0}
.matchview .player-identity strong{display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff;font-size:12px;font-weight:900}
.matchview .player-identity small{display:block;margin-top:4px;color:#897b80;font-size:9px;letter-spacing:.7px}
.matchview .em-live-badge{width:17px;height:17px;object-fit:contain;vertical-align:middle;flex:0 0 auto}
.matchview .em-player-kd{display:flex;align-items:center;gap:5px}
.matchview .em-player-kd span{display:flex;align-items:center;gap:4px;min-width:39px;justify-content:center;padding:5px 6px;border:1px solid #38282e;border-radius:7px;background:#100c0e;color:#fff;font-size:11px;font-variant-numeric:tabular-nums}
.matchview .em-player-kd i{font-style:normal;color:#9d7e86;font-size:8px;font-weight:950}
.matchview .em-player-kd b{font-size:11px}
.matchview .em-player-state{display:flex;align-items:flex-end;flex-direction:column;gap:5px;min-width:66px}
.matchview .em-player-state>i{font-size:8px;font-style:normal;font-weight:900;letter-spacing:.6px;color:#829096;white-space:nowrap}
.matchview .em-live-player.joined .em-player-state>i{color:#73d9a2}
.matchview .em-player-ready{font-size:8px;white-space:nowrap}
.em-match-result{position:relative;z-index:2;display:grid;grid-template-columns:minmax(220px,.8fr) minmax(200px,.55fr) minmax(320px,1.4fr);gap:14px;margin-top:18px;padding:14px;border:1px solid #4e2932;border-radius:18px;background:linear-gradient(145deg,rgba(25,15,19,.98),rgba(9,9,11,.99));box-shadow:0 22px 65px rgba(0,0,0,.35),0 0 35px rgba(239,36,62,.07)}
.em-match-result.hidden{display:none!important}
.em-result-hero{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-height:180px;padding:20px;border:1px solid #5a2c37;border-radius:14px;background:radial-gradient(circle at 100% 0,rgba(255,51,72,.24),transparent 48%),linear-gradient(135deg,#241117,#110d10)}
.em-result-kicker,.em-result-mvp-kicker{color:#ff7585;font-size:9px;font-weight:1000;letter-spacing:2px}
.em-result-hero h2{margin:10px 0 5px;color:#fff;font-size:clamp(22px,3vw,32px);line-height:1.05;letter-spacing:-.7px}
.em-result-hero p{margin:0;color:#a99198;font-size:10px;font-weight:850;letter-spacing:1px}
.em-result-score{margin-top:18px;padding:9px 14px;border:1px solid #63303b;border-radius:10px;background:#0a080a;color:#fff;font-size:30px;font-weight:1000;letter-spacing:2px;font-variant-numeric:tabular-nums}
.em-result-mvp{display:flex;flex-direction:column;justify-content:center;gap:8px;min-height:180px;padding:18px;border:1px solid #3a2e31;border-radius:14px;background:linear-gradient(145deg,#171315,#0e0c0e)}
.em-result-mvp strong{color:#fff;font-size:21px;line-height:1.15;overflow-wrap:anywhere}
.em-result-mvp>span:last-child{color:#a9989d;font-size:10px;font-weight:850;letter-spacing:.7px}
.em-result-table-wrap{min-width:0;padding:15px;border:1px solid #35262c;border-radius:14px;background:#0c0a0c}
.em-result-table-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.em-result-table-head h3{margin:4px 0 0;color:#fff;font-size:14px;letter-spacing:.7px}
.em-result-live-tag{color:#a68b92;font-size:8px;font-weight:950;letter-spacing:1.2px;white-space:nowrap}
.em-result-table-scroll{max-height:260px;overflow:auto}
.em-result-table{width:100%;border-collapse:separate;border-spacing:0 4px;font-variant-numeric:tabular-nums}
.em-result-table th{padding:6px 8px;color:#8f7c82;font-size:8px;text-align:right;letter-spacing:1px}
.em-result-table th:first-child{text-align:left}
.em-result-table td{padding:8px;background:#151013;color:#f3e9ec;font-size:11px;text-align:right}
.em-result-table td:first-child{display:flex;align-items:center;gap:8px;text-align:left;border-radius:8px 0 0 8px}
.em-result-table td:last-child{border-radius:0 8px 8px 0}
.em-result-table td strong{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.em-result-table td:not(:first-child){font-weight:950}
.em-result-table tr.is-winning-team td{background:linear-gradient(90deg,#1c1910,#17120e);color:#ffe0a0}
.em-result-player-team{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;font-size:9px;font-weight:1000}
.em-result-player-team.team-t{border:1px solid #69313c;background:#2a1118;color:#ff96a3}
.em-result-player-team.team-ct{border:1px solid #3d5269;background:#101c29;color:#abd6ff}
.em-result-empty{padding:18px!important;color:#927f85!important;text-align:center!important}
.em-result-actions{grid-column:1/-1;display:flex;justify-content:flex-end;padding-top:2px}
.em-result-actions .btn{min-width:190px;min-height:42px;font-weight:950;letter-spacing:.5px}
@media(max-width:1000px){.em-match-result{grid-template-columns:1fr 1fr}.em-result-table-wrap{grid-column:1/-1}}
@media(max-width:700px){.matchview .em-live-player{grid-template-columns:7px 32px minmax(0,1fr) auto!important;gap:7px!important;padding:8px!important}.matchview .em-live-avatar,.matchview .em-live-avatar-fallback{width:31px;height:31px;min-width:31px}.matchview .em-player-state{grid-column:3/-1;flex-direction:row;align-items:center;justify-content:flex-start}.matchview .em-player-kd{grid-column:4;grid-row:1/3}.em-match-result{grid-template-columns:1fr}.em-result-table-wrap{grid-column:auto}.em-result-hero,.em-result-mvp{min-height:140px}.em-result-actions .btn{width:100%}}
@media(max-width:420px){.matchview .em-player-kd span{min-width:31px;padding:4px}.matchview .player-identity strong{font-size:10px}.em-result-table td strong{max-width:115px}}
