/* Palette: white pages, black bands (header, fighter hero, footer), red for action and emphasis.
   --accent is the fill red (white text on it passes contrast); --accent-text is a slightly deeper
   red that stays readable as text on white. */
:root {
  --paper: #FFFFFF;        /* page background: pure white */
  --surface: #FFFFFF;      /* cards, tables */
  --surface-2: #EEF0F3;    /* hover rows, bar tracks, inputs */
  --ink: #0B0C10;          /* main text: near-black for weight */
  --muted: #4B5261;
  --line: #DDE1E7;
  --accent: #C8102E;
  --accent-deep: #9E0C24;
  --accent-text: #B30E28;
  --band: #0E0F12;         /* black sections */
  --band-ink: #FFFFFF;
  --band-muted: #B8BEC8;
  --band-line: #2A2D34;
  --red: #D9343F;          /* red corner */
  --blue: #2F63D6;         /* blue corner */
  --win: #1E9E5A;
  --loss: #D9343F;
  --other: #8A919D;
  --ko: #C8102E;
  --sub: #15171C;
  --dec: #A8AFBA;
  --gold: #C99A2E;
  --shadow: 0 1px 2px rgb(16 18 24 / .06), 0 8px 22px rgb(16 18 24 / .08);
  --radius: 8px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 17px/1.55 var(--body); }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--accent-text); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.3rem, 6.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: 1.6rem; font-weight: 800; margin-top: 2.6rem; text-transform: uppercase; letter-spacing: .03em; }
