/* chesstracker.
   Modeled on the printed bulletins handed out in tournament halls: ruled tables,
   small caps, dotted leaders, ink on paper. One red for live play and emphasis. */

@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("/fonts/plex-condensed-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("/fonts/plex-condensed-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("/fonts/plex-condensed-600.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --paper: #f3eee3;
  --paper-2: #ebe4d5;
  --ink: #1b1814;
  --ink-2: #3b352d;
  --muted: #6a6256;
  --rule: rgb(27 24 20 / 0.16);
  --rule-2: rgb(27 24 20 / 0.32);
  --red: #a8321d;
  --red-soft: #ecd3c6;
  --sq-light: #e6dcc7;
  --sq-dark: #bfae8c;
  --serif: "Newsreader", "Iowan Old Style", Charter, Georgia, serif;
  --cond: "Plex Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1180px;
  --gut: 24px;
  --header-h: 0px;
  color-scheme: light;
}

/* Club night: ebony and ivory, like a wooden board under hall lights. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #15120e;
    --paper-2: #1e1a15;
    --ink: #ece3cf;
    --ink-2: #cfc5b0;
    --muted: #a2988a;
    --rule: rgb(236 227 207 / 0.14);
    --rule-2: rgb(236 227 207 / 0.3);
    --red: #e2694c;
    --red-soft: #3a211a;
    --sq-light: #3b332a;
    --sq-dark: #262019;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #15120e;
  --paper-2: #1e1a15;
  --ink: #ece3cf;
  --ink-2: #cfc5b0;
  --muted: #a2988a;
  --rule: rgb(236 227 207 / 0.14);
  --rule-2: rgb(236 227 207 / 0.3);
  --red: #e2694c;
  --red-soft: #3a211a;
  --sq-light: #3b332a;
  --sq-dark: #262019;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.45 var(--cond);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
main { flex: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 36px var(--gut) 80px; outline: none; }

/* ---------- masthead ---------- */
.top { background: var(--paper); border-bottom: 3px double var(--ink); }
.top-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: 70px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand span { font: italic 600 30px/1 var(--serif); letter-spacing: -0.02em; font-variation-settings: "opsz" 72; }
.logo { width: 20px; height: 20px; align-self: center; }
.logo rect { fill: var(--ink); }
.logo rect.hollow { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.search { position: relative; flex: 1; max-width: 380px; margin-left: auto; }
.search > svg { position: absolute; left: 0; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search input {
  width: 100%; height: 36px; padding: 0 4px 0 24px; border: 0; border-bottom: 1px solid var(--rule-2); border-radius: 0;
  background: transparent; color: var(--ink); font: italic 17px var(--serif);
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-bottom-color: var(--ink); }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { text-decoration: none; color: var(--ink-2); font: 600 12.5px var(--cond); text-transform: uppercase; letter-spacing: 0.12em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.masthead { border-top: 1px solid var(--ink); }
.masthead-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 500 11.5px var(--cond); text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-2); }
.checker {
  width: 120px; height: 10px; flex-shrink: 0;
  background: repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / 10px 10px;
  border: 1px solid var(--ink);
}

.suggest { position: absolute; top: 44px; left: 0; right: 0; padding: 4px 0; background: var(--paper); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); max-height: 70vh; overflow-y: auto; z-index: 40; }
.suggest h4 { margin: 0; padding: 10px 14px 4px; font: 600 11px var(--cond); text-transform: uppercase; letter-spacing: 0.14em; color: var(--red); }
.suggest a { display: flex; justify-content: space-between; gap: 12px; padding: 7px 14px; text-decoration: none; font: 17px var(--serif); }
.suggest a:hover, .suggest a.active { background: var(--paper-2); }
.suggest .sub { color: var(--muted); font: 13px var(--cond); white-space: nowrap; }

/* color theme menu */
.theme-pick { position: relative; }
.theme-pick summary { list-style: none; cursor: pointer; width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink-2); border: 1px solid transparent; }
.theme-pick summary::-webkit-details-marker { display: none; }
.theme-pick summary:hover, .theme-pick[open] summary { border-color: var(--ink); color: var(--ink); }
.theme-pick svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 230px; padding: 4px 0; background: var(--paper); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.menu a, .menu button { display: flex; flex-direction: column; align-items: flex-start; gap: 0; width: 100%; text-align: left; padding: 8px 14px; text-decoration: none; border: 0; background: none; cursor: pointer; }
.menu a:hover, .menu button:hover { background: var(--paper-2); }
.menu b { font: 600 17px var(--serif); }
.menu span { font: 12.5px var(--cond); color: var(--muted); }
.menu button[aria-checked="true"] b::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--red); margin: 0 8px 2px 0; }

