

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-var.woff2') format('woff2-variations'), url('/fonts/archivo-var.woff2') format('woff2');
  font-weight: 400 900;
  font-stretch: 62% 100%;
  font-display: swap;
}

:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --card: #fffdf8;
  --ink: #121212;
  --ink-2: #3d3a35;
  --muted: #5e5a52;
  --rule: rgba(18, 18, 18, 0.14);
  --rule-strong: #121212;
  --flash: #d90a0a;
  --flash-ink: #ffffff;
  --focus: #0a58d9;
  --happened: #0b7a3b;
  --not: #b3261e;
  --open: #6b6457;
  --club: #7a263a;
  --club-2: #1bb1e7;
  --on-club: #ffffff;
  --club-accent: var(--club);
  --meter-empty: #e2dccf;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 10px 30px -12px rgba(0, 0, 0, 0.18);
  --radius: 14px;
  --gutter: 16px;
  --max: 1120px;
  --squeeze: 62%;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0d0d0f;
    --paper-2: #151518;
    --card: #17171b;
    --ink: #f2efe8;
    --ink-2: #d6d2c9;
    --muted: #a39e93;
    --rule: rgba(242, 239, 232, 0.14);
    --rule-strong: #f2efe8;
    --flash: #ff4136;
    --flash-ink: #0d0d0f;
    --focus: #7fb2ff;
    --happened: #3ecf7a;
    --not: #ff6b5f;
    --open: #b4ad9f;
    --club-accent: var(--club-2);
    --meter-empty: #34343b;
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 14px 34px -14px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #0d0d0f;
  --paper-2: #151518;
  --card: #17171b;
  --ink: #f2efe8;
  --ink-2: #d6d2c9;
  --muted: #a39e93;
  --rule: rgba(242, 239, 232, 0.14);
  --rule-strong: #f2efe8;
  --flash: #ff4136;
  --flash-ink: #0d0d0f;
  --focus: #7fb2ff;
  --happened: #3ecf7a;
  --not: #ff6b5f;
  --open: #b4ad9f;
  --club-accent: var(--club-2);
  --meter-empty: #34343b;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 14px 34px -14px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

