/* Deal Me Again · mono neo-brutalism: paper, ink, one acid lime.
   Tokens first (light, then dark twice: following the phone, and picked with
   the toggle; keep both dark blocks in step). Components use only tokens. */

@font-face {
  font-family: "Archivo";
  src: url(/fonts/archivo-wdth.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #EBEBEB;
  --surface: #FFFFFF;
  --sunk: #D9D9D9;
  --ink: #000000;
  --ink-2: #4A4A45;
  --line: #000000;
  --lime: #D4FF1A;
  --lime-edge: #000000;
  --inv: #000000;
  --on-inv: #FFFFFF;
  --on-inv-2: #BDBDB5;
  --danger: #B3261E;
  --scrim: rgba(0, 0, 0, .55);
  --bw: 2px;
  --pad: 16px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #000000; --surface: #151515; --sunk: #262626; --ink: #F2F2EC; --ink-2: #ABABA3; --line: #F2F2EC;
    --lime-edge: #D4FF1A; --inv: #F2F2EC; --on-inv: #000000; --on-inv-2: #4A4A45; --danger: #FF8A80; --scrim: rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000; --surface: #151515; --sunk: #262626; --ink: #F2F2EC; --ink-2: #ABABA3; --line: #F2F2EC;
  --lime-edge: #D4FF1A; --inv: #F2F2EC; --on-inv: #000000; --on-inv-2: #4A4A45; --danger: #FF8A80; --scrim: rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink) var(--bg); }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink);
  font: 400 16px/1.45 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left);
  padding-top: var(--banner-h, 0px); /* the no-signal banner pushes the page down */
}
::selection { background: var(--lime); color: #000; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.lime :focus-visible, .lime:focus-visible { outline-color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; }
#app { outline: none; }
.sprite { display: none; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--surface); color: var(--ink); padding: 12px 14px; border: var(--bw) solid var(--line); z-index: 50; }
.skip:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---- type ---- */
.d { font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: .88; letter-spacing: 0; text-wrap: balance; }
.num { font-variant-numeric: tabular-nums; }
.cap { font-stretch: 80%; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.muted { color: var(--ink-2); }
.i, .icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.icon.sm, .sm > .i { width: 20px; height: 20px; }
.prose p + p { margin-top: 10px; }
.link { font-weight: 700; text-underline-offset: 4px; }

/* ---- app shell ---- */
.app { max-width: 480px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }
.bar {
  position: sticky; top: var(--banner-h, 0px); z-index: 10;
  display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) var(--pad) 10px;
  background: var(--bg); border-bottom: var(--bw) solid var(--line);
}
/* the banner already covers the notch */
.offline .bar { padding-top: 10px; }
.offline .site .top { padding-top: 0; }
.bar h1 { font-size: 34px; flex: 1; min-width: 0; padding-top: 3px; overflow-wrap: anywhere; }
.bar .sub { display: block; font: 600 13px/1.2 var(--font); font-stretch: 85%; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); margin-bottom: 2px; }
.bar .mark { flex: 1; }
.ib {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center;
  background: none; border: 0; padding: 0; text-decoration: none; color: inherit;
}
.sq {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center;
  background: var(--surface); color: var(--ink); border: var(--bw) solid var(--line); padding: 0; text-decoration: none;
}
.sq.pro-on { background: var(--lime); color: #000; border-color: var(--lime-edge); }
main.page { flex: 1; padding: var(--pad) var(--pad) 32px; display: flex; flex-direction: column; gap: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head h2 { font-size: 26px; }
.section-head a { font-weight: 700; text-underline-offset: 4px; min-height: 44px; display: grid; place-items: center; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.mark { text-decoration: none; display: flex; flex-direction: column; padding-top: 4px; color: inherit; width: max-content; }
.mark b { font-size: 34px; line-height: .8; }
.mark span { font-size: 12px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; margin-top: 3px; }

/* ---- buttons ---- */
.btn {
  min-height: 56px; padding: 0 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--surface); color: var(--ink); border: var(--bw) solid var(--line);
  font-weight: 800; font-stretch: 75%; font-size: 19px; text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none; white-space: nowrap; text-align: center;
  transition: transform .08s ease-out, box-shadow .08s ease-out;
}
.btn.lime, .btn-primary { background: var(--lime); color: #000; border-color: var(--lime-edge); box-shadow: 4px 4px 0 var(--line); }
.btn.lime:active, .btn-primary:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--line); }
.btn.inv { background: var(--inv); color: var(--on-inv); border-color: var(--inv); }
.btn-secondary { background: var(--surface); }
.btn-danger { background: var(--surface); color: var(--danger); border-color: var(--danger); }
.btn-ghost { background: none; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; padding: 0 8px; }
.btn.block, .btn-block { width: 100%; }
.btn.small { min-height: 48px; font-size: 16px; padding: 0 16px; }
.btn:active { transform: translate(2px, 2px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"]::after { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.iconbtn { width: 48px; height: 48px; display: inline-grid; place-items: center; border: 0; background: none; color: inherit; padding: 0; }

.dock {
  position: sticky; bottom: 0; z-index: 10;
  padding: 14px var(--pad) calc(14px + env(safe-area-inset-bottom));
  background: var(--bg); border-top: var(--bw) solid var(--line);
}
.dock-in { display: flex; gap: 10px; padding-right: 4px; }
.dock-in .btn.lime { flex: 1; min-width: 0; }
.dock .sq { width: 56px; height: 56px; }

/* ---- small parts ---- */
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: var(--bw) solid var(--line); background: var(--surface); }
.tabs button {
  min-height: 48px; border: 0; border-left: var(--bw) solid var(--line); background: none; padding: 0 8px;
  font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; font-size: 15px;
}
.tabs button:first-child { border-left: 0; }
.tabs button[aria-selected="true"], .tabs button[aria-pressed="true"] { background: var(--inv); color: var(--on-inv); }
.chip {
  display: inline-flex; align-items: center; gap: 4px; min-height: 26px; padding: 0 8px;
  background: var(--lime); color: #000;
  font-weight: 800; font-stretch: 80%; font-size: 13px; text-transform: uppercase; letter-spacing: .05em;
}
.chip.outline { background: var(--surface); color: var(--ink); border: var(--bw) solid var(--line); }
.box, .card { background: var(--surface); border: var(--bw) solid var(--line); }
.card { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.card[hidden] { display: none; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-head h2 { font-size: 26px; font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: .9; }
.badge { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 8px; background: var(--lime); color: #000; font-weight: 800; font-stretch: 80%; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.paper { background: #fff; color: #000; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.note .i { margin-top: 1px; }
.note a { font-weight: 700; text-underline-offset: 3px; display: inline-block; padding: 12px 0; margin: -12px 0; }
.empty { border: var(--bw) dashed var(--line); padding: 20px 16px; text-align: center; color: var(--ink-2); }
.empty b { display: block; color: var(--ink); font-size: 26px; margin-bottom: 6px; }

.step { display: flex; align-items: stretch; border: var(--bw) solid var(--line); background: var(--surface); flex: none; }
.step button { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; padding: 0; }
.step button[disabled] { opacity: .35; cursor: default; }
.step output { min-width: 44px; display: grid; place-items: center; font-size: 28px; padding: 4px 4px 0; border-left: var(--bw) solid var(--line); border-right: var(--bw) solid var(--line); }
.step.big button { width: 48px; height: 48px; }
.switch { width: 72px; height: 44px; border: var(--bw) solid var(--line); background: var(--surface); position: relative; padding: 0; flex: none; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 32px; height: 32px; background: var(--ink-2); transition: left .12s ease-out; }
.switch[aria-checked="true"] { background: var(--lime); border-color: var(--lime-edge); }
.switch[aria-checked="true"]::after { left: 34px; background: #000; }
.numfield { width: 96px; height: 48px; border: var(--bw) solid var(--line); background: var(--bg); text-align: right; padding: 4px 10px 0; font-size: 28px; border-radius: 0; }
.numfield.wide { width: 120px; }
.numfield:focus-visible { outline-offset: 0; background: var(--surface); }
.select { min-height: 48px; max-width: 60%; border: var(--bw) solid var(--line); background: var(--surface); font-weight: 700; padding: 0 10px; border-radius: 0; }

/* ---- form fields (sign-in, builder) ---- */
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.field .hint { color: var(--ink-2); font-size: 14px; }
.field .error { color: var(--danger); font-size: 15px; font-weight: 700; }
.input { width: 100%; min-height: 52px; padding: 10px 14px; border: var(--bw) solid var(--line); background: var(--surface); font-size: 18px; border-radius: 0; }
.input:focus-visible { outline-offset: 0; }
.input[aria-invalid="true"] { border-color: var(--danger); }
textarea.input { min-height: 150px; padding-top: 12px; resize: vertical; line-height: 1.4; }
/* a row of choices (radio buttons that look like the tabs) */
.choice { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice legend { font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; padding: 0; margin-bottom: 6px; }
.choice label { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border: var(--bw) solid var(--line); background: var(--surface); font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.choice input:checked + span { background: var(--inv); color: var(--on-inv); }
.choice input:focus-visible + span { outline: 3px solid var(--line); outline-offset: 2px; }
/* the field only bots fill: off screen, never focusable */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- sheet (dialog) ---- */
.sheet {
  border: var(--bw) solid var(--line); padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); width: 100%; max-width: 480px;
  margin: auto auto 0; background: var(--bg); color: var(--ink); max-height: 90dvh; overflow: auto; box-shadow: 0 -6px 0 var(--lime);
}
.sheet::backdrop { background: var(--scrim); }
.sheet[open] { animation: rise .18s ease-out; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sheet-head h2 { font-size: 30px; font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: .9; padding-top: 3px; }
.sheet .stack { gap: 10px; }
.pick { width: 100%; min-height: 56px; display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: var(--surface); border: var(--bw) solid var(--line); text-align: left; text-decoration: none; }
.pick b { display: block; font-size: 17px; }
.pick small { display: block; color: var(--ink-2); font-size: 14px; }
.pick > span { flex: 1; min-width: 0; }
.pick[aria-pressed="true"] { background: var(--lime); color: #000; border-color: var(--lime-edge); }
.pick[aria-pressed="true"] small { color: #000; }
@media (min-width: 700px) { .sheet { margin: auto; box-shadow: 8px 8px 0 var(--line); } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }

/* ---- toast, offline ---- */
.toasts { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 440px); z-index: 40; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; background: var(--inv); color: var(--on-inv); border: var(--bw) solid var(--inv); font-weight: 700; animation: rise .18s ease-out; box-shadow: 4px 4px 0 var(--lime); }
.toast.error { background: var(--surface); color: var(--danger); border-color: var(--danger); box-shadow: 4px 4px 0 var(--danger); }
.toast .btn-ghost { color: inherit; min-height: 44px; margin-left: auto; font-size: 16px; }
.offline-banner { position: fixed; left: 0; right: 0; top: 0; z-index: 30; padding: calc(6px + env(safe-area-inset-top)) 16px 6px; background: var(--lime); color: #000; text-align: center; font-weight: 700; font-size: 14px; border-bottom: var(--bw) solid #000; }
.noscript { padding: 16px; }

/* ---- pick a game ---- */
.resume { background: var(--inv); color: var(--on-inv); padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.resume .t { font-size: 30px; }
.resume p { color: var(--on-inv-2); font-size: 15px; grid-column: 1; }
.resume .btn { grid-row: 1 / span 2; grid-column: 2; min-height: 48px; padding: 0 16px; font-size: 17px; }
.resume .k { font-weight: 700; color: var(--on-inv); }
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.game[hidden] { display: none; }
.game { position: relative; display: flex; flex-direction: column; background: var(--surface); border: var(--bw) solid var(--line); text-decoration: none; color: inherit; }
.game .art { aspect-ratio: 1 / .82; background: var(--sunk); border-bottom: var(--bw) solid var(--line); display: grid; place-items: center; overflow: hidden; }
.game .art svg { width: 100%; height: 100%; }
.game .chip { position: absolute; top: 8px; left: 8px; }
.game .meta { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 10px 12px 12px; }
.game h3 { font-size: 25px; padding-top: 4px; }
.game p { font-size: 14px; line-height: 1.3; color: var(--ink-2); grid-column: 1; }
.game .go { grid-row: 1 / span 2; grid-column: 2; align-self: end; width: 44px; height: 44px; display: grid; place-items: center; background: var(--inv); color: var(--on-inv); }
.game.own { border-style: dashed; }
.game.own .go { background: var(--surface); color: var(--ink); border: var(--bw) solid var(--line); }
.game.own.unlocked .go { background: var(--lime); color: #000; border-color: var(--lime-edge); }
.ac { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.al { fill: var(--lime); stroke: var(--line); stroke-width: 2; }
:root[data-theme="dark"] .al { stroke: #000; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .al { stroke: #000; } }
.ap { fill: var(--ink); }
.lp { fill: #000; }
.at { fill: var(--ink); font: 900 52px var(--font); font-stretch: 62%; }
.ad { stroke: var(--line); stroke-width: 2; }
.links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.links .pick { justify-content: space-between; }

/* ---- players and table rules ---- */
.gamebox { display: flex; align-items: center; gap: 12px; padding: 12px; }
.gamebox .t { flex: 1; min-width: 0; }
.gamebox h2 { font-size: 28px; }
.gamebox p { font-size: 15px; color: var(--ink-2); }
.gamebox a, .gamebox button.link { font-weight: 700; text-underline-offset: 4px; min-height: 48px; display: grid; place-items: center; padding: 0 8px; background: none; border: 0; text-decoration: underline; }
.team { background: var(--surface); border: var(--bw) solid var(--line); }
.team-head { display: flex; align-items: center; gap: 12px; padding: 12px; border-bottom: var(--bw) solid var(--line); }
.team-head:last-child { border-bottom: 0; }
.badge-l { width: 48px; height: 48px; flex: none; display: grid; place-items: center; background: var(--inv); color: var(--on-inv); font-size: 30px; padding-top: 4px; }
.team-name { flex: 1; min-width: 0; min-height: 48px; border: 0; background: none; padding: 4px 0 0; font-size: 28px; border-radius: 0; }
.team-name::placeholder { color: var(--ink-2); opacity: 1; }
.team-name:focus-visible { outline-offset: 0; }
.prow { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-bottom: var(--bw) solid var(--line); }
.prow:last-child { border-bottom: 0; }
.prow input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: none; font-size: 18px; font-weight: 500; padding: 0; border-radius: 0; }
.prow input::placeholder { color: var(--ink-2); opacity: 1; }
.prow .tag { color: var(--ink-2); font-size: 14px; font-weight: 600; white-space: nowrap; }
.prow .ib { color: var(--ink-2); }
.add { width: 100%; min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: none; border: 0; font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.add-team { border: var(--bw) dashed var(--line); justify-content: center; min-height: 56px; }
.vs { text-align: center; font-size: 22px; color: var(--ink-2); margin: -4px 0; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: var(--bw) solid var(--line); min-height: 68px; }
.setting:last-child { border-bottom: 0; }
.setting .lbl { font-weight: 600; min-width: 0; }
.setting .lbl small { display: block; font-weight: 400; font-size: 14px; color: var(--ink-2); }
.melds { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--bw) solid var(--line); }
.melds > div { padding: 8px 4px 10px; text-align: center; border-left: var(--bw) solid var(--line); border-top: var(--bw) solid var(--line); }
.melds > div:nth-child(-n+4) { border-top: 0; }
.melds > div:nth-child(4n+1) { border-left: 0; }
.melds .cap { font-size: 12px; color: var(--ink-2); display: block; }
.melds b { font-size: 26px; display: block; padding-top: 2px; }
.melds input { width: 100%; max-width: 72px; height: 44px; margin-top: 2px; text-align: center; font-size: 22px; border: var(--bw) solid var(--line); background: var(--bg); border-radius: 0; }
.locked { display: flex; align-items: center; gap: 12px; padding: 12px; border-top: var(--bw) solid var(--line); text-decoration: none; }
.locked span { flex: 1; font-size: 15px; }
.locked b { display: block; font-size: 16px; }
.melds + .setting, .melds + .locked { border-top: var(--bw) solid var(--line); }
.box > .locked:first-child { border-top: 0; }
.toggle { min-height: 48px; min-width: 104px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border: var(--bw) solid var(--line); background: var(--surface); font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: .03em; font-size: 14px; }
.toggle .i { width: 18px; height: 18px; display: none; }
.toggle[aria-pressed="true"] { background: var(--lime); color: #000; border-color: var(--lime-edge); }
.toggle[aria-pressed="true"] .i { display: block; }
.quick .numfield { width: 84px; }

/* ---- round entry ---- */
.progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.progress span { height: 10px; border: var(--bw) solid var(--line); background: var(--surface); }
.progress .done { background: var(--inv); border-color: var(--inv); }
.progress .now { background: var(--lime); border-color: var(--lime-edge); }
.progress-label { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 15px; }
.progress-label b { font-weight: 700; }
.board { display: grid; grid-template-columns: 1fr 1fr; border: var(--bw) solid var(--line); background: var(--surface); }
.board.many { grid-template-columns: repeat(3, 1fr); }
.side { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; border-left: var(--bw) solid var(--line); border-top: var(--bw) solid var(--line); }
.board > .side:nth-child(2n+1) { border-left: 0; }
.board > .side:nth-child(-n+2) { border-top: 0; }
.board.many > .side { border-left: var(--bw) solid var(--line); border-top: var(--bw) solid var(--line); }
.board.many > .side:nth-child(3n+1) { border-left: 0; }
.board.many > .side:nth-child(-n+3) { border-top: 0; }
.side .who { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.side .who span { overflow: hidden; text-overflow: ellipsis; }
.side .total { font-size: 64px; }
.board.many .side .total { font-size: 44px; }
.side .note { font-size: 14px; color: var(--ink-2); display: block; }
.side.lead { background: var(--lime); color: #000; }
.side.lead .note { color: #000; font-weight: 600; }
.entry { border: var(--bw) solid var(--line); background: var(--surface); }
.entry-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--inv); color: var(--on-inv); }
.entry-head h2 { flex: 1; font-size: 28px; padding-top: 3px; min-width: 0; overflow-wrap: anywhere; }
.entry-head .cap { color: var(--on-inv-2); }
.line { display: grid; grid-template-columns: 1fr auto 64px; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: var(--bw) solid var(--line); min-height: 68px; }
.line .lbl { font-weight: 600; line-height: 1.25; min-width: 0; }
.line .lbl small { display: block; font-weight: 400; font-size: 14px; color: var(--ink-2); }
.line .pts { text-align: right; font-size: 26px; padding-top: 3px; }
.line .pts.neg { color: var(--ink-2); }
.sum { display: flex; align-items: center; justify-content: space-between; padding: 12px; gap: 12px; }
.sum .cap { color: var(--ink-2); }
.sum .big { font-size: 48px; }
.sum .after { text-align: right; font-size: 15px; color: var(--ink-2); }
.sum .after b { display: block; color: var(--ink); font-size: 30px; }
.other { display: flex; align-items: center; gap: 12px; padding: 4px 6px 4px 12px; border: var(--bw) solid var(--line); background: var(--surface); text-align: left; width: 100%; min-height: 64px; }
.other .ok { width: 28px; height: 28px; flex: none; display: grid; place-items: center; background: var(--inv); color: var(--on-inv); }
.other .ok.todo { background: none; border: var(--bw) dashed var(--line); }
.other .t { flex: 1; font-weight: 700; min-width: 0; }
.other .t small { display: block; font-weight: 400; color: var(--ink-2); font-size: 14px; }
.other .v { font-size: 30px; padding-top: 3px; }
.others { display: flex; flex-direction: column; gap: 8px; }
.quick { border: var(--bw) solid var(--line); background: var(--surface); }
.quick .qrow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: var(--bw) solid var(--line); min-height: 64px; }
.quick .qrow:last-child { border-bottom: 0; }
.quick .qrow .who { font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.quick .qrow .who small { display: block; font-weight: 400; color: var(--ink-2); font-size: 14px; }
.quick .qrow .ctl { display: flex; align-items: center; gap: 10px; }
.problem { border: var(--bw) solid var(--danger); color: var(--danger); padding: 10px 12px; font-weight: 700; background: var(--surface); }

.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.rounds { width: 100%; border-collapse: collapse; background: var(--surface); border: var(--bw) solid var(--line); font-variant-numeric: tabular-nums; }
.rounds th, .rounds td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.rounds th:first-child, .rounds td:first-child { text-align: left; }
.rounds thead th { font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; border-bottom: var(--bw) solid var(--line); max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
.rounds tbody td { font-size: 17px; }
.rounds td.win { font-weight: 800; }
.rounds tr.pending td { color: var(--ink-2); font-style: italic; }
.rounds tfoot td { font-size: 26px; font-weight: 900; font-stretch: 62%; border-top: var(--bw) solid var(--line); border-bottom: 0; padding-top: 12px; }
.mini-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
.mini-actions button { min-height: 44px; background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ---- final ---- */
.poster { background: var(--lime); color: #000; border: var(--bw) solid var(--lime-edge); box-shadow: 6px 6px 0 var(--line); padding: 18px 16px 16px; }
.poster .crown { width: 44px; height: 44px; stroke-width: 2.2; }
.poster h2 { font-size: 84px; line-height: .84; margin-top: 12px; overflow-wrap: anywhere; }
.poster h2.long { font-size: 60px; }
.poster .score { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 14px; padding-top: 12px; border-top: var(--bw) solid #000; }
.poster .score b { font-size: 56px; }
.poster .score span { font-size: 17px; font-weight: 600; }
.poster p { margin-top: 6px; font-size: 16px; font-weight: 500; }
.stand { border: var(--bw) solid var(--line); background: var(--surface); }
.stand > div { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; }
.stand > div + div { border-top: var(--bw) solid var(--line); }
.stand .place { font-size: 36px; }
.stand .n { font-weight: 700; font-size: 18px; min-width: 0; overflow-wrap: anywhere; }
.stand .n small { display: block; font-weight: 400; color: var(--ink-2); font-size: 14px; }
.stand .v { font-size: 34px; padding-top: 3px; }
.stand .runner { color: var(--ink-2); }
.facts { border: var(--bw) solid var(--line); background: var(--surface); margin: 0; }
.facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px; }
.facts > div + div { border-top: 1px solid var(--line); }
.facts dt { color: var(--ink-2); flex: none; }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.actions .btn { padding: 0 12px; }

/* ---- the paper sheet (stays white in both themes, like a printout) ---- */
.sheet-wrap { background: var(--sunk); border: var(--bw) solid var(--line); padding: 20px 18px; }
.paper-sheet { padding: 18px 16px 16px; box-shadow: 0 10px 24px rgba(0,0,0,.18), 0 2px 4px rgba(0,0,0,.12); min-height: 0; aspect-ratio: 8.5 / 11; display: flex; flex-direction: column; overflow: hidden; }
.paper-sheet .st { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; border-bottom: 3px solid #000; padding-bottom: 8px; }
.paper-sheet .st h3 { font-size: 30px; min-width: 0; }
.paper-sheet .st span { font-size: 11px; text-align: right; line-height: 1.3; flex: none; max-width: 40%; }
.paper-sheet table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-top: 10px; font-size: 13px; table-layout: fixed; }
.paper-sheet th { text-align: right; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: 6px 4px; border-bottom: 2px solid #000; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.paper-sheet td { text-align: right; padding: 0 4px; border-bottom: 1px solid #000; height: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.paper-sheet td + td, .paper-sheet th + th { border-left: 1px solid #000; }
.paper-sheet th:first-child, .paper-sheet td:first-child { text-align: left; }
.paper-sheet th.label, .paper-sheet td.label { text-align: left; }
.paper-sheet tfoot td { font-weight: 900; font-stretch: 62%; font-size: 18px; border-bottom: 0; border-top: 3px solid #000; height: 32px; }
.paper-sheet .won { background: #D4FF1A; font-weight: 800; }
.paper-sheet .notes { margin-top: 10px; font-size: 10px; line-height: 1.35; columns: 1; }
.paper-sheet .notes.two { columns: 2; column-gap: 12px; }
.paper-sheet .ft { margin-top: auto; display: flex; justify-content: space-between; gap: 8px; font-size: 11px; border-top: 1px solid #000; padding-top: 6px; }
.paper-sheet .ft b { font-weight: 900; font-stretch: 62%; font-size: 13px; text-transform: uppercase; }
.paper-sheet.dense td { height: 18px; font-size: 11px; }
.paper-sheet.dense .notes { font-size: 9px; }

/* ---- history, groups, builder, pro ---- */
.list { border: var(--bw) solid var(--line); background: var(--surface); }
.item { display: flex; align-items: center; gap: 12px; padding: 10px 6px 10px 12px; border-bottom: var(--bw) solid var(--line); text-decoration: none; color: inherit; min-height: 64px; }
.item:last-child { border-bottom: 0; }
.item .t { flex: 1; min-width: 0; }
.item .t b { display: block; font-size: 22px; padding-top: 2px; }
.item .t small { display: block; color: var(--ink-2); font-size: 14px; overflow-wrap: anywhere; }
.item .v { text-align: right; font-weight: 700; font-size: 14px; max-width: 45%; }
.item .v .chip { margin-bottom: 2px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--bw) solid var(--line); background: var(--surface); }
.stats > div { padding: 10px 12px 12px; border-left: var(--bw) solid var(--line); min-width: 0; }
.stats > div:first-child { border-left: 0; }
.stats b { display: block; font-size: 40px; overflow-wrap: break-word; }
.stats b.fs24 { font-size: 22px; line-height: 1; }
.stats small { display: block; color: var(--ink-2); font-size: 13px; overflow-wrap: anywhere; }
.leaders > div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--line); align-items: baseline; }
.leaders > div:first-child { border-top: 0; }
.leaders .n { font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.leaders .w { font-size: 26px; }
.leaders small { color: var(--ink-2); font-size: 14px; }
.bline { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; padding: 12px; border-bottom: var(--bw) solid var(--line); }
.bline:last-child { border-bottom: 0; }
.bline .input { min-height: 48px; font-size: 17px; }
.bline .ctl { display: flex; gap: 8px; align-items: center; grid-column: 1 / -1; flex-wrap: wrap; }
.bline .ctl .tabs { flex: 1; min-width: 200px; }
.plan-card { border: var(--bw) solid var(--line); background: var(--surface); padding: 18px 16px; display: flex; flex-direction: column; gap: 16px; }
.plan-card.pro { background: var(--lime); color: #000; border-color: var(--lime-edge); box-shadow: 8px 8px 0 var(--line); }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; border-bottom: var(--bw) solid currentColor; padding-bottom: 12px; }
.plan-top b { font-size: 40px; }
.plan-top span { font-size: 56px; }
.plan-card.pro .btn { background: #000; color: #fff; border-color: #000; box-shadow: none; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; }
.ticks .i { margin-top: 1px; }
.have { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--lime); color: #000; border: var(--bw) solid var(--lime-edge); font-weight: 700; }

/* ---- landing (the site) ---- */
.site .wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.site .top { border-bottom: var(--bw) solid var(--line); padding-top: env(safe-area-inset-top); }
.site .top .wrap { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.site .top .mark { margin-right: auto; }
.site .nav { display: none; gap: 4px; }
.site .nav a { min-height: 48px; display: grid; place-items: center; padding: 0 14px; text-decoration: none; font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.site .top .btn { min-height: 48px; font-size: 16px; padding: 0 16px; }
.hero .wrap { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 40px; }
.hero .hero-big { font-size: clamp(76px, 22vw, 152px); line-height: .84; }
.hero-side { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; }
.hero-side .hero-lede { font-size: 18px; line-height: 1.4; max-width: 34ch; font-weight: 400; }
.goto { width: 72px; height: 72px; display: grid; place-items: center; background: var(--lime); color: #000; border: var(--bw) solid var(--lime-edge); box-shadow: 4px 4px 0 var(--line); }
.goto .i { width: 36px; height: 36px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.ctas .btn { flex: 1 1 auto; }
.demo { border: var(--bw) solid var(--line); background: var(--surface); box-shadow: 8px 8px 0 var(--line); max-width: 460px; width: 100%; justify-self: center; }
.demo-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--inv); color: var(--on-inv); }
.demo-head b { font-size: 24px; padding-top: 3px; }
.demo-head span { font-size: 14px; color: var(--on-inv-2); font-weight: 600; }
.demo-board { display: grid; grid-template-columns: 1fr 1fr; border-bottom: var(--bw) solid var(--line); }
.demo-board > div { padding: 12px; }
.demo-board > div + div { border-left: var(--bw) solid var(--line); }
.demo-board .who { font-weight: 700; font-size: 15px; }
.demo-board .t { font-size: 56px; margin-top: 6px; }
.demo-board .lead { background: var(--lime); color: #000; }
.demo-rows div { display: grid; grid-template-columns: 1fr 64px 64px; gap: 8px; padding: 9px 12px; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--line); text-align: right; }
.demo-rows div:last-child { border-bottom: 0; }
.demo-rows span:first-child { text-align: left; color: var(--ink-2); }
.demo-rows .hd { font-weight: 700; font-stretch: 80%; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.demo-rows .hd span:first-child { color: var(--ink); }
.strip { background: var(--inv); color: var(--on-inv); }
.strip ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; max-width: 1240px; }
.strip li { padding: 18px var(--pad) 20px; border-left: var(--bw) solid var(--bg); border-top: var(--bw) solid var(--bg); }
.strip li:nth-child(odd) { border-left: 0; }
.strip li:nth-child(-n+2) { border-top: 0; }
.strip li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.strip b { display: block; font-size: 34px; }
.strip span { display: block; margin-top: 8px; font-size: 15px; color: var(--on-inv-2); }
.sec { padding: 48px 0; border-bottom: var(--bw) solid var(--line); }
.sec.lead-in { padding-bottom: 24px; border-bottom: 0; }
.sec h2 { font-size: clamp(48px, 13vw, 88px); line-height: .86; max-width: 12ch; }
.sec .lede { font-size: 18px; margin-top: 14px; max-width: 46ch; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; border: var(--bw) solid var(--line); background: var(--surface); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 16px; counter-increment: s; }
.steps li + li { border-top: var(--bw) solid var(--line); }
.steps li::before { content: counter(s); width: 56px; height: 56px; display: grid; place-items: center; background: var(--inv); color: var(--on-inv); font: 900 36px var(--font); font-stretch: 62%; padding-top: 4px; }
.steps li:last-child::before { background: var(--lime); color: #000; }
.steps b { display: block; font-size: 26px; padding-top: 4px; }
.steps p { color: var(--ink-2); margin-top: 4px; }
.print-grid { display: grid; gap: 28px; margin-top: 28px; align-items: center; }
.mini-sheets { display: flex; justify-content: center; padding: 28px 0 12px; }
.mini { width: 46%; max-width: 220px; aspect-ratio: 8.5 / 11; padding: 12px 10px; border: 1px solid #000; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.mini + .mini { margin-left: -12%; transform: rotate(5deg) translateY(10px); }
.mini:first-child { transform: rotate(-4deg); }
.mini .h4 { margin: 0 0 6px; font: 900 18px/1 var(--font); font-stretch: 62%; text-transform: uppercase; border-bottom: 2px solid #000; padding-bottom: 5px; }
.mini i { display: block; height: 14px; border-bottom: 1px solid #000; background: linear-gradient(90deg, transparent 33%, #000 33%, #000 calc(33% + 1px), transparent 0, transparent 66%, #000 66%, #000 calc(66% + 1px), transparent 0); }
.plans { display: grid; gap: 16px; margin-top: 28px; }
.plans .ticks { flex: 1; align-content: start; }
.foot { padding: 36px 0 calc(48px + env(safe-area-inset-bottom)); }
.foot .wrap { display: grid; gap: 18px; }
.install { display: flex; gap: 14px; align-items: center; border: var(--bw) solid var(--line); padding: 14px 16px; background: var(--surface); }
.install .i { width: 32px; height: 32px; }
.install b { display: block; font-size: 24px; padding-top: 3px; }
.install span { color: var(--ink-2); }
.credit { color: var(--ink-2); font-size: 15px; }

/* ---- public pages (server-rendered: game pages, score sheets, Pro, privacy) ---- */
.js #app > .prerender { display: none; }
.crumbs ol { list-style: none; margin: 0 auto; padding: 14px var(--pad) 0; max-width: 1240px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.page-hero .wrap { display: grid; gap: 20px; padding-top: 24px; padding-bottom: 40px; border-bottom: var(--bw) solid var(--line); }
.page-hero h1 { font-size: clamp(52px, 15vw, 120px); line-height: .86; max-width: 14ch; }
.page-hero .lede { font-size: 18px; line-height: 1.45; max-width: 52ch; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(40px, 10vw, 64px); max-width: none; }
.prose h3 { margin: 28px 0 10px; font-size: 20px; }
.prose p { margin-top: 14px; line-height: 1.5; max-width: 60ch; }
.prose a:not(.btn) { color: inherit; }
.facts { width: 100%; border-collapse: collapse; margin-top: 24px; background: var(--surface); border: var(--bw) solid var(--line); }
.facts caption { text-align: left; padding: 0 0 8px; color: var(--ink-2); font-size: 14px; }
.facts th, .facts td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.facts th { font-weight: 700; }
.facts td { font-variant-numeric: tabular-nums; }
.facts td small { display: block; color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.facts-note { color: var(--ink-2); }
.sources { overflow-wrap: anywhere; }
.facts-list { margin: 14px 0 0; padding-left: 1.4em; line-height: 1.6; }
.facts-list.cols { columns: 2; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.foot-links a { color: var(--ink); }
.usage-switch { margin-top: 20px; padding: 14px 16px; border: var(--bw) solid var(--line); background: var(--surface); }
.usage-switch label { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.usage-switch input { width: 22px; height: 22px; accent-color: var(--lime); }

@media (min-width: 900px) {
  .site { --pad: 32px; }
  .site .nav { display: flex; }
  .site .top .wrap { min-height: 84px; }
  .hero .wrap { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 80px; }
  .hero .hero-big { font-size: 150px; }
  .hero .hero-big span { display: block; white-space: nowrap; }
  .goto { display: none; }
  .hero-side .hero-lede { font-size: 20px; max-width: 40ch; }
  .hero-text { display: grid; gap: 32px; }
  .demo { transform: rotate(2deg); max-width: 480px; }
  .demo-board .t { font-size: 72px; }
  .demo-head b { font-size: 30px; }
  .ctas .btn { flex: 0 0 auto; }
  .strip ul { grid-template-columns: repeat(5, 1fr); }
  .strip li, .strip li:nth-child(odd) { border-top: 0; border-left: var(--bw) solid var(--bg); padding: 28px var(--pad) 32px; }
  .strip li:first-child { border-left: 0; }
  .strip li:last-child:nth-child(odd) { grid-column: auto; }
  .strip b { font-size: 40px; }
  .sec { padding: 96px 0; }
  .sec.lead-in { padding-bottom: 40px; }
  .sec-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
  .steps { margin-top: 0; }
  .print-grid { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .plans { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .foot .wrap { grid-template-columns: 1fr auto; align-items: center; }
  .page-hero .wrap { padding-top: 48px; padding-bottom: 72px; }
  .page-hero .lede { font-size: 20px; }
  .facts-list.cols { columns: 3; }

  /* app screens get a little more room on a big screen */
  .app { max-width: 560px; }
  .app.split { max-width: 1120px; }
  .app.split main.page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: 32px; }
  .app.split main.page > * { grid-column: 1; }
  .app.split main.page > .right { grid-column: 2; grid-row: 1 / span 20; position: sticky; top: calc(96px + var(--banner-h, 0px)); }
  .app.wide { max-width: 960px; }
  .app.wide .games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app.wide .game .art { aspect-ratio: 16 / 9; }
  .app.wide .links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app.wide .links .pick.span-all { grid-column: auto; }
}

/* ---- print: only the score sheet, full page ---- */
@media print {
  @page { margin: 0.4in; }
  body { background: #fff; padding: 0; }
  body * { visibility: hidden; }
  .print-me, .print-me * { visibility: visible; }
  .print-me { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none !important; aspect-ratio: auto; min-height: 9.9in; padding: 0; }
  .paper-sheet .won { background: #e2e2e2 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .bar, .dock, .toasts, .offline-banner { display: none !important; }
}

/* ---- small utilities (the CSP allows no inline styles) ---- */
.grow { flex: 1; min-width: 0; }
.inline { display: inline !important; font-size: inherit !important; color: inherit !important; margin: 0 !important; }
.fs15 { font-size: 15px; } .fs24 { font-size: 24px; padding-top: 6px; } .fs26 { font-size: 26px; } .fs28 { font-size: 28px; } .fs30 { font-size: 30px; } .fs44 { font-size: 44px; }
.ink-black { fill: #000 !important; }
.w600 { font-weight: 600; }
.gap8 { gap: 8px; }
.span-all { grid-column: 1 / -1; }
.mb12 { margin-bottom: 12px; } .mt12 { margin-top: 12px; } .mt14 { margin-top: 14px; } .mt16 { margin-top: 16px; } .mt20 { margin-top: 20px; } .my12 { margin: 12px 0; }
.tap { min-height: 44px; display: grid; place-items: center; }
.fixed { min-width: 0; flex: 0 0 auto; }
.w72 { min-width: 72px; } .w50 { width: 50%; } .w60 { width: 60%; }
.p0 { padding: 0 !important; }
.quick-note { padding: 8px 12px 12px; font-size: 14px; }
.plain { text-decoration: none; }
.paper-sheet th.col-wide { width: 22%; } .paper-sheet th.col-narrow { width: 17%; }
.paper-sheet th { font-stretch: 80%; letter-spacing: 0; }
.kit-sw { display: inline-block; width: 44px; height: 44px; border: var(--bw) solid var(--line); }
.sw-bg { background: var(--bg); } .sw-surface { background: var(--surface); } .sw-sunk { background: var(--sunk); } .sw-ink { background: var(--ink); } .sw-lime { background: var(--lime); } .sw-danger { background: var(--danger); }