@media (max-width: 720px) {
  .top-inner { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 10px 16px; }
  .brand span { font-size: 26px; }
  .search { order: 3; flex-basis: 100%; max-width: none; margin: 0; }
  .nav { margin-left: auto; gap: 14px; }
  .masthead-inner { padding: 0 16px; font-size: 10px; letter-spacing: 0.1em; }
  .masthead-inner span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .checker { width: 60px; }
  main { padding: 26px 16px 56px; }
  :root { --gut: 16px; }
}

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 600; }
.display { font-family: var(--serif); font-weight: 600; letter-spacing: -0.025em; line-height: 0.96; font-variation-settings: "opsz" 72; }
h1.display { font-size: clamp(32px, 4.2vw, 50px); overflow-wrap: anywhere; }
/* Event and player names are the page's subject, so they get more room than page titles. */
.ev-title h1.display, .p-hero h1.display { font-size: clamp(36px, 5vw, 62px); }
.lede { font: italic 400 20px/1.4 var(--serif); color: var(--ink-2); margin: 12px 0 0; max-width: 560px; }
.home-head .lede { margin-top: 0; font-size: 21px; max-width: none; }
.eyebrow { font: 600 11px var(--cond); text-transform: uppercase; letter-spacing: 0.16em; color: var(--red); }
.sh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 56px 0 0; padding-top: 8px; border-top: 2px solid var(--ink); }
.sh h2 { font: 600 12px var(--cond); text-transform: uppercase; letter-spacing: 0.18em; }
.sh a { font: 600 12px var(--cond); text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-2); }
.muted { color: var(--muted); }
.empty { font: italic 19px var(--serif); color: var(--muted); padding: 28px 0; }
.note { font: 14px var(--cond); color: var(--muted); margin: 14px 0 0; }
.note a { color: var(--ink); }
.ttl { font: 600 10.5px var(--cond); letter-spacing: 0.08em; color: var(--muted); margin-right: 6px; vertical-align: 0.15em; }
.fed { font: 500 11px var(--cond); letter-spacing: 0.08em; color: var(--muted); margin-left: 8px; }
.rating { font: 400 13px var(--cond); color: var(--muted); }

/* live marker: a clock flag */
.dot {
  display: inline-block; width: 9px; height: 12px; background: currentColor; flex-shrink: 0;
  clip-path: polygon(0 0, 100% 26%, 22% 52%, 22% 100%, 0 100%);
}
.live .dot, .dot.live { animation: flag 1.4s steps(2, jump-none) infinite; }
@keyframes flag { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .live .dot, .dot.live { animation: none; } }

.status { display: inline-flex; align-items: center; gap: 7px; font: 600 12px var(--cond); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2); white-space: nowrap; }
.status.live { color: var(--red); }
.cat { font: 600 11px var(--cond); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2); }
.cat::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border: 1px solid var(--ink); vertical-align: 0; }
.cat.women::before { background: var(--ink); }

