:root {
  --bg: #f6f5f1;
  --panel: #ffffff;
  --fg: #1d1c1a;
  --muted: #6b6862;
  --line: #e4e1da;
  --mlb: #1f4e8c;
  --mlbpa: #c2410c;
  --neutral: #a8a49c;
  --ok: #2f7d4f;
  --warn: #b7791f;
  --bad: #b42318;
  --accent: #0f3d2e;
  --radius: 10px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141412;
    --panel: #1d1d1a;
    --fg: #eeece6;
    --muted: #a19d94;
    --line: #34332e;
    --mlb: #6ea0e6;
    --mlbpa: #f0864a;
    --neutral: #6f6c66;
    --ok: #5fbf85;
    --warn: #e0a84a;
    --bad: #f07067;
    --accent: #9fd4bd;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.topbar { border-bottom: 1px solid var(--line); background: var(--panel); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .01em; }
.brand svg { width: 26px; height: 26px; }
.nav { display: flex; gap: 16px; font-size: 14px; color: var(--muted); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--fg); }
.btn { display: inline-block; text-decoration: none; background: var(--accent); color: var(--bg); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 0; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
main { display: flex; flex-direction: column; gap: 28px; padding: 28px 0 40px; }
.kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 6vw, 52px); line-height: 1.05; margin: 4px 0 0; }
.lede { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.45; margin: 10px 0 0; max-width: 60rem; }
.asof { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tile-label { font-size: 13px; color: var(--muted); margin: 0; }
.big { font-family: var(--serif); font-size: 52px; line-height: 1; margin: 0; font-variant-numeric: tabular-nums; }
.bigword { font-family: var(--serif); font-size: 28px; line-height: 1.15; margin: 0; }
.small { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.45; }
.meter { display: flex; gap: 4px; height: 10px; margin-top: 4px; }
.meter span { flex: 1; border-radius: 3px; background: var(--line); }
.meter span.on-ok { background: var(--ok); }
.meter span.on-warn { background: var(--warn); }
.meter span.on-bad { background: var(--bad); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 14px; }
h2 { font-size: 18px; font-weight: 600; margin: 0; }
h3 { font-size: 15px; font-weight: 600; margin: 8px 0 0; }
.note { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.45; }
.latest { margin: 0; line-height: 1.6; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: 6px; }
.sw { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: flex; flex-direction: column; gap: 4px; }
.bar-lab { font-size: 13px; color: var(--muted); }
.bar-track { display: flex; align-items: center; gap: 8px; }
.bar { height: 14px; border-radius: 3px; min-width: 2px; }
.bar-val { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 6px 12px 6px 0; border-bottom: 1px solid var(--line); }
td { vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
td:first-child { font-weight: 600; min-width: 8rem; }
tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; white-space: nowrap; border: 1px solid currentColor; border-radius: 999px; padding: 1px 9px; font-size: 12px; }
.g-wide { color: var(--bad); } .g-moderate { color: var(--warn); } .g-overlap { color: var(--ok); } .g-open { color: var(--muted); } .g-agreed { color: var(--ok); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: grid; grid-template-columns: minmax(6.5rem, 8.5rem) 1fr; gap: 6px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.when { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.what { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.what b { font-weight: 600; }
.what span, .what a.src { font-size: 13px; color: var(--muted); line-height: 1.45; }
.badge { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 500; border-radius: 999px; padding: 0 8px; border: 1px solid var(--warn); color: var(--warn); vertical-align: 1px; }
.badge.done { border-color: var(--line); color: var(--muted); }
li.is-done b { color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.chip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { font: inherit; font-size: 13px; background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.scroll { max-height: 36rem; overflow: auto; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 14px; }
.offer .btn { align-self: flex-start; margin-top: 4px; }
.disclose { font-size: 12px; color: var(--muted); margin: 0; }
.signup { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.signup p { margin: 0; }
footer { border-top: 1px solid var(--line); padding: 20px 0 40px; font-size: 13px; color: var(--muted); line-height: 1.6; }
footer .links { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; }
.prose { max-width: 46rem; }
.prose h1 { margin-bottom: 12px; }
.prose h2 { margin-top: 24px; }
.skel { color: transparent; background: var(--line); border-radius: 6px; min-height: 1em; }
[hidden] { display: none !important; }

.topright { display: flex; align-items: center; gap: 18px; }
.topbar .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .topright .nav { display: none; }
  .topbar .btn { padding: 7px 12px; font-size: 13px; }
}

.picks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.picks li { display: flex; flex-direction: column; gap: 1px; }
.picks a { font-weight: 600; }
.picks span { font-size: 13px; color: var(--muted); }

.xposts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 16px; align-items: start; max-height: 44rem; }
.xposts .twitter-tweet { margin: 8px 0 !important; }
.xposts blockquote.twitter-tweet { border-left: 3px solid var(--line); margin: 8px 0; padding: 8px 12px; font-size: 14px; }
.xposts blockquote.twitter-tweet p { margin: 0 0 4px; }
