:root {
  --felt: #123D30;
  --felt-deep: #0C2A21;
  --felt-line: #24574A;
  --chalk: #ECEFE8;
  --sage: #A3B8AE;
  --brass: #D8B45C;
  --red: #FF7A84;
  --card-red: #D2263B;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Serif 4", Georgia, serif;
  --measure: 68ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--felt);
  /* the felt: a faint weave, not a gradient wash */
  background-image: radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 4px 4px;
  color: var(--chalk);
  font: 400 1.0625rem/1.65 var(--body);
}

a { color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.masthead, main, .foot { max-width: 60rem; margin: 0 auto; padding: 0 1.25rem; }
.masthead { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1.5rem; flex-wrap: wrap; }
.wordmark { font: 700 1.75rem/1 var(--display); color: var(--chalk); text-decoration: none; letter-spacing: .01em; }
.wordmark::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .25em; background: var(--card-red); transform: rotate(45deg) translateY(-.08em); }
.updated { margin: 0; color: var(--sage); font-size: .9375rem; }

/* the scouting note: the one loud thing on the page */
.note { padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--felt-line); }
.note-kicker { margin: 0 0 .75rem; color: var(--sage); font-style: italic; max-width: var(--measure); }
.read {
  margin: 0;
  font: 700 clamp(3.25rem, 11vw, 7.5rem)/.9 var(--display);
  letter-spacing: -.01em;
  color: var(--chalk);
}
.read-line { margin: 1rem 0 0; font: 600 clamp(1.375rem, 3.4vw, 2rem)/1.2 var(--display); color: var(--brass); max-width: 30ch; }
.tells { list-style: none; margin: 2rem 0 0; padding: 0; max-width: var(--measure); }
.tells li { position: relative; padding: .5rem 0 .5rem 1.5rem; border-top: 1px dashed var(--felt-line); }
.tells li::before { content: ""; position: absolute; left: .2rem; top: 1.05rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--sage); }
.tells li.bad::before { background: var(--card-red); box-shadow: 0 0 0 2px var(--felt), 0 0 0 3px var(--red); }
.tells li.good::before { background: var(--brass); }

.block { padding: 3rem 0 0; }
h2 { margin: 0 0 .5rem; font: 600 1.75rem/1.1 var(--display); color: var(--chalk); }
.lede { margin: 0 0 1.25rem; color: var(--sage); max-width: var(--measure); }

.chart { margin: 0; background: var(--felt-deep); border-radius: 6px; padding: 1rem .5rem .25rem; }
.chart svg { display: block; width: 100%; height: auto; }
.chart text { font: 500 13px var(--display); fill: var(--sage); }
.legend { color: var(--sage); font-size: .9375rem; margin: .75rem 0 0; }
.key { display: inline-block; width: 1.25rem; height: 3px; vertical-align: middle; margin: 0 .4rem 0 .9rem; }
.key:first-child { margin-left: 0; }
.key-vpip { background: var(--chalk); }
.key-pfr { background: var(--brass); }

/* the numbers: dotted leaders like a printed stat sheet */
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 2rem 3rem; }
.group h3 { margin: 0 0 .5rem; font: 600 1.125rem/1.2 var(--display); color: var(--brass); }
.group dl { margin: 0; }
.row { padding: .45rem 0; border-bottom: 1px solid var(--felt-line); }
.row-top { display: flex; align-items: baseline; gap: .5rem; }
.row dt { flex: none; }
.row-top::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted var(--felt-line); transform: translateY(-.3em); }
.row dd { order: 2; margin: 0; font: 600 1.25rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.row.good dd { color: var(--brass); }
.row.bad dd { color: var(--red); }
.row .why { display: block; color: var(--sage); font-size: .875rem; line-height: 1.4; margin-top: .15rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.table-wrap { overflow-x: auto; border-radius: 6px; background: var(--felt-deep); }
table { width: 100%; border-collapse: collapse; font: 500 1rem/1.3 var(--display); font-variant-numeric: tabular-nums; }
th, td { padding: .6rem .75rem; text-align: right; white-space: nowrap; }
th:nth-child(-n+2), td:nth-child(-n+2) { text-align: left; }
th { color: var(--sage); font-weight: 600; border-bottom: 1px solid var(--felt-line); }
tbody tr + tr td { border-top: 1px solid rgba(36,87,74,.6); }
td.neg { color: var(--red); }
td.pos { color: var(--brass); }
td.read-rough, td.read-unreadable { color: var(--sage); font-style: italic; }

.method p { max-width: var(--measure); color: var(--sage); }
.foot { padding-top: 3rem; padding-bottom: 2.5rem; color: var(--sage); font-size: .875rem; }

.empty { color: var(--sage); font-style: italic; }

@media (prefers-reduced-motion: no-preference) {
  .read { animation: deal .5s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes deal { from { opacity: 0; transform: translateY(.15em) rotate(-1deg); } }
}