.chips { display: inline-flex; border: 1px solid var(--ink); }
.chip { border: 0; background: none; padding: 7px 16px; font: 600 12px var(--cond); text-transform: uppercase; letter-spacing: 0.12em; cursor: pointer; color: var(--ink-2); }
.chip + .chip { border-left: 1px solid var(--ink); }
.chip:hover { background: var(--paper-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------- home ---------- */
.home-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }

.ev { display: block; text-decoration: none; border-top: 2px solid var(--ink); padding: 14px 0 28px; }
.ev:hover .ev-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--red); }
.ev-top { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 6px; }
.ev-top > div { min-width: 0; }
.ev-meta { font: 500 12px var(--cond); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-top: 8px; }
.ev-top > div { display: flex; flex-direction: column-reverse; }
.ev-name { font: 600 30px/1.05 var(--serif); letter-spacing: -0.015em; overflow-wrap: anywhere; font-variation-settings: "opsz" 48; }
.ev-secs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 22px; }
.ev-secs > div { padding: 0 24px; border-left: 1px solid var(--rule-2); }
.ev-secs > div:first-child { padding-left: 0; border-left: 0; }
.ev-sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.ev-sec-h b { font: italic 600 18px var(--serif); }
.ev-sec-h .round { font: 500 12px var(--cond); color: var(--muted); white-space: nowrap; }
.ev-sec-h .round.live { color: var(--red); display: inline-flex; gap: 6px; align-items: center; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.podium { list-style: none; margin: 0; padding: 0; }
.podium li { display: flex; align-items: baseline; gap: 0; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.podium .pos { flex: none; width: 24px; font: 500 13px var(--cond); color: var(--muted); }
.podium .nm { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 18px var(--serif); }
.podium .dots { flex: 1 1 auto; min-width: 14px; margin: 0 8px; border-bottom: 1.5px dotted var(--rule-2); transform: translateY(-5px); }
.podium .sc { flex: none; font: 600 19px var(--serif); }
.podium .sc small { font: 400 12px var(--cond); color: var(--muted); margin-left: 2px; }
.podium-empty { font: italic 17px var(--serif); color: var(--muted); padding: 8px 0; }

.ev.feature { border-top: 5px double var(--ink); padding: 18px 0 36px; }
.ev.feature .ev-name { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.02; font-variation-settings: "opsz" 60; letter-spacing: -0.02em; }
.ev.feature .status { font-size: 13px; }
.ev.feature .ev-secs { margin-top: 30px; }
.ev.feature .ev-secs > div { padding: 0 32px; }
.ev.feature .ev-secs > div:first-child { padding-left: 0; }
.ev.feature .podium li { padding: 10px 0; }
.ev.feature .podium .nm { font-size: 22px; }
.ev.feature .podium li:first-child .nm { font-weight: 700; }
.ev.feature .podium .sc { font-size: 24px; }
.ev.feature .podium li:first-child .sc { color: var(--red); }

.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); column-gap: 48px; }
.grid2 .ev { border-top-width: 1px; }
.grid2 .ev-secs { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.list { border-bottom: 1px solid var(--rule-2); }
.row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 0; text-decoration: none; border-top: 1px solid var(--rule-2); }
.sh + .list .row:first-child { border-top: 0; }
.row:hover .row-name { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.row.noday { grid-template-columns: minmax(0, 1fr) auto; }
.day { line-height: 1; text-align: left; }
.day b { display: block; font: 600 34px/0.9 var(--serif); letter-spacing: -0.03em; font-variation-settings: "opsz" 72; }
.day span { display: block; font: 600 11px var(--cond); text-transform: uppercase; letter-spacing: 0.14em; color: var(--red); margin-top: 5px; }
.row-name { font: 600 20px/1.2 var(--serif); overflow: hidden; text-overflow: ellipsis; }
.row-meta { font: 14px var(--cond); color: var(--muted); margin-top: 3px; }
.row-side { display: flex; gap: 14px; align-items: center; font: 14px var(--cond); color: var(--muted); text-align: right; }
.row-side .who { font: italic 600 17px var(--serif); color: var(--ink); }
@media (max-width: 600px) {
  .row { grid-template-columns: 48px minmax(0, 1fr); }
  .row.noday { grid-template-columns: minmax(0, 1fr); }
  .row-side { grid-column: 2; justify-content: flex-start; text-align: left; }
  .row.noday .row-side { grid-column: 1; }
  .ev-secs > div, .ev.feature .ev-secs > div { padding: 0; border-left: 0; }
  .ev-secs > div + div { margin-top: 22px; }
}

/* ---------- event page ---------- */
.crumbs { display: flex; gap: 10px; align-items: center; font: 600 11.5px var(--cond); text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.ev-hero { display: grid; gap: 22px; margin-bottom: 30px; }
.ev-title { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
.ev-title > div { min-width: 0; }
.facts { display: flex; flex-wrap: wrap; margin: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.facts > div { padding: 10px 22px 10px 0; margin-right: 22px; border-right: 1px solid var(--rule-2); }
.facts > div:last-child { border-right: 0; margin-right: 0; }
.facts dt { font: 600 10.5px var(--cond); text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 2px; }
.facts dd { margin: 0; font: italic 17px var(--serif); color: var(--ink); }
@media (max-width: 720px) {
  .facts > div { padding: 8px 14px 8px 0; margin-right: 14px; }
  .facts .hide-sm { display: none; }
}

.toolbar {
  position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px 24px; flex-wrap: wrap;
  background: var(--paper); border-bottom: 2px solid var(--ink); margin: 0 0 26px; padding: 12px 0 0;
}
.tabs { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: none; padding: 4px 0 10px; cursor: pointer; font: 600 22px var(--serif); color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; letter-spacing: -0.01em; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.tab .dot { color: var(--red); }
.seg { display: inline-flex; gap: 0; margin-bottom: 10px; }
.seg button { border: 0; background: none; padding: 4px 12px; cursor: pointer; font: 600 12px var(--cond); text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.seg button + button { border-left: 1px solid var(--rule-2); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg button[aria-pressed="true"]::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--red); margin: 0 7px 1px 0; }
@media (max-width: 720px) { .toolbar { position: static; } .tab { font-size: 20px; } }

.sec-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-top: 26px; padding-top: 12px; border-top: 1px solid var(--rule-2); font: 13px var(--cond); color: var(--muted); }
.textlink { border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink); font: 600 12px var(--cond); text-transform: uppercase; letter-spacing: 0.12em; text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 4px; }
.textlink:hover { text-decoration-color: var(--red); }

/* rounds, drawn like the coordinate edge of a board */
.rounds { display: flex; overflow-x: auto; border-top: 1px solid var(--ink); scrollbar-width: none; margin-bottom: 4px; }
.rounds::-webkit-scrollbar { display: none; }
.rnd { position: relative; flex: 0 0 auto; min-width: 44px; height: 46px; padding: 10px 12px 0; border: 0; background: none; cursor: pointer; font: 600 19px var(--serif); color: var(--ink-2); }
.rnd::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 7px; background: var(--ink); }
.rnd:hover { color: var(--ink); background: var(--paper-2); }
.rnd.future { color: var(--muted); font-weight: 400; font-style: italic; }
.rnd[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.rnd[aria-pressed="true"]::before { background: var(--paper); }
.rnd.is-live { color: var(--red); }
.rnd.is-live::before { width: 3px; height: 10px; margin-left: -1px; background: var(--red); }
.rnd.is-live[aria-pressed="true"] { background: var(--red); color: var(--paper); }

.round-head { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; margin: 18px 0 14px; }
.round-head h3 { font: 600 34px/1 var(--serif); letter-spacing: -0.02em; font-variation-settings: "opsz" 60; }
.round-head .when { font: italic 18px var(--serif); color: var(--muted); }
.round-head .state { font: 600 12px var(--cond); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); display: inline-flex; gap: 7px; align-items: center; }
.round-head .state.live { color: var(--red); }
.round-head .textlink { margin-left: auto; }

/* pairings, set like a bulletin page */
.pairings { border-top: 2px solid var(--ink); }
.game { display: grid; grid-template-columns: 34px minmax(0, 1fr) 92px minmax(0, 1fr) 104px; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.game.head { padding: 7px 0; border-bottom: 1px solid var(--ink); font: 600 11px var(--cond); text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.game.head .res { text-align: center; display: block; }
.game.is-live { background: linear-gradient(90deg, var(--red-soft), transparent 70%); }
.bd { font: 500 13px var(--cond); color: var(--muted); }
.pl { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.pl.w { justify-content: flex-end; text-align: right; }
.pl a { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 18.5px var(--serif); color: var(--ink); }
.pl a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.pl.won a { font-weight: 700; }
.pl.lost a { color: var(--muted); }
.pl .ttl { margin-right: -2px; }
.piece { display: none; }
.res { display: flex; justify-content: center; }
.score { font: 600 21px/1 var(--serif); letter-spacing: 0.03em; white-space: nowrap; }
.score.pending { font: italic 400 17px var(--serif); color: var(--muted); letter-spacing: 0; }
.score.live { font: 600 12px var(--cond); color: var(--red); text-transform: uppercase; letter-spacing: 0.1em; display: inline-flex; gap: 6px; align-items: center; }
.clock { font: 13px var(--mono); color: var(--muted); flex-shrink: 0; }

.links { display: flex; justify-content: flex-end; }
.an { position: relative; }
.an summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 6px 0; font: 600 11.5px var(--cond); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2); border-bottom: 1px solid var(--rule-2); }
.an summary::-webkit-details-marker { display: none; }
.an summary:hover, .an[open] summary { color: var(--ink); border-bottom-color: var(--red); }
.an summary svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.an[open] summary svg { transform: rotate(180deg); }
.an-off { font: italic 15px var(--serif); color: var(--muted); }

@media (max-width: 760px) {
  .game { grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-areas: "bd w res" "bd b res" "bd links links"; row-gap: 4px; column-gap: 12px; padding: 12px 0; }
  .game.head { display: none !important; }
  .bd { grid-area: bd; align-self: start; padding-top: 4px; }
  .pl.w { grid-area: w; justify-content: flex-start; text-align: left; }
  .pl.b { grid-area: b; }
  .pl.w .ttl { order: -1; }
  .pl.w .rating { order: 3; }
  .pl.w .clock { order: 4; }
  .pl.w::after, .pl.b::after { font: 600 10px var(--cond); letter-spacing: 0.12em; color: var(--muted); order: 5; }
  .res { grid-area: res; }
  .links { grid-area: links; justify-content: flex-start; padding-top: 2px; }
  .menu { left: 0; right: auto; }
  .theme-pick .menu { left: auto; right: 0; }
}

/* ---------- standings ---------- */
.podium3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); margin-bottom: 30px; }
.pod { display: grid; gap: 2px; align-content: start; padding: 16px 24px 18px; text-decoration: none; border-left: 1px solid var(--rule-2); min-width: 0; }
.pod:first-child { padding-left: 0; border-left: 0; }
.pod .place { font: 600 11px var(--cond); text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.pod:first-child .place { color: var(--red); }
.pod .who { font: 600 26px/1.1 var(--serif); letter-spacing: -0.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 4px; }
.pod:hover .who { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.pod .big { font: 600 50px/1 var(--serif); letter-spacing: -0.03em; margin-top: 10px; font-variation-settings: "opsz" 72; order: 4; }
.pod .big small { font: 400 15px var(--cond); color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.pod .sub { font: 13px var(--cond); color: var(--muted); order: 5; }
@media (max-width: 680px) {
  .podium3 { grid-template-columns: 1fr; }
  .pod { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .pod:first-child { border-top: 0; }
  .pod .place, .pod .who, .pod .sub { grid-column: 1; }
  .pod .big { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; font-size: 38px; }
}

.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
table { border-collapse: collapse; width: 100%; font: 15px var(--cond); }
th { text-align: left; font: 600 11px var(--cond); text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); padding: 10px 12px 8px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
td { padding: 10px 12px; border-top: 1px solid var(--rule); white-space: nowrap; }
tbody tr:first-child td { border-top: 0; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
td.num, th.num { text-align: right; }
td.pts { font: 700 20px var(--serif); }
td.pts small { font: 400 12px var(--cond); color: var(--muted); }
td.name a { text-decoration: none; font: 500 18px var(--serif); }
td.name a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
td.dim { color: var(--muted); }
tbody tr:hover { background: var(--paper-2); }
.rk { width: 1%; font: 500 14px var(--cond); color: var(--muted); }
tbody tr:first-child .rk { color: var(--red); font-weight: 600; }
.live-n { color: var(--red); font: 600 11px var(--cond); text-transform: uppercase; letter-spacing: 0.1em; margin-left: 10px; display: inline-flex; gap: 6px; align-items: center; }
/* round-by-round, as board squares */
.form { display: inline-flex; gap: 2px; vertical-align: middle; }
.form i { width: 11px; height: 11px; display: inline-block; border: 1px solid var(--ink); }
.form i.w { background: var(--ink); }
.form i.d { background: linear-gradient(135deg, var(--ink) 50%, transparent 50%); }
.form i.l { background: transparent; }
.form i.live { background: var(--red); border-color: var(--red); }
.form i.none { border: 1px dotted var(--rule-2); }
@media (max-width: 680px) { .hide-sm { display: none; } }

/* crosstable: the player-meets-self cells are tiny boards */
.xt td, .xt th { border: 1px solid var(--rule); }
.xt tr:first-child td { border-top: 1px solid var(--rule); }
.xt th { border-top: 0; border-left: 0; border-right: 0; border-bottom: 1px solid var(--ink); }
.xt td:first-child { padding-left: 6px; }
.xt td.c { text-align: center; padding: 8px 4px; min-width: 34px; font: 600 17px var(--serif); }
.xt th.c { text-align: center; padding: 10px 4px 8px; }
.xt td.self { background: repeating-conic-gradient(var(--sq-dark) 0 25%, var(--sq-light) 0 50%) 0 0 / 10px 10px; }
.xt td.c a { text-decoration: none; display: block; }
.xt td.c a:hover { color: var(--red); }
.xt .wcell { color: var(--ink); }
.xt .lcell { color: var(--muted); font-weight: 400; }
.xt .dcell { color: var(--ink-2); font-weight: 400; }
.xt .livecell { color: var(--red); }

/* announced events */
.announce { display: grid; gap: 20px; }
.versus { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 26px 0; }
.versus .pod { border: 0; padding: 0; }
.versus .pod:last-child { text-align: right; }
.versus .pod .who { font-size: clamp(28px, 4vw, 46px); white-space: normal; }
.vs { font: italic 400 30px var(--serif); color: var(--red); }
.next { display: flex; gap: 12px; align-items: baseline; font: italic 18px var(--serif); color: var(--ink-2); border-left: 3px solid var(--red); padding: 4px 0 4px 14px; margin-bottom: 14px; }
.next .eyebrow { font-style: normal; }
@media (max-width: 680px) {
  .versus { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .versus .pod:last-child { text-align: left; }
}

/* ---------- player ---------- */
.p-hero { display: grid; gap: 20px; margin-bottom: 8px; }
.p-block { margin-top: 48px; }
.p-block-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-top: 10px; border-top: 2px solid var(--ink); margin-bottom: 12px; }
.p-block-h a { text-decoration: none; }
.p-block-h h2 { font: 600 28px/1.1 var(--serif); letter-spacing: -0.015em; }
.p-block-h h2 .muted { font-style: italic; font-weight: 400; }
.p-block-h a:hover h2 { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }
.p-block-h .meta { font: 13px var(--cond); color: var(--muted); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.p-score { text-align: right; }
.p-score b { font: 600 40px/1 var(--serif); letter-spacing: -0.02em; }
.p-score small { font: 15px var(--cond); }
.p-score span { display: block; font: 600 11px var(--cond); text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.game.pg { grid-template-columns: 40px minmax(0, 1fr) 80px 104px; }
.game.pg .pl.b a { font-size: 18px; }
.game.pg .score { font-size: 15px; font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.12em; }
@media (max-width: 760px) { .game.pg { grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "bd b res" "bd links links"; } }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { border: 1px solid var(--ink); background: none; padding: 0 16px; height: 36px; border-radius: 0; cursor: pointer; font: 600 12px var(--cond); text-transform: uppercase; letter-spacing: 0.12em; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.btn:hover { background: var(--ink); color: var(--paper); }

/* ---------- search ---------- */
.search-big { display: flex; gap: 0; margin: 26px 0 18px; border-bottom: 2px solid var(--ink); }
.search-big input { flex: 1; min-width: 0; height: 58px; border: 0; background: none; color: var(--ink); font: italic 400 30px var(--serif); padding: 0; }
.search-big input::placeholder { color: var(--muted); }
.search-big input:focus { outline: none; }
.search-big .btn { height: 58px; border: 0; padding: 0 4px 0 16px; }
.search-big .btn:hover { background: none; color: var(--red); }
.filters { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.filters select { font: 600 12px var(--cond); text-transform: uppercase; letter-spacing: 0.1em; height: 34px; padding: 0 10px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); }
mark { background: var(--red-soft); color: inherit; padding: 0 1px; }

/* ---------- prose, contact ---------- */
.prose { max-width: 680px; }
.prose p { font: 19px/1.6 var(--serif); color: var(--ink-2); }
.prose h2 { font: 600 26px var(--serif); margin: 40px 0 6px; padding-top: 10px; border-top: 1px solid var(--ink); }
.prose a { text-decoration-color: var(--red); text-underline-offset: 3px; }
.prose .lede { font-size: 21px; }
.contact { display: grid; gap: 20px; margin-top: 30px; }
.contact label { display: grid; gap: 6px; font: 600 11.5px var(--cond); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2); }
.contact .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); margin-left: 6px; font-size: 13px; }
.contact input, .contact select, .contact textarea { font: 18px var(--serif); color: var(--ink); background: transparent; border: 1px solid var(--rule-2); border-radius: 0; padding: 10px 12px; width: 100%; text-transform: none; letter-spacing: 0; }
.contact select { height: 46px; font: 16px var(--cond); }
.contact textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: none; border-color: var(--ink); background: var(--paper-2); }
.contact .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .contact .two { grid-template-columns: 1fr; } }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact .actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn.primary { background: var(--ink); color: var(--paper); height: 46px; padding: 0 26px; }
.btn.primary:hover { background: var(--red); border-color: var(--red); }
.btn.primary:disabled { opacity: 0.5; cursor: default; }
.form-status { font: italic 16px var(--serif); color: var(--muted); }
.sent { margin-top: 28px; padding: 18px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.sent h2 { font: 600 26px var(--serif); margin: 0 0 6px; }
.sent p { margin: 6px 0; }

/* ---------- footer, odds and ends ---------- */
.foot { border-top: 3px double var(--ink); color: var(--muted); font: 14px var(--cond); }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gut) 34px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px 32px; flex-wrap: wrap; }
.foot p { margin: 0; max-width: 620px; }
.foot a { color: var(--ink-2); }
.foot-links { display: flex; gap: 20px; }
.foot-links a { font: 600 12px var(--cond); text-transform: uppercase; letter-spacing: 0.12em; text-decoration: none; color: var(--ink); }
.foot-links a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }

.skeleton { height: 280px; border-top: 2px solid var(--ink); background: repeating-linear-gradient(var(--paper) 0 26px, var(--rule) 26px 27px); opacity: 0.8; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 18px; font: 600 12.5px var(--cond); text-transform: uppercase; letter-spacing: 0.1em; z-index: 50; box-shadow: 5px 5px 0 var(--red); }

/* Visually hidden, still read by screen readers. */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- inline game viewer ---------- */
.links { gap: 16px; align-items: center; }
.view-btn {
  border: 0; background: none; padding: 6px 0; cursor: pointer; white-space: nowrap;
  font: 600 11.5px var(--cond); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink);
  border-bottom: 1px solid var(--rule-2);
}
.view-btn:hover, .view-btn[aria-expanded="true"] { border-bottom-color: var(--red); }
.view-btn[aria-expanded="true"] { color: var(--red); }
.game.has-viewer { border-bottom-color: transparent; }
.game-viewer { padding: 18px 0 28px; border-bottom: 1px solid var(--rule-2); }
.vw-loading { font: italic 17px var(--serif); color: var(--muted); margin: 6px 0; }

/* The board stays a printed diagram in both color themes. */
.vw {
  --b-light: #f5efe2;
  --b-dark: #c9b893;
  --b-ink: #1b1814;
  display: grid; grid-template-columns: auto minmax(220px, 340px); justify-content: center; column-gap: 34px; row-gap: 22px; align-items: start; outline: none;
}
.vw:focus-visible { outline: 2px solid var(--red); outline-offset: 8px; }
.vw-main { display: flex; gap: 10px; }
.vw-boardcol { width: min(420px, calc(100vw - 80px)); }
.vw-player { height: 32px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.vw-name { font: 500 17px var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vw-piece { width: 11px; height: 11px; border: 1.5px solid var(--ink); flex-shrink: 0; }
.vw-piece.white { background: var(--paper); }
.vw-piece.black { background: var(--ink); }
.vw-clock { margin-left: auto; font: 14px var(--mono); color: var(--ink-2); }
.vw-board {
  display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr);
  aspect-ratio: 1; border: 2px solid var(--ink); user-select: none; -webkit-user-select: none;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--rule-2);
}
.vw-sq { position: relative; background: var(--b-light); }
.vw-sq.d {
  background-color: var(--b-dark);
  background-image: repeating-linear-gradient(-45deg, rgb(27 24 20 / 0.16) 0 1px, transparent 1px 4px);
}
.vw-sq img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
.vw-sq.last::after { content: ""; position: absolute; inset: 0; background: rgb(168 50 29 / 0.26); }
.vw-sq.check::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgb(200 40 20 / 0.75) 0, rgb(200 40 20 / 0.3) 45%, transparent 70%); }
.vw-rank, .vw-file { position: absolute; z-index: 2; font: 600 9.5px/1 var(--cond); color: rgb(27 24 20 / 0.62); pointer-events: none; }
.vw-rank { top: 3px; left: 3px; }
.vw-file { bottom: 2px; right: 3px; }

