/* Inter, served by the site itself (SIL Open Font License 1.1; see fonts/OFL.txt) */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* LUCK: product-page style. Black, white and greys; one deep green band per page, with gold for
   championships inside it; green elsewhere only for a LUCK figure that answers the page's question. */
:root {
  --ink: #1d1d1f; --ink-2: #6e6e73; --ink-3: #86868b; --line: #d2d2d7; --hair: #e8e8ed;
  --paper: #ffffff; --grey: #f5f5f7; --green: #0a7d34;
  --band: #0b3b24; --band-ink: #f5f5f7; --band-sub: #b5c9bd; --band-faint: #8fa89a; --band-gold: #e3b341; --band-luck: #9be7b4; --band-unluck: #f4a7b3;
  --gold: #a37400;
  --wrap: 980px; --text: 692px;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.47 var(--sans); letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: var(--ink); font-weight: 500; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.band :focus-visible, .gnav :focus-visible { outline-color: var(--band-ink); }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; }
sup { line-height: 0; font-size: 0.6em; }
.num, td.n, .tnum { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 980px; font-size: 14px; }
.skip:focus { top: 8px; }

/* global bar */
.gnav { background: var(--ink); color: #d2d2d7; font-size: 12px; }
.gnav .wrap { height: 44px; display: flex; align-items: center; gap: 36px; }
.gnav a { color: #d2d2d7; font-weight: 400; }
.gnav a:hover { color: #fff; text-decoration: none; }
.gnav a[aria-current] { color: #fff; }
.gnav .mark { display: flex; align-items: center; height: 44px; }
.gnav .mark svg { display: block; height: 13px; width: auto; }
.gnav .mark:hover { opacity: 0.85; }
.wm-ink { fill: #f3ead2; }
.wm-dot { fill: #e8b23a; }
.gnav .wrap { position: relative; }
.gnav .logo { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; align-items: center; height: 44px; }
.gnav .logo img, .gnav .logo svg { display: block; height: 22px; width: auto; }
.gnav .logo:hover { opacity: 0.8; }
.gnav .find { margin-left: auto; position: relative; }
.gnav input { width: 200px; height: 28px; border: 0; border-radius: 8px; padding: 0 10px 0 28px; background: #3a3a3c; color: #f5f5f7;
  font: 13px var(--sans); }
.gnav input::placeholder { color: #a1a1a6; }
.gnav .find svg { position: absolute; left: 9px; top: 7px; pointer-events: none; }
.sugg { position: absolute; right: 0; top: 34px; z-index: 40; width: 320px; background: #fff; color: var(--ink); border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18); padding: 6px; }
.sugg a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 400; }
.sugg a[aria-selected=true], .sugg a:hover { background: var(--grey); text-decoration: none; color: var(--ink); }
.sugg a span + span { color: var(--ink-2); }

/* page bar */
.lnav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; background: rgba(255, 255, 255, 0.86); border-bottom: 1px solid var(--line);
  /* the page bar takes no room at the top of a page, where the page's own heading names it; it slides in once
     that heading has scrolled away */
  transform: translateY(-100%); visibility: hidden; transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s 0.45s;
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.lnav .wrap { height: 52px; display: flex; align-items: center; gap: 24px; }
.lnav .title { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lnav .right { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 12px; flex: none; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: var(--ink); font-size: 14px; }
.switch input { appearance: none; -webkit-appearance: none; flex: none; width: 36px; height: 22px; border-radius: 980px; background: #e3e3e8; margin: 0;
  position: relative; cursor: pointer; transition: background 0.3s var(--ease, ease); }
.switch input::after { content: ''; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.36s var(--spring, ease); }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(14px); }
.fig-h .switch, .bento-bar .switch, #lb-adj .switch { font-size: 13px; color: var(--ink-2); gap: 8px; }
.fig-h .switch input, .bento-bar .switch input, #lb-adj .switch input { width: 30px; height: 18px; }
.fig-h .switch input::after, .bento-bar .switch input::after, #lb-adj .switch input::after { width: 14px; height: 14px; }
.fig-h .switch input:checked::after, .bento-bar .switch input:checked::after, #lb-adj .switch input:checked::after { transform: translateX(12px); }
.fig-h .switch:hover, .bento-bar .switch:hover, #lb-adj .switch:hover { color: var(--ink); }
.switch.dark { color: var(--band-sub); }
.switch.dark input { background: rgba(255, 255, 255, 0.2); }
.switch.dark input:checked { background: var(--band-ink); }
.switch.dark input:checked::after { background: var(--band); }
.pill { display: inline-block; background: var(--ink); color: #fff; padding: 5px 13px; border-radius: 980px; font-size: 12px; font-weight: 400;
  border: 0; font-family: inherit; cursor: pointer; }
.pill:hover { background: #000; text-decoration: none; }
.lnav.stuck { transform: none; visibility: visible; transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s; }
.lnav .pill { opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.45s cubic-bezier(0.32, 0.72, 0, 1); }
.lnav.stuck .pill { opacity: 1; transform: none; pointer-events: auto; }

/* sections */
.hero { text-align: center; padding: 52px 22px 44px; }
.hero h1 { font-size: clamp(44px, 7.2vw, 80px); line-height: 1.05; letter-spacing: -0.035em; }
.hero .sub { margin: 14px auto 0; max-width: 720px; font-size: clamp(21px, 2.6vw, 28px); line-height: 1.25; font-weight: 500; letter-spacing: -0.015em; }
.hero .when { margin-top: 10px; font-size: 17px; color: var(--ink-2); }
.links { margin-top: 22px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 36px; font-size: 21px; }
.more { font-size: 17px; }
.sec { padding: 96px 0; }
.sec.tight { padding-top: 0; }
.sec-h { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; }
.sec-h.c { text-align: center; }
.sec-sub { margin-top: 12px; font-size: 21px; line-height: 1.38; color: var(--ink-2); }
.sec-sub.c { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.grey { background: var(--grey); }
.cap { font-size: 14px; line-height: 1.43; color: var(--ink-2); }
.cap.c { text-align: center; max-width: 640px; margin: 18px auto 0; }

/* the one green band */
.band { background: var(--band); color: var(--band-ink); text-align: center; padding: 104px 22px; }
#view > .band:first-child { padding-top: 64px; }   /* a player page opens close under the bar */
.band .portrait { display: block; width: 128px; height: 128px; margin: 0 auto 28px; border-radius: 50%; object-fit: cover;
  background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }
.band .credit { margin: 28px auto 0; max-width: 640px; font-size: 12px; color: var(--band-faint); }
.band .credit a { color: inherit; text-decoration: underline; text-underline-offset: 0.18em; }
.band .eyebrow { font-size: 21px; font-weight: 600; color: var(--band-faint); }
.band .eyebrow a { color: inherit; font-weight: inherit; }
.band :is(h1, h2) { margin-top: 10px; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.05; }
.band :is(h1, h2) .gold { color: var(--band-gold); }
.band :is(h1, h2) .soft { color: var(--band-faint); }
.band .eq { margin-top: 64px; }
.band .eq b { font-size: clamp(44px, 6vw, 64px); font-weight: 600; }
.band .eq .op { color: var(--band-faint); }
.band .eq > div > span { color: var(--band-sub); }
.band .eq .w b { color: var(--band-gold); }
.band .eq .l b { color: var(--band-luck); }
.band .eq .l.down b { color: var(--band-unluck); }   /* fewer championships than deserved */
.band .story { margin: 52px auto 0; max-width: 640px; font-size: 19px; line-height: 1.5; color: var(--band-sub); }
.band .fine { margin: 20px auto 0; max-width: 640px; font-size: 14px; color: var(--band-faint); }
.band a { color: var(--band-ink); }

/* Won − Earned = LUCK */
.eq { display: flex; align-items: flex-end; justify-content: center; flex-wrap: wrap; gap: 10px 28px; }
.eq > div { text-align: center; }
.eq b { display: block; font-size: clamp(56px, 9vw, 96px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.eq > div > span { display: block; margin-top: 10px; font-size: 17px; font-weight: 600; color: var(--ink-2); }
.eq .op { font-size: clamp(36px, 5vw, 56px); font-weight: 300; color: var(--ink-3); line-height: 1; padding-bottom: 34px; }
.eq .l b { color: var(--green); }
.cols3 { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.cols3 h3 { font-size: 21px; letter-spacing: -0.02em; }
.cols3 p { margin-top: 10px; color: var(--ink-2); }

/* tiles */
.tiles { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile { background: #fff; border-radius: 18px; padding: 36px; min-width: 0; }
.tile.wide { grid-column: 1 / -1; }
.tile .k { font-size: 17px; font-weight: 600; color: var(--ink-2); }
.tile .k a { color: inherit; font-weight: inherit; }
.tile h3 { margin-top: 8px; font-size: 28px; line-height: 1.14; letter-spacing: -0.022em; }
.tile .big { margin-top: 6px; font-size: 88px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tile p { margin-top: 12px; }
.tile .prose p + p { margin-top: 12px; }
.tile .more { display: inline-block; margin-top: 20px; }
.list { margin-top: 24px; }
.list a, .list div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--hair); padding: 11px 0; font-weight: 400; color: var(--ink); }
.list a:hover { text-decoration: none; }
.list a:hover span:first-child { text-decoration: underline; text-underline-offset: 0.18em; }
.list span + span { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* the ledger at a glance: tiles of different shapes */
.bento { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bento .tile { display: flex; flex-direction: column; }
.bento .tile.wide { grid-column: span 2; }
.bento .tile .more { margin-top: auto; padding-top: 22px; }
.bento .big { font-size: 64px; }
.bento .tile.dark { background: #1d1d1f; color: #f5f5f7; }
.bento .tile.dark .k { color: #86868b; }
.bento .tile.dark .who { margin-top: 6px; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.bento .tile.dark a { color: #f5f5f7; }
.bento .tile.dark p:not(.k):not(.big):not(.who) { color: #a1a1a6; }
.bento .tile.dark .list a, .bento .tile.dark .list div { border-top-color: #333336; color: #d2d2d7; font-size: 15px; padding: 9px 0; }
.bento .tile.count { justify-content: center; }
.bento .tile.count .big { font-size: 72px; }
.bento .tile.count p:not(.big) { color: var(--ink-2); font-size: 19px; line-height: 1.35; }
.bars { margin-top: 26px; display: grid; gap: 4px; }
.bars a { display: grid; grid-template-columns: minmax(0, 11em) 1fr 4.2em; gap: 16px; align-items: center; padding: 9px 0; font-weight: 400; color: var(--ink); }
.bars a:hover { text-decoration: none; }
.bars a:hover .bn { text-decoration: underline; text-underline-offset: 0.18em; }
.bars .bt { height: 12px; border-radius: 6px; background: var(--grey); overflow: hidden; }
.bars .bt i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--ink); transition: width 0.9s cubic-bezier(0.32, 0.72, 0, 1); }
.scr { font-variant-numeric: tabular-nums; }
.rv.in .bars .bt i { width: var(--w); }
.bars a:nth-child(2) i { transition-delay: 0.06s; } .bars a:nth-child(3) i { transition-delay: 0.12s; }
.bars a:nth-child(4) i { transition-delay: 0.18s; } .bars a:nth-child(5) i { transition-delay: 0.24s; }
.bars .bv { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.meter { margin-top: 16px; }
.ring-key { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.ring-key span { display: inline-flex; align-items: center; gap: 8px; }   /* each mark stays with its words */
.ring-key svg { flex: none; }
.rings .rw { fill: none; stroke: var(--gold); stroke-width: 2.5; }
.rings .rx { fill: none; stroke: #aeaeb2; stroke-width: 1.5; stroke-dasharray: 3 3; }
.rings .re { fill: var(--ink); }
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.9s cubic-bezier(0.32, 0.72, 0, 1); }
.rv.in { opacity: 1; transform: none; }
.soft { animation: soft 0.5s cubic-bezier(0.25, 0.1, 0.25, 1); }
@keyframes soft { from { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .bars .bt i { width: var(--w); } }

/* chart */
.fig { position: relative; height: 500px; }
.fig svg { width: 100%; height: 100%; display: block; overflow: visible; font-family: var(--sans); }
.fig .ax text { font-size: 12px; fill: var(--ink-2); }
.fig .axt { font-size: 12px; fill: var(--ink-2); }
.fig .grid { stroke: var(--hair); stroke-width: 1; }
.fig .fair { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 5; }
.fig .fairt { font-size: 12px; fill: var(--ink-2); }
.fig .dot { fill: var(--ink-3); opacity: 0.32; cursor: pointer; }
.fig .dot.up { fill: var(--green); opacity: 0.3; }
.fig .dot.on { opacity: 1; }
.fig .dot.on:hover { stroke: var(--ink); stroke-width: 2; }
.fig .dot:hover { opacity: 1; }
.fig .labl { cursor: pointer; }
.fig .lead { stroke: var(--ink-3); stroke-width: 1; }
.fig .labl:hover .lab, .fig .labl:focus-visible .lab { text-decoration: underline; text-underline-offset: 3px; }
.fig .labl:focus-visible { outline: none; }
.fig .lab { font-size: 14px; font-weight: 500; fill: var(--ink); }
.fig .lab-h { font-size: 14px; font-weight: 500; fill: none; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.fig-s { height: 220px; margin-top: 24px; }
.fig .odds { fill: #d2d2d7; }
.fig .own { fill: var(--ink); }
.fig .sb .hov { fill: transparent; }
.fig .sb :is(rect, path):not(.hov) { pointer-events: none; transition: opacity 0.2s; }
.fig .ax.ceil text { fill: var(--ink); font-weight: 600; }
.fig .ax.ceil .grid { stroke: var(--line); }
.fig .sb:hover rect:not(.hov) { opacity: 0.82; }
.fig .dot { transition: fill 0.6s cubic-bezier(0.25, 0.1, 0.25, 1); }
.fig .ring { fill: var(--gold); }
.tip { position: absolute; z-index: 60; background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 14px; font-size: 13px; line-height: 1.45;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16); pointer-events: none; max-width: 280px; }
.tip .m { color: var(--ink-2); }

/* tables */
/* figures columns keep one width whether a figure shows decimals or not, so the table never pulls in or out
   when a figure settles on a whole number */
#lb-t th.n:not(:first-child) { width: 5.2em; }
#lb-t td.n { white-space: nowrap; }   /* a range stays on one line */
.scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }   /* rows easing in and out never call up a vertical scroll bar */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 0 12px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--hair); vertical-align: baseline; }
th.n, td.n { text-align: right; }
th:last-child, td:last-child { padding-right: 0; }
td.rank { color: var(--ink-2); width: 1%; }
td.who a { font-weight: 500; }
td.yrs { color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
td.lead { font-weight: 600; }
td .live { margin-left: 6px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }

/* leaderboards */
:root { --ease: cubic-bezier(0.25, 0.1, 0.25, 1); --spring: cubic-bezier(0.32, 0.72, 0, 1); }
.seg { position: relative; display: inline-flex; background: #e8e8ed; border-radius: 10px; padding: 2px; isolation: isolate; }
.seg .thumb { position: absolute; z-index: -1; top: 2px; bottom: 2px; left: 0; border-radius: 8px; background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04); transition: transform 0.42s var(--spring), width 0.42s var(--spring); }
.seg button { position: relative; font: 14px var(--sans); color: var(--ink); background: none; border: 0; border-radius: 8px; padding: 0 16px; height: 34px;
  cursor: pointer; white-space: nowrap; transition: color 0.2s; }
.seg button[aria-pressed=false], .seg button[aria-selected=false] { color: #5e5e63; }   /* 5.3:1 on the control's grey */
.seg button[aria-pressed=false]:hover, .seg button[aria-selected=false]:hover { color: var(--ink); }
.seg.big { display: flex; width: max-content; max-width: 100%; margin: 0 auto; border-radius: 12px; }
.seg.big .thumb { border-radius: 10px; }
.seg.big button { font-size: 15px; font-weight: 500; height: 40px; padding: 0 24px; border-radius: 10px; }
.tabs { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin: 28px auto 0; padding-bottom: 12px;
  border-bottom: 1px solid var(--line); transition: opacity 0.22s var(--ease), transform 0.32s var(--spring); }
.tabs button { font: 15px var(--sans); color: var(--ink-2); background: none; border: 0; padding: 6px 0; cursor: pointer; white-space: nowrap; transition: color 0.2s; }
.tabs button:hover, .tabs button[aria-selected=true] { color: var(--ink); }
.tabs button.main { font-size: 17px; font-weight: 700; color: var(--ink); }
.tabs .bar { position: absolute; left: 0; top: 0; height: 2px; background: var(--ink); border-radius: 1px; transition: transform 0.42s var(--spring), width 0.42s var(--spring); }
.tabs.out { opacity: 0; transform: translateY(4px); }
.fade, #lb-t { transition: opacity 0.24s var(--ease), transform 0.36s var(--spring); }
.fade.out, #lb-t.out { opacity: 0; transform: translateY(6px); }
tr.new { opacity: 0; }
tbody tr { transition: opacity 0.4s var(--ease), background 0.15s; }
tbody tr:hover { background: #fafafc; }
.key { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; padding: 48px 0 32px; }
.key h2 { font-size: 40px; line-height: 1.08; letter-spacing: -0.03em; }
.key.main h2 { font-size: clamp(56px, 8vw, 88px); letter-spacing: -0.045em; line-height: 1; }
.key .formula { margin-top: 12px; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.key .formula b { color: var(--green); font-weight: 700; }
.key p { margin-top: 12px; color: var(--ink-2); }
.key .formula { color: var(--ink); }
.key dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; font-size: 14px; align-content: start; padding-top: 8px; }
.key dt { font-weight: 600; }
.key dd { margin: 0; color: var(--ink-2); }
.filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; padding: 14px; margin-bottom: 24px; background: var(--grey); border-radius: 18px; }
.fl { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 0 12px; height: 48px; }
.fl-l { font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.fl input { font: 15px var(--sans); color: var(--ink); border: 0; outline: 0; background: none; width: 150px; height: 100%; padding: 0; }
.fl:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.filters .seg { margin-left: auto; }
.filters .fbreak { flex-basis: 100%; height: 0; }
#lb-adj:empty { display: none; }
#lb-adj .switch { padding-left: 4px; }
.fig-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--hair); }
.sec-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.sec-row .switch { padding-bottom: 8px; }
.bento-bar { display: flex; justify-content: flex-end; margin-top: 28px; }
.bento-bar + .bento { margin-top: 12px; }
.wi-seg { margin-top: 36px; }
.wi-eq { margin-top: 48px; }
.wi-eq .op { color: var(--ink-3); }
.wi-eq .l b { color: var(--ink); }
.wi-p { max-width: 640px; margin: 28px auto 0; text-align: center; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.wi-line { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 15px; color: var(--ink-2); }
.wi-line b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.menu { position: relative; }
.mbtn { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 34px 0 12px; background: #fff; border: 0; border-radius: 12px; cursor: pointer;
  font: 15px var(--sans); color: var(--ink); position: relative; }
.mbtn::after { content: ''; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform 0.3s var(--spring), margin 0.3s var(--spring); }
.menu.open .mbtn::after { transform: rotate(-135deg); margin-top: -2px; }
.mv { font-variant-numeric: tabular-nums; }
.pop { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 260px; background: rgba(255, 255, 255, 0.96); border-radius: 14px; padding: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16), 0 0 0 0.5px rgba(0, 0, 0, 0.08); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; transform: translateY(-6px) scale(0.97); transform-origin: top left; pointer-events: none; visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.32s var(--spring), visibility 0s linear 0.32s; }
.menu.open .pop { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 0.2s var(--ease), transform 0.32s var(--spring), visibility 0s; }
.opt { display: flex; width: 100%; align-items: center; gap: 10px; font: 15px var(--sans); color: var(--ink); background: none; border: 0; border-radius: 8px; padding: 9px 12px 9px 32px;
  cursor: pointer; text-align: left; position: relative; }
.opt:hover { background: var(--grey); }
.opt[aria-pressed=true]::before { content: ''; position: absolute; left: 13px; top: 50%; width: 5px; height: 10px; margin-top: -7px; border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.custom { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 12px 6px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--ink-2); }
.custom input { font: 15px var(--sans); width: 84px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink);
  font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.custom input:focus { outline: 0; border-color: var(--ink); }
#lb-n { width: 110px; }
table.main td.lead { font-size: 17px; font-weight: 700; }
table.main th.lead { color: var(--ink); }
/* LUCK itself stands at the right edge, in green when a career won more than its play deserved and red when fewer;
   the range beside it is quieter, a qualifier on the figure rather than a figure of its own */
:root { --red: #c4314b; }
table.main td.lead.up { color: var(--green); }
table.main td.lead.down { color: var(--red); }
#lb-t .rg { color: var(--ink-3); font-size: 13px; }
#lb-t th.rg { font-weight: 500; }
#lb-t th.n.rg { width: 8.5em; }
/* every heading sorts; the arrow shows the current order */
#lb-t th button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
#lb-t th.n button { flex-direction: row-reverse; }
#lb-t th button:hover { color: var(--ink); }
#lb-t th button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
#lb-t th[aria-sort="ascending"], #lb-t th[aria-sort="descending"] { color: var(--ink); }
#lb-t th .ar { width: 8px; height: 8px; opacity: 0; transition: opacity 0.2s, transform 0.25s var(--spring); }
#lb-t th .ar::before { content: ""; display: block; width: 0; height: 0; margin: 1px auto 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
#lb-t th button:hover .ar { opacity: 0.35; }
#lb-t th[aria-sort="descending"] .ar, #lb-t th[aria-sort="ascending"] .ar { opacity: 1; }
#lb-t th[aria-sort="ascending"] .ar { transform: rotate(180deg); }
.btn { display: block; margin: 32px auto 0; font: 17px var(--sans); color: var(--ink); background: none; border: 1px solid var(--ink); border-radius: 980px;
  padding: 10px 24px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.btn:hover { background: var(--ink); color: #fff; }

/* player pages */
.prose-c { max-width: var(--text); margin: 0 auto; font-size: 19px; line-height: 1.58; }
.prose-c p + p { margin-top: 1em; }
.parts { margin-top: 24px; display: grid; gap: 10px; }
.part { display: grid; grid-template-columns: minmax(0, 11em) 1fr 4.2em; gap: 12px; align-items: center; font-size: 15px; }
.part .sub { padding-left: 1em; color: var(--ink-2); }
.part .t { position: relative; height: 10px; }
.part .t::before { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; border-left: 1px solid var(--line); }
.part .t i { position: absolute; top: 0; height: 10px; border-radius: 3px; background: var(--ink-3); }
.part .t i.up { background: var(--ink); }
.part .v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.facts { margin: 20px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; font-size: 15px; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }
.tbl-h { margin-top: 56px; font-size: 24px; letter-spacing: -0.02em; }
.tbl-h + .cap { margin-top: 6px; }
.tbl-h ~ .scroll { margin-top: 18px; }

/* method */
.method { max-width: var(--text); margin: 0 auto; padding: 48px 0 96px; font-size: 17px; line-height: 1.58; }
.method h1 { font-size: clamp(40px, 6vw, 56px); line-height: 1.07; }
.method h2 { margin-top: 56px; font-size: 32px; line-height: 1.12; letter-spacing: -0.025em; }
.method h3 { margin-top: 36px; font-size: 21px; letter-spacing: -0.02em; }
.method p, .method ul, .method ol { margin: 16px 0 0; }
.method li + li { margin-top: 6px; }
.method table { margin-top: 20px; font-size: 14px; display: block; overflow-x: auto; }
.method code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.88em; background: var(--grey); padding: 1px 5px; border-radius: 5px; }
.method a { text-decoration: underline; text-underline-offset: 0.18em; }

/* footer, with the page's numbered notes */
footer { background: var(--grey); color: var(--ink-2); font-size: 12px; line-height: 1.5; }
footer .wrap { padding-top: 22px; padding-bottom: 30px; }
.notes { list-style: none; margin: 0; padding: 0 0 14px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.notes:empty { display: none; }
.notes li { display: flex; gap: 6px; border-radius: 4px; transition: background 0.6s; }
.notes li > a { flex: none; min-width: 16px; color: inherit; font-weight: 400; }
.notes li.hit { background: #fff3c4; color: var(--ink); transition: none; }
footer .foot { margin-top: 14px; display: grid; gap: 8px; }
footer .src strong { color: var(--ink); font-weight: 600; }
footer .foot a { color: var(--ink); font-weight: 400; }
footer .legal { display: flex; flex-wrap: wrap; gap: 4px 0; }
footer .legal a { padding-right: 12px; margin-right: 12px; border-right: 1px solid var(--line); }
footer .legal a:last-child { border-right: 0; }
.legal-page h1 + p { color: var(--ink-2); }
a.fnref { color: inherit; font-weight: inherit; padding: 0 1px; }

/* states */
.state { max-width: 560px; margin: 0 auto; padding: 120px 22px; text-align: center; color: var(--ink-2); }
.state b { display: block; margin-bottom: 8px; font-size: 28px; color: var(--ink); letter-spacing: -0.02em; }
.skel { height: 120px; margin: 40px auto; max-width: var(--wrap); border-radius: 18px; background: var(--grey); }
@media (prefers-reduced-motion: no-preference) { .skel { animation: pulse 1.4s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 833px) {
  .gnav .wrap { gap: 20px; }
  .gnav input { width: 140px; }
  .tiles, .cols3, .key, .bento { grid-template-columns: minmax(0, 1fr); }
  .bento .tile.wide { grid-column: auto; }
  .filters .seg { margin-left: 0; }
  .cols3 { gap: 28px; }
  .tile { padding: 28px; }
  .tile .big { font-size: 64px; }
  .fig:not(.fig-s) { height: 380px; }
  .sec { padding: 72px 0; }
  .band { padding: 80px 22px; }
}
@media (max-width: 600px) {
  table { font-size: 13px; }
  td, th { padding-right: 8px; }
  td .live { display: block; margin: 2px 0 0; }
  .gnav .wrap { gap: 14px; }
  .gnav .hide-s { display: none; }
  .gnav input { width: 96px; }
  .gnav .logo { position: static; transform: none; flex: none; }   /* too narrow to center: it leads the bar */
  .sugg { width: min(320px, calc(100vw - 24px)); }
  .lnav .title { font-size: 17px; }
  .seg.big { width: 100%; }
  .seg.big button { flex: 1; padding: 0 4px; font-size: 13px; }
  .tabs { justify-content: flex-start; gap: 4px 20px; }
  .fl, .menu, .mbtn { width: 100%; }
  .fl input { width: 100%; }
  .pop { right: 0; }
  .hide-s { display: none; }
  .part { grid-template-columns: minmax(0, 8.5em) 1fr 3.8em; font-size: 14px; }
  .bars a { grid-template-columns: minmax(0, 8.5em) 1fr 3.6em; gap: 10px; font-size: 15px; }
  .eq { gap: 10px 14px; }
  .eq b, .band .eq b { font-size: 44px; }
  .eq .op { font-size: 32px; padding-bottom: 32px; }
  .eq > div > span { font-size: 15px; }
  .fig:not(.fig-s) { height: 400px; }
  /* the green band on a phone: a size smaller throughout, so the player's figures arrive within the first screen */
  .band { padding: 56px 20px; }
  #view > .band:first-child { padding-top: 36px; }
  .band .portrait { width: 96px; height: 96px; margin-bottom: 18px; }
  .band .eyebrow { font-size: 16px; }
  .band :is(h1, h2) { font-size: clamp(30px, 9vw, 40px); }
  .band .eq { margin-top: 36px; }
  .band .eq b { font-size: 40px; }
  .band .story { margin-top: 32px; font-size: 16px; }
  .band .fine { font-size: 13px; }
  .ring-key { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 420px) {
  .gnav a[data-v="method"] { display: none; }   /* the method is a tap away on every page; the search needs the room */
  .gnav .find { flex: 1; min-width: 0; }
  .gnav input { width: 100%; }
}
@media print { .gnav, .lnav, .skip { display: none; } .band { background: none; color: #000; } }

/* what a page shows before the app draws it (and what search engines read) */
.pre { padding: 56px 0 72px; max-width: 760px; }
.pre h1 { font-size: 44px; line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
.pre h2 { margin-top: 32px; font-size: 21px; font-weight: 600; }
.pre p { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.pre ol, .pre ul { margin-top: 10px; padding-left: 1.2em; line-height: 1.7; }
.pre .pre-eq { display: flex; gap: 40px; margin-top: 20px; }
.pre .pre-eq dt { font-size: 13px; color: var(--ink-2); }
.pre .pre-eq dd { margin: 0; font-size: 32px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pre .pre-links a { margin-right: 20px; }
.pre .pre-az { columns: 3 200px; padding: 0; list-style: none; }

