/* CombatRap / Black & White — the shared presentation system. */
:root{--cr-page:#000;--cr-surface:#0c0c0c;--cr-raised:#161616;--cr-text:#f5f5f5;--cr-secondary:#aaa;--cr-border:#303030;--cr-map-land:#262626;--cr-map-line:#777;--cr-map-active:#eee;color-scheme:dark}
:root[data-cr-theme=white]{--cr-page:#fff;--cr-surface:#fafafa;--cr-raised:#f0f0f0;--cr-text:#111;--cr-secondary:#606060;--cr-border:#d9d9d9;--cr-map-land:#dedede;--cr-map-line:#888;--cr-map-active:#222;color-scheme:light}
html[data-cr-theme],html[data-cr-theme] body{background:var(--cr-page)!important;color:var(--cr-text)!important;--background-color:var(--cr-page);--color-primary:var(--cr-text);--color-secondary-text:var(--cr-secondary);--color-border:var(--cr-border);--cr-ink:var(--cr-text);--cr-paper:var(--cr-page);--cr-accent:var(--cr-text);--cr-muted:var(--cr-secondary);--cr-line:var(--cr-border)}
html[data-cr-theme] :is(.cx-page,.cx-fighter-modal,.co-page,.cds-shell){--cx-ink:var(--cr-text);--cx-red:var(--cr-text);--cx-line:var(--cr-border);--cx-muted:var(--cr-secondary);--co-ink:var(--cr-text);--co-line:var(--cr-border);--co-muted:var(--cr-secondary);--cds-ink:var(--cr-text);--cds-muted:var(--cr-secondary);--cds-line:var(--cr-border);--cds-accent:var(--cr-text)}
html[data-cr-theme] :is(.gh-viewport,.gh-navigation,.gh-footer,.gh-header,.gh-main,.gh-article,.gh-content,.cr-regions,.cx-dark,.cf-hero,.cx-fighter-hero,.cx-page,.co-page,.cds-page){background:var(--cr-page)!important;color:var(--cr-text)!important}
html[data-cr-theme] :is(h1,h2,h3,h4,h5,h6,.gh-navigation-menu a,.gh-navigation-actions a,.gh-footer a,.gh-card-title,.gh-content a,.gh-card-excerpt,.gh-article-excerpt){color:var(--cr-text)!important}
html[data-cr-theme] :is(input,select,textarea){background:var(--cr-page)!important;color:var(--cr-text)!important;border-color:var(--cr-border)!important;accent-color:var(--cr-text)}
html[data-cr-theme] :is(input,textarea)::placeholder{color:var(--cr-secondary)!important;opacity:1}
html[data-cr-theme] :is(button,.gh-button){color:var(--cr-text)}
html[data-cr-theme] :is(.gh-button,.gh-form-button,.gh-portal-triggerbtn-wrapper){background:var(--cr-text)!important;color:var(--cr-page)!important;border-color:var(--cr-text)!important}
html[data-cr-theme] :is(.gh-navigation,.gh-footer,.gh-card,.gh-content blockquote){border-color:var(--cr-border)!important}
html[data-cr-theme] :is(.cr-eyebrow,.cx-footnote,.cf-note,.co-note,.cds-caption,.cds-status,.cx-search-note,.cx-section-intro,.cf-edition,.gh-article-meta,.gh-card-meta,.cr-deck,.cx-map-kicker,.cr-atlas-kicker){color:var(--cr-secondary)!important}
html[data-cr-theme] :is(.cr-atlas,.cx-atlas){background:var(--cr-page)!important}
html[data-cr-theme] .cr-globe .cr-land{fill:var(--cr-map-land)!important;stroke:var(--cr-map-line)!important}
html[data-cr-theme] .cr-globe .cr-land.has-coverage{fill:var(--cr-map-line)!important}
html[data-cr-theme] .cr-globe .cr-land:is(.is-active,:hover){fill:var(--cr-map-active)!important}
html[data-cr-theme] :is(.cx-connector,.cr-connector) path{stroke:var(--cr-text)!important}
html[data-cr-theme] :is(.cx-connector,.cr-connector) circle{fill:var(--cr-text)!important}
html[data-cr-theme] :is(.cx-badges,.cf-tabs,.cx-chips,.cds-tabs) button[aria-pressed=true],html[data-cr-theme] :is(.cf-tabs,.cx-chips) button[aria-pressed=true],html[data-cr-theme] .cds-tabs button[aria-selected=true]{background:var(--cr-text)!important;color:var(--cr-page)!important;border-color:var(--cr-text)!important}
html[data-cr-theme] :is(.cx-featured-card,.cx-fighter-card,.cr-promo-card,.cf-event-card,.co-event-card,.cds-bout){border-color:var(--cr-border)!important;transition:transform .18s ease,border-color .18s ease}
html[data-cr-theme] :is(.cx-featured-card,.cx-fighter-card,.cr-promo-card,.co-event-card):hover{transform:translateY(-3px);border-color:var(--cr-text)!important}
html[data-cr-theme] :focus-visible{outline:2px solid var(--cr-text)!important;outline-offset:4px}
html[data-cr-theme] :is(dialog,.cx-fighter-modal){background:var(--cr-page)!important;color:var(--cr-text)!important;border-color:var(--cr-border)!important}
html[data-cr-theme] dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}
html[data-cr-theme] .cf-tool-nav{background:var(--cr-page)!important;border-color:var(--cr-border)!important;justify-content:flex-start;gap:25px;padding:17px max(24px,calc((100vw - 1240px)/2));scrollbar-width:thin}
html[data-cr-theme] .cf-tool-nav a{color:var(--cr-secondary)!important;padding:3px 0;position:relative;font-size:11px;letter-spacing:.04em}
html[data-cr-theme] .cf-tool-nav a:is(:hover,[aria-current=page]){color:var(--cr-text)!important}
.cf-tool-nav a[aria-current=page]::after{content:'';position:absolute;bottom:-17px;left:0;right:0;height:2px;background:var(--cr-text)}
.gh-navigation{border-bottom:1px solid var(--cr-border)}
.gh-navigation-logo img{max-height:58px;object-fit:contain}
html[data-cr-theme=black] :is(.gh-navigation-logo,.gh-footer-logo) img{filter:grayscale(1) brightness(0) invert(1)}
html[data-cr-theme=white] :is(.gh-navigation-logo,.gh-footer-logo) img{filter:grayscale(1) brightness(0)}
.cr-appearance{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:11px max(24px,calc((100vw - 1240px)/2));border-bottom:1px solid var(--cr-border);background:var(--cr-page);color:var(--cr-secondary);font:600 10px/1.2 var(--font-sans,Arial,sans-serif);letter-spacing:.12em;text-transform:uppercase}
.cr-appearance>span{margin-right:auto}
.cr-mode-switch{display:flex;gap:3px;border:1px solid var(--cr-border);border-radius:30px;padding:3px}
.cr-mode-switch button{display:flex;align-items:center;gap:7px;border:0;background:transparent;color:var(--cr-secondary);border-radius:20px;font:600 10px var(--font-sans,Arial,sans-serif);padding:7px 12px;cursor:pointer}
.cr-mode-switch button::before{content:'';width:10px;height:10px;border:1px solid currentColor;border-radius:50%}
.cr-mode-switch button[data-cr-mode=black]::before{background:currentColor}
.cr-mode-switch button[aria-pressed=true]{background:var(--cr-text);color:var(--cr-page)}
html[data-cr-theme] .cf-lab{border:1px solid var(--cr-border);border-radius:16px;padding:30px;margin-top:40px;scroll-margin-top:20px;background:var(--cr-page)!important}
.cf-lab .cf-section-heading{align-items:center}
.cf-lab .cf-section-heading h2{font-size:24px;letter-spacing:-.04em}
.cf-lab .cf-tabs{margin:0}
.cx-fighter-title h1{font-size:clamp(48px,6.2vw,88px);letter-spacing:-.065em}
.cx-fighter-title h1 em{font-style:normal}
.cx-search-box{border-radius:12px!important}
.cmx-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:35px 0}
.cmx-intro h3{font-size:clamp(36px,4vw,58px);font-weight:700;letter-spacing:-.055em;line-height:1.04;margin:10px 0 14px}
.cmx-intro p:not(.cr-eyebrow){font-size:14px;color:var(--cr-secondary);margin:0}
.cmx-edition{font-size:10px;line-height:1.8;letter-spacing:.1em;text-align:right;color:var(--cr-secondary)}
.cmx-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.cmx-toolbar nav{display:flex;gap:4px;flex-wrap:wrap;padding:4px;border:1px solid var(--cr-border);border-radius:9px}
.cmx-toolbar button,.cmx-tools a{font:600 11px var(--font-sans,Arial,sans-serif);padding:10px 12px;border:0;border-radius:5px;background:none;color:var(--cr-secondary);cursor:pointer;text-decoration:none}
.cmx-toolbar button[aria-pressed=true]{background:var(--cr-text);color:var(--cr-page)}
.cmx-tools{display:flex;align-items:center;gap:6px}.cmx-tools button,.cmx-tools a{border:1px solid var(--cr-border);color:var(--cr-text)}
.cmx-context{border-left:2px solid var(--cr-text);padding:12px 16px;font-size:12px;background:var(--cr-surface)}
.cmx-scroll{overflow:auto;border:1px solid var(--cr-border);border-radius:12px;scrollbar-color:var(--cr-secondary) var(--cr-page);scrollbar-width:thin;max-height:840px}
.cmx-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:690px;margin:0!important;font-size:13px}
.cmx-table th,.cmx-table td{border:0;border-right:1px solid var(--cr-border);border-bottom:1px solid var(--cr-border);padding:18px 16px;vertical-align:middle;text-align:center;min-width:190px;background:var(--cr-page);font-weight:400}
.cmx-table tr>:last-child{border-right:0}.cmx-table tbody tr:last-child>*{border-bottom:0}
.cmx-table thead th{position:sticky;top:0;z-index:3;padding:0;vertical-align:top}
.cmx-table th:first-child{width:165px;min-width:165px;text-align:left;position:sticky;left:0;z-index:2;background:var(--cr-surface);font-size:11px;font-weight:600}
.cmx-table thead th:first-child{z-index:4;padding:25px 18px;vertical-align:bottom}
.cmx-axis span{font-size:9px;letter-spacing:.1em;color:var(--cr-secondary)}.cmx-axis b{display:block;font-size:34px;line-height:1.4;letter-spacing:-.05em;margin-top:18px}.cmx-axis small{font-size:10px;color:var(--cr-secondary)}
.cmx-table th small{display:block;font-size:9px;color:var(--cr-secondary);font-weight:400;margin-top:4px}
.cmx-card{padding:0 16px 18px;min-height:315px;display:flex;flex-direction:column;align-items:center}
.cmx-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;min-height:42px;color:var(--cr-secondary)}
.cmx-card-top button{border:0;background:none;color:var(--cr-secondary);font-size:20px;padding:7px;cursor:pointer}
.cmx-portrait{height:125px;width:100%;position:relative;display:flex;justify-content:center;align-items:center;background:radial-gradient(ellipse,var(--cr-raised),var(--cr-page) 72%);overflow:hidden}
.cmx-portrait .cx-photo{width:100%;height:100%;margin:0;position:relative}
.cmx-portrait img{height:100%;width:100%;object-fit:contain;object-position:center top}
.cmx-portrait a{position:absolute;bottom:1px;right:3px;font-size:8px;color:var(--cr-secondary)}
.cmx-portrait .cx-silhouette{height:105px;max-width:110px;margin:auto}
.cmx-card>p{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--cr-secondary);margin:15px 0 6px}
.cmx-card h4{font-size:18px;line-height:1.15;letter-spacing:-.03em;min-height:43px;margin:0 0 7px;font-weight:750}
.cmx-card h4 button{font:inherit;border:0;background:none;padding:0;cursor:pointer;color:inherit}
.cmx-card h4 button:hover{text-decoration:underline;text-underline-offset:4px}
.cmx-country{display:flex;gap:6px;align-items:center;justify-content:center;font-size:10px;color:var(--cr-secondary)}
.cmx-country img{width:15px;height:11px;object-fit:cover}
.cmx-replace{margin-top:13px;border:1px solid var(--cr-border);background:none;font-size:9px;color:var(--cr-secondary);padding:7px 12px;border-radius:20px;cursor:pointer}
.cmx-add{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:315px;border:0;background:var(--cr-surface);color:var(--cr-secondary);cursor:pointer;gap:12px}
.cmx-add>span{display:grid;place-items:center;border:1px dashed var(--cr-secondary);width:58px;height:58px;border-radius:50%;font-size:30px;font-weight:300}
.cmx-add strong{font-size:13px;color:var(--cr-text)}.cmx-add small{font-size:10px}.cmx-add:hover{background:var(--cr-raised)}
.cmx-value{display:block;position:relative;font-size:17px;font-variant-numeric:tabular-nums;line-height:1.4;min-height:24px}
.cmx-star{font-size:10px;margin-left:6px;vertical-align:middle}.cmx-leader .cmx-value{font-weight:800}
.cmx-bar{display:block;height:3px;background:var(--cr-raised);margin-top:10px;border-radius:3px;overflow:hidden}.cmx-bar i{display:block;height:100%;background:var(--cr-secondary)}.cmx-leader .cmx-bar i{background:var(--cr-text)}
.cmx-vacant{color:var(--cr-border)}.cmx-scroll-note{font-size:10px;color:var(--cr-secondary);margin:0 0 10px;text-align:right}
.cmx-bottom{display:flex;justify-content:space-between;gap:20px;margin:18px 0;font-size:10px;color:var(--cr-secondary)}.cmx-bottom p{margin:0}.cmx-bottom>div{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}.cmx-bottom a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.cmx-method{font-size:11px;color:var(--cr-secondary);line-height:1.7;border-top:1px solid var(--cr-border);padding-top:16px}.cmx-method summary{cursor:pointer;font-weight:600;color:var(--cr-text)}.cmx-method p{margin:12px 0 0}
.cmx-drawer{inset:0 0 0 auto;max-height:100dvh;height:100dvh;width:min(450px,100%);max-width:100%;margin:0;padding:30px;border:0;border-left:1px solid var(--cr-border);background:var(--cr-page);color:var(--cr-text);font:14px/1.5 var(--font-sans,Arial,sans-serif);overflow:auto}
.cmx-drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:15px}.cmx-drawer-head h2{font-size:30px;letter-spacing:-.05em;margin:8px 0}.cmx-drawer-head button{font-size:28px;background:none;border:0;color:inherit;cursor:pointer;padding:8px}
.cmx-drawer input[type=search],.cmx-drawer select{width:100%;height:46px;border:1px solid var(--cr-border);border-radius:6px;padding:10px;font:inherit}.cmx-search-label{display:block;margin:18px 0 8px;font-size:11px;font-weight:600}.cmx-search-count{font-size:11px;color:var(--cr-secondary);margin:22px 0}
.cmx-results>button{width:100%;display:flex;align-items:center;gap:12px;padding:13px 0;border:0;border-bottom:1px solid var(--cr-border);background:none;color:var(--cr-text);text-align:left;cursor:pointer}.cmx-results>button:hover{background:var(--cr-surface)}.cmx-results>button>span:last-child{margin-left:auto;font-size:24px}.cmx-results strong{display:block;font-size:14px}.cmx-results small{display:block;font-size:10px;color:var(--cr-secondary);margin-top:5px}
.cmx-result-photo{width:48px;height:52px;flex:none;overflow:hidden}.cmx-result-photo .cx-photo,.cmx-result-photo img{width:100%;height:100%;object-fit:contain}.cmx-result-photo a{display:none}.cmx-result-photo svg{width:40px;height:45px}
.cmx-drawer fieldset{border:0;border-top:1px solid var(--cr-border);padding:18px 0;margin:20px 0}.cmx-drawer legend{font-weight:700;padding-right:10px}.cmx-drawer fieldset label{display:flex;gap:12px;align-items:center;margin:15px 0;font-size:13px}.cmx-drawer input[type=checkbox]{width:17px;height:17px;accent-color:var(--cr-text)}
.cmx-primary{width:100%;padding:14px;background:var(--cr-text);color:var(--cr-page)!important;border:0;border-radius:6px;cursor:pointer;font-weight:700}
.cmx-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1100px){.cmx-table:has(th:nth-child(5)){min-width:1050px}.cmx-table:has(th:nth-child(6)){min-width:1220px}}
@media(max-width:767px){.cr-appearance{padding:8px 20px}.cr-appearance>span{font-size:8px;letter-spacing:.07em}.cr-mode-switch button{padding:7px 10px}.cf-tool-nav{gap:22px!important}.cx-fighter-hero{padding-top:32px!important}html[data-cr-theme] .cf-lab{margin:25px 0;padding:20px 14px;border-radius:12px}.cf-lab .cf-section-heading{display:block}.cf-lab .cf-tabs{margin-top:18px}.cmx-intro{align-items:flex-start;margin:28px 0}.cmx-intro h3{font-size:37px}.cmx-edition{font-size:8px;min-width:90px;padding-top:6px}.cmx-toolbar nav{width:100%;justify-content:space-between;gap:0}.cmx-toolbar button{padding:9px 7px;font-size:10px}.cmx-tools{width:100%;justify-content:space-between}.cmx-table{min-width:650px}.cmx-table th:first-child{width:120px;min-width:120px;font-size:10px}.cmx-table th,.cmx-table td{padding:14px 10px}.cmx-table thead th{padding:0}.cmx-table thead th:first-child{padding:20px 10px}.cmx-card{padding:0 10px 16px}.cmx-bottom{display:block}.cmx-bottom>div{justify-content:flex-start;margin-top:10px}.cmx-drawer{padding:24px}.cmx-scroll{max-height:740px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.cmx-credit{font-size:8px;line-height:1.4;color:var(--cr-secondary);text-decoration:none;margin-top:7px}.cmx-credit:hover{text-decoration:underline}.cmx-no-photo{height:100%;display:grid;place-items:center}.cmx-portrait .cx-no-photo{width:100%;height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center}.cmx-portrait .cx-no-photo svg{width:65px;height:65px;fill:var(--cr-map-line)}.cmx-portrait .cx-no-photo small{font-size:9px;color:var(--cr-secondary)}
.gh-viewport>*{min-width:0;max-width:100%}.cx-fighters-page{width:100%}.cmx-scroll{width:100%;min-width:0;max-width:100%}.cmx-intro>div{min-width:0}
html[data-cr-theme] a{color:var(--cr-text)!important}
html[data-cr-theme] body :is(.gh-button,.gh-form-button){background:var(--cr-text)!important;color:var(--cr-page)!important}
html[data-cr-theme] :is(#cr-ocean,#cx-ocean) stop{stop-color:var(--cr-surface)}
html[data-cr-theme] :is(#cr-ocean,#cx-ocean) stop:first-child{stop-color:var(--cr-raised)}
html[data-cr-theme] .cr-globe [stroke]{stroke:var(--cr-map-line)}
html[data-cr-theme] .cr-globe text{fill:var(--cr-text)!important}
@media(max-width:767px){.cmx-intro{display:block}.cmx-edition{display:block;text-align:left;margin-top:17px}.cmx-intro h3 br{display:none}.cmx-intro h3{max-width:300px}.cmx-toolbar nav{justify-content:flex-start;gap:2px}.cmx-toolbar button{padding:9px 8px}.cmx-tools{gap:5px}.cmx-tools a{font-size:10px;padding:9px 8px}.cmx-scroll-note{text-align:left}}

/* Rank movement keeps its meaning in both monochrome appearance modes. */
:root{--cr-rank-up:#4ade80;--cr-rank-down:#f87171}
:root[data-cr-theme=white]{--cr-rank-up:#15803d;--cr-rank-down:#b91c1c}
html[data-cr-theme] :is(.cx-movement,.cx-movement.is-steady,.cr-r-move,.cf-rank-change,.cf-rank-change.is-steady){color:var(--cr-secondary)!important}
html[data-cr-theme] :is(.cx-movement.is-up,.cr-r-move.up,.cf-rank-change.is-up){color:var(--cr-rank-up)!important}
html[data-cr-theme] :is(.cx-movement.is-down,.cr-r-move.down,.cf-rank-change.is-down){color:var(--cr-rank-down)!important}
html[data-cr-theme] :is(.cx-movement,.cr-r-move,.cf-rank-change) :is(small,span){color:inherit!important}