.vw-eval {
  position: relative; width: 20px; margin: 32px 0; align-self: stretch; overflow: hidden;
  background: var(--b-ink); border: 1px solid var(--ink);
}
.vw-eval[hidden] { display: none; }
.vw-eval-white { position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--b-light); transition: height 0.25s ease; }
.vw-eval.flipped .vw-eval-white { bottom: auto; top: 0; }
.vw-eval.unknown .vw-eval-white { opacity: 0.55; }
.vw-eval-num { position: absolute; z-index: 1; left: 0; right: 0; bottom: 4px; text-align: center; font: 600 8.5px/1 var(--cond); color: var(--b-ink); letter-spacing: -0.02em; }
.vw-eval-num.black-side { bottom: auto; top: 4px; color: var(--b-light); }
.vw-eval.flipped .vw-eval-num { bottom: auto; top: 4px; }
.vw-eval.flipped .vw-eval-num.black-side { top: auto; bottom: 4px; }
@media (prefers-reduced-motion: reduce) { .vw-eval-white { transition: none; } }

.vw-side { display: flex; flex-direction: column; min-width: 0; margin-top: 32px; }
.vw-moves { max-height: 360px; overflow-y: auto; border-top: 2px solid var(--ink); scrollbar-width: thin; }
.vw-row { display: grid; grid-template-columns: 38px 1fr 1fr; align-items: center; border-bottom: 1px solid var(--rule); }
.vw-no { font: 500 13px var(--cond); color: var(--muted); padding-left: 2px; }
.vw-mv { text-align: left; border: 0; background: none; cursor: pointer; padding: 5px 8px; font: 500 16.5px var(--serif); color: var(--ink); }
.vw-mv:hover { background: var(--paper-2); }
.vw-mv.on { background: var(--ink); color: var(--paper); }
.vw-result { padding: 10px 2px; font: 600 19px var(--serif); }
.vw-result.live { font: 600 12px var(--cond); color: var(--red); text-transform: uppercase; letter-spacing: 0.12em; display: flex; gap: 7px; align-items: center; }
.vw-empty { font: italic 17px var(--serif); color: var(--muted); padding: 10px 0; margin: 0; }
.vw-nav { display: flex; border: 1px solid var(--ink); margin-top: 14px; align-self: flex-start; }
.vw-nav button { width: 46px; height: 40px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--ink); }
.vw-nav button + button { border-left: 1px solid var(--rule-2); }
.vw-nav button:hover { background: var(--ink); color: var(--paper); }
.vw-nav svg { width: 17px; height: 17px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.vw-nav [data-go="flip"] svg { fill: none; stroke-width: 1.8; }

@media (max-width: 760px) {
  .links { gap: 14px; }
  .vw { grid-template-columns: 1fr; gap: 14px; justify-items: center; }
  .vw-side, .vw-graph { justify-self: stretch; }
  .vw-boardcol { width: calc(100vw - 72px); max-width: 420px; }
  .vw-side { margin-top: 0; }
  .vw-moves { max-height: 220px; }
}

/* evaluation graph, finished games */
.vw-graph { grid-column: 1 / -1; margin: 0; width: 100%; }
.vw-graph[hidden] { display: none; }
.vw-chart { position: relative; height: 120px; border: 1px solid var(--ink); cursor: crosshair; }
.vw-chart svg { display: block; width: 100%; height: 100%; }
.vw-black { fill: var(--b-ink); }
.vw-white { fill: var(--b-light); }
.vw-mid { stroke: var(--red); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0.8; }
.vw-line { fill: none; stroke: var(--b-ink); stroke-width: 1.5; }
.vw-cursor { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--red); pointer-events: none; }
.vw-swing {
  position: absolute; z-index: 1; width: 11px; height: 11px; margin: -6px 0 0 -6px; padding: 0; cursor: pointer;
  background: var(--red); border: 2px solid var(--b-light); border-radius: 50%;
}
.vw-swing:hover, .vw-swing.on { transform: scale(1.35); }
.vw-graph figcaption { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 8px; font: 12.5px var(--cond); color: var(--muted); }
.vw-graph figcaption span { display: inline-flex; align-items: center; gap: 7px; }
.vw-key { display: inline-block; width: 10px; height: 10px; }
.vw-key.white { background: var(--b-light); border: 1px solid var(--ink); }
.vw-key.swing { background: var(--red); border-radius: 50%; }
@media (max-width: 760px) { .vw-chart { height: 96px; } }

