/* The secondary pages of bluffus.com - the blog, the legal pages, the 404 - in the landing page's look
   (its own styles stay inline in index.html). One column of reading width on the arena's black, a faint
   bronze glow at the top and nothing else behind the text. Dark by default; the light "paper" palette
   follows the system or the switch in the header (data-theme on <html>). */
:root {
  /* the app's action colours (src/ui/actionColors.ts, the Bluffus set), for the grid's corner */
  --act-fold: #4b5563;
  --act-passive: #1f8a4c;
  --act-bet-1: #f9c9cd;
  --act-bet-2: #f4a3ab;
  --act-bet-3: #ec7680;
  --act-bet-4: #e04550;
  --act-bet-5: #c92a2a;
  --act-bet-6: #a51d1d;
  --act-allin: #6e0f0f;
  --ink: #0d0c0b;
  --ink-2: #151412;
  --ink-3: #1d1b18;
  --line: #2d2a25;
  --text: #f2ede4;
  --muted: #a7a196;
  --faint: #7d776e;
  --orange: #f26b1d;
  --orange-hi: #ff8a45;
  --bronze: #d6a548;
  --bronze-hi: #f1d38e;
  --glow: rgba(214, 165, 72, 0.07);
  --cover-glow: #1e1811;
  --felt: rgba(214, 165, 72, 0.045);
  /* a right answer in words (the toy table's verdicts) */
  --good: #4cc38a;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --ink: #f4efe6;
    --ink-2: #ede7db;
    --ink-3: #e4ddce;
    --line: #d9d1c1;
    --text: #1a1714;
    --muted: #5d574e;
    --faint: #8a8377;
    --orange: #e3601a;
    --orange-hi: #c24f10;
    --bronze: #9a6f1f;
    --bronze-hi: #7b5916;
    --glow: rgba(214, 165, 72, 0.22);
    --cover-glow: #e9dfcc;
    --felt: rgba(154, 111, 31, 0.07);
    --good: #1d7a43;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --ink: #f4efe6;
  --ink-2: #ede7db;
  --ink-3: #e4ddce;
  --line: #d9d1c1;
  --text: #1a1714;
  --muted: #5d574e;
  --faint: #8a8377;
  --orange: #e3601a;
  --orange-hi: #c24f10;
  --bronze: #9a6f1f;
  --bronze-hi: #7b5916;
  --glow: rgba(214, 165, 72, 0.22);
  --cover-glow: #e9dfcc;
  --felt: rgba(154, 111, 31, 0.07);
  --good: #1d7a43;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(60% 42% at 50% -8%, var(--glow), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
a { color: var(--orange-hi); text-decoration: none; }
a:hover { text-decoration: underline; }

/* the header and the footer */
.top { border-bottom: 1px solid var(--line); background: var(--ink-2); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 20px; }
.wordmark { font-family: Cinzel, Georgia, serif; font-weight: 800; letter-spacing: 0.06em; color: var(--orange); font-size: 22px; }
.wordmark:hover { text-decoration: none; color: var(--orange-hi); }
.top nav { display: flex; align-items: center; }
.top nav a { color: var(--muted); margin-left: 18px; font-size: 14px; font-weight: 600; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }
.theme {
  margin-left: 18px;
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--faint);
  background: linear-gradient(90deg, var(--faint) 50%, transparent 50%);
  cursor: pointer;
  flex: none;
}
.theme:hover { border-color: var(--bronze); background: linear-gradient(90deg, var(--bronze) 50%, transparent 50%); }
main { padding: 36px 0 72px; }
.foot { border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.foot .wrap { padding: 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.foot a { color: var(--muted); }

/* type */
h1 { font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: clamp(28px, 5vw, 38px); line-height: 1.15; margin: 0 0 8px; color: var(--text); }
.sub { color: var(--muted); margin: 0 0 28px; }
h2 { font-size: 20px; margin: 36px 0 10px; color: var(--bronze-hi); }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, li { color: var(--text); }
p { margin: 0 0 14px; }
ul, ol { padding-left: 1.3em; margin: 0 0 14px; }
li { margin: 4px 0; }
.meta, .eyebrow { color: var(--faint); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.eyebrow { color: var(--bronze); font-size: 12px; letter-spacing: 0.16em; font-weight: 700; margin: 0 0 12px; }
.small { font-size: 14px; color: var(--muted); }
.new { display: inline-block; margin-left: 10px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--bronze); color: var(--bronze); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; vertical-align: 1px; }
.note { border: 1px solid var(--line); border-left: 3px solid var(--bronze); background: var(--ink-2); border-radius: 10px; padding: 12px 16px; margin: 0 0 28px; color: var(--muted); font-size: 15px; }
.note b { color: var(--text); }
/* the legal pages in two languages (site/lang.js): the switch, and only the chosen language shown; without the
   script the German text alone, the binding one */
.langs { display: flex; gap: 6px; margin: 0 0 24px; }
.langs button { font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-2); color: var(--muted); cursor: pointer; }
.langs button:hover { color: var(--text); }
.langs button[aria-pressed="true"] { border-color: var(--bronze); color: var(--text); }
html[data-lang="de"] [data-lang="en"], html[data-lang="en"] [data-lang="de"], html:not([data-lang]) [data-lang="en"] { display: none; }
address { font-style: normal; }
code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 0.92em; color: var(--bronze-hi); }
blockquote { margin: 0 0 14px; padding: 2px 0 2px 16px; border-left: 3px solid var(--bronze); color: var(--muted); }
img, figure { max-width: 100%; }
figure { margin: 20px 0; }
figure img { border-radius: 10px; border: 1px solid var(--line); }
figcaption { color: var(--faint); font-size: 14px; margin-top: 6px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* the cover: a pen drawing in a framed card, drawn on load */
.cover {
  aspect-ratio: 2 / 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: radial-gradient(110% 95% at 50% 0%, var(--cover-glow) 0%, var(--ink-2) 65%);
  overflow: hidden;
  transition: border-color 0.35s var(--ease);
}
.cover svg { display: block; width: 100%; height: 100%; }
.cover .rail { stroke: var(--bronze); }
.cover .felt { stroke: var(--bronze); opacity: 0.55; }
.cover .felt-fill { fill: var(--felt); }
.cover .seat { stroke: var(--muted); }
.cover .stranger { stroke: var(--orange); stroke-dasharray: 5 6; }
.cover .pen { stroke-dasharray: 1; stroke-dashoffset: 1; animation: pen 1.3s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1s); }
.cover .fade { opacity: 0; animation: fade 0.8s ease-out forwards; animation-delay: calc(var(--d, 0) * 1s); }
@keyframes pen { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .cover .pen { animation: none; stroke-dashoffset: 0; }
  .cover .fade { animation: none; opacity: 1; }
}

/* the blog's index */
.mast { padding: 20px 0 6px; }
.mast h1 { font-size: clamp(32px, 6vw, 48px); letter-spacing: 0.005em; }
.mast .sub { font-size: 18px; max-width: 34em; }
.featured { display: block; color: inherit; margin: 32px 0 8px; }
.featured:hover { text-decoration: none; }
.featured:hover .cover { border-color: var(--bronze); }
.featured-body { padding: 22px 4px 18px; }
.featured h2 { font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: clamp(24px, 4.2vw, 32px); line-height: 1.15; margin: 8px 0 10px; color: var(--text); }
.featured p { color: var(--muted); font-size: 17px; max-width: 36em; margin: 0 0 14px; }
.more { color: var(--orange-hi); font-weight: 600; font-size: 15px; }
.featured:hover .more { text-decoration: underline; }
.featured .excerpt { color: var(--text); opacity: 0.82; font-size: 16px; line-height: 1.6; border-left: 2px solid var(--line); padding-left: 14px; }
/* the older posts: cards (the cover small, kind and date, title, line) or a table (date, title, kind), the reader's
   pick (site/render.mjs VIEW_SCRIPT); one list, its class decides */
.posts { margin-top: 36px; }
.posts-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.posts-head h2 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin: 0; }
.view { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.view[hidden] { display: none; }
.view button { font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 5px 14px; cursor: pointer; }
.view button[aria-pressed="true"] { background: var(--ink-3); color: var(--text); }
.view button:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { margin: 0; }
.list a { color: inherit; }
.list a:hover { text-decoration: none; }
.list a:hover h3 { color: var(--orange-hi); }
.list h3 { font-size: 18px; font-weight: 700; line-height: 1.25; margin: 4px 0; color: var(--text); }
.list p { margin: 0; color: var(--muted); font-size: 15px; }
.list .thumb { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: #0b0b0a; }
.list .thumb.none { background: radial-gradient(70% 95% at 58% 42%, var(--cover-glow), var(--ink) 72%); }
.list-body { display: block; min-width: 0; }
/* cards */
.list.as-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 18px; }
.list.as-cards a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--ink-2); transition: border-color 0.2s var(--ease); }
.list.as-cards a:hover { border-color: var(--bronze); }
.list.as-cards .thumb { border-bottom: 1px solid var(--line); }
.list.as-cards .list-body { padding: 12px 14px 16px; }
.list.as-cards .cell-date, .list.as-cards .cell-kind { display: none; }
/* the table */
.list.as-list { border-top: 1px solid var(--line); }
.list.as-list li { border-bottom: 1px solid var(--line); }
.list.as-list a { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 1em; align-items: baseline; padding: 13px 4px; }
.list.as-list .thumb, .list.as-list .list-body .meta, .list.as-list .list-body p { display: none; }
.list.as-list h3 { font-size: 17px; margin: 0; }
.list.as-list .cell-date { order: -1; color: var(--faint); font-size: 14px; font-variant-numeric: tabular-nums; }
.list.as-list .cell-kind { color: var(--muted); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 640px) {
  .list.as-cards { gap: 14px; }
  .list.as-list a { grid-template-columns: 6.4rem minmax(0, 1fr); }
  .list.as-list .cell-kind { display: none; }
  .list.as-list .cell-date { font-size: 13px; }
}

/* back to the top: a round button in the corner once the reader is a screen down */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 20; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink-2); color: var(--bronze); box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.2s, color 0.2s; }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover, .to-top:focus-visible { border-color: var(--orange); color: var(--orange-hi); text-decoration: none; }
.to-top svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
.empty { color: var(--muted); margin: 32px 0; }
.about { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.about p { color: var(--muted); max-width: 36em; }

/* a post */
.essay { font-size: 18px; line-height: 1.65; }
.hero { margin: 0 0 2.2em; }
.hero .cover { margin: 0 0 28px; }
.hero h1 { font-size: clamp(30px, 5.6vw, 46px); line-height: 1.1; margin: 0.3em 0 0.4em; letter-spacing: 0.005em; }
.hero .sub { font-size: 19px; line-height: 1.5; max-width: 34em; margin: 0; }
.essay p { margin: 0 0 1.15em; }
.essay h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--bronze-hi); margin: 2.1em 0 0.6em; }
.essay h3 { font-size: 18px; margin: 1.6em 0 0.4em; }
.essay ul, .essay ol { margin: 0 0 1.15em; padding-left: 1.2em; }
.essay li { margin: 0.45em 0; }
.essay strong { color: var(--text); }
.essay blockquote { margin: 0 0 1.15em; }
/* a lesson's rule (site/lessons.mjs withRule): the one line it teaches, in a frame of its own */
.lesson .rule { margin: 1.6em 0; padding: 0.9em 1.1em; border: 1px solid var(--bronze); border-radius: 12px; background: var(--glow); font-size: 20px; line-height: 1.5; color: var(--text); }
.lesson .rule b { display: block; margin-bottom: 0.25em; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze); }
.essay sup.ref { line-height: 0; font-size: 0.68em; vertical-align: 0.55em; }
.essay sup.ref a { color: var(--bronze); font-weight: 700; padding: 0 0.15em; }
.essay sup.ref a:hover { text-decoration: none; color: var(--orange-hi); }
.essay :target { scroll-margin-top: 80px; }
.scroll { overflow-x: auto; margin: 0.4em 0 1.5em; -webkit-overflow-scrolling: touch; }
.essay table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 15px; line-height: 1.45; }
/* a table of numbers (md.mjs marks it compact) fits a phone without scrolling */
.essay table.compact { min-width: 0; }
@media (max-width: 480px) { .essay table.compact th, .essay table.compact td { padding-right: 8px; } .essay table.compact th { letter-spacing: 0.03em; } }
.essay th { text-align: left; color: var(--faint); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; padding: 0 12px 10px 0; border-bottom: 1px solid var(--line); }
.essay td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
.essay td:nth-child(2) { color: var(--muted); }
.essay td:last-child { color: var(--bronze-hi); }
.notes { margin-top: 3.2em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--muted); }
.notes h2 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin: 0 0 0.9em; }
.notes ol { padding-left: 1.5em; margin: 0; }
.notes li { margin: 0.55em 0; color: var(--muted); overflow-wrap: anywhere; }
.notes li:target { color: var(--text); }
.notes a { color: var(--orange-hi); }
.notes .back { color: var(--faint); margin-left: 0.3em; }
.essay-foot { margin-top: 3em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.essay-foot p { margin: 0; }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .essay { font-size: 17px; }
  .hero .sub { font-size: 17px; }
  .featured-body { padding: 18px 0 14px; }
  .cover { border-radius: 10px; }
}

