.cb-site .competition-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.cb-site .competition-card-grid>article{min-width:0;border:1px solid #c7ced3;background:#fff;padding:14px;color:#263742}
.cb-site .competition-tournament-card header{display:flex;align-items:center;gap:10px}.cb-site .competition-tournament-card header span:last-child{margin-left:auto}
.cb-site .competition-card-grid dl{display:grid;grid-template-columns:1fr 1.3fr;gap:6px 12px}.cb-site .competition-card-grid dd{margin:0}
.cb-site .scoreboard-date{display:flex;align-items:end;gap:14px;padding:12px;flex-wrap:wrap}.cb-site .scoreboard-date label{display:grid;gap:5px}
.cb-site .competition-scoreboard table{width:100%}.cb-site .competition-scoreboard h3{margin:0 0 8px}.cb-site .competition-scoreboard details{margin-top:12px}
.cb-site .platform-expansion-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:16px}.cb-site .platform-expansion-grid>section{min-width:0}
.cb-site .case-timeline dd{margin:4px 0 12px;overflow-wrap:anywhere}.cb-site .case-timeline article{margin:12px 0}.cb-site .case-timeline pre{max-height:360px;overflow:auto}
@media(max-width:760px){.cb-site .competition-card-grid,.cb-site .platform-expansion-grid{grid-template-columns:1fr}.cb-site .competition-card-grid dl{grid-template-columns:1fr}.cb-site .competition-card-grid dd{margin-bottom:8px}}

