body.podium-live #hud,body.podium-live #lobby,body.demo-live #lobby{visibility:hidden}
body.podium-live #hud *{pointer-events:none!important}
#podium{position:fixed;inset:0;pointer-events:none;z-index:16;color:white;text-align:center;font:650 clamp(12px,1.68vh,20px)/1.2 system-ui,sans-serif}
#podium[hidden],#podium footer[hidden]{display:none}
#podium header{position:absolute;top:4%;width:100%;text-transform:uppercase}
#podium header div b{display:block}
#podium header small{letter-spacing:.26em;font-size:.8em;color:#bdf7f2}
#podium header div{display:flex;align-items:center;justify-content:center;gap:1em;margin-top:.28em}
#podium header b{font-size:clamp(23px,min(5.2vh,7vw),68px);font-weight:850;letter-spacing:.08em;color:#ffe29d;text-shadow:0 .09em .5em #132c46}
#podium header i{display:block;width:min(11vw,150px);height:2px;background:linear-gradient(90deg,transparent,#ffdc8b);transform:skew(-45deg)}
#podium header i:last-child{transform:scaleX(-1)}
#podium article{position:absolute;transform:translateX(-50%);border-top:2px solid var(--tone);padding:.85em .43em;background:linear-gradient(180deg,#071b2df3,#10233dbe);border-radius:6px}
#podium article:first-child{background:linear-gradient(165deg,#73512a,#342d29e6)}
#podium article i{display:grid;place-items:center;position:absolute;top:0;left:50%;transform:translate(-50%,-50%);background:var(--tone);color:#071d32;font-style:normal;font-size:.86em;font-weight:900;width:2.15em;height:1.6em;clip-path:polygon(0 50%,19% 0,81% 0,100% 50%,81% 100%,19% 100%)}
#podium article b{display:block;font-size:clamp(13px,1.28em,24px);line-height:1.15;overflow-wrap:anywhere}
#podium article span{display:block;margin-top:.27em;color:var(--tone);font-size:.78em}
#podium footer,#screenTest{display:flex;align-items:center;justify-content:center;gap:12px;position:absolute;bottom:2.6%;width:100%;font-variant-numeric:tabular-nums}
#podium footer button,#screenTest button,#screenTest select,#screenTest a{
 pointer-events:auto;display:inline-flex;align-items:center;padding:.64em .95em;background:#142c40;color:#e6faff;border:1px solid #96cdcb72;border-radius:8px;font:700 13px system-ui;box-shadow:none;text-decoration:none
}
#screenTest{z-index:19;gap:6px;flex-wrap:wrap}
#screenTest select{width:auto;max-width:min(43vw,190px);margin:0;min-height:auto}
body.demo-live:not(.podium-live) #screenTest{top:12px;left:12px;bottom:auto;width:auto;max-width:calc(100% - 24px)}
#screenTest button{background:#ffdc90;color:#0b2133}
@media(max-height:520px){
 #podium header{top:2%}
 #podium article{padding:.56em .25em}
 #podium article span{display:none}
 #podium footer,#screenTest{bottom:1.5%}
 #podium footer button,#screenTest button,#screenTest select,#screenTest a{font-size:11px;padding:.4em .75em}
}
@media(max-aspect-ratio:3/4){#podium header{top:15%}#podium article b{font-size:13px}#podium article span{font-size:11px}#podium footer{flex-direction:column}}
/* Match statistics between the winners and the best moments. */
body.stats-live #hud,body.stats-live #report{visibility:hidden}
body.stats-live #hud *{pointer-events:none!important}
#matchStats{position:fixed;inset:0;z-index:16;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(8px,1.6vh,18px);padding:3vh 4vw;color:#f4fbff;font:650 clamp(12px,1.55vh,17px)/1.25 system-ui,sans-serif;background:radial-gradient(ellipse at 50% 35%,#0b2a40e0,#04111ef2 70%);animation:ms-in .35s ease-out}
#matchStats[hidden]{display:none}
@keyframes ms-in{from{opacity:0;transform:scale(1.02)}}
#matchStats .ms-title{text-align:center}
#matchStats .ms-title small{display:block;letter-spacing:.28em;font-size:.8em;color:#9fe9ff;margin:0}
#matchStats .ms-title b{display:block;font:850 clamp(22px,4.2vh,48px)/1.1 system-ui;letter-spacing:.03em;color:#ffe29d;text-shadow:0 .08em .45em #0d2236;margin-top:.2em}
.ms-awards{display:flex;gap:clamp(8px,1.2vw,16px);justify-content:center;flex-wrap:wrap}
.ms-card{min-width:clamp(140px,15vw,220px);padding:10px 14px;border-radius:12px;background:linear-gradient(150deg,#163a52e6,#0a1f31e6);border:1px solid #ffffff2b;border-top:3px solid #ffd36b;text-align:center;animation:ms-card .5s ease-out backwards}
.ms-card:nth-child(2){animation-delay:.12s;border-top-color:#74ffdd}
.ms-card:nth-child(3){animation-delay:.24s;border-top-color:#ff9f7a}
.ms-card.me{box-shadow:0 0 0 2px #ffd36b88}
@keyframes ms-card{from{opacity:0;transform:translateY(10px)}}
.ms-card small{display:block;font-size:.75em;letter-spacing:.14em;text-transform:uppercase;color:#bcd8e6;margin:0}
.ms-card b{display:block;font-size:1.25em;margin:.25em 0 .1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ms-card span{color:#ffe29d;font-weight:850;font-size:1.1em}
.ms-table{width:min(880px,94vw);max-height:52vh;overflow:auto;border-radius:12px;background:#06182acc;border:1px solid #ffffff21;scrollbar-width:thin}
.ms-row{display:grid;grid-template-columns:minmax(120px,2.4fr) repeat(6,minmax(44px,1fr));align-items:center;gap:6px;padding:7px 14px;border-top:1px solid #ffffff12;text-align:center;font-variant-numeric:tabular-nums}
.ms-row>span{color:#e8f4fb}
.ms-head{position:sticky;top:0;background:#0b2234;border-top:0;font-size:.78em;letter-spacing:.1em;text-transform:uppercase;color:#9fc6d8}
.ms-head span{color:#9fc6d8}.ms-head span:first-child{text-align:left}
.ms-who{text-align:left;min-width:0}
.ms-who b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ms-who small{display:block;font-size:.75em;color:#9fb9c9;letter-spacing:.04em;margin:0}
.ms-row.team0 .ms-who b{color:#8fe9ff}.ms-row.team1 .ms-who b{color:#ffab8f}
.ms-row.me{background:linear-gradient(90deg,#ffd36b26,transparent)}
.ms-dmg{color:#ffe29d!important;font-weight:850}
#matchStats footer{display:flex;align-items:center;gap:14px;color:#bcd8e6}
#matchStats footer span{color:#bcd8e6}
#matchStats footer button{display:flex;align-items:center;gap:8px;pointer-events:auto;padding:8px 14px;border-radius:9px;background:#ffffff1a;border:1px solid #ffffff3d;color:white;font:700 13px system-ui}
#matchStats footer button b{font-size:10px;opacity:.75;border:1px solid #ffffff55;border-radius:4px;padding:1px 5px}
@media(max-width:640px){.ms-row{grid-template-columns:minmax(90px,2fr) repeat(6,minmax(30px,1fr));padding:6px 8px;gap:3px;font-size:11px}.ms-card{min-width:28vw;padding:7px 8px}}
@media(max-height:520px){.ms-table{max-height:44vh}.ms-card{padding:5px 10px}#matchStats{gap:6px}}
/* Statistics after the match: more columns, hit zones and the ready vote. */
#matchStats .ms-row{grid-template-columns:minmax(120px,2.2fr) repeat(3,minmax(38px,.7fr)) minmax(48px,.85fr) minmax(50px,.8fr) minmax(118px,1.9fr) minmax(46px,.75fr) minmax(36px,.6fr)}
#matchStats .ms-table{width:min(1040px,96vw)}
#matchStats .ms-taken{color:#ffb9a6}
#matchStats .ms-best{color:#9ff0dc;font-weight:800}
#matchStats .ms-zones{display:flex;flex-direction:column;align-items:stretch;gap:3px;min-width:0}
#matchStats .ms-head .ms-zones{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.04em}
#matchStats .ms-bar{display:flex;height:7px;border-radius:4px;overflow:hidden;background:#ffffff14}
#matchStats .ms-bar>span{display:block;height:100%}
#matchStats .ms-bar .zh{background:#ffd36b}#matchStats .ms-bar .zb{background:#5fe0c8}#matchStats .ms-bar .zl{background:#7aa6ff}
#matchStats .ms-zones em{font-style:normal;font-size:.78em;color:#bcd8e6;letter-spacing:.02em}
#matchStats footer{flex-wrap:wrap;justify-content:center}
#matchStats .ms-next{font-variant-numeric:tabular-nums;color:#e8f4fb}
#matchStats .ms-ready{color:#9ff0dc;font-weight:760}
#matchStats .ms-ready:empty{display:none}
#matchStats footer button.ms-go{background:#ffd36b;color:#132433;border-color:#ffe7a6;font-weight:850}
#matchStats footer button.ms-go b{border-color:#13243366;opacity:.8}
#matchStats footer button.ms-go.on{background:#ffffff1a;color:#fff;border-color:#ffffff3d}
#matchStats footer button.ms-go.on b{border-color:#ffffff55}
#matchStats footer button.ms-go:disabled{opacity:.6}
@media(max-width:820px){#matchStats .ms-row{grid-template-columns:minmax(92px,2fr) repeat(3,minmax(30px,.7fr)) minmax(40px,.8fr) minmax(70px,1.4fr) minmax(34px,.6fr) minmax(30px,.5fr)}#matchStats .ms-taken{display:none}}
@media(max-width:520px){#matchStats .ms-zones em{display:none}}
#matchStats footer button span{color:inherit}
