/* Catan Night: an almanac. Warm paper, black ink, Newsreader for titles and big numbers, Inter for everything
   you read or compare. No boxes: sections and tables are separated by rules. The one loud element is the
   masthead's line about the latest game. */

:root {
  color-scheme: light;
  --page: #faf9f6;          /* paper */
  --surface: #faf9f6;       /* panels sit on the page */
  --ink: #161514;
  --ink-2: #4b4945;
  --muted: #7a776f;
  --hair: #e6e3dc;
  --axis: #cfcac0;
  --link: #161514;
  --wash: #f2f0ea;          /* hover and zebra */
  --data: #5d7586;          /* non-identity data marks (dice, VP sources) */
  --good: #006300;
  --div-pos: #2a78d6;       /* head to head: ahead */
  --div-neg: #e34948;       /* head to head: behind */
  --div-mid: #f0efec;

  /* Player identity colors: validated categorical order, light steps. */
  --p1: #2a78d6; --p2: #eb6834; --p3: #1baf7a; --p4: #eda100;
  --p5: #e87ba4; --p6: #008300; --p7: #6250d6; --p8: #e34948;

  /* TwoSheep piece colors, as each player's identity color (build.py player_colors picks the one they use most).
     Muted toward the header's tile tones (lumber, brick, grain, ore). Validated as a set for the colors in use
     (black, white, green, pink, teal, purple, yellow as of 2026-10-11): every pair stays apart under protan and
     deutan simulation (OKLab dE >= 8) and in normal vision (>= 15). Black and white are near-neutral on purpose.
     Blue, orange and red are unused right now; re-validate when the set of most used colors changes. */
  --tc-black: #35312f; --tc-white: #b6bec8; --tc-green: #305c23; --tc-blue: #396598; --tc-teal: #3b9aa2;
  --tc-orange: #c86b4f; --tc-yellow: #d7a446; --tc-red: #b9504a; --tc-pink: #b65b65; --tc-purple: #5c3f86;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --radius: 2px;
}

@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) {
    color-scheme: dark;
    --page: #141413;
    --surface: #141413;
    --ink: #edebe5;
    --ink-2: #b9b5ac;
    --muted: #8d897f;
    --hair: #2a2926;
    --axis: #3b3a36;
    --link: #edebe5;
    --wash: #1d1c1a;
    --data: #8fa7b6;
    --good: #0ca30c;
    --div-pos: #3987e5;
    --div-neg: #e66767;
    --div-mid: #2a3a44;
    --p1: #3987e5; --p2: #d95926; --p3: #199e70; --p4: #c98500;
    --p5: #d55181; --p6: #008300; --p7: #9085e9; --p8: #e66767;
    --tc-black: #6f6863; --tc-white: #f2eee6; --tc-green: #529d74; --tc-blue: #718bc3; --tc-teal: #7ecaca;
    --tc-orange: #c67838; --tc-yellow: #e2c675; --tc-red: #d06a60; --tc-pink: #d47eac; --tc-purple: #7d78ca;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #141413;
  --surface: #141413;
  --ink: #edebe5;
  --ink-2: #b9b5ac;
  --muted: #8d897f;
  --hair: #2a2926;
  --axis: #3b3a36;
  --link: #edebe5;
  --wash: #1d1c1a;
  --data: #8fa7b6;
  --good: #0ca30c;
  --div-pos: #3987e5;
  --div-neg: #e66767;
  --div-mid: #2a3a44;
  --p1: #3987e5; --p2: #d95926; --p3: #199e70; --p4: #c98500;
  --p5: #d55181; --p6: #008300; --p7: #9085e9; --p8: #e66767;
  --tc-black: #6f6863; --tc-white: #f2eee6; --tc-green: #529d74; --tc-blue: #718bc3; --tc-teal: #7ecaca;
  --tc-orange: #c67838; --tc-yellow: #e2c675; --tc-red: #d06a60; --tc-pink: #d47eac; --tc-purple: #7d78ca;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-variant-numeric: lining-nums;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
a { color: var(--link); text-underline-offset: 2px; text-decoration-color: var(--axis); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 6px 10px; z-index: 10; }

/* ---- Masthead ------------------------------------------------------- */
.site-head { text-align: center; padding-top: 18px; }
.dateline { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: .08em; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.brand { display: block; font-family: var(--serif); font-weight: 500; color: var(--ink); text-decoration: none; line-height: 1;
  font-size: clamp(40px, 6vw, 56px); margin: 16px 0 10px; letter-spacing: -0.02em; }
.is-home .brand { font-size: clamp(54px, 10vw, 100px); margin: 24px 0 12px; }
.mast-kicker, .mast-lead { display: none; }
.is-home .mast-kicker:not(:empty), .is-home .mast-lead:not(:empty) { display: block; }
.mast-kicker { margin: 0 0 6px; font-size: 11.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.mast-kicker::before, .mast-kicker::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--axis); vertical-align: middle; margin: 0 10px; }
.mast-lead { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink-2); max-width: 46ch; margin: 0 auto 18px; line-height: 1.3; }
.mast-lead .who { font-style: normal; font-weight: 600; }
.mast-lead .who .hex { align-self: center; }
.lead-delta { margin-left: 6px; font-family: var(--font); font-style: normal; font-size: 13px; font-weight: 650; color: var(--good);
  letter-spacing: 0; font-variant-numeric: tabular-nums; }
