/* Web adaptation of CS2's native centered scoreboard layout. */
.player-key{font:10px Arial,sans-serif;color:var(--team);background:#ffffff0b;border:1px solid #ffffff2a;border-radius:2px;min-width:17px;text-align:center;padding:2px 3px}.player-top .player-name{flex:1}
#tab-scoreboard{position:absolute;inset:0;z-index:25;display:flex;align-items:center;justify-content:center;padding:18px;background:#050a1055;backdrop-filter:blur(5px)}
#tab-scoreboard[hidden]{display:none!important}
.sb-main{width:min(1080px,100%);max-height:100%;overflow:auto;border-radius:5px;padding:20px 22px 12px;background:radial-gradient(ellipse at top,#1d2931e8,#080b0df2 70%);box-shadow:0 18px 90px #000a;color:#dbdedf;font-family:Arial,sans-serif;font-variant-numeric:tabular-nums}
.sb-meta{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ffffff24;padding:0 0 12px;font-size:18px;font-stretch:condensed;letter-spacing:.6px}.sb-meta strong{font-weight:500}.sb-meta strong span{color:#a5acb0}.sb-match-time{color:#b1b9bd;font-size:18px}.sb-server{display:flex;justify-content:space-between;color:#89949a;font-size:10px;letter-spacing:1.2px;padding:9px 0 10px}.sb-round{color:#c4c8ca}
.sb-team{--sb-team:#9ac7e9;margin-bottom:17px}.sb-t{--sb-team:#e3c686}.sb-team-header{display:flex;align-items:center;gap:17px;padding:8px 12px;color:var(--sb-team);background:linear-gradient(90deg,#719fc21c,transparent);border-bottom:1px solid #a0bdd532}.sb-t .sb-team-header{background:linear-gradient(90deg,#b59c5820,transparent);border-color:#cfb97932}.sb-score{font-size:47px;line-height:1;min-width:48px;text-align:center;font-weight:500}.sb-team-header>div{display:flex;flex-direction:column;gap:4px}.sb-team-name{font-size:20px;font-weight:500}.sb-team-header small{font-size:9px;letter-spacing:2px;opacity:.65}.sb-alive{margin-left:auto;font-size:9px;letter-spacing:1px;opacity:.6}
.sb-team table{width:100%;border-collapse:collapse;table-layout:fixed}.sb-team th{font-size:10px;font-weight:400;color:#909b9f;padding:9px 2px 7px;white-space:nowrap}.sb-team td{text-align:center;height:43px;font-size:14px;padding:3px 2px;background:#ffffff04;border-bottom:1px solid #ffffff05}.sb-team th:not(.sb-player),.sb-team td:not(.sb-player){width:52px}.sb-team th.sb-bind,.sb-team td.sb-bind{width:31px}.sb-team th.sb-money,.sb-team td[data-stat=money]{width:68px}.sb-team .sb-player{text-align:left;width:auto;min-width:120px}.sb-team tr:nth-child(even) td{background:#ffffff08}.sb-team tr.sb-selected td{background:#ffffff1c;box-shadow:inset 0 1px #ffffff19,inset 0 -1px #ffffff19}.sb-team tr:hover td{background:#ffffff13}.sb-team td[data-stat=money]{color:#aed394;font-size:12px}.sb-team td[data-stat=score]{font-weight:bold;background:#ffffff0d}.sb-team td[data-stat=ping]{font-size:11px;color:#929da2}.sb-team .sb-player button{border:0;border-radius:0;background:none;width:100%;padding:0;display:flex;align-items:center;gap:9px;text-align:left;height:36px}.sb-player button:hover{background:none}.sb-name{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sb-team);flex:1}.sb-life{font-size:10px;color:var(--sb-team)}.sb-dead .sb-life{font-size:19px;color:#858a8b}.sb-dead .sb-name{opacity:.45}.sb-weapon{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#acb3b5}.sb-team .utility{gap:0;max-width:68px;overflow:hidden}.sb-team .util img{width:14px;height:17px}.sb-team .util.none{display:none}.sb-main kbd{font:10px Arial,sans-serif;border:1px solid #ffffff30;border-radius:2px;background:#ffffff08;padding:2px 4px;color:#afb9bd}.sb-main footer{display:flex;justify-content:space-between;font-size:10px;color:#8b969c;padding:6px 0 0;gap:10px}
@media(max-width:1000px){.sb-main{padding:14px 12px 10px}.sb-team th:not(.sb-player),.sb-team td:not(.sb-player){width:40px}.sb-team .sb-weapon,.sb-team .utility{display:none}.sb-team-name{font-size:17px}.sb-team td{font-size:12px}}
@media(max-width:650px){#tab-scoreboard{padding:5px}.sb-team th:not(.sb-player),.sb-team td:not(.sb-player){width:30px;font-size:9px}.sb-team th.sb-money,.sb-team td[data-stat=money]{width:53px}.sb-name{font-size:11px}.sb-alive{display:none}.sb-meta{font-size:12px}.sb-main footer{font-size:8px}.sb-score{font-size:35px}.sb-team td{height:32px}.sb-team{margin-bottom:10px}}

.sb-history{display:flex;gap:3px;justify-content:center;margin:2px 0 13px}.sb-round-cell{width:25px;height:21px;display:grid;place-items:center;font-size:10px;color:#78838b;background:#ffffff05;border-bottom:2px solid #ffffff14}.sb-round-ct{color:#abd4ef;background:#74a3c529;border-color:#91c0e0}.sb-round-t{color:#ead194;background:#bb9b432b;border-color:#d5b96c}.sb-current-round{color:#fff;border-color:#fff;background:#ffffff20}@media(max-width:650px){.sb-history{gap:2px}.sb-round-cell{width:20px;font-size:8px}}
@media(max-height:850px){.sb-main{padding:12px 18px 9px}.sb-meta{padding-bottom:8px;font-size:16px}.sb-server{padding:7px 0;font-size:9px}.sb-history{margin:0 0 7px}.sb-team{margin-bottom:10px}.sb-team-header{padding:5px 12px}.sb-score{font-size:37px}.sb-team-name{font-size:17px}.sb-team-header small{font-size:8px}.sb-team td{height:32px;font-size:12px}.sb-team th{padding:6px 2px 5px}.sb-team .sb-player button{height:26px}.sb-name{font-size:13px}.sb-main footer{padding-top:2px;font-size:9px}}