/* knockout matchups on home cards */
.pairs { list-style: none; margin: 0; padding: 0; }
.pairs li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.pairs .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 17px var(--serif); }
.pairs .nm.r { text-align: right; }
.pairs .pr-res { font: 600 16px var(--serif); min-width: 38px; text-align: center; }
.pairs .pr-res.live { color: var(--red); }
.ev.feature .pairs .nm { font-size: 19px; }

/* ---------- a match leading the home page ---------- */
.ev.fm { display: block; }
.ev.fm .ev-name { text-decoration: none; display: inline-block; }
.ev.fm .ev-name:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--red); }
.fm-body { display: grid; grid-template-columns: auto minmax(280px, 1fr); gap: 48px; margin-top: 26px; align-items: start; }
.fm-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 4px; }
.fm-head h3 { font: 600 26px/1 var(--serif); letter-spacing: -0.015em; }
.fm-head .state { font: 600 12px var(--cond); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); display: inline-flex; gap: 7px; align-items: center; }
.fm-head .state.live { color: var(--red); }
/* Inside the home card the move list sits under the board, leaving room for the score. */
.fm-viewer .vw { grid-template-columns: auto; justify-content: start; }
.fm-viewer .vw-side { margin-top: 6px; }
.fm-viewer .vw-moves { max-height: 150px; }
.fm-viewer .vw-graph { display: none; }
.fm-links { margin-top: 14px; }
.fm-links .links { justify-content: flex-start; }

