@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/manrope-500.woff2) format('woff2')}
@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/manrope-600.woff2) format('woff2')}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/manrope-700.woff2) format('woff2')}
@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/manrope-800.woff2) format('woff2')}
@font-face{font-family:"Manrope Fallback";font-style:normal;font-weight:500;src:local("Arial"),local("ArialMT"),local("Liberation Sans");size-adjust:103.70%;ascent-override:102.80%;descent-override:28.93%;line-gap-override:0%}
@font-face{font-family:"Manrope Fallback";font-style:normal;font-weight:600;src:local("Arial"),local("ArialMT"),local("Liberation Sans");size-adjust:105.08%;ascent-override:101.45%;descent-override:28.55%;line-gap-override:0%}
@font-face{font-family:"Manrope Fallback";font-style:normal;font-weight:700;src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold");size-adjust:100.30%;ascent-override:106.28%;descent-override:29.91%;line-gap-override:0%}
@font-face{font-family:"Manrope Fallback";font-style:normal;font-weight:800;src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold");size-adjust:102.00%;ascent-override:104.51%;descent-override:29.41%;line-gap-override:0%}
@font-face{font-family:"Manrope Fallback Caps";font-style:normal;font-weight:700;src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold");size-adjust:92.02%;ascent-override:115.84%;descent-override:32.60%;line-gap-override:0%}
/* design/site-v2's stylesheet (D80 to D89), extracted by the build's maintainer: the mock's container queries are
   media queries at the same widths (1199, 899, 599). Change the look here. */
/* ===== the site: tokens (the app's, token for token) plus the site's additions ===== */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
.site {
  --font: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* app tokens, apps/mobile/src/theme/tokens.ts BAIZE */
  --ground: #28685a; --ground-2: #1f5446; --ground-light: #3a8470;   /* option C (D58 amended) */
  --ink: #f4efe2; --ink2: #dae5dd; --ink3: #aabcb0;
  --plate: #4a3322; --plate-line: rgba(255,255,255,.14); --plate-ink: #f4efe2; --plate-ink2: #d9cdb9;
  --chip: rgba(255,255,255,.09); --chip-line: rgba(255,255,255,.18);
  --me: #3b8bea; --me-text: #9fd0ff; --me-soft: rgba(59,139,234,.18);
  --op: #e5383b; --op-text: #ffa3a4; --op-soft: rgba(229,56,59,.16);
  --accent: #f3ecd9; --accent-ink: #1c2331; --accent-edge: rgba(0,0,0,.35);
  --brass: #c9a24b;
  --board: #efe4c8; --board-rim: #5a3b22; --lane-me: #8fb9ee; --lane-op: #f0a19e; --hole: rgba(40,26,12,.38); --board-ink: #1c2331; --board-ink2: #5d6675;
  --paper: #f3ecd9; --paper-ink: #1c2331; --paper-ink2: #5b6473; --paper-line: rgba(28,35,49,.14);
  --card: #ffffff; --card-line: rgba(28,35,49,.18); --card-red: #d62839; --card-black: #1c2331;
  --back: #9e2a2b; --back-rim: rgba(244,241,234,.85);
  --sel: #3b8bea; --ok: #2f9e6a; --skunk-ink: #9e1f26; --link: #1f5fb8; --dimmer: rgba(10,16,30,.55);
  /* site additions */
  --page: #faf7f0;          /* the reading surface: a lighter cream than paper, so paper cards still read as cards */
  --page-line: rgba(28,35,49,.10);
  --page-ink3: #667080;     /* small print on the page, 14 px and up: 4.9:1 on --page */
  --ok-ink: #1f7a4e;        /* the verified line and success text: 4.8:1 on --page; the app's ok green is for icons and fills */
  --bad: #b3261e;           /* error text on cream and white: 5.9:1 */
  --bad-soft: rgba(179,38,30,.10);
  --ok-soft: rgba(47,158,106,.14);
  --focus: #3b8bea;
  --measure: 68ch;
  --r-card: 6px; --r-button: 14px; --r-sheet: 16px; --r-row: 14px; --r-chip: 4px;
  --sh-sheet: 0 10px 28px rgba(0,0,0,.18);
  --sh-card: 0 2px 5px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.08);
  --sh-lift: 0 8px 16px rgba(0,0,0,.25);
  --sh-button: 0 3px 0 var(--accent-edge), 0 4px 10px rgba(0,0,0,.25);
  --sh-board: 0 10px 24px rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.25);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  font-family: var(--font); color: var(--paper-ink); background: var(--page);
  font-size: 18px; line-height: 1.6; font-weight: 500;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
  position: relative; min-height: 100%; margin: 0;
}
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.site .on-baize :focus-visible, .site .baize :focus-visible { outline-color: var(--ink); }
.site a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.site a:hover { color: var(--paper-ink); }
.site h1, .site h2, .site h3, .site h4 { font-weight: 800; line-height: 1.15; letter-spacing: -.012em; margin: 0; color: inherit; text-wrap: balance; }
.site h1 { font-size: 44px; }
.site h2 { font-size: 30px; }
.site h3 { font-size: 22px; letter-spacing: -.006em; }
.site h4 { font-size: 18px; letter-spacing: 0; }
.site p { margin: 0; }
.site .wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.site .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site .small { font-size: 15px; }
.site .muted { color: var(--paper-ink2); }
.site .kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-ink2); }
.site .baize .kicker { color: var(--ink2); }
.site .num { font-variant-numeric: tabular-nums; }

/* ----- buttons (D14 on cream: ink; on baize: bone) ----- */
.site .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--r-button); font: inherit; font-size: 16px; font-weight: 800; line-height: 1; text-decoration: none; cursor: pointer; border: 0; white-space: nowrap; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.site .btn.primary { background: var(--paper-ink); color: var(--paper); box-shadow: var(--sh-button); }
.site .btn.primary:hover { background: #2a3447; color: var(--paper); }
.site .btn.primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--accent-edge), 0 2px 6px rgba(0,0,0,.25); }
.site .btn.outline { background: transparent; color: var(--paper-ink); box-shadow: inset 0 0 0 2px var(--paper-ink); }
.site .btn.outline:hover { background: rgba(28,35,49,.06); color: var(--paper-ink); }
.site .btn.quiet { background: rgba(28,35,49,.07); color: var(--paper-ink); }
.site .btn.quiet:hover { background: rgba(28,35,49,.12); color: var(--paper-ink); }
.site .btn.link { background: none; color: var(--link); padding: 0 4px; height: auto; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.site .baize .btn.primary, .site .btn.bone { background: var(--accent); color: var(--accent-ink); box-shadow: var(--sh-button); }
.site .baize .btn.primary:hover, .site .btn.bone:hover { background: #fff; color: var(--accent-ink); }
.site .baize .btn.outline { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.site .baize .btn.outline:hover { background: var(--chip); color: var(--ink); }
.site .baize .btn.quiet { background: var(--chip); color: var(--ink); box-shadow: inset 0 0 0 1px var(--chip-line); }
.site .baize .btn.quiet:hover { background: rgba(255,255,255,.16); color: var(--ink); }
.site .btn[disabled], .site .btn.off { opacity: .45; cursor: default; box-shadow: none; transform: none; }
.site .btn.sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.site .btn.lg { height: 56px; padding: 0 28px; font-size: 17px; }
.site .btn .sub { font-weight: 600; font-size: 13.5px; opacity: .85; }

/* ----- header ----- */
.site .hdr { background: var(--ground); color: var(--ink); position: relative; z-index: 5; }
.site .hdr .bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.site .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.01em; flex: none; }
.site .brand .mark { width: 34px; height: 24px; flex: none; }
.site .brand small { font-weight: 700; color: var(--ink2); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; display: block; line-height: 1; margin-bottom: 2px; }
.site .brand .wm { line-height: 1; display: flex; flex-direction: column; }
.site .nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.site .nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; padding: 10px 12px; border-radius: 10px; }
.site .nav a:hover { background: var(--chip); color: var(--ink); }
.site .nav a.here { background: var(--chip); box-shadow: inset 0 0 0 1px var(--chip-line); }
.site .hdr .cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.site .hdr .cta .btn { height: 42px; padding: 0 18px; font-size: 15px; }
.site .menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--chip); border: 1px solid var(--chip-line); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; flex: none; }
.site .menu-btn svg { width: 22px; height: 22px; }
.site .rail-top { height: 6px; background: linear-gradient(180deg, var(--board-rim) 0 3px, var(--brass) 3px 4px, var(--board-rim) 4px 6px); }
/* phone menu: a baize panel under the bar */
.site .menu { display: none; background: var(--ground-2); color: var(--ink); border-top: 1px solid var(--chip-line); }
.site .menu.open { display: block; }
.site .menu .grp { padding: 14px 0 6px; border-bottom: 1px solid var(--chip-line); }
.site .menu .grp:last-child { border-bottom: 0; }
.site .menu .lbl { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); padding: 0 4px 6px; }
.site .menu a { display: flex; align-items: center; justify-content: space-between; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; padding: 12px 4px; min-height: 48px; }
.site .menu a span { font-weight: 600; font-size: 14px; color: var(--ink2); }
.site .menu .foot { padding: 16px 4px 20px; font-size: 14px; color: var(--ink2); }
.site .menu .btn { width: 100%; margin: 8px 0 12px; }
/* desktop: the menu is a wide panel */
.site .menu .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }

/* ----- footer ----- */
.site .ftr { background: var(--ground-2); color: var(--ink2); margin-top: 96px; }
.site .closing + .ftr { margin-top: 0; }
.site .ftr .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 32px; }
.site .ftr h4 { color: var(--ink); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.site .ftr a { color: var(--ink2); text-decoration: none; display: block; padding: 5px 0; font-size: 15.5px; font-weight: 600; }
.site .ftr a:hover { color: var(--ink); text-decoration: underline; }
.site .ftr .about { max-width: 36ch; font-size: 15.5px; }
.site .ftr .about .brand { margin-bottom: 12px; }
.site .ftr .legal { border-top: 1px solid var(--chip-line); padding: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: 14px; }
.site .ftr .legal a { display: inline; padding: 0; font-size: 14px; }
.site .ftr .legal .sib { margin-left: auto; color: var(--ink3); }
.site .ftr .legal .sib a { color: var(--ink2); }
/* "More games from us": a row between the columns and the legal line (the same block on all four sites, see crosslinks/) */
.site .ftr .more-games { border-top: 1px solid var(--chip-line); padding: 18px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.site .ftr .more-games .mg-label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin-right: 4px; }
.site .ftr .more-games a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15.5px; font-weight: 700; padding: 0; }
.site .ftr .more-games img { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 0 0 1px var(--chip-line); display: block; flex: none; }

