/* Roll to 10K - accessible, large-type, high-contrast design system.
   Principles: big readable text, generous spacing, >=56px tap targets,
   reduced-motion aware. Mobile-clean by default. */

:root {
  /* Brand palette (from the Roll to 10K brand guidelines) */
  --bg: #081A3D;          /* darkest navy - page background */
  --bg-2: #0E2A5C;        /* deep blue - surfaces, keys, inputs */
  --card: #0E2A5C;        /* deep blue - cards */
  --ink: #F4F6FB;         /* near-white - text */
  --ink-dim: #9FCBFF;     /* muted sky */
  --accent: #FFC61A;      /* gold ("10K") - primary accent, scores */
  --accent-drop: #B07E00; /* gold solid drop (chunky button edge) */
  --accent-ink: #081A3D;  /* navy text on gold */
  --accent2: #3FB4FF;     /* sky blue ("Roll") - secondary accent */
  --royal: #1E6FE0;       /* royal blue - interactive */
  --royal-drop: #124A99;
  --midnight: #04102A;    /* Midnight outline */
  --good: #3FAE1F;
  --good-drop: #2B7714;
  --bad: #C81E26;
  --bad-drop: #8F1219;
  --line: #244A86;        /* blue border */
  --surface-drop: #051230;/* solid drop under dark controls */
  --radius: 18px;
  --tap: 56px;
  --font-scale: 1; /* bumped by the text-size toggle */
  /* Six brand dice colors (used for player colors) */
  --c-red: #C81E26; --c-orange: #FF7A12; --c-yellow: #FFC61A;
  --c-green: #3FAE1F; --c-blue: #1E6FE0; --c-purple: #6B22C9;
  --display: "Lilita One", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 500;
  background:
    radial-gradient(1200px 800px at 50% -12%, #123a7a 0%, transparent 60%) no-repeat,
    var(--bg);
  color: var(--ink);
  font-size: calc(19px * var(--font-scale));
  line-height: 1.45;
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
}

/* Lilita One (the chunky wordmark font) for headlines, scores, and big numbers. */
h1, h2, h3, .game-code, .turn-banner .who, .entry-display, .lb .score,
.stat .big, .key {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.app {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 16px 90px;
}

/* ---- top bar ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(11, 16, 32, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.game-code {
  font-weight: 800;
  letter-spacing: 3px;
  font-size: calc(22px * var(--font-scale));
  color: var(--accent);
}
/* The game code is not shown in the header during play (it was cropped); it lives next to the
   in-game leaderboard instead, where there is room to read it. */
#game-code-pill { display: none; }
.icon-btn {
  flex: 0 0 auto;
  min-height: var(--tap);
  padding: 0 18px;
  white-space: nowrap;
  font-size: calc(17px * var(--font-scale));
  font-weight: 800;
  color: var(--ink);
  background: var(--bg-2);
  border: 2px solid var(--midnight);
  border-radius: 13px;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--surface-drop);
}
.icon-btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--surface-drop); }
.topbar-right { display: flex; gap: 8px; flex: 0 0 auto; }
/* On the home/pre-game screens there is no game, so hide the Home button and the code pill. */
.topbar:not(.ingame) #btn-home,
.topbar:not(.ingame) #game-code-pill { display: none; }

/* ---- home hero / logo ---- */
/* Kept compact so the whole home screen fits without scrolling on a phone. */
.hero { text-align: center; margin: 4px 0 2px; }
.hero .logo { width: min(216px, 54vw); height: auto; display: inline-block; }
.hero .tagline {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: calc(20px * var(--font-scale));
  color: var(--accent);
  letter-spacing: 0.5px;
}

/* ---- headings & text ---- */
h1 { font-size: calc(40px * var(--font-scale)); margin: 10px 0 2px; line-height: 1.1; }
h2 { font-size: calc(27px * var(--font-scale)); margin: 22px 0 10px; }
h3 { font-size: calc(21px * var(--font-scale)); margin: 16px 0 8px; }
.sub { color: var(--ink-dim); margin: 0 0 18px; }
.sub.small { font-size: calc(16px * var(--font-scale)); margin: 0 0 12px; }
.muted { color: var(--ink-dim); }
.center { text-align: center; }

