.matchnav[hidden]{display:none!important}.matchscreenheading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.matchscreenheading h1{font-size:23px;margin:0}.matchscreenheading>span{font-size:11px;color:#84b7aa}.matchgameplan{margin-bottom:16px;padding:16px 20px}.matchplanheading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.matchplanheading h2{margin:0}.matchplansteps{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:22px}.matchplansteps>div+div{border-left:1px solid #2c3a4a;padding-left:22px}.matchplansteps small{display:block;font-size:9px;letter-spacing:1px;color:#7d9eae;margin-bottom:7px}.matchplansteps b{font-size:13px}.matchplansteps p{font-size:12px;color:#b2c6d8;line-height:1.6;margin:5px 0 0}.matchbuildreference{margin-bottom:18px;padding:16px 20px}.matchbuildheading{display:flex;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}.matchbuildheading h2{margin:0 auto 0 0}.matchbuildheading select{font-size:12px;padding:7px}.matchbuildheading button{font-size:11px;padding:7px 11px}.matchbuildsets{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.matchbuildsets>div{padding:12px;background:#0d1722;border:1px solid #2b3b4b;border-radius:7px}.matchbuildsets b{font-size:12px;display:inline-block;margin:9px 10px 0 0;color:#87d7c0}.matchbuildsets small{font-size:10px;color:#8da1ba}.matchbuildreference>.note{margin:10px 0 0;font-size:10px}.matchteam{margin-top:18px}.matchteam>h2{font-size:12px;color:#80d8bf;margin-bottom:10px}.matchenemies>h2{color:#e9a0ae}.matchplayergrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.matchplayercard{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;min-height:210px;padding:13px;background-color:#152237;background-size:cover;background-position:center 20%;border:1px solid #344459;border-top:2px solid #4c9b87;border-radius:10px;text-align:center;overflow:hidden}.matchenemies .matchplayercard{border-top-color:#a56477}.matchplayercard.matchself{outline:1px solid #8acaa2;outline-offset:1px}.matchplayerrole{font-size:9px;color:#a6bbd3;min-height:14px;text-align:left}.matchplayeridentity{display:flex;flex-direction:column;align-items:center;gap:7px;margin:12px 0}.matchplayeridentity img{width:42px;height:42px;border-radius:50%;border:1px solid #8aa4b5}.matchplayeridentity b{font-size:13px;color:#edf5ff;overflow:hidden;text-overflow:ellipsis;max-width:100%}.matchplayeridentity small{font-size:9px;color:#9bb3cf}.matchplayercard>.tags{justify-content:center;min-height:22px}.matchplayercard .tag{font-size:8px;padding:3px 4px}.matchdamagemix{display:flex;gap:3px;margin-top:10px}.matchdamagemix>span{flex:1;padding:4px 2px;border-radius:4px;font-size:8px;border:1px solid #ffffff15}.mix0{background:#4a252e;color:#ffadba}.mix1{background:#242b50;color:#b2c0ff}.mix2{background:#333b46;color:#e1e8ef}@media(max-width:900px){.matchplansteps{gap:12px}.matchplansteps>div+div{padding-left:12px}.matchplayergrid{gap:7px}.matchplayercard{min-height:180px;padding:9px}.matchplayeridentity b{font-size:11px}.matchbuildsets{grid-template-columns:1fr}}@media(max-width:600px){.matchplansteps{grid-template-columns:1fr}.matchplansteps>div+div{border-left:0;padding:0}.matchplayergrid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.matchcommandtop{display:grid;grid-template-columns:1.65fr 1fr;gap:18px;align-items:stretch}.matchcommandtop>.panel{margin:0;min-height:290px;padding:24px}.matchbuildreference{background-size:cover;background-position:center 25%}.matchplansteps{display:flex;flex-direction:column;gap:14px}.matchplansteps>div+div{border:0;padding:0}.matchplayergrid{gap:22px}.matchteam{margin-top:28px}.matchteam>h2{margin-bottom:24px}.matchplayercard{position:relative;min-height:335px;padding:23px 18px 14px;border:1px solid #344459;border-radius:2px;overflow:visible;justify-content:flex-end;background-position:center 17%;text-align:center}.matchenemies .matchplayercard{border-top-color:#344459}.matchplayercard.matchself{outline:0;box-shadow:0 0 25px #54dfbd22}.matchrankframe{position:absolute;inset:-9px -7px -3px;width:calc(100% + 14px);height:calc(100% + 12px);pointer-events:none;z-index:2}.matchplayerrole{position:absolute;top:22px;left:18px;font-size:10px}.matchyou{position:absolute;top:21px;right:17px;font-size:9px;font-weight:700;color:#102f29;background:#80dabc;padding:3px 5px;border-radius:4px}.matchplayeridentity{margin:135px 0 0;gap:8px}.matchplayeridentity img,.matchiconempty{width:53px;height:53px;border:2px solid #bdd0da;border-radius:50%;object-fit:cover}.matchiconempty{display:grid;place-items:center;background:#142237;font-size:24px;color:#8ca8bd}.matchplayeridentity b{font-size:22px;line-height:1.2}.matchplayeridentity .tags{justify-content:center;gap:4px;flex-wrap:wrap}.matchplayeridentity .tag{font-size:10px;padding:4px 7px}.matchriotid{display:block;text-align:center;font-size:12px;color:#c5d4e5;border-top:1px solid #93b3ca22;margin-top:16px;padding-top:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:29px}@media(max-width:1050px){.matchcommandtop{grid-template-columns:1fr}.matchplayergrid{gap:15px}.matchplayercard{padding-left:10px;padding-right:10px}.matchplayeridentity b{font-size:18px}}@media(max-width:600px){.matchplayergrid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Uniform loading-screen cards: content never changes portrait dimensions. */
.matchplayergrid{grid-template-columns:repeat(5,210px);gap:22px;overflow-x:auto;padding:12px 8px 9px;justify-content:start}.matchplayercard{width:210px;height:367px;min-height:367px;max-height:367px;box-sizing:border-box;flex:none;padding:22px 16px 14px;background-size:cover;background-position:center top}.matchplayeridentity{position:absolute;left:14px;right:14px;bottom:60px;margin:0;gap:8px}.matchplayeridentity .tags{max-height:54px;overflow-y:auto;flex-shrink:0}.matchplayeridentity img,.matchiconempty{width:53px;height:53px;min-width:53px;min-height:53px;flex-shrink:0}.matchplayeridentity b{font-size:22px;max-width:100%;white-space:nowrap;text-overflow:ellipsis}.matchriotid{position:absolute;bottom:15px;left:16px;right:16px;margin:0}.matchrankframe{inset:-5px -4px -2px;width:calc(100% + 8px);height:calc(100% + 7px)}

.matchplayergrid{display:flex;justify-content:safe center;align-items:flex-start;gap:22px;overflow-x:auto}.matchplayergrid>.matchplayercard{flex:0 0 210px}

/* Team labels, frame edges and card content share one alignment system. */
.matchteam{max-width:1154px;margin:28px auto 0}.matchteam>h2{margin:0 0 16px;padding:0 8px}.matchplayergrid{justify-content:flex-start;padding:0 8px 8px;gap:22px}.matchplayercard{border:0;border-radius:9px;background-clip:padding-box;isolation:isolate}.matchrankframe{inset:0;width:100%;height:100%;object-fit:fill}.matchplayeridentity{bottom:59px;height:136px;display:grid;grid-template-rows:53px 27px 40px;gap:8px;justify-items:center;align-content:start;align-items:start}.matchplayeridentity>img,.matchplayeridentity>.matchiconempty{align-self:start}.matchplayeridentity>b{line-height:27px;display:block;width:100%;text-align:center}.matchplayeridentity>.tags{height:40px;max-height:40px;display:flex;justify-content:center;align-content:flex-start;align-items:flex-start;margin:0;width:100%}.matchriotid{bottom:15px;left:16px;right:16px;height:29px;min-height:29px;padding-top:10px;line-height:16px}.matchplayerrole{left:16px;top:20px}.matchyou{right:16px;top:20px}

.matchplayercard{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;padding:0;overflow:visible}.matchportraitart{position:absolute;inset:4.5% 3% 1.5%;background-size:cover;background-position:center top;border-radius:8px;z-index:-1;pointer-events:none}.matchrankframe{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;pointer-events:none;z-index:3}.matchplayergrid{width:100%;justify-content:safe center}.matchplayeridentity,.matchriotid,.matchplayerrole,.matchyou{z-index:4}