*, *::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-family: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  font-weight: 400;
  font-feature-settings: 'kern', 'liga', 'tnum' 0;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--flash); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 12px; top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.squeeze, h1, h2, h3, .masthead__brand, .kicker, .meter__num, .stamp, .btn, .tab {
  font-stretch: var(--squeeze);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
h1, h2, h3 { margin: 0; line-height: 0.88; }
.display { font-size: clamp(3.4rem, 17vw, 9.5rem); line-height: 0.84; letter-spacing: -0.012em; }
h2 { font-size: clamp(2.2rem, 9vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 6vw, 2rem); line-height: 0.92; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; line-height: 1.45; color: var(--ink-2); max-width: 38ch; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.95rem; letter-spacing: 0.02em; font-weight: 800;
}
.flash {
  background: var(--flash); color: var(--flash-ink);
  padding: 3px 9px 2px; transform: skew(-8deg); display: inline-block;
}
.flash > span { display: inline-block; transform: skew(8deg); }

.masthead { border-bottom: 3px solid var(--rule-strong); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.masthead__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; }
.masthead__brand { font-size: 1.85rem; line-height: 1; text-decoration: none; display: inline-flex; align-items: baseline; gap: 6px; }
.masthead__brand b { color: var(--flash); }
.masthead__nav { display: flex; gap: 4px; align-items: center; }
.tab {
  font-size: 1.05rem; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 800;
}
.tab[aria-current='page'] { background: var(--ink); color: var(--paper); }
.theme-toggle {
  appearance: none; border: 2px solid var(--rule-strong); background: transparent; color: var(--ink);
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; cursor: pointer;
}
.theme-toggle svg { width: 18px; height: 18px; }
.nav-more { display: none; }
@media (max-width: 640px) {
  .masthead__nav .tab:not(.tab--keep) { display: none; }
}

.ticker { background: var(--ink); color: var(--paper); font-size: 0.85rem; overflow: hidden; }
.ticker .wrap { display: flex; gap: 18px; white-space: nowrap; padding-top: 7px; padding-bottom: 7px; }
.ticker b { font-stretch: var(--squeeze); text-transform: uppercase; font-weight: 900; letter-spacing: 0.02em; color: var(--flash); }

.hero { padding: 28px 0 22px; border-bottom: 1px solid var(--rule); }
.hero .display { margin: 12px 0 14px; }
.hero--club { background: var(--club); color: var(--on-club); border-bottom: 0; position: relative; overflow: hidden; }
.hero--club .lede { color: color-mix(in srgb, var(--on-club) 86%, transparent); }
.hero--club::after {
  content: ''; position: absolute; inset: auto -10% -38px -10%; height: 76px; background: var(--club-2);
  transform: rotate(-2.2deg); opacity: 0.95;
}
.hero--club .wrap { position: relative; z-index: 1; padding-bottom: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.95rem; }
.hero__meta strong { font-stretch: var(--squeeze); font-weight: 900; text-transform: uppercase; font-size: 1.25rem; }

.section { padding-top: 34px; padding-bottom: 10px; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 12px; border-bottom: 3px solid var(--rule-strong); padding-bottom: 8px; margin-bottom: 18px; }
.section__head p { margin: 0; }
.section__head > a { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.section__head > a svg { display: inline; }
.grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }

.receipt {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); position: relative;
  padding: 20px 18px 18px; border: 1px solid var(--rule);
  --tear: 10px;
  -webkit-mask: radial-gradient(circle at 50% 0, transparent 5px, #000 5.5px) 0 0 / 16px 100% repeat-x;
          mask: radial-gradient(circle at 50% 0, transparent 5px, #000 5.5px) 0 0 / 16px 100% repeat-x;
}
.receipt__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; }
.receipt__rank { font-stretch: var(--squeeze); font-weight: 900; font-size: 1.1rem; color: var(--ink); }
.receipt h3 { margin: 10px 0 6px; font-size: clamp(2rem, 9vw, 2.6rem); }
.receipt__move { font-weight: 600; margin-bottom: 12px; }
.receipt__summary { color: var(--ink-2); font-size: 1rem; }
.receipt__rows { border-top: 1px dashed var(--rule); margin-top: 12px; padding-top: 10px; font-size: 0.92rem; display: grid; gap: 4px; }
.receipt__row { display: flex; justify-content: space-between; gap: 12px; }
.receipt__row dt { color: var(--muted); white-space: nowrap; }
.receipt__row dd { margin: 0; text-align: right; font-weight: 600; }
.receipt__row--stack { flex-direction: column; gap: 2px; }
.receipt__row--stack dd { text-align: left; font-weight: 500; }
.claim .evidence { font-size: 0.85em; }
.receipt__foot { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 14px; font-size: 0.92rem; }

.meter { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; margin: 14px 0 6px; }
.meter__num { font-size: 3.4rem; line-height: 0.8; grid-row: span 2; color: var(--club-accent); }
.meter__num small { font-size: 1.3rem; color: var(--muted); }
.meter__bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; height: 22px; }
.meter__seg { background: var(--meter-empty); transform: skew(-14deg); border-radius: 3px; overflow: hidden; position: relative; }
.meter__seg::after {
  content: ''; position: absolute; inset: 0; background: var(--club-accent);
  transform-origin: left; transform: scaleX(var(--fill, 0));
  transition: transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
  transition-delay: calc(var(--i) * 110ms);
}
.meter__label { font-stretch: var(--squeeze); font-weight: 900; text-transform: uppercase; font-size: 1.3rem; line-height: 1; }
.js .meter:not(.is-in) .meter__seg::after { transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) { .meter__seg::after { transition: none; } }

.result { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.02em; padding: 2px 8px; border-radius: 999px; border: 2px solid currentColor; white-space: nowrap; }
.result--happened { color: var(--happened); }
.result--did-not-happen { color: var(--not); }
.result--open { color: var(--open); }
.stamp { font-size: 1.4rem; border: 4px solid currentColor; padding: 4px 10px 2px; transform: rotate(-4deg); display: inline-block; border-radius: 6px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--rule); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: 12px 14px 0; color: var(--muted); font-size: 0.85rem; }
th, td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: middle; }
th { font-stretch: 80%; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; color: var(--muted); font-weight: 800; }
td.num, th.num { text-align: right; }
tr:last-child td { border-bottom: 0; }
.rank { font-stretch: var(--squeeze); font-weight: 900; font-size: 1.4rem; width: 2.2ch; }
.hit { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.hit__bar { width: 54px; height: 7px; background: var(--meter-empty); border-radius: 99px; overflow: hidden; }
.hit__bar i { display: block; height: 100%; background: var(--club-accent); }
@media (max-width: 520px) {
  th, td { padding: 10px 7px; }
  .col-reported { display: none; }
  .hit__bar { display: none; }
  .rank { font-size: 1.2rem; }
  table { font-size: 0.92rem; }
}
.table-note { font-size: 0.88rem; color: var(--muted); margin: 10px 2px 0; display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; }

.slot { border: 2px dashed var(--rule); border-radius: var(--radius); padding: 14px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 22px 0 0; }
.slot__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 800; }
.slot a { font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 10px; font-size: 1.2rem; text-decoration: none; cursor: pointer;
}
.btn--flash { background: var(--flash); color: var(--flash-ink); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--rule-strong); }
.hero--club .btn { background: var(--on-club); color: var(--club); }
form { display: grid; gap: 12px; }
label { font-weight: 700; font-size: 0.95rem; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--card);
  border: 2px solid var(--rule); border-radius: 10px; padding: 12px 12px; min-height: 48px;
}
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.hp { position: absolute; left: -5000px; }
.signup { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 22px 18px; }
.signup input, .signup select { background: var(--paper); color: var(--ink); border-color: transparent; }
.signup .btn { background: var(--flash); color: var(--flash-ink); }
.signup a { color: inherit; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.9rem; }
.check input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; flex: none; }