/* ----- page shells ----- */
.site main { display: block; }
.site .hero { background: radial-gradient(130% 70% at 50% -6%, var(--ground-light) 0%, var(--ground) 42%, var(--ground-2) 100%); color: var(--ink); position: relative; overflow: hidden; }
.site .hero::after { content: ""; position: absolute; inset: 0; opacity: .032; pointer-events: none; background: repeating-linear-gradient(45deg, #fff 0 .5px, transparent .5px 2.5px), repeating-linear-gradient(-45deg, #fff 0 .5px, transparent .5px 2.5px); }
.site .hero > * { position: relative; z-index: 1; }
.site .band { background: var(--ground); color: var(--ink); }
.site .band.deep { background: var(--ground-2); }
.site .pagehead { padding: 40px 0 28px; }
.site .pagehead .lede { font-size: 20px; line-height: 1.5; color: var(--paper-ink2); max-width: 60ch; margin-top: 12px; }
.site .baize .pagehead .lede { color: var(--ink2); }
.site .crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 14.5px; font-weight: 700; color: var(--paper-ink2); margin-bottom: 14px; }
.site .crumbs a { color: var(--paper-ink2); text-decoration: none; }
.site .crumbs a:hover { color: var(--paper-ink); text-decoration: underline; }
.site .crumbs svg { width: 14px; height: 14px; opacity: .6; }
.site .baize .crumbs, .site .baize .crumbs a { color: var(--ink2); }
.site .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; font-weight: 600; color: var(--paper-ink2); margin-top: 16px; align-items: center; }
.site .meta .verified { display: inline-flex; align-items: center; gap: 6px; color: var(--ok-ink); font-weight: 800; }
.site .meta .verified svg { width: 16px; height: 16px; }

/* ----- prose (long content) ----- */
.site .prose { max-width: var(--measure); }
.site .prose > * + * { margin-top: 18px; }
.site .prose h2 { font-size: 28px; margin-top: 48px; scroll-margin-top: 24px; }
.site .prose h3 { font-size: 21px; margin-top: 32px; }
.site .prose h2 + *, .site .prose h3 + * { margin-top: 12px; }
.site .prose ul, .site .prose ol { padding-left: 24px; }
.site .prose li + li { margin-top: 8px; }
.site .prose li::marker { color: var(--paper-ink2); font-weight: 800; }
.site .prose strong { font-weight: 800; }
.site .prose .lede { font-size: 20px; color: var(--paper-ink2); }
.site .prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
.site .prose th, .site .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--page-line); vertical-align: top; }
.site .prose th { font-size: 13.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--paper-ink2); }
.site .prose td.n { text-align: right; font-weight: 800; }
.site .prose code, .site code.k { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: rgba(28,35,49,.06); padding: 1px 6px; border-radius: 4px; }
.site figure { margin: 0; }
.site .fig { background: var(--paper); border-radius: var(--r-sheet); padding: 20px; }
.site .fig .fig-body { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; justify-content: center; }
.site .fig figcaption { font-size: 15px; line-height: 1.5; color: var(--paper-ink2); margin-top: 14px; text-align: center; }
.site .fig figcaption b { color: var(--paper-ink); font-weight: 800; }
.site .fig.board { background: var(--ground); }
.site .fig.board figcaption { color: var(--ink2); } .site .fig.board figcaption b { color: var(--ink); }
.site .callout { border-radius: 12px; padding: 16px 20px 16px 18px; background: var(--paper); border-left: 5px solid var(--paper-ink); font-size: 17px; }
.site .callout .ck { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.site .callout.tip { border-left-color: var(--me); } .site .callout.tip .ck { color: var(--link); }
.site .callout.mistake { border-left-color: var(--op); background: #fbeeee; } .site .callout.mistake .ck { color: var(--skunk-ink); }
.site .callout.rule .ck { color: var(--paper-ink2); }
.site .callout p + p { margin-top: 8px; }
.site .toc { background: var(--paper); border-radius: 12px; padding: 16px 20px; font-size: 16px; }
.site .toc .lbl { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-ink2); margin-bottom: 8px; }
.site .toc ol { margin: 0; padding-left: 22px; } .site .toc li { padding: 3px 0; } .site .toc a { font-weight: 700; }
.site details.toc summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.site details.toc summary::-webkit-details-marker { display: none; }
.site details.toc summary .n { font-weight: 700; color: var(--paper-ink2); font-size: 14px; }
.site details.toc[open] summary { margin-bottom: 10px; }
.site .guide { display: grid; grid-template-columns: minmax(0, 760px) 300px; justify-content: space-between; gap: 64px; align-items: start; }
.site .guide .prose { max-width: var(--measure); }
.site .guide .wide { max-width: none; }
.site .rail { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.site .rail .toc { font-size: 15px; }
.site .rail .toc ol { padding-left: 0; list-style: none; } .site .rail .toc a { text-decoration: none; color: var(--paper-ink); font-weight: 600; display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--page-line); }
.site .rail .toc a.here { border-left-color: var(--paper-ink); font-weight: 800; }
.site .rail .toc a:hover { border-left-color: var(--paper-ink2); }
.site .railcard { display: block; background: var(--paper); border-radius: 12px; padding: 16px 18px; text-decoration: none; color: var(--paper-ink); }
.site .railcard small { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-ink2); margin-bottom: 4px; }
.site .railcard b { font-size: 17px; font-weight: 800; display: block; }
.site .railcard span { font-size: 14.5px; color: var(--paper-ink2); }
.site .railcard:hover { box-shadow: inset 0 0 0 2px var(--paper-ink); }
.site .mobile-toc { display: none; }
.site .related { margin-top: 64px; }
.site .related h2 { font-size: 22px; margin-bottom: 16px; }
.site .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.site .cards.four { grid-template-columns: repeat(4, 1fr); }
.site .lcard { display: block; background: var(--paper); border-radius: var(--r-row); padding: 18px 20px; text-decoration: none; color: var(--paper-ink); min-height: 96px; }
.site .lcard:hover { box-shadow: inset 0 0 0 2px var(--paper-ink); color: var(--paper-ink); }
.site .lcard b { display: block; font-size: 18px; font-weight: 800; line-height: 1.25; }
.site .lcard span { display: block; font-size: 15px; color: var(--paper-ink2); margin-top: 6px; line-height: 1.45; }
.site .lcard .rt { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--page-ink3); margin-top: 10px; }
.site .lcard.white { background: #fff; box-shadow: var(--sh-card); }
.site .pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; border-top: 1px solid var(--page-line); padding-top: 20px; }
.site .pager a { text-decoration: none; color: var(--paper-ink); font-weight: 800; font-size: 17px; max-width: 48%; }
.site .pager a small { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-ink2); margin-bottom: 4px; }
.site .pager a.next { text-align: right; }
.site .invite { margin-top: 64px; width: 100%; background: var(--ground); color: var(--ink); border-radius: var(--r-sheet); padding: 32px; display: flex; gap: 32px; align-items: center; justify-content: space-between; box-shadow: var(--sh-sheet); position: relative; overflow: hidden; }
.site .invite::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 90% at 10% 0%, var(--ground-light) 0%, transparent 60%); }
.site .invite > * { position: relative; }
.site .invite h2 { font-size: 26px; }
.site .invite p { color: var(--ink2); margin-top: 8px; max-width: 46ch; font-size: 17px; }
.site .invite .stores { flex: none; }

/* ----- store badges ----- */
.site .stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.site .badge { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px 0 12px; border-radius: 10px; background: #000; color: #fff; text-decoration: none; min-width: 164px; border: 1px solid rgba(255,255,255,.35); }
.site .badge svg { width: 26px; height: 26px; flex: none; }
.site .badge .t { display: flex; flex-direction: column; line-height: 1.05; }
.site .badge .t small { font-size: 10.5px; font-weight: 600; letter-spacing: .02em; opacity: .9; }
.site .badge .t b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.site .badge:hover { color: #fff; border-color: #fff; }
.site .stores.soon .badge { opacity: .55; pointer-events: none; filter: grayscale(1); }
.site .stores .soon-tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--chip); border: 1px solid var(--chip-line); color: var(--ink); font-size: 13.5px; font-weight: 800; }
.site .on-page .stores .soon-tag { background: rgba(28,35,49,.07); border-color: transparent; color: var(--paper-ink); }
.site .soon-line { font-size: 16px; font-weight: 700; color: var(--ink2); margin-top: 12px; }

