/* sundayvisit.com.au/tools/*: large print tools that work in the page (TOOLS-5DEC): a day clock, a word search
   maker and a bingo card maker. The pages are written by scripts/tool-pages/build.mjs and wear the play pages' look
   (guides.css, then play.css): the same opening, steps, cards, questions, header and footer. This file adds the
   clock, the makers' forms, the sheets they make, and what prints.

   Text 18px or more on screen (staticPageTextSize.test.ts). Every tap target is 56px or more. Every min(), max() and
   clamp() has a plain line before it for Chrome 78, and flex rows use margins, not gap. */

/* ---------- The opening ---------- */
/* On a phone the makers' pictures would push the maker down a screen: the maker itself is the picture. */
.sv-tool-picture { display: none; }
.sv-tool-picture img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-card); }
@media (min-width: 900px) {
  .sv-tool-picture { display: block; padding-top: .5rem; }
  /* The clock beside the words gets more of the width than a game's phone does. */
  .sv-tool-day-clock .sv-play-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}

/* ---------- The day clock ----------
   The clock is drawn in a fixed box (1000 by 620, or 620 by 900 on a tall screen) and day-clock.js scales the box to
   its stage, so the words keep their shape at every size. On the page the stage is a tablet's screen, with its frame;
   "Open the clock" makes it the whole screen. */
