/* Phins. One calm column that reads like a shoreline: pale sky at the top, a waterline, deep water for the
   record, sand at the foot. Rows and hairlines, not boxes. The sun appears once, in the logo. */
:root {
  --sky: #F3F7F7;        /* page ground: sea mist */
  --foam: #FFFFFF;       /* the one raised surface */
  --shallows: #E5EFF0;   /* tracks, chips, quiet fills */
  --water: #E2EEF0;      /* the shallows, just under the waterline */
  --ink: #0E2A47;        /* deep navy, from the logo */
  --ink-2: #3F566B;      /* secondary text */
  --ink-3: #5C7082;      /* labels and captions */
  --line: #D3DFE1;       /* hairlines */
  --sea: #2F8FB3;        /* left fighter, the fin, the waterline */
  --shell: #C97B63;      /* right fighter */
  --link: #1B6585;
  --btn: #0E2A47;
  --btn-ink: #F3F7F7;
  --deep: #0E2A47;       /* the deep-water band */
  --deep-ink: #EAF2F5;
  --deep-2: #B3C7D5;
  --deep-line: rgba(234, 242, 245, 0.2);
  --sand: #F2EDE3;       /* the foot of the page */
  --sun: #F9C22E;
  --logo-ink: #0E2A47;
  --logo-sea: #2F8FB3;
  --shadow: 0 1px 2px rgba(14, 42, 71, 0.05), 0 18px 40px -18px rgba(14, 42, 71, 0.22);
  --display: 'Outfit', 'Figtree', system-ui, sans-serif;
  --text: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky: #0B1A29; --foam: #11263B; --shallows: #173149; --water: #10283D; --ink: #E6EFF3; --ink-2: #AFC1CF; --ink-3: #8CA0B1;
    --line: #20394F; --sea: #2F8FB3; --shell: #C97B63; --link: #7CC4DF; --btn: #E6EFF3; --btn-ink: #0B1A29;
    --deep: #071320; --deep-ink: #E6EFF3; --deep-2: #A3B8C8; --deep-line: rgba(230, 239, 243, 0.16); --sand: #0F2236;
    --sun: #F9C22E; --logo-ink: #EAF3F2; --logo-sea: #6FC3DF;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px -18px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sky: #0B1A29; --foam: #11263B; --shallows: #173149; --water: #10283D; --ink: #E6EFF3; --ink-2: #AFC1CF; --ink-3: #8CA0B1;
  --line: #20394F; --sea: #2F8FB3; --shell: #C97B63; --link: #7CC4DF; --btn: #E6EFF3; --btn-ink: #0B1A29;
  --deep: #071320; --deep-ink: #E6EFF3; --deep-2: #A3B8C8; --deep-line: rgba(230, 239, 243, 0.16); --sand: #0F2236;
  --sun: #F9C22E; --logo-ink: #EAF3F2; --logo-sea: #6FC3DF;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sky); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1080px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); }
.muted { color: var(--ink-3); }
.lede { font-size: 19px; color: var(--ink-2); max-width: 36em; }
.small { font-size: 14.5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* top: logo left, tabs centred, account and search right */
.top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px 24px; padding-block: 18px; }
.brand { display: block; width: 140px; line-height: 0; justify-self: start; }
.brand svg, .brand img { display: block; width: 100%; height: auto; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 26px; font-size: 15.5px; font-weight: 500; }
.nav a { padding: 8px 0; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sea); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.tools { display: flex; align-items: center; justify-self: end; gap: 6px 12px; }
.login { padding: 8px 4px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.login:hover { text-decoration: underline; }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.icon:hover { background: var(--shallows); }

/* search: a line that opens under the top bar */
.searchbar { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows 0.32s ease, opacity 0.2s ease, visibility 0s linear 0.32s; }
.searchbar.open { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows 0.32s ease, opacity 0.25s ease; }
.searchbar > div { min-height: 0; overflow: hidden; }
.searchline { position: relative; display: flex; align-items: center; gap: 12px; padding: 6px 0 8px 2px; color: var(--ink-3); }
.searchline::after { content: ""; position: absolute; right: 0; bottom: 0; width: 0; height: 2px; background: var(--sea); transition: width 0.5s ease 0.08s; }
.searchbar.open .searchline::after { width: 100%; }
.searchline input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 22px var(--display); }
.searchline input::placeholder { color: var(--ink-3); }
.searchline input::-webkit-search-cancel-button { display: none; }
.hits { list-style: none; margin: 0; padding: 4px 0 20px; }
.hits a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; padding: 11px 6px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.hits a:hover, .hits a:focus-visible { background: var(--shallows); }
.hits b { font-weight: 600; }
.hits span, .hits .none { font-size: 14.5px; color: var(--ink-3); }
.hits .none { padding: 12px 6px; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-weight: 600; font-size: 16px; text-decoration: none; }
.btn:hover { opacity: 0.9; }
.btn.small { padding: 9px 16px; font-size: 14.5px; white-space: nowrap; }
.who { color: inherit; text-decoration: none; }
.who:hover { text-decoration: underline; }
.btn.ghost { background: transparent; color: var(--deep-ink); box-shadow: inset 0 0 0 1px var(--deep-line); }
.more { font-weight: 600; text-decoration: none; white-space: nowrap; padding: 8px 0; }
.more::after { content: "\2192"; display: inline-block; margin-left: 6px; transition: transform 0.15s; }
.more:hover::after { transform: translateX(3px); }
.back { display: inline-block; padding: 8px 0; font-weight: 600; font-size: 15.5px; text-decoration: none; }
.back::before { content: "\2190"; margin-right: 6px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 56px; padding-block: 44px 64px; }
.hero > div { min-width: 0; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -0.03em; }
.hero .lede { margin-top: 20px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column; }
.facts b { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.facts span { font-size: 14.5px; color: var(--ink-3); }

/* the one raised surface: a featured forecast */
.feature { display: flex; flex-direction: column; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--foam); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.duel { display: flex; justify-content: space-between; gap: 16px; }
.duel > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.duel > div:last-child { align-items: flex-end; text-align: right; }
.duel .name { font-weight: 600; color: var(--ink-2); }
.duel .pick .name { color: var(--ink); }
.duel .pct { font-family: var(--display); font-size: 46px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--ink-2); }
.duel .pick .pct { color: var(--ink); }
.bar { display: flex; gap: 2px; height: 8px; }
.bar i { display: block; border-radius: 4px; min-width: 4px; }
.bar i:first-child { background: var(--sea); border-radius: 4px 1px 1px 4px; }
.bar i:last-child { flex: 1 1 0; background: var(--shell); border-radius: 1px 4px 4px 1px; }
.keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.keys div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.35; color: var(--ink-3); }
.keys b { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* confidence: four dots, filled to the level */
.conf { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--ink); }

