/* analytics.cageoracle.com -- one stylesheet for every page.
   Matches the approved fight-page design (dark, Big Shoulders Display for
   headings, IBM Plex Sans for text, IBM Plex Mono for numbers). */

:root {
  --bg: #0E0F11;
  --bar: #0B0C0E;
  --panel: #16181B;
  --panel-2: #1C1F23;
  --line: #2A2E33;
  --line-2: #23262A;
  --text: #ECE9E3;
  --muted: #A8A49C;
  --red: #E8613F;
  --red-text: #F5866A;
  --blue: #3D7BE0;
  --blue-text: #7AA7F2;
  --gold: #E9C46A;
  --gold-ink: #17140C;
  --win: #5CC98A;
  --loss: #F08080;
  --sharp: #8E8A83;
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); }
body { color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.5; }
a { color: inherit; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.red { color: var(--red-text); }
.blue { color: var(--blue-text); }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; left: -9999px; }

/* ---- header / footer ---- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bar); }
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand span { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: 0.06em; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; font-weight: 500; }
.main-nav a { color: var(--muted); text-decoration: none; }
.main-nav a.on, .main-nav a:hover { color: var(--text); }
.header-right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-left: auto; }
.header-right a { color: var(--text); text-decoration: none; font-size: 14px; }
.btn-gold { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; background: var(--gold); color: var(--gold-ink) !important; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); background: var(--bar); margin-top: 64px; }
.site-footer .wrap { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 18px 40px; font-size: 13px; color: var(--muted); }
.site-footer .about { flex: 1 1 340px; display: flex; flex-direction: column; gap: 6px; }
.site-footer .about strong { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: 0.06em; color: var(--text); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer nav a { color: var(--muted); }

/* ---- page title ---- */
.crumbs { padding: 22px 0 6px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs .here { color: var(--text); }
h1.title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 10vw, 54px); line-height: 1.02; letter-spacing: 0.01em; text-wrap: balance; }
.subtitle { margin: 8px 0 0; color: var(--muted); }
.when { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 14px; }
.when strong { font-weight: 600; }
.live { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--win); display: inline-block; }
.live.frozen i { background: var(--muted); }
.result-banner { margin-top: 18px; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; background: var(--panel); font-weight: 600; }

