/* ScorePad HQ — shared styles for every page and every game. */

:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #f0ede5;
  --ink: #1d1f1e;
  --ink-2: #545955;
  --ink-3: #8a8f8a;
  --line: #e2ded4;
  --accent: #2f6f62;
  --accent-ink: #ffffff;
  --accent-soft: #e2efe9;
  --win: #b7791f;
  --win-soft: #fbf1dc;
  --danger: #a23b2f;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(20, 20, 15, .05), 0 4px 16px rgba(20, 20, 15, .05);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141615;
    --surface: #1c1f1e;
    --surface-2: #232726;
    --ink: #ecebe6;
    --ink-2: #b4b8b2;
    --ink-3: #7f847e;
    --line: #2f3432;
    --accent: #6cbfa8;
    --accent-ink: #0d1a16;
    --accent-soft: #1e332d;
    --win: #e6b35a;
    --win-soft: #33291a;
    --danger: #e0806f;
    --shadow: none;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

img, svg { display: block; max-width: 100%; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 680px; }

/* ---------- header / footer ---------- */

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }

.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand svg { width: 26px; height: 26px; }

.site-nav { display: flex; gap: 18px; font-size: 15px; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

.site-footer { margin-top: 72px; border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-3); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.foot-sheets { padding-right: 32px; }
.foot-brand { border-left: 1px solid var(--line); padding-left: 32px; min-width: 170px; }
.sheet-links { columns: 4 130px; column-gap: 24px; }
.site-footer .sheet-links li { break-inside: avoid; margin: 0; padding: 0 0 8px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.foot-base p { margin: 0; }
.site-footer h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 4px 0; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }


/* ---------- type ---------- */

h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin: 40px 0 10px; }
h2 { font-size: 22px; letter-spacing: -.01em; margin: 40px 0 10px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
.lede { color: var(--ink-2); font-size: 18px; margin: 0 0 24px; }
.muted { color: var(--ink-3); }
.prose { max-width: 680px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }

/* ---------- buttons ---------- */

.btn {
  appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1;
  padding: 12px 16px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; text-decoration: none; transition: background .15s, border-color .15s;
}
.btn:hover { border-color: var(--ink-3); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.ghost:hover { color: var(--ink); background: var(--surface-2); }
.btn.small { min-height: 36px; padding: 8px 12px; font-size: 14px; }
.btn:disabled { opacity: .45; cursor: default; }
.btn:focus-visible, input:focus-visible, .chip:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }

/* ---------- hub ---------- */

.hero {
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(160deg, var(--accent-soft), var(--bg) 70%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(36px, 7vw, 58px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: clamp(17px, 2.4vw, 20px); max-width: 34em; margin-bottom: 0; }
.hero-games { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; font-size: 14px; color: var(--ink-2); }
.hero-games a { color: var(--ink-2); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.hero-games a:hover { border-color: var(--accent); color: var(--ink); }

.hero-photo { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 2px 4px rgba(20,20,15,.06), 0 24px 48px -16px rgba(20,20,15,.35); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }

.section-head { margin: 56px 0 6px; }
.section-head h2 { font-size: clamp(26px, 4.5vw, 34px); letter-spacing: -.025em; margin: 0 0 4px; }
.section-head p { margin: 0; color: var(--ink-2); }

.game-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; padding: 0; list-style: none; margin: 22px 0 0; grid-auto-rows: 1fr; }
.game-list li { display: flex; }
.game-list .game-card { width: 100%; }
.game-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s, transform .15s, box-shadow .15s; }
.game-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 28px -10px rgba(20,20,15,.25); }
.gc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.game-emoji { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 22px; background: var(--accent-soft); flex: none; }
.game-card h3 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.game-card p { margin: 0; font-size: 15px; }
.game-card .gc-about { color: var(--ink); }
.game-card .gc-tool { color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.game-card .exp { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.game-card .tag { display: block; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--accent); font-weight: 700; }
.game-card .exp { margin-bottom: 12px; }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 22px 0 0; }
.points div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.points .pe { font-size: 26px; display: block; margin-bottom: 8px; }
.points h3 { margin: 0 0 4px; font-size: 16px; }
.points p { margin: 0; color: var(--ink-2); font-size: 15px; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 36px; padding-bottom: 48px; }
  .hero-photo { aspect-ratio: 16 / 10; }
}

/* ---------- scorer shell ---------- */

