/*--------------------------------------------------------------
  Puzzle pages (/puzzles/): overview and one page per puzzle.
  Every rule is scoped to .pz so it outranks the site-wide `button`, `h1–h3`, `.h1–.h3`, `ul/li`, `label` and `p`
  rules in style.css. Values follow the approved mockups (Non-Website/2026.11.06 - Puzzle Page Combined Design/Final).
--------------------------------------------------------------*/
:root {
  --pz-sand: #C5A992;
  --pz-olive: #74642f;
  --pz-answer: #2F7A4B;   /* shown answers: green, 4.5:1 or more on white, the page backgrounds and the crossword's pale
                             green answer squares (#E6F1E9) */
  --pz-ink: #2f2f2f;
  --pz-btn-ink: #121212;
  --pz-body: #575757;
  --pz-text: #666666;
  --pz-label: #6e6e6e;
  --pz-muted: #8a8a8a;
  --pz-page: #F3F2EC;
  --pz-card: #FFFEFB;
  --pz-line: #E2DBCD;
  --pz-done: #b0aa9f;
  --pz-tint: #F4EDE3;
  --pz-cursor: #E3D3C0;
  --pz-off-text: #a9a49b;
  --pz-off-line: #cfc8bb;
  --pz-off-fill: #efece5;
  --pz-shadow: 0 1px 2px rgba(120, 96, 70, .05), 0 14px 40px -18px rgba(120, 96, 70, .25);
  --pz-serif: "Prata", Georgia, serif;
  --pz-sans: "Raleway", sans-serif;
  --pz-caps: "Jost", sans-serif;
}

.pz { color: var(--pz-text); font-family: var(--pz-sans); font-size: 16px; line-height: 1.7; padding-bottom: 80px; }
.pz *, .pz *::before, .pz *::after { box-sizing: border-box; }
.pz h1, .pz h2, .pz h3, .pz h4 { margin: 0; text-transform: none; color: var(--pz-ink); font-family: var(--pz-serif); font-weight: 400; }
.pz p { margin: 0; }
.pz ul, .pz ol { list-style: none; margin: 0; padding: 0; }
.pz li { margin: 0; }
.pz form { margin: 0; }
.pz a { color: var(--pz-ink); }
.pz a:hover { color: var(--pz-sand); }
.pz-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Type */
.pz-eyebrow { font-family: var(--pz-sans); font-weight: 700; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--pz-olive); line-height: 1.5; }
.pz-label { font-family: var(--pz-caps); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--pz-label); line-height: 1.5; }
.pz-note { font-style: italic; font-size: 13px; color: var(--pz-label); line-height: 1.7; }
.pz-link { color: var(--pz-ink); border-bottom: 1px solid var(--pz-sand); transition: color 300ms ease, border-color 300ms ease; }
.pz-link:hover { color: var(--pz-sand); }

/* Buttons: outlined pills; "primary" is a charcoal fill. Every button hovers like the navbar "Read Online" button. */
.pz .pz-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: auto; margin: 0;
  font-family: var(--pz-caps); font-weight: 400; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; line-height: 1.2;
  color: var(--pz-ink); background: transparent; border: 1px solid var(--pz-ink); border-radius: 30px; padding: 9px 18px;
  white-space: nowrap; box-shadow: none; cursor: pointer; text-decoration: none;
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease;
}
.pz .pz-pill.sm { font-size: 11.5px; letter-spacing: 1.6px; padding: 6px 13px; }
.pz .pz-pill.lg { padding: 14px 26px; }
.pz .pz-pill.primary { background: var(--pz-ink); color: #fff; }
.pz .pz-pill:hover, .pz .pz-pill:focus-visible { background: transparent; color: var(--pz-sand); border-color: var(--pz-sand); }
.pz .pz-pill[aria-disabled="true"], .pz .pz-pill:disabled { color: var(--pz-off-text); border-color: var(--pz-off-line); background: var(--pz-off-fill); cursor: default; }
.pz .pz-pill .pz-ic { width: 12px; height: 12px; }
.pz-ic { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Cards, progress, ticks */
.pz-card { background: var(--pz-card); border-radius: 8px; box-shadow: var(--pz-shadow); }
.pz-bar { height: 3px; background: var(--pz-line); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.pz-bar b { display: block; height: 100%; background: var(--pz-olive); }
.pz-tick { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #bdb5a6; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pz-tick.done { background: var(--pz-ink); border-color: var(--pz-ink); }
.pz-tick.done::after { content: ""; width: 8px; height: 4px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.pz-tick.half { background: conic-gradient(var(--pz-olive) 0 var(--p, 40%), transparent 0); border-color: var(--pz-olive); }

/* Segmented switch (like Metric / Imperial on the recipe pages) */
.pz .pz-seg { display: flex; width: 100%; border: 1px solid var(--pz-ink); border-radius: 30px; padding: 3px; gap: 2px; }
.pz .pz-seg button {
  flex: 1; height: auto; margin: 0; background: transparent; border: 1px solid transparent; border-radius: 30px; padding: 5px 15px;
  font-family: var(--pz-caps); font-weight: 400; font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; line-height: 1.6;
  color: var(--pz-label); box-shadow: none; cursor: pointer; transition: color 300ms ease, border-color 300ms ease;
}
.pz .pz-seg button[aria-pressed="true"] { border-color: var(--pz-ink); color: var(--pz-ink); }
.pz .pz-seg button:hover { color: var(--pz-sand); }

/*---------------- Overview page ----------------*/
.pz-intro { text-align: center; margin-top: 34px; }
.pz-intro h1 { font-size: 72px; line-height: 1.2; margin-top: 10px; }
.pz-intro .pz-sub { font-size: 18px; color: var(--pz-text); margin-top: 8px; }

.pz-shelf { display: flex; justify-content: center; align-items: flex-end; gap: 64px; margin-top: 40px; }
.pz-bk { display: block; text-align: center; width: 170px; color: inherit; }
.pz-bk:hover { color: inherit; }
.pz-bk .pz-cv { width: 122px; margin: 0 auto 14px; }
.pz-bk .pz-cv img { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 16px rgba(70, 56, 40, .2)); }
.pz-bk b { display: block; font-family: var(--pz-serif); font-weight: 400; font-size: 17px; line-height: 1.4; color: var(--pz-ink); }
.pz-bk .pz-th { display: block; font-size: 12.5px; line-height: 1.5; color: var(--pz-label); }
.pz-bk.on .pz-cv { width: 130px; }
.pz-bk.on .pz-cv img { filter: drop-shadow(0 14px 20px rgba(70, 56, 40, .26)); }
.pz-bk.on b { font-size: 18px; }
.pz-bk.on .pz-th { color: var(--pz-olive); font-weight: 600; }
.pz-bk.on::after { content: ""; display: block; width: 36px; height: 2px; background: #8f7a45; margin: 8px auto 0; }
/* "Prize draw open": small capitals, shorter than the theme line above it */
.pz-bk .pz-pd { display: block; font-family: var(--pz-caps); font-weight: 400; font-size: 8.5px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--pz-label); line-height: 1.4; margin-top: 3px; }

.pz-toc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 56px;   /* Adult 60%, Kids 40% */ align-items: start; margin-top: 50px; }
.pz-toc.pz-toc-one { grid-template-columns: minmax(0, 760px); }   /* an edition with one list only (Edition Two: kids' puzzles) */
.pz-toc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--pz-sand); padding-bottom: 12px; margin-bottom: 4px; }
.pz-toc-head h2 { font-size: 30px; line-height: 1.2; }
.pz-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 150px 120px; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px dashed var(--pz-line); }
.pz-row .pz-n { font-family: var(--pz-caps); font-size: 28px; letter-spacing: 1px; color: var(--pz-sand); line-height: 1; }
.pz-row h3 { font-size: 22px; line-height: 1.25; }
.pz-row h3 a { color: var(--pz-ink); }
.pz-row h3 a:hover { color: var(--pz-sand); }
.pz-row .pz-m { font-family: var(--pz-caps); font-size: 11.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--pz-label); margin-top: 4px; line-height: 1.5; }
.pz-row .pz-d { font-size: 14.5px; color: var(--pz-text); margin-top: 4px; line-height: 1.5; }
.pz-row .pz-st { font-size: 13px; color: var(--pz-label); line-height: 1.5; }
.pz-row .pz-st .pz-done-word { color: var(--pz-ink); }
.pz-row .pz-act { justify-self: end; }
.pz-thumb { width: 120px; height: 78px; border-radius: 6px; background: var(--pz-card); box-shadow: var(--pz-shadow); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pz-mini-ws { font-family: var(--pz-caps); font-size: 8.5px; letter-spacing: 3.2px; line-height: 10px; color: #8d877b; text-align: center; }
.pz-mini-ws b { color: var(--pz-ink); font-weight: 500; background: var(--pz-tint); }
.pz-chips { display: flex; gap: 3px; }
.pz-chips i { width: 15px; height: 15px; border-radius: 4px; background: #eee9df; font-style: normal; font-size: 8px; line-height: 1; color: #8d877b; display: flex; align-items: center; justify-content: center; }
.pz-kids .pz-row { grid-template-columns: 54px minmax(0, 1fr) 92px; }
.pz-kids .pz-row .pz-act { grid-column: 3; }
.pz-kids .pz-st { margin-top: 6px; max-width: 220px; }
.pz-kids .pz-thumb { width: 92px; height: 66px; }
.pz-kids .pz-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pz-total.pz-stack { flex-direction: column; align-items: stretch; gap: 14px; }

/* Totals row: the submit button sits under the right-hand column, greyed out until every puzzle is done */
.pz-total { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 20px; margin-top: -1px; border-top: 1px solid var(--pz-sand); }
.pz-total .pz-label { color: var(--pz-olive); }
.pz-total .pz-pdtext { font-size: 14.5px; color: var(--pz-text); line-height: 1.5; margin-top: 6px; max-width: 300px; }
.pz-total .pz-acts { display: flex; flex-direction: column; align-items: flex-end; margin-left: auto; }
.pz-total .pz-btns { display: flex; gap: 10px; }
.pz-why { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--pz-label); margin-top: 10px; line-height: 1.45; }
.pz-why .pz-ic { width: 14px; height: 14px; color: var(--pz-off-text); }

/*---------------- Puzzle pages: left panel + puzzle ----------------*/
.pz-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 44px; align-items: start; margin-top: 18px; }
.pz-rail { padding: 22px 26px 30px; }
.pz-rail .pz-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--pz-ink); border-bottom: 1px solid var(--pz-sand); margin-bottom: 18px; line-height: 1.6; }
.pz-rail .pz-back:hover { color: var(--pz-sand); }
.pz-rail .pz-ed { text-align: center; }
.pz-rail .pz-ed img { width: 118px; height: auto; display: block; margin: 4px auto 14px; filter: drop-shadow(0 10px 16px rgba(70, 56, 40, .22)); }
.pz-rail .pz-ed-title { font-family: var(--pz-serif); font-size: 21px; line-height: 1.25; color: var(--pz-ink); margin-top: 4px; }
.pz-rail section { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--pz-line); }
.pz-rail section > .pz-label { display: block; margin-bottom: 12px; }
.pz-plist li a { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--pz-body); padding: 6px 8px; margin: 0 -8px; border-radius: 6px; line-height: 1.5; }
.pz-plist li a:hover { color: var(--pz-ink); background: rgba(244, 237, 227, .6); }
.pz-plist li a[aria-current="page"] { color: var(--pz-ink); font-weight: 600; background: var(--pz-tint); }
.pz-plist .pz-pct { margin-left: auto; font-size: 12px; color: var(--pz-label); font-weight: 400; }
.pz-rail .pz-sv { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--pz-body); line-height: 1.5; }
.pz-rail .pz-sv .pz-ic { color: var(--pz-olive); }
.pz-rail .pz-pdraw { font-size: 14px; line-height: 1.5; color: var(--pz-text); margin: -4px 0 14px; }
.pz-rail .pz-send { display: flex; width: 100%; }
.pz-rail .pz-why { align-items: flex-start; font-size: 13px; }
.pz-rail .pz-why .pz-ic { margin-top: 2px; }

.pz-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.pz-head h1 { font-size: 48px; line-height: 1.2; margin-top: 8px; }
.pz-head .pz-sub { font-size: 17px; color: var(--pz-text); margin-top: 4px; }