/* A thin rule in the five resource colors (the tile colors in resources.css). */
.res-rule { display: flex; height: 3px; gap: 3px; }
.res-rule i { flex: 1; background: var(--c); }
.nav { display: flex; justify-content: center; align-items: center; gap: 0 6px; padding: 8px 0; border-bottom: 1px solid var(--ink);
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: var(--ink-2); text-decoration: none; padding: 6px 10px; white-space: nowrap;
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .09em; font-weight: 550;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.theme-btn {
  margin-left: 4px; display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none;
  border: 0; background: transparent; color: var(--ink-2); border-radius: 50%; cursor: pointer;
}
.theme-btn:hover { color: var(--ink); }
@media (max-width: 640px) { .dateline .dl-mid { display: none; } .nav { justify-content: flex-start; } }

/* ---- Page sections -------------------------------------------------- */
main.wrap { padding-top: 40px; padding-bottom: 48px; outline: none; }
.loading, .error-box { color: var(--ink-2); }
.error-box { background: var(--surface); border: 1px solid var(--hair); padding: 16px; border-radius: var(--radius); }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1; }
h2 { font-size: 30px; line-height: 1.05; margin-bottom: 6px; }
h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.lede { color: var(--ink-2); margin: 6px 0 0; max-width: 68ch; }
.note { color: var(--muted); font-size: 14px; margin: 4px 0 0; max-width: 72ch; }
section.block { margin-top: 56px; }
section.block > .note:first-of-type { margin-bottom: 14px; }
.panel { background: transparent; border-top: 1px solid var(--ink); }
/* minmax(0, 1fr) lets a wide table scroll inside its column instead of widening the page. */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 860px) { .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } .two-col > section.block { margin-top: 56px; } }

/* ---- Player identity marker: a small hex in the player's color ---------- */
.hex {
  display: inline-block; width: 12px; height: 14px; flex: none;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--c, var(--muted)); vertical-align: -1px;
}
.who { display: inline-flex; align-items: center; gap: 8px; font-weight: 620; color: var(--ink); text-decoration: none; }
a.who:hover span:last-child { text-decoration: underline; }

/* ---- Tables --------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--hair); white-space: nowrap; }
th { font-weight: 600; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; vertical-align: bottom;
  border-bottom-color: var(--ink); }
th:first-child, td:first-child { padding-left: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--wash); }
.sub { color: var(--muted); font-size: 13px; }

/* Leaderboard */
.board td.rank { width: 1%; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.board td.score { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; }
.board .range { width: 160px; min-width: 120px; }
.range svg { display: block; width: 100%; height: 18px; overflow: visible; }

/* Tiles on the player page */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); column-gap: 18px; border-top: 1px solid var(--ink);
  overflow: hidden; margin-top: 20px; }