/* ---- the second look (docs/BLOG.md "The second look", built 2026-10-22): the app's table as the cover,
   Bluffus in the left margin and the notes in the right one on wide screens, cards and types in the text,
   guess first, a figure, pull quotes, the closing link into the app. The marks are site/md.mjs's. ---- */

/* the cover: the app's own table, dealt in as the page opens; the empty seat (the reader's) breathing */
.cover.photo { position: relative; background: #0b0b0a; }
.cover.photo img { display: block; width: 100%; height: 100%; object-fit: cover; animation: deal 1.1s var(--ease) both; }
.seat-ring { position: absolute; border: 2px dashed var(--orange); border-radius: 12px; pointer-events: none; animation: breathe 2.6s ease-in-out 1.1s infinite both; }
@keyframes deal { from { opacity: 0; transform: scale(1.035); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes breathe {
  0%, 100% { opacity: 0.5; transform: scale(1); box-shadow: 0 0 0 0 rgba(242, 107, 29, 0); }
  50% { opacity: 1; transform: scale(1.05); box-shadow: 0 0 24px 4px rgba(242, 107, 29, 0.42); }
}

/* the first letter, and a suit before each section */
/* the series line (!series) stands above the first paragraph and leaves it the drop cap */
.series { font-size: 15px; color: var(--muted); }
.series .eyebrow { margin-right: 0.5em; }
.hero + p:not(.series)::first-letter, .hero + .series + p::first-letter { float: left; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 3.5em; line-height: 0.85; margin: 0.08em 0.1em 0 0; color: var(--orange); }
/* none on the blog's mail pages (site/worker/subscribers.ts sitePage): there the paragraph after the title is the "All
   posts" link (Marius, 2026-11-07, after confirming: "is this page correct?", its A large and orange) */
.essay.mail-page .hero + p::first-letter { float: none; font: inherit; line-height: inherit; margin: 0; color: inherit; }
.essay > h2::before { content: '♠'; color: var(--orange); font-size: 0.8em; margin-right: 0.5em; position: relative; top: -0.05em; }
.essay > h2:nth-of-type(4n + 2)::before { content: '♥'; }
.essay > h2:nth-of-type(4n + 3)::before { content: '♦'; }
.essay > h2:nth-of-type(4n + 4)::before { content: '♣'; }

/* a player type: the app's round chip in the type's colour, then the name - plain inline text, so the name sits on
   the line's baseline like its neighbours (as an inline-flex box it sat on the chip's bottom edge and rode high,
   Marius 2026-10-22), the chip centred on the letters */
.type { font-weight: 650; white-space: nowrap; }
.type svg { display: inline-block; width: 1.25em; height: 1.25em; padding: 0.14em; margin-right: 0.3em; border-radius: 50%; background: var(--type); color: #141414; vertical-align: -0.3em; }

/* cards in the text: the app's standard face */
.cards { display: inline-flex; gap: 0.16em; margin: 0 0.1em; vertical-align: -0.42em; }
.cards .card { width: 1.3em; height: auto; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45)); }

/* Bluffus: a callout in the column on phones, a voice in the left margin on wide screens */
.bluffus { display: flex; gap: 0.75em; align-items: flex-start; margin: 1.5em 0; padding: 0.85em 1em; border: 1px solid var(--line); border-radius: 14px; background: var(--ink-2); }
.bluffus p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--text); }
.bluffus .bf { width: 2.8em; height: auto; flex: none; }
.who { display: block; font-family: Cinzel, Georgia, serif; font-weight: 800; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.2em; }

/* the notes beside the text: none on phones (the Notes list at the end), in the right margin on wide screens */
.sidenote { display: none; }

/* guess first: the rest of its section waits under a veil until a guess or a skip */
.guess { margin: 1.6em 0; padding: 1em 1.15em; border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: 12px; background: var(--ink-2); }
.guess .q { margin: 0 0 0.75em; font-weight: 600; }
.guess .q .eyebrow { display: block; margin: 0 0 0.35em; }
.guess .opts { display: flex; flex-wrap: wrap; gap: 0.5em; }
.guess button { font: inherit; font-size: 15px; padding: 0.42em 0.95em; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-3); color: var(--text); cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.guess button:hover:not(:disabled) { border-color: var(--bronze); }
.guess button:disabled { cursor: default; }
.guess button.skip { background: transparent; border-color: transparent; color: var(--faint); }
.guess button.right { border-color: #4cc38a; color: #4cc38a; font-weight: 700; }
.guess button.wrong { border-color: #ff6b6b; color: #ff6b6b; text-decoration: line-through; }
.guess .reveal { margin-top: 0.9em; }
.guess .reveal > p { margin: 0 0 0.55em; }
.guess .quip { display: flex; gap: 0.6em; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--muted); }
.guess .quip .bf { width: 2.3em; height: auto; flex: none; }
.veiled { filter: blur(9px); opacity: 0.4; user-select: none; pointer-events: none; }
.veil { transition: filter 0.6s var(--ease), opacity 0.6s var(--ease); }
/* a figure under the veil gives nothing away: its squares empty until the guess, then they fill */
.dots.veiled .dots-row .dots-grid i.on { background: var(--ink-3); }
.veil .dots-grid i { transition: background 0.5s var(--ease) calc(var(--k, 0) * 6ms); }

/* a figure of squares: n of every 100 */
.dots { margin: 1.6em 0; padding: 1.05em 1.15em; border: 1px solid var(--line); border-radius: 12px; background: var(--ink-2); }
.dots-row { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1em; align-items: center; margin: 0.55em 0; }
.dots-label { font-size: 14px; line-height: 1.35; color: var(--muted); }
.dots-label b { display: block; font-family: Cinzel, Georgia, serif; font-size: 28px; line-height: 1.05; color: var(--text); }
.dots-grid { display: grid; grid-template-columns: repeat(25, 1fr); gap: 3px; }
.dots-grid i { aspect-ratio: 1; border-radius: 2px; background: var(--ink-3); }
.dots-row:first-of-type .dots-grid i.on { background: var(--bronze); }
.dots-grid i.on { background: var(--orange); }
.dots figcaption { margin: 0.5em 0 0; }
/* a few counted (`1/12`): bigger, round */
.dots-grid.few { grid-template-columns: repeat(var(--cols), minmax(0, 1.75rem)); gap: 7px; }
.dots-grid.few i { border-radius: 50%; }
.dots-label b small { font-family: Inter, system-ui, sans-serif; font-size: 14px; font-weight: 500; color: var(--muted); }

/* ---- figures (site/md.mjs !ladder !curve !bars !weeks): the squares' panel, drawn in as they come into view
   (site/build.mjs FIG_SCRIPT adds `in`); without the script, or with reduced motion, they stand drawn ---- */
.fig { position: relative; margin: 1.8em 0; padding: 1.15em 1.2em 1em; border: 1px solid var(--line); border-radius: 12px; background: var(--ink-2); }
.fig figcaption { margin: 0.8em 0 0; }

/* the ladder: steps rising to the right, an ace on each that leans further the higher it stands */
.ladder ol { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0.8em; margin: 0; padding: 0; list-style: none; }
.ladder li { display: flex; flex-direction: column; min-width: 0; }
.ladder .stair { display: flex; align-items: flex-end; height: 9.6rem; }
.ladder .step { position: relative; width: 100%; height: calc(1.1rem + var(--h) * 4.4rem); border-top: 3px solid var(--bronze); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--ink-3), transparent 92%); }
.ladder li:last-child .step { border-top-color: var(--orange); }
.ladder .ace { position: absolute; left: 50%; bottom: 100%; width: 2.25rem; margin-left: -1.1rem; transform-origin: 25% 100%; transform: rotate(var(--lean)); transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.2s + var(--i) * 0.25s); }
.ladder .ace .card { display: block; width: 100%; height: auto; filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.5)); }
.ladder li > b { margin-top: 0.6em; font-family: Cinzel, Georgia, serif; font-size: 15px; line-height: 1.2; color: var(--text); }
.ladder li > span:last-child { margin-top: 0.25em; font-size: 13px; line-height: 1.35; color: var(--muted); }

/* the curve: gain against exposure, each type in its colour, the even trade dashed */
.curve .legend { display: flex; flex-wrap: wrap; gap: 0.5em 1.2em; margin: 0 0 0.5em; font-size: 15px; }
.curve .key { font-weight: 650; color: var(--c); }
.curve > svg { display: block; width: 100%; height: auto; overflow: visible; font-family: Inter, system-ui, sans-serif; }
.curve .grid { stroke: var(--line); stroke-width: 1; }
.curve .tick { fill: var(--faint); font-size: 13px; }
.curve .axis { fill: var(--muted); font-size: 14px; }
.curve .even { stroke: var(--faint); stroke-width: 1.5; stroke-dasharray: 5 7; }
.curve .even-label { fill: var(--faint); font-size: 13px; font-style: italic; }
.curve .area { opacity: 1; transition: opacity 0.9s ease calc(1.3s + var(--s) * 0.6s); }
.curve .ln { fill: none; stroke: var(--c); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--c) 55%, transparent)); transition: stroke-dashoffset 1.7s cubic-bezier(0.45, 0, 0.2, 1) calc(0.15s + var(--s) * 0.6s); }
.curve .mark { transition: opacity 0.5s ease calc(1.6s + var(--s) * 0.6s); }
.curve .mark circle { fill: var(--c); stroke: var(--ink-2); stroke-width: 3; }
.curve .mark text { fill: var(--c); font-size: 14px; font-weight: 700; }
.curve .note { transition: opacity 0.6s ease 2.6s; }
.curve .note text { fill: var(--text); font-size: 15px; font-weight: 600; }
.curve .note line { stroke: var(--muted); stroke-width: 1.2; }
.curve-notes { display: none; margin: 0.4em 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--text); }

/* bars to scale, the first in orange, the ratio big in the corner */
.bars .badge { float: right; margin: -0.15em 0 0.3em 0.8em; font-family: Cinzel, Georgia, serif; font-weight: 800; font-size: clamp(30px, 6vw, 44px); line-height: 1; color: var(--orange); }
.bar { margin: 0.25em 0 1em; }
.bar-label { margin: 0 0 0.35em; font-size: 14px; line-height: 1.35; color: var(--muted); }
.bar-track { display: flex; align-items: center; gap: 0.6em; }
.bar-track i { display: block; flex: none; width: calc(var(--w) * 0.78); min-width: 4px; height: 22px; border-radius: 4px; background: var(--bronze); transition: width 1.2s cubic-bezier(0.2, 0.7, 0.1, 1) calc(0.2s + var(--i) * 0.3s); }
.bar.first .bar-track i { background: linear-gradient(90deg, var(--orange), var(--orange-hi)); box-shadow: 0 0 18px -4px var(--orange); }
.bar-track b { font-family: Cinzel, Georgia, serif; font-size: 22px; font-weight: 700; line-height: 1; color: var(--text); white-space: nowrap; transition: opacity 0.4s ease calc(1s + var(--i) * 0.3s); }

/* the AKQ game's slider (!sizer): his bet, his hands as one bar (aces bet, queens bluff, queens give up: the
   slice you win), four numbers; the slider only with the page's script (site/build.mjs SIZER_SCRIPT) */