.score-list { display: grid; gap: 10px; }
.score-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; background: var(--card); border-radius: 12px; border: 1px solid var(--rule); }
.score-item__who { font-weight: 700; }
.score-item__call { font-stretch: var(--squeeze); font-weight: 900; font-size: 1.6rem; text-transform: uppercase; text-align: right; line-height: 1; }
.score-item__meta { grid-column: 1 / -1; font-size: 0.85rem; color: var(--muted); }
.score-item__probs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.prob { font-size: 0.78rem; font-weight: 700; border: 1px solid var(--rule); border-radius: 999px; padding: 2px 8px; font-variant-numeric: tabular-nums; }

.opinion-card { display: block; text-decoration: none; background: var(--card); border-radius: var(--radius); border: 1px solid var(--rule); padding: 18px; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: var(--paper); }
.article { max-width: 680px; }
.article p { font-size: 1.12rem; line-height: 1.65; }

.prose { max-width: 680px; }
.prose h2 { margin: 30px 0 12px; }
.prose h3 { margin: 24px 0 8px; }
.prose li { margin-bottom: 6px; }

.footer { margin-top: 56px; border-top: 3px solid var(--rule-strong); padding: 22px 0 40px; font-size: 0.92rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 14px; }
.footer .masthead__brand { font-size: 1.5rem; }

.empty { border: 2px dashed var(--rule); border-radius: var(--radius); padding: 22px 18px; }
.empty h3 { margin-bottom: 8px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 2px solid var(--rule-strong); border-radius: 999px; padding: 6px 12px; text-decoration: none; font-weight: 700; }
.club-tile { display: grid; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--club); color: var(--on-club); text-decoration: none; position: relative; overflow: hidden; }
.club-tile h3 { font-size: 2.6rem; }
.club-tile::after { content: ''; position: absolute; right: -20px; bottom: -22px; width: 140px; height: 50px; background: var(--club-2); transform: rotate(-12deg); }

@media print { .masthead, .ticker, .footer, .signup, .slot { display: none; } }

.brief-list { display: grid; gap: 14px; counter-reset: brief; }
@media (min-width: 760px) { .brief-list { grid-template-columns: repeat(2, 1fr); } }
.brief {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 18px 14px; position: relative; counter-increment: brief;
  box-shadow: inset 6px 0 0 var(--club-accent), var(--shadow);
  padding-left: 22px;
}
.brief::before {
  content: counter(brief); position: absolute; right: 16px; top: 10px;
  font-stretch: var(--squeeze); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--meter-empty);
}
.brief__label { margin: 0 0 6px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--club-accent); }
.brief__head { font-size: clamp(1.7rem, 7.4vw, 2.3rem); line-height: 0.95; margin: 0 2.4rem 8px 0; }
.brief__context { margin: 0 0 8px; color: var(--ink-2); }
.brief__status { margin: 4px 0 8px; }
.brief__credit { margin: 8px 0 0; color: var(--muted); border-top: 1px dashed var(--rule); padding-top: 8px; }
.brief .meter { margin: 8px 0 4px; }
.brief .meter__num { font-size: 2.4rem; }
.score-item p { margin: 0; }
.score-item__who { font-weight: 700; }
.score-item__call { font-stretch: var(--squeeze); font-weight: 900; font-size: 1.6rem; text-transform: uppercase; text-align: right; line-height: 1; }
.score-item__probs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.score-item__meta, .score-item__src { grid-column: 1 / -1; font-size: 0.85rem; color: var(--muted); }
.board__h { margin: 22px 0 10px; }

.hero--compact { padding: 18px 0 8px; }
.hero--compact .display { font-size: clamp(2.7rem, 13vw, 6rem); margin: 8px 0 8px; }
.hero--compact .lede { font-size: 1.05rem; margin-bottom: 0; }
.hero--compact::after { height: 44px; bottom: -26px; }
.hero--compact .wrap { padding-bottom: 20px; }
.brief-date { margin: 0 0 12px; color: var(--muted); font-size: 0.95rem; }
.brief-date strong { color: var(--ink); font-stretch: var(--squeeze); text-transform: uppercase; font-size: 1.15rem; }
.called-verdict {
  font-stretch: var(--squeeze); font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 6.4vw, 2.2rem); line-height: 1;
  background: var(--ink); color: var(--paper); padding: 14px 16px; border-radius: var(--radius); margin: 0 0 14px;
}

.brief--heard { box-shadow: inset 6px 0 0 var(--muted), var(--shadow); border-style: dashed; }
.brief--heard .brief__label { color: var(--muted); }
