:root {
  --cream: #EAE5D2; --paper: #FBF9F2; --mint: #CCDACB; --tan: #C4AE80; --sage: #7E8C69;
  --olive: #627A45; --forest: #3D4F2A; --ink: #233019; --ink2: #33402A; --muted: #4F5A40; --rule: #D6CDB0;
  --serif: Fraunces, Georgia, serif; --sans: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); }
a { color: var(--forest); } a:hover { color: var(--ink); }
.wrap { max-width: 1640px; margin: 0 auto; padding: 0 24px; }
header.top { border-bottom: 1px solid var(--tan); }
header.top .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.logo { font-family: var(--serif); font-size: 26px; font-weight: 700; text-decoration: none; color: var(--forest); }
nav.main { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; font-weight: 500; }
nav.main a { text-decoration: none; padding: 10px 0; }
nav.main a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; font-weight: 600; }
main { padding: 36px 0 64px; display: flex; flex-direction: column; gap: 52px; }
.kicker { margin: 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.lead { display: flex; flex-direction: column; gap: 12px; border-bottom: 3px double var(--forest); padding-bottom: 28px; }
.lead h1 { margin: 0; font-family: var(--serif); font-size: clamp(36px, 5vw, 64px); line-height: 1.04; font-weight: 600; max-width: 1100px; }
.lead p.dek { margin: 0; font-size: 19px; line-height: 1.55; max-width: 900px; color: var(--ink2); }
.stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.stat { background: var(--paper); border: 1px solid var(--tan); border-radius: 6px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; min-width: 160px; }
.stat.dark { background: var(--forest); color: #F6F3E8; border-color: var(--forest); }
.stat span:first-child { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.stat:not(.dark) span:first-child { color: var(--muted); }
.stat b { font-family: var(--serif); font-size: 28px; font-weight: 600; }
.explain { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.explain h2 { margin: 0 0 6px; font-family: var(--serif); font-size: 20px; }
.explain p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.sec-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--forest); padding-bottom: 12px; }
.sec-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); font-weight: 600; }
section.block { display: flex; flex-direction: column; gap: 18px; }
.note { margin: 0; font-size: 15px; color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { font: 500 15px var(--sans); padding: 10px 16px; min-height: 44px; border: 1px solid var(--sage); background: transparent; color: var(--ink); border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: #F6F3E8; font-weight: 600; }
.tabs button:focus-visible { outline: 3px solid var(--tan); outline-offset: 2px; }
ol.list { list-style: none; margin: 0; padding: 0; }
ol.games li { display: grid; grid-template-columns: 48px minmax(200px, 1.2fr) minmax(240px, 2fr) 120px; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.rank { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--olive); }
.pick { display: flex; flex-direction: column; gap: 3px; }
.pick b { font-size: 18px; }
.pick span { font-size: 14px; color: var(--muted); }
.pick .why { color: var(--ink2); }
.bars { display: flex; flex-direction: column; gap: 6px; }
.bar { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.bar > span:first-child { width: 96px; color: var(--muted); }
.bar .track { flex: 1; height: 10px; background: var(--rule); border-radius: 5px; overflow: hidden; }
.bar .fill { height: 10px; border-radius: 5px; background: var(--forest); }
.bar .fill.book { background: var(--tan); }
.bar > span:last-child { width: 40px; font-weight: 600; }
.value { justify-self: end; text-align: right; display: flex; flex-direction: column; }
.value b { font-size: 20px; color: var(--forest); }
.value span { font-size: 12px; color: var(--muted); }
ol.props { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); column-gap: 40px; }
ol.props li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
ol.props .rank { font-size: 26px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; background: var(--tan); color: var(--ink); padding: 2px 8px; border-radius: 6px; margin-left: 6px; }
.empty { padding: 24px 0; color: var(--muted); font-size: 16px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile { background: var(--paper); border: 1px solid var(--tan); border-radius: 8px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.tile span:first-child { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.tile b { font-family: var(--serif); font-size: 40px; font-weight: 600; }
.tile span:last-child { font-size: 15px; color: var(--ink2); }
.chart { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.chart .axis { display: flex; flex-direction: column; justify-content: space-between; height: 260px; font-size: 12px; color: var(--muted); text-align: right; }
.chart .plot { position: relative; height: 260px; border-bottom: 1px dashed var(--tan); display: flex; gap: 4px; }
.chart .col { flex: 1; position: relative; min-width: 4px; }
.chart .col div { position: absolute; left: 0; right: 0; border-radius: 3px; }
.chart .col.live div { outline: 2px solid var(--forest); }
.chart .zero { position: absolute; left: 0; right: 0; border-top: 2px solid var(--forest); }
.chart .dates { grid-column: 2; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
.daynav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.daynav button, .daynav input { font: 500 15px var(--sans); min-height: 44px; padding: 0 14px; border: 1px solid var(--sage); background: var(--paper); color: var(--ink); border-radius: 10px; cursor: pointer; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.cols h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.cols h3 small { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); }
ol.graded li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.badge { font: 600 13px var(--sans); padding: 5px 12px; border-radius: 999px; }
.badge.win { background: var(--forest); color: #F6F3E8; }
.badge.loss { background: #E1DBC4; color: var(--ink); border: 1px solid var(--tan); }
.badge.push { background: var(--mint); color: var(--ink); }
footer { border-top: 1px solid var(--tan); }
footer .wrap { padding-top: 22px; padding-bottom: 28px; font-size: 13px; color: var(--muted); line-height: 1.5; }
@media (max-width: 760px) {
  ol.games li { grid-template-columns: 36px 1fr; gap: 10px 14px; }
  ol.games .bars, ol.games .value { grid-column: 2; }
  ol.games .value { justify-self: start; flex-direction: row; gap: 8px; align-items: baseline; }
  ol.props { grid-template-columns: 1fr; }
  .rank { font-size: 24px; }
}