/* ---- matchup hero ---- */
.hero { margin-top: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-wrap: wrap; overflow: hidden; }
.corner { flex: 1 1 300px; padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.corner.red-c { border-top: 4px solid var(--red); }
.corner.blue-c { border-top: 4px solid var(--blue); }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.fighter-name { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; overflow-wrap: anywhere; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; font-size: 13px; }
.stats .k { color: var(--muted); }
.stats .v { font-family: var(--mono); font-size: 15px; }
.stats .v.txt { font-family: var(--sans); }
.corner .more { font-size: 14px; text-decoration: none; font-weight: 500; }
.center { flex: 1.35 1 380px; padding: 26px 28px; background: var(--panel-2); display: flex; flex-direction: column; gap: 18px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12px; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.label-row span + span { font-weight: 400; letter-spacing: 0; text-transform: none; text-align: right; }
.big-pcts { margin-top: 8px; display: flex; justify-content: space-between; font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1; }
.small-pcts { margin-top: 8px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 20px; }
.split { margin-top: 8px; display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; }
.split.thin { height: 6px; border-radius: 3px; margin-top: 6px; }
.split .ra { background: var(--red); }
.split .rb { background: var(--blue); flex: 1; }
.split.thin .ra, .split.thin .rb { opacity: 0.75; }
.note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.locked-model { margin-top: 8px; padding: 12px 14px; border: 1px dashed #4A4536; border-radius: 8px; font-size: 13px; color: var(--muted); }
.locked-model a { color: var(--gold); }
.best { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 10px; }
.best > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); min-width: 0; }
.best .who { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.best .price { font-family: var(--mono); font-size: 24px; font-weight: 600; color: var(--gold); }
.move { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.move svg { flex: none; margin-top: 2px; }
.move .mono { color: var(--text); }

/* ---- body layout ---- */
.cols { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.main-col { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.rail { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 24px 26px; }
.rail .panel { padding: 22px; }
.panel h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: 0.02em; line-height: 1.1; }
.rail .panel h2 { font-size: 26px; }
.panel .lede { margin: 6px 0 18px; color: var(--muted); font-size: 14px; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.panel-head .muted { font-size: 12px; }

/* ---- odds board ---- */
.ob-row { display: grid; grid-template-columns: minmax(0, 1fr) 80px 80px; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line-2); align-items: center; font-size: 14px; }
.ob-head { margin-top: 12px; font-size: 12px; color: var(--muted); padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.ob-head span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-row > span:nth-child(2), .ob-row > span:nth-child(3) { text-align: right; }
.ob-book { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ob-book b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font-size: 10px; letter-spacing: 0.06em; color: var(--muted); border: 1px solid #3A3E44; padding: 0 4px; border-radius: 3px; }
.px { font-family: var(--mono); padding: 2px 6px; border-radius: 4px; }
.px.best-px { background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.ob-fair { border-bottom: 0; padding: 9px 0 4px; font-size: 13px; color: var(--muted); }
.ob-fair span:nth-child(n+2) { font-family: var(--mono); }
.btn-line { margin-top: 10px; width: 100%; height: 40px; background: transparent; border: 1px solid var(--line); border-radius: 6px; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.small-note { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ---- line movement ---- */
.ranges { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.ranges button { height: 32px; padding: 0 12px; border-radius: 5px; border: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: 12px; cursor: pointer; }
.ranges button[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--bg); }
.chart-cap { margin-top: 14px; font-size: 12px; color: var(--muted); }
.chart { margin-top: 6px; display: flex; gap: 8px; }
.chart .ylab { position: relative; width: 34px; height: 180px; font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: right; }
.chart .ylab span { position: absolute; right: 0; transform: translateY(-50%); }
.chart .plot { flex: 1; min-width: 0; }
.chart svg { display: block; width: 100%; height: 180px; overflow: visible; }
.xlab { position: relative; height: 16px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.xlab span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.xlab span:first-child { transform: none; }
.xlab span:last-child { transform: translateX(-100%); }
.legend { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend .sw-us { width: 16px; height: 3px; background: var(--red); }
.legend .sw-sharp { width: 16px; height: 0; border-top: 2px dashed var(--sharp); }
.chart-sum { margin-top: 10px; font-size: 13px; }

/* ---- round output ---- */
.rounds { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-end; }
.rbars { display: flex; gap: 26px; align-items: flex-end; }
.rbar { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rbar .pair { display: flex; gap: 6px; align-items: flex-end; height: 128px; }
.rbar .col { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rbar .col span { font-family: var(--mono); font-size: 12px; }
.rbar .col i { display: block; width: 26px; border-radius: 3px 3px 0 0; }
.rbar .col.a i { background: var(--red); }
.rbar .col.b i { background: var(--blue); }
.rbar .lbl { font-size: 12px; color: var(--muted); }
.rounds-key { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }

/* ---- common opponents ---- */
.co-list { display: flex; flex-direction: column; gap: 12px; }
.co { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 10px; padding: 14px; background: var(--panel-2); border-radius: 8px; }
.co .opp { font-family: var(--display); font-weight: 600; font-size: 22px; align-self: center; line-height: 1.1; }
.co .side { padding-left: 12px; }
.co .side.a { border-left: 3px solid var(--red); }
.co .side.b { border-left: 3px solid var(--blue); }
.co .res { font-weight: 600; }
.co .res.w { color: var(--win); }
.co .res.l { color: var(--loss); }
.co .det { font-size: 12px; color: var(--muted); }
.co .who { font-size: 12px; }

/* ---- card list ---- */
.card-list { display: flex; flex-direction: column; }
.card-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px 96px; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--text); align-items: center; font-size: 14px; }
.card-row:hover .fav { text-decoration: underline; }
.card-row .fav { font-weight: 600; }
.card-row .flag { display: block; font-size: 12px; color: var(--gold); }
.card-row .res { display: block; font-size: 12px; color: var(--muted); }
.card-row .num { text-align: right; }
.card-row .num small { display: block; font-size: 11px; color: var(--muted); }
.card-row .num span { font-family: var(--mono); }
.seg-head { margin: 22px 0 0; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.seg-head:first-child { margin-top: 4px; }

.empty { margin-top: 28px; }


/* ---- shared bits added with the fighter and archive pages ---- */
.txt { color: var(--text); }
.gold { color: var(--gold); }
a.gold { color: var(--gold); }
.small-link { font-size: 14px; color: var(--text); }
.muted-strong { color: var(--text); font-weight: 400; }
.search input { width: 200px; max-width: 100%; height: 40px; padding: 0 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; color: var(--text); font: inherit; font-size: 14px; }
.search input::placeholder, .big-search input::placeholder { color: var(--muted); }
.big-search { margin-top: 18px; display: flex; gap: 10px; max-width: 560px; }
.big-search input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; color: var(--text); font: inherit; }
.big-search .btn-gold { height: 44px; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.fighter-name a { color: inherit; text-decoration: none; }
.fighter-name a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.result-banner .banner-note { margin-top: 4px; font-weight: 400; font-size: 14px; color: var(--muted); }

.ev-list { display: flex; flex-direction: column; }
.ev-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--text); font-size: 14px; }
.ev-row .ev-name { font-weight: 600; }
a.ev-row:hover .ev-name { text-decoration: underline; }

.stat-row, .stat-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.stat-row > span:nth-child(2), .stat-row > span:nth-child(3), .stat-head > span:nth-child(2), .stat-head > span:nth-child(3) { text-align: right; }

/* fighter page */
.form { display: inline-flex; gap: 4px; }
.form i { font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 600; width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 4px; }
.form .f-W { background: rgba(92, 201, 138, 0.16); color: var(--win); }
.form .f-L { background: rgba(240, 128, 128, 0.16); color: var(--loss); }
.form .f-D { background: var(--line); color: var(--muted); }
.next-fight { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding: 22px 26px; background: var(--panel-2); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; }
.nf-main { flex: 1 1 260px; min-width: 0; }
.nf-title { margin-top: 4px; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.1; }
.nf-title a { color: inherit; }
.nf-nums { display: flex; gap: 26px; }
.nf-nums small, .tiles small { display: block; font-size: 11px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.nf-nums span { font-family: var(--mono); font-size: 22px; font-weight: 600; }
.nf-nums em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.profile .stats.wide { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.fin { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.fin .k { display: inline-block; min-width: 92px; color: var(--muted); }
.pill { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--gold-ink); background: var(--gold); padding: 2px 7px; border-radius: 3px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 12px; }
.tiles > div { padding: 14px; background: var(--panel-2); border-radius: 8px; }
.tiles span { font-family: var(--mono); font-size: 22px; font-weight: 600; }
.callout { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.callout h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.callout p { margin: 0 0 6px; font-size: 14px; }
.pr-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 16px; }
.pr-units { font-family: var(--mono); font-size: 40px; font-weight: 600; line-height: 1; }
.pr-units.up, .pos { color: var(--win); }
.pr-units.down, .neg { color: var(--loss); }
.fh { display: grid; grid-template-columns: 100px minmax(0, 1fr) 64px 76px 70px; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; align-items: baseline; }
.fh-head { font-size: 12px; color: var(--muted); padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.fh .r { text-align: right; }
.fh-opp { min-width: 0; }
.fh-opp a { color: var(--text); font-weight: 600; text-decoration: none; }
.fh-opp a:hover { text-decoration: underline; }
.fh-opp small, .fh .r small { display: block; font-size: 12px; color: var(--muted); font-family: var(--sans); font-weight: 400; }
.fh-opp small a { color: var(--muted); font-weight: 400; text-decoration: underline; }
.res-W { color: var(--win); font-weight: 600; }
.res-L { color: var(--loss); font-weight: 600; }
.res-D { color: var(--muted); font-weight: 600; }
.cs { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.cs:last-child { border-bottom: 0; }
.cs-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.cs-bar { margin-top: 6px; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.cs-bar i { display: block; height: 100%; background: var(--gold); }
.cs-note { margin-top: 4px; font-size: 12px; color: var(--muted); }
.rbars.solo { gap: 22px; }
.name-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 20px; font-size: 14px; }
.name-grid a { padding: 6px 0; border-bottom: 1px solid var(--line-2); color: var(--text); text-decoration: none; }
.name-grid a:hover { text-decoration: underline; }
.co .opp a { color: inherit; text-decoration: none; }
.co .opp a:hover { text-decoration: underline; }

/* When the two columns stack (phones, small tablets), the odds come first:
   they are what most visitors came for. */
@media (max-width: 1000px) {
  .odds-first .rail { order: -1; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .search { display: none; }
  .fh { grid-template-columns: 74px minmax(0, 1fr) 54px 66px; }
  .fh > span:nth-child(5) { display: none; }
  .nf-nums { gap: 18px; }
  .corner, .center { padding: 22px 20px; }
  .panel { padding: 20px 18px; }
  .card-row { grid-template-columns: minmax(0, 1fr) 64px 64px; gap: 8px; }
  .ob-row { grid-template-columns: minmax(0, 1fr) 72px 72px; }
}

/* ---- schedule, announced cards, written text ---- */
a.plain { color: inherit; text-decoration: none; }
a.plain:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.card-row .rec { font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 400; white-space: nowrap; }
.card-row .tag { margin-left: 4px; color: var(--gold); border-color: #4A4536; }
.ev-row.sched > span { display: flex; flex-direction: column; min-width: 0; }
.ev-row.sched .r { text-align: right; flex: none; max-width: 45%; }
.ev-row .sub { font-size: 13px; color: var(--muted); }
.seg-times { display: flex; flex-direction: column; }
.st-row .mono { white-space: nowrap; }
.st-row { display: grid; grid-template-columns: minmax(0, 1.3fr) 84px 84px 84px minmax(0, 1.2fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; align-items: baseline; }
.st-head { font-size: 12px; color: var(--muted); padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.facts { margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 28px; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.facts dt { color: var(--muted); flex: none; }
.facts dd { margin: 0; text-align: right; min-width: 0; }
.facts dd a { color: var(--text); }
.prose p { margin: 12px 0 0; max-width: 72ch; }
.stack { margin-top: 28px; display: flex; flex-direction: column; gap: 28px; }
.qa { margin-top: 6px; }
.qa-item { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.qa-item:last-child { border-bottom: 0; padding-bottom: 0; }
.qa-item h3 { margin: 0; font-size: 15px; font-weight: 600; }
.qa-item p { margin: 4px 0 0; color: var(--muted); font-size: 14px; max-width: 80ch; }
em.later { font-style: normal; font-size: 13px; color: var(--muted); font-family: var(--sans); font-weight: 400; }
@media (max-width: 520px) {
  .st-row { grid-template-columns: minmax(0, 1fr) 70px 70px 70px; gap: 6px; font-size: 13px; }
  .st-tv { display: none; }
}

/* ---- results box ---- */
.results-box { border-left: 4px solid var(--gold); }
.rb-main { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding: 14px 16px; background: var(--panel-2); border-radius: 8px; text-decoration: none; color: var(--text); }
.rb-main .rb-who { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; }
.rb-main:hover .rb-who strong { text-decoration: underline; }
.rb-main .muted { font-size: 14px; }
.rb-tiles { margin-top: 12px; }
.rb-tiles span { font-size: 20px; }
/* The three lists under the numbers: one card each, side by side when
   there's room, stacked on a phone. */
.rb-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.rb-grid.one { grid-template-columns: 1fr; }
.rb-card { padding: 18px 20px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.rb-card h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0.02em; line-height: 1.1; }
.rb-lede { margin: 6px 0 10px; font-size: 13px; color: var(--muted); }
.rb-card h3 + .rb-item { margin-top: 12px; }
.rb-item { display: flex; flex-direction: column; gap: 2px; padding: 11px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 14px; }
a.rb-item:hover strong { text-decoration: underline; }
.rb-fight { color: var(--muted); }
.rb-fight strong { color: var(--text); font-weight: 600; }
.rb-sub { font-size: 13px; color: var(--muted); }
.rb-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.rb-name { font-weight: 600; }
@media (max-width: 520px) {
  .rb-main .rb-who { font-size: 24px; }
  .rb-card { padding: 16px; }
}

/* ---- previous / next event ---- */
.ev-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ev-nav a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--text); min-width: 0; }
.ev-nav a.r { text-align: right; }
.ev-nav small { font-size: 12px; color: var(--muted); }
.ev-nav span { font-weight: 600; }
.ev-nav a:hover span { text-decoration: underline; }
.ev-nav em { font-style: normal; font-size: 13px; color: var(--muted); }
@media (max-width: 520px) { .ev-nav { grid-template-columns: 1fr; } .ev-nav a.r { text-align: left; } }