/* ----- cards (the app's card, five sizes) ----- */
.site .pc { position: relative; display: inline-block; border-radius: var(--r-card); background: var(--card); box-shadow: var(--sh-card), inset 0 0 0 1px var(--card-line); vertical-align: middle; flex: none; overflow: hidden; font-weight: 800; line-height: 1; letter-spacing: -.02em; user-select: none; }
.site .pc.red { color: var(--card-red); } .site .pc.black { color: var(--card-black); }
.site .pc .ix { position: absolute; left: 7%; top: 5%; display: flex; flex-direction: column; align-items: center; }
.site .pc .ix .s { margin-top: -1px; }
.site .pc .pip { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; }
.site .pc .ct { position: absolute; display: block; pointer-events: none; }
.site .pc .ct.wash { opacity: .28; }
.site .pc.back { background: var(--back); box-shadow: var(--sh-card), inset 0 0 0 1px rgba(0,0,0,.25); }
.site .pc.back::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(244,241,234,.95) 0 15%, transparent 16%), radial-gradient(circle at 50% 50%, transparent 0 22%, rgba(244,241,234,.55) 22% 25%, transparent 26%), repeating-linear-gradient(45deg, rgba(255,255,255,.14) 0 1px, transparent 1px 4px), repeating-linear-gradient(-45deg, rgba(255,255,255,.14) 0 1px, transparent 1px 4px); }
.site .pc.back::after { content: ""; position: absolute; inset: 5%; border-radius: 4px; border: 1.5px solid var(--back-rim); }
.site .pc.sm { width: 40px; height: 56px; border-radius: 4px; }
.site .pc.md { width: 72px; height: 101px; }
.site .pc.lg { width: 72px; height: 101px; }
.site .pc.xl { width: 96px; height: 135px; border-radius: 8px; }
.site .pc.lit { box-shadow: var(--sh-lift), 0 0 0 3px var(--sel); }
.site .pc.dim { opacity: .4; }
.site .pc.empty { background: transparent; box-shadow: none; border: 2px dashed var(--paper-line); }
.site .pc.empty .lab { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--page-ink3); text-align: center; line-height: 1.2; padding: 4px; letter-spacing: 0; }
.site .pc.slot { cursor: pointer; }
.site .pc.slot.sel { box-shadow: var(--sh-card), 0 0 0 3px var(--sel); }
.site .pc.slot.bad { box-shadow: var(--sh-card), 0 0 0 3px var(--bad); }
.site .chip { display: inline-flex; align-items: center; height: 24px; padding: 0 6px; border-radius: var(--r-chip); background: var(--card); box-shadow: inset 0 0 0 1px var(--card-line); font-size: 14px; font-weight: 800; line-height: 1; letter-spacing: -.01em; vertical-align: middle; }
.site .chip.red { color: var(--card-red); } .site .chip.black { color: var(--card-black); }
.site .chip + .chip { margin-left: 4px; }
.site .hand { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.site .hand .starter { margin-left: 12px; position: relative; }
.site .hand .starter::after, .site .hand .sl::after { content: attr(data-label); position: absolute; left: 0; right: 0; top: 100%; margin-top: 6px; text-align: center; font-size: 13px; font-weight: 800; color: var(--paper-ink2); letter-spacing: 0; }
.site .hand.labelled { padding-bottom: 24px; }
.site .countdisc { width: 64px; height: 64px; border-radius: 50%; background: var(--paper); box-shadow: 0 4px 12px rgba(0,0,0,.2); display: grid; place-items: center; align-content: center; color: var(--paper-ink); flex: none; }
.site .countdisc .n { font-weight: 800; font-size: 28px; line-height: 1; } .site .countdisc .l { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: var(--paper-ink2); margin-top: 2px; }
.site .fig.board .countdisc { box-shadow: 0 4px 12px rgba(0,0,0,.35); }

/* ----- the pegboard illustration ----- */
.site .pegboard { position: relative; border-radius: 12px; background: var(--board); box-shadow: var(--sh-board); overflow: hidden; }
.site .pegboard::before { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(120,80,30,.06) 0 2px, transparent 2px 9px, rgba(255,255,255,.05) 9px 10px, transparent 10px 23px); }
.site .pegboard::after { content: ""; position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 6px var(--board-rim), inset 0 0 0 7.5px var(--brass), inset 0 0 0 8.5px rgba(0,0,0,.22); pointer-events: none; }
.site .pegboard svg { position: absolute; left: 6px; top: 6px; overflow: visible; }
.site .pegboard.flat { box-shadow: 0 2px 8px rgba(0,0,0,.18); }