.sz-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; margin: 0 0 0.3em; }
.sz-head label { font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sz-bet { font-family: Cinzel, Georgia, serif; font-size: clamp(21px, 3.6vw, 27px); font-weight: 700; line-height: 1.1; color: var(--text); text-align: right; }
.sz-input { display: none; margin: 0.1em 0 1.5em; }
.js .sz-input { display: block; }
.sz-input input { display: block; width: 100%; height: 30px; margin: 0; accent-color: var(--orange); cursor: grab; }
.sz-input input:active { cursor: grabbing; }
.sz-ticks { position: relative; height: 1.1em; margin: 0 9px; font-size: 12px; color: var(--faint); }
.sz-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.sz-ticks span:first-child { transform: translateX(-9px); }
.sz-ticks span:last-child { transform: translateX(calc(-100% + 9px)); }
.sz-hands { display: flex; height: 30px; overflow: hidden; border-radius: 6px; background: var(--ink-3); }
.sz-hands i { display: block; flex: none; height: 100%; transition: width 0.35s var(--ease); }
/* the bets in the app's red for a bet the size of the pot (Marius, 2026-10-23: "to respect the app colors") */
.sz-hands .v, .sz-key .v::before { background: var(--act-bet-5); }
.sz-hands .b, .sz-key .b::before { background: repeating-linear-gradient(135deg, var(--act-bet-5) 0 5px, color-mix(in srgb, var(--act-bet-5) 35%, transparent) 5px 10px); }
.sz-hands .g, .sz-key .g::before { background: linear-gradient(90deg, var(--orange), var(--orange-hi)); }
.sz-hands .g { box-shadow: 0 0 18px -4px var(--orange); }
.sz-key { display: flex; flex-wrap: wrap; gap: 0.3em 1.2em; margin: 0.6em 0 1.2em; font-size: 13px; color: var(--muted); }
.sz-key span::before { content: ''; display: inline-block; width: 0.8em; height: 0.8em; margin-right: 0.45em; border-radius: 2px; vertical-align: -0.05em; }
.sz-read { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6em 1em; margin: 0; }
.sz-read > div { min-width: 0; padding-top: 0.55em; border-top: 1px solid var(--line); }
.sz-read dt { font-size: 13px; font-weight: 650; color: var(--muted); }
.sz-read dd { margin: 0.1em 0 0; font-size: 12.5px; line-height: 1.35; color: var(--faint); }
.sz-read b { display: block; margin: 0.05em 0 0.15em; font-family: Cinzel, Georgia, serif; font-size: clamp(25px, 4.4vw, 34px); font-weight: 700; line-height: 1.05; color: var(--text); }
.sz-read .you { border-top-color: var(--orange); }
.sz-read .you b { color: var(--orange); }

/* the balanced mix by bet size (!mix): value bets in the pot-size red, the bluffs the same red hatched, rising like a
   tide toward the half (dashed); a note under the pointer (site/build.mjs MIX_SCRIPT) */
.mix .sz-key { margin: 0 0 0.8em; }
.mix-plot { position: relative; }
.mix-plot > svg { display: block; width: 100%; height: auto; overflow: visible; font-family: Inter, system-ui, sans-serif; touch-action: pan-y; }
.mix .mx-val, .mix .mx-hatch { fill: var(--act-bet-5); }
.mix .mx-hatch-bg { fill: color-mix(in srgb, var(--act-bet-5) 35%, var(--ink-2)); }
.mix .mx-ln { fill: none; stroke: var(--ink-2); stroke-width: 2.5; stroke-linejoin: round; }
.mix .mx-tide { transform-box: view-box; transform-origin: 0 284px; transition: transform 1.4s var(--ease) 0.2s; }
.mix .mx-half { stroke: #fff; stroke-width: 1.6; stroke-dasharray: 6 6; opacity: 0.9; }
.mix .mx-lab, .mix .mx-pt text { fill: #fff; font-size: 15px; font-weight: 700; paint-order: stroke; stroke: var(--act-bet-6); stroke-width: 4px; stroke-linejoin: round; }
.mix .mx-pt text { font-size: 13.5px; font-weight: 650; }
.mix .mx-pt { transition: opacity 0.5s ease 1.4s; }
.mix .mx-pt circle, .mix .mx-dot { fill: #fff; stroke: var(--ink-2); stroke-width: 2; }
.mix .mx-tickline { stroke: var(--line); stroke-width: 1; }
.mix .tick { fill: var(--faint); font-size: 13px; }
.mix .axis { fill: var(--muted); font-size: 14px; }
.mix .mx-hover { opacity: 0; transition: opacity 0.15s ease; pointer-events: none; }
.mix .mx-cross { stroke: #fff; stroke-width: 1.5; }
.mx-tip { position: absolute; z-index: 2; padding: 0.45em 0.7em; border: 1px solid var(--line); border-radius: 8px; background: var(--ink-3); color: var(--text); font-size: 13px; line-height: 1.4; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.5); }
.mx-tip[hidden] { display: none; }
.mx-tip b { display: block; font-weight: 650; }

/* choices to click (!pick): the choices as chips, one panel shown (all listed without the script): the value big,
   a bar to scale with the first choice marked, the answer in words */
.pick-tabs { display: none; flex-wrap: wrap; gap: 0.45em; margin: 0 0 1em; }
.js .pick-tabs { display: flex; }
.pick-tabs button { padding: 0.45em 0.85em; border: 1px solid var(--line); border-radius: 999px; background: var(--ink-3); color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease); }
.pick-tabs button:hover { border-color: var(--bronze); color: var(--text); }
.pick-tabs button[aria-selected='true'] { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 16%, var(--ink-2)); color: var(--text); }
.pick-tabs button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.pick-panel { padding: 0.2em 0 0.4em; }
.pick-panel + .pick-panel { margin-top: 1em; padding-top: 1em; border-top: 1px solid var(--line); }
.js .pick-panel { display: none; }
.js .pick-panel.on { display: block; }
.js .pick-panel + .pick-panel { margin: 0; padding-top: 0.2em; border: 0; }
.pick-label { display: block; margin: 0 0 0.2em; font-weight: 650; color: var(--text); }
.js .pick-label { display: none; }
.pick-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.2em 0.6em; }
.pick-value b { font-family: Cinzel, Georgia, serif; font-size: clamp(30px, 5.5vw, 42px); font-weight: 700; line-height: 1; color: var(--orange); }
.pick-value span { font-size: 14px; color: var(--muted); }
.pick-track { position: relative; height: 14px; margin: 0.7em 0 0.9em; border-radius: 4px; background: var(--ink-3); }
.pick-track i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--bronze), var(--orange)); transition: width 0.5s var(--ease); }
.pick-track s { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--text); opacity: 0.55; }
/* a scale of its own (`scale`, `mark`): the ends and the baseline's tick labeled under the track */
/* the ends under the track, the right one ticked; the mark above it, ending at its tick, its label over its value (on a
   phone the two would meet under it) */
.pick-track.ticked { margin: 3.1em 0 2.2em; }
.pick-track em { position: absolute; top: calc(100% + 6px); font-size: 12px; font-style: normal; line-height: 1.2; white-space: nowrap; color: var(--muted); }
.pick-track em.lo { left: 0; }
.pick-track em.hi { right: 0; }
.pick-track em.mk { top: auto; bottom: calc(100% + 6px); transform: translateX(-100%); padding-right: 4px; text-align: right; color: var(--text); }
.pick-panel p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text); }

/* the strategy on the 13x13 grid's corner (!grid): the cells as the app paints them, one faded row and column beyond */
.gr-panels { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.2em 2em; }
.gr-panel { flex: 1 1 10.5rem; min-width: 0; max-width: 15rem; }
.gr-title { margin: 0 0 0.5em; font-size: 14px; font-weight: 650; color: var(--text); }
.gr-grid { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 3px; }
.gr-grid i { font-style: normal; position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 4px; background: var(--ink-3); }
.gr-grid i b { font-size: clamp(10px, 1.6vw, 13px); font-weight: 700; color: var(--faint); }
.gr-grid i.on b { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75); }
.gr-grid i.on.pale b { color: #3a1216; text-shadow: none; }
/* the whole 13x13 grid (a range shown as it is) takes the column's width; its names a size smaller */
.fig.grid.full .gr-panel { flex: 1 1 100%; max-width: 34rem; }
.fig.grid.full .gr-grid { gap: 2px; }
.fig.grid.full .gr-grid i b { font-size: clamp(8px, 2.2vw, 12px); letter-spacing: -0.02em; }
.gr-grid i.ghost { opacity: 0.35; background: linear-gradient(135deg, var(--ink-3), transparent); }
.gr-key { display: flex; flex-wrap: wrap; gap: 0.35em 1.1em; margin: 1em 0 0; font-size: 13px; color: var(--muted); }
.gr-key i { display: inline-block; width: 0.85em; height: 0.85em; margin-right: 0.4em; border-radius: 2px; vertical-align: -0.08em; }

/* formulas as fractions (!formula): a card each, the formula big, a bar of what it shares out, the worked case */
.fm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1em; }
.fm-card { min-width: 0; padding: 0.9em 1em 1em; border: 1px solid var(--line); border-radius: 10px; background: var(--ink-3); }
.fig .fm-label { margin: 0 0 0.5em; font-size: 13px; font-weight: 650; letter-spacing: 0.06em; line-height: 1.35; text-transform: uppercase; color: var(--muted); }
.fm-formula { display: flex; justify-content: center; margin: 0.3em 0 1em; }
.frac { display: inline-flex; flex-direction: column; align-items: stretch; text-align: center; vertical-align: middle; font-family: Georgia, 'Times New Roman', serif; line-height: 1.2; white-space: nowrap; }
.frac > span { padding: 0 0.2em; }
.frac > span:first-child { padding-bottom: 0.08em; border-bottom: 2px solid currentColor; }
.frac > span:last-child { padding-top: 0.1em; }
.frac var { font-style: italic; }
.frac.big { font-size: clamp(27px, 4.4vw, 34px); color: var(--text); }
.frac.small { flex: none; font-size: 15px; color: var(--bronze-hi); }
.frac.small > span:first-child { border-bottom-width: 1.5px; }
.fm-bar { display: flex; gap: 2px; height: 14px; overflow: hidden; border-radius: 4px; clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease) 0.25s; }
.fm-bar i { display: block; flex: 1 1 0; min-width: 0; }
.fm-value { background: var(--act-bet-5); }
/* a lesson's draws against an all-in (site/md.mjs potodds): the draws as chips, the slider over a strip green where the
   call makes money and red where it loses, the bar of the pot, the all-in and your call, the read; without the script
   the table */
