/* October refinements: compact identities, independent search overlays and opaque headers. */
.team-editor-picker{position:relative;min-width:0}.team-editor-results{position:absolute;inset:100% 0 auto;z-index:10;max-height:250px;overflow:auto;padding:6px;background:#132335;border:1px solid #496684;border-radius:10px;box-shadow:0 16px 32px #0008}.team-editor-results button{display:block;width:100%;padding:10px 12px;text-align:left;background:none;color:#e5f3ff;border:0;border-radius:6px;cursor:pointer}.team-editor-results button:hover,.team-editor-results button:focus-visible{background:#29425d}.team-editor-selected{margin:12px 0;min-height:30px}.team-editor-selected small{color:#9fb6cc}
.team-logo-framing-dialog{width:min(460px,calc(100vw - 36px));box-sizing:border-box;padding:22px;border:1px solid #486683;border-radius:14px;background:#101c2a;color:#e8f3ff}.team-logo-framing-dialog::backdrop{background:#0009}.team-logo-preview{width:200px;height:200px;margin:20px auto;overflow:hidden;border-radius:12px;border:1px solid #486683}.team-logo-preview .profile-media-frame{width:100%;height:100%}.team-logo-framing-dialog footer{display:flex;justify-content:flex-end;gap:10px}.team-logo-framing-dialog p{color:#9eb6cd;font-size:.78rem;line-height:1.5}
:is(.team-clan-mark,.clan-dossier-logo,.clan-hover-logo,.affiliation-logo,.insight-small-logo,.clan-elo-logo,.home-elo-list span)>.profile-media-frame{display:block;width:100%;height:100%;position:relative;overflow:hidden}
.membership-history-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px}.membership-history-pagination span{font-size:.75rem;color:#a7c1db}
#officialClanWarsArchive .has-player-milestones .clan-war-main-stack{display:contents}
#officialClanWarsArchive .has-player-milestones .clan-war-ladder-panel{grid-column:1;grid-row:1}
#officialClanWarsArchive .has-player-milestones .clan-war-top-brief{grid-column:1;grid-row:2}
#officialClanWarsArchive .has-player-milestones>aside.clan-war-records-card{grid-column:2;grid-row:1}
#officialClanWarsArchive .has-player-milestones>.player-milestones{grid-column:2;grid-row:2}
#community-clan-warsPage .ccw-filter-dates{border-top:0;padding-top:0;grid-column:1/-1!important}
#community-clan-warsPage .ccw-filter-dates>div{display:flex;gap:12px;align-items:end;margin:0;padding:0;max-width:650px}
#community-clan-warsPage .ccw-filter-dates label{flex:1;min-width:0}#community-clan-warsPage .ccw-filter-dates label small{display:inline;color:#a2b7cd;text-transform:none;font-weight:400}
#community-clan-warsPage .ccw-average-minimum{padding:10px 18px;margin:0;background:#162c37;color:#c1dfba;border-bottom:1px solid #365161;font-size:.75rem;line-height:1.5}
#community-clan-warsPage .ccw-formation-context{padding-top:8px;border-top:1px solid #304457;margin-top:10px!important;white-space:normal}
#community-clan-warsPage .ccw-formation-context>span{color:#c2d6eb;font-weight:700;margin-right:6px}
#community-clan-warsPage .ccw-formation-identity{gap:10px 22px!important}
#community-clan-warsPage .ccw-formation-individual :is(th,td){padding-inline:12px}
@media(max-width:850px){#officialClanWarsArchive .has-player-milestones :is(.clan-war-ladder-panel,.clan-war-top-brief,.clan-war-records-card){grid-column:1!important;grid-row:auto!important}#community-clan-warsPage .ccw-filter-dates>div{flex-wrap:wrap}.membership-history-pagination{flex-wrap:wrap}}
.rating-player-identity.name-style-neon .card-name-label,.directory-player-identity.name-style-neon .card-name-label,.player-display-name.name-style-neon{color:#82f8ff;text-shadow:0 0 9px #82f8ff88}
.rating-player-identity.name-style-gold .card-name-label,.directory-player-identity.name-style-gold .card-name-label,.player-display-name.name-style-gold{color:#ffe18a;text-shadow:0 0 9px #ffcc5273}
.rating-player-identity.name-style-violet .card-name-label,.directory-player-identity.name-style-violet .card-name-label,.player-display-name.name-style-violet{color:#d2b5ff;text-shadow:0 0 9px #a068ff80}
.rating-player-identity.name-style-ocean .card-name-label,.directory-player-identity.name-style-ocean .card-name-label,.player-display-name.name-style-ocean{color:#8cdfff;text-shadow:0 0 9px #50c2ff80}
.rating-player-identity.name-style-ember .card-name-label,.directory-player-identity.name-style-ember .card-name-label,.player-display-name.name-style-ember{color:#ffb084;text-shadow:0 0 9px #ff6e4c80}
#homePage .home-panel:has(#homeKills),#homePage .home-clan-war-overview{min-width:0;align-self:stretch;display:flex;flex-direction:column;padding:18px}
#homePage .home-panel:has(#homeKills) .home-kills-scroll{height:min(685px,calc(10 * 64px + 9 * 5px));max-height:min(685px,calc(10 * 64px + 9 * 5px));min-height:0;overflow-x:hidden;overflow-y:auto;padding-right:6px;grid-template-columns:minmax(0,1fr);grid-auto-rows:64px;gap:5px;scrollbar-width:thin;overscroll-behavior:contain;align-content:start}
#homePage #homeKills .home-kill-row{box-sizing:border-box;height:64px;min-height:0;padding:6px 8px}
#homePage .home-clan-war-overview .home-clan-war-grid{min-height:0;max-height:685px;overflow-x:hidden;overflow-y:auto;padding-right:6px;scrollbar-width:thin;scrollbar-color:#526078 #0e141f;overscroll-behavior:contain}
#homePage .home-community-grid{align-items:stretch}
#homePage .visitors-panel{min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden}
#homePage .visitors-panel .home-panel-head{flex:0 0 auto;flex-wrap:wrap;gap:8px}
#homePage .visitors-panel .home-panel-head h2{white-space:nowrap}
#homePage .recent-visitors{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#526078 #0e141f;overscroll-behavior:contain;padding-right:5px}
#homePage .visitor-row{flex:0 0 auto;min-width:0}
@media(max-width:900px){#homePage .recent-visitors{flex-basis:auto;max-height:330px}}
#homePage .shoutbox-panel{min-width:0;min-height:0;max-height:none;overflow:visible}
#homePage .home-chat-messages{height:338px;min-height:180px;max-height:338px;overflow-y:auto;flex:0 1 338px}
#homePage #homeShoutboxForm{flex:0 0 auto;min-height:42px;margin-top:10px}
.member-directory-pages{display:flex;align-items:center;justify-content:center;gap:12px;margin:20px 0}
.member-directory-pages span{color:#9bacc2;font-size:.8rem}
.member-master-link{display:grid;gap:12px;margin-top:18px;padding:20px;border:1px solid #36546e;border-radius:14px;background:#111e2c}
.member-master-link h3,.member-master-link p{margin:0}
.member-master-link>.field{max-width:520px}
.member-master-results{display:grid;gap:4px;max-width:520px;max-height:220px;overflow-y:auto}
.member-master-results button{padding:9px 12px;border:1px solid #34506b;border-radius:8px;color:#dce9f7;background:#15283a;text-align:left;cursor:pointer}
.member-master-link>button{justify-self:start}
body.route-pending #rankingView,body.route-pending #fullProfileView{visibility:hidden}
#routeBootMessage{display:none}
#sessionRestoreStatus{display:none;color:#aabed3;font-size:.8rem;padding:8px 12px}
body.auth-pending #sessionRestoreStatus{display:block}
body.auth-pending #openLogin,body.auth-pending #openRegister,body.auth-pending #accountMenu{display:none!important}
body.route-pending #routeBootMessage{display:flex;align-items:center;justify-content:center;min-height:45vh;color:#d7ff4f;font:700 1rem 'Space Grotesk',sans-serif}
/* Keep the locally rendered page visible while auth/archive requests resolve. */
body.route-pending #routeBootMessage{position:fixed;inset:auto 18px 18px auto;z-index:1200;min-height:0;padding:9px 13px;border:1px solid #35516a;border-radius:999px;background:#111d2beF;color:#c8d8e8;font:600 .76rem 'DM Sans',sans-serif;box-shadow:0 8px 24px #0006;pointer-events:none}
.claim-profile-prompt{width:min(440px,calc(100vw - 28px));padding:27px;border:1px solid #526c63;border-radius:18px;color:#e7f1f1;background:linear-gradient(145deg,#172b30,#101927 70%);box-shadow:0 24px 70px #000a}
.claim-profile-prompt::backdrop{background:#050b16bb;backdrop-filter:blur(3px)}
.claim-profile-prompt h2{margin:12px 0 8px;font:700 1.45rem 'Space Grotesk',sans-serif}
.claim-profile-prompt p{margin:0;color:#b7c7d0;line-height:1.55;font-size:.85rem}
.claim-prompt-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;color:#d7ff4f;background:#294136}
.claim-prompt-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
#community-clan-warsPage .ccw-filter-search-pair{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
#community-clan-warsPage .ccw-filter-search-pair>.field{min-width:0;margin:0;grid-column:auto}
#community-clan-warsPage .ccw-comparison-pickers{align-items:start;overflow:visible}
#community-clan-warsPage .ccw-comparison-pickers>.ccw-compare-picker{min-width:0;background:none;border:0;border-radius:0;padding:0;align-self:start;overflow:visible}
#community-clan-warsPage .ccw-search-anchor{position:relative;min-width:0}
#community-clan-warsPage .ccw-search-anchor>.field{margin:0}
#community-clan-warsPage .ccw-search-anchor>.ccw-compare-results{position:absolute;top:100%;left:0;right:0;z-index:35;margin-top:6px;max-height:260px;overflow:auto;background:#101c2a;border:1px solid #45627f;border-radius:10px;box-shadow:0 16px 32px #0008}
#community-clan-warsPage .ccw-selected-identity{display:block;margin-top:8px;padding:10px 12px;border:1px solid #2d4057;border-radius:9px;background:#142133;min-height:38px;box-sizing:border-box}
#community-clan-warsPage .is-duos [data-compare-player-slot=A] .ccw-selected-identity,#community-clan-warsPage .is-duos [data-compare-player-slot=B] .ccw-selected-identity{border-color:#3a799d}
#community-clan-warsPage .is-duos [data-compare-player-slot=C] .ccw-selected-identity,#community-clan-warsPage .is-duos [data-compare-player-slot=D] .ccw-selected-identity{border-color:#785c9e}
#community-clan-warsPage .ccw-formation-individual{width:100%;table-layout:fixed;min-width:1020px!important}
#community-clan-warsPage .ccw-formation-individual th,#community-clan-warsPage .ccw-formation-individual td{padding:13px 12px;vertical-align:middle;text-align:right;font-variant-numeric:tabular-nums}
#community-clan-warsPage .ccw-formation-individual th:nth-child(1),#community-clan-warsPage .ccw-formation-individual td:nth-child(1){width:34px;text-align:center}
#community-clan-warsPage .ccw-formation-individual th:nth-child(2){width:29%;text-align:left}
#community-clan-warsPage .ccw-formation-individual th:nth-child(3){width:55px}
#community-clan-warsPage .ccw-formation-individual th:nth-child(8){width:145px;text-align:left}
#community-clan-warsPage .ccw-formation-individual td:nth-child(8){text-align:left}
#community-clan-warsPage .ccw-formation-individual th:last-child{width:78px}
#community-clan-warsPage .ccw-formation-identity{display:flex;gap:8px 12px;align-items:center;flex-wrap:wrap}
#community-clan-warsPage .ccw-formation-names{display:inline;line-height:1.5;margin:0;font-size:.83rem}
#community-clan-warsPage .ccw-formation-individual .ccw-row-clan{display:inline-flex;gap:5px;align-items:center;font-size:.68rem;padding:3px 6px;border:1px solid #30465b;border-radius:7px;min-width:0}
#community-clan-warsPage .ccw-formation-individual .ccw-row-clan img{width:22px;height:22px;object-fit:contain;flex:0 0 22px;border-radius:5px}
#community-clan-warsPage .ccw-formation-individual small{display:block;font-size:.64rem;line-height:1.5;color:#97acc5;margin-top:5px}
#community-clan-warsPage .ccw-formation-player-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;padding:12px;text-align:left}
#community-clan-warsPage .ccw-formation-player-details article{border:1px solid #334b62;border-radius:10px;padding:12px;background:#122235}
#community-clan-warsPage .ccw-formation-player-details dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 0}
#community-clan-warsPage .ccw-formation-player-details dt{font-size:.68rem;color:#9bb0ca}
#community-clan-warsPage .ccw-formation-player-details dd{margin:4px 0 0;font-size:.9rem;color:#d5ff78}
#community-clan-warsPage .ccw-team-results-row .ccw-table-scroll{max-height:390px;overflow:auto;isolation:isolate}
#community-clan-warsPage .ccw-team-results-row thead th{position:sticky;top:0;z-index:3;background:#172638!important;background-image:none;box-shadow:0 1px #3b5068}
#community-clan-warsPage .ccw-insight-clan-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px;align-items:start}
#community-clan-warsPage .ccw-insight-clan-column{min-width:0;border:1px solid #334b60;border-radius:12px;padding:12px;background:#0f1b2a}
#community-clan-warsPage .ccw-insight-clan-column>header{padding:4px 0 12px;border-bottom:1px solid #30445b}
#community-clan-warsPage .ccw-insight-clan-column .ccw-insight-total-grid,#community-clan-warsPage .ccw-insight-clan-column .ccw-insight-player-grid,#community-clan-warsPage .ccw-insight-clan-column .ccw-insight-formation-grid{grid-template-columns:minmax(0,1fr);padding:10px 0;min-width:0}
#community-clan-warsPage .ccw-economy-report .ccw-compare-disclosure{box-sizing:border-box;padding-bottom:14px}
#community-clan-warsPage .ccw-economy-report .ccw-compare-disclosure>.button{display:flex;box-sizing:border-box;width:fit-content;max-width:calc(100% - 32px);margin:10px 16px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
#community-clan-warsPage .ccw-h2h-formats{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:14px 0}
#community-clan-warsPage .ccw-h2h-formats>span{font-size:.75rem;color:#a9bdd5;margin-right:8px}
#community-clan-warsPage .ccw-h2h-formats .active{border-color:#badf55;color:#d9ff75;background:#1c2c20}
@media(max-width:760px){
  #homePage .home-panel:has(#homeKills),#homePage .home-clan-war-overview{grid-column:1;grid-row:auto}
  #community-clan-warsPage .ccw-insight-clan-comparison{grid-template-columns:minmax(0,1fr);padding:10px}
}
@media(max-width:480px){
  #community-clan-warsPage .ccw-filter-dates label{flex:1 1 140px}
  #community-clan-warsPage .ccw-filter-search-pair{grid-template-columns:minmax(0,1fr)}
  #community-clan-warsPage .ccw-formation-player-details{grid-template-columns:minmax(0,1fr)}
}

/* Duel/profile finishing pass: aligned values and compact, responsive feedback. */
#toast[popover],#toast{left:50%;right:auto;inset-inline-start:50%;inset-inline-end:auto;bottom:28px;top:auto;margin:0;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);box-sizing:border-box}
.responsible-editor-selection .ccw-filter-chip button,.team-responsible-editors .ccw-filter-chip button,.ccw-filter-chip button{display:inline-grid;place-items:center;align-self:center;padding:0;line-height:1;min-width:22px;width:22px;height:22px;flex:0 0 22px}
#community-clan-warsPage .ccw-update-status{width:fit-content;max-width:100%;padding:8px 12px;font-size:.75rem;margin-top:8px;border-radius:8px;box-sizing:border-box}
#community-clan-warsPage [data-ccw-filter-status]{display:block;width:fit-content;padding:5px 9px;min-height:0;text-align:left;line-height:1.4;font-size:.72rem;color:#c9edbc;background:#1b3029;border:1px solid #3e6953;border-radius:6px;max-width:280px}
#community-clan-warsPage:not([aria-busy=true]) [data-ccw-filter-status][data-filter-state=applied]::before{content:'✓ ';color:#baf976}
#community-clan-warsPage [data-ccw-filter-status][data-filter-state=pending]{color:#f5d79c;background:#332d21;border-color:#716041}
#community-clan-warsPage:not([aria-busy=true]) [data-ccw-filter-status][data-filter-state=pending]::before{content:'• ';color:#ffce79}
#community-clan-warsPage[aria-busy=true] [data-ccw-filter-status]{padding:6px 10px;font-size:.75rem}
#community-clan-warsPage .ccw-clan-ranking :is(thead th,tbody td){text-align:right;font-variant-numeric:tabular-nums}
#community-clan-warsPage .ccw-clan-ranking :is(thead th:first-child,tbody td:first-child){text-align:center}
#community-clan-warsPage .ccw-clan-ranking :is(thead th:nth-child(2),tbody th){text-align:left}
#officialClanWarsArchive .milestone-format-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#officialClanWarsArchive .milestone-format-pairs article{position:relative;min-width:0;padding:14px 12px 42px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
#officialClanWarsArchive .milestone-format-pairs article>strong{font-size:1.45rem}
#officialClanWarsArchive .milestone-format-pairs article>small{margin:0;overflow-wrap:anywhere}
#officialClanWarsArchive .milestone-record-link{position:absolute;right:10px;bottom:10px;padding:4px 7px;font-size:.63rem;min-height:0;line-height:1.2;border-radius:5px}
.profile-upload-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;grid-column:1/-1!important;min-width:0}
.profile-upload-pair>.field{min-width:0;margin:0;grid-column:auto!important;align-self:start}
.profile-upload-pair input[type=file]{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
#accountProfileForm .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#accountProfileForm .field:has(#accountBio){grid-column:1/-1}
#playerCustomizationForm>.dialog-actions{margin:16px 0 12px;padding-top:12px;border-top:1px solid #30435a;grid-column:1/-1}
#playerPresentationStatus{margin-top:14px;padding:14px 16px;line-height:1.6}
.member-profile-card h2.name-style-neon{color:#82f8ff;text-shadow:0 0 9px #82f8ff88}
.member-profile-card h2.name-style-gold{color:#ffe18a;text-shadow:0 0 9px #ffcc5273}
.member-profile-card h2.name-style-violet{color:#d2b5ff;text-shadow:0 0 9px #a068ff80}
.member-profile-card h2.name-style-ocean{color:#8cdfff;text-shadow:0 0 9px #50c2ff80}
.member-profile-card h2.name-style-ember{color:#ffb084;text-shadow:0 0 9px #ff6e4c80}
#community-clan-warsPage .ccw-duel-ranking{width:100%;min-width:1160px;table-layout:fixed}
#community-clan-warsPage .ccw-duel-ranking :is(th,td){padding:12px 10px;text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums}
#community-clan-warsPage .ccw-duel-ranking :is(th:first-child,td:first-child){width:30px;text-align:center}
#community-clan-warsPage .ccw-duel-ranking th:nth-child(2){width:215px;text-align:left}
#community-clan-warsPage .ccw-duel-ranking small{display:block;color:#9bb2c9;font-size:.64rem;line-height:1.5;margin-top:6px}
#community-clan-warsPage .duel-versus{display:inline-block;margin:0 7px;color:#94a9be;font-size:.7rem}
#community-clan-warsPage .duel-stat-divider{color:#5c7189;margin:0 3px}
#community-clan-warsPage .ccw-elo-points{min-width:120px;text-align:left}
#community-clan-warsPage .ccw-elo-points summary{color:#a8d9fc;font-size:.7rem;cursor:pointer;line-height:1.5}
#community-clan-warsPage .ccw-elo-points div{padding:8px 0;border-top:1px solid #30435a;margin-top:6px}
@media(max-width:640px){#accountProfileForm .form-grid{grid-template-columns:minmax(0,1fr)}.profile-upload-pair{grid-template-columns:minmax(0,1fr)}}

/* Framing feedback and stable ranking controls. */
.framing-label{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.framing-label output{font-size:.8rem;font-weight:800;color:#cfff65;border:1px solid #435c44;background:#192a27;padding:4px 9px;border-radius:6px;min-width:55px;text-align:center;box-sizing:border-box;font-variant-numeric:tabular-nums}
#community-clan-warsPage .ccw-apply-stack{width:260px;max-width:100%;align-items:flex-start;flex:0 0 auto;gap:8px}
#community-clan-warsPage .ccw-apply-stack>.button{width:136px;min-width:136px;height:36px;box-sizing:border-box}
#community-clan-warsPage [data-ccw-filter-status],#community-clan-warsPage[aria-busy=true] [data-ccw-filter-status]{display:flex;align-items:center;gap:9px;width:260px;max-width:100%;height:42px;min-height:42px;padding:6px 10px;box-sizing:border-box;font-size:.72rem;line-height:1.35}
#community-clan-warsPage [data-ccw-filter-status]::before{display:inline-block;flex:0 0 14px;width:14px;text-align:center}
#community-clan-warsPage[aria-busy=true] [data-ccw-filter-status]::before{content:'';height:12px;box-sizing:border-box;border:2px solid #426580;border-top-color:#9de0ff;border-radius:50%;animation:ccw-filter-spin .8s linear infinite}
@keyframes ccw-filter-spin{to{transform:rotate(360deg)}}
#community-clan-warsPage .ccw-ranking-header-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px;flex:1;min-width:0}
#community-clan-warsPage .ccw-ranking-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0;padding:0;border:0;background:none}
#community-clan-warsPage .ccw-ranking-toolbar>.field{min-width:150px;font-size:.65rem;margin:0}
#community-clan-warsPage .ccw-ranking-toolbar select{padding:7px 9px;font-size:.72rem;min-height:34px}
#community-clan-warsPage .ccw-ranking-toolbar>small{flex-basis:100%;color:#91aec8;font-size:.65rem}
#community-clan-warsPage .ccw-winrate-positive{color:#a9edbd;background:#1c372c;border:1px solid #345e49;border-radius:5px;padding:3px 5px;font-weight:700;white-space:nowrap}
#community-clan-warsPage .ccw-winrate-negative{color:#ff9eaf;background:#36232c;border:1px solid #64404b;border-radius:5px;padding:3px 5px;font-weight:700;white-space:nowrap}
#community-clan-warsPage .ccw-winrate-even{color:#cad6e8}
#community-clan-warsPage .ccw-duel-ranking{min-width:1150px;table-layout:fixed;font-size:.72rem}
#community-clan-warsPage .ccw-duel-ranking :is(th,td){padding:12px 7px;text-align:center;white-space:normal}
#community-clan-warsPage .ccw-duel-ranking th:nth-child(2){width:auto;text-align:left}
#community-clan-warsPage .ccw-duel-ranking col.rank{width:3%}
#community-clan-warsPage .ccw-duel-ranking col.players{width:20%}
#community-clan-warsPage .ccw-duel-ranking col.matches{width:8%}
#community-clan-warsPage .ccw-duel-ranking col.winrate{width:12%}
#community-clan-warsPage .ccw-duel-ranking col.wins{width:7%}
#community-clan-warsPage .ccw-duel-ranking col.rounds{width:14%}
#community-clan-warsPage .ccw-duel-ranking col.streak{width:8%}
#community-clan-warsPage .ccw-duel-ranking col.points{width:11%}
#community-clan-warsPage .ccw-duel-ranking col.average{width:10%}
#community-clan-warsPage .ccw-duel-ranking col.peak{width:7%}
#community-clan-warsPage .ccw-duel-ranking :is(td,th):nth-child(n+3){border-left:1px solid #304357}
#community-clan-warsPage .ccw-duel-pair{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;max-width:none}
#community-clan-warsPage .ccw-duel-pair>span{display:inline-block;white-space:nowrap}
#community-clan-warsPage .duel-divider,#community-clan-warsPage .ccw-duel-pair i{color:#627b95;font-style:normal;font-weight:400}
#community-clan-warsPage .duel-player-0,#community-clan-warsPage .duel-player-0 a{color:#a4dcff}
#community-clan-warsPage .duel-player-1,#community-clan-warsPage .duel-player-1 a{color:#d3b7ff}
#community-clan-warsPage .duel-players{display:flex;align-items:center;flex-wrap:wrap;gap:3px 5px}
#community-clan-warsPage .duel-players a{font-weight:800;font-size:.78rem}
#community-clan-warsPage .ccw-duel-board>.ccw-note{font-size:.7rem;line-height:1.7}
#community-clan-warsPage .ccw-overview-elite{align-items:start}
#community-clan-warsPage .ccw-era-leaderboard,#community-clan-warsPage .ccw-era-leaderboard .ccw-player-ranking{height:auto;min-height:0;align-self:start}
#community-clan-warsPage .ccw-era-leaderboard .ccw-table-scroll{max-height:none!important;height:auto!important;overflow-y:visible!important}
@media(max-width:640px){#community-clan-warsPage .ccw-ranking-header-tools{justify-content:flex-start}#community-clan-warsPage .ccw-ranking-toolbar{width:100%}#community-clan-warsPage .ccw-ranking-toolbar>.field{flex:1;min-width:130px}}
@media(prefers-reduced-motion:reduce){#community-clan-warsPage[aria-busy=true] [data-ccw-filter-status]::before{animation:none}}

/* Format ranking boards: one aligned visual language, controls near results. */
#community-clan-warsPage .ccw-format-facts{grid-column:1/-1;display:flex;align-items:center;gap:14px;padding:10px 4px 0;min-width:0;border-top:1px solid #304357}
#community-clan-warsPage .ccw-format-facts>strong{color:#d4f58c;font-size:.82rem;white-space:nowrap}
#community-clan-warsPage .ccw-format-facts>small{color:#9bb2c9;font-size:.7rem;line-height:1.6}
#community-clan-warsPage .ccw-ranking-search{padding:14px 18px;border-bottom:1px solid #304357;background:#101c2a}
#community-clan-warsPage .ccw-ranking-search>small{display:block;margin-top:9px;color:#8fa9c4;font-size:.66rem}
#community-clan-warsPage .ccw-ranking-search .ccw-player-filter{position:relative}
#community-clan-warsPage .ccw-ranking-search .ccw-clan-results{position:absolute;top:62px;left:0;right:0;z-index:20;max-height:240px;overflow:auto;background:#101c2a;box-shadow:0 14px 28px #0008}
#community-clan-warsPage .ccw-player-ranking-heading:has(.ccw-ranking-toolbar){display:grid;grid-template-columns:minmax(180px,1fr) minmax(300px,1.1fr) auto;gap:16px;align-items:center}
#community-clan-warsPage .ccw-ranking-toolbar{justify-content:center}
#community-clan-warsPage .ccw-ranking-toolbar>small{text-align:center}
#community-clan-warsPage .ccw-player-scoring-tabs{margin:0;flex-shrink:0}
#community-clan-warsPage .ccw-ranking-update{margin:0;padding:9px 18px;border-bottom:1px solid #3b5b73;color:#b8e6ff;background:#142c3d;font-size:.75rem}
#community-clan-warsPage .ccw-ranking-update[hidden]{display:none}
#community-clan-warsPage[aria-busy=true]>:is(.ccw-player-ranking,.ccw-formation-board,.ccw-duel-board){display:block}
#community-clan-warsPage[aria-busy=true]>:is(.ccw-player-ranking,.ccw-formation-board,.ccw-duel-board)>:is(.ccw-table-scroll,.ccw-note,.ccw-player-ranking-note,.ccw-ranking-pagination,.ccw-empty){display:none}
#community-clan-warsPage .ccw-ranking-pagination{padding:12px 18px;border-top:1px solid #304357}
#community-clan-warsPage .ccw-ranking-pagination .ccw-pagination{margin:0}
#community-clan-warsPage .ccw-duel-ranking{font-size:.8rem;min-width:1140px}
#community-clan-warsPage .ccw-duel-ranking col.players{width:17%}
#community-clan-warsPage .ccw-duel-ranking col.matches{width:9%}
#community-clan-warsPage .ccw-duel-ranking col.points{width:12%}
#community-clan-warsPage .ccw-duel-ranking col.average{width:11%}
#community-clan-warsPage .duel-players a{font-size:.85rem}
#community-clan-warsPage .ccw-formation-individual{font-size:.82rem;min-width:1050px!important}
#community-clan-warsPage .ccw-formation-individual :is(th,td){padding:12px 10px;text-align:center;white-space:normal}
#community-clan-warsPage .ccw-formation-individual th:nth-child(2),#community-clan-warsPage .ccw-formation-individual th:nth-child(3),#community-clan-warsPage .ccw-formation-individual th:nth-child(8),#community-clan-warsPage .ccw-formation-individual th:last-child{width:auto}
#community-clan-warsPage .ccw-formation-individual th:nth-child(2){text-align:left}
#community-clan-warsPage .ccw-formation-individual col.rank{width:3%}
#community-clan-warsPage .ccw-formation-individual col.players{width:22%}
#community-clan-warsPage .ccw-formation-individual col.matches{width:7%}
#community-clan-warsPage .ccw-formation-individual col.wins{width:11%}
#community-clan-warsPage .ccw-formation-individual col.winrate{width:9%}
#community-clan-warsPage .ccw-formation-individual col.rounds{width:12%}
#community-clan-warsPage .ccw-formation-individual col.streak{width:9%}
#community-clan-warsPage .ccw-formation-individual col.rival{width:19%}
#community-clan-warsPage .ccw-formation-individual col.details{width:8%}
#community-clan-warsPage .ccw-result-ranking-heading{display:grid;grid-template-columns:minmax(180px,1fr) 180px auto;gap:18px;align-items:center}
#community-clan-warsPage .ccw-formation-rank{margin:0;min-width:0}
#community-clan-warsPage .ccw-formation-rank small{color:#99aec5;font-size:.66rem;margin-top:4px}
#community-clan-warsPage .ccw-result-ranking{min-width:1180px!important;table-layout:fixed}
#community-clan-warsPage .ccw-result-ranking col.rank{width:3%}
#community-clan-warsPage .ccw-result-ranking col.players{width:19%}
#community-clan-warsPage .ccw-result-ranking col.matches{width:6%}
#community-clan-warsPage .ccw-result-ranking col.wins{width:8%}
#community-clan-warsPage .ccw-result-ranking col.winrate{width:8%}
#community-clan-warsPage .ccw-result-ranking col.rounds{width:11%}
#community-clan-warsPage .ccw-result-ranking col.streak{width:8%}
#community-clan-warsPage .ccw-result-ranking :is(col.rival-wins,col.rival-losses){width:14%}
#community-clan-warsPage .ccw-result-ranking col.details{width:9%}
#community-clan-warsPage .ccw-result-ranking :is(th,td):nth-child(n+8):not(:last-child){text-align:left}
#community-clan-warsPage .ccw-duel-rival+ .ccw-duel-rival{border-top:1px solid #304357;margin-top:8px;padding-top:8px}
#community-clan-warsPage .ccw-formation-point-system{border-top:2px solid #3c536d;margin-top:10px;padding-top:8px}
#community-clan-warsPage .ccw-formation-point-system.legacy{border-color:#e4ba64}
#community-clan-warsPage .ccw-formation-point-system.modern{border-color:#45cdb7}
#community-clan-warsPage .ccw-result-ranking .ccw-ranking-detail-row>td{text-align:left;border:0}
@media(max-width:1100px){#community-clan-warsPage .ccw-result-ranking-heading{grid-template-columns:minmax(0,1fr) 180px}#community-clan-warsPage .ccw-result-ranking-heading>.ccw-player-scoring-tabs{grid-column:1/-1}}
@media(max-width:640px){#community-clan-warsPage .ccw-result-ranking-heading{grid-template-columns:minmax(0,1fr)}#community-clan-warsPage .ccw-result-ranking-heading>.ccw-player-scoring-tabs{grid-column:1}#community-clan-warsPage .ccw-result-ranking-heading>.ccw-formation-rank{max-width:240px}}
#community-clan-warsPage .ccw-formation-individual :is(th,td):nth-child(n+3){border-left:1px solid #304357}
#community-clan-warsPage .ccw-formation-individual .ccw-ranking-detail-row>td{border-left:0;text-align:left}
#community-clan-warsPage .ccw-formation-names{font-size:.87rem;line-height:1.7}
#community-clan-warsPage .ccw-formation-names>a{color:#a4dcff}
#community-clan-warsPage .ccw-formation-plus{color:#607d99;font-weight:400}
#community-clan-warsPage .ccw-formation-rival>a{color:#d3b7ff;font-size:.76rem}
#community-clan-warsPage .ccw-formation-rival small{margin-top:7px}
#community-clan-warsPage .ccw-rival-opponents{font-size:.78rem;line-height:1.55}
#community-clan-warsPage .ccw-rival-opponents.result-wins,
#community-clan-warsPage .ccw-rival-opponents.result-wins a{color:#7fe5aa}
#community-clan-warsPage .ccw-rival-opponents.result-losses,
#community-clan-warsPage .ccw-rival-opponents.result-losses a{color:#ff9b9b}
#community-clan-warsPage .ccw-formation-rival .ccw-rival-stat{font-size:.8rem;line-height:1.6;font-weight:500}
#community-clan-warsPage .ccw-formation-rival .ccw-rival-stat.result-wins{color:#7fe5aa}
#community-clan-warsPage .ccw-formation-rival .ccw-rival-stat.result-losses{color:#ff9b9b}
#community-clan-warsPage .ccw-formation-quick-filters{display:grid;gap:9px;justify-items:end}
#community-clan-warsPage .ccw-formation-quick-filters .ccw-player-scoring-tabs{margin:0;justify-content:flex-end;flex-wrap:wrap}
#community-clan-warsPage .ccw-match-type-tabs a{font-size:.7rem;padding:7px 10px}
@media(max-width:700px){#community-clan-warsPage .ccw-formation-quick-filters{justify-items:start}#community-clan-warsPage .ccw-formation-quick-filters .ccw-player-scoring-tabs{justify-content:flex-start}}
#community-clan-warsPage .ccw-player-ranking:not(.is-compact) .ccw-player-ranking-table col.player{width:22%}
#community-clan-warsPage .ccw-player-ranking:not(.is-compact) .ccw-player-ranking-table col.matches{width:9%}
#community-clan-warsPage .ccw-player-ranking:not(.is-compact) .ccw-ranking-main>strong{font-size:1rem}
@media(max-width:1100px){#community-clan-warsPage .ccw-player-ranking-heading:has(.ccw-ranking-toolbar){grid-template-columns:minmax(0,1fr) auto}#community-clan-warsPage .ccw-player-ranking-heading>.ccw-ranking-toolbar{grid-column:1/-1;grid-row:2}#community-clan-warsPage .ccw-player-scoring-tabs{flex-wrap:wrap}}
@media(max-width:640px){#community-clan-warsPage .ccw-player-ranking-heading:has(.ccw-ranking-toolbar){grid-template-columns:minmax(0,1fr)}#community-clan-warsPage .ccw-player-ranking-heading>.ccw-ranking-toolbar{grid-row:3}#community-clan-warsPage .ccw-format-facts{flex-direction:column;align-items:flex-start;gap:5px}#community-clan-warsPage .ccw-ranking-search,#community-clan-warsPage .ccw-ranking-pagination{padding:12px}#community-clan-warsPage .ccw-ranking-toolbar>small{text-align:left}}
/* Comparison actions and per-statistic leaders, including statistical duos. */
#community-clan-warsPage .ccw-period-reset{align-self:end;display:grid;gap:5px;min-width:140px;max-width:210px}
#community-clan-warsPage .ccw-period-reset [data-reset-period]{width:100%;min-height:30px;padding:6px 18px;display:flex;justify-content:center;align-items:center;gap:8px;border-color:#415f78;background:#182b3a;color:#cae6ff;white-space:nowrap}
#community-clan-warsPage .ccw-period-reset>small{margin:0;text-align:center;font-size:.66rem;color:#8eabc2}
#community-clan-warsPage .ccw-stat-leader{display:block;margin-top:4px;color:#9de7b6;font-size:.65rem;font-weight:700}
#community-clan-warsPage .ccw-comparison-section .ccw-compare-leading{border:1px solid #477b60;background:#193e2b;color:#b9f4ca;padding:4px 9px;border-radius:6px}
/* Keep the first view and long member directories bounded while scrolling. */
#homePage .home-panel:has(#homeKills){min-height:0;overflow:hidden;contain:layout style}
#homePage .home-panel:has(#homeKills) .home-kills-scroll{box-sizing:border-box;min-height:0;max-height:685px;overflow-x:hidden;overflow-y:auto;align-content:start;overscroll-behavior:contain;contain:layout paint}
#community-membersPage .member-directory-card{content-visibility:auto;contain-intrinsic-size:auto 420px;contain:layout paint style}
.ccw-elo-ladders,.ccw-elo-filters{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.ccw-elo-filters .field{flex:1 1 170px;min-width:0}.ccw-elo-method-button{padding:16px 20px;cursor:pointer;color:#b4d5f5;display:flex;justify-content:space-between}.ccw-elo-table small{display:block;color:#93acc7;font-size:11px;margin-top:5px}.ccw-elo-table th a{color:#e3eefc;text-decoration:none}.ccw-elo-value{font-weight:800;color:#d5ff43}.ccw-elo-plus{color:#7799b7}.ccw-elo-evidence{display:grid;gap:4px;margin:10px 0;padding:8px;background:#162438;border-radius:6px}
/* Keep paired win rates inside their own column at every viewport size. */
#community-clan-warsPage .ccw-duel-pair.ccw-duel-winrates{display:flex;flex-direction:column;align-items:center;gap:7px;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
#community-clan-warsPage .ccw-duel-winrates>span{display:block;max-width:100%;box-sizing:border-box;line-height:1.35}
#community-clan-warsPage :is(.ccw-formation-individual,.ccw-result-ranking) td :is(.ccw-winrate-positive,.ccw-winrate-negative,.ccw-winrate-even){display:inline-block;max-width:100%;box-sizing:border-box;font-size:.8rem;line-height:1.4}
#experimental-eloPage .ccw-elo-table{min-width:1460px;table-layout:fixed;font-size:.8rem;font-variant-numeric:tabular-nums}
#experimental-eloPage .ccw-elo-table :is(th,td){padding:13px 10px;text-align:center;vertical-align:middle;border-bottom:1px solid #2e4257;overflow-wrap:anywhere;white-space:normal}
#experimental-eloPage .ccw-elo-table tr>:not(:first-child){border-left:1px solid #2e4257}
#experimental-eloPage .ccw-elo-table tr>:first-child{width:38px;padding-inline:6px}
#experimental-eloPage .ccw-elo-table tr>:nth-child(2){width:230px;text-align:left}
#experimental-eloPage .ccw-elo-table tr>:nth-child(5){width:145px}
#experimental-eloPage .ccw-elo-table tr>:last-child{width:125px}
#experimental-eloPage .ccw-elo-table tbody th a{display:block;font-weight:700;line-height:1.4}
#experimental-eloPage .ccw-elo-table .ccw-elo-plus{display:block;line-height:1}
#experimental-eloPage .ccw-elo-table thead th{background:#182b3e;color:#accde9;line-height:1.45;font-size:.72rem}
.ccw-elo-explainer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.ccw-elo-point-note{margin:-7px 0 16px;color:#9fbbd1;font-size:.76rem;line-height:1.5}
#experimental-eloPage .ccw-elo-table .ccw-elo-rank-stat{display:inline-block;margin-top:8px;padding:4px 7px;border:1px solid #526a3b;border-radius:6px;background:#263519;color:#d7eead}
#experimental-eloPage .ccw-elo-table .ccw-elo-rank-stat strong{color:#e8ff90}
#experimental-eloPage .ccw-elo-mvp{display:grid;gap:6px;justify-items:center}
#experimental-eloPage .ccw-elo-mvp-total{color:#e2f9b2;font-size:1rem}
#experimental-eloPage .ccw-elo-mvp-breakdown{display:grid;grid-template-columns:repeat(2,minmax(48px,1fr));gap:4px;width:100%;max-width:148px;text-align:left}
#experimental-eloPage .ccw-elo-mvp-breakdown span{display:flex;justify-content:space-between;gap:4px;padding:2px 4px;border-radius:4px;background:#1a3040;color:#a7c9e3;font-size:.7rem;white-space:nowrap}
#experimental-eloPage .ccw-elo-mvp-breakdown b{color:#f1fbff}
.ccw-elo-explainer article{border:1px solid #345169;border-top:3px solid #6da7cb;background:#102131;border-radius:10px;padding:16px}
.ccw-elo-explainer article:nth-child(2){border-top-color:#72cfac}.ccw-elo-explainer article:nth-child(3){border-top-color:#dab869}
.ccw-elo-explainer small{display:block;color:#8daac3;font-size:.65rem;letter-spacing:.06em;margin-bottom:9px}
.ccw-elo-explainer strong{color:#e0efff;font-size:1rem}.ccw-elo-explainer p{font-size:.78rem;line-height:1.65;margin:9px 0 0;color:#adbed1}
.ccw-elo-methodology{padding:18px 22px;line-height:1.75;font-size:.85rem}.ccw-elo-methodology p{margin:0 0 16px}.ccw-elo-methodology>small{display:block;color:#92a9c0}
@media(max-width:700px){.ccw-elo-explainer{grid-template-columns:1fr}.ccw-elo-explainer article{padding:12px}.ccw-elo-methodology{padding:14px}}
.ccw-elo-table .ccw-elo-recent-button{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;min-height:30px;padding:5px 10px;border:1px solid #354d65;border-radius:7px;background:#142335;color:#bcd8ef;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}
.ccw-elo-table .ccw-elo-recent-button:hover,.ccw-elo-table .ccw-elo-recent-button[aria-expanded="true"]{border-color:#6798bb;background:#1b3145;color:#e1f2ff}
.ccw-elo-table .ccw-elo-recent-button:focus-visible{outline:2px solid #91c9ff;outline-offset:2px}
.ccw-elo-recent-chevron{line-height:1;transition:transform .15s}.ccw-elo-recent-button[aria-expanded="true"] .ccw-elo-recent-chevron{transform:rotate(180deg)}
.ccw-elo-table .ccw-elo-recent-row[hidden]{display:none}
.ccw-elo-table .ccw-elo-recent-row>td{padding:10px 16px;background:#0e1c2a}
.ccw-elo-recent-panel{width:min(1080px,calc(100vw - 88px));max-width:100%;min-width:0;text-align:left;container-type:inline-size}
.ccw-elo-recent-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px;margin-bottom:8px;color:#d4e6f6;font-size:12px}
.ccw-elo-recent-heading>span{color:#8da9c0;font-size:11px}
.ccw-elo-recent-labels,.ccw-elo-recent-match{display:grid;grid-template-columns:100px minmax(110px,1fr) 110px 90px;align-items:center;gap:16px;padding:6px 10px;font-size:12px}
.ccw-elo-recent-labels{color:#8da9c0;font-size:10px;background:#172a3b;border-radius:5px}
.ccw-elo-recent-match{border-bottom:1px solid #263a4c;color:#a9bed2}
.ccw-elo-recent-match:last-child{border-bottom:0}
.ccw-elo-recent-match a{color:#98cefa;text-decoration:none}
.ccw-elo-recent-match a:hover{text-decoration:underline}
.ccw-elo-search{position:relative;overflow:visible;z-index:6;max-width:680px;margin:16px 0 20px}
.ccw-elo-search .ccw-clan-results{position:absolute;top:66px;left:0;right:0;z-index:100;max-height:min(360px,50vh);overflow-y:auto;border:1px solid #45627f;border-radius:10px;box-shadow:0 14px 28px #0008;background:#101c2a}
.ccw-elo-search .ccw-filter-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.ccw-elo-search .ccw-filter-chip{display:inline-flex;align-items:center;gap:8px;padding:4px 9px;border:1px solid #395570;border-radius:6px;background:#172c3c;color:#d0e5f5;font-size:12px}
.ccw-elo-search .ccw-filter-chip button{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:0;background:transparent;color:#aecde6;font-size:16px;cursor:pointer}
.ccw-elo-search>small{display:block;margin-top:7px;color:#95afc7;font-size:11px}
/* Standalone experimental rating workspace. */
#experimental-eloPage{min-width:0;max-width:100%}
.ccw-elo-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:34px;align-items:center;padding:28px;border:1px solid #344758;border-radius:16px;background:radial-gradient(ellipse at top left,#243c3b88,transparent 65%),#101c29}
.ccw-elo-hero h1{font-size:clamp(1.8rem,3.6vw,2.75rem);line-height:1.15;margin:16px 0 12px;letter-spacing:-.035em}
.ccw-elo-hero p{color:#b0c3d5;font-size:.88rem;line-height:1.7;margin:0 0 18px;max-width:660px}
.ccw-elo-badges{display:flex;flex-wrap:wrap;gap:6px}.ccw-elo-badges>span{padding:4px 7px;border:1px solid #38516a;border-radius:5px;color:#a7c7df;font-size:.65rem;letter-spacing:.03em}.ccw-elo-badges>span:first-child{border-color:#6a7044;background:#313b20;color:#dcf2a4}
.ccw-elo-hero aside{border-left:1px solid #365166;padding-left:28px}.ccw-elo-hero aside>.eyebrow{display:block;color:#91b7cf;font-size:.63rem;letter-spacing:.08em;margin-bottom:9px}.ccw-elo-hero aside>strong{display:block;color:#e0efed;font-size:1.1rem;margin-bottom:10px}.ccw-elo-hero aside p{font-size:.8rem;margin-bottom:10px}.ccw-elo-hero aside small{display:block;color:#9cb0c3;font-size:.72rem;line-height:1.6}
.ccw-elo-reading-key{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 24px}.ccw-elo-reading-key article{padding:14px 16px;border:1px solid #2b4054;border-top:2px solid #91c7d8;border-radius:9px;background:#101b28}.ccw-elo-reading-key article:nth-child(2){border-top-color:#cfb777}.ccw-elo-reading-key article:nth-child(3){border-top-color:#88bd9d}.ccw-elo-reading-key article>span{display:block;font-size:.7rem;color:#9fbed4;margin-bottom:5px}.ccw-elo-reading-key strong{display:block;color:#e0ecf5;font-size:.85rem;font-weight:600}.ccw-elo-reading-key p{font-size:.73rem;color:#93abc2;line-height:1.6;margin:7px 0 0}
.ccw-elo-selection{border:1px solid #30475a;border-radius:12px;background:#101b29;margin-bottom:16px;overflow:hidden}
#experimental-eloPage .ccw-elo-ladders{margin:0;padding:9px;gap:5px;border-bottom:1px solid #30475a;background:#142335}.ccw-elo-ladders>button{flex:1 1 120px;min-height:38px;border:1px solid transparent;background:transparent;border-radius:7px;color:#9db8d1;padding:8px 12px;font:inherit;font-size:.8rem;font-weight:600;cursor:pointer}.ccw-elo-ladders>button:hover{background:#21384a;color:#e6f2fb}.ccw-elo-ladders>button.is-active{border-color:#778c48;background:#2c3d24;color:#e2f5b6}
.ccw-elo-view-intro{padding:18px 20px}.ccw-elo-view-intro>.eyebrow{color:#82b4be;font-size:.64rem;letter-spacing:.08em;margin:0 0 6px}.ccw-elo-view-intro h2{font-size:1.15rem;color:#e4edf8;margin:0 0 7px}.ccw-elo-view-intro>p:not(.eyebrow){font-size:.8rem;line-height:1.6;color:#a1b7cd;max-width:960px;margin:0}
.ccw-elo-formats{display:flex;flex-wrap:wrap;gap:6px;margin-top:15px}.ccw-elo-formats>button{border:1px solid #344c63;border-radius:6px;background:#0d1825;color:#a6c2da;padding:8px 13px;min-height:35px;font:inherit;font-size:.76rem;cursor:pointer}.ccw-elo-formats>button:hover{border-color:#74a4b7;color:#e1f4fa}.ccw-elo-formats>button.is-active{background:#1c3b47;border-color:#619cac;color:#d2f4fd}.ccw-elo-format-note{display:block;margin-top:10px;font-size:.72rem;color:#8ea7bf;line-height:1.6;max-width:1000px}
.ccw-elo-controls{position:relative;overflow:visible;border:1px solid #2b4257;border-radius:12px;padding:18px 20px;background:#101b29;margin-bottom:16px}.ccw-elo-controls>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.ccw-elo-controls h2{margin:0 0 5px;font-size:.95rem;color:#d7e8f5}.ccw-elo-controls>header p{margin:0;color:#8faac3;font-size:.73rem;line-height:1.6}.ccw-elo-community{display:inline-flex;align-items:center;gap:7px;color:#b5d0e5;font-size:.7rem;white-space:nowrap}.ccw-elo-community img{width:22px;height:22px;object-fit:contain;border-radius:4px}
#experimental-eloPage .ccw-elo-filters{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:12px;margin:16px 0}.ccw-elo-filters .field,.ccw-elo-search .field{display:flex;flex-direction:column;gap:7px;color:#a4bfd5;font-size:.74rem}.ccw-elo-filters select,.ccw-elo-search input{width:100%;min-width:0;box-sizing:border-box;height:40px;border:1px solid #3a526b;border-radius:7px;background:#0b1622;color:#e0edf6;padding:7px 10px;font:inherit;font-size:.8rem}
#experimental-eloPage .ccw-elo-search{margin:0 0 12px;max-width:680px}.ccw-elo-search .ccw-clan-results{top:68px}#experimental-eloPage .ccw-elo-point-note{margin:8px 0 0;line-height:1.6}
.ccw-elo-method{scroll-margin-top:180px}.ccw-elo-method-button{align-items:center;gap:18px;font-size:.84rem;font-weight:600}.ccw-elo-method-button small{display:block;margin-top:5px;font-size:.7rem;color:#8fa9c1;font-weight:400}.ccw-elo-method[open] .ccw-elo-method-button{border-bottom:1px solid #2f4358}.ccw-elo-method[open] .ccw-elo-method-button>span:last-child{transform:rotate(180deg)}
#experimental-eloPage .ccw-elo-method-button{padding:14px 18px;min-height:0;line-height:1.45}
.ccw-elo-method .ccw-elo-methodology{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:20px}.ccw-elo-methodology article{min-width:0}.ccw-elo-methodology h3{font-size:.9rem;margin:0 0 12px;color:#b6d5dd}.ccw-elo-methodology p{font-size:.77rem;color:#a6bacd;line-height:1.75}.ccw-elo-methodology strong{color:#d2e4ef}.ccw-elo-formula{padding:12px;border:1px solid #345364;background:#142a36;border-radius:7px;color:#cee6ed!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#experimental-eloPage .ccw-elo-table tr>:nth-child(11){width:130px}#experimental-eloPage .ccw-elo-table tr>:nth-child(12){width:100px}
#experimental-eloPage .ccw-elo-ladders>button:focus-visible,#experimental-eloPage .ccw-elo-formats>button:focus-visible{outline:2px solid #9ed7f2;outline-offset:2px}
@media(max-width:1050px){#experimental-eloPage .ccw-elo-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ccw-elo-hero{gap:20px;padding:22px;grid-template-columns:minmax(0,1.2fr) minmax(240px,1fr)}.ccw-elo-ladders>button{flex-basis:25%}}
@media(max-width:700px){.ccw-elo-hero{grid-template-columns:1fr;padding:18px;gap:18px}.ccw-elo-hero aside{padding:16px 0 0;border-left:0;border-top:1px solid #365166}.ccw-elo-hero p{font-size:.8rem}.ccw-elo-reading-key{grid-template-columns:1fr;gap:8px;margin-bottom:16px}.ccw-elo-reading-key article{padding:11px 13px}.ccw-elo-reading-key strong{font-size:.8rem}.ccw-elo-reading-key p{margin-top:4px}.ccw-elo-view-intro,.ccw-elo-controls{padding:15px}.ccw-elo-controls>header{flex-wrap:wrap;gap:8px}.ccw-elo-formats>button{flex:1 1 100px;padding:8px}.ccw-elo-method .ccw-elo-methodology{grid-template-columns:1fr;gap:14px;padding:15px}.ccw-elo-methodology article+article{padding-top:14px;border-top:1px solid #30465b}.ccw-elo-filters select,.ccw-elo-search input{font-size:16px}.ccw-elo-method{scroll-margin-top:75px}}
@media(max-width:420px){#experimental-eloPage .ccw-elo-filters{grid-template-columns:1fr}.ccw-elo-ladders>button{flex-basis:40%}.ccw-elo-badges>span{font-size:.6rem}.ccw-elo-hero h1{font-size:1.9rem}}
.ccw-elo-evidence-contexts{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 8px}
.ccw-elo-evidence-contexts>span{padding:3px 6px;border:1px solid #2f4860;border-radius:4px;color:#9bbbd5;font-size:10px}
.ccw-elo-recent-labels>span:nth-last-child(-n+2),.ccw-elo-recent-match>span,.ccw-elo-recent-match>b{text-align:right;font-variant-numeric:tabular-nums}
/* Evidence spans the table, but its contents fit the visible page, not narrow rating columns. */
#experimental-eloPage .ccw-elo-table .ccw-elo-recent-row>td{width:auto;border-left:0;text-align:left;vertical-align:top;padding:16px;white-space:normal}
.ccw-elo-recent-heading>div{min-width:0}.ccw-elo-recent-heading .eyebrow{display:block;color:#89adbd;font-size:10px;letter-spacing:.08em;margin-bottom:4px}.ccw-elo-recent-heading strong{display:block;font-size:14px;line-height:1.5;overflow-wrap:break-word}
.ccw-elo-recent-games,.ccw-elo-relationship-card{min-width:0;padding:12px;border:1px solid #30495e;border-radius:9px;background:#112332}
.ccw-elo-recent-games h3,.ccw-elo-relationship-card h3{margin:0;color:#d9e9f7;font-size:12px;line-height:1.5}
#experimental-eloPage .ccw-elo-recent-games h3>small{display:inline;margin-left:8px;color:#8faec5;font-size:10px;font-weight:400}
.ccw-elo-recent-grid{margin-top:8px}.ccw-elo-recent-labels,.ccw-elo-recent-match{grid-template-columns:minmax(85px,1fr) minmax(95px,1.2fr) minmax(70px,1fr) minmax(65px,.8fr);gap:12px}
.ccw-elo-relationships{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;align-items:start}
.ccw-elo-relationship-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.ccw-elo-relationship-card>header>div{min-width:0}.ccw-elo-relationship-card header p{margin:4px 0 0;color:#8facbf;font-size:10px;line-height:1.5}
.ccw-elo-relationship-card label{display:flex;flex-direction:column;gap:4px;color:#8facbf;font-size:10px;flex:0 0 103px}.ccw-elo-relationship-card select{box-sizing:border-box;width:100%;min-height:30px;border:1px solid #3d5a70;border-radius:5px;padding:4px 7px;background:#0d1d2a;color:#d4e8f7;font-size:11px}
.ccw-elo-relationship-labels,.ccw-elo-relationship-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(65px,.4fr) minmax(85px,.5fr);gap:12px;align-items:center;padding:9px 0}
.ccw-elo-relationship-labels{border-bottom:1px solid #395167;color:#8eabc0;font-size:10px}.ccw-elo-relationship-row{border-bottom:1px solid #294153;font-size:12px;line-height:1.5}.ccw-elo-relationship-row:last-child{border-bottom:0}
.ccw-elo-relationship-names{display:flex;flex-wrap:wrap;align-items:center;gap:3px 6px;min-width:0;color:#d2e6f6;overflow-wrap:break-word}.ccw-elo-relationship-names>span{min-width:0;max-width:100%}.ccw-elo-relationship-names>i{color:#718fa5;font-style:normal}
.ccw-elo-relationship-result{display:flex;flex-direction:column;gap:2px;align-items:flex-end;white-space:nowrap}.ccw-elo-relationship-count,.ccw-elo-relationship-labels>span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
#experimental-eloPage .ccw-elo-relationship-count>small{margin:2px 0 0;font-size:10px;white-space:nowrap}.ccw-elo-relationship-count>b{white-space:nowrap;color:#d2e6f6;font-size:12px}
.ccw-elo-evidence-empty,.ccw-elo-evidence-note{margin:10px 0 0;color:#8facbf;font-size:11px;line-height:1.6}
#experimental-eloPage .ccw-elo-results-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;padding-bottom:14px}.ccw-elo-results-heading>div>span{color:#91acc2;font-size:12px}
.ccw-elo-results-heading>.field{display:flex;flex-direction:column;gap:5px;min-width:240px;max-width:100%;font-size:11px;color:#a8c6db}.ccw-elo-results-heading select{box-sizing:border-box;width:100%;height:36px;border:1px solid #4d687d;border-radius:6px;background:#102537;color:#e0edf6;padding:5px 9px;font:inherit;font-size:12px}
@container(max-width:780px){.ccw-elo-relationships{grid-template-columns:minmax(0,1fr)}}
@container(max-width:420px){.ccw-elo-recent-games,.ccw-elo-relationship-card{padding:10px}.ccw-elo-recent-labels,.ccw-elo-recent-match{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;padding:8px 2px}.ccw-elo-recent-labels>span:nth-child(n+3){display:none}.ccw-elo-recent-match>a{text-align:right}.ccw-elo-relationship-card>header{flex-wrap:wrap;gap:8px}.ccw-elo-relationship-card label{flex:1 1 100%}.ccw-elo-relationship-labels,.ccw-elo-relationship-row{grid-template-columns:minmax(0,1fr) 50px 72px;gap:7px}.ccw-elo-relationship-row{font-size:11px}.ccw-elo-relationship-count>b{font-size:11px}}
@media(max-width:700px){.ccw-elo-results-heading>.field{width:100%;min-width:0}.ccw-elo-results-heading select,.ccw-elo-relationship-card select{font-size:16px;min-height:36px}}
/* Compact Elo rows and paired lineup/individual evidence. */
#experimental-eloPage .ccw-elo-table{min-width:1490px}
#experimental-eloPage .ccw-elo-table :is(th,td){padding:8px 9px}
#experimental-eloPage .ccw-elo-table tr>:nth-child(2){width:215px;padding-inline:10px}
#experimental-eloPage .ccw-elo-table tr>:nth-child(11){width:175px}
#experimental-eloPage .ccw-elo-table tr>:last-child{width:140px}
#experimental-eloPage .ccw-elo-table tbody th a,#experimental-eloPage .ccw-elo-table .ccw-elo-plus{display:inline;font-size:12px;line-height:1.4}
#experimental-eloPage .ccw-elo-row-names{display:flex;flex-wrap:wrap;gap:3px 5px;align-items:center}
#experimental-eloPage .ccw-elo-row-names>a{max-width:100%;overflow-wrap:break-word}
#experimental-eloPage .ccw-elo-table tbody th>small{font-size:10px;line-height:1.35;margin-top:3px;font-weight:400}
#experimental-eloPage .ccw-elo-mvp{gap:4px}
#experimental-eloPage .ccw-elo-mvp-heading{display:flex;align-items:center;justify-content:center;gap:8px}
#experimental-eloPage .ccw-elo-mvp-heading>small{margin:0;color:#91acc2;font-size:10px;white-space:nowrap}
#experimental-eloPage .ccw-elo-mvp-total{font-size:14px}
#experimental-eloPage .ccw-elo-mvp-breakdown{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none;gap:3px}
#experimental-eloPage .ccw-elo-mvp-breakdown span{flex-direction:column;align-items:center;gap:0;font-size:9px;padding:2px}
#experimental-eloPage .ccw-elo-table .ccw-elo-recent-button{max-width:100%;box-sizing:border-box;padding:5px 8px;min-height:28px;font-size:11px;gap:6px}
#experimental-eloPage .ccw-elo-table tr:not(.ccw-elo-recent-row)>td:last-child{padding-right:18px;padding-left:12px}
#experimental-eloPage .ccw-table-scroll{max-height:min(74vh,720px);overflow:auto;overscroll-behavior:contain;scrollbar-color:#617c92 #142536;scrollbar-width:auto}
#experimental-eloPage .ccw-elo-table thead th{position:sticky;top:0;z-index:2;box-shadow:0 1px #3b5369}
.ccw-elo-top-scroll{height:16px;overflow-x:scroll;overflow-y:hidden;margin:0 8px 5px;scrollbar-color:#7895ab #142536;scrollbar-width:auto;background:#142536;border-radius:5px}
.ccw-elo-top-scroll>div{height:1px}.ccw-elo-top-scroll[hidden]{display:none}.ccw-elo-top-scroll:focus-visible{outline:2px solid #91c9ff;outline-offset:2px}
#experimental-eloPage .ccw-elo-recent-panel{width:min(1200px,calc(100vw - 120px))}
#experimental-eloPage .ccw-elo-table .ccw-elo-recent-row>td{padding:12px 16px}
.ccw-elo-recent-heading{align-items:center;gap:6px 12px;margin-bottom:8px}
.ccw-elo-recent-heading>strong{font-size:12px}.ccw-elo-recent-heading>span{font-size:10px}
.ccw-elo-evidence-tabs{display:flex;flex-wrap:wrap;gap:4px;margin-left:auto}
.ccw-elo-evidence-tabs button{border:1px solid #3b5266;border-radius:5px;padding:4px 7px;background:#0b1c29;color:#a9c6dc;font-size:10px;line-height:1.4;cursor:pointer}
.ccw-elo-evidence-tabs button[aria-pressed="true"]{background:#223f44;border-color:#6b9d9c;color:#e0f5ed}
.ccw-elo-evidence-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.ccw-elo-evidence-layout>[data-evidence-block]{display:none}
.ccw-elo-recent-panel[data-evidence-view="lineups"] .ccw-elo-evidence-layout>:is([data-evidence-block="formations"],[data-evidence-block="teammateLineups"]),.ccw-elo-recent-panel[data-evidence-view="individuals"] .ccw-elo-evidence-layout>:is([data-evidence-block="individuals"],[data-evidence-block="teammates"]){display:block}
.ccw-elo-evidence-layout .ccw-elo-recent-games,.ccw-elo-evidence-layout .ccw-elo-relationship-card{padding:9px}
.ccw-elo-relationship-card>header{align-items:center;gap:6px;margin-bottom:6px;flex-wrap:wrap}
.ccw-elo-relationship-card>header h3,.ccw-elo-recent-games h3{font-size:11px}
.ccw-elo-relationship-card>header select{width:auto;max-width:110px;min-height:26px;padding:3px 5px;font-size:10px}
#experimental-eloPage .ccw-elo-recent-games h3>small{display:block;margin:3px 0 0;font-size:9px}
.ccw-elo-evidence-layout .ccw-elo-recent-labels,.ccw-elo-evidence-layout .ccw-elo-recent-match{grid-template-columns:minmax(70px,1fr) minmax(74px,1fr) 38px;gap:5px;padding:7px 2px;font-size:10px}
.ccw-elo-evidence-layout .ccw-elo-recent-labels{font-size:9px}
#experimental-eloPage .ccw-elo-evidence-layout .ccw-elo-recent-labels>span{display:block}
.ccw-elo-evidence-layout .ccw-elo-relationship-labels,.ccw-elo-evidence-layout .ccw-elo-relationship-row{grid-template-columns:minmax(0,1fr) 58px 59px;gap:6px;padding:6px 0;font-size:10px;line-height:1.4}
.ccw-elo-evidence-layout .ccw-elo-relationship-labels{font-size:9px}
.ccw-elo-evidence-layout .ccw-elo-relationship-result{flex-direction:row;flex-wrap:wrap;justify-content:flex-end;gap:3px}
.ccw-elo-evidence-layout .ccw-elo-relationship-count>b{font-size:10px}
#experimental-eloPage .ccw-elo-evidence-layout .ccw-elo-relationship-count>small{font-size:9px;margin-top:1px}
.ccw-elo-evidence-note{margin-top:7px;font-size:10px;line-height:1.4}
@container(max-width:600px){.ccw-elo-evidence-layout{grid-template-columns:minmax(0,1fr)}.ccw-elo-evidence-tabs{margin-left:0;flex-basis:100%}}
#community-clan-warsPage .ccw-section:has(.ccw-ranking-search),#community-clan-warsPage .ccw-player-ranking:has(.ccw-ranking-search),#community-clan-warsPage .ccw-ranking-search{overflow:visible;position:relative;z-index:3}
#community-clan-warsPage .ccw-ranking-search .ccw-player-filter{position:relative;overflow:visible}
#community-clan-warsPage .ccw-ranking-search .ccw-clan-results{position:absolute;top:62px;left:0;right:0;z-index:100;max-height:min(360px,50vh);overflow-y:auto;border:1px solid #45627f;border-radius:10px;box-shadow:0 14px 28px #0008;background:#101c2a}
#experimental-eloPage .ccw-elo-table tr>:nth-child(2){width:188px;padding-inline:9px}
#experimental-eloPage .ccw-elo-row-names.is-four{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 10px}
#experimental-eloPage .ccw-elo-row-names.is-four .ccw-elo-plus{display:none}
#experimental-eloPage .ccw-elo-row-names.is-four>a:nth-of-type(even)::before{content:'+ ';color:#7e9db7}
#experimental-eloPage .ccw-elo-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;margin:16px 10px}
.ccw-elo-pagination>button:first-child{justify-self:start}.ccw-elo-pagination>button:last-child{justify-self:end}.ccw-elo-pagination>span{text-align:center;white-space:nowrap}
.ccw-elo-streak-button{border:1px solid #4a886d;background:#183f32;border-radius:7px;color:#a4f2bf;padding:6px 9px;cursor:pointer;white-space:nowrap;font:inherit;font-weight:800}.ccw-elo-streak-button:hover{background:#245b45}.ccw-elo-streak-button:disabled{opacity:.5;cursor:default}
.ccw-elo-streak-dialog{box-sizing:border-box;width:min(800px,94vw);max-height:88vh;border:1px solid #49637a;border-radius:14px;background:#101e2c;color:#d8e8f5;padding:20px}
.ccw-elo-streak-dialog::backdrop{background:#040a12ba}.ccw-elo-streak-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:14px}.ccw-elo-streak-dialog h2{font-size:18px;margin:6px 0}.ccw-elo-streak-dialog>header button{display:grid;place-items:center;box-sizing:border-box;flex:0 0 32px;width:32px;height:32px;min-height:0;padding:0;line-height:1;border:1px solid #526b82;background:#233c50;color:#deedf8;border-radius:7px;cursor:pointer}.ccw-elo-streak-dialog>header button svg{display:block;margin:0}
.ccw-evidence-lineup{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}.ccw-evidence-own{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 7px}.ccw-evidence-own>b{font-size:10px;color:#8fb8d2}.ccw-evidence-own>strong{font-size:12px;color:#ecf4fb}.ccw-evidence-mates{font-size:10px;font-weight:400;color:#93aabc}.ccw-evidence-opposition{display:flex;flex-wrap:wrap;gap:3px 6px;align-items:baseline}.ccw-evidence-label{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#7f9db4}.ccw-evidence-opposition>b{font-size:10px;color:#aac3d4}.ccw-evidence-opponent-names{color:#c6d8e7;font-size:11px}.ccw-evidence-rules{display:inline-flex;flex-wrap:wrap;gap:4px}.ccw-evidence-rules>span{font-size:10px;line-height:1.4;color:#8ebad7;background:#21384a;border:1px solid #365269;border-radius:4px;padding:1px 5px}.ccw-evidence-warning{color:#e3bd7e;font-size:10px;line-height:1.4}
.ccw-elo-streak-dialog p{font-size:12px;line-height:1.6;color:#a8c0d4}.ccw-streak-list{max-height:48vh;overflow-y:auto;margin-top:15px}.ccw-elo-streak-dialog a{display:grid;grid-template-columns:28px 83px 60px minmax(0,1fr) 15px;gap:10px;align-items:center;border-top:1px solid #30485d;padding:10px 4px;text-decoration:none;color:#d8e8f5;font-size:12px}.ccw-elo-streak-dialog a small{display:block;color:#8cabc1;font-size:10px;margin-top:4px}.ccw-elo-streak-dialog footer{margin-top:16px;font-size:11px;color:#a9c2d5}.ccw-elo-partial{flex-basis:100%;color:#dfbd80!important;font-size:9px!important}
@media(max-width:520px){.ccw-elo-streak-dialog{padding:13px}.ccw-elo-streak-dialog a{grid-template-columns:20px 68px 46px minmax(0,1fr);gap:5px;font-size:10px}.ccw-elo-streak-dialog a>span:last-child{display:none}}
.profile-former-memberships{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.profile-former-membership{display:grid;grid-template-columns:32px minmax(0,1fr);gap:3px 10px;align-items:center;padding:12px;border:1px solid #405770;border-radius:10px;background:#142235}
.profile-former-membership.clan{border-color:#536b38;background:#1c291d}
.profile-former-type{grid-column:1/-1;color:#9ac6ee;font-size:.67rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.profile-former-membership.clan .profile-former-type{color:#d6f78c}
.profile-former-logo{grid-row:2/4;display:grid;place-items:center;width:32px;height:32px;overflow:hidden}
.profile-former-logo img{width:100%;height:100%;object-fit:contain}
.profile-former-membership a{color:#e9f3ff;font-weight:800;text-decoration:none;overflow-wrap:anywhere}
.profile-former-membership small{color:#a9bbcd;font-size:.7rem}
.ccw-elo-view-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.ccw-elo-view-tabs button{border:1px solid #466179;background:#172b3c;color:#c7dbea;border-radius:9px;padding:9px 14px;font-weight:750;cursor:pointer}.ccw-elo-view-tabs button[aria-pressed="true"]{background:#d8fa54;color:#142321;border-color:#d8fa54}
.ccw-research-rating{display:block;width:fit-content;max-width:100%;margin:5px 0 0;padding:3px 7px;border:1px solid #688c4d;border-radius:6px;background:#243822;color:#e1fac1;font-size:10px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}.ccw-score>.ccw-research-rating{margin:8px auto 0}
#experimental-eloPage .ccw-elo-table.is-ratings{min-width:1750px}#experimental-eloPage .ccw-elo-table.is-ratings tr>:is(:nth-child(3),:nth-child(4)){width:120px}#experimental-eloPage .ccw-elo-table.is-ratings tr>:nth-child(5){width:95px}#experimental-eloPage .ccw-elo-table.is-ratings tr>:nth-child(7){width:145px}#experimental-eloPage .ccw-elo-table.is-ratings tr>:is(:nth-child(11),:nth-child(12),:nth-child(14)){width:100px}#experimental-eloPage .ccw-elo-table.is-ratings tr>:nth-child(13){width:175px}#experimental-eloPage .ccw-elo-row-names.is-four>.ccw-elo-rating-badge{grid-column:1/-1;justify-self:start;margin-left:0}.ccw-ratings-guide{margin:10px 0;padding:10px 14px;border:1px solid #4e6a42;border-radius:9px;background:#172a24}.ccw-ratings-guide summary{color:#d5f3ad;font-weight:750;cursor:pointer}.ccw-ratings-guide p{font-size:.76rem;line-height:1.6;color:#b4cbbb}
.ccw-elo-rating-note,.ccw-elo-source-warning{padding:12px 15px;border:1px solid #41596d;border-radius:10px;background:#142536;color:#bdd0df;line-height:1.5}.ccw-elo-source-warning{margin:12px 0 17px;border-left:4px solid #e5b358}.ccw-elo-source-warning strong{color:#f5d594}.ccw-elo-source-warning p{margin:4px 0 0}
.ccw-elo-rating-badge{display:inline-flex;align-items:center;white-space:nowrap;margin-left:8px;padding:3px 7px;border:1px solid #88af38;border-radius:6px;background:#28361d;color:#e7ffb4;font-size:.67rem;font-weight:800}.ccw-elo-rating-cell strong{display:block;color:#dbfb78;font-size:.85rem}.ccw-elo-rating-cell small{white-space:nowrap}.ccw-elo-ranked-column{background:#284735!important;box-shadow:inset 2px 0 #d9fa61,inset -2px 0 #d9fa61}.ccw-elo-phase-button{border:1px solid #7dba58;background:#213922;color:#e4fdbb;border-radius:7px;padding:5px 7px;cursor:pointer;font-weight:800}.ccw-elo-phase-button:hover{background:#34542b}
.ccw-streak-context{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.ccw-streak-context span{padding:4px 7px;background:#203549;border:1px solid #466278;border-radius:6px;color:#d4e6f7;font-size:.7rem}
#experimental-eloPage .ccw-elo-method-button{border:1px solid #81a65b;border-radius:9px;background:linear-gradient(110deg,#263c30,#1d3448);color:#efffce;box-shadow:0 0 0 2px #75983c20}.ccw-elo-method-button:hover{filter:brightness(1.14)}
/* Elo ranking controls and cells share fixed boundaries, including Ratings. */
#experimental-eloPage .ccw-elo-phase-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:auto;min-width:0;min-height:24px;height:24px;padding:2px 6px;border-radius:5px;font-size:12px;line-height:1;white-space:nowrap}
#experimental-eloPage .ccw-elo-ranking-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;width:100%}
#experimental-eloPage .ccw-elo-ranking-toolbar>.field{display:flex;flex-direction:column;gap:6px;min-width:0;width:235px;margin:0;color:#acc6d9;font-size:12px}
#experimental-eloPage .ccw-elo-ranking-toolbar>.field:not(:first-child){width:165px}
#experimental-eloPage #competitiveEloFilters:empty{display:none}
#experimental-eloPage .ccw-elo-ranking-toolbar select{width:100%;min-width:0;height:36px;box-sizing:border-box;border:1px solid #466078;border-radius:8px;background:#101f2e;color:#e3eef7;padding:5px 9px;font:inherit}
#experimental-eloPage .ccw-elo-year-note{flex-basis:100%;margin:3px 0 0;line-height:1.5;font-size:11px;color:#9bb4c7}
#experimental-eloPage .ccw-elo-table tr>:nth-child(2){width:225px}
#experimental-eloPage .ccw-elo-row-names{display:block;min-width:0}
#experimental-eloPage .ccw-elo-row-names.is-formation{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px}
#experimental-eloPage .ccw-elo-row-names.is-formation>a{display:block;min-width:0;max-width:100%;box-sizing:border-box;padding:4px 6px;border:1px solid #3c5369;border-radius:6px;background:#1b2e40;font-size:12px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#experimental-eloPage .ccw-elo-row-names.is-formation>a:last-child:nth-child(odd){grid-column:1/-1;justify-self:start;max-width:100%}
#experimental-eloPage .ccw-elo-row-names.is-four>a:nth-of-type(even)::before{content:none}
#experimental-eloPage .ccw-elo-table tbody th>.ccw-elo-rating-badge{margin:7px 0 3px;max-width:100%;box-sizing:border-box;white-space:normal}
#experimental-eloPage .ccw-elo-rating-cell{min-width:0;overflow:hidden;vertical-align:middle}
#experimental-eloPage .ccw-elo-rating-cell small{white-space:normal;overflow-wrap:normal;word-break:normal;line-height:1.45;max-width:100%}
.ccw-elo-rating-na{display:flex;flex-direction:column;align-items:center;gap:3px;color:#7995ab;font-size:18px;font-weight:500}
.ccw-elo-rating-na small{font-size:10px!important;margin:0!important;font-weight:400}
#experimental-eloPage .ccw-elo-table .ccw-elo-ranked-column{background:#233d32!important;box-shadow:none;border-left-color:#426b56}
#experimental-eloPage .ccw-elo-table thead .ccw-elo-ranked-column{background:#31563e!important;color:#ecffd9;box-shadow:inset 0 -3px #c9f276}
.ccw-elo-sort-marker{display:block;width:fit-content;margin:5px auto 0;padding:2px 6px;border-radius:5px;background:#c9f276;color:#203322;font-size:9px;font-weight:800;letter-spacing:.03em;white-space:nowrap}
.ccw-elo-titlebar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 12px}.ccw-elo-titlebar .eyebrow{font-size:10px;color:#9bbcaf;margin:0 0 5px;letter-spacing:.08em}.ccw-elo-titlebar h1{font-size:clamp(24px,3vw,34px);line-height:1.2;margin:0;letter-spacing:-.025em}.ccw-elo-titlebar>span{font-size:11px;color:#95afc6}.ccw-elo-guide{margin:0 0 16px;border:1px solid #426e73;border-radius:10px;background:linear-gradient(105deg,#183638,#142638);overflow:hidden}.ccw-elo-guide>summary{display:flex;align-items:center;gap:12px;padding:13px 17px;list-style:none;cursor:pointer;color:#ccefe5}.ccw-elo-guide>summary::-webkit-details-marker{display:none}.ccw-elo-guide>summary>.ui-icon{width:21px;height:21px;color:#8fdbc1;flex:none}.ccw-elo-guide>summary>span{flex:1;min-width:0}.ccw-elo-guide>summary strong{display:block;font-size:13px}.ccw-elo-guide>summary small{display:block;font-size:10px;margin-top:4px;color:#a3bec9}.ccw-elo-guide>summary>b{display:flex;align-items:center;gap:9px;padding:6px 9px;border:1px solid #527f80;border-radius:5px;font-size:10px;color:#c9ece0}.ccw-elo-guide summary i{font-size:18px;font-style:normal;line-height:1;transition:transform .15s}.ccw-elo-guide[open]>summary{background:#214447;border-bottom:1px solid #426e73}.ccw-elo-guide[open]>summary i{transform:rotate(180deg)}.ccw-elo-guide>summary:focus-visible{outline:2px solid #b6f4d7;outline-offset:-3px}.ccw-elo-guide-body{padding:18px;background:#101d2b}.ccw-elo-guide-body .ccw-elo-hero{border:0;border-radius:0;padding:8px;background:none;gap:24px}.ccw-elo-guide-body .ccw-elo-hero h2{font-size:22px;margin:12px 0}.ccw-elo-guide-body .ccw-elo-reading-key{margin-bottom:16px}.ccw-elo-guide-body .ccw-elo-method{margin-bottom:0}.ccw-elo-guide-body .ccw-elo-method>header{padding:16px 20px;border-bottom:1px solid #344e62}.ccw-elo-guide-body .ccw-elo-method h2{font-size:17px;margin:0 0 5px}.ccw-elo-guide-body .ccw-elo-method header p{font-size:11px;color:#9eb6c9;margin:0}#experimental-eloPage>.ccw-elo-controls{padding:13px 16px}#experimental-eloPage>.ccw-elo-controls>header p{font-size:11px}
@media(max-width:650px){.ccw-elo-titlebar{align-items:flex-start;flex-direction:column;gap:6px}.ccw-elo-guide>summary{padding:12px;gap:9px}.ccw-elo-guide>summary>b>span{display:none}.ccw-elo-guide-body{padding:12px}.ccw-elo-guide-body .ccw-elo-hero{padding:0;grid-template-columns:1fr}.ccw-elo-guide-body .ccw-elo-hero aside{padding:12px 0 0}.ccw-elo-guide>summary small{line-height:1.5}}
@media(max-width:700px){#experimental-eloPage .ccw-elo-ranking-toolbar{width:100%;gap:9px}#experimental-eloPage .ccw-elo-ranking-toolbar>.field{flex:1 1 200px;width:auto}#experimental-eloPage .ccw-elo-ranking-toolbar>.field:last-child{flex:1 1 120px;width:auto}#experimental-eloPage .ccw-elo-ranking-toolbar select{font-size:16px;min-height:40px}}

/* Statistics community marks: preserve the logo, without its frame. */
#statisticsPage .community-kill-breakdown .community-logo{border:0;background:transparent;border-radius:0;box-shadow:none;padding:0;overflow:visible}

/* Saved profile framing: a canonical crop, independent of card dimensions. */
.profile-media-frame{container-type:size}
.profile-media-frame>.profile-media-canvas{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;overflow:hidden;width:min(100cqw,100cqh);height:min(100cqw,100cqh)}
.profile-media-frame.media-banner>.profile-media-canvas{width:min(100cqw,320cqh);height:min(100cqh,31.25cqw)}
.profile-media-canvas>img{position:absolute;display:block;max-width:none;max-height:none;border-radius:0;object-position:center}
.tournament-highlight-copy>.tournament-highlight-title{display:flex;align-items:flex-start;gap:12px;line-height:1.4;margin:0}
.tournament-highlight-title>a{padding-top:1px;text-decoration:none}
.tournament-highlight-title>.tournament-highlight-logo{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:38px}
.tournament-highlight-logo :is(img,svg){display:block;max-width:40px;max-height:36px;width:auto;height:auto;object-fit:contain;border:0;background:none}
.tournament-highlight-place{font-size:1.08rem;padding:5px 8px;border-radius:6px;background:#ffd45b15;border:1px solid #ffd45b55;white-space:nowrap}
.place-2 .tournament-highlight-place{background:#c7d0df16;border-color:#c7d0df66}.place-3 .tournament-highlight-place{background:#d58b6218;border-color:#d58b6266}
.profile-competition-team .competition-place,.profile-match-team .competition-place{font-size:17px;padding:6px 10px;font-weight:800}
.profile-tournament-match-groups{display:grid;gap:16px}
.profile-tournament-match-group{border:1px solid #3c536b;border-radius:10px;overflow:hidden;background:#111f2e}
.profile-tournament-match-group>header{display:flex;align-items:flex-start;gap:14px;padding:16px;background:linear-gradient(110deg,#23384a,#142334)}
.profile-match-event-logo{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px}.profile-match-event-logo img{max-width:46px;max-height:46px;object-fit:contain}
.profile-tournament-match-group>header>div{min-width:0;display:grid;gap:7px}.profile-tournament-match-group header a{text-decoration:none;color:#e7f4ff}
.profile-tournament-match-group small{color:#a4bad0;font-size:11px}
.profile-match-team{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:4px}.profile-match-team>b{color:#e4d5aa}
.profile-tournament-matches-pending{padding:18px;border-top:1px solid #344b62;color:#adc3d7;font-size:12px}.profile-tournament-matches-pending strong{color:#d9e9f6}.profile-tournament-matches-pending p{margin:7px 0 0;line-height:1.6}