h2::after { content: ""; display: block; width: 36px; height: 3px; background: var(--accent); margin-top: .3em; border-radius: 2px; }
.aside-box h2::after, .box-black h2::after, .box-red h2::after { background: currentColor; opacity: .5; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 .8em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.empty { padding: 1.5rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Cards: the one look every boxed thing shares */
.card, .bouts, .history, .tbl, .tape, .rec-card, .stat-group, .next-card, .faq details, .search-results, .answer {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Header: black band, red rule. Pinned only on wide screens (on phones it would eat the view). */
.top { background: var(--band); color: var(--band-ink); border-bottom: 3px solid var(--accent); z-index: 10; }
@media (min-width: 768px) { .top { position: sticky; top: 0; } }
.top-inner { display: flex; align-items: center; gap: 22px; min-height: 60px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { font: 800 1.6rem/1 var(--display); text-decoration: none; letter-spacing: .01em; color: #fff; }
.brand em { font-style: normal; color: #FF4A5E; }
.nav { display: flex; gap: 18px; font-weight: 600; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; color: var(--band-muted); padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a[aria-current], .nav a:hover { color: #fff; border-color: #FF4A5E; }
.search { position: relative; margin-left: auto; flex: 1 1 200px; max-width: 320px; }
.search input { width: 100%; font: inherit; font-size: 16px; padding: 9px 12px; border-radius: 6px; border: 1px solid var(--band-line); background: #1C1E24; color: #fff; }
.search input:focus { border-color: #FF4A5E; outline: none; }
.search input::placeholder { color: var(--band-muted); }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 4px; list-style: none; color: var(--ink); max-height: 60vh; overflow: auto; box-shadow: 0 12px 32px rgb(0 0 0 / .18); }
.search-results a { display: block; padding: 8px 10px; text-decoration: none; border-radius: 4px; }
.search-results a:hover, .search-results a.on { background: var(--surface-2); color: var(--ink); }
.search-results small { display: block; color: var(--muted); }
@media (max-width: 560px) {
  .top-inner { gap: 12px 16px; }
  .nav { order: 2; flex-basis: 100%; gap: 16px; font-size: .95rem; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
}

main { padding-bottom: 4rem; }
.crumbs { font-size: .9rem; color: var(--muted); margin: 1.4rem 0 .5rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-text); }
.page-head { margin-top: 2rem; margin-bottom: 1.4rem; }
.page-head h1::before, .intro h1::before { content: ""; display: block; width: 56px; height: 5px; background: var(--accent); margin-bottom: .5em; border-radius: 2px; }

/* Full-width black band inside the container (no horizontal overflow) */
.band { background: var(--band); color: var(--band-ink); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }

/* Fighter hero: black band, the record is the centerpiece */
.hero { padding: 1.6rem 0 1.8rem; margin-bottom: .6rem; background: var(--band); color: var(--band-ink);
  box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); border-bottom: 4px solid var(--accent); }
.hero .crumbs, .hero .crumbs a { color: var(--band-muted); }
.hero-id { display: flex; gap: 20px; align-items: center; }
.hero h1 { margin: 0; color: #fff; }
.nick { font: 600 1.3rem var(--display); color: var(--band-muted); margin: .1rem 0 .5rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: .3rem 0 0; }
.hero-tags span { font-size: .85rem; font-weight: 600; padding: 3px 9px; border-radius: 4px; background: rgb(255 255 255 / .12); color: #fff; }
.hero-tags .tag-win { background: var(--win); }
.hero-tags .tag-loss { background: var(--loss); }
.hero-tags .tag-rank { background: rgb(255 255 255 / .12) !important; border: 1px solid #FF4A5E; }
.hero-tags .tag-champ { background: var(--gold) !important; color: #000; border-color: var(--gold); }
.record { display: flex; gap: clamp(20px, 5vw, 52px); margin: 1.7rem 0 .5rem; }
.record div { display: flex; flex-direction: column; }
.record b { font: 800 clamp(4rem, 16vw, 8rem)/.85 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: #fff; }
.record span { font-weight: 600; color: var(--band-muted); margin-top: .4rem; }
.record-scope { margin: 0 0 .7rem; font-size: .85rem; color: var(--band-muted); }
.record div:first-child b { color: #3DD07F; }
.record-nc b { color: var(--band-muted); }
.form { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; color: var(--band-muted); font-weight: 600; margin: .6rem 0 0; }
.form .chip:first-of-type { margin-left: 6px; }
.cta-row { margin: 1.4rem 0 0; }
.hero .avatar-blank { color: var(--band-muted); border-color: var(--band-line); background: #1C1E24; }

.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; flex: none; background: var(--surface-2); }
.avatar-lg { width: 96px; height: 96px; }
.avatar-xl { width: 112px; height: 112px; }
.avatar-blank { display: inline-grid; place-items: center; font: 700 1.6rem var(--display); color: var(--muted); border: 2px solid var(--line); }
.avatar-lg.avatar-blank, .avatar-xl.avatar-blank { font-size: 2.2rem; }
@media (max-width: 560px) { .avatar-lg { width: 76px; height: 76px; } .avatar-xl { width: 84px; height: 84px; } }

.chip { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 5px; border-radius: 4px;
  font: 700 .85rem/1 var(--display); letter-spacing: .02em; color: #fff; background: var(--other); }
.chip-win { background: var(--win); }
.chip-loss { background: var(--loss); }

/* Next fight */
/* Red section: the next fight */
.next-card { border: 0; border-left: 5px solid #7D0A1E; padding: 1.3rem 1.5rem; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; }
.next-card a { color: #fff; text-decoration-color: rgb(255 255 255 / .5); }
.next-card a:hover { color: #fff; text-decoration-color: #fff; }
.next-card .next-extra, .next-card .muted, .next-card .vs { color: rgb(255 255 255 / .85); }
.next-card .countdown { color: #fff; }
.next-none { background: var(--band); border-left-color: var(--accent); }
.next-vs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font: 700 1.7rem/1.1 var(--display); margin-bottom: .5rem; }
.next-card p { margin: .25rem 0; }
.next-extra { color: var(--muted); }
.vs { font: 600 1rem var(--display); color: var(--muted); }
.countdown { font: 700 1.1rem var(--display); color: var(--accent-text); margin-top: .5rem; }
.countdown:empty { display: none; }

.split { display: grid; gap: 0 48px; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; } }
.split h3 { margin-top: 0; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 0; }
.facts dt, .facts dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { color: var(--muted); padding-right: 24px; }
.facts dd { font-weight: 600; }
.facts small { font-weight: 400; color: var(--muted); }

.method { margin-bottom: 1.5rem; }
.method-head { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: .4rem; }
.method-head span:last-child { font: 700 1.4rem/1 var(--display); }
.bar { display: flex; height: 22px; gap: 2px; border-radius: 4px; overflow: hidden; background: var(--surface-2); }
.seg-ko { background: var(--ko); } .seg-sub { background: var(--sub); } .seg-dec { background: var(--dec); } .seg-other { background: var(--other); }
.legend { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; }
.legend b { color: var(--ink); }

.stats { display: grid; gap: 16px; }
@media (min-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } }
/* Black section: career stats */
.stat-group { padding: 1.3rem 1.5rem; background: var(--band); color: #fff; border-color: var(--band); }
.stat-group h3 { color: #fff; }
.stat-group dt, .stat-group .pctl { color: var(--band-muted); }
.stat-group .meter i { background: var(--band-line); }
.stat-group dl { display: grid; grid-template-columns: 1fr auto; margin: 0 0 1rem; gap: 8px 12px; }
.stat-group dt { color: var(--muted); }
.stat-group dd { margin: 0; font: 700 1.35rem/1.1 var(--display); text-align: right; }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; margin-top: .8rem; }
.meter b { font: 700 1.35rem/1.1 var(--display); }
.meter i { grid-column: 1 / -1; height: 7px; background: var(--surface-2); border-radius: 4px; position: relative; overflow: hidden; }
.meter i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--accent); border-radius: 4px; }
.pctl { display: block; grid-column: 1 / -1; font-size: .8rem; color: var(--muted); margin-top: 2px; }
dd .pctl { display: inline; }

.prose { max-width: 70ch; }
.about { max-width: 780px; }
.source, .credit { font-size: .85rem; color: var(--muted); }
.credit { margin-top: 2rem; }
.wiki-quote { margin: 1rem 0 0; padding: 10px 16px; border-left: 3px solid var(--line); color: var(--muted); }
.wiki-quote p { margin-bottom: .4em; }

/* Fight history */
.history { list-style: none; margin: 0; padding: 0; }
.h-row { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.h-row:last-child { border-bottom: 0; }
.h-row p { margin: 0; }
.h-opp { font-weight: 600; }
.h-how, .h-ev p:last-child { font-size: .9rem; color: var(--muted); }
.h-ev { grid-column: 2; font-size: .95rem; }
.h-stats { grid-column: 3; grid-row: 1 / span 2; display: flex; gap: 14px; font: 700 1.2rem/1 var(--display); text-align: center; }
.h-stats small { display: block; font: 500 .7rem var(--body); color: var(--muted); margin-top: 3px; }
@media (min-width: 820px) {
  .h-row { grid-template-columns: auto 1.1fr 1fr auto; }
  .h-ev { grid-column: 3; }
  .h-stats { grid-column: 4; grid-row: auto; }
}
.history-compact .h-row { grid-template-columns: auto 1fr; }
.belt { font: 700 .75rem var(--display); background: var(--gold); color: #000; padding: 1px 6px; border-radius: 3px; vertical-align: 2px; }

.faq details { margin-bottom: 8px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 13px 0; }
.faq details p { padding-bottom: 13px; margin: 0; }

/* Home poster: the next main event, on black */
.poster { margin: 1.6rem 0 0; padding: 1.6rem 20px 1.8rem; text-align: center; color: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%), linear-gradient(180deg, #1B0B0E, var(--band)); }
.poster a { color: inherit; }
.poster-when { font-weight: 600; opacity: .85; }
.poster-when a { font: 700 1.5rem var(--display); text-decoration: none; }
.poster-fight { display: flex; justify-content: center; align-items: center; gap: clamp(10px, 4vw, 48px); margin: 1rem 0; }
.poster-side { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; flex: 1; max-width: 280px; }
.poster-side b { font: 800 clamp(1.5rem, 6vw, 2.8rem)/1 var(--display); }
.poster-side span { opacity: .75; }
.poster-vs { font: 700 1.2rem var(--display); opacity: .6; }
.poster .avatar-blank { color: #fff; border-color: rgb(255 255 255 / .3); background: transparent; }
.poster-foot { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0; }
.poster .countdown { color: #fff; margin: .8rem 0 0; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 6px; background: var(--accent); color: #fff !important; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; box-shadow: 0 2px 6px rgb(200 16 46 / .3); }
.btn:hover { background: var(--accent-deep); }
.btn-ink { background: var(--accent); }
/* Home intro (no booked event yet): a red section */
.intro { margin: 1.6rem 0 0; padding: 1.8rem 24px 1.6rem; border-radius: var(--radius); background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; box-shadow: var(--shadow); }
.intro h1 { color: #fff; }
.intro h1::before { background: #fff; opacity: .7; }
.intro p { font-size: 1.1rem; margin: 0; opacity: .95; }
.intro a { color: #fff; text-decoration-color: rgb(255 255 255 / .5); }
.intro a:hover { color: #fff; text-decoration-color: #fff; }

.cols { display: grid; gap: 0 56px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1.7fr 1fr; } }
.ev-block { margin-bottom: 2rem; }
.ev-block h3 { margin-bottom: .1rem; }
.ev-block h3 a { text-decoration: none; }

/* Bouts */
.bouts { list-style: none; margin: .6rem 0; padding: 0; }
.bout { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.bout:last-child { border-bottom: 0; }
.bout-meta { display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: 2px; }
.bout-names { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 700 1.3rem/1.2 var(--display); }
.bout-names .won { color: var(--ink); }
.bout-names .lost { color: var(--muted); font-weight: 600; }
.bout-names .pending { border-bottom: 3px solid; }
.bout-names .corner-red.pending { border-color: var(--red); }
.bout-names .corner-blue.pending { border-color: var(--blue); }
.vs-link { text-decoration: underline; }
.bout-title { box-shadow: inset 4px 0 var(--gold); }
.bonus { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.bonus span { font-size: .75rem; font-weight: 600; background: var(--surface-2); padding: 2px 8px; border-radius: 4px; }
.bouts-full .bout-names { font-size: 1.5rem; }

.plain-list, .rank-list { list-style: none; margin: 0; padding: 0; }
.plain-list li, .rank-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.plain-list span, .rank-list span { color: var(--muted); white-space: nowrap; font-size: .95rem; }
.plain-list li { flex-wrap: wrap; }
.rank-list { counter-reset: r; }
.rank-list li::before { counter-increment: r; content: counter(r); font: 700 1.1rem var(--display); color: var(--accent-text); width: 1.6em; flex: none; }
.rank-list li a { flex: 1; }
.rank-list.compact li { padding: 7px 0; font-size: .95rem; }
.rank-list.compact li:last-child { border-bottom: 0; }
.counts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 1.2rem 0; }
.counts { background: var(--band); color: #fff; padding: 1.2rem 1.5rem; border-radius: var(--radius); }
.counts dt { color: var(--band-muted); font-size: .9rem; }
.counts dd { margin: 0; font: 800 2rem/1 var(--display); color: #fff; }

/* Lists */
.az { display: flex; flex-wrap: wrap; gap: 5px; margin: 1rem 0 .6rem; }
.az a { min-width: 36px; padding: 6px 9px; text-align: center; text-decoration: none; font: 700 1rem var(--display); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.az a[aria-current] { background: var(--accent); border-color: var(--accent); color: #fff; }
.f-list { list-style: none; padding: 0; margin: 0; columns: 1; }
@media (min-width: 700px) { .f-list { columns: 2; column-gap: 40px; } }
.f-list li { break-inside: avoid; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.f-list a { text-decoration: none; flex: 1 1 auto; }
.f-rec { font: 600 1rem var(--display); font-variant-numeric: tabular-nums; }
.f-list .muted { flex-basis: 100%; font-size: .85rem; }
.count { font: 500 1rem var(--body); }
.ev-list { list-style: none; padding: 0; margin: 0; }
.ev-list li { display: grid; grid-template-columns: 1fr auto; gap: 0 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ev-list a { font-weight: 600; }
.ev-list .muted { grid-column: 1 / -1; font-size: .9rem; }
.year-jump { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 1.5rem 0 0; font: 600 1.05rem var(--display); }

/* Tables */
.table-wrap { overflow-x: auto; margin: .4rem 0 1rem; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 11px 14px; text-align: right; }
.tbl th:first-child { text-align: left; font-weight: 500; }
.tbl thead th { font: 700 .95rem var(--display); color: var(--muted); border-bottom: 2px solid var(--accent); background: #FAFBFC; }
.tbl tbody td, .tbl tbody th { border-bottom: 1px solid var(--line); }
.tbl tbody tr:last-child td, .tbl tbody tr:last-child th { border-bottom: 0; }
.tbl tbody tr:hover td, .tbl tbody tr:hover th { background: #F7F8FA; }
.tbl tr.won th { font-weight: 700; }
.rec-tbl td, .rec-tbl th { text-align: left; }
.rec-tbl td.val { font: 700 1.15rem var(--display); white-space: nowrap; }
.rec-tbl td.rk { color: var(--accent-text); font: 700 1rem var(--display); width: 2.5em; }
.rec-tbl th[scope="row"] { font-weight: 600; }
.pro-tbl td, .pro-tbl th { padding-top: 8px; padding-bottom: 8px; }
.nowrap { white-space: nowrap; }
@media (max-width: 640px) { .hide-sm { display: none; } .tbl th, .tbl td { padding: 10px 10px; } }

/* Matchup / compare */
.vs-head { display: flex; justify-content: center; align-items: center; gap: clamp(10px, 4vw, 48px); margin-top: 1.6rem; }
.vs-side { flex: 1; max-width: 260px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; padding-bottom: 10px; border-bottom: 5px solid; }
.vs-side b { font: 800 clamp(1.4rem, 5vw, 2.4rem)/1 var(--display); text-align: center; }
.vs-side span { color: var(--muted); }
.vs-red { border-color: var(--red); }
.vs-blue { border-color: var(--blue); }
.vs-head .poster-vs { color: var(--muted); }
.vs-title { font-size: clamp(1.5rem, 4vw, 2rem); text-align: center; margin: 1.2rem 0 .3rem; }
.tape { padding: 8px 18px; max-width: 760px; margin: 0 auto; }
.tape-row { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "l l" "a b" "ba bb"; gap: 2px 8px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.tape-row:last-child { border-bottom: 0; }
@media (min-width: 640px) {
  .tape-row { grid-template-columns: 1fr 1.4fr 1fr; grid-template-areas: "a l b" "ba l bb"; align-items: center; }
}
.tape-l { grid-area: l; text-align: center; color: var(--muted); font-size: .9rem; }
.tape-v { font: 700 1.4rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
.tape-a { grid-area: a; }
.tape-b { grid-area: b; text-align: right; }
.tape-bar { height: 6px; position: relative; background: var(--surface-2); border-radius: 3px; }
.tape-bar i { position: absolute; top: 0; bottom: 0; width: var(--v); border-radius: 3px; }
.tape-bar-a { grid-area: ba; } .tape-bar-a i { right: 0; background: var(--red); }
.tape-bar-b { grid-area: bb; } .tape-bar-b i { left: 0; background: var(--blue); }
.tape-form .tape-v { display: flex; gap: 3px; }
.tape-form .tape-b { justify-content: flex-end; }
.tape-v .edge { color: var(--accent-text); }
.cmp-pickers { display: grid; gap: 14px; margin: 1.2rem 0; }
@media (min-width: 700px) { .cmp-pickers { grid-template-columns: 1fr 1fr; } }
.cmp-pick { position: relative; }
.cmp-pick label { display: block; font-weight: 600; margin-bottom: 4px; color: var(--muted); }
.cmp-pick input { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.cmp-pick-a input { border-left: 4px solid var(--red); }
.cmp-pick-b input { border-left: 4px solid var(--blue); }
.cmp-pick input:focus { outline: none; border-color: var(--accent); }
.cmp-results { z-index: 5; }
.cmp-tape { margin-top: 1.2rem; }
.center-box { margin: 1rem auto; text-align: center; border-left: 0; border-top: 4px solid #7D0A1E; }

/* Footer: black band */
.foot { background: var(--band); color: var(--band-muted); border-top: 3px solid var(--accent); padding: 1.8rem 0 2.6rem; font-size: .9rem; }
.foot strong { color: #fff; }
.foot a { color: #fff; margin-right: 16px; text-decoration-color: var(--band-line); }
.foot a:hover { color: #FF4A5E; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Records, lists, analysis */
.lead { font-size: 1.12rem; max-width: 760px; }
.small-lead { font-size: 1.02rem; }
/* Red section: the analysis answer */
.answer { font-size: 1.2rem; font-weight: 600; max-width: 760px; padding: 16px 20px; border: 0; border-left: 5px solid #7D0A1E; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 1rem 0 1.2rem; }
.pills a { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: .9rem; font-weight: 600; }
.pills a:hover { border-color: var(--accent); }
.pills a[aria-current] { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag-mini { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); padding: 0 5px; border-radius: 3px; vertical-align: 1px; }
.rec-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rec-cards.wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.rec-card { padding: 16px 18px 8px; }
.rec-card:hover { border-color: var(--accent); }
.rec-card h3 { font-size: 1.15rem; }
.rec-card h3 a { text-decoration: none; }
.rec-card h3 a:hover { color: var(--accent-text); }
.rec-card p { font-size: .95rem; color: var(--muted); }
.link-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.link-grid li { padding: 7px 0; border-bottom: 1px solid var(--line); }
details.more { margin-top: 1rem; }
details.more summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.bar-cell { min-width: 140px; }
.bar-cell b { font: 700 1.05rem var(--display); margin-left: 8px; }
.pbar { display: inline-block; vertical-align: middle; width: 90px; height: 8px; border-radius: 4px; background: var(--surface-2);
  background-image: linear-gradient(var(--accent), var(--accent)); background-size: var(--v) 100%; background-repeat: no-repeat; }
.pct-list { list-style: none; padding: 0; margin: 0; }
.pct-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pct-list .pbar { grid-column: 1 / -1; width: 100%; }

/* Rankings */
.tag-rank { background: var(--surface-2) !important; border: 1px solid var(--accent); }
.tag-champ { background: var(--gold) !important; color: #000; border-color: var(--gold); }
.champ-row th, .champ-row td { background: color-mix(in srgb, var(--gold) 12%, #fff); }
.rank-grid { display: grid; gap: 0 28px; }
@media (min-width: 960px) { .rank-grid { grid-template-columns: 1fr 1fr; } }
.rank-tbl td.rk { width: 3em; }

/* Schedule */
.sched-event { margin-top: 1.8rem; }
.sched-event h2 { margin-bottom: .2rem; }
.sched-event h2 a { text-decoration: none; }

/* Breadcrumb directly above a fighter hero joins the black band */
.crumbs:has(+ .hero) { margin: 0; padding: 1rem 0 0; color: var(--band-muted); background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
.crumbs:has(+ .hero) a { color: var(--band-muted); }
.crumbs:has(+ .hero) + .hero { padding-top: 1.2rem; }

/* Coloured boxes used by templates */
.aside-box { padding: 1.2rem 1.5rem 1rem; border-radius: var(--radius); margin-top: 2.2rem; }
.aside-box h2 { margin-top: 0; }
.box-red { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; }
.box-red a, .box-red .plain-list span { color: #fff; }
.box-red .plain-list li { border-color: rgb(255 255 255 / .25); }
.box-red a { text-decoration-color: rgb(255 255 255 / .5); }
.box-red a:hover { text-decoration-color: #fff; }
.box-black { background: var(--band); color: #fff; }
.box-black a, .box-black .rank-list span { color: #fff; }
.box-black .rank-list li { border-color: var(--band-line); }
.box-black .rank-list li::before { color: #FF4A5E; }
.box-white { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rb-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 18px; }
.rb-list li:last-child { border-bottom: 0; }
.faq details { padding: 0 20px; }
.faq summary { font-weight: 700; }
strong, b { font-weight: 700; }
.lead { font-weight: 500; }
.bout-meta { font-weight: 500; }

/* ===================== Home ===================== */
html { overflow-x: clip; }
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.hm-sec { margin-top: 3.2rem; }
.hm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 1rem; }
.hm-head h2 { margin: 0; }
.hm-more { font-weight: 700; font-size: .95rem; color: var(--accent-text); text-decoration: none; white-space: nowrap; }
.hm-more:hover { text-decoration: underline; }
.btn-ghost { background: transparent; border: 2px solid rgb(255 255 255 / .55); box-shadow: none; padding: 8px 16px; }
.btn-ghost:hover { background: #fff; color: var(--ink) !important; border-color: #fff; }

/* Hero: what the site is about, with a big fighter search */
.hm-hero { position: relative; color: #fff; background:
    radial-gradient(55% 80% at 0% 100%, rgb(217 52 63 / .35), transparent 70%),
    radial-gradient(55% 80% at 100% 0%, rgb(47 99 214 / .22), transparent 70%),
    linear-gradient(115deg, transparent 0 58%, rgb(200 16 46 / .14) 58% 66%, transparent 66%),
    repeating-linear-gradient(0deg, rgb(255 255 255 / .025) 0 1px, transparent 1px 4px),
    #0B0C10;
  border-bottom: 4px solid var(--accent); }
.hm-hero-in { max-width: 1080px; margin: 0 auto; padding: clamp(2.6rem, 8vw, 5rem) 20px clamp(2.4rem, 6vw, 4rem); text-align: center; }
.hm-eyebrow { margin: 0 0 1rem; }
.hm-pill { display: inline-block; background: var(--accent); color: #fff; font: 700 .78rem var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.hm-title { font-size: clamp(2.4rem, 7.5vw, 5rem); line-height: .95; text-transform: uppercase; max-width: 15ch; margin: 0 auto .9rem; color: #fff; }
.hm-title em { font-style: normal; color: #ff3b4e; }
.hm-lede { color: var(--band-muted); font-size: clamp(1rem, 2.4vw, 1.2rem); max-width: 54ch; margin: 0 auto 1.8rem; }
.hm-search { position: relative; max-width: 640px; margin: 0 auto; text-align: left; }
.hm-search input { width: 100%; font: 600 1.15rem var(--body); padding: 18px 20px 18px 56px; border-radius: 10px; border: 2px solid transparent; background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%23C8102E' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='9.5' cy='9.5' r='7'/%3E%3Cpath d='m15 15 5.5 5.5'/%3E%3C/svg%3E") no-repeat 20px 50%;
  color: var(--ink); box-shadow: 0 10px 40px rgb(0 0 0 / .45), 0 0 0 6px rgb(200 16 46 / .25); }
.hm-search input:focus { outline: none; border-color: var(--accent); }
.hm-search .search-results { font-size: 1rem; }
.hm-try { margin: 1.1rem 0 0; color: var(--band-muted); font-size: .92rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.hm-try a { color: #fff; text-decoration: none; padding: 4px 11px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .22); font-weight: 600; }
.hm-try a:hover { border-color: var(--accent); background: rgb(200 16 46 / .2); color: #fff; }
.hm-count { font: 700 1rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.hm-count:empty { display: none; }
.hm-count b { color: #ff5a6a; font-size: 1.3em; margin-right: 4px; }
.hm-belt { display: inline-block; padding: 4px 10px; border-radius: 4px; background: var(--gold); color: #1a1405; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }

/* Next main event feature (top of "Upcoming events") */
.hm-main { display: grid; gap: 18px 28px; align-items: center; margin-bottom: 16px; padding: 22px 24px; border-radius: var(--radius); color: #fff;
  background: radial-gradient(70% 140% at 0% 50%, rgb(217 52 63 / .3), transparent 60%), radial-gradient(70% 140% at 100% 50%, rgb(47 99 214 / .28), transparent 60%), #0E0F12;
  box-shadow: var(--shadow); }
@media (min-width: 900px) { .hm-main { grid-template-columns: 1fr 1.6fr auto; } }
.hm-main a { color: #fff; }
.hm-main-info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hm-main-ev { font: 800 1.5rem/1.05 var(--display); text-decoration: none; text-transform: uppercase; }
.hm-main-when { color: var(--band-muted); font-size: .9rem; }
.hm-main-fight { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 10px; }
.hm-main-side { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; text-decoration: none; min-width: 0; }
.hm-main-side b { font: 800 clamp(1.1rem, 3.4vw, 1.5rem)/1 var(--display); text-transform: uppercase; }
.hm-main-side small { color: var(--band-muted); font-size: .8rem; }
.hm-main-vs { align-self: center; margin-top: -1.6rem; font: 800 1.1rem var(--display); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); }
.hm-ring { display: inline-grid; padding: 4px; border-radius: 50%; margin-bottom: 4px; }
.hm-red .hm-ring { background: conic-gradient(from 200deg, var(--red), #ff8a8f, var(--red)); }
.hm-blue .hm-ring { background: conic-gradient(from 200deg, var(--blue), #8fb0ff, var(--blue)); }
.hm-ring .avatar { border: 3px solid #0E0F12; }
.hm-ring .avatar-blank { background: #1A1C22; color: #fff; }
.hm-main-act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 899px) { .hm-main-info { align-items: center; text-align: center; } .hm-main-act { justify-content: center; } }

/* Numbers strip */
.hm-strip { background: linear-gradient(90deg, var(--accent-deep), var(--accent) 50%, var(--accent-deep)); color: #fff; }
.hm-strip-in { max-width: 1080px; margin: 0 auto; padding: 1.1rem 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hm-strip-in div { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; }
.hm-strip-in div + div { border-left: 1px solid rgb(255 255 255 / .25); }
.hm-strip dd { margin: 0; font: 800 clamp(1.5rem, 4.5vw, 2.4rem)/1 var(--display); }
.hm-strip dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
@media (max-width: 560px) { .hm-strip-in { grid-template-columns: repeat(2, 1fr); row-gap: 14px; } .hm-strip-in div:nth-child(3) { border-left: 0; } }

/* Upcoming event cards */
.hm-events { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.hm-ev { display: flex; gap: 14px; padding: 16px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.hm-ev:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 28px rgb(16 18 24 / .14); color: inherit; }
.hm-date { flex: none; width: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 6px; background: var(--band); color: #fff; padding: 8px 0; }
.hm-date b { font: 800 1.9rem/1 var(--display); }
.hm-date small { font-size: .62rem; font-weight: 700; letter-spacing: .08em; color: #ff6b79; margin-top: 3px; }
.hm-ev-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hm-ev-body b { font: 700 1.15rem/1.15 var(--display); }
.hm-ev-main { font-weight: 700; color: var(--accent-text); font-size: .92rem; }
.hm-ev-loc { color: var(--muted); font-size: .85rem; }

/* Champions */
.hm-champs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.hm-champ { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 10px 16px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.hm-champ:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgb(16 18 24 / .14); color: inherit; }
.hm-champ .avatar { margin-bottom: 6px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold); }
.hm-champ-div { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hm-champ b { font: 800 1.2rem/1.05 var(--display); }
.hm-champ-rec { font-weight: 700; color: var(--accent-text); font-size: .9rem; }

/* Latest results */
.hm-result { margin-bottom: 1.6rem; }
.hm-result header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.hm-result h3 { margin: 0; font-size: 1.35rem; }
.hm-result h3 a { text-decoration: none; }
.hm-result .muted { font-size: .9rem; }
.hm-card-link { font-weight: 700; font-size: .92rem; color: var(--accent-text); text-decoration: none; }
.hm-card-link:hover { text-decoration: underline; }

/* Side panels */
.hm-panel { border-radius: var(--radius); padding: 1.3rem 1.3rem 1.1rem; margin-top: 3.4rem; box-shadow: var(--shadow); }
.hm-panel + .hm-panel { margin-top: 1.4rem; }
.hm-panel h2 { margin-top: 0; font-size: 1.35rem; }
.hm-panel h2::after { background: currentColor; opacity: .5; }
.hm-panel-black { background: var(--band); color: #fff; }
.hm-panel-red { background: linear-gradient(140deg, var(--accent), var(--accent-deep)); color: #fff; }
.hm-panel a { color: #fff; }
.hm-streaks { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.hm-streaks li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--band-line); counter-increment: s; }
.hm-streaks li:last-child { border-bottom: 0; }
.hm-streaks li::before { content: counter(s); font: 800 1.1rem var(--display); color: #ff5a6a; width: 1.2em; }
.hm-streaks a { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-decoration: none; }
.hm-streaks .avatar { width: 36px; height: 36px; font-size: .9rem; }
.hm-streaks .avatar-blank { background: #1C1E24; color: var(--band-muted); border-color: var(--band-line); }
.hm-streaks .hm-who { display: flex; flex-direction: column; min-width: 0; }
.hm-streaks b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-streaks small { color: var(--band-muted); font-size: .78rem; }
.hm-streaks em { font: 800 1.5rem var(--display); font-style: normal; }
.hm-streaks a:hover b { color: #ff8a95; }
.hm-qs { list-style: none; margin: 0 0 .8rem; padding: 0; }
.hm-qs li { border-bottom: 1px solid rgb(255 255 255 / .22); }
.hm-qs a { display: block; padding: 10px 0; font-weight: 600; text-decoration: none; }
.hm-qs a::after { content: " →"; opacity: .7; }
.hm-qs a:hover { text-decoration: underline; }
.hm-panel-link { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; text-decoration: none; }

/* Record book cards */
.hm-recs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.hm-rec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.hm-rec h3 { margin: 0; padding: 14px 18px 10px; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.hm-rec h3 a { text-decoration: none; }
.hm-rec-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--band); color: #fff; text-decoration: none; }
.hm-rec-top:hover { color: #fff; background: #181A20; }
.hm-rec-top .avatar { width: 52px; height: 52px; box-shadow: 0 0 0 2px var(--gold); }
.hm-rec-top .avatar-blank { background: #1C1E24; color: #fff; border-color: transparent; font-size: 1.2rem; }
.hm-rec-top .hm-who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.hm-rec-top small { color: var(--gold); font: 800 .85rem var(--display); letter-spacing: .1em; }
.hm-rec-top b { font: 800 1.35rem/1.05 var(--display); }
.hm-rec-top strong { font: 800 2rem var(--display); color: #ff5a6a; }
.hm-rec-rest { margin: 0; padding: 6px 18px 10px 18px; list-style: none; counter-reset: rr 1; }
.hm-rec-rest li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); counter-increment: rr; }
.hm-rec-rest li:last-child { border-bottom: 0; }
.hm-rec-rest li::before { content: counter(rr); font: 700 1rem var(--display); color: var(--accent-text); width: 1.2em; }
.hm-rec-rest a { flex: 1; text-decoration: none; font-weight: 600; }
.hm-rec-rest a:hover { text-decoration: underline; }
.hm-rec-rest span { color: var(--muted); font-weight: 700; }

/* Explore tiles */
.hm-explore { margin-top: 3.6rem; margin-bottom: -4rem; background: var(--band); color: #fff; border-top: 4px solid var(--accent); }
.hm-explore-in { max-width: 1080px; margin: 0 auto; padding: 2.4rem 20px 3rem; }
.hm-explore h2 { margin-top: 0; }
.hm-tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.hm-tiles a { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); text-decoration: none; color: #fff;
  background: #16181D; border: 1px solid var(--band-line); transition: border-color .15s, transform .15s, background .15s; }
.hm-tiles a:hover { border-color: var(--accent); background: #1B1D23; transform: translateY(-2px); color: #fff; }
.hm-tiles b { font: 800 1.35rem var(--display); text-transform: uppercase; letter-spacing: .03em; }
.hm-tiles b::after { content: " →"; color: #ff5a6a; }
.hm-tiles span { color: var(--band-muted); font-size: .92rem; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .hm-ev, .hm-champ, .hm-tiles a, .hm-ring { transition: none; } }
/* Home refinements */
.hm-date { align-self: flex-start; min-height: 74px; }
.hm-tiles { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 640px) {
  .hm-champs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 4px 2px 12px; margin: 0 -20px; padding-inline: 20px; scrollbar-width: none; }
  .hm-champ { flex: 0 0 150px; scroll-snap-align: start; }
  .hm-tiles { grid-template-columns: 1fr 1fr; }
  .hm-tiles span { display: none; }
}