.potodds .po-live { display: none; }
.js .potodds .po-live { display: block; }
.js .potodds .po-table { display: none; }
.po-draws { display: flex; flex-wrap: wrap; gap: 0.45em; margin: 0 0 1em; }
.po-draws button { flex: none; padding: 0.45em 0.9em; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.po-draws button:hover { color: var(--text); border-color: var(--bronze); }
.po-draws button[aria-pressed='true'] { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 650; }
.po-hand { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4em 0.7em; margin: 0 0 1.1em; }
.po-hand[hidden] { display: none; }
.po-hand .cards .card { width: 42px; height: auto; }
.po-on { color: var(--faint); font-size: 14px; }
.po-outs { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.po-outs b { color: var(--text); }
.po-input { margin: 0.1em 0 1.2em; }
.po-input input { display: block; width: 100%; height: 30px; margin: 0; accent-color: var(--orange); cursor: grab; }
.po-zone { position: relative; height: 6px; margin: 0 9px 0.45em; border-radius: 3px; background: linear-gradient(90deg, var(--good) 0 var(--even), var(--act-bet-5) var(--even) 100%); transition: background 0.3s var(--ease); }
.po-zone i { position: absolute; top: -5px; left: var(--even); width: 3px; height: 16px; margin-left: -1.5px; border-radius: 2px; background: var(--text); }
.po-bar { display: flex; height: 30px; overflow: hidden; border-radius: 6px; background: var(--ink-3); }
.po-bar i { display: block; flex: none; height: 100%; transition: width 0.35s var(--ease); }
.po-bar .pot, .po-key .pot::before { background: color-mix(in srgb, var(--muted) 45%, transparent); }
.po-bar .bet, .po-key .bet::before { background: var(--bronze); }
.po-bar .call, .po-key .call::before { background: linear-gradient(90deg, var(--orange), var(--orange-hi)); }
.po-bar .bet { box-shadow: inset 2px 0 0 var(--ink-2, rgba(0,0,0,0.35)); }
.po-bar .call { box-shadow: inset 2px 0 0 var(--ink-2, rgba(0,0,0,0.35)), 0 0 18px -4px var(--orange); }
.po-read { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6em 1em; margin: 0; }
.po-read > div { min-width: 0; padding-top: 0.55em; border-top: 1px solid var(--line); }
.po-read dt { font-size: 13px; font-weight: 650; color: var(--muted); }
.po-read dd { margin: 0.1em 0 0; font-size: 12.5px; line-height: 1.35; color: var(--faint); }
.po-read b { display: block; margin: 0.05em 0 0.15em; font-family: Cinzel, Georgia, serif; font-size: clamp(25px, 4.4vw, 34px); font-weight: 700; line-height: 1.05; color: var(--text); }
.po-read .need { border-top-color: var(--orange); }
.po-read .need b { color: var(--orange); }
.po-read .verdict span { display: block; }
.po-good .po-read .verdict { border-top-color: var(--good); }
.po-good .po-read .verdict b, .po-good .po-ev { color: var(--good); }
.po-bad .po-read .verdict { border-top-color: var(--act-bet-5); }
.po-bad .po-read .verdict b, .po-bad .po-ev { color: var(--act-bet-5); }
.potodds .po-line { margin: 1.1em 0 0; font-size: 15px; color: var(--muted); }
.po-line b { color: var(--text); }
.po-table { overflow-x: auto; }
@media (max-width: 560px) {
  .po-read { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .po-read .verdict { grid-column: 1 / -1; }
  .po-hand .cards .card { width: 36px; }
}
.fm-you { background: var(--orange); }
.fm-rest { background: color-mix(in srgb, var(--muted) 45%, transparent); }
.fm-bluff { background: repeating-linear-gradient(135deg, var(--act-bet-5) 0 5px, color-mix(in srgb, var(--act-bet-5) 35%, transparent) 5px 10px); }
.fm-key { display: flex; flex-wrap: wrap; gap: 0.25em 1.1em; margin: 0.5em 0 0.85em; font-size: 13px; color: var(--muted); }
.fm-key i { display: inline-block; width: 0.8em; height: 0.8em; margin-right: 0.4em; border-radius: 2px; vertical-align: -0.05em; }
.fig .fm-case { display: flex; align-items: center; gap: 0.8em; margin: 0; padding-top: 0.8em; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; color: var(--text); }

/* who ends with what (!shift): a ring where it starts, a dot where it ends, the move in orange; one scale, zero marked */
.sh-key { display: flex; flex-wrap: wrap; gap: 0.3em 1.4em; margin: 0 0 0.7em; font-size: 13px; color: var(--muted); }
.sh-key span::before { content: ''; display: inline-block; box-sizing: border-box; width: 13px; height: 13px; margin-right: 0.45em; border-radius: 50%; vertical-align: -0.12em; }
.sh-key .from::before { border: 2px solid var(--muted); }
.sh-key .to::before { background: var(--orange); }
.sh-row { display: grid; grid-template-columns: minmax(8em, 13em) minmax(0, 1fr) 4.4em; align-items: center; gap: 0.35em 1.1em; padding: 0.6em 0; border-top: 1px solid var(--line); }
.sh-label { font-size: 14px; line-height: 1.35; color: var(--text); }
.sh-row.still .sh-label { color: var(--muted); }
.sh-track { position: relative; height: 26px; }
.sh-track::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: var(--line); }
.sh-track s { position: absolute; top: 5px; bottom: 5px; width: 1px; background: var(--line); }
.sh-track s.zero { top: -0.6em; bottom: -0.6em; width: 2px; margin-left: -1px; background: var(--faint); opacity: 0.6; }
.sh-move { position: absolute; top: 50%; left: var(--l); width: var(--w); height: 6px; margin-top: -3px; border-radius: 3px; background: linear-gradient(90deg, var(--orange), var(--orange-hi)); box-shadow: 0 0 14px -3px var(--orange); transform-origin: left; transition: transform 1s var(--ease) calc(0.35s + var(--i) * 0.25s); }
.sh-row.down .sh-move { transform-origin: right; background: linear-gradient(270deg, var(--orange), var(--orange-hi)); }
.sh-from, .sh-to { position: absolute; top: 50%; box-sizing: border-box; border-radius: 50%; transform: translate(-50%, -50%); }
.sh-from { left: var(--a); width: 20px; height: 20px; border: 2px solid var(--muted); background: var(--ink-2); }
.sh-to { left: var(--b); width: 12px; height: 12px; background: var(--orange); box-shadow: 0 0 0 2px var(--ink-2); transition: left 1s var(--ease) calc(0.35s + var(--i) * 0.25s); }
.sh-row.still .sh-to { background: var(--muted); }
.sh-val { display: flex; flex-direction: column; gap: 0.2em; white-space: nowrap; }
.sh-val b { font-family: Cinzel, Georgia, serif; font-size: 20px; font-weight: 700; line-height: 1; color: var(--text); }
.sh-val small { font-size: 12px; font-weight: 650; line-height: 1.1; color: var(--orange-hi); }
.sh-row.still .sh-val small { font-weight: 500; color: var(--faint); }
.sh-row.sh-axis { padding: 0.15em 0 0; border-top: 0; }
.sh-ticks { position: relative; height: 1.2em; font-size: 12px; color: var(--faint); }
.sh-ticks span { position: absolute; top: 0; transform: translateX(-50%); }

/* the reader's decision (!decide): a pick per hand, then why */
.dc-q { margin: 0 0 1em; font-size: 17px; line-height: 1.5; color: var(--text); }
.dc-q .eyebrow { display: block; margin-bottom: 0.3em; }
.dc-hand { padding: 0.9em 0; border-top: 1px solid var(--line); }
.dc-head { display: flex; align-items: center; gap: 0.7em; margin: 0 0 0.6em; }
.dc-head .cards svg { width: 1.9em; }
.dc-name { font-weight: 650; color: var(--text); }
.dc-opts { display: none; flex-wrap: wrap; gap: 0.4em; }
.asking .dc-opts { display: flex; }
.dc-opts button { padding: 0.45em 0.8em; border: 1px solid var(--line); border-radius: 8px; background: var(--ink-3); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.dc-opts button:hover:not(:disabled) { border-color: var(--orange); }
.dc-opts button:disabled { cursor: default; opacity: 0.55; }
.dc-opts button.picked { opacity: 1; border-color: var(--orange); background: color-mix(in srgb, var(--orange) 18%, var(--ink-2)); }
.asking .dc-hand:not(.done) .dc-why { display: none; }
.dc-why { margin-top: 0.7em; }
.dc-verdict { margin: 0 0 0.5em; font-weight: 650; }
.dc-verdict:empty { display: none; }
.dc-verdict.yes { color: var(--passive-text, #3fbf74); }
.dc-verdict.no { color: var(--orange-hi); }
.essay .decide table, .decide table { width: 100%; min-width: 0; font-size: 14px; }
.essay .decide tbody th { padding-right: 0.5em; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--text); }
.essay .decide td { color: var(--text); }
.decide th, .decide td { padding: 0.4em 0.5em; text-align: left; vertical-align: top; }
.decide thead th { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.decide tbody th { font-weight: 600; white-space: nowrap; }
.decide tbody th small { font-weight: 500; color: var(--muted); }
.decide tr.best { background: color-mix(in srgb, var(--bronze) 16%, transparent); }
.decide tr.best th { color: var(--bronze-hi); }
.decide tr.picked th::after { content: ' ← yours'; font-size: 12px; font-weight: 600; color: var(--orange-hi); }
.decide .table-wrap { overflow-x: auto; }
.dc-act { color: var(--muted); }
.dc-val { font-weight: 600; color: var(--text); white-space: nowrap; }
.dc-avg { min-width: 5.5em; }
.dc-avg b { font-family: Cinzel, Georgia, serif; font-size: 16px; }
.dc-avg i { display: block; height: 5px; margin-top: 4px; border-radius: 3px; background: var(--bronze); }
.decide tr.best .dc-avg i { background: var(--orange); }
.dc-end { display: none; margin-top: 0.8em; }
.asking:not(.done) .dc-end { display: block; }
.dc-skip { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.asking:not(.done) .dc-reveal { display: none; }
.dc-reveal p { margin: 0.9em 0 0; padding-top: 0.9em; border-top: 1px solid var(--line); font-weight: 600; color: var(--text); }

/* a closed box at the end (!box): how we got the numbers */
.essay details.box, details.box { margin: 2.2em 0 0; padding: 0.9em 1.1em; border: 1px solid var(--line); border-radius: 12px; background: var(--ink-2); font-size: 15px; color: var(--muted); }
details.box summary { cursor: pointer; font-weight: 650; color: var(--text); }
details.box[open] summary { margin-bottom: 0.6em; }
details.box p { font-size: 15px; line-height: 1.6; }

/* weeks: a square a week, a year a row */
.wk-head { margin: 0 0 0.75em; font-size: 15px; line-height: 1.35; color: var(--muted); }
.wk-head b { margin-right: 0.2em; font-family: Cinzel, Georgia, serif; font-size: 36px; line-height: 1; color: var(--text); }
.wk-row { display: grid; grid-template-columns: 1.1em 1fr; gap: 0.55em; align-items: center; margin: 3px 0; }
.wk-row > span { font-size: 11px; color: var(--faint); text-align: right; }
.wk-grid { display: grid; grid-template-columns: repeat(52, minmax(0, 1fr)); gap: 2px; }
.wk-grid i { aspect-ratio: 1; border-radius: 1.5px; background: var(--bronze); transition: background 0.25s ease calc(var(--k) * 4ms); }
.wk-row:last-child .wk-grid i:not(.off) { background: var(--orange); }
.wk-grid i.off { background: none; box-shadow: inset 0 0 0 1px var(--line); }

/* not yet in view: the aces upright, the lines undrawn, the bars empty, the weeks dark */
@media (prefers-reduced-motion: no-preference) {
  .js .fig:not(.in) .ace { transform: none; }
  .js .fig:not(.in) .ln { stroke-dashoffset: 1; }
  .js .fig:not(.in) .area, .js .fig:not(.in) .mark, .js .fig:not(.in) .note, .js .fig:not(.in) .bar-track b { opacity: 0; }
  .js .fig:not(.in) .bar-track i { width: 0; min-width: 0; }
  .js .fig:not(.in) .wk-grid i:not(.off) { background: var(--ink-3); }
  .js .fig:not(.in) .sz-hands i { width: 0 !important; }
  .js .fig:not(.in) .pick-track i { width: 0 !important; }
  .js .fig:not(.in) .fm-bar { clip-path: inset(0 100% 0 0); }
  .js .fig:not(.in) .sh-to { left: var(--a); }
  .js .fig:not(.in) .sh-move { transform: scaleX(0); }
  .js .fig:not(.in) .mx-tide { transform: scaleY(0); }
  .js .fig:not(.in) .mx-pt { opacity: 0; }
}
/* under a guess's veil a figure gives nothing away, with motion or without */
.fig.veiled .ln { stroke-dashoffset: 1; }
.fig.veiled .area, .fig.veiled .mark, .fig.veiled .note, .fig.veiled .bar-track b { opacity: 0; }
.fig.veiled .bar-track i { width: 0; min-width: 0; }
.fig.veiled .wk-grid i:not(.off) { background: var(--ink-3); }
.fig.veiled .wk-head b { visibility: hidden; }
.fig.veiled .sz-hands i { width: 0 !important; }
.fig.veiled .sz-read b, .fig.veiled .sz-bet { visibility: hidden; }
.fig.veiled .pick-panel { visibility: hidden; }
.fig.veiled .sh-to { left: var(--a); }
.fig.veiled .sh-move { transform: scaleX(0); }
.fig.veiled .sh-val { visibility: hidden; }
.fig.veiled .mx-tide { transform: scaleY(0); }
.fig.veiled .mx-pt { opacity: 0; }

/* a pull quote */
.essay .pull { border: 0; margin: 1.9em 0; padding: 0; }
.pull::before { content: ''; display: block; width: 3rem; height: 3px; background: var(--orange); margin-bottom: 0.75em; }
.pull p { margin: 0; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: clamp(21px, 3.3vw, 27px); line-height: 1.3; color: var(--bronze-hi); }

/* the share links under a post (site/build.mjs shareBlock): plain links as chips, the device's share sheet first */
/* the blog by email (site/subscribe.mjs; TODO 541): its own line above "Share this post", not a pill in the share row */
.subscribe { margin: 2.6em 0 0; padding: 1.1em 0 0; border-top: 1px solid var(--line); }
.subscribe + .share { margin-top: 1.8em; }
.about .subscribe { margin: 0 0 1.4em; padding: 0; border-top: 0; max-width: 36em; }
.subscribe-words { margin: 0 0 0.8em; }
.subscribe-row { display: flex; flex-wrap: wrap; gap: 0.5em; }
.subscribe-row input { flex: 1 1 15em; min-width: 0; padding: 0.55em 1em; border: 1px solid var(--line); border-radius: 999px; background: var(--ink-2); color: var(--text); font: inherit; font-size: 15px; }
.subscribe-row input:focus { outline: none; border-color: var(--orange); }
.subscribe-row button, .mail-button { padding: 0.55em 1.3em; border: 1px solid var(--orange); border-radius: 999px; background: var(--orange); color: #14110f; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; transition: filter 0.2s var(--ease); }
.subscribe-row button:hover, .mail-button:hover { filter: brightness(1.08); }
.subscribe-row button:disabled { opacity: 0.6; cursor: default; }
.subscribe-ts:not([hidden]) { margin-top: 0.7em; }
.subscribe-said { margin: 0.8em 0 0; font-size: 15px; }
.subscribe-said.bad { color: var(--orange); }
.subscribe-small { margin: 0.7em 0 0; font-size: 13px; color: var(--muted); }
.share { margin: 2.6em 0 0; padding: 1.1em 0 0; border-top: 1px solid var(--line); }
.share-head { margin: 0 0 0.7em; font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.share-row { display: flex; flex-wrap: wrap; gap: 0.5em; }
.share-row a, .share-row button { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.5em 0.9em; border: 1px solid var(--line); border-radius: 999px; background: var(--ink-2); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: border-color 0.2s var(--ease); }
.share-row a:hover, .share-row button:hover { border-color: var(--orange); color: var(--text); text-decoration: none; }
.share-row a:focus-visible, .share-row button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.share-row button[hidden] { display: none; }
.share-row .share-native { border-color: var(--bronze); }
.share-row svg { width: 16px; height: 16px; flex: none; }

/* the closing link into the app */
.play { display: flex; gap: 1.1em; align-items: center; margin: 2.6em 0 1em; padding: 1.1em 1.25em; border: 1px solid var(--bronze); border-radius: 14px; background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); color: var(--text); transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.play:hover { text-decoration: none; border-color: var(--orange); transform: translateY(-2px); }
.play .bf { width: 4.4em; height: auto; flex: none; }
.play-body { display: flex; flex-direction: column; gap: 0.2em; }
.play-body .eyebrow { margin: 0; }
.play strong { font-size: 19px; line-height: 1.3; }
.play-body > span:not(.eyebrow):not(.go) { color: var(--muted); font-size: 15px; }
.play .go { color: var(--orange-hi); font-weight: 650; font-size: 15px; margin-top: 0.35em; }
/* a spot that needs a plan not open yet (`!play soon`): the same card, greyed, no link */
.play.soon { border-color: var(--line); background: var(--ink-2); cursor: default; }
.play.soon:hover { border-color: var(--line); transform: none; }
.play.soon .bf { filter: grayscale(1); opacity: 0.55; }
.play.soon strong { color: var(--muted); }
.play.soon .go { color: var(--faint); font-weight: 600; }

/* the toy table (!table; site/build.mjs TABLE_SCRIPT, the games in site/table.mjs): the app's table in miniature, a dark
   felt with a bronze rail in either theme, two seat plates, the cards turned by the script, the pot in chips; the words
   beside the felt on wide screens, under it on a phone; the buttons in the app's action colours. Without the script
   only the words (.toy-static) */
.toy-pick, .toy-plan, .toy-main, .toy-score, .toy-note, .toy-runs { display: none; }
.js .toy-pick { display: flex; }
.js .toy-main, .js .toy-score { display: grid; }
.js .toy-plan, .js .toy-note, .js .toy-runs { display: block; }
.js .toy-static { display: none; }
.toy-static { font-size: 15px; line-height: 1.55; }
.essay .toy-static p { margin: 0 0 0.8em; }
.essay .toy-static td:last-child { color: var(--muted); }
.toy-static .best { color: var(--bronze-hi); font-weight: 650; }
.toy-pick { flex-wrap: wrap; gap: 0.45em; margin: 0 0 0.75em; }
.toy-pick button, .toy-plans button { padding: 0.45em 0.85em; border: 1px solid var(--line); border-radius: 999px; background: var(--ink-3); color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease); }
.toy-pick button:hover, .toy-plans button:hover { border-color: var(--bronze); color: var(--text); }
.toy-pick button[aria-pressed='true'] { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 16%, var(--ink-2)); color: var(--text); }
.toy-pick button:focus-visible, .toy-plans button:focus-visible, .toy-acts button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.essay .toy-plan { margin: 0 0 1em; font-size: 15px; line-height: 1.5; color: var(--muted); }
.toy-main { grid-template-columns: minmax(0, 1fr); gap: 1em; align-items: start; }
@media (min-width: 46rem) { .toy-main { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.3em; } }
/* the felt over the words (a phone): the question and its buttons come right under the felt, the hand's words after */
@media (max-width: 45.99rem) { .toy-acts { order: -1; } }

/* the felt: the rail dark with a bronze edge, the cloth the app's grey with its orange line; the same in both themes */
.toy-felt { padding: 8px; border: 2px solid #d6a548; border-radius: 112px; background: linear-gradient(180deg, #1b1a18, #0c0c0c); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.toy-cloth { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 7px; min-height: 18rem; padding: 16px 14px; border-radius: 104px; background: radial-gradient(ellipse at center, #323232 0%, #262626 72%); box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.65); }
.toy[data-table='kuhn'] .toy-cloth { min-height: 15rem; }
.toy-cloth::before { content: ''; position: absolute; inset: 8px; border: 1.5px solid #f26b1d; border-radius: 96px; opacity: 0.5; pointer-events: none; }
.toy-seat { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }
.toy-plate { display: flex; flex-direction: column; align-items: center; min-width: 4.7rem; padding: 4px 10px 5px; border: 1px solid #444; border-radius: 8px; background: linear-gradient(180deg, #343434, #2b2b2b); line-height: 1.2; transition: border-color 0.25s, box-shadow 0.25s; }
.toy-pos { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: #d6a548; }
.toy-name { font-size: 13px; font-weight: 650; color: #f1f1f1; white-space: nowrap; }
.toy-you .toy-plate { border-color: #8a5a2c; }
.toy-plate.acting { border-color: #f26b1d; box-shadow: 0 0 0 1px #f26b1d, 0 0 16px rgba(242, 107, 29, 0.4); }
.toy-plate.won { border-color: #4cc38a; box-shadow: 0 0 0 1px #4cc38a, 0 0 16px rgba(76, 195, 138, 0.4); }
.toy-cards { display: flex; gap: 3px; min-height: 3.5rem; }
.toy-card { position: relative; display: block; width: 2.5rem; aspect-ratio: 60 / 84; perspective: 420px; }
.toy-card > span { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform 0.5s var(--ease); }
.toy-card svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5)); }
.toy-face { transform: rotateY(180deg); }
.toy-card.up .toy-back { transform: rotateY(-180deg); }
.toy-card.up .toy-face { transform: rotateY(0deg); }
.toy-card.dealt { animation: toy-deal 0.35s var(--ease) both; }
.toy-card.dealt + .toy-card.dealt { animation-delay: 0.08s; }
@keyframes toy-deal { from { opacity: 0; transform: translateY(-12px) scale(0.92); } }
.toy-mid { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.toy-board { display: flex; gap: 3px; }
.toy-board .card { display: block; width: 2.05rem; height: auto; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)); }
.toy-pot, .toy-bet { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 5px; border: 1px solid #2c2c2c; border-radius: 999px; background: rgba(0, 0, 0, 0.82); color: #f1f1f1; font-size: 14px; line-height: 1.3; }
.toy-pot > span:not(.toy-stack) { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #9b9b9b; }
.toy-pot b, .toy-bet b { font-weight: 700; }
.toy-stack { display: inline-flex; }
.toy-chip { width: 16px; height: 16px; color: #d6a548; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6)); }
.toy-stack .toy-chip + .toy-chip { margin-left: -8px; }
.toy-pot .toy-chip:nth-child(2) { color: #f26b1d; }
.toy-pot .toy-chip:nth-child(3) { color: #e9e2d4; }
/* a bet: chips in the app's red for a bet, slid in from the seat that made it */
.toy-bet { visibility: hidden; opacity: 0; transform: translateY(var(--from, 0)); transition: opacity 0.3s ease, transform 0.4s var(--ease), visibility 0s 0.4s; }
.toy-bet[data-seat='them'] { --from: -12px; }
.toy-bet[data-seat='you'] { --from: 12px; }
.toy-bet .toy-chip { color: #c92a2a; }
.toy-bet.on { visibility: visible; opacity: 1; transform: none; transition: opacity 0.3s ease, transform 0.4s var(--ease); }

/* the words beside the felt, and the buttons */
.toy-talk { display: flex; flex-direction: column; gap: 0.8em; min-width: 0; }
.toy-say { min-height: 7.5em; font-size: 15.5px; line-height: 1.5; }
.essay .toy-say p { margin: 0 0 0.55em; }
.toy-say b { font-weight: 700; color: var(--text); }
.toy-wait { color: var(--faint); }
.toy-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.toy-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; min-height: 44px; }
.toy-acts:focus { outline: none; }
.essay .toy-q { flex-basis: 100%; margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.4; color: var(--text); }
.toy-acts button { min-height: 44px; padding: 0.5em 1.15em; border: 1px solid transparent; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; color: #fff; cursor: pointer; transition: filter 0.15s; }
.toy-acts button:hover { filter: brightness(1.12); }
.toy-acts .passive { background: var(--act-passive); }
.toy-acts .bet { background: var(--act-bet-5); }
.toy-acts .fold { background: var(--act-fold); }
.toy-acts .go { border-color: var(--bronze); background: transparent; color: var(--text); }
.toy-acts .go:hover { border-color: var(--orange); filter: none; }
.toy-vals { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35em 0.45em; margin: 0.15em 0 0.35em; }
.toy-spot { flex-basis: 100%; font-size: 12px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.toy-opt { padding: 0.12em 0.55em; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.toy-opt b { font-family: Cinzel, Georgia, serif; font-weight: 700; color: var(--text); }
.toy-opt.best { border-color: var(--bronze); color: var(--text); }
.toy-opt.picked { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 15%, transparent); }
.toy-opt.picked::after { content: ' · yours'; font-size: 12px; font-weight: 650; color: var(--orange-hi); }
.toy-verdict { font-size: 14.5px; font-weight: 700; }
.toy-verdict.yes { color: var(--good); }
.toy-verdict.no { color: var(--orange-hi); }
.toy-verdict.same { color: var(--bronze-hi); }
.toy-why { font-size: 14.5px; color: var(--muted); }
.toy-sum { display: block; margin-top: 0.4em; padding-top: 0.6em; border-top: 1px solid var(--line); font-weight: 600; }

/* the score: the decisions' exact worth in orange, the best play, the chips with their luck */
.toy-score { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6em 1em; margin: 1.2em 0 0; }
.toy-score > div { min-width: 0; padding-top: 0.5em; border-top: 1px solid var(--line); }
.toy-score dt { font-size: 12.5px; font-weight: 650; line-height: 1.3; color: var(--muted); }
.toy-score dd { margin: 0.1em 0 0; }
.toy-score dd b { display: block; font-family: Cinzel, Georgia, serif; font-size: clamp(22px, 3.6vw, 28px); font-weight: 700; line-height: 1.15; color: var(--text); }
.toy-score dd small { display: block; font-size: 12px; line-height: 1.3; color: var(--faint); }
.toy-score .toy-yours { border-top-color: var(--orange); }
.toy-score .toy-yours b { color: var(--orange); }
.essay .toy-note { margin: 0.7em 0 0; font-size: 13px; line-height: 1.45; color: var(--faint); }

/* the plans to try for many hands: a chip each, the runs in a small table, the best lit, the newest run flashing */
.toy-runs { margin: 1.1em 0 0; padding-top: 0.9em; border-top: 1px solid var(--line); }
.essay .toy-runs-head { margin: 0 0 0.55em; font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.toy-plans { display: flex; flex-wrap: wrap; gap: 0.45em; }
.toy-results { margin-top: 0.8em; overflow-x: auto; }
.toy-results[hidden] { display: none; }
.essay .toy-results table { width: 100%; min-width: 0; font-size: 14px; }
.essay .toy-results th, .essay .toy-results td { padding: 0.45em 0.6em 0.45em 0; vertical-align: baseline; }
.essay .toy-results tbody th { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text); }
.essay .toy-results td { color: var(--text); white-space: nowrap; }
.essay .toy-results td:last-child { color: var(--text); }
.toy-results td small { color: var(--faint); }
.toy-results tr.best th, .essay .toy-results tr.best td:last-child b { color: var(--bronze-hi); }
.toy-results tr.fresh > * { animation: toy-fresh 0.9s ease; }
@keyframes toy-fresh { from { background: color-mix(in srgb, var(--orange) 22%, transparent); } }
@media (prefers-reduced-motion: reduce) {
  .toy-card > span, .toy-bet, .toy-bet.on, .toy-plate { transition: none; }
  .toy-card.dealt, .toy-results tr.fresh > * { animation: none; }
}
@media (max-width: 640px) {
  .toy-score { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toy-cloth { min-height: 16.5rem; padding: 14px 10px; }
  .toy-card { width: 2.25rem; }
  .toy-cards { min-height: 3.15rem; }
  .toy-board .card { width: 1.85rem; }
  .toy-say { min-height: 0; }
}

/* wide screens: Bluffus in the left margin, the notes in the right one, the end list gone */
@media (min-width: 75rem) {
  .bluffus { float: left; clear: left; flex-direction: column; gap: 0.4em; width: 12rem; margin: 0.35em 0 1em calc(-12rem - 2.5rem); padding: 0; border: 0; background: none; }
  .bluffus .bf { width: 3.6em; }
  .bluffus p { font-size: 14px; color: var(--muted); }
  .sidenote { display: block; float: right; clear: right; width: 12.5rem; margin: 0.3em calc(-12.5rem - 2.5rem) 0.9em 0; font-size: 13px; line-height: 1.45; color: var(--muted); font-weight: 400; font-style: normal; text-align: left; }
  .sidenote b { color: var(--bronze); margin-right: 0.35em; }
  .sidenote a { overflow-wrap: anywhere; }
  .notes { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cover.photo img, .seat-ring { animation: none; }
  .seat-ring { opacity: 0.85; }
  .play:hover { transform: none; }
}
@media (max-width: 640px) {
  .dots-row { grid-template-columns: 1fr; gap: 0.4em; }
  .play { flex-direction: row; align-items: flex-start; }
  .play .bf { width: 3.2em; }
  /* the figures on a phone: the drawing's lettering larger (it shrinks with the drawing), the note as text */
  .fig { padding: 1em 0.9em 0.9em; }
  .ladder ol { gap: 0.45em; }
  .ladder .stair { height: 8.4rem; }
  .ladder .ace { width: 1.9rem; margin-left: -0.95rem; }
  .ladder li > b { font-size: 13px; }
  .ladder li > span:last-child { font-size: 12px; }
  .curve .tick { font-size: 21px; }
  .curve .axis { font-size: 22px; }
  .curve .even-label { display: none; }
  .curve .mark text { font-size: 22px; }
  .curve .note { display: none; }
  .curve-notes { display: block; }
  .wk-grid { gap: 1px; }
  .sz-read { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gr-panels { gap: 1em 0.8em; }
  .gr-panel { flex: 0 1 calc(50% - 0.4em); max-width: none; }
  .fig.grid.full .gr-panel { flex-basis: 100%; }
  .fig.grid.full .gr-grid { gap: 1px; }
  .gr-grid { gap: 2px; }
  .decide table { font-size: 13px; }
  .decide th, .decide td { padding: 0.35em 0.3em; }
  .dc-act { display: block; font-size: 11.5px; }
  .decide tbody th { white-space: normal; }
  .dc-avg { min-width: 3.6em; }
  .sh-row { grid-template-columns: minmax(0, 1fr) 4.4em; gap: 0.3em 0.9em; padding: 0.55em 0 0.45em; }
  .sh-label { grid-column: 1 / -1; font-size: 13.5px; }
  .sh-track { margin: 0 10px; }
  .sh-ticks { margin: 0 10px; }
  .sh-axis .sh-label { display: none; }
  .sh-track s.zero { top: -0.35em; bottom: -0.45em; }
  .mix .tick { font-size: 21px; }
  .mix .tick.minor { display: none; }
  .mix .axis { font-size: 22px; }
  .mix .axis.y { display: none; }
  .mix .mx-lab { font-size: 25px; }
  .mix .mx-pt text { font-size: 21px; }
}

/* !heat: signed numbers, each cell tinted by its size - more in bronze, less in blue, zero bare - the numbers in the
   text's ink with their signs, so the colour is never the only cue (validated: bronze and blue apart under every CVD) */
/* the blue is also the line charts' second colour, after the orange */
.heat, .lines { --hm-down: #5b8def; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) :is(.heat, .lines) { --hm-down: #2f6fd6; } }
:root[data-theme="light"] :is(.heat, .lines) { --hm-down: #2f6fd6; }
.hm-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.heat .hm { width: 100%; min-width: 0; border-collapse: separate; border-spacing: 3px; margin: -3px; font-variant-numeric: tabular-nums; font-size: 15px; line-height: 1.25; }
.heat .hm th, .heat .hm td { padding: 0.6em 0.45em; border: 0; border-radius: 6px; vertical-align: middle; }
.heat .hm thead th { vertical-align: bottom; padding-bottom: 0.5em; font-size: 11.5px; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); text-align: center; }
.heat .hm thead .hm-corner { text-align: left; color: var(--faint); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; }
.heat .hm tbody th { text-align: left; font-weight: 650; color: var(--text); white-space: nowrap; text-transform: none; letter-spacing: 0; font-size: inherit; }
.heat .hm td { text-align: center; color: var(--text); font-weight: 600; background-color: color-mix(in srgb, var(--hm-c, transparent) calc(var(--a, 0) * 100%), transparent); transition: background-color 0.6s var(--ease) calc(var(--i, 0) * 90ms); }
.heat .hm td.up { --hm-c: var(--bronze); }
.heat .hm td.down { --hm-c: var(--hm-down); }
.heat .hm td.zero { color: var(--faint); font-weight: 500; }
.hm-key { display: flex; gap: 1.2em; margin: 0.8em 0 0; font-size: 13px; color: var(--muted); }
.hm-key span::before { content: ""; display: inline-block; width: 0.9em; height: 0.9em; margin-right: 0.4em; border-radius: 3px; vertical-align: -0.1em; }
.hm-key .up::before { background: var(--bronze); }
.hm-key .down::before { background: var(--hm-down); }
@media (prefers-reduced-motion: no-preference) { .js .fig:not(.in) .hm td { background-color: transparent; } }
.fig.veiled .hm td { background-color: transparent; color: transparent; }
@media (max-width: 640px) {
  .heat .hm { font-size: 12.5px; border-spacing: 2px; margin: -2px; }
  .heat .hm th, .heat .hm td { padding: 0.5em 0.12em; }
  .heat .hm thead th { font-size: 9.5px; letter-spacing: 0; overflow-wrap: anywhere; hyphens: auto; }
  .heat .hm thead .hm-corner { font-size: 11px; }
}

/* !planes: the types on two planes, before the flop and after it; on the second an arrow from where each stood on
   the first (Player types in 3D, TODO 334) */
.planes .pl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pl-title { margin: 0 0 0.35em; font-size: 12.5px; font-weight: 650; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.pl-plane svg { display: block; width: 100%; height: auto; overflow: visible; }
.pl-grid line { stroke: var(--line); stroke-width: 1; }
.pl-grid line.mid { stroke: var(--faint); stroke-dasharray: 4 4; opacity: 0.8; }
.pl-grid .frame { fill: none; stroke: var(--line); stroke-width: 1.2; }
.pl-lab { font-size: 11px; font-weight: 600; fill: var(--muted); paint-order: stroke; stroke: var(--ink-2); stroke-width: 3px; stroke-linejoin: round; }
.pl-corner text { font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; fill: var(--faint); }
.pl-axis { font-size: 12.5px; fill: var(--muted); }
.pl-pt { cursor: pointer; transition: opacity 0.3s var(--ease); }
.pl-ring { stroke: var(--ink-2); stroke-width: 2.5; }
.pl-hollow { fill: var(--ink-2); stroke: var(--text); stroke-width: 2; stroke-dasharray: 3 2.4; }
.pl-move { opacity: 0.6; transition: opacity 0.3s var(--ease); }
.pl-move line { stroke: var(--c); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s var(--ease) 0.35s; }
.pl-move path { fill: var(--c); }
.pl-was { fill: none; stroke: var(--c); stroke-width: 1.5; stroke-dasharray: 2 2; }
.planes.focus .pl-pt:not(.on), .planes.focus .pl-move:not(.on) { opacity: 0.12; }
.planes.focus .pl-move.on { opacity: 1; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 1em 0 0.5em; }
.pl-chips button { padding: 3px 10px 3px 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--ink-3); color: var(--text); font: inherit; font-size: 14px; line-height: 1.5; cursor: pointer; transition: border-color 0.2s var(--ease); }
.pl-chips button:hover { border-color: var(--bronze); }
.pl-chips button[aria-pressed="true"] { border-color: var(--orange); }
.pl-chips button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.pl-chips .pl-ex svg { background: transparent; color: var(--text); }
.pl-read { margin: 0.3em 0 0; min-height: 2.8em; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.pl-read b { color: var(--text); font-weight: 650; }
@media (prefers-reduced-motion: no-preference) {
  .js .fig:not(.in) .pl-pt { opacity: 0; }
  .js .fig:not(.in) .pl-move line { stroke-dashoffset: 1; }
  .js .fig:not(.in) .pl-move path, .js .fig:not(.in) .pl-was { opacity: 0; }
}
.fig.veiled .pl-pt, .fig.veiled .pl-move { opacity: 0; }
@media (max-width: 640px) {
  .planes .pl-row { grid-template-columns: 1fr; gap: 10px; }
  .pl-chips button { font-size: 13px; }
}
.bars .bar-scale { display: block; margin-top: 0.2em; font-size: 12.5px; color: var(--faint); }

/* !lines: a few series on one scale, a line each (a type's in its colour), zero marked; the pointer reads every
   series at one x (LINES_SCRIPT) */
.lines .ln-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 0.7em; font-size: 14px; }
.ln-key { display: inline-flex; align-items: center; gap: 0.4em; color: var(--text); }
.ln-key i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; background: var(--c); }
.ln-key.dashed i { background: repeating-linear-gradient(90deg, var(--c) 0 5px, transparent 5px 9px); }
.ln-key.dashed .type { opacity: 0.85; }
.ln-wrap { position: relative; }
.lines .ln-wrap svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.ln-grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ln-grid line.zero { stroke: var(--faint); stroke-width: 1.6; }
.ln-grid .tick { fill: var(--faint); font-size: 12px; }
.lines .axis { fill: var(--muted); font-size: 13px; }
.ln-s path { fill: none; stroke: var(--c); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) calc(var(--i) * 120ms); }
.ln-s.dashed path { stroke-dasharray: 0.014 0.012; stroke-width: 2; transition: opacity 0.6s var(--ease); }
.ln-s circle { fill: var(--c); stroke: var(--ink-2); stroke-width: 1.5; transition: opacity 0.5s var(--ease) 0.8s; }
.ln-tag { fill: var(--c); font-size: 12.5px; font-weight: 650; transition: opacity 0.5s var(--ease) 0.9s; }
.ln-hover { opacity: 0; transition: opacity 0.15s; }
.ln-hover line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.ln-tip { position: absolute; top: 6px; z-index: 2; padding: 0.45em 0.7em; border: 1px solid var(--line); border-radius: 8px; background: var(--ink-3); color: var(--text); font-size: 13px; line-height: 1.5; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.5); }
.ln-tip[hidden] { display: none; }
.ln-tip > b { display: block; color: var(--muted); font-weight: 600; }
.ln-tip span { display: block; }
.ln-tip i { display: inline-block; width: 9px; height: 9px; margin-right: 0.4em; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .js .fig:not(.in) .ln-s path { stroke-dashoffset: 1; }
  .js .fig:not(.in) .ln-s.dashed path, .js .fig:not(.in) .ln-s circle, .js .fig:not(.in) .ln-tag { opacity: 0; }
}
.fig.veiled .ln-s, .fig.veiled .ln-tag { opacity: 0; }
@media (max-width: 640px) {
  .ln-tag { display: none; }
  .lines .ln-wrap { overflow: hidden; }
  .lines .ln-wrap svg { width: 114%; }
  .ln-grid .tick { font-size: 21px; }
  .lines .axis { font-size: 21px; }
  .lines .axis.y { display: none; }
}

/* the launch post's colored blocks (!tiles, !deck, !cast, !rungs; site/md.mjs). The suit colors are the four-color deck's,
   lifted for a dark page; text stays in the page's own inks, the color only on marks, edges and washes */
.lx-s { --c: #f1b24a; } .lx-h { --c: #f0525a; } .lx-c { --c: #34c26f; } .lx-d { --c: #4d90f5; }
:root[data-theme="light"] .lx-s { --c: #a8741a; } :root[data-theme="light"] .lx-h { --c: #cf2c35; } :root[data-theme="light"] .lx-c { --c: #17803f; } :root[data-theme="light"] .lx-d { --c: #1e63d6; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .lx-s { --c: #a8741a; } :root:not([data-theme="dark"]) .lx-h { --c: #cf2c35; } :root:not([data-theme="dark"]) .lx-c { --c: #17803f; } :root:not([data-theme="dark"]) .lx-d { --c: #1e63d6; } }
.lx-tiles, .lx-deck, .lx-cast, .lx-rungs { margin: 1.9em 0; }
.lx-tiles figcaption, .lx-deck figcaption, .lx-cast figcaption, .lx-rungs figcaption { margin: 0 0 0.8em; font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lx-tiles ul, .lx-deck ul, .lx-cast ul, .lx-rungs ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.essay .lx-tiles li, .essay .lx-deck li, .essay .lx-cast li, .essay .lx-rungs li { margin: 0; }

/* big numbers */
.lx-tiles ul { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.lx-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 0.1em; padding: 0.95em 1em 0.9em; border: 1px solid color-mix(in srgb, var(--c) 42%, var(--line)); border-radius: 14px; background: linear-gradient(155deg, color-mix(in srgb, var(--c) 17%, var(--ink-2)), var(--ink-2) 68%); }
.lx-tile b { font-family: Cinzel, Georgia, serif; font-size: 34px; font-weight: 800; line-height: 1.1; color: var(--text); font-variant-numeric: lining-nums; }
.lx-tile strong { font-size: 15px; line-height: 1.25; }
.lx-tile > span:last-child { margin-top: 0.3em; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.lx-suit { position: absolute; top: -0.12em; right: 0.1em; font-size: 62px; line-height: 1; color: var(--c); opacity: 0.2; }

/* the modules, as the start page deals them */
.lx-deck ul { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.lx-mod a { display: flex; gap: 0.95em; align-items: center; height: 100%; padding: 0.8em 1em 0.8em 0.8em; border: 1px solid color-mix(in srgb, var(--c) 42%, var(--line)); border-radius: 14px; background: linear-gradient(120deg, color-mix(in srgb, var(--c) 20%, var(--ink-2)), var(--ink-2) 72%); color: var(--text); transition: transform 0.18s var(--ease), border-color 0.18s; }
.lx-mod a:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--c); }
.lx-mod a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.lx-mod .card { flex: none; width: 58px; height: auto; transform: rotate(-4deg); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35)); transition: transform 0.18s var(--ease); }
.lx-mod a:hover .card { transform: rotate(0deg) scale(1.05); }
.lx-mod a > span { display: flex; flex-direction: column; gap: 0.15em; min-width: 0; }
.lx-mod strong { font-family: Cinzel, Georgia, serif; font-size: 18px; }
.lx-mod a > span > span { color: var(--muted); font-size: 14.5px; line-height: 1.38; }

/* the player types */
.lx-cast ul { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.lx-who { display: flex; gap: 0.85em; align-items: flex-start; padding: 0.85em 1em; border: 1px solid color-mix(in srgb, var(--type) 50%, var(--line)); border-radius: 14px; background: linear-gradient(120deg, color-mix(in srgb, var(--type) 16%, var(--ink-2)), var(--ink-2) 70%); }
.lx-who svg { flex: none; width: 46px; height: 46px; padding: 6px; border-radius: 50%; background: var(--type); }
.lx-who > span { display: flex; flex-direction: column; min-width: 0; }
.lx-who strong { font-size: 16.5px; }
.lx-who small { margin-bottom: 0.3em; color: var(--muted); font-size: 12.5px; }
.lx-who > span > span { font-size: 14.5px; line-height: 1.38; }

/* the plans, rising */
.lx-rungs ol { grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; }
.lx-rung { display: flex; flex-direction: column; gap: 0.15em; min-height: calc(6.5em + var(--k) * 2.1em); padding: 0.8em 0.85em; border: 1px solid var(--line); border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, color-mix(in srgb, var(--bronze) calc(6% + var(--k) * 5%), var(--ink-2)), var(--ink-2)); }
.lx-rung em { color: var(--faint); font-style: normal; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.lx-rung strong { font-family: Cinzel, Georgia, serif; font-size: 19px; }
.lx-rung span { color: var(--muted); font-size: 13px; line-height: 1.3; }
.lx-rung.open { border-color: var(--orange); background: linear-gradient(180deg, color-mix(in srgb, var(--orange) 30%, var(--ink-2)), var(--ink-2)); box-shadow: 0 0 34px -10px var(--orange); }
.lx-rung.open em { color: var(--orange-hi); font-weight: 650; }
.lx-rung.open span { color: var(--text); }

/* the screenshots */
.lx-shot { margin: 1.5em 0 2em; }
.lx-shot img { display: block; width: 100%; height: auto; box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.65); }
.lx-shot figcaption { margin-top: 0.6em; color: var(--muted); font-size: 14px; line-height: 1.4; }
.lx-phone img { max-width: 330px; }
.lx-range img { max-width: 380px; }

@media (max-width: 640px) {
  .lx-tiles ul { grid-template-columns: 1fr 1fr; }
  .lx-tile b { font-size: 29px; }
  .lx-deck ul, .lx-cast ul { grid-template-columns: 1fr; }
  .lx-rungs ol { grid-auto-flow: row; }
  .lx-rung { min-height: 0; margin-left: calc(var(--k) * 12px); border-radius: 12px; }
}

/* bluffus.com/plans (site/plans-page.mjs): the frame's reading column widens for the table. Text keeps the page's own
   inks; color only on the section heads, the open plan's column and the Research & Development band */
main:has(.pl-page) > .wrap, body:has(.pl-page) .top .wrap, body:has(.pl-page) .foot .wrap { max-width: 76rem; }
.pl-hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; margin: 0.25em 0 0.4em; }
.pl-hero .sub { font-size: 19px; line-height: 1.5; max-width: 42em; margin: 0 0 0.8em; color: var(--muted); }
.pl-how { max-width: 42em; margin: 0 0 0.5em; font-size: 15px; }
.pl-jump { margin: 0 0 1.6em; font-size: 15px; }
.pl-pick { display: none; }
.pl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-2); }
.pl-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14.5px; }
.pl-table th, .pl-table td { padding: 0.62em 0.8em; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.pl-table tbody tr[class] th { text-align: left; }
.pl-table tbody th[scope="row"] { position: relative; width: 34%; text-align: left; font-weight: 500; }
.pl-table thead th { padding-block: 1em 0.8em; vertical-align: top; }
.pl-table thead strong { display: block; font-family: Cinzel, Georgia, serif; font-size: 20px; }
.pl-table thead small { display: block; min-height: 2.6em; margin-top: 0.2em; color: var(--muted); font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.pl-table thead em { display: block; margin-top: 0.3em; color: var(--faint); font-style: normal; font-size: 12px; font-weight: 600; }
.pl-table .pl-open { background: color-mix(in srgb, var(--orange) 9%, transparent); }
.pl-table thead .pl-open em { color: var(--orange-hi); }
.pl-y { color: var(--bronze-hi); font-weight: 800; font-size: 16px; }
.pl-n { color: var(--faint); }
.pl-name { padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: help; }
.pl-name:hover { color: var(--bronze-hi); }
.pl-name:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.pl-soon { margin-left: 0.3em; padding: 0.08em 0.5em; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-style: normal; font-size: 11px; font-weight: 600; white-space: nowrap; }
.pl-tip { display: block; margin-top: 0.3em; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.pl-js .pl-tip { display: none; }
.pl-js .pl-name[aria-expanded="true"] + .pl-tip { display: block; }
@media (hover: hover) {
  .pl-js tbody th[scope="row"]:hover .pl-tip { display: block; position: absolute; z-index: 3; left: 0.8em; top: 100%; width: 22rem; max-width: 80vw; margin: 0; padding: 0.7em 0.85em; border: 1px solid var(--bronze); border-radius: 10px; background: var(--ink-2); color: var(--text); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.7); }
  .pl-js tbody th[scope="row"] .pl-name[aria-expanded="true"] + .pl-tip { position: static; width: auto; border: 0; padding: 0; background: none; box-shadow: none; margin-top: 0.3em; color: var(--muted); }
  .pl-wrap { overflow: visible; }
}
.pl-sec th { padding-block: 0.8em 0.7em; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 24%, var(--ink-2)), var(--ink-2) 62%); text-align: left; }
.pl-sec .card { width: 26px; height: auto; margin-right: 0.65em; vertical-align: middle; }
.pl-sec strong { font-family: Cinzel, Georgia, serif; font-size: 20px; vertical-align: middle; }
.pl-rd-head th { padding: 1.5em 1.1em 1.35em; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--orange) 26%, var(--ink-2)) 0 16px, color-mix(in srgb, var(--orange) 15%, var(--ink-2)) 16px 32px); border-top: 3px solid var(--orange); text-align: left; }
.pl-rd-head strong { display: block; font-family: Cinzel, Georgia, serif; font-size: clamp(24px, 3.6vw, 34px); line-height: 1.15; }
.pl-rd-head span { display: block; max-width: 44em; margin-top: 0.45em; font-size: 15px; font-weight: 500; line-height: 1.45; }
.pl-rd tr:not(.pl-rd-head) th, .pl-rd td { background: color-mix(in srgb, var(--orange) 5%, transparent); }
.pl-rd tr:last-child th, .pl-rd tr:last-child td { border-bottom: 0; }
.pl-page .bluffus { float: none; position: static; width: auto; margin: 1.6em 0 0; }
.pl-page .play { margin-top: 1.6em; }
@media (max-width: 720px) {
  .pl-pick { display: flex; flex-wrap: wrap; gap: 6px; position: sticky; top: 0; z-index: 4; margin: 0 0 10px; padding: 8px 0; background: var(--ink); }
  .pl-pick button { padding: 0.45em 0.8em; border: 1px solid var(--line); border-radius: 999px; background: var(--ink-2); color: var(--muted); font: inherit; font-size: 14px; font-weight: 650; }
  .pl-pick button[aria-pressed="true"] { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 20%, var(--ink-2)); color: var(--text); }
  .pl-wrap:has(.pl-js) { overflow: visible; }
  .pl-table.pl-js { min-width: 0; font-size: 14px; }
  .pl-table.pl-js .pl-off { display: none; }
  .pl-table tbody th[scope="row"] { width: 50%; padding-inline: 0.7em; }
  .pl-table.pl-js [data-col] { width: 25%; }
  .pl-table th, .pl-table td { padding-inline: 0.45em; }
  .pl-table thead small { min-height: 0; }
  .pl-rd-head th { padding-inline: 0.8em; }
}

/* the glossary (site/glossary.mjs; TODO 573): the list at /glossary/, and the related words, posts and app under a term */
.glossary-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 2px; }
.glossary-list a { display: grid; grid-template-columns: minmax(9em, 12em) 1fr; gap: 4px 20px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.glossary-list a:hover b { color: var(--orange); }
.glossary-list span { color: var(--muted); font-size: 15px; }
.glossary-head { display: flex; justify-content: flex-end; margin: 0 0 12px; }
[data-order][hidden] { display: none; }
.glossary-topic { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin: 28px 0 4px; }
[data-order="topic"] > .glossary-topic:first-child { margin-top: 0; }
[data-order="topic"] .glossary-list { margin-bottom: 8px; }
.term .eyebrow a { color: inherit; text-decoration: none; }
/* the searcher's question above the app's sentence (site/glossary.mjs `ask:`, TODO 710) */
.essay.term .hero .ask { font-size: 19px; margin: 0 0 0.35em; }
.term-more { margin: 36px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.term-more b { color: var(--text); margin-right: 6px; }
@media (max-width: 560px) {
  .glossary-list a { grid-template-columns: 1fr; }
}

/* a hand's combos (site/md.mjs !combos, site/render.mjs COMBOS_SCRIPT): suited in orange, offsuit in bronze, clear of
   the four-colour deck's red, blue and green; the suits on a white chip, as on a card, so the black spade reads */
.combos { margin: 28px 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px 28px; }
.combos figcaption { flex-basis: 100%; color: var(--muted); font-size: 14px; }
.essay .cb-grid { border-collapse: separate; border-spacing: 5px; margin: -5px; width: auto; min-width: 0; }
.essay .cb-grid th, .essay .cb-grid td { padding: 0; vertical-align: middle; }
.essay .cb-grid th { border: 0; width: 36px; }
.cb-grid th .card { display: block; width: 30px; height: auto; margin: auto; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4)); }
.essay .cb-grid td { width: 54px; height: 46px; text-align: center; border-radius: 8px; border: 1px solid var(--line); background: var(--ink-3); transition: opacity 0.2s var(--ease); }
.cb-grid td span { display: inline-block; padding: 1px 5px; border-radius: 5px; background: #fff; font-size: 15px; line-height: 1.3; }
.cb-grid i { font-style: normal; }
.cb-grid .su-s { color: #151515; }
.cb-grid .su-h { color: #d6262b; }
.cb-grid .su-d { color: #1e63d6; }
.cb-grid .su-c { color: #18893a; }
.cb-grid td.cb-s, .cb-grid td.cb-pair, .cb-key.cb-s::before, .cb-key.cb-pair::before { background-color: color-mix(in srgb, var(--orange) 34%, var(--ink-2)); border-color: var(--orange); }
.cb-grid td.cb-o, .cb-key.cb-o::before { background-color: color-mix(in srgb, var(--bronze) 26%, var(--ink-2)); border-color: var(--bronze); }
.cb-grid td.cb-twice, .cb-key.cb-twice::before { border-style: dashed; }
.cb-grid td.cb-twice { opacity: 0.55; }
.cb-grid td.cb-same, .cb-grid td.cb-x, .cb-key.cb-same::before { background-image: linear-gradient(to top right, transparent calc(50% - 1px), var(--muted) 50%, transparent calc(50% + 1px)); }
.cb-grid td.cb-same span { opacity: 0.35; }
.cb-grid td.cb-x { opacity: 0.22; }
.cb-grid td.cb-dim { opacity: 0.18; }
.cb-grid td.cb-pulse { animation: cb-pulse 0.45s var(--ease) 2; }
@keyframes cb-pulse { 50% { transform: scale(1.12); box-shadow: 0 0 0 3px var(--orange-hi); } }
@media (prefers-reduced-motion: reduce) { .cb-grid td.cb-pulse { animation: none; } }
.cb-side { flex: 1 1 220px; display: grid; gap: 12px; align-content: start; }
.cb-count { margin: 0; font-size: 22px; font-weight: 650; color: var(--text); }
.cb-legend { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); }
.cb-key::before { content: ''; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border-radius: 3px; border: 1px solid var(--line); background: var(--ink-3); }
.cb-buttons { display: grid; gap: 10px; justify-items: start; }
.cb-buttons[hidden] { display: none; }
.cb-buttons .view button { white-space: nowrap; }
.cb-blocks { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-blocks button { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.cb-blocks button[aria-pressed="true"] { border-color: var(--orange); color: var(--text); }
.cb-blocks button:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.cb-blocks .cards .card { width: 1.15em; }

/* the equity calculator (site/tools/equity-calculator.md, site/calc-ui.mjs; TODO 654): the examples, a row per player - its
   label and size, the field, its Pick and remove buttons, its share, bar, wins and ties - then the board and its deal
   button, the panel under the field that opened it (the 52 cards, or a range's 13x13 grid and its "Top X %" slider), the
   line on how it was worked out, "Copy the link" and the line into the app; phone first, nothing wider than 360 px needs,
   every button a thumb's 44 px but the grid's cells, which a drag paints. The cards' suits in the four-color deck's colors
   (as .lx-s etc.) */
.calc { margin: 28px 0 8px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--felt); font-size: 16px; line-height: 1.45; }
.calc-off { margin: 0; color: var(--muted); }
.calc button { font: inherit; color: var(--text); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.calc button:focus-visible, .calc a:focus-visible, .calc-slider:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.calc-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.calc-examples-title { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--muted); }
.calc-example { font-size: 14px; font-weight: 600; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; min-height: 44px; }
.calc-example[aria-pressed="true"] { border-color: var(--orange); background: rgba(242, 107, 29, 0.1); }
.calc-rows { display: grid; gap: 14px; }
.calc-row, .calc-board { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 8px; align-items: center; }
.calc-board { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.calc-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.calc-label { grid-column: 1 / -1; font-size: 13px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.calc-size { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.calc-input { min-width: 0; font: inherit; font-size: 17px; color: var(--text); background: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-height: 46px; }
.calc-input:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.calc-input[aria-invalid="true"] { border-color: var(--orange); }
.calc-pick { font-size: 14px; font-weight: 600; height: 46px; padding: 0 12px; background: transparent; border: 1px solid var(--line); border-radius: 8px; }
.calc-pick[aria-expanded="true"] { border-color: var(--orange); }
.calc-remove { font-size: 22px; line-height: 1; width: 46px; height: 46px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 8px; }
.calc-remove[hidden] { display: none; }
.calc-row:has(.calc-remove[hidden]) .calc-pick { grid-column: 2 / -1; }
.calc-board .calc-pick { grid-column: 2 / -1; }
.calc-result { grid-column: 1 / -1; display: grid; grid-template-columns: 4.2em minmax(0, 1fr); gap: 2px 10px; align-items: center; min-height: 22px; }
.calc-share { font-size: 18px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.calc-bar { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
/* no number yet (a mistake, a field still empty): no bar either, the row keeps its height */
.calc-share:empty + .calc-bar { visibility: hidden; }
.calc-fill { display: block; height: 100%; width: 0; background: var(--orange); transition: width 0.3s var(--ease); }
.calc-split { grid-column: 2 / -1; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.calc-split:empty { display: none; }
.calc-error { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--orange-hi); }
.calc-error:empty { display: none; }
/* a mistake right under its field, in place of the result line (a row with a mistake has no number) */
.calc-row .calc-error { order: 1; }
.calc-row .calc-result { order: 2; }
.calc-row:has(.calc-error:not(:empty)) .calc-result { display: none; }
.calc-add { margin-top: 14px; font-size: 15px; font-weight: 600; background: transparent; border: 1px dashed var(--line); border-radius: 8px; padding: 10px 14px; min-height: 46px; }
.calc-add[hidden] { display: none; }
.calc-deal { grid-column: 1 / -1; justify-self: start; font-size: 14px; font-weight: 600; min-height: 44px; padding: 0 14px; background: transparent; border: 1px dashed var(--line); border-radius: 8px; }
.calc-panel { margin-top: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--ink-2); }
.calc-board + .calc-panel { margin-top: 10px; }
.calc-tabs { display: inline-flex; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.calc-tab { font-size: 14px; font-weight: 600; min-height: 40px; padding: 0 16px; background: transparent; border: 0; color: var(--muted) !important; }
.calc-tab[aria-pressed="true"] { background: rgba(242, 107, 29, 0.14); color: var(--text) !important; }
.calc-panel-title { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.calc-suits { display: grid; gap: 6px; }
.calc-suit { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 4px; }
.calc-s { --c: #f1b24a; } .calc-h { --c: #f0525a; } .calc-c { --c: #34c26f; } .calc-d { --c: #4d90f5; }
:root[data-theme="light"] .calc-s { --c: #a8741a; } :root[data-theme="light"] .calc-h { --c: #cf2c35; } :root[data-theme="light"] .calc-c { --c: #17803f; } :root[data-theme="light"] .calc-d { --c: #1e63d6; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .calc-s { --c: #a8741a; } :root:not([data-theme="dark"]) .calc-h { --c: #cf2c35; } :root:not([data-theme="dark"]) .calc-c { --c: #17803f; } :root:not([data-theme="dark"]) .calc-d { --c: #1e63d6; } }
.calc-card { min-width: 0; height: 44px; padding: 0; font-size: 15px; font-weight: 700; color: var(--c) !important; background: var(--ink); border: 1px solid var(--line); border-radius: 6px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.calc-card[aria-pressed="true"] { color: var(--ink) !important; background: var(--c); border-color: var(--c); }
.calc-card:disabled { opacity: 0.28; cursor: default; text-decoration: line-through; }
.calc-top { display: grid; gap: 2px; margin-bottom: 10px; }
.calc-top-words { margin: 0; font-size: 14px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
/* the slider and its second handle: a thumb's 44 px tall to grab, a drag moves it and never scrolls; dimmed while the range
   is a typed or painted one (the handles then don't describe it) */
.calc-dual { position: relative; height: 44px; touch-action: none; user-select: none; -webkit-user-select: none; cursor: pointer; }
.calc-dual-track, .calc-dual-seg { position: absolute; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; }
.calc-dual-track { left: 14px; right: 14px; background: var(--line); }
.calc-dual-seg { background: var(--orange); }
.calc-thumb { position: absolute; top: 50%; width: 28px; height: 28px; margin-top: -14px; box-sizing: border-box; border-radius: 50%; background: var(--orange); border: 3px solid var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.calc-thumb + .calc-thumb { z-index: 1; }
.calc-thumb[hidden] { display: none; }
.calc-thumb:not(:last-child) { background: var(--ink); border-color: var(--orange); }
.calc-thumb:focus-visible { outline: 2px solid var(--orange-hi); outline-offset: 2px; }
.calc-top.off .calc-top-words { color: var(--faint); }
.calc-top.off .calc-thumb, .calc-top.off .calc-dual-seg { opacity: 0.5; }
/* the 13x13 grid: a cell fills from the bottom with its share of the range (--f, 0..1); a drag paints, never scrolls */
.calc-grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 2px; touch-action: none; user-select: none; -webkit-user-select: none; }
.calc-cell { --f: 0; min-width: 0; aspect-ratio: 1; padding: 0; font-size: clamp(8px, 2.3vw, 12px) !important; font-weight: 600; line-height: 1; letter-spacing: -0.03em; border: 1px solid var(--line); border-radius: 3px; background: linear-gradient(to top, var(--orange) calc(var(--f) * 100%), var(--ink) calc(var(--f) * 100%)); color: var(--muted) !important; cursor: pointer; }
.calc-cell.pair { border-color: var(--faint); }
.calc-cell[aria-pressed="true"] { color: #1a0d05 !important; }
.calc-cell[aria-pressed="mixed"] { color: var(--text) !important; }
.calc-panel-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.calc-panel-actions button { font-size: 15px; font-weight: 600; min-height: 44px; padding: 0 16px; background: transparent; border: 1px solid var(--line); border-radius: 8px; }
.calc-panel-done { border-color: var(--orange) !important; }
.calc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-top: 14px; }
.calc-status { flex: 1 1 14em; margin: 0; font-size: 14px; color: var(--muted); min-height: 1.45em; }
.calc-copy { font-size: 14px; font-weight: 600; min-height: 44px; padding: 0 14px; background: transparent; border: 1px solid var(--line); border-radius: 8px; }
.calc-app { flex-basis: 100%; font-size: 15px; font-weight: 600; color: var(--orange-hi); text-decoration: underline; text-underline-offset: 3px; }
.calc-app::after { content: " →"; }
.calc[aria-busy="true"] .calc-share { opacity: 0.45; }
/* a phone: a suit on two lines of seven and six cards, so each is a thumb wide; the grid's cells as wide as they can get */
@media (max-width: 560px) { .calc { padding: 14px 12px; } .calc-suit { grid-template-columns: repeat(7, minmax(0, 1fr)); } .calc-panel { padding: 10px 8px; } }
@media (prefers-reduced-motion: reduce) { .calc-fill { transition: none; } }
/* the page's range table has two short columns: it fits a phone, no sideways scroll (tables of sentences keep 34rem) */
.essay.tool table { min-width: 0; }