/* ---- cards ---- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin: 14px 0;
}

/* ---- buttons: chunky, tactile, Midnight outline + solid drop (like the wordmark) ---- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  padding: 14px 18px;
  font-family: var(--body);
  font-size: calc(21px * var(--font-scale));
  font-weight: 900;
  color: var(--ink);
  background: var(--royal);
  border: 2.5px solid var(--midnight);
  border-radius: 16px;
  cursor: pointer;
  margin: 8px 0 11px;
  box-shadow: 0 5px 0 var(--royal-drop);
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--royal-drop); }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 5px 0 var(--accent-drop); }
.btn.primary:active { box-shadow: 0 0 0 var(--accent-drop); }
.btn.good { background: var(--good); color: #05270f; box-shadow: 0 5px 0 var(--good-drop); }
.btn.good:active { box-shadow: 0 0 0 var(--good-drop); }
.btn.bad { background: var(--bad); color: #fff; box-shadow: 0 5px 0 var(--bad-drop); }
.btn.bad:active { box-shadow: 0 0 0 var(--bad-drop); }
.btn.ghost { background: var(--bg-2); box-shadow: 0 5px 0 var(--surface-drop); }
.btn.ghost:active { box-shadow: 0 0 0 var(--surface-drop); }
.btn.small { min-height: var(--tap); font-size: calc(16px * var(--font-scale)); font-weight: 800; width: auto; padding: 8px 16px; margin: 4px 4px 9px; border-radius: 13px; box-shadow: 0 4px 0 var(--surface-drop); }
.btn.small:active { transform: translateY(4px); box-shadow: 0 0 0 var(--surface-drop); }
.btn.small.primary { box-shadow: 0 4px 0 var(--accent-drop); }
.btn.small.bad { box-shadow: 0 4px 0 var(--bad-drop); }
/* Buttons sitting side by side stretch to a shared height so neighbours always match. */
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.row > .btn { flex: 1; }
.nowrap { white-space: nowrap; }
/* Add-a-player row: input and its Add button stay on one line (input shrinks, button hugs). */
.add-row { flex-wrap: nowrap; }
.add-row input { flex: 1 1 auto; width: auto; min-width: 0; }
.add-row .btn { flex: 0 0 auto; }

/* ---- inputs ---- */
label { display: block; font-weight: 700; margin: 12px 0 6px; }
input[type="text"], input[type="number"], input[type="password"], select {
  width: 100%;
  min-height: var(--tap);
  padding: 12px 14px;
  font-size: calc(20px * var(--font-scale));
  color: var(--ink);
  background: var(--bg-2);
  border: 2px solid var(--line);
  border-radius: 14px;
}
input:focus, select:focus, .btn:focus-visible, .icon-btn:focus-visible, .key:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---- keypad ---- */
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0; }
.key {
  min-height: 72px;
  font-size: calc(32px * var(--font-scale));
  color: var(--ink);
  background: var(--bg-2);
  border: 2.5px solid var(--midnight);
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--surface-drop);
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}
.key:active { transform: translateY(5px); box-shadow: 0 0 0 var(--surface-drop); }
.key.wide { grid-column: span 2; }
.entry-display {
  text-align: center;
  font-size: calc(56px * var(--font-scale));
  font-weight: 900;
  padding: 10px;
  color: var(--accent);
  min-height: 80px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.chip {
  min-height: var(--tap);
  padding: 8px 14px;
  font-size: calc(16px * var(--font-scale));
  font-weight: 800;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
}
.chip:active { transform: scale(0.96); }

/* ---- leaderboard ---- */
.lb { list-style: none; margin: 0; padding: 0; }
.lb li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 14px;
  margin: 8px 0;
  background: var(--bg-2);
}
.lb li.current { border-color: var(--accent2); box-shadow: 0 0 0 3px rgba(63,180,255,0.35); }
.lb .pchip {
  width: 30px; height: 30px; flex: 0 0 auto;
  border-radius: 9px;
  background: var(--pc, var(--royal));
  border: 2.5px solid var(--midnight);
  box-shadow: inset -3px -3px 0 rgba(0,0,0,0.18);
}
.lb .rank { font-size: calc(22px * var(--font-scale)); width: 24px; color: var(--ink-dim); }
.lb .name { flex: 1; font-size: calc(21px * var(--font-scale)); font-weight: 800; }
.lb .score { font-size: calc(28px * var(--font-scale)); color: var(--accent); }
.lb .badge { font-size: calc(14px * var(--font-scale)); color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 2px 10px; font-weight: 800; }
.reorder-btns { display: inline-flex; gap: 8px; flex: 0 0 auto; }
.reorder-btns .btn { min-width: 48px; padding-left: 10px; padding-right: 10px; }
.reorder-btns .btn[disabled] { opacity: 0.35; }
.pbar { flex-basis: 100%; height: 9px; background: var(--bg); border-radius: 999px; overflow: hidden; border: 1px solid var(--midnight); }
.pbar > i { display: block; height: 100%; border-radius: 999px; transition: width 0.3s ease; }