.scorer { margin-top: 20px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.panel + .panel { margin-top: 14px; }
.panel h2 { margin: 0 0 4px; font-size: 19px; }
.panel .hint { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }

.label { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 0 0 10px; }

/* expansion chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 14px; cursor: pointer; font-size: 15px; user-select: none; min-height: 42px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip .box { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--ink-3); display: grid; place-items: center; flex: none; }
.chip .box svg { width: 12px; height: 12px; opacity: 0; color: var(--accent-ink); }
.chip.on { border-color: var(--accent); background: var(--accent-soft); }
.chip.on .box { background: var(--accent); border-color: var(--accent); }
.chip.on .box svg { opacity: 1; }
.chip.disabled { opacity: .45; cursor: default; }
.opt-notes { margin: 10px 0 0; font-size: 14px; color: var(--ink-3); }
.opt-notes span + span::before { content: " · "; }

/* players */
.player-rows { display: grid; gap: 8px; }
.player-row { display: flex; gap: 8px; align-items: center; }
.player-row .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.text-in {
  flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface-2); border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 11px 12px; min-height: 44px;
}
.text-in:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.icon-btn { appearance: none; border: 0; background: transparent; color: var(--ink-3); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: none; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.recent-names { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.recent-names button { appearance: none; font: inherit; font-size: 14px; border: 1px dashed var(--line); background: transparent; color: var(--ink-2); border-radius: 999px; padding: 5px 11px; cursor: pointer; }
.recent-names button:hover { border-color: var(--accent); color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.actions .spacer { flex: 1; }

.resume { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; }
.resume p { margin: 0; font-size: 15px; }

/* ---------- guided step ---------- */

.step-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.step-count { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.progress { height: 4px; background: var(--surface-2); border-radius: 4px; overflow: hidden; margin-bottom: 18px; }
.progress span { display: block; height: 100%; background: var(--accent); transition: width .25s; }

.step-title { font-size: 26px; letter-spacing: -.02em; margin: 0 0 6px; }
.step-prompt { margin: 0 0 20px; color: var(--ink-2); }

.entry-list { display: grid; gap: 10px; }
.entry { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; background: var(--surface-2); border-radius: var(--radius-sm); }
.entry .who { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 9px; }
.entry .who .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.entry .calc { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; min-width: 2.5em; text-align: right; }

.stepper { display: flex; align-items: center; gap: 4px; flex: none; }
.stepper button { appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); width: 38px; height: 38px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; touch-action: manipulation; }
.stepper button:hover { color: var(--ink); border-color: var(--ink-3); }
.num {
  width: 64px; text-align: center; font: inherit; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 7px 4px; min-height: 44px;
}
.num:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.num::placeholder { color: var(--ink-3); font-weight: 400; }

.field-grid { display: grid; gap: 10px; --cell: 58px; --pts: 48px; }
.field-head, .field-row { display: grid; gap: 6px; align-items: center; }
.field-head { font-size: 12px; font-weight: 600; color: var(--ink-3); text-align: center; padding: 0 8px 0 14px; }
.field-head span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field-head :first-child { text-align: left; }
.field-row { background: var(--surface-2); border-radius: var(--radius-sm); padding: 8px 8px 8px 14px; }
.field-row .num { width: 100%; font-size: 18px; }
.field-row .who { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 9px; min-width: 0; }
.field-row .who .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.field-row .calc { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; }
.field-grid.wide .field-head { padding-left: 8px; }
.field-grid.wide .field-row { padding-left: 8px; }
.field-grid.wide .field-row .who { grid-column: 1 / -1; padding: 2px 0 2px 4px; }
.field-grid.wide .field-row .calc { grid-row: 2; grid-column: -2; }

.emo { display: inline-block; margin-right: 6px; font-style: normal; }
.step-title .emo { margin-right: 10px; }

.holder-list { display: grid; gap: 8px; }
.holder { appearance: none; font: inherit; font-weight: 600; color: var(--ink); text-align: left; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1.5px solid transparent; background: var(--surface-2); cursor: pointer; }
.holder .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.holder .holder-pts { margin-left: auto; color: var(--accent); font-variant-numeric: tabular-nums; }
.holder:hover { border-color: var(--line); }
.holder.on { border-color: var(--accent); background: var(--accent-soft); }
.holder.none { color: var(--ink-2); font-weight: 500; }
.hold-cell { appearance: none; font: inherit; font-weight: 700; color: var(--accent); width: 44px; height: 40px; border-radius: 50%; border: 1.5px dashed var(--line); background: transparent; cursor: pointer; }
.hold-cell:hover { border-color: var(--ink-3); }
.hold-cell.on { border: 1.5px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius-sm); width: 52px; }
.mini-calc { display: block; font-size: 12px; color: var(--accent); font-weight: 600; min-height: 14px; margin-top: 2px; }
.target-row { display: flex; align-items: center; gap: 14px; }
.target-row .num { flex: none; }

.step-nav { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.step-nav .spacer { flex: 1; }
.kbd-hint { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
kbd { font-family: var(--mono); font-size: 12px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 5px; background: var(--surface); }

/* ---------- score sheet ---------- */

.result-banner { display: flex; align-items: center; gap: 14px; background: var(--win-soft); border: 1px solid color-mix(in srgb, var(--win) 35%, transparent); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; }
.result-banner svg { width: 34px; height: 34px; color: var(--win); flex: none; }
.result-banner .big { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.result-banner .small { font-size: 14px; color: var(--ink-2); }
.result-banner.pending { background: var(--surface-2); border-color: var(--line); }
.result-banner.pending svg { color: var(--ink-3); }

.sheet-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
table.sheet { border-collapse: separate; border-spacing: 0; width: 100%; font-variant-numeric: tabular-nums; }
.sheet th, .sheet td { padding: 6px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.sheet tbody tr:last-child th, .sheet tbody tr:last-child td { border-bottom: 0; }
.sheet thead th { position: sticky; top: 0; background: var(--surface); font-size: 15px; padding: 12px 6px 10px; vertical-align: bottom; min-width: 76px; }
.sheet .pname { display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 700; max-width: 110px; margin: 0 auto; }
.sheet .pname span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.sheet .pname .dot { width: 10px; height: 10px; border-radius: 50%; }
.sheet th.rowlabel { position: sticky; left: 0; z-index: 1; background: var(--surface); text-align: left; font-weight: 600; font-size: 15px; padding-left: 14px; min-width: 132px; max-width: 170px; }
.sheet thead th.rowlabel { z-index: 2; }
.sheet th.rowlabel button { appearance: none; border: 0; background: none; font: inherit; color: inherit; padding: 0; cursor: pointer; text-align: left; }
.sheet th.rowlabel button:hover { color: var(--accent); }
.sheet th.rowlabel .sub { display: block; font-weight: 400; font-size: 12px; color: var(--ink-3); }
.sheet tr.subrow th.rowlabel { font-weight: 400; font-size: 13px; color: var(--ink-2); padding-left: 26px; }
.sheet tr.subrow .num { font-size: 15px; min-height: 36px; padding: 4px; width: 52px; font-weight: 600; }
.sheet .num { width: 60px; font-size: 17px; min-height: 40px; }
.sheet td.calc { font-weight: 700; color: var(--accent); font-size: 17px; }
.sheet tr.offset th.rowlabel { color: var(--ink-2); }
.sheet tr.total th, .sheet tr.total td { background: var(--surface-2); font-size: 20px; font-weight: 800; padding-top: 12px; padding-bottom: 12px; border-bottom: 0; }
.sheet tr.total th.rowlabel { font-size: 15px; font-weight: 700; }
.sheet tr.rank td { font-size: 13px; color: var(--ink-3); padding-top: 6px; padding-bottom: 10px; }
.sheet tr.tiebreak th.rowlabel { color: var(--win); }
.sheet .win { background: var(--win-soft) !important; }
.sheet thead th.win { box-shadow: inset 0 3px 0 var(--win); }
.sheet tr.total td.win { color: var(--win); }
.crown { display: block; width: 18px; height: 18px; color: var(--win); }
.crown svg { width: 100%; height: 100%; }

.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.sheet-actions .spacer { flex: 1; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 10; }
.toast.show { opacity: 1; }

/* ---------- history ---------- */

.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.history li { display: flex; align-items: center; gap: 12px; background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 8px 10px 14px; }
.history .h-main { flex: 1; min-width: 0; }
.history .h-date { font-size: 13px; color: var(--ink-3); }
.history .h-line { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history .h-line b { color: var(--win); }

/* ---------- guide content below the tool ---------- */

.guide { margin-top: 56px; }
.score-table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; }
.score-table th, .score-table td { text-align: left; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.score-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-weight: 600; }
.score-table td:first-child { font-weight: 600; white-space: nowrap; padding-right: 16px; }
.score-table td { color: var(--ink-2); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

.crumbs { font-size: 14px; color: var(--ink-3); margin-top: 28px; }
.crumbs a { color: var(--ink-3); }

@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-sheets { padding-right: 0; }
  .foot-brand { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 20px; }
  .sheet-links { columns: 2; }
  .site-nav { gap: 14px; font-size: 14px; }
  .panel { padding: 16px; }
  .step-title { font-size: 22px; }
  .entry { padding-left: 12px; }
  .stepper button { width: 36px; height: 36px; }
  .num { width: 56px; }
  .field-grid { --cell: 52px; --pts: 32px; }
  .field-head, .field-row { gap: 5px; }
  .field-head { font-size: 11px; padding-left: 10px; }
  .field-row { padding-left: 10px; }
  .field-row .num { font-size: 17px; padding-left: 2px; padding-right: 2px; }
  .sheet th.rowlabel { min-width: 112px; padding-left: 10px; }
  .sheet .num { width: 52px; }
  .sheet thead th { min-width: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

@media print {
  .site-header, .site-footer, .sheet-actions, .guide, .crumbs, .scorer-intro { display: none; }
  .sheet-scroll { border: 0; box-shadow: none; }
  .num { border: 0; }
}
