/* SundayPrep — one stylesheet, no framework. */
:root {
  --brand: #1f4d42;
  --brand-2: #2c6b5c;
  --sun: #f2b33d;
  --sun-soft: #fdf1d6;
  --bg: #fbf8f3;
  --surface: #ffffff;
  --ink: #1d2221;
  --muted: #5b6563;
  --line: #e7e1d6;
  --focus: #2b6cb0;
  --ok: #2f7d4f;
  --err: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 30, 25, .06), 0 6px 20px rgba(20, 30, 25, .06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Noto Serif", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #7cc4ad; --brand-2: #9ad6c2; --sun: #f5c25e; --sun-soft: #3a3020;
    --bg: #121615; --surface: #1b2120; --ink: #e9eeec; --muted: #a5b0ad; --line: #2c3533;
    --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #7cc4ad; --brand-2: #9ad6c2; --sun: #f5c25e; --sun-soft: #3a3020;
  --bg: #121615; --surface: #1b2120; --ink: #e9eeec; --muted: #a5b0ad; --line: #2c3533; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-2); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin: 1.8em 0 .6em; }
h3 { font-size: 1.15rem; margin: 1.2em 0 .4em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hp { position: absolute; left: -9999px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--bg); padding: .5em 1em; z-index: 100; }
.skip:focus { left: 1rem; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap-wide { max-width: 1180px; }
.narrow { max-width: 720px; }
.prose { max-width: 760px; }
.prose-grid { display: block; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand b { color: var(--brand); }
.main-nav { display: flex; gap: .25rem; margin-left: auto; flex-wrap: wrap; }
.main-nav a, .mobile-nav nav a { color: var(--ink); text-decoration: none; padding: .4rem .7rem; border-radius: 999px; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--sun-soft); }
.mobile-nav { display: none; margin-left: auto; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; padding: .6rem; display: grid; gap: 4px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-nav nav { position: absolute; right: 0; top: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; display: grid; min-width: 220px; }
@media (max-width: 860px) { .main-nav { display: none; } .mobile-nav { display: block; } }

.lang-hint { background: var(--sun-soft); text-align: center; padding: .5rem 16px; font-size: .95rem; }
.lang-hint button { background: none; border: 0; cursor: pointer; font-size: 1.1rem; color: var(--muted); margin-left: .5rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: .65rem 1.05rem; border-radius: 999px; font: 600 .98rem/1.2 var(--font); cursor: pointer; text-decoration: none; transition: transform .06s ease, background .15s ease; }
.btn:hover { background: var(--sun-soft); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary, :root:not([data-theme="light"]) .chip input:checked + span { color: #0e1a17; } }
.btn-lg { padding: .85rem 1.4rem; font-size: 1.05rem; }
.btn-small { padding: .45rem .85rem; font-size: .9rem; }
.btn-ghost { background: transparent; }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }

/* Hero / home */
.hero { background: linear-gradient(180deg, var(--sun-soft), var(--bg)); padding: 3.5rem 0 2rem; }
.hero-inner { max-width: 820px; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.tool-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tool-card { display: grid; gap: .3rem; height: 100%; padding: 1.1rem 1.15rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .12s ease, border-color .12s ease; }
.tool-card:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--ink); }
.tool-icon { font-size: 1.8rem; }
.tool-name { font-weight: 700; font-size: 1.08rem; }
.tool-desc { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.why-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.why-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; }
.why-grid h3 { margin-top: 0; }
.why-grid p { margin: 0; color: var(--muted); }

/* Page head */
.page { padding-bottom: 3rem; }
.crumbs ol { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .3rem; }
.crumbs a { color: var(--muted); }
.answer-box { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--sun); border-radius: var(--radius); padding: .9rem 1.15rem; max-width: 820px; }
.answer-box p { margin: 0; }
.answer-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: .25rem !important; }
.meta-strip { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.meta-strip li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; font-size: .9rem; }
.meta-strip span { color: var(--muted); margin-right: .35rem; }

/* Tool */
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); padding: 1.1rem; margin: 1.5rem 0; }
.tool-controls { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: flex-end; padding-bottom: 1rem; border-bottom: 1px dashed var(--line); }
.tool-controls fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.tool-controls legend, .select span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .3rem; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { border: 1px solid var(--line); padding: .35rem .8rem; border-radius: 999px; font-size: .92rem; user-select: none; background: var(--bg); }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.select select, .select input { font: inherit; padding: .4rem .6rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); min-width: 90px; }
.tool-stage { padding-top: 1rem; display: grid; gap: 1rem; justify-items: center; text-align: center; }
.preview-card { width: 100%; max-width: 560px; min-height: 160px; display: grid; place-items: center; padding: 1.5rem; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: var(--shadow); }
.preview-text { font: 700 clamp(1.4rem, 4vw, 2.1rem)/1.25 var(--serif); margin: 0; }
.preview-sub { margin: .6rem 0 0; opacity: .85; font-size: .95rem; }
.preview-card ul { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; }
.preview-card li { background: rgba(255,255,255,.15); padding: .2rem .6rem; border-radius: 999px; font-size: .95rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .preview-card { background: linear-gradient(135deg, #1f4d42, #2c6b5c); } }
.tool-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.tool-count { color: var(--muted); font-size: .9rem; margin: 0; }
.noscript { background: var(--sun-soft); padding: .8rem; border-radius: 10px; }

/* Bingo */
.bingo-preview { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; max-width: 760px; }
.bingo-card { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--surface); container-type: inline-size; }
.bingo-card .cell { aspect-ratio: 1; display: grid; place-items: center; padding: 3px; border: 1px solid var(--line); font-size: calc(15.5cqi / var(--n, 5)); line-height: 1.12; font-weight: 600; overflow-wrap: break-word; hyphens: auto; min-width: 0; text-align: center; }
.bingo-card .cell.free { background: var(--sun-soft); color: var(--brand); font-weight: 800; }
.bingo-label { font-size: .8rem; color: var(--muted); margin: .3rem 0 0; }

/* Prose */
.prose p, .prose li { max-width: 72ch; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: .2rem 0 .8rem 2.6rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: .1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--sun); color: #1d2221; font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.tips ul { padding-left: 1.2rem; }
.full-list .count, .list-group .count { color: var(--muted); font-weight: 400; font-size: .85em; }
.word-list { list-style: none; padding: 0; columns: 2 240px; column-gap: 2rem; }
.word-list li { break-inside: avoid; padding: .3rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: .5rem; }
.word-list.cols { columns: 3 160px; }
.word-list.cols li { display: block; }
.taboo-list li { display: block; }
.forbidden-inline { display: block; color: var(--muted); font-size: .9rem; }
.lvl { font-size: .72rem; padding: .05rem .5rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; align-self: center; }
.lvl-1 { border-color: #9fd3b5; } .lvl-2 { border-color: #f2cf86; } .lvl-3 { border-color: #f0a39b; }
.whoami-list { padding-left: 1.4rem; }
.whoami-list > li { margin-bottom: .4rem; }
.whoami-list summary { cursor: pointer; }
.ref { color: var(--muted); font-size: .9rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .2rem 1rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; list-style: none; position: relative; padding-right: 1.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .9rem; font-size: 1.3rem; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { font-family: var(--font); font-size: 1.02rem; margin: .8rem 0; }
.updated { color: var(--muted); font-size: .9rem; margin-top: 2rem; }

/* Hubs */
.intro { font-size: 1.08rem; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1.2rem; margin: 1.2rem 0; }
.toc p { margin: 0 0 .3rem; font-weight: 700; }
.toc ol { columns: 2 220px; margin: 0; padding-left: 1.2rem; }
.game { border-top: 1px solid var(--line); padding-top: .4rem; }
.game h2 { margin-top: 1.2rem; }
.game .num { color: var(--sun); }
.game-facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .92rem; margin: 0 0 .5rem; }
.game-facts span { color: var(--muted); }

/* Eggs */
.eggs { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 1rem; }
.egg { display: grid; grid-template-columns: 3rem 1fr; gap: .9rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; text-align: left; }
.egg-num { width: 3rem; height: 3.7rem; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%; background: var(--sun); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #1d2221; }
.egg h3 { margin: 0 0 .2rem; }
.egg p { margin: .25rem 0; }

/* Signup / upgrade */
.upgrade { background: var(--sun-soft); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 1.2rem 1.3rem; margin: 2rem 0; }
.upgrade h2 { margin-top: 0; }
.signup-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.signup input[type="email"], .signup select { flex: 1 1 200px; font: inherit; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); min-width: 0; }
.signup .btn { flex: 0 0 auto; }
.consent { font-size: .85rem; color: var(--muted); margin: .6rem 0 0; }
.signup-msg { margin: .5rem 0 0; font-weight: 600; min-height: 1.2em; }
.signup-msg.ok { color: var(--ok); }
.signup-msg.err { color: var(--err); }
.turnstile-slot:empty { display: none; }
.turnstile-slot { margin-top: .6rem; }

/* Related */
.related { margin-top: 3rem; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 3rem; padding: 2.5rem 0 1.5rem; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1.5rem; }
.footer-grid h2 { font: 700 .82rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: .3rem 0 .6rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand p { color: var(--muted); }
.footer-base { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1rem; color: var(--muted); font-size: .85rem; }
.lang-switch ul { list-style: none; padding: 0; margin: 0 0 .6rem; display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.lang-switch a { color: var(--muted); }
.lang-switch [aria-current] { font-weight: 700; color: var(--ink); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Gate dialog */
.gate { border: 0; border-radius: 18px; padding: 1.4rem 1.4rem 1rem; max-width: 520px; width: calc(100% - 32px); background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.gate::backdrop { background: rgba(10, 20, 18, .55); }
.gate h2 { margin-top: 0; }
.gate-close-form { position: absolute; right: .6rem; top: .4rem; margin: 0; }
.gate-x { border: 0; background: none; font-size: 1.8rem; cursor: pointer; color: var(--muted); line-height: 1; }
.gate-skip { text-align: center; margin: .8rem 0 0; font-size: .92rem; }

/* Presenter (projector mode) */
.presenter { position: fixed; inset: 0; z-index: 50; background: #0f2a24; color: #fff; display: grid; grid-template-rows: auto 1fr auto; font-family: var(--font); }
.presenter .p-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 14px 18px; flex-wrap: wrap; }
.presenter .p-teams { display: flex; gap: .6rem; }
.presenter .p-team { display: flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.08); border: 2px solid transparent; border-radius: 999px; padding: .3rem .4rem .3rem .9rem; cursor: pointer; color: #fff; font: inherit; }
.presenter .p-team.active { border-color: var(--sun); background: rgba(242,179,61,.18); }
.presenter .p-team b { font-size: 1.3rem; min-width: 1.6em; text-align: center; }
.presenter .p-team .p-minus { background: rgba(255,255,255,.12); border: 0; color: #fff; border-radius: 50%; width: 1.7rem; height: 1.7rem; cursor: pointer; }
.presenter .p-timer { font: 800 clamp(1.6rem, 4vw, 2.6rem)/1 var(--font); font-variant-numeric: tabular-nums; background: rgba(255,255,255,.08); border: 0; color: #fff; padding: .35rem .9rem; border-radius: 12px; cursor: pointer; }
.presenter .p-timer.low { color: var(--sun); }
.presenter .p-timer.done { background: #b42318; animation: pulse 0.8s ease-in-out 3; }
@keyframes pulse { 50% { transform: scale(1.06); } }
.presenter .p-tools { display: flex; gap: .4rem; }
.presenter .p-icon { background: rgba(255,255,255,.1); border: 0; color: #fff; padding: .55rem .8rem; border-radius: 10px; cursor: pointer; font: 600 .95rem var(--font); }
.presenter .p-main { display: grid; place-items: center; padding: 1rem 5vw; text-align: center; overflow: auto; }
.presenter .p-card { max-width: 1100px; width: 100%; }
.presenter .p-cat { text-transform: uppercase; letter-spacing: .12em; opacity: .7; font-size: clamp(.8rem, 1.6vw, 1rem); margin: 0 0 .6rem; }
.presenter .p-word { font: 800 clamp(2.4rem, 8vw, 6.5rem)/1.08 var(--serif); margin: 0; text-wrap: balance; }
.presenter .p-forbid { list-style: none; padding: 0; margin: 1.6rem auto 0; display: grid; gap: .5rem; max-width: 520px; }
.presenter .p-forbid li { background: rgba(180, 35, 24, .35); border-radius: 12px; padding: .45rem 1rem; font-size: clamp(1.1rem, 3vw, 2rem); font-weight: 700; }
.presenter .p-forbid-label { margin-top: 1.4rem; opacity: .7; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; }
.presenter .p-clues { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: .7rem; max-width: 960px; text-align: left; }
.presenter .p-clues li { background: rgba(255,255,255,.08); border-radius: 14px; padding: .8rem 1.1rem; font-size: clamp(1.1rem, 2.8vw, 2rem); line-height: 1.3; display: flex; gap: .8rem; }
.presenter .p-clues li span { color: var(--sun); font-weight: 800; white-space: nowrap; }
.presenter .p-answer { margin-top: 1.4rem; font: 800 clamp(2rem, 6vw, 4.5rem)/1.1 var(--serif); color: var(--sun); }
.presenter .p-reveal { background: rgba(255,255,255,.1); border: 3px dashed rgba(255,255,255,.4); color: #fff; padding: 2.5rem 3rem; border-radius: 20px; font: 700 clamp(1.4rem, 4vw, 2.6rem) var(--font); cursor: pointer; }
.presenter .p-bottom { display: flex; justify-content: center; gap: .8rem; padding: 16px 18px 22px; flex-wrap: wrap; }
.presenter .p-btn { font: 700 clamp(1rem, 2.2vw, 1.35rem) var(--font); padding: .9rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255,255,255,.12); color: #fff; }
.presenter .p-btn.go { background: var(--sun); color: #1d2221; }
.presenter .p-btn.ok { background: #2f9e62; }
.presenter .p-left { opacity: .7; font-size: .95rem; }
.presenter .p-called { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; max-width: 1000px; margin: 1.6rem auto 0; }
.presenter .p-called span { background: rgba(255,255,255,.1); padding: .25rem .7rem; border-radius: 999px; font-size: clamp(.85rem, 1.6vw, 1.05rem); }
.presenter .p-count { opacity: .7; margin-top: .8rem; }
body.presenting { overflow: hidden; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: .6rem 1.1rem; border-radius: 999px; z-index: 60; font-weight: 600; }

/* Printing */
.print-root { display: none; }
@page { margin: 12mm; }
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-footer, .tool-controls, .tool-actions, .upgrade, .related, .gate, .lang-hint, .crumbs, .presenter { display: none !important; }
  a { color: #000; text-decoration: none; }
  body.printing > *:not(#print-root) { display: none !important; }
  body.printing #print-root { display: block; }
  .p-sheet { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .p-cardp { height: 57mm; border: 1px dashed #999; padding: 6mm; display: flex; flex-direction: column; justify-content: center; text-align: center; break-inside: avoid; position: relative; }
  .p-cardp .pc-word { font: 700 17pt/1.2 var(--serif); }
  .p-cardp .pc-cat { position: absolute; top: 3mm; left: 4mm; font-size: 7.5pt; text-transform: uppercase; letter-spacing: .08em; color: #555; }
  .p-cardp .pc-brand { position: absolute; bottom: 3mm; right: 4mm; font-size: 7pt; color: #777; }
  .p-cardp ul { list-style: none; padding: 0; margin: 3mm 0 0; font-size: 11pt; }
  .p-cardp ul li { border-top: 1px solid #ddd; padding: 1mm 0; }
  .p-cardp.who { height: 76mm; text-align: left; justify-content: flex-start; padding-top: 9mm; }
  .p-cardp.who ol { margin: 2mm 0; padding-left: 5mm; font-size: 10pt; }
  .p-cardp.who .pc-ans { font-weight: 700; font-size: 10pt; border-top: 1px solid #ccc; padding-top: 2mm; margin-top: auto; }
  .p-head { text-align: center; margin: 0 0 4mm; }
  .p-head h1 { font-size: 18pt; margin: 0; }
  .p-head p { margin: 1mm 0 0; font-size: 9pt; color: #555; }
  .p-bingo { break-inside: avoid; break-after: auto; padding: 2mm 0 4mm; }
  .p-bingo-pair { display: grid; gap: 6mm; break-after: page; }
  .p-bingo h2 { text-align: center; font: 700 14pt var(--serif); margin: 0 0 2mm; }
  .p-bingo .bingo-card { width: 100mm; margin: 0 auto; border: 2px solid #000; }
  .p-bingo .bingo-card .cell { border: 1px solid #000; color: #000; }
  .p-bingo .bingo-card .cell.free { background: #f3f3f3; color: #000; }
  .p-bingo .p-foot { text-align: center; font-size: 8pt; color: #666; margin-top: 2mm; }
  .p-caller { columns: 3; font-size: 10.5pt; }
  .p-caller li { break-inside: avoid; padding: 1mm 0; }
  .p-eggs .egg { break-inside: avoid; border: 1px solid #ccc; margin-bottom: 3mm; }
  .p-eggs .egg-num { background: #eee; }
}