/* the waterline: sky above, the shallows below, one fin */
.waterline { position: relative; height: 36px; }
.waterline svg.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 14px; }
.waterline .fill { fill: var(--water); }
.waterline .line { fill: none; stroke: var(--sea); stroke-width: 2; }
.waterline svg.fin { position: absolute; right: max(16%, 44px); bottom: 5px; width: 30px; height: 29px; color: var(--sea); }
.shore { background: linear-gradient(to bottom, var(--water), var(--sky) 340px); }

/* sections */
.section { padding-block: 64px; }
.section.tight { padding-block: 40px; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.head > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.head h2, .page-title { font-size: clamp(28px, 3.6vw, 36px); }
.page-head { display: flex; flex-direction: column; gap: 10px; padding-block: 28px 8px; }
h1.page-title { font-size: clamp(34px, 4.8vw, 48px); letter-spacing: -0.03em; }

/* the board: one row per fight */
.board { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.board li { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 4ch minmax(110px, 240px) 4ch minmax(0, 1fr) 150px; grid-template-areas: ". . meta . . ." "a pa bar pb b tag"; align-items: center; column-gap: 14px; row-gap: 2px; padding: 12px 4px 16px; color: var(--ink); text-decoration: none; }
.row:hover { background: var(--shallows); }
.row .meta { grid-area: meta; text-align: center; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .a { grid-area: a; text-align: right; }
.row .b { grid-area: b; }
.row .a, .row .b { color: var(--ink-2); overflow-wrap: anywhere; }
.row .pa { grid-area: pa; text-align: right; }
.row .pb { grid-area: pb; }
.row .pa, .row .pb { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.row .won { color: var(--ink); font-weight: 650; }
.row .bar { grid-area: bar; height: 6px; }
.row .tag { grid-area: tag; justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.row .result { font-size: 13px; color: var(--ink-3); text-align: right; }

/* deep water */
.deep-edge { display: block; width: 100%; height: 14px; color: var(--deep); margin-bottom: -1px; }
.deep { background: var(--deep); color: var(--deep-ink); }
.deep .wrap { padding-block: 60px 68px; display: flex; flex-direction: column; gap: 32px; }
.deep .lede { color: var(--deep-2); }
.deep .eyebrow { color: var(--deep-2); }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 40px; }
.figures div { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 1px solid var(--deep-line); }
.figures b { font-family: var(--display); font-size: 52px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.figures span { color: var(--deep-2); font-size: 15.5px; max-width: 24em; }
.deep .note { color: var(--deep-2); font-size: 14.5px; max-width: 46em; }
.deep a:not(.btn) { color: var(--deep-ink); }

/* short ranked lists on the home page */
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 56px; }
.pair > div { min-width: 0; }
.rank { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.rank li { display: grid; grid-template-columns: 2ch minmax(0, 1fr) auto; align-items: baseline; gap: 14px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.rank .n { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rank .who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; min-width: 0; }
.rank .who b { font-weight: 600; }
.rank .who span { font-size: 14px; color: var(--ink-3); }
.rank .r { font-family: var(--display); font-weight: 600; font-variant-numeric: tabular-nums; }

/* what a forecast holds */
.holds { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 36px; }
.holds div { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.holds h3 { font-size: 19px; letter-spacing: -0.01em; }
.holds p { font-size: 15.5px; color: var(--ink-2); }

/* questions */
.faq { max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 2px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { padding: 0 2px 18px; color: var(--ink-2); max-width: 60ch; }

/* foot */
.foot { margin-top: 32px; background: var(--sand); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 56px; padding-block: 40px 48px; }
.foot .brand { width: 104px; }
.foot .words { display: flex; flex-direction: column; gap: 6px; max-width: 46em; font-size: 14.5px; color: var(--ink-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-top: 6px; }
.foot nav a { padding: 6px 0; }

/* a fight */
.versus { display: flex; flex-direction: column; gap: 20px; padding-block: 12px 36px; }
.versus .duel .name { font-family: var(--display); font-size: clamp(22px, 3.4vw, 34px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.versus .duel .pct { font-size: clamp(52px, 9vw, 88px); }
.versus .bar { height: 10px; }
.versus .bar i:first-child { border-radius: 5px 1px 1px 5px; }
.versus .bar i:last-child { border-radius: 1px 5px 5px 1px; }
.under { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "ra conf rb"; align-items: center; gap: 8px 24px; font-size: 15.5px; color: var(--ink-2); }
.under > :first-child { grid-area: ra; }
.under > .conf { grid-area: conf; }
.under > :last-child { grid-area: rb; text-align: right; }
.under b { color: var(--ink); font-variant-numeric: tabular-nums; }
.part { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px 48px; padding-block: 32px; border-top: 1px solid var(--line); }
.part > header { display: flex; flex-direction: column; gap: 6px; }
.part h2 { font-size: 22px; letter-spacing: -0.015em; }
.part > header p { font-size: 14.5px; color: var(--ink-3); }
.part > div { min-width: 0; max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
.legend { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; font-weight: 600; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 10px; height: 10px; border-radius: 3px; background: var(--sea); }
.sw.b { background: var(--shell); }
.fly { display: grid; grid-template-columns: 4ch minmax(0, 1fr) 96px minmax(0, 1fr) 4ch; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.fly .l { display: flex; justify-content: flex-end; }
.fly .l i, .fly .r i { display: block; height: 8px; min-width: 3px; }
.fly .l i { background: var(--sea); border-radius: 4px 0 0 4px; }
.fly .r i { background: var(--shell); border-radius: 0 4px 4px 0; }
.fly .what { text-align: center; font-size: 15px; color: var(--ink-2); }
.fly b { font-weight: 600; }
.fly b:last-child { text-align: right; }
.bars { display: grid; grid-template-columns: max-content minmax(0, 1fr) 4ch; align-items: center; gap: 9px 12px; font-size: 15px; font-variant-numeric: tabular-nums; }
.bars span { color: var(--ink-2); }
.bars i { display: block; height: 8px; min-width: 3px; background: var(--ink-3); border-radius: 0 4px 4px 0; }
.bars b { text-align: right; font-weight: 600; }
.gap { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; align-items: center; gap: 10px 14px; font-size: 15px; }
.gap > span { color: var(--ink-2); }
.gap .mid { display: grid; grid-template-columns: 1fr 1fr; height: 8px; }
.gap .mid > span { display: flex; }
.gap .mid > span:first-child { justify-content: flex-end; border-right: 1px solid var(--ink-3); }
.gap .mid i { display: block; height: 8px; min-width: 3px; }
.gap .mid > span:first-child i { background: var(--sea); border-radius: 4px 0 0 4px; }
.gap .mid > span:last-child i { background: var(--shell); border-radius: 0 4px 4px 0; }
.gap b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.sums { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-top: 14px; border-top: 1px solid var(--line); }
.sums div { display: flex; flex-direction: column; font-size: 14.5px; color: var(--ink-3); }
.sums b { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.notes { margin: 0; padding-left: 18px; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.nextprev { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 28px; border-top: 1px solid var(--line); }

/* tables */
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th { padding: 10px 12px 10px 2px; text-align: left; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 12px 11px 2px; border-bottom: 1px solid var(--line); vertical-align: baseline; }
th.n, td.n { text-align: right; font-variant-numeric: tabular-nums; }
th:last-child, td:last-child { padding-right: 2px; }
td.rk { width: 3ch; color: var(--ink-3); font-variant-numeric: tabular-nums; }
td.who b { font-weight: 600; }
td.who span { display: block; font-size: 13.5px; color: var(--ink-3); }
td.big { font-family: var(--display); font-weight: 600; font-size: 17px; }
td .rng { display: block; font-size: 13.5px; color: var(--ink-3); font-family: var(--text); font-weight: 400; }
.move { white-space: nowrap; color: var(--ink-2); }
.move svg { width: 8px; height: 7px; margin-right: 5px; fill: currentColor; }
.mark { font-weight: 600; white-space: nowrap; }
.mark svg { width: 13px; height: 13px; margin-right: 6px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.three { table-layout: fixed; }
.three td, .three th { width: 30%; }
.three td:nth-child(2), .three th:nth-child(2) { width: 40%; text-align: center; color: var(--ink-2); font-size: 15px; }
.three td:last-child, .three th:last-child { text-align: right; }
.three th span { display: inline-flex; align-items: center; gap: 8px; }
.three th { white-space: normal; vertical-align: bottom; }

/* choosers */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button, .seg a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 15px var(--text); text-decoration: none; cursor: pointer; min-height: 40px; }
.seg button:hover, .seg a:hover { border-color: var(--ink-3); color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.boardset { padding-top: 28px; display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.boardset h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 24px; }
.boardset h2 span { font: 500 15px var(--text); letter-spacing: 0; color: var(--ink-3); }
.modes { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 8px; }
.switch { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; border-radius: 999px; background: var(--shallows); }
.switch button { min-height: 40px; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 15.5px var(--text); cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); }
.modenote { max-width: 62ch; font-size: 15.5px; color: var(--ink-2); }
.modenote b { color: var(--ink); font-weight: 600; }

/* "at least" */
.atleast { display: flex; flex-direction: column; gap: 16px; }
.atleast label { font-size: 17px; }
.atleast output { font-weight: 700; font-variant-numeric: tabular-nums; }
.atleast input[type="range"] { width: 100%; accent-color: var(--link); height: 28px; }
.atleast .out { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.atleast .out div { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; color: var(--ink-2); }
.atleast .out div:last-child { align-items: flex-end; text-align: right; }
.atleast .out span { display: inline-flex; align-items: center; gap: 8px; }
.atleast .out b { font-family: var(--display); font-size: 36px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }

/* record */
.status { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--foam); box-shadow: var(--shadow); }
.status .big { font-family: var(--display); font-size: clamp(40px, 7vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.tiers { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; align-items: center; gap: 12px 14px; font-size: 15.5px; }
.tiers .t { display: flex; flex-direction: column; }
.tiers .t span { font-size: 13.5px; color: var(--ink-3); }
.tiers .track { height: 8px; background: var(--shallows); border-radius: 4px; overflow: hidden; }
.tiers .track i { display: block; height: 8px; background: var(--sea); border-radius: 0 4px 4px 0; }
.tiers b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.plot { width: 100%; max-width: 420px; height: auto; display: block; }
.plot .grid { stroke: var(--line); stroke-width: 1; }
.plot .ideal { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 4 4; }
.plot text { fill: var(--ink-3); font: 12px var(--text); }
.plot circle { fill: var(--sea); stroke: var(--sky); stroke-width: 2; }
.plot.wide { max-width: none; }
.plot .line { fill: none; stroke: var(--sea); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.plot .end { fill: var(--ink); font: 600 13px var(--text); }
.fig { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.fig figcaption { font-size: 13.5px; color: var(--ink-3); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 40px; align-items: start; }
.split > * { min-width: 0; }

/* a fighter's profile */
.bio { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 10px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.bio div { display: flex; flex-direction: column; gap: 2px; }
.bio dt { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.bio dd { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; }
.nextfight { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "eb eb eb" "line chance more"; align-items: center; gap: 6px 28px; margin-block: 20px 28px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--foam); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.nextfight .eyebrow { grid-area: eb; }
.nextfight .line { grid-area: line; display: flex; flex-direction: column; min-width: 0; }
.nextfight .line b { font-family: var(--display); font-size: 22px; font-weight: 600; }
.nextfight .line span { font-size: 14.5px; color: var(--ink-3); }
.nextfight .chance { grid-area: chance; display: flex; flex-direction: column; font-size: 13.5px; color: var(--ink-3); }
.nextfight .chance b { font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--ink); }
.nextfight .more { grid-area: more; }
.eloview { display: flex; flex-direction: column; gap: 14px; }
.part.js .nojs { display: none; }
.elo-now { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 40px; }
.elo-now > div { display: flex; flex-direction: column; font-size: 14.5px; color: var(--ink-3); }
.elo-now b { font-family: var(--display); font-size: clamp(52px, 9vw, 76px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.elo-now .minor b { font-size: 26px; line-height: 1.2; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 13px; border-radius: 999px; background: var(--shallows); color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.chip:hover { text-decoration: underline; }
.explain { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: 16px; background: var(--shallows); }
.explain h3 { font-size: 18px; letter-spacing: -0.01em; }
.explain p { font-size: 15.5px; color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px 24px; }
.tiles div { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.tiles b { font-family: var(--display); font-size: 24px; font-weight: 600; }
.tiles span { font-size: 13.5px; line-height: 1.35; color: var(--ink-3); }
.history { border-top: 1px solid var(--line); }
.bout { border-bottom: 1px solid var(--line); }
.bout summary { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 14px; align-items: center; gap: 4px 14px; padding: 13px 2px; cursor: pointer; list-style: none; }
.bout summary::-webkit-details-marker { display: none; }
.bout summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform 0.2s; justify-self: center; margin-top: -4px; }
.bout[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.bout summary:hover { background: var(--shallows); }
.res { padding: 4px 0; border: 1px solid var(--ink-3); border-radius: 7px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; color: var(--ink-2); }
.res.win { border-color: var(--btn); background: var(--btn); color: var(--btn-ink); }
.bout .vs { display: flex; flex-direction: column; min-width: 0; }
.bout .vs b { font-weight: 600; }
.bout .vs span, .bout .when span { font-size: 14px; color: var(--ink-3); }
.bout .when { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: 14.5px; color: var(--ink-2); max-width: 280px; }
.bout .inside { display: flex; flex-direction: column; gap: 10px; padding: 2px 2px 22px 66px; animation: reveal 0.25s ease; }
@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* the list of every fighter */
.letters { display: flex; flex-wrap: wrap; gap: 2px 4px; padding-block: 8px 4px; }
.letters a { min-width: 34px; padding: 7px 4px; border-radius: 8px; text-align: center; font-weight: 600; text-decoration: none; }
.letters a:hover { background: var(--shallows); }
.directory section { padding-block: 22px 6px; }
.directory h2 { font-size: 24px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.az { list-style: none; margin: 12px 0 0; padding: 0; columns: 4 220px; column-gap: 32px; }
.az li { display: flex; flex-direction: column; padding: 6px 0; break-inside: avoid; }
.az a { font-weight: 600; text-decoration: none; }
.az a:hover { text-decoration: underline; }
.az span { font-size: 13.5px; color: var(--ink-3); }

/* prose */
.prose { max-width: 66ch; display: flex; flex-direction: column; gap: 14px; padding-block: 12px 24px; color: var(--ink-2); }
.prose h2 { margin-top: 26px; font-size: 24px; color: var(--ink); }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose b { color: var(--ink); font-weight: 600; }

@media (max-width: 1000px) {
  .top { grid-template-columns: auto 1fr; grid-template-areas: "brand tools" "nav nav"; }
  .brand { grid-area: brand; width: 124px; }
  .tools { grid-area: tools; }
  .nav { grid-area: nav; justify-content: center; gap: 2px 20px; font-size: 15px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 24px 48px; }
  .part { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "meta tag" "a b" "pa pb" "bar bar"; column-gap: 16px; row-gap: 3px; padding: 14px 2px 18px; }
  .row .meta { text-align: left; white-space: normal; align-self: start; }
  .row .tag { align-self: start; margin-bottom: 6px; }
  .row .a { text-align: left; }
  .row .b, .row .pb { text-align: right; }
  .row .pa { text-align: left; }
  .row .pa, .row .pb { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
  .row .bar { margin-top: 6px; }
  .section { padding-block: 48px; }
  .hide-s { display: none; }
  .brand { width: 112px; }
  .tools { gap: 4px 8px; }
  .login { font-size: 14.5px; }
  .btn.small { padding: 8px 12px; font-size: 14px; }
  .icon { width: 36px; height: 36px; }
  .nav { gap: 0 16px; font-size: 14.5px; }
  .searchline input { font-size: 19px; }
  .nextfight { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "eb eb" "line chance" "more more"; padding: 18px; }
  .bout summary { grid-template-columns: 46px minmax(0, 1fr) 14px; grid-template-areas: "res vs chev" "res when chev"; }
  .bout .res { grid-area: res; align-self: start; margin-top: 2px; }
  .bout .vs { grid-area: vs; }
  .bout .when { grid-area: when; align-items: flex-start; text-align: left; max-width: none; flex-direction: row; flex-wrap: wrap; gap: 0 8px; font-size: 13.5px; }
  .bout summary::after { grid-area: chev; }
  .bout .inside { padding-left: 2px; }
  .under { grid-template-columns: 1fr 1fr; grid-template-areas: "ra rb" "conf conf"; }
  .lede { font-size: 17.5px; }
  .facts { gap: 12px 16px; }
  .facts span { font-size: 13.5px; line-height: 1.35; }
  .fly { grid-template-columns: 4ch minmax(0, 1fr) 84px minmax(0, 1fr) 4ch; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