.expansion-workspace form{display:grid;gap:14px;max-width:760px;padding:18px 0}.expansion-workspace label{display:grid;gap:6px;font-weight:600}.expansion-workspace input,.expansion-workspace select,.expansion-workspace textarea{padding:9px;border:1px solid #bfc7d1;border-radius:4px;min-width:0;max-width:100%}.expansion-workspace textarea{min-height:120px}.expansion-workspace details{margin:12px 0}.expansion-workspace button{margin:6px 8px 6px 0}.expansion-workspace article{padding:16px;margin:12px 0}.expansion-workspace pre{white-space:pre-wrap;overflow-wrap:anywhere}.playoff-roster{padding:12px;display:flex;gap:12px;flex-wrap:wrap}

.profile-public-friends{display:flex;flex-wrap:wrap;gap:12px}.profile-public-friends>a{display:grid;grid-template-rows:52px auto;width:80px;gap:6px;text-align:center;overflow-wrap:anywhere}.profile-public-friends>a img{max-width:52px;max-height:52px;justify-self:center}.profile-reference-lower .profile-comment-avatar{flex:0 0 40px;width:40px;height:40px}.profile-reference-lower .profile-comment{display:flex;gap:10px}

.cb-site .featured-team{display:flex;gap:14px;align-items:flex-start}.cb-site .featured-team-avatar{display:block;width:64px;height:64px;flex:0 0 64px;overflow:hidden;border:2px solid #ddd;border-radius:6px}.cb-site .featured-team-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}.cb-site .featured-team h3{margin-top:0}

.cb-site .team-public-tabs a[aria-current="page"]{background:linear-gradient(#b7e3f6,#75b4cf);color:#112c3b}.cb-site .team-feedback-row{display:flex;gap:12px;padding:12px;border-bottom:1px solid #436176}.cb-site .team-feedback-avatar{display:block;width:40px;height:40px;flex:0 0 40px;overflow:hidden}.cb-site .team-feedback-avatar img{width:100%;height:100%;object-fit:cover}.cb-site .team-feedback-row p{overflow-wrap:anywhere}.cb-site .team-history-paging{display:flex;align-items:center;gap:12px;padding:12px}

.cb-site .team-roster-reference{border:1px solid #3777a8;background:#192c39;padding:0 5px 5px}.cb-site .team-roster-reference .legacy-panel{margin:0 0 6px!important}.cb-site .team-roster-reference .legacy-panel:last-child{margin-bottom:0!important}.cb-site .reference-fidelity .reference-roster-table th{white-space:nowrap!important}.cb-site .reference-fidelity .reference-roster-table td a{color:#ddd!important;font-weight:bold!important;text-decoration:none!important}.cb-site .reference-roster-table td:first-child{width:24px}.cb-site .reference-roster-table .eligible{text-align:center}.cb-site .roster-gamertag{display:block;color:#aaa;font-size:10px}.cb-site .roster-reference-legend>div{display:flex;align-items:center;gap:5px;min-height:21px}.cb-site .roster-reference-legend img,.cb-site .reference-roster-table .eligible img{width:14px;height:14px;object-fit:contain}.cb-site .team-roster-reference .legacy-panel-head a{color:inherit;text-decoration:none}
.cb-site .team-roster-reference .legacy-panel-body{padding:0!important;border:0!important}.cb-site .team-roster-reference .legacy-panel-head{height:23px!important;min-height:23px!important;line-height:23px!important;padding:0!important}.cb-site .team-roster-reference .legacy-panel-head a{color:#eee!important}.cb-site .team-roster-reference .roster-legend-panel .legacy-panel-body{padding:8px 10px!important}
.cb-site .team-match-history-reference{border:1px solid #3777a8;border-top:0;padding:0 5px 5px;background:#192c39}.cb-site .team-match-history-reference .team-matches-table{margin:0!important;width:100%!important}.cb-site .reference-fidelity .team-match-history-reference th,.cb-site .reference-fidelity .team-match-history-reference td{white-space:nowrap!important;padding:2px 6px!important}.cb-site .reference-fidelity .team-match-history-reference td a{font-weight:bold!important;text-decoration:underline!important}.cb-site .team-match-history-reference td:nth-child(n+5),.cb-site .team-match-history-reference th:nth-child(n+5){text-align:center!important}.cb-site .reference-fidelity .team-match-history-reference td.team-result-win{color:#00d000!important;font-weight:bold!important}.cb-site .reference-fidelity .team-match-history-reference td.team-result-loss{color:red!important;font-weight:bold!important}.cb-site .team-match-history-reference td:last-child a{display:inline-flex;align-items:center;justify-content:center}
.cb-site .classic-match-flow .match-player-tables{padding:0 6px 6px}.cb-site .classic-match-flow .match-player-tables .match-roster-block{margin:0;border:0}.cb-site .classic-match-flow .match-player-tables h3{margin:0;padding:6px;background:linear-gradient(#555,#151515);font-size:13px}.cb-site .classic-match-flow .match-player-tables table{width:100%;border-collapse:collapse}.cb-site .classic-match-flow .match-player-tables td,.cb-site .classic-match-flow .match-player-tables th{padding:5px 6px;text-align:left}.cb-site .classic-match-flow .match-player-tables td:first-child{width:20px}.cb-site .classic-match-flow .match-player-tables tr:nth-child(even){background:#313131}.cb-site .classic-match-flow .report-match-rating textarea{width:100%}.cb-site .classic-match-flow .match-operations .form-message{margin:8px 0;padding:8px;overflow-wrap:anywhere}

.cb-site .team-titlebar .match-header-status{margin-left:auto;color:#ff0;font-size:11px}

/* Match report reference: flat player rows and readable rating choices. */
.cb-site .classic-match-flow .classic-score-entry .report-match-rating .score-field select{width:200px!important;min-width:180px;max-width:100%}
.cb-site .classic-match-flow .match-roster-block{border:0!important;border-bottom:1px solid #999!important}
.cb-site .classic-match-flow .match-roster-block th{background:#d9d9d9!important;color:#333;border:0!important}
.cb-site .classic-match-flow .match-roster-block td{background:#f3f3f3!important;color:#444;border:0!important}
.cb-site .classic-match-flow .match-roster-block tr:nth-child(even) td{background:#e9e9e9!important}
.cb-site .classic-match-flow .match-roster-block td a{color:#176b9b}
.cb-site .classic-match-flow .match-report-notices:empty{display:none}
.cb-site .classic-match-flow .match-report-notices{margin:6px}

.cb-site .classic-match-flow .match-roster-block table{table-layout:fixed}
.cb-site .classic-match-flow .match-roster-block th:first-child{width:20px}
.cb-site .classic-match-flow .match-roster-block th:nth-child(2){width:38%}
.cb-site .classic-match-flow .match-roster-block th:nth-child(3){width:25%}

.cb-site .team-edit-form input:not([type=checkbox]):not([type=radio]),.cb-site .team-edit-form textarea,.cb-site .team-edit-form select{background:#fff!important;color:#222!important}
.cb-site .team-edit-form input::placeholder,.cb-site .team-edit-form textarea::placeholder{color:#777!important;opacity:1}

/* Credit wallet shares the account shell and keeps its styles within that shell. */
html body .cb-site .wallet-workspace{min-height:360px}
html body .cb-site .wallet-workspace>h1{margin:0 0 12px;font-size:18px}
html body .cb-site .wallet-workspace .wallet-balances{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
html body .cb-site .wallet-workspace .wallet-balances>article{padding:16px;border:1px solid #397ca3;background:linear-gradient(#112935,#283238);color:#d6e4eb}
html body .cb-site .wallet-workspace .wallet-balances h2{margin:0 0 10px;color:#63b9e3;font-size:12px}
html body .cb-site .wallet-workspace .wallet-balances strong{font-size:20px;color:#fff}
html body .cb-site .wallet-workspace .record-v3-card{margin:10px 0;padding:12px;border:1px solid #397ca3;background:#29353b;color:#d6e4eb}
html body .cb-site .wallet-workspace :is(.wallet-help,label){line-height:1.6;color:#c5d6e0}
html body .cb-site .wallet-workspace .wallet-history{border:1px solid #397ca3;overflow:auto}
html body .cb-site .wallet-workspace .wallet-history td{padding:9px;overflow-wrap:anywhere}
html body .cb-site .wallet-workspace nav[aria-label="Wallet pages"]{display:flex;gap:8px;margin:12px 0}
html body .cb-site .wallet-workspace button{padding:5px 12px;cursor:pointer}
.tournament-finance-workspace{color:#d8e5ec}.tournament-finance-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:16px 0}.tournament-finance-steps{display:flex;list-style:none;padding:0;gap:8px;flex-wrap:wrap}.tournament-finance-steps li{flex:1;min-width:110px;padding:12px;background:#102b3b;border:1px solid #376479}.tournament-finance-steps b{display:block;color:#7bd4ff;margin-bottom:6px}.tournament-finance-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.tournament-finance-card{background:linear-gradient(#193847,#102630);border:1px solid #376479;padding:18px;margin:16px 0}.tournament-finance-card label,.tournament-finance-search label{display:flex;flex-direction:column;gap:8px;margin:10px 0}.tournament-finance-card input,.tournament-finance-search input{padding:8px}.tournament-finance-table{overflow:auto}.tournament-finance-table table{width:100%;border-collapse:collapse}.tournament-finance-table td,.tournament-finance-table th{padding:12px;text-align:left;border-bottom:1px solid #376479}.tournament-finance-table small{display:block;color:#a5bac6;margin-top:4px}.tournament-finance-notice{padding:12px;border-left:3px solid #6fc8f1;background:#163345}.tournament-reward-form details{padding:12px 0;border-top:1px solid #376479}
.rewards-workspace .reward-source-links,.rewards-workspace .reward-source-choices{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.rewards-workspace .reward-source-choices button[aria-pressed=true]{background:#286887;border-color:#8bd5fb;color:white}.rewards-workspace .reward-source-results{max-height:320px;overflow:auto;margin:16px 0;border:1px solid #376479}.rewards-workspace .reward-source-results label{display:flex;flex-direction:row;align-items:center;padding:10px;margin:0;border-bottom:1px solid #294654}.rewards-workspace .reward-source-results input{width:auto}.rewards-workspace .reward-source-results small{display:block;color:#96b4c4;margin-top:3px}.rewards-workspace .reward-rule{padding:16px;border:1px solid #376479;margin:16px 0}.rewards-workspace label{display:flex;flex-direction:column;gap:6px;margin:12px 0}.rewards-workspace input,.rewards-workspace select,.rewards-workspace textarea{padding:8px;max-width:100%}.rewards-workspace .reward-rule input{width:100%}


/* Keep the tournament name beside its logos and registration status. */
html body .cb-site .competition-tournament-card header{flex-wrap:nowrap}
html body .cb-site .competition-tournament-card header h2{flex:1;min-width:0;margin:0!important;overflow-wrap:anywhere}
html body .cb-site .competition-tournament-card header>span:last-child{flex-shrink:0}