/* ---- target stepper ---- */
/* The big number sits on its own line (easy to read) with the +/- 500 buttons below it. */
.stepper { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 12px; }
.stepper input {
  width: 100%; text-align: center; font-family: var(--display);
  font-size: calc(32px * var(--font-scale)); min-height: 64px;
}
.stepper-btns { display: flex; gap: 10px; }
.stepper-btns .btn { flex: 1; min-width: 0; min-height: var(--tap); margin: 0; font-size: calc(18px * var(--font-scale)); }

/* ---- role switcher ---- */
.roles { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.roles-label { font-weight: 800; color: var(--ink-dim); }
.roles-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.roles-btns .btn { margin: 2px; }

/* ---- turn-of ---- */
.turn-banner {
  text-align: center;
  background: var(--card);
  border: 2px solid var(--accent2);
  border-radius: var(--radius);
  padding: 16px;
  margin: 14px 0;
}
.turn-banner .who { font-size: calc(34px * var(--font-scale)); font-weight: 900; }
/* Compact scoring layout: a tighter banner + keypad so more of the page is usable. */
.turn-banner.compact { padding: 10px 14px; margin: 6px 0 10px; }
.turn-banner.compact .who { font-size: calc(28px * var(--font-scale)); }
.score-card { padding: 12px 14px; margin: 10px 0; }
.score-card .keypad { gap: 8px; margin: 2px 0 8px; }
.score-card .keypad .key { min-height: 52px; font-size: calc(28px * var(--font-scale)); }
/* Small, readable game-code chip beside the in-game leaderboard heading. */
.code-chip {
  font-family: var(--body); font-weight: 800; font-size: calc(14px * var(--font-scale));
  color: var(--accent); background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 12px; letter-spacing: 1px; vertical-align: middle;
  margin-left: 8px; white-space: nowrap;
}
.score-card .btn { margin: 8px 0 6px; min-height: 56px; }
.score-card .row { margin-top: 2px; }
.resume-card { border-color: var(--accent); }
/* Scoring screen scrolls as a normal page: calculator at the top, leaderboard below. Nothing is
   pinned, so the user scrolls between them freely. */
.open-hint {
  margin-top: 8px;
  display: inline-block;
  background: rgba(63, 180, 255, 0.15);
  color: var(--accent2);
  border: 1px solid var(--accent2);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: calc(15px * var(--font-scale));
  font-weight: 700;
}

/* ---- stats ---- */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat {
  background: var(--bg-2);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.stat .big { font-size: calc(30px * var(--font-scale)); font-weight: 900; color: var(--accent); }
.stat .lbl { color: var(--ink-dim); font-size: calc(15px * var(--font-scale)); }

/* ---- join / QR ---- */
.qr-wrap { text-align: center; }
.qr-wrap img { width: 240px; height: 240px; border-radius: 16px; background: #fff; padding: 10px; }
.sharelink {
  word-break: break-all;
  background: var(--bg-2);
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 12px;
  font-size: calc(16px * var(--font-scale));
}

/* ---- bracket ---- */
.print-logo { display: none; }
.losers-title { text-align: center; color: var(--ink-dim); margin: 18px 0 4px; font-size: calc(16px * var(--font-scale)); }
.bracket { display: flex; gap: 22px; overflow-x: auto; padding: 10px 2px 20px; }
.bracket .round { display: flex; flex-direction: column; justify-content: space-around; gap: 16px; min-width: 230px; }
.bracket .round h4 { text-align: center; color: var(--ink-dim); margin: 0 0 6px; }
.match {
  background: var(--bg-2);
  border: 2.5px solid var(--midnight);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 0 var(--surface-drop);
}
.match .side {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; font-size: calc(18px * var(--font-scale)); font-weight: 800;
  border-bottom: 2px solid var(--midnight);
}
.match-tag {
  background: var(--midnight); color: var(--ink-dim);
  font-size: calc(12px * var(--font-scale)); font-weight: 800; letter-spacing: 0.3px;
  text-transform: uppercase; padding: 4px 12px; border-bottom: 2px solid var(--midnight);
}
.side-score { color: var(--accent); font-weight: 900; margin-left: 6px; }
.match-head { text-align: center; }
.match-vs { font-family: var(--display); font-size: calc(24px * var(--font-scale)); color: var(--accent2); margin: 2px 0; }
.resume-card .row { flex-wrap: wrap; gap: 8px; }
.match .side:last-child { border-bottom: none; }
.match .side.win { color: var(--accent); }
.match .side.empty { color: var(--ink-dim); font-weight: 400; font-style: italic; }
.match .actions { display: flex; flex-direction: column; gap: 7px; padding: 9px; border-top: 2px solid var(--midnight); }
.match .actions .btn { margin: 0; width: 100%; min-height: 46px; font-size: calc(15px * var(--font-scale)); box-shadow: 0 3px 0 var(--surface-drop); white-space: nowrap; }
.match .actions .btn.primary { box-shadow: 0 3px 0 var(--accent-drop); }
.match .actions .btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--surface-drop); }
.edit-setup { border: 2px dashed var(--line); }
.pred-champ { margin: 10px 0 0; color: var(--accent); font-size: calc(17px * var(--font-scale)); }
.warn-note {
  margin: 10px 0 0; padding: 10px 12px; border-radius: 10px;
  background: rgba(255,198,26,0.12); border: 2px solid var(--accent);
  color: var(--ink); font-size: calc(15px * var(--font-scale));
}

/* ---- full-screen page header (Help, Rules, About, Privacy, editor) ---- */
.page-head { display: flex; align-items: center; gap: 12px; margin: 8px 0 10px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
/* Prominent yellow back button in the upper left. */
.back-btn {
  width: auto; flex: 0 0 auto; margin: 0;
  min-height: var(--tap); padding: 8px 20px;
  font-size: calc(18px * var(--font-scale)); border-radius: 13px;
  box-shadow: 0 4px 0 var(--accent-drop);
}
.back-btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--accent-drop); }