.tile { padding: 16px 18px 14px 0; border-right: 1px solid var(--hair); }
.tile .v { font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.1; letter-spacing: -0.02em; }
.tile .v .vt, .tile .v small { font-family: var(--font); letter-spacing: 0; }
.tile .k { color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.tile .s { color: var(--muted); font-size: 12px; }

.player-head { display: flex; align-items: center; gap: 14px; }
.player-head .hex { width: 36px; height: 41px; }

/* Charts */
.chart { position: relative; padding: 14px 0 8px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--font); font-size: 12px; fill: var(--muted); }
.chart .lbl { fill: var(--ink-2); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend .sw { width: 14px; height: 3px; border-radius: 2px; background: var(--c); }
.legend .sw.box { height: 10px; width: 10px; border-radius: 2px; }
.legend .sw.tick { height: 2px; width: 14px; background: var(--ink); }
details.tv { margin-top: 6px; border-top: 1px solid var(--hair); }
details.tv summary { cursor: pointer; color: var(--ink-2); font-size: 13px; padding: 8px 0; }
details.tv[open] summary { border-bottom: 1px solid var(--hair); }

.tip {
  position: fixed; z-index: 20; pointer-events: none; max-width: 260px;
  background: var(--ink); color: var(--page); border-radius: var(--radius); padding: 8px 10px;
  font-size: 13px; line-height: 1.4; box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.tip b { font-weight: 700; }
.tip .row { display: flex; align-items: center; gap: 6px; }
.tip .hex { width: 9px; height: 10px; }

/* Head to head matrix */
.matrix td, .matrix th { text-align: center; padding: 0; border: 0; }
.matrix th.rowh { text-align: left; padding: 6px 10px 6px 0; }
.matrix th.colh { padding: 0 2px 8px; font-size: 13px; }
.matrix th.colh .who { flex-direction: column; gap: 4px; font-size: 13px; }
.matrix td .cell {
  margin: 2px; min-width: 76px; height: 54px; border-radius: 4px; display: grid; place-content: center;
  background: var(--fill); color: var(--ink); font-variant-numeric: tabular-nums;
}
.matrix td .cell b { font-size: 16px; font-weight: 750; }
.matrix td .cell span { font-size: 12px; color: var(--ink-2); }
.matrix td .cell.self { background: transparent; }
.matrix tbody tr:hover td { background: transparent; }
.divbar { display: block; width: 100%; height: 10px; }
.scale { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-top: 12px; flex-wrap: wrap; }
.scale .bar { width: 180px; height: 10px; border-radius: 2px;
  background: linear-gradient(90deg, var(--div-neg), var(--div-mid), var(--div-pos)); }

/* Games list */
.order { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.order .who { font-weight: 500; }
.order .who.win { font-weight: 750; }
.order .vp { color: var(--ink-2); font-variant-numeric: lining-nums tabular-nums; margin-left: 3px; font-size: 14px; }
.games-table td { vertical-align: top; white-space: normal; }
.games-table td.date { white-space: nowrap; }

.empty { color: var(--ink-2); border: 1px dashed var(--axis); border-radius: var(--radius); padding: 14px 16px; max-width: 72ch; }
.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { margin-top: 32px; }
.prose code { font-size: 14px; background: var(--wash); padding: 1px 5px; border-radius: 4px; }

.back { display: inline-block; margin-bottom: 14px; font-size: 14px; }
.delta-up { color: var(--good); }
.delta-down { color: var(--ink-2); }

.site-foot.wrap { padding-top: 18px; padding-bottom: 40px; border-top: 1px solid var(--ink); color: var(--muted); font-size: 13px; }
.site-foot p { margin: 4px 0; max-width: 80ch; }

@media (max-width: 640px) {
  .hide-sm { display: none; }
  th, td { padding: 8px 6px; }
  .matrix td .cell { min-width: 58px; height: 48px; }
}
@media (forced-colors: active) {
  .hex { forced-color-adjust: none; }
}

.nowrap { white-space: nowrap; }

/* ---- Game type filter ------------------------------------------------- */
.filter { margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.chips.sub { margin-top: 8px; padding-left: 14px; border-left: 2px solid var(--hair); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 2px;
  border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--ink-2);
  text-decoration: none; font-size: 14px; font-weight: 560;
}
.chips.sub .chip, .chips.size .chip { font-size: 13px; padding: 2px 2px; }
.chips.size { margin-top: 8px; align-items: center; }
.chips-k { font-size: 13px; color: var(--muted); margin-right: 2px; }
.chip.off, .chip.off:hover { opacity: .45; color: var(--ink-2); }
.chip .n { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.chip:hover { color: var(--ink); }
.chip.on { color: var(--ink); border-bottom-color: var(--ink); }
.filter .note { margin-top: 8px; }
.filter + section.block { margin-top: 24px; }
.chip.within { color: var(--ink); border-bottom-color: var(--axis); }

/* ---- Findings: closeness strip and chips ---------------------------------- */
.strip { display: grid; gap: 10px; padding: 4px 0; }
.strip-row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; }
.strip-lab { font-size: 13px; color: var(--ink-2); }
.strip-track { position: relative; height: 22px; border-bottom: 1px solid var(--hair); }
.strip-dot { position: absolute; top: 5px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--data); opacity: .55; border: 1.5px solid var(--surface); }
.strip-dot.hot { background: var(--div-pos); opacity: 1; }
.strip-dot.cold { background: var(--div-neg); opacity: .9; }
.strip-dot:hover, .strip-dot:focus-visible { opacity: 1; transform: scale(1.3); }
.strip-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding-left: 130px; }
.chipline { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.mini { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--wash); color: var(--ink-2); white-space: nowrap; }
.spark { display: block; width: 100%; height: 24px; }
h3 .sub { font-weight: 500; }
@media (max-width: 640px) {
  .strip-row { grid-template-columns: 1fr; gap: 2px; }
  .strip-axis { padding-left: 0; }
}
.mk-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 10px; }
.mk-key .legend { margin: 0; }
.mk-key .note { margin: 0; }
.cell-mk { display: inline-block; min-width: 64px; text-align: left; }
.cell-mk:empty { min-width: 0; }
.tile .k .info, h2 .info, h3 .info, th .info { margin-left: 4px; }
.race-ctl { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 4px 0 10px; }
.callout { margin: 12px 0 0; max-width: 72ch; color: var(--ink); font-size: 15px; }
.star-ic { color: var(--ink); }
.three-col { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 860px) { .three-col { grid-template-columns: repeat(3, 1fr); } }
h4 { font-size: 14px; font-weight: 650; margin: 0 0 6px; color: var(--ink-2); }
.chips button.chip { cursor: pointer; font: inherit; font-size: 13px; padding: 2px 2px; }
.dev-mk { position: absolute; top: 3px; width: 14px; height: 14px; margin-left: -7px; border-radius: 3px; font-size: 9px;
  line-height: 14px; text-align: center; font-weight: 700; }