.fm-score { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.fm-p { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.fm-p + .fm-p { border-top: 1px solid var(--rule-2); }
.fm-p a { text-decoration: none; min-width: 0; display: flex; align-items: baseline; gap: 2px; }
.fm-p a:hover .fm-name { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.fm-name { font: 600 26px/1.1 var(--serif); letter-spacing: -0.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-pts { font: 600 52px/1 var(--serif); letter-spacing: -0.03em; font-variation-settings: "opsz" 72; }
.fm-format { font: italic 16px var(--serif); color: var(--muted); margin: 10px 0 18px; }
.fm-games { list-style: none; margin: 0 0 16px; padding: 0; max-height: 330px; overflow-y: auto; border-top: 1px solid var(--ink); }
.fm-games button {
  width: 100%; display: grid; grid-template-columns: 74px minmax(0, 1fr) 46px minmax(0, 1fr); gap: 8px; align-items: baseline;
  padding: 8px 4px; border: 0; border-bottom: 1px solid var(--rule); background: none; cursor: pointer; text-align: left;
}
.fm-games button:hover { background: var(--paper-2); }
.fm-games button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.fm-games button[aria-pressed="true"] .fm-gn { color: var(--paper); }
.fm-gn { font: 600 11px var(--cond); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.fm-w, .fm-b { font: 500 15px var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-b { text-align: right; }
.fm-r { font: 600 15px var(--serif); text-align: center; }
.fm-r.live { color: var(--red); }
@media (max-width: 900px) {
  .fm-body { grid-template-columns: 1fr; gap: 28px; }
  .fm-name { font-size: 22px; }
  .fm-pts { font-size: 42px; }
}