/* ---- footer (home screen) ---- */
.footer { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; }
.footer-links { display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--ink-dim); }
.linkbtn {
  background: none; border: none; cursor: pointer;
  color: var(--accent2); font-family: var(--body); font-weight: 800;
  font-size: calc(16px * var(--font-scale)); padding: 8px 6px; text-decoration: underline;
  min-height: var(--tap);
}
.linkbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.footer-copy { color: var(--ink-dim); font-size: calc(14px * var(--font-scale)); margin: 6px 0 0; }

/* ---- toast ---- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: var(--card); color: var(--ink);
  border: 2px solid var(--accent); border-radius: 14px;
  padding: 14px 20px; font-weight: 700; z-index: 50; max-width: 90vw; text-align: center;
}

#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 40; }

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .btn, .key { transition: none; }
}

/* ---- print: bracket on a single landscape letter page, with the logo ---- */
@media print {
  body { background: #fff; color: #000; }
  .topbar, #confetti, #toast, .no-print, h2, .lb { display: none !important; }
  .app { max-width: none; padding: 0; }
  .print-logo { display: block !important; width: 230px; height: auto; margin: 0 auto 6px; }
  .bracket {
    overflow: visible;
    justify-content: center;
    align-items: stretch;
    gap: 14px;
    page-break-inside: avoid;
  }
  .bracket .round { min-width: 0; flex: 1 1 0; gap: 10px; }
  .bracket .round h4 { color: #000; font-size: 12px; }
  /* White match boxes with black text so nothing is dark-on-dark on paper. */
  .match { border: 2px solid #000; box-shadow: none; background: #fff; }
  .match .side { border-color: #000; background: #fff; color: #000; min-height: 38px; font-size: 13px; padding: 7px 10px; }
  .match .side.win { color: #000; font-weight: 900; }
  .match .side.empty { color: #555; }
  /* Blank printable bracket: show the back/print controls' siblings hidden, keep both brackets. */
  .losers-title { display: block !important; color: #000; font-size: 12px; text-align: center; margin: 10px 0 4px; }
  .bracket.losers { page-break-inside: avoid; }
  @page { size: letter landscape; margin: 0.4in; }
}

/* ---- Shop (Amazon Associates dice links) ---- */
.affnote-text { color: var(--ink-dim); font-size: calc(14px * var(--font-scale)); line-height: 1.5; margin: 4px 2px 8px; }
.affnote-text strong { color: var(--ink); }
.shop-list { display: grid; gap: 12px; margin: 4px 0 18px; }
.shop-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--ink);
  cursor: pointer;
}
.shop-card:hover, .shop-card:focus-visible { border-color: var(--accent2); box-shadow: 0 0 0 3px rgba(63,180,255,0.25); }
.shop-thumb { flex: 0 0 auto; display: flex; align-items: center; }
.shop-thumb img { width: 52px; height: 52px; object-fit: contain; margin-left: -14px; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.35)); }
.shop-thumb img:first-child { margin-left: 0; }
.shop-thumb img.shop-photo { width: 84px; height: 84px; margin: 0; border-radius: 10px; background: #fff; padding: 5px; filter: none; }
.shop-body { display: flex; flex-direction: column; min-width: 0; }
.shop-title { font-family: var(--display); font-size: calc(21px * var(--font-scale)); color: var(--accent); }
.shop-desc { margin: 4px 0 0; color: var(--ink); font-size: calc(16px * var(--font-scale)); }

/* ---- Printable rules cheat sheet (screen preview + print) ---- */
.cs-logo { display: block; width: 300px; max-width: 70%; height: auto; margin: 4px auto 10px; }
.rules-sheet { background: #fff; color: #111; border-radius: 16px; padding: 22px 26px; margin: 0 0 18px; }
.cs-h { font-family: var(--display); color: #081A3D; text-align: center; margin: 2px 0 14px; font-size: 26px; }
.cs-rules { margin: 0; padding-left: 22px; }
.cs-rules li { margin: 0 0 10px; line-height: 1.5; font-size: 17px; }
.cs-rules strong { color: #081A3D; }
.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cs-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 2px solid #D7E0F0; border-radius: 12px; padding: 8px 12px; background: #fff;
}
.cs-dice { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; }
.cs-die { width: 42px; height: 42px; object-fit: contain; }
.cs-val { font-family: var(--display); color: #081A3D; font-size: 22px; text-align: right; white-space: nowrap; }
.cs-note { display: block; font-family: var(--body); font-weight: 700; color: #5A6B86; font-size: 11px; text-transform: lowercase; white-space: normal; max-width: 150px; margin-left: auto; line-height: 1.25; }
.cs-foot { text-align: center; color: #5A6B86; font-size: 13px; margin: 14px 0 0; }

@media print {
  /* Cheat sheet prints portrait; each sheet is its own page. Named page so it does not inherit the
     bracket's landscape @page. Override the global print rule that hides h2. */
  @page cheatsheet { size: letter portrait; margin: 0.5in; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  /* Break BEFORE the second sheet only - using page-break-after on each sheet leaves a trailing
     blank third page. */
  .rules-sheet { page: cheatsheet; padding: 0; margin: 0; border-radius: 0; }
  .rules-sheet + .rules-sheet { page-break-before: always; break-before: page; }
  .rules-sheet .cs-h { display: block !important; }
  .cs-logo { width: 1.9in; margin: 0 auto 0.12in; }
  .cs-h { font-size: 20px; margin: 0 0 0.12in; }
  .cs-rules li { font-size: 13.5px; margin-bottom: 7px; }
  .cs-grid { gap: 8px; }
  .cs-card { page-break-inside: avoid; break-inside: avoid; padding: 5px 9px; }
  /* Small enough that even the six-die combos stay on one line, so no row wraps or spills. */
  .cs-die { width: 0.33in; height: 0.33in; }
  .cs-dice { gap: 1px; }
  .cs-val { font-size: 16px; }
  .cs-note { font-size: 9px; max-width: 1.3in; }
  .cs-foot { font-size: 10px; margin-top: 0.1in; }
}

/* Setup-screen game-length estimate */
.est-card { border-color: var(--accent); }
.est-card h3 { margin-top: 0; }
.est-big {
  font-family: "Lilita One", system-ui, sans-serif;
  font-size: 30px; line-height: 1.1; color: var(--accent);
  margin: 2px 0 8px;
}
.est-note { font-size: 13px; margin-top: 8px; opacity: 0.85; }
