:root {
  --paper: #fff;
  --ink: #000;
  --grey: #6f6f6f;
  --rule: #e4e4e4;
  --signal: #ff4d00;
  --measure: 46rem;
  --wide: 80vw;
  font-family: "Uncut Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "tnum" 1, "ss01" 1, "ss04" 1, "ss05" 1;
}
@font-face {
  font-family: "Uncut Sans";
  src: url("/static/fonts/UncutSans-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: oblique 0deg 11deg;
  font-display: swap;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1.0625rem; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
main, footer, .masthead { max-width: var(--measure); margin: 0 auto; padding: 0 1rem; }
body.wide main, body.wide footer, body.wide .masthead { max-width: var(--wide); }
@media (max-width: 48rem) { body.wide main, body.wide footer, body.wide .masthead { max-width: none; } }

.masthead { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.wordmark { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }
.masthead nav { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 0.9375rem; }
.masthead nav a { border-bottom: 2px solid transparent; padding-bottom: 0.1em; }
.masthead nav a[aria-current] { border-bottom-color: var(--ink); }
.masthead nav a:hover { text-decoration: none; border-bottom-color: var(--rule); }
.masthead nav a[aria-current]:hover { border-bottom-color: var(--ink); }
.masthead nav a.acct { margin-left: 1.25rem; color: var(--grey); }
.masthead nav a.acct[aria-current] { border-bottom-color: var(--grey); }

h1 { font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.05; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 0.6rem; }
h2 { font-size: 1.25rem; letter-spacing: -0.01em; margin: 2.25rem 0 0.6rem; }
.lead { margin: 2.5rem 0 1.5rem; }
.lead p { margin: 0 0 0.5rem; max-width: 36rem; color: var(--ink); }
.lead p a { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-color: var(--grey); }
.asof, .muted, .sub, .note, .meta, .crumb { color: var(--grey); }
.asof { font-size: 0.9375rem; }
.sub { display: block; font-size: 0.8125rem; line-height: 1.35; margin-top: 0.1rem; }
.note { font-size: 0.875rem; max-width: 36rem; margin: 1.75rem 0; }
.note a { text-decoration: underline; text-underline-offset: 0.18em; }
.tag { font-size: 0.75rem; color: var(--grey); margin-left: 0.35rem; }

/* tables */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-weight: 500; font-size: 0.8125rem; color: var(--grey); padding: 0 0.75rem 0.5rem 0; border-bottom: 1px solid var(--ink); }
.ladder th { font-size: inherit; font-weight: 600; color: var(--ink); padding-bottom: 0.45rem; }
td { padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
td:last-child, th:last-child { padding-right: 0; }
.num, .pts { text-align: right; white-space: nowrap; }
td.num .sub { text-align: right; }
.hide-s, span.hide-s { display: none; }
@media (min-width: 40rem) { .hide-s { display: table-cell; } span.hide-s { display: block; } }

/* the ladder: one size, no weight, hairlines, columns spread */
.ladder { font-weight: 400; }
.ladder td { padding: 0.5rem 0.75rem 0.5rem 0; vertical-align: baseline; }
.ladder .rk { width: 4.5rem; white-space: nowrap; }
.ladder .pts { font-weight: 400; }
.ladder .country { width: 22%; }
.ladder .span { width: 16%; white-space: nowrap; }
.ladder tbody a:hover { text-decoration: none; }
.ladder tbody tr:hover td { background: #fafafa; }
.ladder .tag { margin-left: 0.5rem; }
@media (max-width: 40rem) { .ladder .country { width: auto; } }

/* person page */
.person { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem 4rem; align-items: start; }
.person .body { min-width: 0; }
.person h1 { margin: 0 0 0.35rem; }
.meta { margin: 0; }
.standing { margin: 0.25rem 0 1.75rem; }
.card .photo { aspect-ratio: 4 / 5; background: #f3f3f3; margin-bottom: 1.25rem; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.25rem; margin: 0; }
.facts dt { color: var(--grey); }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.facts a { text-decoration: underline; text-underline-offset: 0.18em; }
.claim { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--grey); }
.claim a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.18em; }
@media (max-width: 40rem) { .results { table-layout: fixed; } .results td:first-child, .results th:first-child { width: 50%; overflow-wrap: anywhere; } .results .placing { width: 24%; } .results .num { width: 26%; } }
@media (max-width: 48rem) {
  .person { grid-template-columns: 1fr; }
  .card { order: 2; max-width: 20rem; }
  .card .photo { aspect-ratio: 1; }
}
.results td:first-child, .results th:first-child { width: 60%; }
.results .placing { width: 24%; }
.results .num { width: 16%; }
.results .of { font-size: 0.8125rem; }
.line { display: block; }
.ladder td { vertical-align: top; }
.results .placing .round { color: var(--grey); }
@media (max-width: 40rem) { .masthead nav { gap: 0.9rem; } }
.results tfoot td { border-bottom: 0; border-top: 1px solid var(--ink); padding-top: 0.6rem; }
.results tfoot td:first-child { text-align: right; color: var(--grey); }
h2.round { font-size: 0.9375rem; font-weight: 600; margin: 2rem 0 0.25rem; }
h2.round .count { color: var(--grey); font-weight: 400; margin-left: 0.5rem; }

/* search */
.search { position: relative; margin: 0 0 1.5rem; max-width: 24rem; }
.search input { width: 100%; font: inherit; font-size: 1rem; padding: 0.55rem 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); border-radius: 0; -webkit-appearance: none; }
.search input::placeholder { color: var(--grey); }
.search ul { position: absolute; z-index: 2; left: 0; right: 0; margin: 0; padding: 0.25rem 0; list-style: none; background: var(--paper); border: 1px solid var(--ink); }
.search li a { display: block; padding: 0.45rem 0.75rem; }
.search li a:hover { background: #f3f3f3; text-decoration: none; }
.search li a span { display: block; font-size: 0.8125rem; color: var(--grey); }
.search li.none { padding: 0.45rem 0.75rem; color: var(--grey); }

/* filters */
.filters { display: flex; gap: 1.5rem; align-items: baseline; flex-wrap: wrap; margin: 0 0 1.25rem; font-size: 0.9375rem; }
.show-s { display: flex; } @media (min-width: 40rem) { .show-s { display: none; } }
.hide-s-row { display: none; } @media (min-width: 40rem) { .hide-s-row { display: table-row; } }
.events .filter td { border-bottom: 0; padding-top: 0; padding-bottom: 0.9rem; vertical-align: baseline; }
.events .filter select { width: 100%; max-width: 22rem; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 0.35rem 0; margin: 0; }
.events .filter .level select { max-width: 100%; }
.filters select { font: inherit; font-size: 0.9375rem; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 0.35rem 0; border-radius: 0; color: var(--ink); max-width: 100%; }

/* events list, event page */
.events td.when, .events td.level { color: var(--grey); }
.events .when, .events .level { width: 11%; white-space: nowrap; }
.events .winner { white-space: nowrap; }
.events .num { width: 1%; }
.events td:first-child, .events th:first-child { width: 52%; }
.head { margin: 2.5rem 0 1.75rem; }
.head h1 { margin: 0 0 0.35rem; }
.field { table-layout: fixed; }
.field .rk { width: 7%; }
.field td.rep { color: var(--grey); }
.field .rep { width: 40%; }
.field .num { width: 11%; }
@media (max-width: 40rem) { .field .rk { width: 4rem; } .field .num { width: 5rem; } }
h2.round { font-size: inherit; font-weight: 600; margin: 2.25rem 0 0.5rem; }
h2.round .count { color: var(--grey); font-weight: 400; margin-left: 0.5rem; }

/* methodology: short version, then a two-column grid of heading | content */
.method .short { max-width: 40rem; }
.method .short p { margin: 0 0 1rem; }
.method .longlabel { color: var(--grey); margin: 3rem 0 0; padding-top: 1rem; border-top: 1px solid var(--ink); }
.method .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0.5rem 4rem; padding: 2rem 0 0.5rem; border-top: 1px solid var(--rule); margin-top: 1.5rem; }
.method .row:first-of-type { border-top: 0; }
.method .short { margin-bottom: 1rem; }
.method .row h2 { font-size: inherit; font-weight: 600; margin: 0; }
.method .col p { margin: 0 0 1rem; max-width: 40rem; }
.method .col table { margin: 0.5rem 0 1.5rem; }
.method .col table th, .method .col table td { padding-top: 0.45rem; padding-bottom: 0.45rem; }
.method .col table.nums td, .method .col table.nums th { text-align: left; }
.method .col table:not(.nums) td:nth-child(2), .method .col table:not(.nums) th:nth-child(2) { white-space: nowrap; }
.method .col ul { padding-left: 1.2rem; max-width: 40rem; }
.method .col li { margin-bottom: 0.5rem; }
.method .formula { padding: 0.75rem 1rem; border: 1px solid var(--ink); display: inline-block; margin-bottom: 1.25rem; }
@media (max-width: 48rem) { .method .row { grid-template-columns: 1fr; } }

/* prose */
.prose { max-width: 38rem; margin: 2.5rem 0; }
.prose p { margin: 0 0 1rem; }
.prose h2 { margin-top: 2.5rem; }
.prose hr { border: 0; border-top: 1px solid var(--ink); margin: 2.5rem 0 1rem; }
.prose table { margin: 1rem 0 1.25rem; font-size: 0.9375rem; }
.prose table.nums td, .prose table.nums th { text-align: left; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.formula { padding: 0.75rem 1rem; border: 1px solid var(--ink); display: inline-block; }

footer { margin-top: 4rem; padding-top: 1.25rem; padding-bottom: 3rem; border-top: 1px solid var(--ink); font-size: 0.875rem; color: var(--grey); }
footer p { margin: 0 0 0.35rem; }
footer a { text-decoration: underline; text-underline-offset: 0.18em; }
@media (prefers-reduced-motion: no-preference) { a { transition: text-decoration-color 120ms; } }

/* verification mark: the only mark on the site */
.tick { display: inline-block; position: relative; margin-left: 0.3em; vertical-align: 0.08em; cursor: default; }
.tick svg { width: 0.55em; height: 0.55em; display: block; }
.tick circle { fill: none; stroke: #9a9a9a; stroke-width: 1.15; }
.tick path { fill: none; stroke: #9a9a9a; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.tick .tip { position: absolute; left: 50%; bottom: calc(100% + 0.4rem); transform: translateX(-50%); background: var(--ink); color: var(--paper); font-size: 0.75rem; font-weight: 400; letter-spacing: 0; line-height: 1; padding: 0.35rem 0.5rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 120ms; }
.tick:hover .tip, .tick:focus-visible .tip { opacity: 1; }
.bio { margin: 0 0 1.75rem; max-width: 36rem; }
.standing + .bio { margin-top: -1rem; }

/* accounts: H1 in the standard place, then the profile's 1:2 grid — context left, form right */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem 4rem; align-items: start; }
.form-grid .help { color: var(--grey); font-size: 0.9375rem; }
.form-grid .help p { margin: 0 0 0.75rem; max-width: 22rem; }
.form-grid .help a { text-decoration: underline; text-underline-offset: 0.18em; }
@media (max-width: 48rem) { .form-grid { grid-template-columns: 1fr; } }
.form { max-width: 30rem; }
.lead-p { margin: 0 0 1.25rem; max-width: 36rem; }
.form label { display: block; margin: 0 0 1.1rem; font-size: 0.9375rem; color: var(--grey); }
.form input:not([type=checkbox]), .form textarea { display: block; width: 100%; margin-top: 0.2rem; font: inherit; font-size: 1rem; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 0.45rem 0; -webkit-appearance: none; }
.form textarea { resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #b5b5b5; }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
.form legend { padding: 0; margin: 0 0 0.5rem; font-size: 0.9375rem; color: var(--grey); }
.form .tick-row, .form .check { display: flex; gap: 0.6rem; align-items: baseline; color: var(--ink); margin: 0; padding: 0.45rem 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.form .check { border: 0; margin: 0 0 1.25rem; }
.form .tick-row input, .form .check input { accent-color: var(--ink); margin: 0; flex: none; }
button, .button { font: inherit; font-size: 1rem; color: var(--paper); background: var(--ink); border: 1px solid var(--ink); border-radius: 0; padding: 0.55rem 1.1rem; cursor: pointer; }
button:disabled { opacity: 0.5; cursor: default; }
.warn { padding: 0.75rem 1rem; border: 1px solid var(--ink); margin: 0 0 1.25rem; }
.small { font-size: 0.875rem; }

/* admin queue */
.qrow { padding: 1.5rem 0; border-top: 1px solid var(--rule); max-width: 46rem; }
.qrow h2 { font-size: 1.125rem; margin: 0 0 0.75rem; }
.qrow .flag { display: inline-block; font-size: 0.75rem; font-weight: 500; color: var(--signal); margin-left: 0.5rem; }
.qrow .actions { margin: 1rem 0 0; display: flex; gap: 0.5rem; }
.qrow .actions button[data-d=held], .qrow .actions button[data-d=rejected], .qrow .actions button[data-s=dismissed] { color: var(--ink); background: transparent; }
.inbox { margin-top: 3rem; }
.inbox .qrow p { margin: 0 0 0.5rem; max-width: 40rem; }

.filters a[aria-current] { border-bottom: 2px solid var(--ink); }