.sv-tool-clock { min-width: 0; }
.sv-clock { position: relative; }
.sv-clock-stage {
  position: relative;
  overflow: hidden;
  border: 14px solid var(--bezel);
  border-radius: 36px;
  background: #f6f1e8;
  box-shadow: 0 30px 60px -34px rgba(19, 36, 59, .6);
}
.sv-clock-stage::before { content: ""; display: block; padding-bottom: 62%; }
.sv-clock-box {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 1000px;
  height: 620px;
  padding: 0 56px;
  color: var(--ink);
  -webkit-transform: translate(-50%, -50%) scale(.4);
  transform: translate(-50%, -50%) scale(.4);
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}
.sv-clock:not(.sv-clock-ready) .sv-clock-box { visibility: hidden; }
.sv-guide .sv-clock p { max-width: none; margin: 0; }
.sv-guide .sv-clock .sv-clock-day {
  color: var(--ink);
  font: 600 200px/1 "Fraunces", var(--serif);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.sv-guide .sv-clock .sv-clock-part {
  margin-top: 4px;
  color: var(--pine);
  font: italic 500 150px/1.08 "Fraunces", var(--serif);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.sv-clock-rule { flex: none; height: 3px; margin: 34px 0 30px; background: rgba(19, 36, 59, .14); }
.sv-clock-row { display: flex; align-items: flex-end; justify-content: space-between; }
.sv-guide .sv-clock .sv-clock-time { color: var(--ink); font: 700 140px/1 var(--sans); letter-spacing: -.03em; white-space: nowrap; }
.sv-clock-suffix { margin-left: 14px; font-size: 64px; letter-spacing: 0; }
.sv-guide .sv-clock .sv-clock-date {
  max-width: 400px;
  margin-left: 40px;
  color: var(--ink-soft);
  font: 500 54px/1.15 var(--sans);
  text-align: right;
}
/* Without the time, the date takes its place, on one line. */
.sv-clock-no-time .sv-clock-time { display: none; }
.sv-guide .sv-clock-no-time .sv-clock-date { max-width: none; margin-left: 0; font-size: 72px; text-align: left; }
/* On a tall screen: the day, the part of the day, then the time with the date under it. */
.sv-clock-tall .sv-clock-box { padding: 0 48px; }
.sv-guide .sv-clock-tall .sv-clock-day { font-size: 165px; }
.sv-guide .sv-clock-tall .sv-clock-part { font-size: 128px; }
.sv-clock-tall .sv-clock-rule { margin: 40px 0 36px; }
.sv-clock-tall .sv-clock-row { display: block; }
.sv-guide .sv-clock-tall .sv-clock-time { font-size: 170px; }
.sv-guide .sv-clock-tall .sv-clock-date { max-width: none; margin: 26px 0 0; font-size: 60px; text-align: left; }
/* At night (9 pm to 6 am), when "Darker at night" is on: a deep navy face with soft cream words. */
.sv-clock-dark .sv-clock-stage { background: #0f1c2e; }
.sv-guide .sv-clock-dark .sv-clock-day, .sv-guide .sv-clock-dark .sv-clock-time { color: #efe8dc; }
.sv-guide .sv-clock-dark .sv-clock-part { color: #93bba5; }
.sv-guide .sv-clock-dark .sv-clock-date { color: #b9b4ab; }
.sv-clock-dark .sv-clock-rule { background: rgba(239, 232, 220, .16); }
.sv-clock-noscript { padding: 1rem 0 0; color: var(--ink-soft); font-size: 1.125rem; }

/* Open: the clock is the whole screen (in full screen where the browser allows it), with Close for a few seconds
   after a tap or a move of the mouse. */
.sv-clock-close { display: none; }
.sv-clock-open {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  background: #f6f1e8;
}
.sv-clock-open.sv-clock-dark { background: #0f1c2e; }
.sv-clock-open:not(.sv-clock-controls) { cursor: none; }
.sv-clock-open .sv-clock-stage { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border: 0; border-radius: 0; box-shadow: none; }
.sv-clock-open .sv-clock-stage::before { display: none; }
.sv-clock-open .sv-clock-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 1.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(19, 36, 59, .88);
  color: #fffdf8;
  font: 600 1.25rem/1 var(--sans);
  cursor: pointer;
  opacity: 0;
  -webkit-transition: opacity .3s ease;
  transition: opacity .3s ease;
}
.sv-clock-open.sv-clock-dark .sv-clock-close { background: rgba(239, 232, 220, .18); }
.sv-clock-open.sv-clock-controls .sv-clock-close, .sv-clock-open .sv-clock-close:focus { opacity: 1; }
.sv-clock-open .sv-clock-close:focus { outline: 3px solid var(--sun); outline-offset: 3px; }
html.sv-clock-page-open, html.sv-clock-page-open body { overflow: hidden; }

/* The clock's three choices, in a row under it. */
.sv-clock-settings { display: flex; flex-wrap: wrap; align-items: flex-end; margin: .75rem 0 0 -1.5rem; }
.sv-clock-settings > * { margin: .75rem 0 0 1.5rem; }
.sv-clock-settings .sv-choice { margin: .75rem 0 0 1.5rem; }
.sv-tool-note { margin-top: 1rem; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.5; }
.sv-tool-note[hidden] { display: none; }

/* ---------- The makers' forms ---------- */
.sv-band-tool { margin-top: 2.5rem; }
.sv-maker {
  padding: 1.5rem 1rem 1.75rem;
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.sv-guide .sv-maker-heading { margin: 0; }
.sv-field { margin-top: 1.5rem; }
.sv-field label, .sv-choice legend, .sv-guide .sv-starters p {
  display: block;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font: 600 1.25rem/1.3 var(--sans);
}
.sv-guide .sv-field-hint { margin: .25rem 0 0; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.45; }
.sv-field input, .sv-field textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 56px;
  margin-top: .6rem;
  padding: .7rem 1rem;
  border: 2px solid rgba(19, 36, 59, .32);
  border-radius: 14px;
  background: #fffdf8;
  color: var(--ink);
  font: 500 1.25rem/1.4 var(--sans);
}
.sv-field textarea { min-height: 13rem; resize: vertical; }
.sv-field-short input { max-width: 9rem; }
.sv-field input:focus, .sv-field textarea:focus { border-color: var(--pine); outline: 3px solid var(--ring); outline-offset: 2px; }

/* A choice of a few: big pills, the chosen one filled. */
.sv-choice { min-width: 0; margin: 1.5rem 0 0; padding: 0; border: 0; }
.sv-choice-row { display: flex; flex-wrap: wrap; margin-left: -.6rem; }
.sv-choice-item { position: relative; margin: .6rem 0 0 .6rem; cursor: pointer; }
.sv-choice-item input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sv-choice-item span {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: #fffdf8;
  box-shadow: inset 0 0 0 2px rgba(19, 36, 59, .28);
  color: var(--ink);
  font: 600 1.1875rem/1.2 var(--sans);
}
.sv-choice-item:hover span { box-shadow: inset 0 0 0 2px var(--pine); }
.sv-choice-item input:checked + span { background: var(--pine); box-shadow: inset 0 0 0 2px var(--pine); color: #fffdf8; }
.sv-choice-item input:focus + span { outline: 3px solid var(--ring); outline-offset: 2px; }
.sv-choice-item input:focus:not(:focus-visible) + span { outline: none; }

/* A tick box, its whole line a target. */
.sv-check { display: inline-flex; align-items: center; min-height: 56px; margin-top: 1rem; color: var(--ink); font: 600 1.25rem/1.3 var(--sans); cursor: pointer; }
.sv-check input { flex: none; width: 28px; height: 28px; margin: 0 .8rem 0 0; accent-color: var(--pine); cursor: pointer; }
.sv-check input:focus { outline: 3px solid var(--ring); outline-offset: 2px; }
.sv-check input:focus:not(:focus-visible) { outline: none; }

/* Ready-made word lists. */
.sv-starters { margin-top: 1.25rem; }
.sv-starter-row { display: flex; flex-wrap: wrap; margin-left: -.6rem; }
.sv-starter {
  min-height: 56px;
  margin: .6rem 0 0 .6rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--sage);
  color: var(--ink);
  font: 600 1.1875rem/1.2 var(--sans);
  cursor: pointer;
}
.sv-starter:hover { background: #c7d7c3; }
.sv-starter:focus { outline: 3px solid var(--ring); outline-offset: 2px; }
.sv-starter:focus:not(:focus-visible) { outline: none; }

.sv-maker-go { margin-top: 1.75rem; }
.sv-maker-go .sv-play-go { width: 100%; }
.sv-maker .sv-play-go:focus, .sv-maker .sv-play-more:focus { outline: 3px solid var(--ring); outline-offset: 3px; }
.sv-maker .sv-play-go:focus:not(:focus-visible), .sv-maker .sv-play-more:focus:not(:focus-visible) { outline: none; }

/* What the maker made: a line about it, Print and the other buttons, then the sheets as they will print. */
.sv-maker-out { margin-top: 2rem; padding-top: 1.75rem; border-top: 2px solid var(--rule); }
.sv-maker-out[hidden] { display: none; }
.sv-guide .sv-maker-msg { margin: 0; font: 500 1.1875rem/1.5 var(--sans); }
.sv-maker-tools { display: flex; flex-wrap: wrap; margin: .25rem 0 0 -.75rem; }
.sv-maker-tools > * { max-width: calc(100% - .75rem); margin: .75rem 0 0 .75rem; }
.sv-maker-tools .sv-play-go, .sv-maker-tools .sv-play-more { padding: .5rem 1.5rem; white-space: normal; text-align: center; }
.sv-maker-empty .sv-maker-tools, .sv-maker-empty .sv-sheets { display: none; }
.sv-guide .sv-maker-copied { margin: .75rem 0 0; color: var(--pine); font: 600 1.125rem/1.45 var(--sans); }
.sv-maker-copied:empty { display: none; }
.sv-sheets { margin-top: 1.5rem; }

@media (min-width: 640px) {
  .sv-maker { padding: 2rem 2rem 2.25rem; }
  .sv-maker-go .sv-play-go { width: auto; }
}
/* On a wide screen the form and what it makes sit side by side. */
@media (min-width: 1040px) {
  .sv-band-tool .sv-band-inner { max-width: var(--max); }
  .sv-maker {
    display: grid;
    grid-template-columns: minmax(0, 25rem) minmax(0, 1fr);
    grid-column-gap: 3rem;
    align-items: start;
  }
  .sv-maker-heading { grid-column: 1 / -1; grid-row: 1; }
  .sv-maker .sv-tool-form { grid-column: 1; grid-row: 2; }
  .sv-maker-out { grid-column: 2; grid-row: 2; margin-top: 1.5rem; padding-top: 0; border-top: 0; }
}

/* ---------- The sheets on screen ----------
   White paper, as they print. A grid keeps every letter 18px or more: on a narrow phone a big grid scrolls sideways
   inside its sheet rather than shrink. */
.sv-sheet, .sv-bingo-card, .sv-bingo-caller {
  padding: 1.25rem .9rem;
  overflow-x: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(19, 36, 59, .1), 0 18px 40px -30px rgba(19, 36, 59, .55);
}
.sv-sheet[hidden] { display: none; }
.sv-sheet + .sv-sheet { margin-top: 1.5rem; }
.sv-guide .sv-sheet-title, .sv-guide .sv-bingo-title {
  margin: 0;
  color: var(--ink);
  font: 400 1.75rem/1.15 var(--serif);
  letter-spacing: -.01em;
  word-break: break-word;
}
.sv-guide .sv-sheet-title { text-align: center; }
.sv-guide .sv-sheet-find { margin: 1.25rem 0 0; font: 600 1.25rem/1.3 var(--sans); }
.sv-guide .sv-sheet-foot { margin: 1rem 0 0; color: var(--ink-soft); font-size: 1.125rem; text-align: center; }

/* The word search grid: square cells, the letters sized to them by word-search-maker.js. */
.sv-ws-grid {
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  box-sizing: border-box;
  width: 100%;
  min-width: calc(var(--n) * 29px + 4px);
  margin: 1.25rem auto 0;
  border: 2px solid var(--ink);
  color: var(--ink);
  font: 600 1.125rem/1 var(--sans);
  text-align: center;
}
.sv-ws-cell { position: relative; border-right: 1px solid rgba(19, 36, 59, .16); border-bottom: 1px solid rgba(19, 36, 59, .16); }
.sv-ws-cell::before { content: ""; display: block; padding-bottom: 100%; }
.sv-ws-cell span { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; }
.sv-ws-found { background: var(--sun); font-weight: 800; }
.sv-guide ul.sv-ws-list {
  margin: .5rem 0 0;
  padding: 0;
  list-style: none;
  -webkit-columns: 6.5em 3;
  columns: 6.5em 3;
  -webkit-column-gap: 1.5rem;
  column-gap: 1.5rem;
  overflow-wrap: break-word;
  font: 600 1.25rem/1.8 var(--sans);
  letter-spacing: .04em;
}
.sv-guide .sv-ws-list li { margin: 0; -webkit-column-break-inside: avoid; break-inside: avoid; }

/* Bingo: the cards one under another on a phone, two across from 640px. */
.sv-bingo-sheets { display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: 1.25rem; }
@media (min-width: 640px) {
  .sv-bingo-sheets { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sv-sheet, .sv-bingo-card, .sv-bingo-caller { padding: 1.5rem 1.25rem; }
}
.sv-bingo-caller, .sv-guide .sv-bingo-more { grid-column: 1 / -1; }
.sv-guide .sv-bingo-more { margin: 0; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.5; }
.sv-bingo-head { display: flex; align-items: baseline; justify-content: space-between; }
.sv-guide .sv-bingo-number { flex: none; margin: 0 0 0 1rem; color: var(--ink-soft); font: 600 1.125rem/1.2 var(--sans); }
.sv-bingo-grid {
  width: 100%;
  margin-top: .9rem;
  border: 3px solid var(--ink);
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--ink);
  font: 600 1.5rem/1.1 var(--sans);
  text-align: center;
}
.sv-bingo-grid th { padding: .4rem 0; border: 1px solid var(--pine); background: var(--pine); color: #fffdf8; font: 700 1.5rem/1.1 var(--sans); }
.sv-bingo-grid td { height: 3.4rem; padding: .2rem; border: 1px solid #9aa3ad; vertical-align: middle; }
.sv-bingo-card-90 .sv-bingo-grid { font-size: 1.125rem; }
.sv-bingo-card-90 .sv-bingo-grid td { height: 2.75rem; padding: 0; }
.sv-bingo-blank { background: #e6ebe5; }
.sv-bingo-free { background: #fbf3df; }
.sv-bingo-star { display: block; width: 2.2rem; height: 2.1rem; margin: 0 auto; }
.sv-bingo-star polygon { fill: var(--sun); stroke: var(--ring); stroke-width: 4; stroke-linejoin: round; }
.sv-bingo-card-words .sv-bingo-grid { font-size: 1.125rem; font-weight: 600; line-height: 1.2; word-break: break-word; -webkit-hyphens: auto; hyphens: auto; }
.sv-bingo-card-words .sv-bingo-grid td { height: 4.5rem; }
.sv-bingo-side-3 .sv-bingo-grid { font-size: 1.375rem; }
.sv-bingo-side-3 .sv-bingo-grid td { height: 6rem; }
.sv-bingo-side-4 .sv-bingo-grid { font-size: 1.25rem; }

/* The caller's sheet: every number on a board (B to O down the side for 1 to 75), or every word with a box to tick. */
.sv-bingo-board {
  width: 100%;
  min-width: 34rem;
  margin-top: 1rem;
  border: 2px solid var(--ink);
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--ink);
  font: 600 1.125rem/1 var(--sans);
  text-align: center;
}
.sv-bingo-caller-90 .sv-bingo-board { min-width: 26rem; }
.sv-bingo-board th, .sv-bingo-board td { height: 2.6rem; padding: 0; border: 1px solid #9aa3ad; }
.sv-bingo-board th { width: 2.75rem; border-color: var(--pine); background: var(--pine); color: #fffdf8; font-weight: 700; }
.sv-guide ul.sv-bingo-calls {
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
  -webkit-columns: 9em 3;
  columns: 9em 3;
  -webkit-column-gap: 1.5rem;
  column-gap: 1.5rem;
  font: 600 1.25rem/1.8 var(--sans);
}
.sv-guide .sv-bingo-calls li { margin: 0; -webkit-column-break-inside: avoid; break-inside: avoid; }
.sv-bingo-calls li::before {
  content: "";
  display: inline-block;
  width: .85em;
  height: .85em;
  margin-right: .5em;
  border: 2px solid var(--ink);
  border-radius: 3px;
  vertical-align: -.08em;
}

/* ---------- Print ----------
   The makers keep a copy of what they made straight under <body> (.sv-print), and print shows only that: each sheet
   or card on its own page, sized in millimetres and points, never cut across two pages. 12 mm margins leave
   186 by 273 mm on A4 and 192 by 255 mm on Letter; everything below fits the smaller of the two. */
.sv-print { display: none; }
@media print {
  @page { margin: 12mm; }
  html.sv-print-ready, html.sv-print-ready body { margin: 0 !important; padding: 0 !important; background: #fff !important; }
  html.sv-print-ready body > *:not(.sv-print) { display: none !important; }
  html.sv-print-ready .sv-print { display: block; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sv-print-page { page-break-after: always; break-after: page; page-break-inside: avoid; break-inside: avoid; }
  .sv-print-page:last-child { page-break-after: auto; break-after: auto; }
  .sv-print p, .sv-print h2, .sv-print ul { margin: 0; padding: 0; }

  /* The word search: the title at 26 point, the grid's letters at 62% of a cell (28 point in a 16 mm cell), the
     words at 18 point, three across. word-search-maker.js sets --cellmm so all of it fits the page. */
  .sv-print .sv-sheet-title { font: 400 26pt/1.15 var(--serif); text-align: center; }
  .sv-print .sv-ws-grid {
    display: grid;
    grid-template-columns: repeat(var(--n), var(--cellmm));
    width: calc(var(--n) * var(--cellmm) + 3pt);
    min-width: 0;
    margin: 5mm auto 0;
    border: 1.5pt solid #000;
    color: #000;
    font-size: calc(var(--cellmm) * .62);
    font-weight: 600;
  }
  .sv-print .sv-ws-cell { height: var(--cellmm); border-right: .5pt solid #9a9a9a; border-bottom: .5pt solid #9a9a9a; }
  .sv-print .sv-ws-cell::before { display: none; }
  .sv-print .sv-ws-found { background: #dcdcdc; font-weight: 800; }
  .sv-print .sv-sheet-find { margin-top: 6mm; font: 600 16pt/1.3 var(--sans); }
  .sv-print .sv-ws-list { margin-top: 2mm; list-style: none; -webkit-columns: 3; columns: 3; -webkit-column-gap: 6mm; column-gap: 6mm; font: 600 18pt/1.35 var(--sans); letter-spacing: .03em; }
  .sv-print .sv-ws-list li { -webkit-column-break-inside: avoid; break-inside: avoid; }
  .sv-print .sv-sheet-foot { margin-top: 5mm; color: #444; font: 400 14pt/1.3 var(--sans); text-align: center; }

  /* Bingo, one card to a page: 50 point numbers in squares 34 mm tall. */
  .sv-print .sv-bingo-card, .sv-print .sv-bingo-caller { padding: 0; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
  .sv-print .sv-bingo-head { display: flex; align-items: baseline; justify-content: space-between; }
  .sv-print .sv-bingo-title { font: 400 30pt/1.1 var(--serif); }
  .sv-print .sv-bingo-number { margin-left: 6mm; color: #333; font: 600 16pt/1.2 var(--sans); white-space: nowrap; }
  .sv-print .sv-bingo-grid { width: 100%; margin-top: 5mm; border: 2.5pt solid #000; border-collapse: collapse; table-layout: fixed; color: #000; font: 600 50pt/1 var(--sans); text-align: center; }
  .sv-print .sv-bingo-grid th { height: 14mm; padding: 0; border: 1pt solid #000; background: #245447; color: #fff; font: 700 30pt/1 var(--sans); }
  .sv-print .sv-bingo-grid td { height: 34mm; padding: 1.5mm; border: 1pt solid #777; vertical-align: middle; }
  .sv-print .sv-bingo-star { width: 22mm; height: 21mm; }
  .sv-print .sv-bingo-blank { background: #e4e4e4; }
  .sv-print .sv-bingo-free { background: none; }
  .sv-print .sv-bingo-card-90 .sv-bingo-grid { font-size: 36pt; }
  .sv-print .sv-bingo-card-90 .sv-bingo-grid td { height: 24mm; padding: 0; }
  .sv-print .sv-bingo-card-words .sv-bingo-grid { font-size: 20pt; line-height: 1.15; word-break: break-word; -webkit-hyphens: auto; hyphens: auto; }
  .sv-print .sv-bingo-card-words .sv-bingo-long { font-size: 16pt; }
  .sv-print .sv-bingo-side-4 .sv-bingo-grid { font-size: 26pt; }
  .sv-print .sv-bingo-side-4 .sv-bingo-grid td { height: 42mm; }
  .sv-print .sv-bingo-side-4 .sv-bingo-long { font-size: 20pt; }
  .sv-print .sv-bingo-side-3 .sv-bingo-grid { font-size: 32pt; }
  .sv-print .sv-bingo-side-3 .sv-bingo-grid td { height: 56mm; }
  .sv-print .sv-bingo-side-3 .sv-bingo-long { font-size: 24pt; }
  .sv-print .sv-sheet-foot { margin-top: 5mm; }

  /* Two cards to a page, one over the other with a dashed line to cut along: 30 point numbers. */
  .sv-print-two .sv-bingo-card { width: 150mm; margin: 0 auto; }
  .sv-print-two .sv-bingo-card + .sv-bingo-card { margin-top: 8mm; padding-top: 8mm; border-top: 1pt dashed #888; }
  .sv-print-two .sv-bingo-title { font-size: 20pt; }
  .sv-print-two .sv-bingo-number { font-size: 14pt; }
  .sv-print-two .sv-bingo-grid { margin-top: 3mm; font-size: 30pt; }
  .sv-print-two .sv-bingo-grid th { height: 9mm; font-size: 20pt; }
  .sv-print-two .sv-bingo-grid td { height: 16mm; padding: 1mm; }
  .sv-print-two .sv-bingo-star { width: 12mm; height: 11.5mm; }
  .sv-print-two .sv-bingo-card-90 .sv-bingo-grid { font-size: 26pt; }
  .sv-print-two .sv-bingo-card-90 .sv-bingo-grid td { height: 18mm; padding: 0; }
  .sv-print-two .sv-bingo-card-words .sv-bingo-grid { font-size: 16pt; }
  .sv-print-two .sv-bingo-card-words .sv-bingo-long { font-size: 13pt; }
  .sv-print-two .sv-bingo-side-5 .sv-bingo-grid td { height: 17mm; }
  .sv-print-two .sv-bingo-side-4 .sv-bingo-grid { font-size: 20pt; }
  .sv-print-two .sv-bingo-side-4 .sv-bingo-grid td { height: 21mm; }
  .sv-print-two .sv-bingo-side-4 .sv-bingo-long { font-size: 16pt; }
  .sv-print-two .sv-bingo-side-3 .sv-bingo-grid { font-size: 26pt; }
  .sv-print-two .sv-bingo-side-3 .sv-bingo-grid td { height: 28mm; }
  .sv-print-two .sv-bingo-side-3 .sv-bingo-long { font-size: 20pt; }
  .sv-print-two .sv-sheet-foot { margin-top: 2mm; font-size: 11pt; }

  /* The caller's sheet. */
  .sv-print .sv-bingo-caller .sv-bingo-title { font-size: 26pt; }
  .sv-print .sv-bingo-caller .sv-sheet-find { margin-top: 3mm; font: 600 16pt/1.3 var(--sans); }
  .sv-print .sv-bingo-board { width: 100%; min-width: 0; margin-top: 5mm; border: 1.5pt solid #000; border-collapse: collapse; table-layout: fixed; color: #000; font: 600 16pt/1 var(--sans); text-align: center; }
  .sv-print .sv-bingo-board th, .sv-print .sv-bingo-board td { width: auto; height: 12mm; padding: 0; border: .75pt solid #777; }
  .sv-print .sv-bingo-board th { background: #245447; color: #fff; }
  .sv-print .sv-bingo-calls { margin-top: 4mm; list-style: none; -webkit-columns: 3; columns: 3; -webkit-column-gap: 6mm; column-gap: 6mm; font: 600 16pt/1.45 var(--sans); }
  .sv-print .sv-bingo-calls li { -webkit-column-break-inside: avoid; break-inside: avoid; }
  .sv-print .sv-bingo-calls li::before { border: 1.25pt solid #000; }

  /* The clock's page prints as a page, without the clock's frame or its buttons. */
  .sv-clock-stage, .sv-clock-settings, .sv-clock-close { display: none !important; }
}