.dev-mk.buy { border: 1.5px solid var(--ink-2); background: var(--surface); }
.dev-mk.play { background: var(--c); color: #fff; min-width: 14px; width: auto; padding: 0 2px; }
.dev-mk.static { position: static; display: inline-block; margin: 0; }

/* ---- Live leaderboard: movement, leader ring, on fire, last games ---- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.board td.rank { white-space: nowrap; }
.mv { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; vertical-align: 1px; }
.mv.up, .hot-rank .up { color: var(--good); }
.mv.down, .hot-rank .down { color: var(--div-neg); }
.mv.new { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 10px; }
.mv.same::before { content: ""; display: inline-block; width: 7px; height: 2px; border-radius: 1px; background: var(--axis); vertical-align: 3px; }

.pmark { position: relative; display: inline-flex; flex: none; justify-content: center; align-items: center; }
.who .pmark { min-width: 20px; } /* same slot for every player, so names stay aligned next to the leader's ring */
/* The leader's hex: a shimmering gold ring and a soft glow. */
.pmark.lead { isolation: isolate; filter: drop-shadow(0 0 3px rgba(240, 190, 70, .65)); }
.pmark.lead::before { content: ""; position: absolute; left: 50%; top: 50%; width: calc(100% + 5px); height: calc(100% + 6px);
  transform: translate(-50%, -50%); z-index: -1; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(115deg, #a8761c 0%, #e3b23c 30%, #fff1c2 48%, #e3b23c 62%, #a8761c 100%); background-size: 250% 100%; }
.who .pmark.lead .hex { width: 13px; height: 15px; }
.tip .pmark.lead .hex { width: 9px; height: 10px; }
.player-head .pmark.lead { margin: 4px; filter: drop-shadow(0 0 6px rgba(240, 190, 70, .6)); }
.player-head .pmark.lead::before { width: calc(100% + 8px); height: calc(100% + 9px); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 2px rgba(240, 190, 70, .45)); } 50% { filter: drop-shadow(0 0 5px rgba(240, 190, 70, .85)); } }

.name-cell { display: inline-flex; align-items: center; gap: 6px; }
.flame { display: inline-block; width: 14px; height: 18px; flex: none; transform-origin: 50% 100%; }
.flame-out { fill: #e8622c; }
.flame-in { fill: #f6c445; }
.fire-tag { display: inline-flex; }
.fire-tag .flame { width: 13px; height: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .flame { animation: flicker 1.6s ease-in-out infinite; }
  .flame-in { animation: flicker-in 1.1s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
  .pmark.lead::before { animation: shimmer 3.2s linear infinite; }
  .pmark.lead { animation: glow 3.2s ease-in-out infinite; }
}
@keyframes flicker { 0%, 100% { transform: scale(1, 1) skewX(0deg); } 30% { transform: scale(.96, 1.06) skewX(-2deg); } 60% { transform: scale(1.03, .97) skewX(2deg); } }
@keyframes flicker-in { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.85); } }

.hot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 10px; }
.hot-card { display: block; padding: 12px 2px; border-top: 1px solid var(--ink); color: var(--ink); text-decoration: none; }
.hot-card:hover { background: var(--wash); }
.hot-card.fire { border-top: 3px solid #e8622c; }
.hot-card.idle { opacity: .6; }
.hot-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 22px; }
.fire-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: #c4471b; text-transform: uppercase; letter-spacing: .04em; }
:root[data-theme="dark"] .fire-badge { color: #f39a5c; }
@media (prefers-color-scheme: dark) { :root:where(:not([data-theme="light"])) .fire-badge { color: #f39a5c; } }
.streak { font-size: 11px; font-weight: 650; color: var(--good); }
.form { display: flex; gap: 4px; margin: 10px 0 8px; }
.fdot { width: 20px; height: 22px; display: inline-grid; place-items: center; }
.fdot::before { content: ""; width: 8px; height: 9px; background: var(--axis);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.fdot.w::before { width: 20px; height: 22px; background: var(--c); }
.hot-num { font-size: 13px; color: var(--ink-2); }
.hot-num b { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; margin-right: 2px; }
.hot-rank { font-size: 12px; color: var(--muted); margin-top: 2px; }
.fire-line { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 6px 12px; border-radius: 999px; font-size: 14px;
  background: linear-gradient(90deg, rgba(246, 196, 69, .18), rgba(232, 98, 44, .1)); border: 1px solid rgba(232, 98, 44, .4); }

/* Game-day calendar on the leaderboard */
.cal-year + .cal-year { margin-top: 18px; }
.cal-year h3 { margin: 6px 0 6px; font-size: 15px; font-weight: 650; color: var(--ink); }
.cal-year h3 .sub { font-weight: 400; margin-left: 6px; }
.cal-scroll { padding-bottom: 4px; }
.chart svg.cal { max-width: 900px; overflow: hidden; }
.cal text { font-size: 10px; }
.cal .cal-off { fill: var(--surface); stroke: var(--axis); stroke-width: 1; }
.cal .cal-future { opacity: .4; }
.cal .cal-ring { fill: none; stroke: transparent; stroke-width: 1.5; }
.cal a.cal-day:hover .cal-ring, .cal a.cal-day:focus-visible .cal-ring { stroke: var(--ink); }
.cal a.cal-day:focus { outline: none; }
.day-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: 14px; }