/* ----- tools ----- */
.site .toolpage { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 40px; align-items: start; }
.site .toolpage .tool { position: sticky; top: 24px; }
.site .tool { background: #fff; border-radius: var(--r-sheet); box-shadow: var(--sh-sheet); padding: 24px; }
.site .tool-out { background: #fff; border-radius: var(--r-sheet); box-shadow: var(--sh-sheet); padding: 28px; min-height: 420px; }
.site .tool-out .result { margin-top: 0; border-top: 0; padding-top: 0; }
.site .tool.six .slots { gap: 8px; }
.site .tool-out .ex { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-ink2); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.site .tool-out .ex span { font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 15px; }
.site .keys.ranks { display: grid; grid-template-columns: repeat(7, 1fr); }
.site .keys.suits { display: grid; grid-template-columns: repeat(4, 1fr); }
.site .hand .grp { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.site .hand .grp .lab { font-size: 13px; font-weight: 800; color: var(--paper-ink2); line-height: 1; }
.site .hand .grp .cs { display: flex; gap: 6px; }
.site .tool .slots { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.site .tool .slots .sl { position: relative; }
.site .tool .slots .gap { width: 12px; }
.site .picker-keys { margin-top: 20px; }
.site .keys { display: flex; flex-wrap: wrap; gap: 6px; }
.site .key { height: 48px; min-width: 0; padding: 0 8px; border-radius: 10px; background: var(--paper); color: var(--paper-ink); font: inherit; font-size: 18px; font-weight: 800; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px var(--paper-line); }
.site .key:hover { box-shadow: inset 0 0 0 2px var(--paper-ink); }
.site .key.on { background: var(--paper-ink); color: var(--paper); }
.site .key.suit { font-size: 22px; min-width: 56px; }
.site .key.suit.red { color: var(--card-red); } .site .key.suit.on.red { color: #fff; background: var(--card-red); }
.site .key[disabled] { opacity: .35; cursor: default; box-shadow: none; }
.site .keys + .keys { margin-top: 8px; }
.site .typed { display: flex; gap: 8px; margin-top: 16px; align-items: center; flex-wrap: wrap; }
.site .input { height: 48px; border-radius: 12px; border: 2px solid var(--paper-line); background: #fff; font: inherit; font-size: 17px; font-weight: 600; padding: 0 14px; color: var(--paper-ink); min-width: 240px; flex: 1; }
.site .input:focus { border-color: var(--paper-ink); outline: none; }
.site .input.bad { border-color: var(--bad); }
.site .input::placeholder { color: var(--page-ink3); font-weight: 500; }
.site .tool .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.site .tool .actions .btn.primary { min-width: 140px; }
.site .seg { display: inline-flex; background: rgba(28,35,49,.07); border-radius: 12px; padding: 3px; }
.site .seg button { height: 40px; padding: 0 16px; border-radius: 9px; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 800; color: var(--paper-ink2); cursor: pointer; }
.site .seg button.on { background: var(--paper-ink); color: var(--paper); }
.site .check { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; cursor: pointer; }
.site .check input { width: 22px; height: 22px; accent-color: var(--paper-ink); }
.site .tool .status { min-height: 48px; margin-top: 14px; }
.site .tool .status .msg { margin-top: 0; }
.site .best .why { min-height: 75px; }
.site .msg { margin-top: 14px; border-radius: 10px; padding: 12px 14px; font-size: 16px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.site .msg svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.site .msg.bad { background: var(--bad-soft); color: var(--bad); }
.site .msg.hint { background: rgba(28,35,49,.06); color: var(--paper-ink2); }
.site .msg.ok { background: var(--ok-soft); color: var(--ok-ink); }
.site .result { margin-top: 28px; border-top: 1px solid var(--page-line); padding-top: 24px; }
.site .result .total { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.site .result .total .n { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.site .result .total .u { font-size: 20px; font-weight: 800; }
.site .result .total .rare { font-size: 16px; color: var(--paper-ink2); font-weight: 600; }
.site .spoken { margin-top: 16px; background: var(--paper); border-radius: 14px; padding: 14px 18px; font-size: 18px; font-weight: 700; line-height: 1.5; position: relative; }
.site .spoken::before { content: ""; position: absolute; left: 24px; top: -8px; width: 16px; height: 16px; background: var(--paper); transform: rotate(45deg); border-radius: 2px; }
.site .spoken .lbl { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-ink2); margin-bottom: 4px; }
.site .lines { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.site .line { display: grid; grid-template-columns: 110px 1fr 48px 44px; align-items: center; gap: 10px; min-height: 40px; padding: 4px 10px; border-radius: 9px; cursor: default; }
.site .line:hover, .site .line.lit { background: var(--me-soft); box-shadow: inset 0 0 0 2px var(--sel); }
.site .line .k { font-weight: 800; font-size: 17px; }
.site .line .cs { display: flex; flex-wrap: wrap; gap: 4px; }
.site .line .pts { text-align: right; font-weight: 800; font-size: 20px; }
.site .line .run { text-align: right; font-size: 14.5px; font-weight: 700; color: var(--paper-ink2); }
.site .line.none { color: var(--paper-ink2); font-weight: 600; grid-template-columns: 1fr; }
.site .rule-line { margin-top: 10px; padding: 10px 10px 0; border-top: 1px solid var(--page-line); display: flex; justify-content: space-between; gap: 16px; font-size: 16px; color: var(--paper-ink2); font-weight: 600; }
.site .rule-line b { font-size: 28px; color: var(--paper-ink); font-weight: 800; }
.site .rarity { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.site .rarity .txt { font-size: 16px; line-height: 1.5; }
.site .rarity .txt b { font-size: 24px; display: block; font-weight: 800; margin-bottom: 4px; }
.site .hist { display: flex; align-items: flex-end; gap: 2px; height: 72px; }
.site .hist i { flex: 1; background: rgba(28,35,49,.18); border-radius: 2px 2px 0 0; min-height: 2px; display: block; }
.site .hist i.me { background: var(--me); }
.site .hist i.zero { background: repeating-linear-gradient(0deg, var(--op) 0 2px, transparent 2px 4px); opacity: .6; }
.site .histx { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--page-ink3); margin-top: 4px; }
.site .permalink { margin-top: 20px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.site .permalink code { background: rgba(28,35,49,.06); padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }
/* discard */
.site .best { margin-top: 0; background: var(--paper); border-radius: var(--r-sheet); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.site .best .hand { order: -1; }
.site .best .hand .sl, .site .best .hand .starter { display: flex; gap: 6px; }
.site .best .k { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-ink2); }
.site .best h3 { margin-top: 4px; font-size: 24px; }
.site .best .why { margin-top: 8px; font-size: 16.5px; line-height: 1.5; }
.site .best .pair { display: flex; gap: 6px; }
.site .throws { margin-top: 20px; width: 100%; border-collapse: collapse; font-size: 15.5px; }
.site .throws th { text-align: left; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--paper-ink2); padding: 8px 8px; border-bottom: 1px solid var(--page-line); }
.site .throws td { padding: 7px 8px; border-bottom: 1px solid var(--page-line); vertical-align: middle; white-space: nowrap; }
.site .throws td.n, .site .throws th.n { text-align: right; font-weight: 800; }
.site .throws tr.top td { background: var(--me-soft); }
.site .throws tr.top td:first-child { border-radius: 8px 0 0 8px; } .site .throws tr.top td:last-child { border-radius: 0 8px 8px 0; }
.site .throws .bar { display: inline-block; height: 10px; border-radius: 5px; background: var(--me); vertical-align: middle; margin-left: 8px; }
.site .throws .bar.neg { background: var(--op); }
.site .throws .rank { color: var(--paper-ink2); font-weight: 700; width: 28px; }
.site .throws td.cs { white-space: nowrap; }

/* ----- home ----- */
.site .hero-home { padding: 64px 0 72px; }
.site .hero-home .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.site .hero-home h1 { font-size: 56px; letter-spacing: -.02em; }
.site .hero-home .lede { font-size: 21px; line-height: 1.5; color: var(--ink2); margin-top: 18px; max-width: 48ch; }
.site .hero-home .lede b { color: var(--ink); font-weight: 800; }
.site .hero-home .stores { margin-top: 28px; }
.site .hero-home .also { margin-top: 20px; font-size: 16px; font-weight: 700; color: var(--ink2); }
.site .hero-home .also a { color: var(--ink); }
.site .phone { width: 300px; aspect-ratio: 390 / 780; border-radius: 30px; background: #0a0d12; padding: 9px; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12); margin: 0 auto; position: relative; }
.site .phone .scr { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: var(--ground-2); position: relative; }
.site .phone .scr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.site .phone.lg { width: 380px; }
.site .sect { padding: 72px 0 0; }
.site .sect .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.site .sect .head p { color: var(--paper-ink2); font-size: 18px; margin-top: 6px; max-width: 56ch; }
.site .sect .head a.all { flex: none; font-weight: 800; font-size: 16px; }
.site .toolcard { display: grid; grid-template-rows: auto 1fr; gap: 18px; background: #fff; border-radius: var(--r-sheet); padding: 24px; box-shadow: var(--sh-card); text-decoration: none; color: var(--paper-ink); }
.site .toolcard:hover { box-shadow: var(--sh-card), 0 0 0 2px var(--paper-ink); color: var(--paper-ink); }
.site .toolcard .demo { background: var(--paper); border-radius: 12px; padding: 20px 16px 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.site .toolcard .demo .dt { font-size: 15.5px; font-weight: 700; text-align: center; line-height: 1.4; }
.site .toolcard .demo .dt b { font-size: 18px; }
.site .toolcard .demo .dt .muted { font-weight: 600; }
.site .two { align-items: stretch; }
.site .toolcard h3 { font-size: 22px; }
.site .toolcard p { font-size: 16.5px; color: var(--paper-ink2); margin-top: 6px; line-height: 1.5; }
.site .toolcard .go { font-weight: 800; color: var(--link); margin-top: 10px; font-size: 16px; }
.site .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.site .lessons { counter-reset: lesson; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.site .lessons a { display: flex; gap: 14px; align-items: baseline; text-decoration: none; color: var(--paper-ink); padding: 10px 0; border-bottom: 1px solid var(--page-line); font-weight: 700; font-size: 17px; }
.site .lessons a i { font-style: normal; font-weight: 800; color: var(--paper-ink2); width: 22px; flex: none; text-align: right; }
.site .lessons a span { font-weight: 600; color: var(--paper-ink2); font-size: 15px; margin-left: auto; flex: none; }
.site .lessons a:hover { color: var(--link); }
.site .closing { margin-top: 96px; }
.site .closing .acts { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.site .closing .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.site .closing h2 { font-size: 34px; }
.site .closing p { color: var(--ink2); margin-top: 10px; font-size: 18px; max-width: 44ch; }

/* ----- hubs ----- */
.site .hubhead { padding: 48px 0 40px; }
.site .hubhead .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.site .hubhead .btn { flex: none; }
.site .group { padding-top: 48px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px 64px; align-items: start; }
.site .group + .group { border-top: 1px solid var(--page-line); margin-top: 48px; }
.site .group h2 { font-size: 24px; }
.site .group .gi { color: var(--paper-ink2); margin: 6px 0 18px; font-size: 17px; max-width: 60ch; }
.site .rows { display: flex; flex-direction: column; }
.site .rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: center; padding: 16px 0; border-top: 1px solid var(--page-line); text-decoration: none; color: var(--paper-ink); }
.site .rows a:first-child { border-top: 0; padding-top: 0; }
.site .rows a b { font-size: 19px; font-weight: 800; }
.site .rows a span { grid-column: 1; font-size: 16px; color: var(--paper-ink2); line-height: 1.45; }
.site .rows a .rt { grid-column: 2; grid-row: 1 / span 2; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--page-ink3); white-space: nowrap; }
.site .rows a:hover b { color: var(--link); }
.site .first-hand { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--paper); border-radius: var(--r-sheet); padding: 28px; margin-top: 32px; }
.site .first-hand h2 { font-size: 26px; margin-top: 4px; }
.site .first-hand p { margin-top: 8px; color: var(--paper-ink2); font-size: 17px; max-width: 56ch; }
.site .first-hand .pegrow { display: flex; gap: 8px; margin-top: 16px; }
.site .lessonlist { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.site .lrow { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; background: #fff; box-shadow: var(--sh-card); border-radius: var(--r-row); padding: 14px 18px; text-decoration: none; color: var(--paper-ink); min-height: 72px; }
.site .lrow:hover { box-shadow: var(--sh-card), 0 0 0 2px var(--paper-ink); color: var(--paper-ink); }
.site .lrow .n { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.site .lrow b { display: block; font-size: 18px; font-weight: 800; }
.site .lrow span { display: block; font-size: 15px; color: var(--paper-ink2); margin-top: 2px; }
.site .lrow .mins { font-size: 14px; font-weight: 800; color: var(--page-ink3); letter-spacing: .04em; text-transform: uppercase; }

/* ----- legal ----- */
.site .legalpage { padding: 40px 0 0; }
.site .legalpage h1 { font-size: 36px; }
.site .legalpage .summary { background: var(--paper); border-radius: 12px; padding: 18px 20px; margin-top: 24px; font-size: 16.5px; }
.site .legalpage .summary b { display: block; font-weight: 800; margin-bottom: 6px; }
.site .legalpage .summary ul { margin: 0; padding-left: 20px; } .site .legalpage .summary li + li { margin-top: 4px; }
.site .legalpage .prose h2 { font-size: 24px; margin-top: 40px; }

/* ----- 404 ----- */
.site .nf { padding: 80px 0 40px; text-align: center; }
.site .nf h1 { font-size: 48px; }
.site .nf p { color: var(--paper-ink2); font-size: 19px; margin-top: 12px; }
.site .nf .cards { margin-top: 40px; text-align: left; }

/* ===== breakpoints, as container queries on .site (the build uses media queries at the same widths) ===== */
@media (max-width: 1199px) {
  .site .guide { grid-template-columns: 1fr; gap: 0; }
  .site .toolpage { grid-template-columns: minmax(0, 1fr); gap: 24px; } .site .toolpage .tool { position: static; }
  .site .group { grid-template-columns: 1fr; gap: 16px; }
  .site .rail { display: none; }
  .site .mobile-toc { display: block; margin-top: 24px; }
  .site .ftr .cols { grid-template-columns: 1fr 1fr; }
  .site .menu .cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) {
  .site .nav { display: none; }
  .site .menu-btn { display: inline-flex; }
  .site .hdr .cta .btn { display: none; }
  .site .hero-home .wrap { grid-template-columns: 1fr; gap: 40px; }
  .site .hero-home .phone { width: 280px; }
  .site .two { grid-template-columns: 1fr; }
  .site .cards, .site .cards.four { grid-template-columns: 1fr 1fr; }
  .site .lessons { grid-template-columns: 1fr; }
  .site .menu .cols { grid-template-columns: 1fr; }
  .site .closing .wrap { flex-direction: column; align-items: flex-start; }
  .site .invite { flex-direction: column; align-items: flex-start; }
  .site .rarity { grid-template-columns: 1fr; }
  .site .best { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .site { font-size: 17px; line-height: 1.55; }
  .site .wrap { padding: 0 16px; }
  .site h1 { font-size: 32px; }
  .site h2 { font-size: 24px; }
  .site h3 { font-size: 19px; }
  .site .hdr .bar { height: 60px; gap: 12px; }
  .site .brand { font-size: 18px; } .site .brand small { font-size: 11.5px; }
  .site .hero-home { padding: 36px 0 44px; }
  .site .hero-home h1 { font-size: 36px; }
  .site .hero-home .lede { font-size: 18px; }
  .site .hero-home .phone { width: 220px; }
  .site .sect { padding-top: 48px; }
  .site .sect .head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .site .closing { margin-top: 56px; } .site .closing h2 { font-size: 28px; }
  .site .pagehead { padding: 24px 0 20px; } .site .pagehead .lede { font-size: 18px; }
  .site .prose h2 { font-size: 24px; margin-top: 36px; } .site .prose h3 { font-size: 19px; }
  .site .prose .lede { font-size: 18px; }
  .site .fig { padding: 14px; } .site .fig .fig-body { gap: 6px; }
  .site .callout { padding: 14px 16px 14px 14px; font-size: 16px; }
  .site .cards { grid-template-columns: 1fr; }
  .site .cards.four { grid-template-columns: 1fr; }
  .site .rows a b { font-size: 17px; }
  .site .lcard { min-height: 0; padding: 16px 18px; }
  .site .pager { flex-direction: column; } .site .pager a { max-width: none; } .site .pager a.next { text-align: left; }
  .site .invite { padding: 24px; margin-top: 48px; }
  .site .tool { padding: 12px; border-radius: 14px; }
  .site .tool .slots { gap: 6px; }
  /* five slots in 304 px: 52 x 73; six: 46 x 66; both the small face, index 18 (design/cards-v3) */
  .site .tool .slots .pc.lg { width: 52px; height: 73px; border-radius: 6px; }
  .site .tool.six .slots .pc.lg { width: 46px; height: 66px; }
  .site .tool .slots .gap { width: 6px; } .site .tool .slots .pc.empty .lab { font-size: 11.5px; }
  .site .tool.six .slots { gap: 4px; }
  .site .best .hand .sl, .site .best .hand .starter { gap: 4px; } .site .best .hand .starter { margin-left: 8px; }
  /* the best keep and throw on one row: sm cards */
  .site .best .pc.md { width: 40px; height: 56px; border-radius: 4px; }
  .site .key { height: 44px; padding: 0 4px; font-size: 17px; }
  .site .keys { gap: 4px; }
  .site .tool-out { padding: 16px; min-height: 0; }
  .site .typed .input { min-width: 0; width: 100%; }
  .site .line { grid-template-columns: 84px 1fr 40px 36px; gap: 6px; padding: 4px 6px; }
  .site .line .k { font-size: 15.5px; } .site .line .pts { font-size: 18px; }
  .site .result .total .n { font-size: 48px; }
  .site .spoken { font-size: 17px; }
  .site .throws { font-size: 14.5px; } .site .throws td, .site .throws th { padding: 6px 4px; }
  .site .throws .hide-sm { display: none; }
  .site .best { padding: 16px; } .site .best h3 { font-size: 21px; }
  .site .hubhead { padding: 32px 0 24px; } .site .hubhead .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site .group { padding-top: 32px; }
  .site .first-hand { grid-template-columns: 1fr; padding: 20px; }
  .site .lrow { grid-template-columns: 44px 1fr; gap: 12px; padding: 12px 14px; } .site .lrow .mins { grid-column: 2; }
  .site .ftr { margin-top: 64px; } .site .ftr .cols { grid-template-columns: 1fr; gap: 24px; padding: 36px 0 24px; }
  .site .ftr .legal .sib { margin-left: 0; width: 100%; }
  .site .ftr .more-games { gap: 12px 18px; } .site .ftr .more-games .mg-label { width: 100%; }
  .site .legalpage h1 { font-size: 30px; }
  .site .nf { padding: 48px 0 24px; } .site .nf h1 { font-size: 36px; }
}


/* ===== the build's additions (apps/site/style.mts) ===== */
.site .skip { position: absolute; left: -999px; top: 0; z-index: 20; background: #fff; color: var(--paper-ink); padding: 8px 12px; border-radius: 8px; }
.site .skip:focus { left: 12px; top: 12px; }
/* A card's face is an SVG in the app's 56 x 80 units with the app's own suit shapes (Glyphs.tsx), so every
   phone draws the same card; the court figures are CSS masks tinted with currentColor (NOTES allows it on http). */
.site .pc svg { position: absolute; inset: 0; width: 100%; height: 100%; font-family: var(--font); letter-spacing: 0; }
.site .pc i.ct { position: absolute; display: block; background: currentColor; -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; pointer-events: none; }
.site .su { height: .82em; width: auto; display: inline-block; vertical-align: -.06em; overflow: visible; }
.site .chip .su { margin-left: 1px; }
.site .key.suit .su { height: 22px; vertical-align: middle; }
.site .key.suit { color: var(--card-black); } .site .key.suit.on { color: var(--paper); }
/* The pegboard is one SVG with its own walnut rim and brass line (lib/board.ts, from the app's geometry). */
.site .peg-board { display: block; width: 100%; max-width: 366px; height: auto; border-radius: 12px; box-shadow: var(--sh-board); }
.site .fig .peg-board { margin: 0 auto; }
.site .fig.board figcaption a { color: var(--ink); }
/* Audit 25: a figure is always the width of its column. */
.site .prose .fig { width: 100%; }
/* Audit 26: a table of labels and points stays short enough to read across; the score table and the tools' tables do not. */
.site .prose table:not(.census) { max-width: 560px; }
/* Audit 27: the rulebook markers read as a reference, not as body text. */
.site .acc { white-space: nowrap; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--page-ink3); }
/* The lighter baize (D58, option C) puts the app's me-text on ground at 4.02 : 1 and ink3 on ground-2 at 4.36 : 1,
   both under AA, so links on baize are cream and underlined, and the caps labels on deep baize are ink2 (D69). */
.site .hero-home .also a, .site .baize .prose a { color: var(--ink); }
.site .menu .lbl, .site .ftr .more-games .mg-label, .site .ftr .legal .sib { color: var(--ink2); }
.site .faq dt { font-weight: 800; margin-top: 16px; } .site .faq dd { margin: 4px 0 0; }
.site .scroll { overflow-x: auto; }
.site .ftr .about .mail { margin-top: 12px; } .site .ftr .about .mail a { display: inline; padding: 0; }
/* The course on Home: rows, not links, while the lessons are only in the app (audit 12). */
.site .lessons .row { display: flex; gap: 14px; align-items: baseline; color: var(--paper-ink); padding: 10px 0; border-bottom: 1px solid var(--page-line); font-weight: 700; font-size: 17px; }
.site .lessons .row i { font-style: normal; font-weight: 800; color: var(--paper-ink2); width: 22px; flex: none; text-align: right; }
.site .lessons .row span { font-weight: 600; color: var(--paper-ink2); font-size: 15px; margin-left: auto; flex: none; }
/* Audit 32: the notices, one licence family per section, closed until opened. */
.site .notices details { border-top: 1px solid var(--page-line); padding: 14px 0; }
.site .notices details:last-child { border-bottom: 1px solid var(--page-line); }
.site .notices summary { cursor: pointer; font-weight: 800; font-size: 18px; }
.site .notices summary span { font-weight: 600; font-size: 15px; color: var(--paper-ink2); margin-left: 8px; }
.site .notices pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 500 14px/1.55 ui-monospace, Consolas, monospace; background: var(--paper); border-radius: 12px; padding: 16px; margin: 12px 0 0; }
/* Audit 16: the score table as two tables side by side from 900 up. */
.site .census-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.site .census { border-collapse: collapse; font-size: 16px; width: 100%; }
.site .census td, .site .census th { padding: 6px 14px 6px 0; text-align: right; }
@media (max-width: 899px) { .site .census-pair { grid-template-columns: 1fr; } .site .census-pair .census + .census thead { display: none; } }
/* Audit 31: space under the "In short" box. */
.site .legalpage .summary { margin-bottom: 24px; }
/* Phone frames (D90, D85). No notch, no status bar, no empty strip: each shot is the app's own content, the top bar
   to the bottom button with the app's 12-point margin (shots-app.mjs), shown whole (the screen takes the shot's
   proportions, so the frames may differ by a few points in height). v2's bezel and corners: 9 and 30 at a
   300 frame, the screen's corners 20, which stay inside the app's 12-point margins. */
.site .phone, .site .phone.lg, .site .hero-home .phone { width: var(--pw); aspect-ratio: auto; padding: calc(var(--pw) * .03); border-radius: calc(var(--pw) * .1); }
.site .phone { --pw: 300px; }
.site .phone.lg, .site .hero-home .phone { --pw: 380px; }
.site .phone .scr { width: 100%; height: auto; aspect-ratio: auto; border-radius: calc(var(--pw) * .0667); }
.site .phone .scr img { height: auto; object-fit: fill; }
@media (max-width: 899px) { .site .phone.lg, .site .hero-home .phone { --pw: 280px; } }
@media (max-width: 599px) { .site .phone.lg, .site .hero-home .phone { --pw: 260px; } }
/* What works today, where the store badges will go (D91): a bone button and an outline one, on the closing band
   and in every invite; the "coming soon" line kept as text. The badges replace them when the listings are live. */
.site .invite .acts { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.site .closing .soon-line, .site .invite .soon-line { margin-top: 12px; font-size: 16px; }
.site .hero-home .soon-line { margin-top: 24px; }
/* The home band sits on the footer: one baize area, a hairline between (D91; the closing band is inside <main>,
   so v2's .closing + .ftr cannot reach the footer). */
.site .closing.joined { margin-bottom: 0; }
.site .ftr.joined { margin-top: 0; border-top: 1px solid var(--chip-line); }
@media (max-width: 599px) {
  .site .closing .acts, .site .invite .acts { width: 100%; } .site .closing .acts .btn, .site .invite .acts .btn { flex: 1 1 100%; }
}
/* D86, D92: the status line is one fixed slot, two lines of 14 px text tall, so a hint or a refusal never moves
   the keys' buttons under it. Every message is written to fit two lines in the 360 column (qa-tools.mjs). */
.site .tool .status { min-height: 0; height: 60px; display: flex; flex-direction: column; justify-content: center; }
.site .tool .status .msg { font-size: 14px; line-height: 20px; padding: 10px 12px; gap: 8px; }
.site .tool .status .msg svg { width: 18px; height: 18px; margin-top: 1px; }
/* Audit 17, measured: the chip is inline-flex, so its baseline is its text's; -3px put that text 3 px under the
   line's (D92). Baseline alignment is exact. */
.site p .chip, .site li .chip, .site figcaption .chip { vertical-align: baseline; }
/* The legal pages' "In short" box starts level with the rail. */
.site .legalpage .guide .summary { margin-top: 0; }
/* The discard example: its six cards and the button that puts them in. */
.site .tool-out .try { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.site .tool-out .try .hand { display: flex; gap: 8px; flex-wrap: wrap; }
/* The hub's groups: as much air under the last row as over the next title (the row's own 16 px made it 64 to 48). */
.site .rows a:last-child { padding-bottom: 0; }
@media (max-width: 599px) { .site .group + .group { margin-top: 32px; } }
/* Short lines end on more than one word (the "Store." and "it." orphans at 360). */
.site p, .site li, .site dd, .site figcaption, .site .lcard span { text-wrap: pretty; }
.site h1, .site h2, .site h3, .site .soon-line, .site .lcard b { text-wrap: balance; }
/* The counter's crib box sits at the end of the actions, and on a row of its own where they do not fit. */
.site .tool .actions .push { margin-left: auto; }
@media (max-width: 599px) {
  .site .tool .actions .push { margin-left: 0; flex-basis: 100%; }
  /* A hand and its starter stay on one row at 360 (D92): the figures and the counter's example take the phone card, 52 x 73. */
  .site .tool-out .try .pc.md { width: 40px; height: 56px; border-radius: 4px; }
  .site .toolcard { padding: 16px; }
  .site .toolcard .demo { padding: 16px 12px 14px; }
  .site .toolcard .demo .hand { flex-wrap: nowrap; }
  .site .toolcard .demo .grp .cs { gap: 4px; }
  .site .best .hand { flex-wrap: nowrap; } .site .best .hand .grp .cs { gap: 4px; }
  .site .best .hand .pc.md { width: 38px; height: 54px; }
}
/* The menu's bone button: its "Coming soon" took the menu's light link color and nearly vanished on bone. */
.site .menu .btn .sub { color: var(--accent-ink); }

/* design/site-v3's additions (D110 to D115), in the order the mock's <style> block gives them: that block is the
   CSS spec (design/site-v3/NOTES.md). They sit after site.css and the build's own rules (style.mts), as the mock's
   block sits after the built stylesheet. What differs from the mock is marked "build:". */

/* ----- 3. the nav: four shortcuts; the active item changes only its background and hairline (D112). Same weight,
   same size, same padding in every state, so a page change can only swap the font, and the fallback is
   size-matched to Manrope (style.mts). ----- */
.site .nav a { font-weight: 700; padding: 10px 12px; }
.site .nav a.here { background: var(--chip); box-shadow: inset 0 0 0 1px var(--chip-line); }
@media (max-width: 1099px) { .site .nav { gap: 0; } .site .nav a { padding: 10px 10px; } }
/* build: the brand's small capitals fall back to a face sized for capitals (style.mts), so the brand, and every
   link after it, keeps its width if Manrope is late. */
.site .brand small { font-family: "Manrope", "Manrope Fallback Caps", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* A page change cross-fades instead of cutting (build: point 6). The header is its own layer, so it holds still
   while the page under it fades. Reduced motion: no transition at all. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site .hdr { view-transition-name: site-header; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
}

/* ----- 5. the lower page: alternating surfaces. Cream (page) sections and linen bands (paper) with the board's hole
   grid, very faint (D115) ----- */
.site .sect { padding: 72px 0; }
.site .sect:not(.band-linen):not(.band-baize) + .sect:not(.band-linen):not(.band-baize) { padding-top: 0; }
.site .band-linen { background-color: var(--paper); background-image: radial-gradient(circle at 1px 1px, rgba(28,35,49,.085) 1.15px, transparent 1.6px); background-size: 22px 22px; background-position: 11px 11px; box-shadow: inset 0 1px 0 rgba(28,35,49,.06), inset 0 -1px 0 rgba(28,35,49,.06); }
.site .band-linen .lcard { background: #fff; box-shadow: var(--sh-card); }
.site .band-linen .lcard:hover { box-shadow: var(--sh-card), 0 0 0 2px var(--paper-ink); }
.site .band-linen .toolcard .demo { background: var(--page); }
.site .band-baize { background: radial-gradient(130% 80% at 50% -10%, var(--ground-light) 0%, var(--ground) 45%, var(--ground-2) 100%); color: var(--ink); position: relative; overflow: hidden; }
.site .band-baize::after { content: ""; position: absolute; inset: 0; opacity: .032; pointer-events: none; background: repeating-linear-gradient(45deg, #fff 0 .5px, transparent .5px 2.5px), repeating-linear-gradient(-45deg, #fff 0 .5px, transparent .5px 2.5px); }
.site .band-baize > * { position: relative; z-index: 1; }
.site .band-baize .head p { color: var(--ink2); }
.site .band-baize .kicker { color: var(--ink2); }
.site .sect .head .kicker { margin-bottom: 8px; }
.site .closing { margin-top: 0; }
@media (max-width: 599px) { .site .sect { padding: 48px 0; } .site .band-linen { background-size: 20px 20px; background-position: 10px 10px; } }

/* ----- 1. the three ways: what the app offers, each with a small scene drawn from the app's own objects (D110) ----- */
.site .way { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-sheet); box-shadow: var(--sh-card); text-decoration: none; color: var(--paper-ink); overflow: hidden; }
.site .way:hover { box-shadow: var(--sh-card), 0 0 0 2px var(--paper-ink); color: var(--paper-ink); }
.site .way .art { height: 132px; background: radial-gradient(120% 100% at 50% 0%, var(--ground-light) 0%, var(--ground) 55%, var(--ground-2) 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.site .way .art::after { content: ""; position: absolute; inset: 0; opacity: .035; pointer-events: none; background: repeating-linear-gradient(45deg, #fff 0 .5px, transparent .5px 2.5px), repeating-linear-gradient(-45deg, #fff 0 .5px, transparent .5px 2.5px); }
.site .way .art > * { position: relative; z-index: 1; }
.site .way .txt { padding: 20px 24px 24px; }
.site .way h3 { font-size: 21px; }
.site .way p { margin-top: 8px; font-size: 16.5px; color: var(--paper-ink2); line-height: 1.5; }
.site .way .go { font-weight: 800; color: var(--link); margin-top: 12px; font-size: 15.5px; }
.site .mini-board { width: 232px; height: auto; display: block; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.35), 0 1px 0 rgba(255,255,255,.2); }
.site .codechip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--paper); color: var(--paper-ink); border-radius: 12px; padding: 10px 16px; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.site .codechip small { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-ink2); }
.site .codechip b { font-size: 24px; font-weight: 800; letter-spacing: .14em; line-height: 1; font-variant-numeric: tabular-nums; }
.site .scene-friend { display: flex; align-items: center; gap: 18px; }
.site .scene-friend .fan { position: relative; width: 62px; height: 66px; }
.site .scene-friend .fan .pc { position: absolute; left: 0; top: 4px; transform: rotate(-9deg); }
.site .scene-friend .fan .pc + .pc { left: 18px; top: 0; transform: rotate(7deg); }
.site .scene-learn { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.site .coach { background: var(--paper); color: var(--paper-ink); border-radius: 12px; padding: 8px 12px; font-size: 14.5px; font-weight: 700; line-height: 1.3; position: relative; box-shadow: 0 6px 16px rgba(0,0,0,.3); white-space: nowrap; }
.site .coach::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: var(--paper); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.site .scene-learn .row { display: flex; gap: 6px; }
@media (max-width: 899px) { .site .way { flex-direction: row; } .site .way .art { width: 44%; flex: none; height: auto; min-height: 132px; } }
@media (max-width: 599px) { .site .way { flex-direction: column; } .site .way .art { width: auto; height: 124px; } .site .way .txt { padding: 16px 18px 20px; } .site .way h3 { font-size: 19px; } }

/* ----- 4. "Every hand, counted for you": the table on the page (D113; the layout is site-v4.css D) ----- */
.site .live .hand { justify-content: flex-start; flex-wrap: nowrap; }
.site .live .hand .grp .lab { color: var(--ink2); }
.site .live .pc { transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease; }
.site .live .pc.lit { transform: translateY(-8px); }
.site .live .pc.in { opacity: 0; transform: translateY(14px); }
.site .live .score { display: flex; gap: 24px; font-size: 15.5px; font-weight: 700; color: var(--ink2); }
.site .live .score b { color: var(--ink); font-size: 22px; font-weight: 800; margin-left: 6px; }
.site .live .score .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 2px #fff; }
.site .live .score .dot.b { background: var(--me); } .site .live .score .dot.r { background: var(--op); }
.site .live .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.site .live .acts .btn.outline { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.site .live .acts .btn.outline:hover { background: var(--chip); }
@media (max-width: 599px) { .site .live .pc.lg { width: 52px; height: 73px; border-radius: 6px; } .site .live .hand { gap: 6px; } .site .live .hand .grp .cs { gap: 5px; } .site .live .acts .btn { flex: 1 1 100%; } }

/* ----- 4b. moments: a screenshot and a short story, alternating sides (D114) ----- */
.site .moments { display: flex; flex-direction: column; gap: 72px; }
.site .moment { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.site .moment.flip .shot { order: 2; }
.site .moment .shot { display: flex; justify-content: center; }
.site .moment .phone { --pw: 300px; }
.site .moment h3 { font-size: 30px; letter-spacing: -.012em; }
.site .moment .kicker { margin-bottom: 10px; }
.site .moment p { margin-top: 12px; font-size: 18px; color: var(--paper-ink2); line-height: 1.55; max-width: 44ch; }
.site .moment ul { margin: 14px 0 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site .moment li { display: flex; gap: 10px; align-items: baseline; font-size: 16.5px; font-weight: 600; color: var(--paper-ink); }
.site .moment li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--me); flex: none; transform: translateY(-2px); }
.site .moment .txt a { font-weight: 800; }
@media (max-width: 899px) { .site .moment { grid-template-columns: 1fr; gap: 28px; } .site .moment.flip .shot { order: 0; } .site .moment .phone { --pw: 280px; } .site .moment h3 { font-size: 26px; } .site .moments { gap: 56px; } }
@media (max-width: 599px) { .site .moment h3 { font-size: 24px; } .site .moment p { font-size: 17px; } .site .moment .phone { --pw: 240px; } }

/* ----- the course: the lesson list beside the Learn screen (D114) ----- */
.site .course .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px 64px; align-items: center; }
.site .course .head { grid-column: 1 / -1; }
.site .course .shot { display: flex; justify-content: center; }
.site .course .phone { --pw: 260px; }
.site .course .lessons { grid-template-columns: 1fr; gap: 6px 24px; }
.site .course .lessons .row { padding: 9px 0; }
.site .lessons .row { background: transparent; }
.site .lessons .row.first { border-bottom: 0; background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: var(--sh-card); grid-column: 1 / -1; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 0 14px; }
.site .lessons .row.first em { grid-column: 2; font-style: normal; font-weight: 600; font-size: 14.5px; color: var(--paper-ink2); }
.site .lessons .row.first span { grid-column: 3; grid-row: 1 / span 2; margin-left: 0; }
.site .lessons .row.first i { grid-row: 1 / span 2; color: var(--me); }
@media (max-width: 1199px) { .site .course .wrap { grid-template-columns: 1fr; } .site .course .shot { display: none; } .site .course .lessons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 899px) { .site .lessons, .site .course .lessons { grid-template-columns: 1fr; } }

/* ----- 2. exhibits. One grammar for all (D111): a baize or paper panel, cards with a count under and a flag above
   where a card scores, a ledger that never stacks, a caption ----- */
/* the play strip */
.site .strip { list-style: none; margin: 0; padding: 22px 0 0; display: flex; flex-wrap: nowrap; justify-content: center; gap: 10px; align-items: flex-start; }
/* build: inside the prose the list's own indent and spacing would push the strip off center and each card down. */
.site .prose .strip, .site .prose .ledger { padding-left: 0; }
.site .prose .strip li + li { margin-top: 0; }
.site .strip li { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; flex: none; }
.site .strip li .flag { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); height: 20px; padding: 0 7px; border-radius: 10px; background: var(--me); color: #fff; font-size: 12.5px; font-weight: 800; line-height: 20px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.3); z-index: 1; }
.site .strip li .flag.r { background: var(--op); }
.site .strip li .cnt { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 11px; background: var(--chip); box-shadow: inset 0 0 0 1px var(--chip-line); color: var(--ink); font-size: 13px; font-weight: 800; white-space: nowrap; }
.site .strip li .cnt .d { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.site .strip .d.a { background: var(--me); } .site .strip .d.b { background: var(--op); }
.site .strip li.scores .pc { box-shadow: var(--sh-lift), 0 0 0 3px var(--sel); }
.site .strip li.scores.r .pc { box-shadow: var(--sh-lift), 0 0 0 3px var(--op); }
.site .strip li.go .pc { background: transparent; box-shadow: none; border: 2px dashed var(--chip-line); display: grid; place-items: center; color: var(--ink); font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.site .strip li.go .cnt { visibility: hidden; }
.site .ledger { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--chip-line); }
.site .prose .ledger li + li { margin-top: 0; }
.site .ledger li { display: grid; grid-template-columns: 28px 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 36px; padding: 4px 4px; border-bottom: 1px solid var(--chip-line); font-size: 15px; color: var(--ink2); }
.site .ledger li .d { width: 9px; height: 9px; border-radius: 50%; margin: 0 auto; }
.site .ledger li .d.a { background: var(--me); box-shadow: 0 0 0 2px rgba(255,255,255,.7); } .site .ledger li .d.b { background: var(--op); box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.site .ledger li .what b { color: var(--ink); }
.site .ledger li .pts { font-weight: 800; color: var(--ink); font-size: 17px; text-align: right; white-space: nowrap; min-width: 32px; }
.site .ledger li .pts.muted { color: var(--ink3); font-weight: 700; font-size: 15px; }
.site .fig .lead { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.site .fig .lead .d { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.site .fig .lead .d.a { background: var(--me); } .site .fig .lead .d.b { background: var(--op); }
.site .fig.board figcaption { margin-top: 14px; }
.site .fig .strip + figcaption { margin-top: 16px; }
@media (max-width: 599px) {
  .site .strip { gap: 6px; padding-top: 20px; }
  .site .strip .pc.md { width: 44px; height: 63px; border-radius: 4px; }
  .site .strip li .cnt { height: 20px; padding: 0 6px; font-size: 12px; gap: 4px; }
  .site .ledger li { grid-template-columns: 22px 34px minmax(0,1fr) auto; gap: 6px; font-size: 14px; }
  .site .strip li .flag { font-size: 12px; height: 19px; line-height: 19px; padding: 0 6px; top: -20px; }
}
/* the hand exhibit: the cards, then the sheet beside them */
.site .hx { background: var(--paper); border-radius: var(--r-sheet); padding: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 28px; align-items: start; }
.site .hx .hx-cards { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.site .hx .hx-total { display: flex; align-items: baseline; gap: 8px; }
.site .hx .hx-total b { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.site .hx .hx-total span { font-size: 15px; font-weight: 700; color: var(--paper-ink2); }
.site .hx .hx-lines { display: flex; flex-direction: column; gap: 2px; align-self: center; }
.site .hx .srow { display: grid; grid-template-columns: 96px minmax(0, 1fr) 36px 40px; gap: 8px; align-items: center; min-height: 32px; padding: 2px 8px; border-radius: 8px; font-size: 15.5px; }
.site .hx .srow .k { font-weight: 800; }
.site .hx .srow .cs { display: flex; flex-wrap: wrap; gap: 4px; }
.site .hx .srow .pts { text-align: right; font-weight: 800; font-size: 17px; }
.site .hx .srow .run { text-align: right; font-size: 13.5px; font-weight: 700; color: var(--paper-ink2); }
.site .hx .srow:hover, .site .hx .srow.lit { background: var(--me-soft); box-shadow: inset 0 0 0 2px var(--sel); }
.site .hx .srow:focus-visible { outline-offset: 0; }
.site .hx figcaption { grid-column: 1 / -1; font-size: 15px; line-height: 1.5; color: var(--paper-ink2); text-align: left; margin-top: 0; border-top: 1px solid var(--paper-line); padding-top: 12px; }
.site .hx figcaption b { color: var(--paper-ink); font-weight: 800; }
.site .hx.one { grid-template-columns: 1fr; }
.site .hx .hand { flex-wrap: nowrap; }
.site .hx .hand .grp .cs { gap: 5px; }
@media (max-width: 899px) { .site .hx { grid-template-columns: 1fr; } .site .hx .hx-lines { align-self: auto; } }
@media (max-width: 599px) { .site .hx { padding: 14px; gap: 12px; } .site .hx .srow { grid-template-columns: 78px minmax(0,1fr) 32px 36px; gap: 5px; font-size: 14.5px; padding: 2px 4px; } .site .hx .srow .chip + .chip { margin-left: 0; } .site .hx .srow .pts { font-size: 16px; } .site .hx .hx-total b { font-size: 30px; } }
/* the cut: the pack and the starter turned beside it */
.site .cut { display: flex; align-items: center; justify-content: center; gap: 22px; padding-top: 22px; }
.site .cut .pack { position: relative; width: 72px; height: 101px; flex: none; }
.site .cut .pack .pc { position: absolute; left: 0; top: 0; }
.site .cut .pack .pc:nth-child(2) { left: 2px; top: -2px; } .site .cut .pack .pc:nth-child(3) { left: 4px; top: -4px; }
.site .cut .arrow { color: var(--ink2); width: 28px; height: 28px; flex: none; }
.site .cut .turned { position: relative; flex: none; }
.site .cut .turned .pc { box-shadow: var(--sh-lift), 0 0 0 3px var(--sel); }
.site .cut .turned .flag { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); height: 20px; padding: 0 8px; border-radius: 10px; background: var(--me); color: #fff; font-size: 12.5px; font-weight: 800; line-height: 20px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.3); z-index: 1; }
.site .cut .who { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--ink2); font-weight: 600; max-width: 22ch; }
.site .cut .who b { color: var(--ink); font-size: 17px; }
.site .cut .who span { text-wrap: balance; }
@media (max-width: 599px) { .site .cut .pack { width: 52px; height: 73px; } .site .cut { gap: 14px; flex-wrap: wrap; } .site .cut .who { flex-basis: 100%; text-align: center; max-width: none; align-items: center; } }
/* the throw: six dealt, four kept, two to the crib */
.site .throw2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
.site .throw2 .tcase { background: var(--page); border-radius: 14px; padding: 14px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 20px; align-items: center; }
.site .throw2 .tcase .ck { grid-column: 1 / -1; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-ink2); }
.site .throw2 .tcase .hand { flex-wrap: nowrap; }
.site .throw2 .tcase .hand .grp .cs { gap: 5px; }
.site .throw2 .tcase .pc.dim { opacity: .45; }
.site .throw2 .tcase p { font-size: 15px; color: var(--paper-ink2); line-height: 1.45; }
.site .throw2 .tcase p b { color: var(--paper-ink); }
@media (max-width: 899px) { .site .throw2 .tcase { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .site .throw2 .tcase .pc.md { width: 44px; height: 63px; border-radius: 4px; } }

/* ----- the hub: Start here as a featured row with the steps ----- */
.site .starthere { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px 40px; align-items: center; background: #fff; border-radius: var(--r-sheet); box-shadow: var(--sh-card); padding: 24px 28px; text-decoration: none; color: var(--paper-ink); }
.site .starthere:hover { box-shadow: var(--sh-card), 0 0 0 2px var(--paper-ink); color: var(--paper-ink); }
.site .starthere b { font-size: 22px; font-weight: 800; display: block; }
.site .starthere .line { font-size: 16px; color: var(--paper-ink2); margin-top: 6px; display: block; }
.site .starthere .steps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.site .starthere .steps span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 14px; background: var(--paper); font-size: 13.5px; font-weight: 800; color: var(--paper-ink); }
.site .starthere .steps span i { font-style: normal; color: var(--paper-ink2); font-weight: 800; }
.site .starthere .rt { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--page-ink3); margin-top: 14px; display: block; }
.site .starthere .peg-board { max-width: 300px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
@media (max-width: 899px) { .site .starthere { grid-template-columns: 1fr; } .site .starthere .peg-board { max-width: 100%; } }
@media (max-width: 599px) { .site .starthere { padding: 18px; } .site .starthere b { font-size: 20px; } }

@media (prefers-reduced-motion: reduce) { .site .live .pc, .site .live .pc.lit { transition: none; transform: none; } }

/* design/site-v4's delta on the built v3 (D118 to D124), sections A to J in the order of the mock's <style> block,
   which is the CSS spec (design/site-v4/NOTES.md). It sits after site-v3.css, as the mock's block sits after the built
   stylesheet. What differs from the mock is marked "build:". */
/* ----- A. labels in sentence case. The footer (approved) and the app's own strings are untouched ----- */
.site .rail .toc .lbl, .site .toc .lbl, .site .railcard small, .site .pager a small, .site .lcard .rt, .site .rows a .rt, .site .starthere .rt, .site .codechip small, .site .prose th, .site .tool-out .ex, .site .best .k, .site .throw2 .tcase .ck, .site .spoken .lbl, .site .countdisc .l, .site .menu .lbl { text-transform: none; letter-spacing: 0; }
.site .rail .toc .lbl, .site .toc .lbl, .site .railcard small, .site .pager a small, .site .prose th, .site .throw2 .tcase .ck { font-size: 14px; }
.site .lcard .rt, .site .rows a .rt, .site .starthere .rt { font-size: 14px; font-weight: 700; }
.site .codechip small { font-size: 13px; }
.site .hero-home .kicker, .site .sect .head .kicker, .site .moment .kicker { display: none; }
.site .sect .head h2 { font-size: 34px; }
/* build: the same for the labels the mock's list missed, by its own rule (no tracked capitals a visitor reads, except
   the approved footer, the brand's wordmark and the app's strings): the discard table's heads, the callout's Rule
   label and the ACC citations, which now read "ACC r.7.1.b" as the rulebook writes them. */
.site .throws th, .site .callout .ck, .site .acc { text-transform: none; letter-spacing: 0; }
.site .throws th, .site .callout .ck { font-size: 14px; }

/* ----- B. links carry no arrow; a link looks like every other link ----- */
.site .toolcard .go, .site .way .go, .site .sect .head a.all { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* ----- C. the hero holds the three ways: one baize block, the scenes in wells on the table, no white cards ----- */
.site .hero-home { padding-bottom: 56px; }
.site .hero-home .wrap.ways-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--chip-line); }
.site .hero-home .way { background: none; box-shadow: none; border-radius: 0; overflow: visible; color: var(--ink); }
.site .hero-home .way:hover { box-shadow: none; color: var(--ink); }
.site .hero-home .way:hover .go { text-decoration-thickness: 2.5px; }
.site .hero-home .way .art { height: 124px; border-radius: 14px; background: rgba(0,0,0,.17); box-shadow: inset 0 2px 6px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.05); }
.site .hero-home .way .art::after { display: none; }
.site .hero-home .way .txt { padding: 18px 0 0; }
.site .hero-home .way h3 { color: var(--ink); font-size: 21px; }
.site .hero-home .way p { color: var(--ink2); }
.site .hero-home .way .go { color: var(--ink); }
@media (max-width: 899px) { .site .hero-home .wrap.ways-row { grid-template-columns: 1fr; gap: 28px; } .site .hero-home .way { flex-direction: row; gap: 20px; align-items: center; } .site .hero-home .way .art { width: 42%; min-height: 0; height: 120px; flex: none; } .site .hero-home .way .txt { padding: 0; } }
/* build: from 600 to 899 the well is at least as wide as its scene (the board is 232, the friend's 223); from 900 to
   1023 the hero's phone column is 328, so the phone is 320 there (380 hung 12 past the frame at 900). */
@media (max-width: 899px) { .site .hero-home .way .art { width: max(42%, 248px); } }
@media (min-width: 900px) and (max-width: 1023px) { .site .hero-home .phone { --pw: 320px; } }
@media (max-width: 599px) { .site .hero-home { padding-bottom: 40px; } .site .hero-home .wrap.ways-row { margin-top: 40px; padding-top: 32px; gap: 24px; } .site .hero-home .way { flex-direction: column; align-items: stretch; gap: 0; } .site .hero-home .way .art { width: auto; height: 116px; } .site .hero-home .way .txt { padding: 14px 0 0; } }

/* ----- D. the live band: one desktop screen, no dead space, the same height for every hand ----- */
.site .sect.live { padding: 56px 0; background: radial-gradient(80% 120% at 50% -30%, var(--ground-light) 0%, var(--ground) 48%, var(--ground-2) 100%); }
.site .sect.live .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 640px; grid-template-areas: "head tbl" "count tbl"; gap: 0 64px; align-items: center; }
.site .live .lhead { grid-area: head; align-self: end; }
.site .live .lcount { grid-area: count; align-self: start; }
.site .live .tbl { grid-area: tbl; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.site .live .lhead h2 { color: var(--ink); font-size: 34px; }
.site .live .lhead .lede { margin-top: 12px; color: var(--ink2); font-size: 18px; line-height: 1.5; max-width: 46ch; }
.site .live .tape { margin-top: 24px; font-size: 18px; line-height: 1.45; font-weight: 700; color: var(--ink); height: calc(3 * 1.45em); overflow: hidden; max-width: 52ch; }
.site .live .tape .q { color: var(--ink2); font-weight: 600; }
.site .live .pills { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; height: 114px; overflow: hidden; align-content: flex-start; }
.site .live .pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 11px 0 12px; border-radius: 17px; background: var(--chip); box-shadow: inset 0 0 0 1px var(--chip-line); color: var(--ink2); font-size: 14.5px; font-weight: 700; opacity: 0; transition: opacity .25s ease, background .25s ease, color .25s ease; }
.site .live .pill.on { opacity: 1; }
.site .live .pill.lit { background: var(--paper); color: var(--paper-ink); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.site .live .pill .k { font-weight: 800; }
.site .live .pill .cs { display: flex; gap: 4px; } /* build: 4, the lint's least gap between two drawn boxes (the mock's 3 read as touching) */
.site .live .pill .cs .chip { height: 22px; font-size: 13px; padding: 0 5px; }
.site .live .pill .cs .chip + .chip { margin-left: 0; }
.site .live .pill b { font-weight: 800; }
.site .live .acts { margin-top: 24px; }
.site .live .peg-board { max-width: 640px; width: 100%; }
.site .live .score { gap: 28px; }
.site .live .hand .grp .lab { color: var(--ink2); }
.site .live .pc { transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease; }
.site .live .pc.lit { transform: translateY(-8px); }
@media (max-width: 1199px) { .site .sect.live .wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "tbl" "count"; gap: 28px 0; } .site .live .tbl { align-items: stretch; } .site .live .peg-board { max-width: 640px; } .site .live .tape { margin-top: 0; } }
@media (max-width: 599px) { .site .live .pills { height: 194px; } .site .live .pill { gap: 6px; padding: 0 9px 0 10px; font-size: 14px; } .site .live .pc.lg { width: 52px; height: 73px; border-radius: 6px; } .site .live .hand { gap: 6px; } .site .live .hand .grp .cs { gap: 5px; } .site .live .acts .btn { flex: 1 1 100%; } .site .live .lhead h2 { font-size: 28px; } .site .live .tape { font-size: 17px; height: calc(4 * 1.45em); } }
/* build: the pills box holds the longest hand of the rotation in every width, measured (qa-live.mjs fails on a
   pill out of the box): three rows from 1280, where the text column is 496 wide; from 1200 to 1279 the board
   column narrows to 560 so the text column keeps that width; five rows on phones (the mock's four left the
   longest hands' last pills under the box's edge at 360 and 390). */
@media (min-width: 1200px) and (max-width: 1279px) { .site .sect.live .wrap { grid-template-columns: minmax(0, 1fr) 560px; gap: 0 56px; } }
@media (prefers-reduced-motion: reduce) { .site .live .pc, .site .live .pc.lit, .site .live .pill { transition: none; transform: none; } }

/* ----- E. the tools: two sheets; the demo line is a sentence ----- */
.site .toolcard .demo .dt { font-weight: 600; }

/* ----- F. the moments sit on baize, like every screenshot on the site ----- */
.site .band-baize .moment h3 { color: var(--ink); }
.site .band-baize .moment p { color: var(--ink2); }
.site .band-baize .moment li { color: var(--ink); }

/* ----- G. the course and the rules people ask about share one linen band; rows, not cards ----- */
.site .course .lessons .row.first { background: none; box-shadow: none; border-radius: 0; padding: 9px 0; border-bottom: 1px solid var(--page-line); }
.site .course .wrap.asked-wrap { display: block; margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--paper-line); }
.site .asked { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 8px; }
.site .asked a { display: block; padding: 16px 0; border-top: 1px solid var(--page-line); text-decoration: none; color: var(--paper-ink); }
.site .asked a b { display: block; font-size: 18px; font-weight: 800; line-height: 1.25; }
.site .asked a span { display: block; font-size: 15px; color: var(--paper-ink2); margin-top: 4px; line-height: 1.45; }
.site .asked a:hover b { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) { .site .asked { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .site .course .wrap.asked-wrap { margin-top: 40px; padding-top: 36px; } }

/* ----- H. related pages and the hub's featured link: entries, not cards ----- */
.site .related .cards { gap: 0 32px; }
.site .related .lcard { background: none; box-shadow: none; border-radius: 0; padding: 16px 0 4px; border-top: 1px solid var(--page-line); min-height: 0; }
.site .related .lcard:hover { box-shadow: none; }
.site .related .lcard:hover b { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 599px) { .site .related .cards { gap: 0; } }

/* ----- I. the hand exhibit: a nineteen hand fills its right column; a long hand goes wide, lines in two columns ----- */
.site .hx .hx-lines .note { font-size: 15.5px; color: var(--paper-ink2); line-height: 1.5; max-width: 34ch; padding: 4px 8px; }
.site .hx .hx-lines .note b { color: var(--paper-ink); }
.site .hx.long { grid-template-columns: 1fr; }
.site .hx.long .hx-cards { flex-direction: row; align-items: center; gap: 28px; }
.site .hx.long .hx-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 20px; align-self: auto; }
@media (max-width: 599px) { .site .hx.long .hx-cards { flex-direction: column; align-items: flex-start; gap: 12px; } .site .hx.long .hx-lines { grid-template-columns: 1fr; } }

/* ----- J. the two short pages: a phone at the top of the rail ----- */
.site .rail .phone { --pw: 240px; margin: 0 auto 8px; }
.site .rail .phone .scr img { width: 100%; height: auto; }
.site .phone-narrow { display: none; }
@media (max-width: 1199px) { .site .phone-narrow { display: flex; justify-content: center; margin: 8px 0 32px; } .site .phone-narrow .phone { --pw: 240px; } }

/* Cards v4, direction D (D130 to D134; lib/cards.ts draws the faces from the app's cardGeometry.ts). A card 70 wide or
   more shows the full face, the real deck's pips; a smaller one the small face, one centred pip; both carry one corner
   index of 13. A card the stylesheet shrinks on a phone carries both faces and shows the one that fits. Sizes (D126):
   md and lg 72 x 101, xl 96 x 135, sm 40 x 56 (site.css); on a phone md and lg 52 x 73, the six-card slot 46 x 66, a
   play strip's and a throw's 44 x 63, the discard example's 40 x 56, the best throw's and the home previews' 38 x 54.
   Loaded last. */
.site .pc.md, .site .pc.lg { border-radius: 6px; }
.site .pc.two .f-small { display: none; }
@media (max-width: 599px) {
  .site .pc.md, .site .pc.lg, .site .pc.xl { width: 52px; height: 73px; border-radius: 6px; }
  .site .pc.two .f-wide { display: none; }
  .site .pc.two .f-small { display: block; }
}

/* The six slots stay one row at 72 wide: the discard tool's column is 520 (six cards and their gaps, 472, inside
   its 24 padding), the counter's stays 480. */
.site .toolpage.six { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); }
@media (max-width: 1199px) { .site .toolpage.six { grid-template-columns: minmax(0, 1fr); } }

/* Home's tool previews: six cards in a card half the frame wide, so under 1200 they take the small face at 38 x 54
   (a phone's preview fits 296 at 360). */
@media (max-width: 1199px) {
  .site .toolcard .demo .pc.md { width: 38px; height: 54px; border-radius: 4px; }
  .site .toolcard .demo .pc.two .f-wide { display: none; }
  .site .toolcard .demo .pc.two .f-small { display: block; }
}

/* The friend scene's two backs stay the size of the well they sit in. */
.site .scene-friend .fan .pc { width: 56px; height: 80px; }

/* A play strip of six (Pagat's first count) fits 480 at 600 wide with 8 between. */
@media (max-width: 899px) { .site .strip { gap: 8px; } }

/* The hand exhibit: at 72 wide, five cards take 391 of the column, which left the sheet's lines too little room
   beside them (a fifteen of three wrapped at 1440); the cards and the total go on top, the lines under them, as a
   long hand's already do (D123). */
.site .hx { grid-template-columns: minmax(0, 1fr); }
.site .hx .hx-cards { flex-direction: row; align-items: center; gap: 28px; }
.site .hx .hx-lines { align-self: auto; }
@media (max-width: 599px) { .site .hx .hx-cards { flex-direction: column; align-items: flex-start; gap: 12px; } }