.pz-foot { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; row-gap: 6px; margin-top: 30px; font-size: 13.5px; color: var(--pz-label); }
.pz-foot [data-saved], .pz-foot .pz-report { grid-column: 2; }
.pz-foot .pz-ic { width: 13px; height: 13px; vertical-align: -2px; color: var(--pz-olive); }
.pz-foot .pz-prev { display: inline-flex; align-items: center; gap: 7px; color: var(--pz-label); }
.pz-foot .pz-prev:hover { color: var(--pz-sand); }
.pz-foot .pz-prev .pz-ic { width: 15px; height: 15px; color: inherit; vertical-align: 0; }
.pz-foot .pz-prev[hidden] { display: none; }
.pz-foot [data-saved], .pz-foot .pz-report { text-align: right; }

/*---------------- Crossword ----------------*/
.pz-xwcard { padding: 30px 30px 26px; container-type: inline-size; }   /* the grid sizes itself to the card on narrow screens */
.pz-solve { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 34px; align-items: start; }
.pz-gridwrap { position: relative; width: min-content; }   /* as wide as the grid; the Down list wraps inside it */
.pz-xw { display: grid; grid-template-columns: repeat(15, var(--cell)); gap: 1px; border: 2px solid var(--pz-ink); background: var(--pz-ink); width: max-content; --cell: min(31px, calc((100cqw - 3px - var(--cols, 15) * 1px) / var(--cols, 15))); user-select: none; -webkit-user-select: none; }
/* Free-shaped grid (kids): no black squares, each square draws its own 1px lines, and the squares are bigger */
.pz-xw.free { --cell: min(44px, calc((100cqw - 2px) / var(--cols, 15))); background: transparent; border: 0; gap: 0; }
.pz-xw.free .c.b { background: transparent; }
.pz-xw.free .c:not(.b) { box-shadow: inset 1px 1px 0 var(--pz-ink), 1px 0 0 var(--pz-ink), 0 1px 0 var(--pz-ink), 1px 1px 0 var(--pz-ink); }
.pz-xw.free .c i { top: 3px; left: 4px; }
.pz-kidsxw { grid-template-columns: minmax(0, 1fr); gap: 26px; }
.pz-kidsxw .pz-gridwrap { margin: 0 auto; }
.pz-kidslists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; margin-top: 4px; }
.pz-kidslists .pz-clues { margin-top: 20px; }
.pz-kidslists .pz-clues li { font-size: 15px; }
.pz-xw .c { width: var(--cell); height: var(--cell); background: #fff; position: relative; display: flex; align-items: center; justify-content: center; font-family: var(--pz-sans); font-weight: 600; font-size: calc(var(--cell) * .5); line-height: 1; color: var(--pz-ink); text-transform: uppercase; cursor: pointer; }
.pz-xw .c.b { background: var(--pz-ink); cursor: default; }
.pz-xw .c i { position: absolute; top: 2px; left: 3px; font-style: normal; font-weight: 500; font-size: calc(var(--cell) * .27); line-height: 1; color: #555; pointer-events: none; }
.pz-xw .c.w { background: var(--pz-tint); }
.pz-xw .c.cur { background: var(--pz-cursor); }
.pz-xw-in { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; border: 0; padding: 0; margin: 0; font-size: 16px; caret-color: transparent; background: transparent; pointer-events: none; }
.pz-credit { display: flex; justify-content: space-between; font-size: 12px; color: var(--pz-label); margin-top: 8px; }
/* A hidden word (Edition Three): squares marked I, II, III… as printed, and their letters in boxes under the grid */
.pz-xw .c b.mk { position: absolute; left: 3px; bottom: 2px; font-weight: 400; font-size: calc(var(--cell) * .24); line-height: 1; color: #8a8a8a; pointer-events: none; }
.pz-xsol { margin-top: 22px; }
.pz .pz-xsol p { margin: 6px 0 12px; font-size: 15px; line-height: 1.45; color: var(--pz-ink); }
.pz-xsol-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 38px); gap: 4px; }
.pz .pz-xsol-row button { position: relative; width: 100%; height: 42px; margin: 0; padding: 8px 0 0; border: 1px solid var(--pz-ink); border-radius: 0; background: #FAF6F0; box-shadow: none; font-family: var(--pz-sans); font-weight: 600; font-size: 18px; line-height: 1; color: var(--pz-ink); text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: none; }
.pz .pz-xsol-row button small { position: absolute; top: 3px; left: 3px; font-size: 9px; font-weight: 400; line-height: 1; color: var(--pz-label); }
.pz .pz-xsol-row button.cur { background: var(--pz-cursor); }
.pz .pz-xsol-row button.ans { color: var(--pz-answer); }

.pz-now { background: var(--pz-tint); border-radius: 8px; padding: 24px 28px 24px; }
.pz-now .pz-top { display: flex; align-items: center; justify-content: space-between; }
.pz-now .pz-top .pz-label { color: var(--pz-olive); }
.pz .pz-now .pz-arr { display: flex; gap: 4px; }
.pz .pz-now .pz-arr button { height: auto; margin: 0; padding: 4px; background: transparent; border: 0; border-radius: 50%; box-shadow: none; color: var(--pz-ink); cursor: pointer; line-height: 0; transition: color 300ms ease; }
.pz .pz-now .pz-arr button:hover { color: var(--pz-sand); }
.pz-now .pz-big { font-family: var(--pz-serif); font-size: 28px; line-height: 1.3; color: var(--pz-ink); margin-top: 8px; }
.pz-now .pz-big em { font-style: normal; font-size: 18px; color: var(--pz-label); }
.pz-boxes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.pz .pz-boxes button { width: 28px; height: 38px; margin: 0; padding: 0; background: transparent; border: 0; border-bottom: 2px solid var(--pz-ink); border-radius: 0; box-shadow: none; font-family: var(--pz-sans); font-weight: 600; font-size: 19px; line-height: 1; color: var(--pz-ink); text-transform: uppercase; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pz .pz-boxes button.cur { border-color: var(--pz-olive); background: #fff; position: relative; }
.pz .pz-boxes button.cur:empty::after { content: ""; width: 1.5px; height: 20px; background: var(--pz-ink); animation: pz-blink 1.1s steps(1) infinite; }
@keyframes pz-blink { 50% { opacity: 0; } }

.pz-clues h2 { font-family: var(--pz-caps); font-weight: 400; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--pz-ink); padding-bottom: 8px; border-bottom: 1px solid var(--pz-line); margin-bottom: 6px; line-height: 1.5; }
.pz-clues li { display: flex; gap: 12px; font-size: 14px; line-height: 1.45; color: var(--pz-body); padding: 4px 8px; border-radius: 4px; cursor: pointer; }
.pz-clues li b { font-weight: 700; color: var(--pz-ink); min-width: 18px; text-align: right; flex: none; }
.pz-clues li em { font-style: normal; font-size: 12px; color: var(--pz-muted); }
.pz-clues li.on { background: var(--pz-tint); color: var(--pz-ink); }
.pz-clues li.x { box-shadow: inset 2px 0 0 var(--pz-sand); }
.pz-clues li.done, .pz-clues li.done b { color: var(--pz-done); }
.pz-clues li:hover { color: var(--pz-ink); }
.pz-side .pz-clues { margin-top: 24px; }
.pz-gridwrap .pz-clues { margin-top: 26px; }
.pz-gridwrap .pz-clues ol { column-count: 2; column-gap: 18px; }
.pz-gridwrap .pz-clues li { break-inside: avoid; }

.pz-bottom { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--pz-line); }
.pz-next { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-family: var(--pz-serif); font-size: 19px; color: var(--pz-ink); }
.pz-next .pz-ic { width: 20px; height: 20px; }

/* Clear menu */
.pz-menu-wrap { position: relative; }
.pz-menu { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 20; min-width: 230px; padding: 6px; background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(70, 56, 40, .06), 0 12px 36px rgba(70, 56, 40, .14); }
.pz-menu[hidden] { display: none; }
.pz .pz-menu button { display: block; width: 100%; height: auto; margin: 0; padding: 9px 12px; background: transparent; border: 0; border-radius: 6px; box-shadow: none; text-align: left; font-family: var(--pz-sans); font-weight: 400; font-size: 14px; letter-spacing: 0; text-transform: none; line-height: 1.4; color: var(--pz-ink); cursor: pointer; white-space: normal; }
.pz .pz-menu button:hover, .pz .pz-menu button:focus-visible { background: var(--pz-tint); color: var(--pz-ink); }

/*---------------- Puzzles in one white box: trivia, know the book, word search, timeline, structure, account ----------------*/
.pz-block { padding: 30px 34px 26px; container-type: inline-size; }
.pz-bhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 6px; }
.pz-bhead [data-count] { white-space: nowrap; }   /* on a phone the count moves under the title whole, instead of both breaking mid-phrase */
.pz-bhead [data-count].pz-parts { white-space: normal; }   /* a count made of parts (word search) may break between them */
.pz-bhead [data-count].pz-parts > span { white-space: nowrap; }
.pz-lead { font-size: 15.5px; line-height: 1.6; color: var(--pz-body); margin: 6px 0 16px; }
.pz-hint { font-size: 13px; color: var(--pz-label); line-height: 1.5; margin-top: 12px; }
.pz-empty { font-size: 13.5px; font-style: italic; color: var(--pz-label); }

/* Questions with a written answer */
.pz-q { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 1px dashed var(--pz-line); }
.pz-q .pz-k { font-family: var(--pz-caps); font-size: 18px; line-height: 1.4; color: var(--pz-sand); }
.pz .pz-q label { display: block; margin: 0; font-weight: 400; font-size: 15.5px; line-height: 1.5; color: var(--pz-ink); }
.pz .pz-field { display: block; width: 100%; min-height: 42px; margin-top: 10px; padding: 9px 12px; border: 1px solid #d8d0c1; border-radius: 6px; background: #fff; box-shadow: none; font-family: var(--pz-sans); font-size: 15px; line-height: 1.5; color: var(--pz-ink); resize: none; overflow: hidden; }
.pz .pz-field::placeholder, .pz .pz-gap::placeholder { color: #b5ae9f; font-style: italic; opacity: 1; }
.pz .pz-field:focus { border-color: var(--pz-ink); box-shadow: 0 0 0 3px var(--pz-tint); outline: 0; }
.pz-tip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 10px; padding: 14px 16px; border-radius: 8px; background: #FAF6F0; font-size: 14px; line-height: 1.5; color: var(--pz-body); }
.pz-tip b { color: var(--pz-ink); font-weight: 600; }
.pz-tip .pz-pill .pz-ic { width: 11px; height: 11px; }

/* Know the Book: one of two columns per line */
.pz-kb { width: 100%; border-collapse: collapse; }
.pz-kb th { font-family: var(--pz-caps); font-weight: 400; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--pz-label); text-align: center; padding: 0 0 12px; }
.pz-kb th:first-child { text-align: left; }
.pz-kb td { padding: 12px 0; border-top: 1px dashed var(--pz-line); font-size: 16px; line-height: 1.5; color: var(--pz-ink); }
.pz-kb td.c { text-align: center; width: 150px; }
.pz-kb tr:focus-within td { background: var(--pz-tint); }
.pz-kb tr:focus-within td:first-child { box-shadow: inset 3px 0 0 var(--pz-sand); padding-left: 12px; }
.pz .pz-kb input[type="radio"] { -webkit-appearance: none; appearance: none; display: block; width: 24px; height: 24px; margin: 0; border-radius: 50%; border: 1px solid #bdb5a6; background: #fff; vertical-align: middle; cursor: pointer; transition: border-width 150ms ease, border-color 150ms ease; }
.pz .pz-kb input[type="radio"]:checked { border: 8px solid var(--pz-ink); }
.pz .pz-kb label { display: inline-block; margin: 0; padding: 6px; line-height: 0; cursor: pointer; }

/* Structure Study: the five books */
.pz .pz-books { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 4px 0 18px; }
.pz-books li { padding: 12px 10px; border-radius: 8px; background: #FAF6F0; text-align: center; font-size: 13.5px; line-height: 1.4; color: var(--pz-body); }
.pz-books b { display: block; font-family: var(--pz-serif); font-weight: 400; font-size: 17px; color: var(--pz-ink); }

/* Complete the Account: gaps in the running text */
.pz-acc { padding: 16px 0 6px; border-top: 1px dashed var(--pz-line); }
.pz-acc h2 { font-size: 21px; line-height: 1.3; }
.pz-acc h2 span { font-family: var(--pz-caps); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--pz-label); margin-left: 10px; }
.pz-acc p { font-size: 16px; line-height: 2.35; color: var(--pz-ink); margin-top: 8px; }
.pz .pz-gap { display: inline-block; width: 150px; max-width: 100%; height: 32px; margin: 0 2px; padding: 2px 6px; border: 0; border-bottom: 1.5px solid var(--pz-ink); border-radius: 0; background: #FAF6F0; box-shadow: none; font-family: var(--pz-sans); font-size: 15.5px; color: var(--pz-ink); vertical-align: baseline; }
.pz .pz-gap:focus { outline: 0; background: var(--pz-tint); border-bottom-color: var(--pz-olive); }

/* Word Search */
.pz-ws { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 4px; }
.pz-ws-grid { display: grid; grid-template-columns: repeat(13, var(--ws)); gap: 2px; --ws: min(40px, calc((100cqw - 26px) / 13)); touch-action: none; user-select: none; -webkit-user-select: none; padding: 10px; border-radius: 8px; background: #FAF6F0; }
.pz .pz-ws-grid button { width: var(--ws); height: var(--ws); margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; font-family: var(--pz-caps); font-weight: 400; font-size: calc(var(--ws) * .45); line-height: 1; letter-spacing: 0; text-transform: uppercase; color: var(--pz-ink); cursor: pointer; transition: background-color 120ms ease; }
.pz .pz-ws-grid button:hover { background: rgba(227, 211, 192, .5); }
.pz .pz-ws-grid button.f { background: transparent; }   /* a marked word shows as a band under its letters (.pz-ws-marks) */
.pz .pz-ws-grid button.sel { background: var(--pz-olive); color: #fff; }
.pz .pz-ws-grid button.start { box-shadow: inset 0 0 0 2px var(--pz-olive); }
/* Marked words: one highlighter band per line, in an SVG under the letters, one unit per grid square; the direction arrows
   in a second SVG over them (js/puzzles-wordsearch.js drawMarks, which draws both again when the squares change size). */
.pz-ws-grid { position: relative; }
.pz .pz-ws-grid button { position: relative; z-index: 1; }
.pz-ws-marks, .pz-ws-arrows { position: absolute; left: var(--ws-pad, 10px); top: var(--ws-pad, 10px); width: calc(var(--cols, 13) * var(--ws) + (var(--cols, 13) - 1) * var(--ws-gap, 2px)); height: calc(var(--rows, 13) * var(--ws) + (var(--rows, 13) - 1) * var(--ws-gap, 2px)); overflow: visible; pointer-events: none; }
.pz-ws-arrows { z-index: 2; }   /* over the letters, so a hovered or selected square never hides an arrow */
/* Highlighter bands (W1e, owner 2026-11-16; puzzles-wordsearch.js drawMarks): beige while solving; with the answers shown
   the reader's words sage, the words they missed yellow, marks that aren't a word grey. Each arrow is a darker shade of
   its band, 3:1 or more against it. */
.pz-ws-marks polygon { mix-blend-mode: multiply; }
.pz-ws-marks .mine { fill: rgba(206, 186, 154, .55); }
.pz-ws-marks .ok { fill: rgba(170, 204, 172, .55); }
.pz-ws-marks .ans { fill: rgba(245, 214, 90, .55); }
.pz-ws-marks .no { fill: rgba(160, 160, 156, .22); stroke: #6E6E6A; mix-blend-mode: normal; }   /* lighter, with a dashed edge (D1; width and dashes in drawMarks) */
.pz-ws-arrows path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pz-ws-arrows .mine { stroke: #85725C; }
.pz-ws-arrows .ok { stroke: #4E7F58; }
.pz-ws-arrows .ans { stroke: #9A740C; }
.pz-ws-arrows .no { stroke: #6E6E6A; }
.pz .pz-ws-key { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0 0 22px; font-size: 14px; line-height: 1.5; color: var(--pz-text); }
.pz .pz-ws-key[hidden] { display: none; }
.pz-ws-key i { display: inline-block; box-sizing: border-box; width: 30px; height: 13px; margin-right: 8px; border-radius: 2px; vertical-align: -1px; transform: skewX(-35deg); }
.pz-ws-key i.ok { background: rgb(214, 232, 214); }
.pz-ws-key i.ans { background: rgb(249, 232, 166); }
.pz-ws-key i.no { background: rgb(234, 233, 230); border: 1.5px dashed #6E6E6A; }
.pz-ws-side .pz-label { display: block; margin-bottom: 10px; }
.pz .pz-ws-found { display: flex; flex-wrap: wrap; gap: 8px; min-height: 34px; margin-bottom: 22px; }
.pz-ws-found li { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 12px; border: 1px solid var(--pz-ink); border-radius: 30px; font-family: var(--pz-caps); font-size: 13px; letter-spacing: 1.5px; color: var(--pz-ink); }
.pz-ws-found li.pz-empty { padding: 0; border: 0; font-family: var(--pz-sans); letter-spacing: 0; }
.pz .pz-ws-found button { width: 24px; height: 24px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; font-family: var(--pz-sans); font-weight: 400; font-size: 17px; line-height: 1; color: var(--pz-label); cursor: pointer; }
.pz .pz-ws-found button:hover { color: var(--pz-sand); }
.pz-pair { display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); gap: 8px; align-items: center; margin-bottom: 10px; }
.pz-pair span { text-align: center; color: var(--pz-label); }
.pz .pz-select { width: 100%; height: 40px; margin: 0; padding: 0 10px; border: 1px solid #d8d0c1; border-radius: 6px; background-color: #fff; box-shadow: none; font-family: var(--pz-sans); font-size: 14.5px; color: var(--pz-ink); }
.pz .pz-select:focus { border-color: var(--pz-ink); outline: 0; box-shadow: 0 0 0 3px var(--pz-tint); }

/* Timeline Tangle */
.pz-tl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: start; margin-top: 4px; }
.pz-tl .pz-label { display: block; margin-bottom: 10px; }
.pz-tl-events li, .pz-tl-slots li { margin-bottom: 8px; }
.pz .pz-tl-events button, .pz .pz-tl-slots button {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; height: auto; margin: 0; padding: 9px 14px;
  border: 1px solid #d8d0c1; border-radius: 8px; background: #fff; box-shadow: none; text-align: left; white-space: normal;
  font-family: var(--pz-sans); font-weight: 400; font-size: 15px; line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--pz-ink);
  cursor: pointer; transition: border-color 200ms ease, background-color 200ms ease, opacity 200ms ease;
}
.pz .pz-tl-events button b, .pz .pz-tl-slots button b { font-family: var(--pz-caps); font-weight: 400; font-size: 16px; color: var(--pz-olive); flex: none; width: 14px; }
.pz .pz-tl-events button:hover, .pz .pz-tl-slots button:hover { border-color: var(--pz-ink); }
.pz .pz-tl-events button.used { opacity: .4; border-style: dashed; }
.pz-tl-slots li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; }
.pz-tl-slots .pz-n { font-family: var(--pz-caps); font-size: 17px; color: var(--pz-sand); text-align: right; }
.pz .pz-tl-slots button { border-style: dashed; background: transparent; }
.pz .pz-tl-slots button.full { border-style: solid; background: #fff; }
.pz .pz-tl-slots button.picked { border: 1.5px solid var(--pz-olive); background: var(--pz-tint); }
.pz .pz-tl-slots button.over { border-color: var(--pz-olive); background: var(--pz-tint); }

/*---------------- "Read the passages" card under a puzzle ----------------*/
.pz-pass { margin-top: 26px; padding: 26px 34px 20px; }
.pz-pass-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.pz-pass-head h2 { font-size: 24px; line-height: 1.3; margin-top: 4px; }
.pz-pass-tr { font-size: 12px; color: var(--pz-label); text-align: right; }
.pz-pass-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; border-bottom: 1px solid var(--pz-line); }
.pz .pz-pass-tabs button { height: auto; margin: 0 0 -1px; padding: 8px 14px 10px; background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; box-shadow: none; font-family: var(--pz-caps); font-weight: 400; font-size: 12px; letter-spacing: 1.8px; line-height: 1.4; text-transform: uppercase; color: var(--pz-label); cursor: pointer; transition: color 300ms ease, border-color 300ms ease; }
.pz .pz-pass-tabs button:hover { color: var(--pz-sand); }
.pz .pz-pass-tabs button[aria-selected="true"] { color: var(--pz-ink); border-bottom-color: var(--pz-ink); }
.pz-pass-text { position: relative; max-height: 380px; overflow-y: auto; padding-right: 10px; font-family: var(--pz-serif); font-size: 16px; line-height: 1.85; color: var(--pz-ink); }
.pz-pass-text.more { -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.pz-pass-text h3 { font-family: var(--pz-caps); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--pz-olive); margin: 0 0 6px; }
.pz-pass-text p { margin: 0 0 6px; }
.pz-pass-text sup { font-family: var(--pz-caps); font-size: 10px; color: #a8916d; margin-right: 3px; vertical-align: 4px; line-height: 0; }
.pz-pass-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--pz-line); font-size: 13px; color: var(--pz-label); }
.pz-pass-nav { display: flex; gap: 18px; }
.pz .pz-pass-nav button { display: inline-flex; align-items: center; gap: 6px; height: auto; margin: 0; padding: 0 0 1px; background: transparent; border: 0; border-bottom: 1px solid var(--pz-sand); border-radius: 0; box-shadow: none; font-family: var(--pz-sans); font-weight: 400; font-size: 13.5px; letter-spacing: 0; text-transform: none; line-height: 1.5; color: var(--pz-ink); cursor: pointer; transition: color 300ms ease; }
.pz .pz-pass-nav button:hover { color: var(--pz-sand); }
.pz .pz-pass-nav button[hidden] { display: none; }
.pz-pass-nav .pz-ic { width: 14px; height: 14px; }
.pz-pass-credit { font-size: 11.5px; color: var(--pz-label); margin-top: 8px; }

/*---------------- Kids ----------------*/
/* Word search: bigger letters, the printed word list (crossed off when found) and "Make a pair" */
.pz-ws-grid { --ws: min(40px, calc((100cqw - 20px - var(--cols, 13) * 2px) / var(--cols, 13))); }
.pz-ws-grid.kids { --ws: min(46px, calc((100cqw - 20px - var(--cols, 12) * 2px) / var(--cols, 12))); }
.pz .pz-ws-list { columns: 2; column-gap: 20px; margin-bottom: 22px; }
.pz-ws-list li { font-family: var(--pz-caps); font-size: 14px; letter-spacing: 1.8px; line-height: 2; color: var(--pz-ink); break-inside: avoid; }
/* A found word (owner's choice 4B): a soft green pill with a tick; 10% tint keeps the green text at 4.5:1 */
.pz-ws-list li.got { display: flex; align-items: center; gap: 7px; width: fit-content; margin: 2px 0; padding: 0 12px 0 4px; line-height: 1.75; border-radius: 999px; background: rgba(47, 122, 75, .10); color: var(--pz-answer); text-decoration: none; }
.pz-ws-list li.got::before { content: "✓"; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--pz-answer); color: #fff; font-size: 11px; letter-spacing: 0; }
.pz-ws-list li.nogrid { color: var(--pz-label); }
.pz-ws-list li.nogrid small { font-family: var(--pz-sans); font-size: 12px; letter-spacing: 0; text-transform: none; }
/* A big grid (Edition Three's 20 × 20): the word list goes under the grid at every width, and the letters left over
   spell a sentence typed in boxes under the list (one group of boxes per word) */
.pz .pz-ws.stack, .pz[data-hand="left"] .pz-ws.stack { grid-template-columns: minmax(0, 1fr); gap: 26px; }
.pz[data-hand="left"] .pz-ws.stack > .pz-ws-grid { order: 0; }
.pz-ws.stack > .pz-ws-grid { justify-self: center; }
.pz .pz-ws.stack .pz-ws-list { columns: 4; }
.pz-ws-sent { margin-top: 6px; padding-top: 22px; border-top: 1px dashed var(--pz-line); }
.pz-ws-sent .pz-label { display: block; }
.pz-ws-sent .pz-hint { margin: 6px 0 14px; }
.pz-sent-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; }
.pz-sent-w { display: inline-flex; }
/* Sentence boxes: their usual width, or narrower so the longest word (--sent-max boxes, overlapping by 1px) fits the card;
   the letter shrinks with the box. Edition One's ten-letter word is wider than a phone at full size. */
.pz .pz-sent-row .pz-lb { --lbw: min(40px, calc((100cqw + (var(--sent-max, 10) - 1) * 1px) / var(--sent-max, 10))); width: var(--lbw); font-size: min(21px, calc(var(--lbw) * .6)); }
.pz-sent-end { font-family: var(--pz-serif); font-size: 26px; line-height: 1; margin-left: -10px; }
@media (max-width: 575px) {
  /* 20 columns on a phone: the grid runs the full width of the screen, edge to edge, so each letter is as big as it can be */
  .pz .pz-ws.stack > .pz-ws-grid { --ws: calc((100vw - 8px) / var(--cols, 20)); width: 100vw; gap: 0; padding: 4px; border-radius: 0; --ws-pad: 4px; --ws-gap: 0px; }
  .pz .pz-ws.stack .pz-ws-grid button { font-size: calc(var(--ws) * .55); }
  .pz .pz-ws.stack .pz-ws-list { columns: 2; }
  .pz .pz-sent-row .pz-lb { --lbw: min(36px, calc((100cqw + (var(--sent-max, 10) - 1) * 1px) / var(--sent-max, 10))); height: 42px; }
}
.pz-kpairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 30px; margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--pz-line); }
.pz-kpairs > .pz-label { grid-column: 1 / -1; }
.pz-kpair { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: center; }
.pz .pz-kpair label { margin: 0; font-family: var(--pz-caps); font-weight: 400; font-size: 13px; letter-spacing: 1.6px; color: var(--pz-ink); }
.pz .pz-kpair .pz-field { margin: 0; min-height: 40px; padding: 7px 12px; }   /* margin: style.css gives every input 1.5rem below */

/* Word Scramble: one box per letter, with the printed numbers */
.pz-scr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pz-scr-row { display: grid; grid-template-columns: 96px auto; gap: 14px; align-items: center; margin-bottom: 10px; }
.pz-scr-row > span { font-family: var(--pz-caps); font-size: 19px; letter-spacing: 3px; color: var(--pz-ink); }
.pz-boxrow { display: inline-flex; gap: 0; }
.pz-lbw { position: relative; display: inline-block; }
.pz-lbw + .pz-lbw { margin-left: -1px; }
/* A phrase of several words (Edition Two's scramble): each word's boxes stay together; the row wraps between words */
.pz-boxrow.pz-words { flex-wrap: wrap; gap: 8px 14px; }
.pz-phr-w { display: inline-flex; }
.pz .pz-lb { display: block; width: 44px; height: 46px; margin: 0; padding: 8px 0 0; border: 1px solid var(--pz-ink); border-radius: 0; background: #FAF6F0; box-shadow: none; text-align: center; font-family: var(--pz-sans); font-weight: 600; font-size: 21px; text-transform: uppercase; color: var(--pz-ink); caret-color: var(--pz-olive); }
.pz .pz-lb:focus { position: relative; z-index: 1; background: #fff; border-color: var(--pz-olive); outline: 0; }
.pz-lbn { position: absolute; top: 2px; left: 4px; z-index: 2; font-size: 11px; line-height: 1; color: var(--pz-label); pointer-events: none; }
.pz-phrase { margin-top: 10px; padding: 18px 18px 20px; border-radius: 8px; background: #FAF6F0; }
.pz-phrase p { font-size: 16px; color: var(--pz-ink); margin-bottom: 12px; }
.pz-phrase .pz-lb { background: #fff; }
.pz-after { margin-top: 22px; }
.pz-after .pz-q { grid-template-columns: minmax(0, 1fr); }
.pz-after .pz-field { margin-top: 6px; }

/* Find the Differences: tap to circle */
.pz-diff { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 6px; }
.pz-diff-pic { position: relative; border-radius: 6px; overflow: hidden; cursor: crosshair; touch-action: manipulation; }
.pz-diff-pic img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.pz-diff-pic figcaption { position: absolute; left: 10px; bottom: 8px; padding: 2px 9px; border-radius: 30px; background: rgba(255, 254, 251, .9); font-family: var(--pz-caps); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--pz-ink); pointer-events: none; }
.pz-ring, .pz-aim { position: absolute; width: 9%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
.pz-ring { border: 3px solid #fff; box-shadow: 0 0 0 2px var(--pz-ink), inset 0 0 0 2px var(--pz-ink); }
.pz-aim { border: 2px dashed #fff; box-shadow: 0 0 0 1px var(--pz-ink); }

/*---------------- Saving by email, loading, Report an error (mockups 45-features "1" and "5", 31-overview "Save and stay in touch") ----------------*/
/* A button that looks like the underlined links */
.pz .pz-lnk {
  display: inline; height: auto; margin: 0; padding: 0; background: transparent; border: 0; border-bottom: 1px solid var(--pz-sand); border-radius: 0; box-shadow: none;
  font-family: var(--pz-sans); font-weight: 400; font-size: inherit; letter-spacing: 0; text-transform: none; line-height: inherit; color: var(--pz-ink);
  white-space: normal; vertical-align: baseline; cursor: pointer; transition: color 300ms ease;
}
.pz .pz-lnk:hover { color: var(--pz-sand); background: transparent; }
.pz-rail .pz-lnk { display: inline-block; margin-top: 6px; font-size: 13.5px; }
.pz-rail .pz-rail-note { margin-top: 6px; }
.pz .pz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Fields */
.pz .pz-in {
  display: block; width: 100%; height: 42px; margin: 0; padding: 10px 12px; border: 1px solid #d8d0c1; border-radius: 6px; background: #fff; box-shadow: none;
  font-family: var(--pz-sans); font-size: 14.5px; line-height: 1.4; color: var(--pz-ink);
}
.pz .pz-in::placeholder { color: #b5ae9f; opacity: 1; }
.pz .pz-in:focus { border-color: var(--pz-ink); box-shadow: 0 0 0 3px var(--pz-tint); outline: 0; }
.pz .pz-ta { height: 84px; min-height: 84px; resize: vertical; }
.pz .pz-lab { display: block; margin: 12px 0 6px; font-family: var(--pz-caps); font-weight: 400; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--pz-label); line-height: 1.5; }
.pz-row2 { display: flex; gap: 10px; margin-top: 16px; }
.pz form.pz-row2 { margin-top: 16px; }   /* the Save and Load emails: ".pz form { margin: 0 }" took this away, so the intro sat on the field */
.pz-row2 .pz-in { flex: 1; }
.pz-msg { display: flex; gap: 7px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--pz-body); }
.pz-msg:empty { display: none; }
.pz-modal .pz-msg { margin-top: 10px; }
.pz-msg .pz-ic { width: 14px; height: 14px; margin-top: 2px; }
.pz-msg.ok .pz-ic { color: var(--pz-olive); }
.pz-msg.err { color: var(--pz-ink); }
.pz-msg.err .pz-ic { color: var(--pz-ink); }

/* Email me: three small buttons with icons (layout F) */
.pz-ib { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pz .pz-pref {
  position: relative; display: block; width: 100%; height: auto; margin: 0; padding: 11px 8px 10px; border: 1px solid #d8d0c1; border-radius: 8px; background: #fff; box-shadow: none;
  font-family: var(--pz-sans); text-align: center; text-transform: none; letter-spacing: 0; white-space: normal; color: var(--pz-label); cursor: pointer;
  transition: border-color 300ms ease, color 300ms ease;
}
.pz .pz-pref .pz-ic { width: 20px; height: 20px; display: block; margin: 0 auto 5px; color: var(--pz-off-text); stroke-width: 1.4; }
.pz .pz-pref b { display: block; font-weight: 600; font-size: 13px; line-height: 1.3; }
.pz .pz-pref small { display: block; font-size: 12px; line-height: 1.35; margin-top: 1px; }
.pz .pz-pref:hover { border-color: var(--pz-sand); color: var(--pz-ink); background: #fff; }
.pz .pz-pref[aria-pressed="true"] { border-color: var(--pz-ink); color: var(--pz-ink); box-shadow: inset 0 0 0 1px var(--pz-ink); }
.pz .pz-pref[aria-pressed="true"] .pz-ic { color: var(--pz-ink); }
.pz .pz-pref[aria-pressed="true"] small { color: var(--pz-label); }
.pz .pz-pref[aria-pressed="true"]::after {
  content: ""; position: absolute; top: 7px; right: 7px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--pz-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.3 6.2 5.1 8l3.6-4' fill='none' stroke='white' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Dialogs (same frame as the recipe pages' Share dialog; inside, the save panel from the mockups) */
.pz.pz-modal { position: fixed; inset: 0; z-index: 1070; display: grid; place-items: center; padding: 20px; background: rgba(47, 47, 47, .45); overflow-y: auto; }
.pz.pz-modal[hidden] { display: none; }
.pz-modal-box { position: relative; width: 100%; max-width: 616px; padding: 26px 28px; background: var(--pz-card); border-radius: 8px; box-shadow: var(--pz-shadow); text-align: left; }
.pz-modal-box h2 { font-size: 22px; line-height: 1.3; padding-right: 44px; }
.pz .pz-close {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; margin: 0; padding: 0;
  border: 1px solid var(--pz-btn-ink); border-radius: 50%; background: transparent; box-shadow: none;
  font-family: var(--pz-sans); font-size: 20px; font-weight: 400; line-height: 1; text-transform: none; color: var(--pz-btn-ink);
  transition: border-color 300ms ease, color 300ms ease;
}
.pz .pz-close:hover { background: transparent; color: var(--pz-sand); border-color: var(--pz-sand); }
.pz-small { font-size: 13px; color: var(--pz-label); line-height: 1.5; margin-top: 4px; }
.pz-modal-box .pz-small { margin-top: 4px; }
.pz-cap { display: block; margin-top: 18px; font-family: var(--pz-caps); font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--pz-label); line-height: 1.5; }
.pz-modal-box .pz-ib { margin-top: 10px; }
.pz-mfoot { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--pz-line); font-size: 13px; color: var(--pz-label); line-height: 1.5; }
.pz-modal-box form .pz-row2 { margin-top: 12px; }
.pz-modal-box .pz-stop { margin-top: 10px; }
/* "Newer answers to this puzzle were saved on another device. Show them…" (same tint as the tips) */
.pz-newer { display: flex; gap: 8px; align-items: flex-start; margin-top: 20px; padding: 12px 16px; border-radius: 8px; background: #FAF6F0; font-size: 13.5px; line-height: 1.5; color: var(--pz-body); }
.pz-newer .pz-ic { width: 14px; height: 14px; margin-top: 3px; color: var(--pz-olive); }

/* Overview: "Save and stay in touch", one card */
.pz-stay { margin-top: 64px; }
.pz-stay .pz-toc-head { margin-bottom: 22px; }
.pz-stay-card { padding: 22px 28px 20px; }
.pz-frm { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--pz-line); }
.pz-frm:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.pz .pz-frm .pz-fq { display: block; width: 210px; flex: none; margin: 0; font-size: 14.5px; font-weight: 600; color: var(--pz-ink); line-height: 1.4; }
.pz-frm .pz-in { flex: 0 0 380px; width: 380px; padding: 10px 14px; }
.pz-frm .pz-pill { min-width: 176px; }
.pz-frm .pz-ib { flex: 0 0 568px; gap: 12px; }
.pz-fine { margin-left: 8px; font-size: 12.5px; color: var(--pz-label); line-height: 1.5; }
.pz-fine.pz-msg { font-size: 12.5px; }
.pz .pz-more { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; margin-top: 12px; font-size: 11.5px; color: #c0b9ad; white-space: nowrap; }
.pz .pz-more .pz-lnk, .pz .pz-more .pz-lnk:hover { color: inherit; border-bottom-color: currentColor; white-space: nowrap; }

/*---------------- Prize draw entries (mockups 44-rail-complete, 35-overview-done-1, 62-center-b-review) ----------------*/
/* Left panel: the finished list folds into one line */
.pz-allrow { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--pz-ink); line-height: 1.5; }
.pz .pz-allrow .pz-fold { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; }
.pz-allrow .pz-fold .pz-ic { width: 12px; height: 12px; }
.pz-allrow + .pz-plist { margin-top: 10px; }
.pz-plist .pz-chg { margin-left: auto; font-size: 12.5px; color: var(--pz-ink); border-bottom: 1px solid var(--pz-sand); }
/* The entry form */
.pz .pz-entry .pz-lab { font-size: 11px; letter-spacing: 1.8px; margin: 12px 0 5px; }
.pz .pz-entry .pz-lab small { font-family: var(--pz-sans); font-size: 11px; letter-spacing: 0; text-transform: none; }
.pz .pz-entry.pz-e-rail .pz-in { height: 40px; padding: 9px 12px; font-size: 14px; }
.pz .pz-entry select.pz-in { padding-top: 0; padding-bottom: 0; }
.pz .pz-agree { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-weight: 400; font-size: 13.5px; line-height: 1.45; color: var(--pz-body); cursor: pointer; }
.pz .pz-agree input { width: 16px; height: 16px; margin: 2px 0 0; flex: none; accent-color: var(--pz-ink); }
.pz-entry-foot { display: flex; flex-direction: column; }
.pz .pz-entry.pz-e-rail .pz-send { display: flex; width: 100%; margin-top: 18px; }
.pz-entry-fine { font-size: 12.5px; color: var(--pz-label); line-height: 1.5; margin-top: 10px; text-align: center; }
.pz-entry .pz-msg { margin-top: 10px; }
.pz-thanks { font-size: 14px; line-height: 1.5; color: var(--pz-text); margin-bottom: 14px; outline: 0; }
.pz-thanks b { display: block; color: var(--pz-ink); font-weight: 600; }
.pz .pz-pill.pz-sent { display: flex; width: 100%; color: var(--pz-off-text); border-color: var(--pz-off-line); background: var(--pz-off-fill); cursor: default; }
.pz .pz-pill.pz-sent .pz-ic { width: 12px; height: 12px; }
.pz-sent-on { font-size: 12.5px; color: var(--pz-label); text-align: center; margin-top: 8px; }
.pz-another { margin-top: 12px; font-size: 13.5px; text-align: center; }
/* /puzzles/?email-confirm=… or ?email-stop=…: one press to confirm or stop the puzzle emails */
.pz-linkbox { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; max-width: 760px; margin: 24px auto 0; padding: 20px 24px; font-size: 14.5px; line-height: 1.5; color: var(--pz-body); }
.pz-linkbox p:first-child { flex: 1 1 360px; }
.pz-linkbox b { color: var(--pz-ink); font-weight: 600; }
.pz-linkbox .pz-msg { flex-basis: 100%; }
.pz .pz-pill[hidden] { display: none; }
/* Overview, layout 1: the fields in one card under the totals row */
.pz-entry-card { margin-top: 16px; padding: 20px 22px 18px; }
.pz-entry.pz-e-card .pz-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pz-entry.pz-e-card.pz-e-kids .pz-fields { grid-template-columns: minmax(0, 1fr) 120px; }
.pz-entry.pz-e-card.pz-e-kids .pz-fld:nth-child(n+3) { grid-column: 1 / -1; }   /* the child's name and age, then email and place full width */
.pz .pz-entry.pz-e-card .pz-lab { margin: 0 0 6px; }
.pz-entry.pz-e-card .pz-entry-foot { flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.pz-entry.pz-e-card .pz-entry-fine { text-align: left; margin-top: 0; }
.pz-entry.pz-e-card.pz-e-kids .pz-entry-foot { flex-direction: column; align-items: stretch; }
.pz-entry.pz-e-card.pz-e-kids .pz-entry-foot .pz-send { align-self: flex-end; }
.pz-entry-sent { max-width: 420px; margin-left: auto; }
.pz-why .pz-ic path[d^="m3.5"] { stroke: var(--pz-ink); }
/* "Your answers": one card per puzzle */
.pz-rv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pz-rv-card { padding: 20px 22px; }
.pz-rv-head { display: flex; align-items: center; gap: 10px; }
.pz .pz-rv-head h2 { font-size: 19px; line-height: 1.3; }
.pz-rv-head .pz-link { margin-left: auto; font-size: 13.5px; }
.pz-rv-card > p, .pz-rv-card > ol, .pz-rv-card > div { margin-top: 12px; font-size: 14px; color: var(--pz-body); line-height: 1.55; }
.pz-rv-list li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-rv-list li span { color: var(--pz-sand); font-family: var(--pz-caps); margin-right: 8px; }
.pz .pz-rv-card .pz-rv-more { margin-top: 4px; font-size: 13px; color: var(--pz-label); }
.pz-rv-row { display: flex; gap: 16px; align-items: center; }
.pz-rv-xw { display: block; flex: none; }
.pz-rv-chips { flex-wrap: wrap; gap: 4px; }
.pz .pz-rv-chips i { width: 24px; height: 24px; border-radius: 5px; background: #efe9de; font-size: 12px; color: var(--pz-ink); }
.pz-rv-back { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 15px; color: var(--pz-body); }
.pz-rv-back .pz-ic { color: var(--pz-olive); }

/*---------------- Aa, Print and Share above each puzzle (mockup 41b; 45-features "2", "3", "4", "7") ----------------*/
.pz-tools { display: flex; gap: 10px; flex: none; }
.pz .pz-aa { font-family: var(--pz-serif); font-size: 15px; letter-spacing: 0; text-transform: none; }
.pz-tools .pz-menu-wrap { position: relative; }
/* Print menu: opens downwards, right-aligned */
.pz .pz-printmenu { top: calc(100% + 8px); bottom: auto; left: auto; right: 0; width: 360px; padding: 8px; }
.pz .pz-printmenu button, .pz .pz-printmenu a { display: block; width: 100%; padding: 11px 12px; border-radius: 6px; text-align: left; text-decoration: none; color: var(--pz-ink); }
.pz .pz-printmenu a:hover, .pz .pz-printmenu a:focus-visible { background: var(--pz-tint); color: var(--pz-ink); }
.pz-printmenu b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.pz-printmenu span:not(.pz-menu-h) { display: block; font-size: 13px; color: var(--pz-label); line-height: 1.4; }
.pz-menu-h { display: block; padding: 12px 12px 4px; font-family: var(--pz-caps); font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--pz-olive); }
.pz-menu-h + * { margin-top: 0; }
.pz-printmenu .pz-menu-h:not(:first-child) { margin-top: 8px; border-top: 1px solid var(--pz-line); }
/* Aa panel */
.pz-pop { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; width: 420px; padding: 4px 22px; background: var(--pz-card); border-radius: 8px; box-shadow: 0 1px 2px rgba(70, 56, 40, .06), 0 12px 36px rgba(70, 56, 40, .14); text-align: left; }
.pz-pop[hidden], .pz-menu[hidden] { display: none; }
.pz-set { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px dashed var(--pz-line); font-size: 14.5px; color: var(--pz-ink); line-height: 1.4; }
.pz-set:first-child { border-top: 0; }
.pz-set small { display: block; font-size: 12.5px; color: var(--pz-label); line-height: 1.45; margin-top: 2px; }
.pz-sizes, .pz-lay { display: inline-flex; gap: 4px; flex: none; }
.pz .pz-sizes button { width: 38px; height: 34px; margin: 0; padding: 0; border: 1px solid var(--pz-off-line); border-radius: 6px; background: transparent; box-shadow: none; font-family: var(--pz-serif); font-weight: 400; text-transform: none; letter-spacing: 0; line-height: 1; color: var(--pz-ink); cursor: pointer; }
.pz .pz-sizes button[aria-pressed="true"], .pz .pz-lay button[aria-pressed="true"] i { border-color: var(--pz-ink); box-shadow: inset 0 0 0 1px var(--pz-ink); }
.pz .pz-lay { gap: 10px; }
.pz .pz-lay button { width: 92px; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; font-family: var(--pz-sans); font-weight: 400; font-size: 12px; text-transform: none; letter-spacing: 0; line-height: 1.4; color: var(--pz-label); cursor: pointer; text-align: center; }
.pz .pz-lay button[aria-pressed="true"] { color: var(--pz-ink); }
.pz-lay i { display: flex; gap: 4px; height: 46px; padding: 6px; border: 1px solid var(--pz-off-line); border-radius: 6px; margin-bottom: 4px; }
.pz-lay i b { flex: 1.3; background: repeating-linear-gradient(90deg, #2f2f2f 0 4px, #fff 4px 8px); border-radius: 2px; opacity: .8; }
.pz-lay i em { flex: 1; background: repeating-linear-gradient(#cfc8bb 0 2px, transparent 2px 7px); }
.pz-lay i s { flex: .6; background: #E3DACB; border-radius: 2px; }
.pz .pz-switch { position: relative; width: 34px; height: 20px; flex: none; margin: 0; padding: 0; border: 1px solid var(--pz-ink); border-radius: 20px; background: transparent; box-shadow: none; cursor: pointer; }
.pz-switch i { position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--pz-ink); transition: left 200ms ease; }
.pz .pz-switch[aria-checked="true"] { background: var(--pz-ink); }
.pz-switch[aria-checked="true"] i { left: 17px; background: #fff; }
.pz-kbd { font-size: 12.5px; color: var(--pz-label); text-align: right; line-height: 2; }
.pz-kbd kbd { font-family: var(--pz-caps); font-size: 11px; letter-spacing: 1px; color: var(--pz-ink); border: 1px solid var(--pz-off-line); border-radius: 4px; padding: 1px 6px; margin: 0 2px; background: var(--pz-card); box-shadow: none; }
/* Clue text size: the clue and question text grows, the grids keep their size */
.pz-clues, .pz-now .pz-big, .pz-now .pz-hintline, .pz-q, .pz-kb, .pz-acc, .pz-tl-events, .pz-ws-list, .pz-kpairs, #pz-phrase-q { zoom: var(--pz-text-zoom, 1); }
/* Left-handed mirrors the page: the clues (or names) and buttons on the left of the grid, the puzzle list on the right */
.pz[data-hand="left"] .pz-solve { grid-template-columns: minmax(0, 1fr) auto; }
.pz[data-hand="left"] .pz-solve > .pz-gridwrap { order: 2; }
.pz[data-hand="left"] .pz-ws { grid-template-columns: minmax(0, 1fr) auto; }
.pz[data-hand="left"] .pz-ws > .pz-ws-grid { order: 2; }
.pz[data-hand="left"] .pz-bottom { flex-direction: row-reverse; }
.pz[data-hand="left"] .pz-layout { grid-template-columns: minmax(0, 1fr) 290px; }
.pz[data-hand="left"] .pz-layout > .pz-rail { order: 2; }
/* Read aloud (kids) */
.pz .pz-say { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; margin: 0 8px 0 0; padding: 0; vertical-align: middle; border: 1px solid var(--pz-ink); border-radius: 50%; background: transparent; box-shadow: none; color: var(--pz-ink); cursor: pointer; }
.pz .pz-say:hover { color: var(--pz-sand); border-color: var(--pz-sand); background: transparent; }
.pz-clues li .pz-say { margin: 0 0 0 auto; }
.pz .pz-say.beside { margin: 6px 0 2px; }
/* Share dialog (the recipe pages' dialog) */
.pz-modal-box.pz-share-box { max-width: 420px; text-align: center; }
.pz-share-box h2 { padding: 0 44px; font-size: 24px; }
.pz-shr-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0 14px; }
.pz .pz-shr-btn { padding: 3px 15px; line-height: 26px; text-decoration: none; }
.pz-shr-url { font-size: 12px; word-break: break-all; color: var(--pz-label); margin: 0 0 14px; }
.pz-qr { border-top: 1px dashed var(--pz-line); margin-top: 18px; padding-top: 16px; }
.pz-qr[hidden] { display: none; }
.pz-qr .pz-label { font-size: 11px; }
.pz-qr-img { width: 168px; height: 168px; margin: 10px auto 0; }
.pz-qr-img svg { width: 100%; height: 100%; display: block; }
.pz-qr p { font-size: 13px; line-height: 1.6; color: var(--pz-label); margin-top: 4px; }
.pz-shr-after { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--pz-line); font-size: 13.5px; line-height: 1.45; color: var(--pz-body); text-align: left; }

/* Print all (/puzzles/<edition>/print/) */
.pz-print-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px; margin: 10px 0 30px; }   /* the buttons go under the title when there's no room beside it */
.pz-print-bar h1 { font-size: 40px; line-height: 1.2; margin-top: 6px; }
.pz-print-acts { display: flex; gap: 10px; align-items: center; flex: none; }
.pz-print-item { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px dashed var(--pz-line); }
.pz-printall .pz-bottom, .pz-printall [data-clear-all], .pz-printall .pz-tip .pz-pill { display: none; }

/*---------------- After the draw: "Need a hand?" (help bar Merge 1 under the puzzle; green where the reader's answer differs) ----------------*/
/* One beige bar in three parts with fine lines between: "Need a hand?" | the chosen item | the whole puzzle. puzzles.js
   (fit) adds .pz-help-mid ("Need a hand?" above the two parts) or .pz-help-stack (all stacked) when one row doesn't fit. */
.pz-help { margin: 18px 0 0; padding: 16px 22px; background: var(--pz-tint); border-radius: 8px; }
.pz-help-row { display: flex; align-items: center; }
.pz .pz-help-t { display: flex; align-items: center; gap: 9px; flex: 1 1 auto; min-width: 150px; margin: 0; padding-right: 24px; font-size: 13.5px; line-height: 1.45; color: var(--pz-text); }   /* --pz-label is under 4.5:1 on the beige */
.pz-help-t span { text-wrap: balance; }   /* when the note needs two lines: "Your own answers / stay as they are." */
.pz-help-t b { display: block; font-weight: 500; font-size: 15px; color: var(--pz-ink); }
.pz-help-ic { width: 20px; height: 20px; color: var(--pz-off-line); stroke-width: 1.1; }
.pz-help-ic .pz-help-ring { stroke: var(--pz-card); stroke-width: 4; }
.pz-help-ic .pz-help-band { stroke: var(--pz-sand); stroke-width: 4; stroke-linecap: butt; }
.pz-help-parts { display: flex; flex: 0 0 auto; }
.pz-help-one, .pz-help-all { position: relative; margin-left: 24px; padding: 2px 0 2px 24px; }
.pz-help-parts > :first-child { margin-left: 0; }
.pz-help-one::before, .pz-help-all::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--pz-line); }
/* width 0 + min-width 100%: a long label ("a name you haven't marked") wraps over the buttons instead of widening the part */
.pz-help-parts .pz-label { display: block; width: 0; min-width: 100%; margin-bottom: 8px; font-size: 11px; letter-spacing: 1.6px; color: var(--pz-olive); }
.pz-help-btns { display: flex; gap: 10px; }
.pz-help-mid .pz-help-row, .pz-help-stack .pz-help-row { flex-direction: column; align-items: stretch; }
.pz .pz-help-mid .pz-help-t { min-width: 0; padding: 0 0 12px; }
.pz-help-mid .pz-help-parts > :first-child { padding-left: 0; }
.pz-help-mid .pz-help-parts > :first-child::before { content: none; }
.pz .pz-help-stack .pz-help-t { min-width: 0; padding: 0 0 14px; }
.pz-help-stack .pz-help-parts { flex-direction: column; }
.pz-help-stack .pz-help-one, .pz-help-stack .pz-help-all { margin: 0; padding: 14px 0; }
.pz-help-stack .pz-help-parts > :last-child { padding-bottom: 0; }
.pz-help-stack .pz-help-one::before, .pz-help-stack .pz-help-all::before { bottom: auto; right: 0; width: auto; height: 1px; }
.pz-help-stack .pz-help-btns { flex-wrap: wrap; }
.pz p.pz-help-tip { margin: 12px 0 0; font-size: 13px; line-height: 1.5; font-style: italic; color: var(--pz-text); }
.pz-help-tip[hidden] { display: none; }
p.pz-ans.pz-first, span.pz-ans.pz-first { font-family: var(--pz-sans); font-weight: 400; font-size: 14.5px; color: var(--pz-body); }
.pz-ans.pz-first b { font-weight: 700; color: var(--pz-answer); }
/* "Show hint": the written hint under the clue or question (mockups B1/B3: a pale green box, "Hint:" in green) */
p.pz-hintline, span.pz-hintline { font-family: var(--pz-sans); font-weight: 400; color: var(--pz-ink); background: rgba(47, 122, 75, .08); }
.pz p.pz-hintline { margin: 8px 0 0; padding: 8px 12px; border-radius: 6px; font-size: 14.5px; line-height: 1.5; }
span.pz-hintline { display: inline-block; margin: 2px 6px; padding: 1px 8px; border-radius: 4px; font-size: 14px; line-height: 1.5; }
.pz-hintline b { font-weight: 600; color: var(--pz-answer); }
.pz-now p.pz-hintline { margin-top: 12px; }
/* Find the Differences: the quarter of the pictures where a change still is (no text) stays clear with a green frame;
   the other quarters fade back */
.pz-quad { position: absolute; width: 50%; height: 50%; pointer-events: none; }
.pz-quad.on { box-shadow: inset 0 0 0 3px var(--pz-answer), inset 0 0 0 5px rgba(255, 254, 251, .85); }
.pz-quad.off { background: rgba(255, 254, 251, .62); }
/* Word search: the list's words choose a word for the help bar (B4: the chosen one framed); a first letter shown is a
   green circle (A1); a hint is a soft circle drawn in .pz-ws-marks */
/* the -1px top and bottom take back the border, so the list keeps its height when the words become buttons */
.pz .pz-ws-list button { display: inline; height: auto; margin: -1px -5px; padding: 0 4px; border: 1px solid transparent; border-radius: 6px; background: transparent; box-shadow: none; font: inherit; letter-spacing: inherit; line-height: inherit; text-transform: inherit; text-align: left; vertical-align: baseline; white-space: normal; color: inherit; cursor: pointer; transition: border-color 300ms ease, color 300ms ease; }
.pz .pz-ws-list button[aria-pressed="true"] { border-color: var(--pz-ink); }
.pz .pz-ws-list button:hover, .pz .pz-ws-list button:focus-visible { color: var(--pz-sand); border-color: var(--pz-sand); background: transparent; }
.pz .pz-ws-list button:active { box-shadow: none; }
.pz .pz-ws-list li.got button { margin: -1px -4px -1px -2px; padding: 0 4px 0 2px; }
.pz .pz-ws-grid button.peek { background: var(--pz-answer); color: #fff; font-weight: 600; }
.pz .pz-ws-grid button.peek.sel { background: var(--pz-olive); }   /* a line being marked across it */
.pz .pz-lb.peek::placeholder { color: var(--pz-answer); opacity: 1; }
@media (max-width: 575px) {
  .pz-help { padding: 16px 18px; }
}
.pz-ans { color: var(--pz-answer); }
p.pz-ans { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.pz-ws-side p.pz-ans, .pz-ws-list + p.pz-ans { margin: 4px 0 16px; font-size: 14px; }
span.pz-ans { margin: 0 6px; font-family: var(--pz-sans); font-weight: 600; font-size: 15px; }
.pz-xw .c.ans span, .pz .pz-boxes button.ans { color: var(--pz-answer); }
/* Crossword answers (G2, owner 2026-11-16): a square the answer fills in turns pale green and its letter bold; where the
   reader had typed a different letter, theirs sits in a small red corner flag (puzzles-crossword.js wrongBy). #E6F1E9,
   not the mockup's #E3EFE6, keeps the green letter at 4.5:1 or more. */
.pz-xw .c.ans, .pz .pz-boxes button.ans, .pz .pz-xsol-row button.ans { background: #E6F1E9; }
.pz-xw .c.ans span, .pz .pz-boxes button.ans, .pz .pz-xsol-row button.ans { font-weight: 700; }
.pz .pz-boxes button.ans { position: relative; }
.pz-xw .c em, .pz .pz-boxes button em, .pz .pz-xsol-row button em { position: absolute; z-index: 2; top: 0; right: 0; width: 14px; height: 14px; padding: 1px 1px 0 0; box-sizing: border-box; text-align: right; font-style: normal; font-family: var(--pz-caps); font-weight: 600; font-size: 8.5px; line-height: 1; color: #fff; background: linear-gradient(to bottom left, #B5473F 50%, transparent 50%); pointer-events: none;
  text-shadow: -.6px 0 #B5473F, .6px 0 #B5473F, 0 -.6px #B5473F, 0 .6px #B5473F; }   /* a wide letter (M, W) reaches past the triangle: its edge keeps it readable on the green */
/* The selected word and the cursor on answer squares: a frame, since a darker green would take the letter below 4.5:1
   (olive marks the cursor, as in the clue box) */
.pz-xw .c.ans.w, .pz .pz-xsol-row button.ans.cur { outline: 2px solid var(--pz-sand); outline-offset: -2px; }
.pz-xw .c.ans.cur, .pz .pz-xsol-row button.ans.cur { outline-color: var(--pz-olive); }
.pz-xw .c em { width: calc(var(--cell) * .45); height: calc(var(--cell) * .45); font-size: calc(var(--cell) * .275); }   /* 14px and 8.5px on a 31px square */
.pz-xw.free .c em { top: 1px; }   /* kids' squares draw their own top line */
.pz .pz-lb.ans { color: var(--pz-answer); }
.pz .pz-kb label.pz-right input[type="radio"] { border: 3px solid var(--pz-answer); }
.pz-ring.ans { border: 3px dashed var(--pz-answer); box-shadow: 0 0 0 2px #fff; }
.pz-tl-slots li .pz-ans, .pz-kpair .pz-ans { grid-column: 2; margin-top: 0; }
.pz-kpair span.pz-ans { margin: 0; }
.pz-kpair .pz-hintline { grid-column: 2; display: block; margin: 0; }   /* a meaning's hint: under its pick list, like its answer */
.pz-revealed .pz-block [data-i], .pz-revealed .pz-block [data-box], .pz-revealed .pz-block [data-ev], .pz-revealed .pz-block [data-slot], .pz-revealed .pz-block [data-pic] { cursor: default; }
.pz-revealed [data-clear], .pz-revealed [data-clear-all] { opacity: .4; }

/*---------------- Printing: only the puzzle, on white; "Empty" hides the reader's answers ----------------*/
@media print {
  #navbar-placeholder, #footer-placeholder, .navbar, footer, #cookie-banner, .cookie-notice, .pz-rail, .pz-tools, .pz-help, .pz-foot, .pz-bottom, .pz-pass, .pz-newer,
  .pz-modal, .pz-say, .pz-now, .pz-tip .pz-pill, .pz-linkbox, [data-clear-all], .pz-sr, .pz-strip, .pz-cluebar { display: none !important; }
  html, body { background: #fff !important; }
  body { padding-top: 0 !important; }
  .pz { padding-bottom: 0; }
  .pz-layout { display: block; }
  .pz-card { box-shadow: none !important; background: none !important; padding-left: 0 !important; padding-right: 0 !important; }
  .pz-head { margin-bottom: 12px; }
  .pz-head h1 { font-size: 32px; }
  .pz-q, .pz-clues li { break-inside: avoid; }   /* one question or clue at a time: a whole card would jump to the next page */
  .pz-xw .c.w, .pz-xw .c.cur, .pz .pz-xsol-row button.cur { background: #fff; }   /* the word being typed isn't highlighted on paper */
  .pz-xw .c.ans, .pz .pz-xsol-row button.ans { background: #E6F1E9; }   /* shown answers keep their green, cursor or not */
  .pz-xw .c.ans.w, .pz-xw .c.ans.cur, .pz .pz-xsol-row button.ans.cur { outline: 0; }   /* nor a frame for the selection */
  /* The black squares and grid lines are backgrounds, which browsers leave out when printing unless told otherwise */
  .pz-xw, .pz-xw .c, .pz-ws-grid, .pz-ws-grid button, .pz-lb, .pz-ring, .pz-ws-list li.got,
  .pz-xsol-row button.ans, .pz-xsol-row button em, .pz-ws-key i { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pz-print-bar { display: none !important; }
  .pz-print-item { break-after: page; border: 0; margin: 0; padding: 0; }
  .pz-print-item:last-child { break-after: auto; }
}
.pz-print-empty .pz-xw .c span, .pz-print-empty .pz-xsol-row button span, .pz-print-empty [data-count] { visibility: hidden; }
.pz-print-empty input, .pz-print-empty textarea, .pz-print-empty select { color: transparent !important; -webkit-text-fill-color: transparent; }
.pz-print-empty .pz .pz-kb input[type="radio"]:checked { border: 1px solid #bdb5a6; }   /* like an unticked one */
.pz-print-empty .pz-clues li.done, .pz-print-empty .pz-clues li.done b { color: var(--pz-body); }
.pz-print-empty .pz-clues li.done b { color: var(--pz-ink); }
.pz-print-empty .pz .pz-tl-slots button.full { border-style: dashed; background: transparent; }
.pz-print-empty .pz .pz-ws-grid button.f, .pz-print-empty .pz .pz-ws-grid button.sel { background: transparent; color: inherit; }
.pz-print-empty .pz .pz-ws-grid button.start { box-shadow: none; }
.pz-print-empty .pz-ws-found, .pz-print-empty .pz-ring, .pz-print-empty .pz-tl-slots button b, .pz-print-empty .pz-tl-slots button span:not(.pz-n) { visibility: hidden; }
.pz-print-empty .pz-ws-list li.got { display: block; width: auto; margin: 0; padding: 0; line-height: 2; color: inherit; text-decoration: none; background: transparent; }
.pz-print-empty .pz-ws-list li.got::before { content: none; }
.pz-print-empty .pz-ws-marks, .pz-print-empty .pz-ws-arrows, .pz-print-empty .pz-ws-key { display: none; }
.pz-print-empty .pz .pz-tl-events button.used { opacity: 1; border-style: solid; }

/*---------------- Phones and tablets: a row of puzzle buttons under the heading (mockup F), pinned under the menu
  once it scrolls away (F4), and the crossword clue in a bar under the menu while typing (A). puzzles.js and
  puzzles-crossword.js add them; the panel with the full list sits below the puzzle at these widths. ----------------*/
.pz-strip, .pz-cluebar { display: none; }
@media (max-width: 991px) {
  .pz-strip:not([hidden]) { display: block; position: relative; }
  /* Runs off the right edge like the mockup; the extra padding keeps the keyboard focus ring inside the scroll box */
  .pz-strip-in { display: flex; gap: 8px; overflow-x: auto; margin: -3px -24px 17px -5px; padding: 5px 24px 5px 5px; scrollbar-width: none; }
  .pz-strip-in::-webkit-scrollbar { display: none; }
  /* Tablets: the column ends before the screen does, so the row fades out there instead of stopping mid-air */
  @media (min-width: 576px) {
    .pz-strip:not(.pz-pin) .pz-strip-in { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent); }
  }
  .pz .pz-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #c9bfae; border-radius: 30px; padding: 7px 13px; font-family: var(--pz-sans); font-size: 13.5px; color: var(--pz-ink); background: var(--pz-card); white-space: nowrap; text-decoration: none; transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease; }
  .pz .pz-chip b { font-family: var(--pz-caps); font-weight: 400; font-size: 11px; letter-spacing: 1px; color: #b5a48a; transition: color 300ms ease; }
  .pz .pz-chip[aria-current="page"] { background: var(--pz-ink); color: #fff; border-color: var(--pz-ink); }
  .pz .pz-chip[aria-current="page"] b { color: #cfc6b6; }
  .pz .pz-chip.done::after { content: "✓"; color: var(--pz-olive); }
  .pz .pz-chip[aria-current="page"].done::after { color: #fff; }
  .pz .pz-chip.pz-chip-go { border-style: dashed; color: #5c5c5c; }
  .pz .pz-chip.off { color: var(--pz-off-text); border-color: var(--pz-off-line); }
  .pz a.pz-chip:hover, .pz a.pz-chip:focus-visible { background: transparent; color: var(--pz-sand); border-color: var(--pz-sand); }
  .pz a.pz-chip:hover b, .pz a.pz-chip:hover::after { color: var(--pz-sand); }
  /* The pinned copy: full width under the menu, below the menu's own drop-down (the navbar is z-index 99) */
  .pz-strip.pz-pin { position: fixed; z-index: 90; left: 0; right: 0; background: var(--pz-card); border-bottom: 1px solid #e6ddcf; box-shadow: 0 8px 18px -14px rgba(70, 56, 40, .45); }
  .pz-pin .pz-strip-in { margin: 0; padding: 9px 46px 10px 16px; }
  .pz-pin::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 46px; background: linear-gradient(90deg, rgba(255, 254, 251, 0), var(--pz-card) 80%); pointer-events: none; }
  /* The crossword clue while typing */
  .pz-cluebar:not([hidden]) { display: flex; align-items: center; gap: 10px; position: fixed; z-index: 91; left: 0; right: 0; padding: 10px 14px 11px; background: #F4EEE6; border-bottom: 1px solid #e3d8c8; box-shadow: 0 6px 16px -10px rgba(70, 56, 40, .35); }
  .pz-cluebar.pz-cb-off { visibility: hidden; }   /* no room under it above the keyboard (puzzles-crossword.js) */
  .pz .pz-cluebar button { flex: none; height: auto; margin: 0; padding: 6px 4px; background: transparent; border: 0; box-shadow: none; color: var(--pz-ink); line-height: 0; cursor: pointer; transition: color 300ms ease; }
  .pz .pz-cluebar button:hover { color: var(--pz-sand); }
  .pz-cluebar .pz-ic { width: 18px; height: 18px; }
  .pz-cb-t { flex: 1; min-width: 0; }
  .pz-cluebar .pz-label { display: block; font-size: 10.5px; letter-spacing: 1.6px; color: var(--pz-olive); }
  .pz .pz-cluebar p { font-family: var(--pz-serif); font-size: 16px; line-height: 1.3; color: var(--pz-ink); }
  .pz-cluebar p em { font-style: normal; font-size: 13px; color: var(--pz-label); }
}

/*---------------- Smaller screens ----------------*/
@media (max-width: 1399px) {
  /* Below 1400px the word search stacks, grid on top: beside the grid the names and pairs had 86px or less */
  .pz-ws, .pz[data-hand="left"] .pz-ws { grid-template-columns: minmax(0, 1fr); }
  .pz[data-hand="left"] .pz-ws > .pz-ws-grid { order: 0; }
}
@media (max-width: 1199px) {
  .pz[data-hand="left"] .pz-solve { grid-template-columns: minmax(0, 1fr); }   /* one column here, left-handed or not */
  .pz[data-hand="left"] .pz-solve > .pz-gridwrap { order: 0; }
  .pz-shelf { gap: 28px; }
  .pz-toc { grid-template-columns: minmax(0, 1fr); }
  .pz-solve { grid-template-columns: minmax(0, 1fr); }
  .pz-frm { flex-wrap: wrap; }
  .pz .pz-frm .pz-fq { width: 100%; }
  .pz-frm .pz-in { flex: 1 1 240px; width: auto; }
  .pz-frm .pz-ib { flex: 1 1 100%; }
  .pz-fine { flex-basis: 100%; margin-left: 0; }
}
@media (max-width: 899px) {
  .pz-rv { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575px) {
  /* The heading stacks here, so the Aa panel and Print menu open from the left edge of the buttons row */
  .pz-tools { position: relative; }
  .pz-tools .pz-menu-wrap { position: static; }
  .pz-pop, .pz .pz-printmenu { left: 0; right: auto; width: min(420px, calc(100vw - 32px)); }
  .pz-set { flex-wrap: wrap; }
  .pz-entry.pz-e-card .pz-fields, .pz-entry.pz-e-card.pz-e-kids .pz-fields { grid-template-columns: minmax(0, 1fr); }
  .pz-entry.pz-e-card .pz-entry-foot { flex-direction: column; align-items: stretch; }
  .pz-modal-box { padding: 22px 18px; }
  .pz-mfoot { flex-direction: column; gap: 6px; }
  .pz-frm .pz-pill { min-width: 0; flex: 1 1 100%; }
}
@media (max-width: 991px) {
  .pz-layout, .pz[data-hand="left"] .pz-layout { grid-template-columns: minmax(0, 1fr); }   /* the list goes below the puzzle, left-handed or not */
  .pz-layout .pz-rail { order: 2; }
  .pz-intro h1 { font-size: 52px; }
  .pz-shelf { flex-wrap: wrap; }
  .pz-row { grid-template-columns: 44px minmax(0, 1fr) 110px; }
  .pz-row .pz-act { display: none; }
}
@media (max-width: 575px) {
  .pz-xwcard { padding: 18px 12px 18px; }
  .pz-gridwrap .pz-clues ol { column-count: 1; }
  .pz-head { flex-direction: column; align-items: flex-start; }
  .pz-head h1 { font-size: 38px; }
  .pz-bk { width: 130px; }
  .pz-row { grid-template-columns: 34px minmax(0, 1fr); }
  .pz-row .pz-st { grid-column: 2; }
}
@media (max-width: 899px) {
  .pz-tl, .pz-scr, .pz-kidslists, .pz-kpairs { grid-template-columns: minmax(0, 1fr); }
  .pz .pz-books { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pz-kb td.c { width: 96px; }
}
@media (max-width: 575px) {
  .pz-block { padding: 20px 16px 18px; }
  .pz-pass { padding: 20px 16px 16px; }
  .pz-pass-head { flex-direction: column; gap: 2px; }
  .pz-pass-text { max-height: 60vh; }
  .pz .pz-books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pz-tip { grid-template-columns: minmax(0, 1fr); }
  .pz-kb td.c { width: 64px; }
  .pz-kb th { font-size: 10px; letter-spacing: 1px; }
  .pz-diff { grid-template-columns: minmax(0, 1fr); }
  .pz-scr-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .pz .pz-lb { width: 38px; height: 42px; }
  /* A long word (Edition Four's 9-letter phrase) is wider than the card: its boxes share the room, at most 38px each */
  .pz-boxrow:not(.pz-words) { display: flex; }
  .pz-boxrow:not(.pz-words) > .pz-lbw { flex: 0 1 38px; min-width: 0; }
  .pz .pz-boxrow:not(.pz-words) .pz-lb { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pz .pz-boxes button.cur:empty::after { animation: none; }
}

/*--------------------------------------------------------------
  "Check my answers" and "Puzzle complete" (js/puzzles-check.js; owner's chosen design 2026-11-21, mockups in
  Non-Website/2026.11.21 - Puzzle answer check and celebration options/3 Chosen design).
  Colours a check leaves (ck-*): r right = pale green; w to compare = sand lines on cream; e still empty = dotted edge;
  o your own = beige; x a circle or line on no answer = red, dashed, with a cross (and right circles get a tick), so
  they are told apart by shape as well as colour (owner 2026-11-21, for colour-blind readers).
--------------------------------------------------------------*/
.pz-bottom.pz-ck-row { flex-wrap: wrap; row-gap: 14px; }   /* a bottom row with the Check button (the script adds the class) */
.pz .pz-ck-btn .pz-ic, .pz .pz-ck-note .pz-pill .pz-ic { width: 13px; height: 13px; }
.pz .pz-pill.pz-ck-busy { color: var(--pz-label); border-color: var(--pz-off-line); }
/* the score beside the button: ring, number, details */
.pz-ck-res { display: flex; align-items: center; gap: 14px; margin-left: 12px; }
.pz-ck-ring { width: 52px; height: 52px; flex: none; transform: rotate(-90deg); }
.pz-ck-ring circle { fill: none; stroke-width: 5; }
.pz-ck-ring .t { stroke: var(--pz-line); }
.pz-ck-ring .r { stroke: var(--pz-answer); }
.pz-ck-ring .w { stroke: var(--pz-sand); }
.pz-ck-num { display: flex; flex-direction: column; }
.pz-ck-n { font-family: var(--pz-serif); font-size: 30px; line-height: 1; color: var(--pz-ink); }
.pz-ck-of { font-family: var(--pz-caps); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; line-height: 1.2; color: var(--pz-label); margin-top: 7px; white-space: nowrap; }
.pz-ck-det { margin-left: 6px; padding-left: 18px; border-left: 1px solid var(--pz-line); }
.pz .pz-ck-key { font-size: 13.5px; line-height: 1.35; color: var(--pz-text); }
.pz .pz-ck-key li { display: flex; align-items: center; gap: 8px; padding: 2px 0; white-space: nowrap; }
.pz-ck-key li b { font-weight: 600; color: var(--pz-ink); }
.pz-ck-key i { display: block; width: 14px; height: 14px; flex: none; box-sizing: border-box; border: 1px solid var(--pz-ink); background: #fff; }
.pz-ck-key i.ck-r { background: #E6F1E9; }
.pz-ck-key i.ck-w { background: linear-gradient(135deg, transparent 46%, var(--pz-sand) 46%, var(--pz-sand) 54%, transparent 54%), #FBF6EE; }
.pz-ck-key i.ck-e { border: 1.2px dashed #a9a396; }
.pz-ck-key i.ck-o { background: var(--pz-tint); border-color: #cdbfa8; }
.pz-ck-key i.ck-x { position: relative; border: 1.5px dashed #E0442A; border-radius: 50%; background: rgba(224, 68, 42, .08); }
.pz-ck-key i.ck-x::before { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--pz-sans); font-size: 12px; font-weight: 700; line-height: 1; color: #E0442A; }
.pz .pz-ck-hide { display: inline-block; margin-top: 6px; font-size: 13px; }
/* readers who ask for less motion: no wave, the colours fade in together */
.pz-ck-fade .ck-r, .pz-ck-fade .ck-w, .pz-ck-fade .ck-e, .pz-ck-fade .ck-o, .pz-ck-fade .ck-x { animation: pz-ck-in .35s ease both; }
@keyframes pz-ck-in { from { opacity: .35; } }
/* the soft band where the wave is (placed over the puzzle by the script) */
.pz-ck-wave { position: absolute; z-index: 4; pointer-events: none; mix-blend-mode: multiply; }
/* what the check leaves on each kind of answer */
.pz .pz-xw .c.ck-r { background: #E6F1E9; }
.pz .pz-xw .c.ck-w { background: linear-gradient(135deg, transparent 46%, var(--pz-sand) 46%, var(--pz-sand) 54%, transparent 54%), #FBF6EE; }
.pz .pz-xw .c.ck-e { outline: 1.5px dashed var(--pz-off-line); outline-offset: -5px; }
.pz .pz-xw .c.cur.ck-r, .pz .pz-xw .c.cur.ck-w, .pz .pz-xw .c.cur.ck-e { box-shadow: inset 0 0 0 2px var(--pz-olive); }   /* the chosen square stays visible */
.pz .pz-lb.ck-r { background: #E6F1E9; }
.pz .pz-lb.ck-w { background: linear-gradient(135deg, transparent 46%, var(--pz-sand) 46%, var(--pz-sand) 54%, transparent 54%), #FBF6EE; }
.pz .pz-lb.ck-e { outline: 1.5px dashed var(--pz-off-line); outline-offset: -5px; }
.pz .pz-field.ck-r, .pz .pz-select.ck-r { background-color: #E6F1E9; border-color: #a9cdb4; }
.pz .pz-field.ck-w, .pz .pz-select.ck-w { background-image: repeating-linear-gradient(135deg, rgba(197, 169, 146, .45) 0 1.2px, transparent 1.2px 10px); background-color: #FBF6EE; border-color: var(--pz-sand); }
.pz .pz-field.ck-e, .pz .pz-select.ck-e { border: 1.5px dashed var(--pz-off-line); }
.pz .pz-field.ck-o, .pz .pz-select.ck-o { background-color: var(--pz-tint); border-color: #e0d3c0; }
.pz .pz-gap.ck-r { background: #E6F1E9; border-bottom-color: var(--pz-answer); }
.pz .pz-gap.ck-w { background: repeating-linear-gradient(135deg, rgba(197, 169, 146, .45) 0 1.2px, transparent 1.2px 10px), #FBF6EE; border-bottom-color: var(--pz-sand); }
.pz .pz-gap.ck-e { border-bottom-style: dashed; border-bottom-color: #a9a396; }
.pz label.ck-r { background: #E6F1E9; border-radius: 6px; }
.pz label.ck-w { background: repeating-linear-gradient(135deg, rgba(197, 169, 146, .45) 0 1.2px, transparent 1.2px 10px), #FBF6EE; border-radius: 6px; }
.pz .pz-q.ck-e { outline: 1.5px dashed var(--pz-off-line); outline-offset: 4px; border-radius: 6px; }
.pz .pz-tl-slots button.ck-r { background: #E6F1E9; border-color: #a9cdb4; }
.pz .pz-tl-slots button.ck-w { background: repeating-linear-gradient(135deg, rgba(197, 169, 146, .45) 0 1.2px, transparent 1.2px 10px), #FBF6EE; border-color: var(--pz-sand); }
.pz .pz-tl-slots button.ck-e { border-color: var(--pz-off-line); }
.pz-ck-own { display: block; margin: 6px 0 0; font-size: 13px; font-style: italic; color: var(--pz-label); }
.pz .pz-field + .pz-ck-own { margin: -16px 0 10px; }   /* style.css puts 1.5rem under every field */
.pz-ws-marks .mine.ck-r { fill: rgba(150, 196, 160, .62); }
.pz-ws-marks .mine.ck-x { fill: rgba(224, 68, 42, .12); stroke: #E0442A; mix-blend-mode: normal; }
.pz-ws-arrows .mine.ck-r { stroke: #4E7F58; }
.pz-ws-arrows .mine.ck-x { stroke: #E0442A; }
/* Find the Differences: right = green ring with a tick; on no change = red dashed ring with a cross */
.pz-ring.ck-r { border-color: #fff; box-shadow: 0 0 0 2.5px var(--pz-answer), inset 0 0 0 2.5px var(--pz-answer); background: rgba(230, 241, 233, .3); }
.pz-ring.ck-x { border: 3px dashed #E0442A; box-shadow: 0 0 0 2px #fff, inset 0 0 0 2px rgba(255, 255, 255, .85); background: rgba(224, 68, 42, .14); }
.pz-ring > i { position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-family: var(--pz-sans); font-style: normal; font-weight: 700; font-size: 12px; line-height: 1; color: #fff; box-shadow: 0 0 0 1.5px #fff; }
.pz-ring.ck-r > i { background: var(--pz-answer); }
.pz-ring.ck-r > i::before { content: "✓"; }
.pz-ring.ck-x > i { background: #E0442A; }
.pz-ring.ck-x > i::before { content: "×"; font-size: 15px; }
/* the bar under a checked puzzle in the left panel */
.pz-ckbar { display: flex; align-items: center; gap: 8px; margin: -1px 0 7px 28px; }
.pz-ckbar-b { display: flex; gap: 2px; width: 118px; height: 4px; flex: none; }
.pz-ckbar-b i { display: block; border-radius: 2px; }
.pz-ckbar-b .r { background: var(--pz-answer); }
.pz-ckbar-b .w { background: var(--pz-sand); }
.pz-ckbar-b .e { background: var(--pz-line); }
.pz-ckbar-t { font-size: 12px; line-height: 1.2; color: var(--pz-label); white-space: nowrap; }

/* Puzzle complete: the note (the check panel's look: rounded, soft shadow, faint sand edge) */
.pz-cornered { position: relative; }
.pz-ck-note { position: absolute; z-index: 8; right: 30px; top: 24px; width: 300px; padding: 22px 24px 24px; background: var(--pz-card); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(70, 56, 40, .08), 0 18px 44px -14px rgba(70, 56, 40, .38); outline: 1px solid rgba(197, 169, 146, .35); font-family: var(--pz-sans); }
.pz .pz-ck-note h3 { margin: 0; padding-right: 24px; font-family: var(--pz-serif); font-weight: 400; font-size: 28px; line-height: 1.15; color: var(--pz-ink); }
.pz .pz-ck-note p { margin: 6px 0 16px; font-size: 14.5px; line-height: 1.5; color: var(--pz-text); }
.pz-ck-note-btns { display: flex; flex-direction: column; gap: 8px; }
.pz .pz-ck-note-btns .pz-pill { width: 100%; white-space: normal; text-align: center; }
.pz .pz-ck-note-btns a.pz-pill.primary:hover, .pz .pz-ck-note-btns a.pz-pill.primary:focus-visible { color: var(--pz-sand); }
.pz .pz-ck-x { position: absolute; right: 12px; top: 14px; display: grid; place-items: center; width: 30px; height: 30px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; color: var(--pz-label); cursor: pointer; transition: color 300ms ease; }
.pz .pz-ck-x:hover, .pz .pz-ck-x:focus-visible { color: var(--pz-sand); background: transparent; }
.pz .pz-ck-x .pz-ic { width: 14px; height: 14px; }
/* less motion: a paper garland across the top of the note instead of the falling paper (puzzles-check.js draws it) */
.pz .pz-ck-note.pz-ck-bunt { padding-top: 58px; }
.pz .pz-ck-bunt .pz-ck-x { top: 52px; }
.pz-ck-bunting { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
/* the page corner: folds back from the card's bottom right and shows the next puzzle under it (it is the Next link) */
.pz-cornered { --pz-corner: 250px; }
.pz-cornered .pz-bottom .pz-next { visibility: hidden; }
.pz-corner, .pz-corner-flap { position: absolute; right: 0; bottom: 0; z-index: 5; width: 0; height: 0; border-bottom-right-radius: 8px;
  transition: width 1s cubic-bezier(.3, .7, .2, 1), height 1s cubic-bezier(.3, .7, .2, 1); }
.pz-corner-up .pz-corner, .pz-corner-up .pz-corner-flap { width: var(--pz-corner); height: var(--pz-corner); }
.pz .pz-corner { display: block; clip-path: polygon(0 100%, 100% 100%, 100% 20%); background: linear-gradient(141deg, #cdbfa8 0%, #e6dccb 44%, var(--pz-tint) 64%); color: var(--pz-ink); text-decoration: none; }
.pz .pz-corner:hover { color: var(--pz-ink); }
.pz-corner-in { position: absolute; right: 20px; bottom: 16px; width: max-content; text-align: right; opacity: 0; transition: opacity .4s ease .6s; }   /* its own width while the corner grows */
.pz-corner-up .pz-corner-in { opacity: 1; }
.pz-corner .pz-label { display: block; font-size: 11px; color: var(--pz-olive); }
.pz-corner-in b { display: block; margin-top: 4px; font-family: var(--pz-serif); font-weight: 400; font-size: 19px; line-height: 1.15; white-space: nowrap; }
.pz-corner-row { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 5px; }
.pz-corner-in small { font-size: 12.5px; color: var(--pz-label); }
.pz-corner-in .pz-ic { width: 18px; height: 18px; }
.pz .pz-corner:hover .pz-ic { color: var(--pz-sand); }
.pz-corner:focus-visible { outline: 0; }
.pz-corner:focus-visible .pz-corner-in { outline: 2px solid var(--pz-ink); outline-offset: 4px; border-radius: 2px; }
.pz-corner-flap { filter: drop-shadow(-5px -3px 7px rgba(70, 56, 40, .28)); pointer-events: none; }
.pz-corner-flap > span { position: absolute; inset: 0; clip-path: polygon(0 100%, 100% 20%, 22% 2.4%); background: linear-gradient(321deg, #d8cbb4 0%, #e9dfcf 40%, #f8f3ea 62%, #fffdf8 80%, #f1e9dc 100%); }
.pz-corner-still .pz-corner, .pz-corner-still .pz-corner-flap, .pz-corner-still .pz-corner-in { transition: none; }
/* paper confetti (puzzles-check.js places each piece) */
.pz-confetti { position: fixed; z-index: 10000; overflow: hidden; pointer-events: none; }   /* the whole screen, over the menu bar too (the script sizes it) */
.pz-confetti i { position: absolute; display: block; box-shadow: 0 1px 1px rgba(70, 56, 40, .12); animation: pz-fall var(--dur) cubic-bezier(.25, .55, .45, 1) var(--delay) both; }
@keyframes pz-fall {
  from { transform: translate(0, 0) rotate(var(--r0)) skewX(var(--skew)); opacity: .95; }
  80% { opacity: .95; }
  to { transform: translate(var(--drift), var(--fall)) rotate(var(--r1)) skewX(var(--skew)); opacity: 0; }
}
@media (max-width: 575px) {
  .pz-ck-res { order: 3; flex: 1 1 100%; flex-wrap: wrap; margin: 4px 0 0; padding-top: 16px; border-top: 1px dashed var(--pz-line); }
  .pz-ck-det { flex: 1 1 100%; margin: 6px 0 0; padding: 0; border: 0; }
  .pz .pz-ck-key { font-size: 14px; }
  .pz-bottom.pz-ck-row .pz-next { order: 4; }
  .pz-ck-note { position: relative; right: auto; top: auto; width: auto; margin: 22px 0 0; }
  .pz-cornered { --pz-corner: 140px; }
  .pz-corner-in { right: 12px; bottom: 12px; }
  .pz-corner-in b, .pz-corner-in small { display: none; }
  .pz-corner .pz-label { letter-spacing: 1.6px; }
  .pz-corner-in .pz-ic { width: 14px; height: 14px; margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .pz-corner, .pz-corner-flap, .pz-corner-in { transition: none; }
  .pz-confetti { display: none; }
}
@media print {
  .pz-ck-btn, .pz-ck-res, .pz-ck-note, .pz-corner, .pz-corner-flap, .pz-confetti, .pz-ckbar, .pz-ck-wave, .pz-ck-own { display: none !important; }
}
