/* Blog styles.

   The site chrome (top bar, buttons, footer, background) is landing.html's,
   copied rule for rule out of its inline <style>, and the markup is copied by
   the same build, so the blog sits inside the same site. The top bar's auth
   slot is filled by the site's own auth.js. The bar itself is then restyled
   as the app's, with the app's tabs ("Blog differences", at the end), and
   tests/test_seo_surface.py checks every page's tabs against the app's.
   The reading surface
   after the chrome is the blog's own, modelled on data blogs (Silver Bulletin,
   The Pudding, Our World in Data): a left-aligned head, one column in the
   site's own Outfit for the text and every figure, and figures framed like
   newspaper charts.
   ponytail: the copied rules drift when landing.html's change. Upgrade path:
   move landing.html's <style> into a shared stylesheet the day a third page
   needs it. */

/* ── Site chrome, from landing.html ── */
.atmosphere { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.atmosphere__layer { position: absolute; inset: -10%; background: radial-gradient(circle at 22% 28%, rgba(59,130,246,0.07), transparent 40%), radial-gradient(circle at 78% 72%, rgba(37,99,235,0.05), transparent 42%), radial-gradient(circle at 50% 50%, rgba(96,165,250,0.025), transparent 60%); filter: blur(60px); animation: atmDrift 32s ease-in-out infinite alternate; will-change: transform; }
.atmosphere__grain { position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>"); opacity: 0.035; mix-blend-mode: overlay; }
@keyframes atmDrift { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(40px, -30px, 0); } }
nav, main, section, footer { position: relative; z-index: 1; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 8px 16px; background: #2563eb; color: #fff; font-size: 14px; font-weight: 600; border-radius: 0 0 6px 6px; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border: none; cursor: pointer; text-decoration: none; clip-path: polygon(0 10px, 10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); transition: filter 0.2s, transform 0.15s; }
.btn:hover { filter: brightness(1.15); transform: translateY(-1px); }
.btn--blue { background: #2563eb; color: #fff; }
.btn--ghost { background: rgba(59,130,246,0.08); color: #3b82f6; border: 1px solid rgba(59,130,246,0.2); }
.btn--sm { padding: 12px 22px; font-size: 12px; }
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 24px 72px; }
.nav__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; min-width: 276px; }
.nav__mark { display: block; width: 128px; height: auto; flex: 0 0 auto; image-rendering: auto; }
.nav__wordmark { display: inline-flex; align-items: baseline; gap: 0.18em; line-height: 1; font-family: 'Rubik', Arial, sans-serif; font-size: 21px; font-style: italic; font-weight: 900; letter-spacing: 0.035em; text-transform: uppercase; transform: skewX(-6deg); transform-origin: left center; }
.nav__wordmark-street { color: #f8fafc; text-shadow: 0 0 12px rgba(255,255,255,0.18); }
.nav__wordmark-poker { color: #3b82f6; text-shadow: 0 0 14px rgba(59,130,246,0.42); }
.nav__links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav__link { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.68); text-decoration: none; transition: color 0.2s; }
.nav__link:hover { color: #fff; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__ham { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav__ham span { display: block; width: 22px; height: 1.5px; background: #fff; }
.foot { padding: 48px 64px 28px; position: relative; }
.foot__top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 40px; border-bottom: 1px solid rgba(59,130,246,0.06); margin-bottom: 28px; }
.foot__brand { display: flex; flex-direction: column; gap: 12px; }
.foot__logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: 0.08em; text-transform: lowercase; color: #fff; }
.foot__tagline { font-size: 12px; color: rgba(255,255,255,0.55); max-width: 280px; line-height: 1.5; }
.foot__cols { display: flex; gap: 64px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__col-h { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.foot__col-link { font-size: 12px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.foot__col-link:hover { color: #3b82f6; }
.foot__col-link--soon { cursor: default; opacity: 0.45; }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; }
.foot__c { font-size: 10px; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; text-transform: uppercase; }
.foot__socials { display: flex; gap: 16px; }
.foot__social { width: 28px; height: 28px; border-radius: 6px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center; transition: all 0.2s; cursor: pointer; }
.foot__social:hover { background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.2); }
.foot__disclaimer { font-size: 11px; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 720px; margin-bottom: 16px; }
.foot__disclaimer a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.foot__disclaimer a:hover { color: #3b82f6; }
@media (max-width: 768px) {
  .nav { padding: 16px 32px; }
  .nav__links { display: none; }
  .nav__ham { display: flex; }
  .foot { padding: 40px 32px 24px; }
  .foot__top { flex-direction: column; gap: 32px; }
  .foot__cols { flex-wrap: wrap; gap: 28px 40px; }
  .foot__bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .foot { padding: 32px 20px 20px; }
  .nav { padding: 12px 14px; }
  .nav__logo { min-width: 0; gap: 10px; }
  .nav__mark { width: 92px; }
  .nav__wordmark { display: none; }
  .nav__ham { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .nav__right > .btn { display: none; }
}
@media (pointer: coarse) {
  .nav__link { min-height: 38px; display: inline-flex; align-items: center; }
  .btn { min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .atmosphere__layer { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ── The top bar below 1,366px: the same rules landing.html carries ──
   At full size the bar needs about 1,290px (the logo, seven links, three
   buttons). Narrower than that the wordmark ran into "Hero", the buttons
   wrapped onto two lines, and at 1,024px Launch App fell off the right edge.
   Tighten the spacing first, then move the links into the menu, then drop the
   wordmark and Launch App the way the phone layout already does. These rules
   have to come after the site's own media queries. */
.nav__right > .btn, #nav-auth-slot button { white-space: nowrap; }
@media (min-width: 769px) and (max-width: 1365px) {
  .nav { padding-left: 40px; padding-right: 40px; }
  .nav__links { gap: 20px; }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .nav__links { display: none; }
  .nav__ham { display: flex; }
}
@media (max-width: 820px) {
  .nav__wordmark { display: none; }
  .nav__logo { min-width: 0; }
}
@media (max-width: 600px) {
  .nav__right > .btn { display: none; }
}
/* auth.js sets the button padding inline, so only !important reaches it. */
@media (max-width: 400px) {
  .nav__mark { width: 80px; }
  #nav-auth-slot button { padding-left: 12px !important; padding-right: 12px !important; }
}

/* ── Blog differences ── */
/* The top bar is the app's (HUD/main.css, #tab-nav), not landing.html's
   floating one: a solid strip with a rule under it, the logo, the app's tabs
   centred on the page, and the account buttons. The Blog tab is lit the way
   the app lights the open tab. Tab text is a little brighter than the app's
   (.52 white, not .35) so it passes 4.5:1. */
.nav { position: relative; display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: 16px;
  height: clamp(40px, 3.6vw, 64px); padding: 0 clamp(12px, 1.5vw, 28px);
  background: linear-gradient(180deg, rgba(13,17,23,0.85) 0%, rgba(6,6,11,0.95) 100%); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(59,130,246,0.15) 30%, rgba(124,58,237,0.12) 70%, transparent); pointer-events: none; }
.nav__logo { grid-column: 1; justify-self: start; gap: 7px; min-width: 0; }
.nav__mark { width: clamp(58px, 5vw, 78px); }
.nav__wordmark { gap: 0.14em; font: italic 800 clamp(11px, 0.9vw, 15px)/1 'Outfit', sans-serif; letter-spacing: 0.035em; transform: none; }
.nav__wordmark-street { color: #f1f5f9; text-shadow: none; }
.nav__wordmark-poker { color: #60a5fa; text-shadow: none; }
.nav__links { grid-column: 2; gap: 2px; }
.nav__links li { display: flex; align-items: center; gap: 2px; }
.nav__links li + li::before { content: ''; width: 3px; height: 3px; margin: 0 1px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: clamp(4px, 0.5vw, 10px); height: clamp(28px, 2.4vw, 44px); padding: 0 clamp(8px, 1vw, 20px);
  font: 600 clamp(10px, 0.8vw, 14px)/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.52);
  border: 1px solid transparent; border-radius: 7px; transition: all 0.2s ease; }
/* The icons are the app's sprite symbols (chrome.py), drawn in the text colour. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nav__link .ti { flex: none; width: 1em; height: 1em; font-size: clamp(10px, 0.85vw, 15px); opacity: 0.62; transition: all 0.2s ease; }
.nav__link:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); }
.nav__link:hover .ti { opacity: 0.85; }
.nav__link.is-current { color: #e2e8f0; background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.2); box-shadow: 0 0 12px rgba(59,130,246,0.08), inset 0 1px 0 rgba(255,255,255,0.05); }
.nav__link.is-current .ti { opacity: 1; color: #60a5fa; }
.nav__link.is-current::after { content: ''; position: absolute; bottom: 4px; left: 50%; width: 16px; height: 2px; border-radius: 1px; transform: translateX(-50%); background: linear-gradient(90deg, #3b82f6, #7c3aed); opacity: 0.8; }
.nav__right { grid-column: 3; justify-self: end; gap: 8px; }
.nav__right > .btn--sm { padding: 8px 18px; font-size: 11px; clip-path: polygon(0 6px, 6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%); }
/* At 1,200px and under the tabs are in the menu, a column without dots. */
@media (max-width: 1200px) { .nav__links li + li::before { display: none; } }

/* The footer closes the page the way the bar opens it: a solid strip with a
   rule on top, where the felt and its lines stop; the mark and wordmark on the
   left edge like the bar's, the links in the middle and Instagram on the
   right, then the disclaimer with the copyright beside it. */
.foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; padding: 44px clamp(16px, 1.5vw, 28px) 28px;
  background: linear-gradient(180deg, #0b0e14 0%, #05060a 100%); border-top: 1px solid rgba(255,255,255,0.07); }
.foot__top { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); gap: 32px; }
.foot__logo { gap: 8px; text-decoration: none; }
.foot__mark { display: block; width: 78px; height: auto; }
.foot__wordmark { display: inline-flex; align-items: baseline; gap: 0.14em; font: italic 800 15px/1 'Outfit', sans-serif; letter-spacing: 0.035em; text-transform: uppercase; }
.foot__tagline { max-width: 330px; font-size: 13px; }
.foot__col-h { font-size: 11px; color: rgba(255,255,255,0.5); }
.foot__col-link { font-size: 13.5px; color: rgba(255,255,255,0.68); }
.foot__col-link:hover { color: #fff; }
.foot__follow { justify-self: end; }
.foot__disclaimer { grid-column: 1; margin: 0; }
.foot__bottom { grid-column: 2; align-self: end; }
@media (max-width: 1000px) {
  .foot { display: block; }
  .foot__top { display: flex; flex-direction: column; gap: 32px; }
  .foot__disclaimer { margin-bottom: 16px; }
}

/* ── Blog ── */
:root {
  --bg: #07090d; --panel: #0c111a; --rule: #1b2231; --rule-hi: #2c3648;
  --ink: #d3d8e1; --ink-hi: #f4f6f9; --muted: #9aa4b5; --faint: #8a94a6;
  --blue: #3b82f6; --blue-fill: #2563eb;
  --sans: 'Outfit', sans-serif; --mono: 'JetBrains Mono', 'Outfit', monospace;
  --notch: polygon(0 10px, 10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  --accent: var(--blue); --accent-fill: var(--blue-fill); --paper: #0a1020; --paper-line: rgba(96,165,250,0.07);
  /* Preflop actions, ordered by aggression. Passive to aggressive runs dark to
     light blue, and the all-in is the one warm slot. */
  --a-fold: #151c28; --a-limp: #2563eb; --a-raise: #60a5fa; --a-shove: #f5a524;
}
/* Topics. Tournaments are amber, cash games the brand blue. One class sets the
   kicker, the chart tags and the cover paper for everything inside it. */
.t-cash { --accent: #3b82f6; --accent-fill: #2563eb; --paper: #0a1020; --paper-line: rgba(96,165,250,0.07); }
.t-tour { --accent: #f5a524; --accent-fill: #d97706; --paper: #140e06; --paper-line: rgba(245,165,36,0.08); }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; background: radial-gradient(ellipse 100% 60% at 50% 0%, #060d1f 0%, #02050d 50%, #000 100%); color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
main.wrap { padding-bottom: 80px; }

/* Archetype hues are landing.html's .dt--* colours, held in --c so a swatch,
   a bar and a portrait rule for the same type always match. */
.c-sta { --c: #eab308; } .c-tag { --c: #3b82f6; } .c-nit { --c: #22c55e; }
.c-man { --c: #a855f7; } .c-lag { --c: #ef4444; } .c-unk, .c-dim { --c: #64748b; }
.k-f { --c: #334155; } .k-l { --c: var(--a-limp); } .k-r { --c: var(--a-raise); } .k-s { --c: var(--a-shove); }
.k-cash { --c: #3b82f6; } .k-tour { --c: #f5a524; }
.sw { display: inline-block; flex: none; width: 10px; height: 10px; margin-right: 9px; background: var(--c); }
.mix { display: flex; gap: 2px; height: 10px; }
.mix i { display: block; min-width: 2px; background: var(--c); }

.kicker { font: 600 14px/1.3 var(--sans); color: var(--accent); }
.crumbs { font: 600 14px/1.4 var(--sans); color: var(--muted); }
.crumbs a.crumbs__topic { color: var(--accent); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* The chart source line signs off with the wordmark, the way a newspaper chart does.
   Skewed from its top edge so the slant leans into the gap, not past the chart. */
.mark { flex: none; display: inline-flex; gap: 0.2em; font: italic 900 12px/1 'Rubik', Arial, sans-serif; letter-spacing: 0.04em; text-transform: uppercase; transform: skewX(-6deg); transform-origin: top right; color: #f8fafc; }
.mark span { color: var(--blue); }

/* Playing cards stay rounded: a card is an object, not chrome. Faces and the
   four-colour deck match the app's hand tables. Rank and suit come from data
   attributes, so a crawler reads the post and not "A♠A♥". */
.fan { --w: 64px; display: flex; align-items: center; padding: 0.1em 0.3em 0.2em; }
.pcard { position: relative; flex: none; width: var(--w); height: calc(var(--w) * 1.4); border-radius: calc(var(--w) * 0.12); background: linear-gradient(165deg, #fff 0%, #e8ecf3 72%); color: var(--ink); box-shadow: 0 14px 32px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.12); font-family: 'Outfit', sans-serif; font-weight: 800; line-height: 1; font-variant-emoji: text; }
.pcard::before { content: attr(data-r); position: absolute; top: 7%; left: 11%; font-size: calc(var(--w) * 0.36); letter-spacing: -0.02em; }
.pcard::after { content: var(--g); position: absolute; left: 50%; top: 57%; transform: translate(-50%, -50%); font-size: calc(var(--w) * 0.6); }
.pcard[data-s="s"] { --g: "\2660"; --ink: #111827; }
.pcard[data-s="h"] { --g: "\2665"; --ink: #d81f2a; }
.pcard[data-s="d"] { --g: "\2666"; --ink: #1667d6; }
.pcard[data-s="c"] { --g: "\2663"; --ink: #12894a; }
.fan .pcard:first-child { transform: rotate(-7deg); }
.fan .pcard + .pcard { margin-left: calc(var(--w) * -0.2); transform: rotate(6deg) translateY(4px); }
.minis { --w: 22px; display: inline-flex; gap: 3px; margin-right: 10px; vertical-align: middle; }
.minis .pcard { border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.minis .pcard::before { top: 3px; left: 0; right: 0; text-align: center; font-size: 13px; }
.minis .pcard::after { top: 76%; font-size: 10px; }

/* Covers: each post's picture, on graph paper in its topic's colour. The same
   cover is the post's lead image, its card on the index and its card under
   other posts, so it is sized in container units and scales as one piece. */
.cover { position: relative; container-type: inline-size; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background-color: var(--paper); background-image: linear-gradient(var(--paper-line) 1px, transparent 1px), linear-gradient(90deg, var(--paper-line) 1px, transparent 1px); background-size: 24px 24px; background-position: center; clip-path: var(--notch); }
.cover__row { display: flex; align-items: center; justify-content: center; gap: 5cqi; }
.cover .fan { --w: 17cqi; }
.cover__bars { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 3.4cqi 3cqi; width: 78cqi; }
.cover__bars .fan { --w: 10cqi; }
.cover__bar { display: block; height: 4.2cqi; background: rgba(255,255,255,0.05); }
.cover__bar i { display: block; height: 100%; background: #60a5fa; }
.cover__bar.is-dim i { background: #475569; }
.cover__bars b { min-width: 4.6ch; font: 700 5.8cqi/1 var(--sans); letter-spacing: -0.03em; text-align: right; color: #fff; }
.cover__bars b.is-dim { color: var(--muted); }
.cover__types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2.4cqi; width: 86cqi; }
.cover__types > small, .cover__bars small { grid-column: 1 / -1; font: 500 max(11px, 2.8cqi)/1 var(--sans); color: var(--muted); }
.cover__types figure { display: flex; flex-direction: column; align-items: center; gap: 1.6cqi; }
.cover__types img { display: block; width: 100%; aspect-ratio: 1; background: #0b1221; border-bottom: max(2px, 0.6cqi) solid var(--c); clip-path: polygon(0 8px, 8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
.cover__types figcaption { display: flex; flex-direction: column; align-items: center; gap: 1cqi; font: 600 max(10px, 2.3cqi)/1 var(--sans); letter-spacing: 0.04em; color: var(--muted); }
.cover__types b { font: 700 max(11px, 3.1cqi)/1 var(--mono); letter-spacing: -0.02em; color: #fff; }
.cover__types .mix { grid-column: 1 / -1; height: max(4px, 1.1cqi); }
/* Rows of range grids. */
.cover__grids { display: grid; grid-template-columns: repeat(3, 25cqi); gap: 1.6cqi 4cqi; }
.cover__grids figcaption { margin-top: 1.6cqi; font: 500 clamp(11px, 2.7cqi, 16px)/1 var(--sans); color: var(--muted); text-align: center; }
.cover__grids--2 { grid-template-columns: repeat(2, 33cqi); gap: 1.6cqi 7cqi; }
/* Small charts. Each fits in 40cqi of height so the same cover works at 2:1
   over a post and at 16:10 on a card. */
.cover__hist2 { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: 1.3cqi; width: 70cqi; }
.cover__hist2 > div { display: flex; flex-direction: column; justify-content: flex-end; height: 36cqi; }
.cover__hist2 i { display: block; height: calc(var(--v) * 26cqi); min-height: 2px; background: #5b6b84; }
.cover__hist2 .is-hot i { background: var(--accent); }
.cover__hist2 b { margin-bottom: 1.4cqi; font: 700 clamp(10px, 3.4cqi, 20px)/1 var(--mono); letter-spacing: -0.03em; color: var(--ink-hi); text-align: center; }
.cover__hist2 span { height: 5cqi; padding-top: 1.4cqi; border-top: 1px solid var(--rule-hi); font: 600 clamp(9px, 2.3cqi, 14px)/1 var(--mono); color: var(--muted); text-align: center; white-space: nowrap; }
.cover__hist2 > p, .cover__curve > p:first-child { grid-column: 1 / -1; font: 500 clamp(11px, 2.7cqi, 16px)/1.25 var(--sans); color: var(--muted); }
.cover__hist2 > p { margin-top: 0.4cqi; text-align: center; }
.cover__plot { position: relative; }
.cover__curve { width: 78cqi; }
.cover__curve > p:first-child { margin-bottom: 2cqi; }
.cover__curve .cover__plot { height: 28cqi; border-bottom: 1px solid var(--rule-hi); background: linear-gradient(to top, rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 100% 25%; }
.cover__curve i, .cover__scatter i { position: absolute; width: 1.1cqi; height: 1.1cqi; margin: 0 0 -0.55cqi -0.55cqi; border-radius: 50%; background: var(--accent); }
.cover__curve i.is-fold { background: #475569; }
.cover__price { position: absolute; left: 0; right: 0; bottom: 18.2%; border-top: max(1px, 0.25cqi) dashed #e2e8f0; }
.cover__price em, .cover__scatter em, .cover__curve em { position: absolute; font: italic 600 clamp(10px, 2.4cqi, 16px)/1 var(--sans); white-space: nowrap; }
.cover__price em { right: 0; bottom: 1cqi; color: #e2e8f0; }
.cover__keys { display: flex; gap: 3.2cqi; margin-top: 2cqi; font: 600 clamp(10px, 2.3cqi, 14px)/1 var(--sans); color: var(--muted); }
.cover__weakest { left: 0; color: var(--ink-hi); }
.cover__keys span::before { content: ''; display: inline-block; width: 1.5cqi; height: 1.5cqi; margin-right: 1.1cqi; background: var(--k); vertical-align: 0.05em; }
.cover__curve .cover__keys span::before { border-radius: 50%; }
.k-hot { --k: var(--accent); } .k-dim { --k: #475569; }
.cover__scatter { width: 62cqi; }
.cover__scatter .cover__plot { aspect-ratio: 16 / 10; border-left: 1px solid var(--rule-hi); border-bottom: 1px solid var(--rule-hi); }
.cover__scatter svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cover__scatter i { width: 0.95cqi; height: 0.95cqi; margin: 0 0 -0.475cqi -0.475cqi; background: var(--c); opacity: 0.85; }
.cover__scatter em { color: var(--c); }
.cover__scatter em.k-cash { left: 3cqi; top: 1cqi; }
.cover__scatter em.k-tour { right: 0; bottom: 2.4cqi; }
/* The luck chart as a cover: two players named at the ends, left of their dots. */
.cover__luck em, .scatter__tag.lk-hot, .scatter__tag.lk-cold { transform: translateY(50%); }
.lk-hot { --c: var(--accent); } .lk-cold { --c: #94a3b8; }
.cover__luck-x { margin-top: 1.6cqi; font: 500 clamp(9px, 2.1cqi, 14px)/1.2 var(--sans); color: var(--muted); }
.cover__unitbox { display: flex; flex-direction: column; }
.cover__units { display: grid; grid-template-columns: repeat(10, 2.6cqi); gap: 0.6cqi; }
.cover__units i { display: block; aspect-ratio: 1; background: #475569; }
.cover__units i.is-limp { background: var(--accent); }

/* Dumbbells: for each row, a hollow dot at what was needed and a filled dot at
   what happened, joined by a bar. */
.cover__dumb { width: 80cqi; }
.cover__dumb > p:first-child { margin-bottom: 2.4cqi; font: 500 clamp(11px, 2.7cqi, 16px)/1.25 var(--sans); color: var(--muted); }
.cover__dumb ol { list-style: none; display: grid; gap: 1.5cqi; }
.cover__dumb li { display: grid; grid-template-columns: 17cqi minmax(0, 1fr); align-items: center; gap: 2cqi; font: 600 clamp(9px, 2.3cqi, 15px)/1 var(--sans); color: var(--ink-hi); }
.cover__dumb li > span { position: relative; height: 2.6cqi; background: linear-gradient(var(--rule-hi), var(--rule-hi)) 0 50% / 100% 1px no-repeat; }
.cover__dumb b { position: absolute; top: calc(50% - 0.4cqi); height: 0.8cqi; background: var(--accent); opacity: 0.45; }
.cover__dumb i { position: absolute; top: 50%; width: 2.2cqi; height: 2.2cqi; margin: -1.1cqi 0 0 -1.1cqi; border-radius: 50%; }
.cover__dumb i.is-need { background: var(--paper); box-shadow: inset 0 0 0 max(1.5px, 0.4cqi) #cbd5e1; }
.cover__dumb i.is-did { background: var(--accent); }
.cover__dumb .cover__keys { margin-top: 2.6cqi; }
.cover__dumb .cover__keys span::before { border-radius: 50%; }
.k-ring { --k: transparent; } .cover__keys .k-ring::before { box-shadow: inset 0 0 0 max(1.5px, 0.3cqi) #cbd5e1; }

/* Range grids: 169 starting hands, pairs on the diagonal, suited above it.
   Each square is split left to right by what players did with the hand:
   all-in, raise, limp or call, fold. An outlined square is in the chart range
   the figure compares against. */
.rgrid { container-type: inline-size; }
.rgrid__cells { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 1px; padding: 1px; background: #0c111a; }
.rgrid__cells > span { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; font: 600 max(6px, 2.55cqi)/1 var(--sans); letter-spacing: -0.03em; color: #fff; text-shadow: 0 0 2px rgba(0,0,0,0.9), 0 1px 1px rgba(0,0,0,0.9); background: linear-gradient(90deg, var(--a-shove) 0 var(--s, 0%), var(--a-raise) var(--s, 0%) var(--r, 0%), var(--a-limp) var(--r, 0%) var(--l, 0%), var(--a-fold) var(--l, 0%)); }
.rgrid__cells > span::before { content: attr(data-h); }
.rgrid__cells > span.is-in { box-shadow: inset 0 0 0 max(1.5px, 0.45cqi) #fff; }
.rgrid__cells > span.is-na { background: repeating-linear-gradient(45deg, #121823 0 3px, #0c111a 3px 6px); color: var(--faint); }
.rgrids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
.rgrids--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* One large grid with a ranked list beside it. */
.gridside { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px 34px; align-items: start; }
.gridside__list > p { margin-bottom: 8px; font: 700 14px/1.2 var(--sans); color: var(--ink-hi); }
.gridside__list ol { list-style: none; }
.gridside__list li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule); font: 600 14px/1.2 var(--mono); color: var(--ink-hi); }
.gridside__list li:last-child { border-bottom: 0; }
.gridside__list .meter__v { font-weight: 400; color: var(--ink); text-align: right; }
.rgrids figure > p { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; font: 700 14px/1.2 var(--sans); color: var(--ink-hi); }
.rgrids figure > p small { font: 500 12.5px/1.2 var(--mono); color: var(--muted); }

/* Histogram: one column per bin, the value above it and the bin under it. */
.hist { --h: 210px; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); align-items: end; column-gap: 8px; }
.hist > div { display: flex; flex-direction: column; justify-content: flex-end; }
.hist b { margin-bottom: 7px; font: 600 13px/1 var(--mono); color: var(--ink); text-align: center; white-space: nowrap; }
.hist i { display: block; height: calc(var(--v) / var(--max) * var(--h)); min-height: 2px; background: #56657d; }
.hist .is-hot i { background: var(--accent); }
.hist .is-hot b { color: var(--ink-hi); font-weight: 700; }
.hist span { display: flex; align-items: flex-start; justify-content: center; min-height: 2.9em; padding-top: 9px; border-top: 1px solid var(--rule-hi); font: 500 13px/1.25 var(--mono); color: var(--muted); text-align: center; }
.hist__x { margin-top: 6px; font: 500 12.5px/1.4 var(--sans); color: var(--muted); text-align: center; }

/* Paired bars: a reference (outlined) over the measured value (filled). */
.duo { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) auto; align-items: center; }
.duo--wide { grid-template-columns: 7em minmax(0, 1fr) auto; }
.duo__bars { padding: 0 16px; }
.duo > * { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.duo > :nth-last-child(-n+3) { border-bottom: 0; }
.duo__k { font: 600 15px/1.2 var(--sans); color: var(--ink-hi); }
.duo__bars { display: grid; gap: 4px; align-self: stretch; align-content: center; }
.duo__bars i { display: block; height: 11px; }
.duo__bars i.is-ref { height: 9px; background: transparent; box-shadow: inset 0 0 0 1.5px #7c889c; }
.duo__bars i:not(.is-ref) { background: var(--c, var(--accent)); }
.duo__v { font: 400 14px/1.3 var(--mono); color: var(--muted); text-align: right; white-space: nowrap; }
.duo__v b { color: var(--ink-hi); font-weight: 700; }
.key-ref { display: inline-block; width: 18px; height: 9px; margin-right: 8px; box-shadow: inset 0 0 0 1.5px #7c889c; vertical-align: 0; }

/* Stacked 100% bars with a label column. */
.stack { display: grid; grid-template-columns: 8.4em minmax(0, 1fr); align-items: center; gap: 10px 16px; }
.stack__k { font: 600 14.5px/1.25 var(--sans); color: var(--ink-hi); }
.stack__k small { display: block; margin-top: 2px; font: 400 12px/1.2 var(--mono); color: var(--faint); }
.stack .mix { height: 30px; }
.stack .mix i { display: flex; align-items: center; justify-content: center; overflow: hidden; font: 600 12.5px/1 var(--mono); color: #0b1220; white-space: nowrap; }
.stack .mix i.k-f, .stack .mix i.k-l { color: #fff; }
.stack .mix i.k-f { background: #334155; }

/* Scatter plot: the plot is an svg of dots, every label around it is HTML. */
.scatter { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto; gap: 0 10px; }
.scatter__plot { position: relative; aspect-ratio: 16 / 10; border-left: 1px solid var(--rule-hi); border-bottom: 1px solid var(--rule-hi); background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 25% 25%; background-position: left bottom; }
.scatter__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scatter__y { grid-row: 1; display: flex; flex-direction: column-reverse; justify-content: space-between; font: 500 12px/1 var(--mono); color: var(--muted); text-align: right; }
.scatter__x { grid-column: 2; display: flex; justify-content: space-between; padding-top: 7px; font: 500 12px/1 var(--mono); color: var(--muted); }
.scatter__xl { grid-column: 2; margin-top: 4px; font: 500 12.5px/1.4 var(--sans); color: var(--muted); text-align: center; }
.scatter__tag { position: absolute; font: 600 12.5px/1.3 var(--sans); color: var(--c); }

/* Index, after GTO Wizard's blog: one featured post alone at the top, every
   other post in a compact list under topic tabs (blog.js makes them filter;
   without it they are links), then what the posts were counted from. */
.masthead { padding: 44px 0 0; }
.masthead__h { font: 700 clamp(34px, 4vw, 44px)/1 var(--sans); letter-spacing: -0.03em; color: var(--ink-hi); }
.masthead__dek { max-width: 780px; margin-top: 12px; font: 400 18px/1.55 var(--sans); color: var(--muted); text-wrap: pretty; }
.chip { display: inline-block; padding: 5px 9px; border-radius: 4px; font: 600 12px/1 var(--sans); color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); }
/* The featured post: one panel, its words on the left with Read more and the
   date at their foot, its cover filling the right. */
.lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; margin: 28px 0 64px; padding: 16px; color: inherit; text-decoration: none; background: var(--panel); border: 1px solid var(--rule); clip-path: var(--notch); }
.lead__text { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 4px 10px 22px; }
.lead__h { margin: 18px 0 14px; font: 700 clamp(28px, 2.4vw, 34px)/1.12 var(--sans); letter-spacing: -0.025em; color: var(--ink-hi); text-wrap: balance; }
.lead__dek { font: 400 18px/1.5 var(--sans); color: var(--muted); text-wrap: pretty; }
.lead__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; width: 100%; margin-top: auto; padding-top: 28px; }
.lead__more { padding: 12px 22px; font: 700 13px/1 var(--sans); letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: var(--blue-fill); clip-path: polygon(0 8px, 8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); transition: filter 0.2s; }
.lead__meta { font: 400 14px/1.4 var(--sans); color: var(--faint); }
a.lead:hover .lead__more { filter: brightness(1.15); }
a.lead:hover .lead__h, a.post:hover .post__h { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* Every other post: a small copy of its cover (drawn at 400px and scaled,
   so it reads as the same picture, not a crowded re-flow), the title, then
   its topic and reading time. */
.articles__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.articles__h { font: 700 26px/1.2 var(--sans); letter-spacing: -0.015em; color: var(--ink-hi); }
.topics { display: flex; flex-wrap: wrap; gap: 6px; }
.topics a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid transparent; border-radius: 7px; font: 600 13px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.52); text-decoration: none; transition: all 0.2s ease; scroll-margin-top: 24px; }
.topics a:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); }
.topics a[aria-current] { color: #e2e8f0; background: color-mix(in srgb, var(--accent) 12%, transparent); border-color: color-mix(in srgb, var(--accent) 32%, transparent); }
.topics span { font: 500 12px/1 var(--mono); letter-spacing: 0; color: var(--faint); }
[hidden] { display: none !important; }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 40px; padding: 18px 0 60px; }
.post { --tw: 240px; --ts: 0.6; display: grid; grid-template-columns: var(--tw) minmax(0, 1fr); align-items: center; gap: 22px; margin: 0 -12px; padding: 12px; border-radius: 8px; color: inherit; text-decoration: none; transition: background 0.2s; }
.post:hover { background: rgba(255,255,255,0.03); }
.post__thumb { width: var(--tw); aspect-ratio: 16 / 10; overflow: hidden; clip-path: var(--notch); }
.post__thumb .cover { width: 400px; margin: 0; transform: scale(var(--ts)); transform-origin: 0 0; }
.post__h { font: 700 18px/1.3 var(--sans); letter-spacing: -0.01em; color: var(--ink-hi); text-wrap: balance; }
.post__meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; font: 400 13.5px/1.2 var(--sans); color: var(--faint); }
.data__notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; padding: 22px 0 8px; }
/* Cards under a post. */
.story { display: block; color: inherit; text-decoration: none; }
.story__h { margin: 10px 0 8px; font: 700 21px/1.25 var(--sans); letter-spacing: -0.01em; color: var(--ink-hi); text-wrap: balance; }
.story__dek { font: 400 16px/1.55 var(--sans); color: var(--muted); text-wrap: pretty; }
a.story:hover .story__h { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.story .cover { margin-bottom: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 30px; padding: 26px 0 64px; }
.grid3 .story__h { font-size: 19px; }
/* What one topic's posts were counted from, framed like a chart. */
.datanote { position: relative; align-self: start; padding-top: 14px; border-top: 1px solid var(--rule-hi); }
.datanote h3 { font: 700 19px/1.25 var(--sans); color: var(--ink-hi); }
.datanote dl { margin: 8px 0 14px; }
.datanote dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.datanote dt { font: 500 15px/1.3 var(--sans); color: var(--muted); }
.datanote dd { font: 700 16px/1.3 var(--mono); color: var(--ink-hi); }
.datanote p { font: 400 15px/1.6 var(--sans); color: var(--muted); }

/* Article */
.article__head { width: min(680px, 100% - 40px); margin: 0 auto; padding: 44px 0 32px; }
.article__h { margin: 12px 0 14px; font: 700 clamp(32px, 4.6vw, 48px)/1.1 var(--sans); letter-spacing: -0.02em; color: var(--ink-hi); text-wrap: balance; }
.article__dek { font: 400 clamp(18px, 2.1vw, 21px)/1.45 var(--sans); color: var(--muted); text-wrap: pretty; }
.byline { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule); font: 400 14px/1.4 var(--sans); color: var(--muted); }
.byline b { font-weight: 600; color: var(--ink-hi); }
.article__cover { width: min(680px, 100% - 40px); margin: 4px auto 44px; }
.article__cover .cover { aspect-ratio: 2 / 1; }
.article__cover figcaption { margin-top: 10px; font: 400 14px/1.5 var(--sans); color: var(--faint); }
/* One column for the text and every figure, so the left edge never moves.
   A grid rather than a block so margins between paragraphs, headings and
   charts add up instead of collapsing. */
.prose { display: grid; grid-template-columns: min(680px, 100% - 40px); justify-content: center; }
.prose > p, .prose > ol > li, .profile p { font: 400 18px/1.72 var(--sans); color: var(--ink); }
.prose > p { margin-bottom: 1.05em; }
.prose > .lede { font-size: 20px; line-height: 1.62; color: var(--ink-hi); }
.prose > h2 { margin: 52px 0 14px; font: 700 clamp(23px, 2.6vw, 28px)/1.22 var(--sans); letter-spacing: -0.01em; color: var(--ink-hi); text-wrap: balance; }
.prose a:not(.btn) { color: var(--ink-hi); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose strong, .prose b { color: var(--ink-hi); }

/* Charts and tables, framed like a newspaper chart: a tag on the top rule,
   a line on what is measured, the figure, then source and wordmark. */
.chart { position: relative; margin: 26px 0 38px; padding-top: 14px; border-top: 1px solid var(--rule-hi); }
.chart::before, .datanote::before { content: ''; position: absolute; top: -1px; left: 0; width: 36px; height: 5px; background: var(--accent-fill); }
.chart__head { margin-bottom: 16px; }
.chart__t { margin-bottom: 4px; font: 700 18px/1.3 var(--sans); color: var(--ink-hi); text-wrap: balance; }
.chart__sub { font: 500 15px/1.45 var(--sans); color: var(--ink); }
.chart__t + .chart__sub { font-weight: 400; color: var(--muted); }
/* The cash posts' charts have one line of head, which reads as the title. */
.chart__head > .chart__sub:first-child { font: 700 18px/1.3 var(--sans); color: var(--ink-hi); text-wrap: balance; }
.chart__keys { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 8px; font: 500 13px/1.3 var(--sans); color: var(--muted); }
.chart__keys span { display: inline-flex; align-items: center; }
.chart__note { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule); font: 400 13px/1.5 var(--sans); color: var(--faint); }
.chart table { width: 100%; border-collapse: collapse; }
.chart th { padding: 0 10px 9px; border-bottom: 1px solid var(--rule-hi); font: 500 13.5px/1.3 var(--sans); color: var(--muted); text-align: right; white-space: nowrap; vertical-align: bottom; }
.chart td { padding: 12px 10px; border-bottom: 1px solid var(--rule); font: 400 14.5px/1.3 var(--mono); color: var(--ink); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chart th:first-child, .chart td:first-child { padding-left: 0; text-align: left; }
.chart th:last-child, .chart td:last-child { padding-right: 0; }
.chart td:first-child { font: 500 15.5px/1.3 var(--sans); color: var(--ink-hi); }
.chart tbody tr:last-child td { border-bottom: 0; }
.chart tr.is-hot td { color: var(--ink-hi); font-weight: 700; }
.chart .t-mix { width: 30%; }
.chart .t-bar { width: 46%; }
.meter { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.meter__track { flex: 1; min-width: 48px; height: 10px; background: rgba(255,255,255,0.04); }
.meter__track i { display: block; height: 100%; background: var(--c, var(--accent)); }
.meter__v { min-width: 3.6em; }
/* Rows that ran below: luck under zero, or a win rate the luck was carrying. */
.chart tr.is-cold { --c: #64748b; }
.t-board tr.is-cold td:nth-child(5) { color: var(--ink-hi); font-weight: 700; }
/* A hand drawn as cards carries its words for screen readers and crawlers. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vs { margin-right: 10px; font: 500 13px/1 var(--sans); color: var(--muted); }
/* A stacked bar with its labels printed on it. */
.split .mix { height: 30px; }
.split .mix i { display: flex; align-items: center; padding: 0 8px; overflow: hidden; font: 600 13px/1 var(--mono); color: #fff; white-space: nowrap; }
.split .mix i.k-r { color: #0b1220; }

/* Player-type profiles. */
.profile { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 0 22px; margin-top: 44px; }
.profile > img { display: block; width: 88px; height: 88px; background: #0b1221; border-bottom: 3px solid var(--c); clip-path: polygon(0 8px, 8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
.profile h2 { margin: 2px 0 2px; font: 700 24px/1.2 var(--sans); letter-spacing: -0.01em; color: var(--ink-hi); }
.profile p.profile__share { margin-bottom: 10px; font: 500 14px/1.4 var(--sans); color: var(--muted); }
.profile__share b { font: 700 14px/1 var(--mono); color: var(--c); }


.method { margin-top: 52px; padding-top: 16px; border-top: 1px solid var(--rule-hi); }
.method h2 { margin-bottom: 10px; font: 700 20px/1.3 var(--sans); letter-spacing: -0.01em; color: var(--ink-hi); }
.method p { font: 400 15.5px/1.65 var(--sans); color: var(--muted); }
.method p + p { margin-top: 10px; }

.promo { margin: 52px 0 8px; padding: 26px 28px 28px; background: var(--panel); border: 1px solid var(--rule); clip-path: var(--notch); }
.promo p { font: 400 17px/1.55 var(--sans); color: var(--ink); }
.promo__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 20px; }
.promo a.promo__link { font: 600 15px/1.3 var(--sans); color: var(--ink-hi); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.promo a.promo__link:hover { color: #fff; }

.related { width: min(1120px, 100% - 40px); margin: 72px auto 80px; padding-top: 14px; border-top: 1px solid var(--rule-hi); }
.related > h2 { font: 700 22px/1.25 var(--sans); letter-spacing: -0.01em; color: var(--ink-hi); }
.related .grid3 { padding-bottom: 0; }

/* The felt. Wide screens show a printed card-room felt either side of the
   page, kept minimal: small suits and the Street Poker mark where the hearts
   would be, tone on tone in the site's navy (felt.svg, drawn by felt.py), over
   the weave of the app's own table felt. A silver line down each side of the
   column separates the page from it. Each side is its own panel, so the line
   is a border and lands on whole pixels, and the print is lined up on it. It
   scrolls with the page and starts under the top bar (the bar's own height,
   chrome.css), so the bar caps the lines; the footer is solid so the felt
   ends where the page does. */
.felt { display: none; }
@media (min-width: 1300px) {
  body { position: relative; }
  .felt { --line: 2px solid #aab3c0; display: block; position: absolute; inset: clamp(40px, 3.6vw, 64px) 0 0; z-index: 0; pointer-events: none; }
  .felt::before, .felt::after { content: ''; position: absolute; top: 0; bottom: 0; width: calc(50% - 598px);
    background: url(felt.svg) right 36px top 0, repeating-linear-gradient(45deg, transparent 0 2px, rgba(255,255,255,0.012) 2px 4px),
      repeating-linear-gradient(-45deg, transparent 0 2px, rgba(0,0,0,0.05) 2px 4px), #060a11; }
  .felt::before { left: 0; border-right: var(--line); }
  .felt::after { right: 0; border-left: var(--line); background-position: left 36px top 0, 0 0, 0 0; }
}

@media (max-width: 860px) {
  .lead { grid-template-columns: 1fr; gap: 6px; }
  .lead .cover { order: -1; }
  .posts { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 26px; }
}
/* Four link columns at 64px gaps need ~520px: same fix as landing.html. */
@media (max-width: 768px) { .foot__cols { flex-wrap: wrap; gap: 28px 40px; } }
@media (max-width: 640px) {
  .masthead { padding-top: 36px; }
  .topics { gap: 4px; }
  .topics a { padding: 0 10px; font-size: 12px; }
  .lead { padding: 10px; }
  .lead__text { padding: 14px 6px 6px; }
  .post { --tw: 128px; --ts: 0.32; gap: 14px; }
  .post__h { font-size: 16px; }
  .data__notes { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; gap: 0; padding-top: 6px; }
  .grid3 > .story { padding: 24px 0 28px; }
  .grid3 > .story + .story { border-top: 1px solid var(--rule); }
  .article__head { padding-top: 30px; }
  .article__cover .cover { aspect-ratio: 16 / 10; }
  .prose > p, .prose > ol > li, .profile p { font-size: 17px; }
  .prose > .lede { font-size: 18.5px; }
  .split .mix i { padding: 0 5px; font-size: 12px; }
  .stack { grid-template-columns: 1fr; gap: 4px; }
  .stack .mix { margin-bottom: 10px; }
  .hist { --h: 150px; column-gap: 3px; }
  .hist b { font-size: 9.5px; letter-spacing: -0.03em; }
  .hist span { font-size: 10px; }
  .gridside { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 3.6em minmax(0, 1fr) auto; }
  .duo--wide { grid-template-columns: 5.2em minmax(0, 1fr) auto; }
  .duo__bars { padding: 0 10px; }
  .duo__v { font-size: 12.5px; }
  .rgrids, .rgrids--2 { grid-template-columns: 1fr; }
  /* A six-column table cannot fit 350px, and scrolling it hid the numbers the
     post is about. Each row becomes a small grid with its label cell on top;
     column names come from the (visually hidden) header, restated here. */
  .chart table, .chart tbody { display: block; }
  .chart thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .chart tr { display: grid; gap: 10px 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .chart tbody tr:last-child { border-bottom: 0; }
  .chart td, .chart td:first-child { padding: 0; border: 0; white-space: normal; text-align: left; font-size: 14px; }
  .chart td:first-child { font-size: 15.5px; }
  .chart td::before { display: block; margin-bottom: 3px; font: 500 12.5px/1.3 var(--sans); color: var(--muted); }
  .chart .t-mix, .chart .t-bar { display: block; grid-column: 1 / -1; width: auto; }
  .chart .meter { justify-content: flex-start; }
  .t-types tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chart .t-types td:first-child { grid-column: 1 / 3; align-self: center; }
  .chart .t-types td:last-child { grid-row: 1; grid-column: 3; text-align: right; }
  .t-types td:nth-child(3)::before { content: "Fold"; }
  .t-types td:nth-child(4)::before { content: "Limp"; }
  .t-types td:nth-child(5)::before { content: "Raise"; }
  .t-types td:nth-child(6)::before { content: "Decisions"; }
  .t-facing td:nth-child(4)::before { content: "Call"; }
  .t-facing td:nth-child(5)::before { content: "Re-raise"; }
  .t-aces tr, .t-regs tr, .t-2 tr { grid-template-columns: minmax(0, 1fr) auto; }
  .chart .t-aces td:nth-child(2), .chart .t-regs td:nth-child(2), .chart .t-2 td:nth-child(2) { text-align: right; }
  .t-aces td:nth-child(2)::before { content: "UTG aces decisions"; }
  .t-regs td:nth-child(2)::before { content: "Regulars"; }
  .t-share tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .t-3 tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart .t-share td:first-child { align-self: end; }
  .chart .t-share td:nth-child(2), .chart .t-share td:nth-child(3) { text-align: right; }
  .t-share td:nth-child(2)::before { content: "Decisions"; }
  .t-share td:nth-child(3)::before { content: "Aces"; }
  .t-hands tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart .t-hands td:first-child { grid-column: 1 / -1; }
  .t-hands td:nth-child(2)::before { content: "Decisions"; }
  .t-hands td:nth-child(3)::before { content: "Players"; }
  /* New tables name their own restated columns in data-k. */
  .chart td[data-k]::before { content: attr(data-k); }
  .chart .t-3 td:first-child { grid-column: 1 / -1; }
  .profile { grid-template-columns: 64px minmax(0, 1fr); gap: 0 16px; }
  .profile > img { width: 64px; height: 64px; }
  .promo { padding: 22px 20px 24px; }
}

/* Engagement: a guess before the post (pick a number, then see the measured
   one) and a question to argue about after it, both with share links. */
.quiz { width: min(680px, 100% - 40px); margin: 0 auto 40px; padding: 22px 24px 24px; background: var(--panel); border: 1px solid var(--rule); border-left: 3px solid var(--accent); }
.quiz__k { font: 700 12px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.quiz__q { margin: 10px 0 16px; font: 700 20px/1.35 var(--sans); color: var(--ink-hi); text-wrap: balance; }
.quiz__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz__opts button { min-width: 96px; padding: 12px 18px; font: 700 17px/1 var(--mono); color: var(--ink-hi); background: rgba(255,255,255,0.03); border: 1px solid var(--rule-hi); border-radius: 6px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.quiz__opts button:hover:not(:disabled) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.quiz__opts button:disabled { cursor: default; opacity: 0.55; }
.quiz__opts button.is-right { opacity: 1; color: #fff; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 24%, transparent); }
.quiz__opts button.is-wrong { opacity: 1; border-color: #ef4444; }
.quiz__a { margin-top: 16px; font: 400 16.5px/1.6 var(--sans); color: var(--ink); }
.quiz__verdict { font-weight: 700; color: var(--ink-hi); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; font: 500 14px/1.3 var(--sans); color: var(--muted); }
.share a, .share button { font: 600 14px/1.3 var(--sans); color: var(--ink-hi); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.argue { margin-top: 52px; padding: 22px 24px 24px; background: var(--panel); border: 1px solid var(--rule); border-left: 3px solid var(--accent); }
.argue h2 { font: 700 12px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.argue p { margin-top: 10px; font: 700 20px/1.4 var(--sans); color: var(--ink-hi); text-wrap: balance; }
@media (max-width: 640px) { .quiz, .argue { padding: 18px; } .quiz__q, .argue p { font-size: 18px; } .quiz__opts button { flex: 1; min-width: 0; } }

/* 320px phones (iPhone SE 1st gen, small Androids): logo + menu + the two
   account buttons were 16px wider than the screen, which made every blog page
   scroll sideways. Tighten the gaps and button padding; nothing is hidden. */
@media (max-width: 360px) {
  .nav { gap: 8px; }
  .nav__right { gap: 4px; }
  #nav-auth-slot > div { gap: 6px !important; }
  #nav-auth-slot button { padding-left: 8px !important; padding-right: 8px !important; letter-spacing: 0.02em !important; }
}
