/* Public pages (home, game pages, guides, calculator, legal) in the signed-in app's sticker
   look, without loading the collection shell: the blue dotted stage, cream sheets with ink
   outlines and hard ink shadows, sticker colours, Bricolage lettering and Kalam notes.
   Text colour rule: white (outlined when large) only on the stage, ink chrome and strong
   stickers; ink on cream and pastels. Page-specific scenes live in landing.css,
   game-pages.css, binder-calculator.css and page.css. */
:where(body.public-page, #landingPage) {
  --ink: #0d0e14; --cream: #fff8ec; --cream-2: #f6ecd9; --cream-line: #e2d3b6; --cream-muted: #4f4a5a;
  --label-white: #fff8ec; --chrome: #1b1d27;
  --sun: #ffc93c; --tomato: #ff5a3c; --mint: #5fd4a8; --sky: #7aa7ff; --lilac: #c9a8ff; --blush: #ffb4a3;
  --stage: #2f5f8f; --stage-dot: #3a6c9e;
  --pop-sm: 0 3px 0 var(--ink); --pop: 0 4px 0 var(--ink); --pop-lg: 0 5px 0 var(--ink); --float: 8px 8px 0 var(--ink);
  /* Control motion (docs/UI-RULES.md V1-V4): --motion scales every lift and tilt, --tap is the
     hover/press duration. Both drop to 0 for reduced motion, so presses stay but become instant. */
  --ease: cubic-bezier(.32, .72, 0, 1); --motion: 1; --tap: .12s;
  /* On the stage; sheets redefine text and muted as ink. */
  --public-bg: var(--stage); --public-panel: var(--cream); --public-line: var(--ink);
  --public-text: var(--label-white); --public-muted: #e1eaf5; --public-accent: var(--sun);
  --public-paper: var(--cream); --public-paper-ink: var(--ink); --public-mono: ui-monospace, Consolas, monospace;
  --sans: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --public-display: var(--sans);
  --public-hand: 'Kalam', cursive;
  background-color: var(--stage);
  background-image: radial-gradient(var(--stage-dot) 2px, transparent 2px);
  background-size: 28px 28px;
  color: var(--public-text); font: 500 clamp(1rem, .9rem + .25vw, 1.125rem)/1.55 var(--sans);
}
@media (prefers-reduced-motion: reduce) { :where(body.public-page, #landingPage) { --motion: 0; --tap: 0s; } }
/* The app's Settings -> Animations switch reaches the home page once the app has loaded. */
body.motion-off #landingPage { --motion: 0; --tap: 0s; }
body.public-page { margin: 0; }
:where(body.public-page, #landingPage) * { box-sizing: border-box; }
:where(body.public-page, #landingPage) a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
:is(body.public-page, #landingPage) a:active img { opacity: .85; }
:where(body.public-page, #landingPage) :focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

/* ---------- Lettering ---------- */
:where(body.public-page, #landingPage) :is(h1, h2, h3) { font-family: var(--sans); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; overflow-wrap: normal; text-wrap: balance; }
:where(body.public-page, #landingPage) h1 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.75rem); margin: 0 0 28px; }
:where(body.public-page, #landingPage) h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.6rem); margin: 0 0 20px; }
:where(body.public-page, #landingPage) h3 { font-size: 22px; margin: 0 0 12px; }
:where(body.public-page, #landingPage) p { text-wrap: pretty; max-width: 68ch; margin: 0 0 16px; }
/* Headings on the stage are white with a bold ink outline and a hard ink drop. */
:is(body.public-page, #landingPage) :is(h1, h2) {
  color: var(--label-white); -webkit-text-stroke: 8px var(--ink); paint-order: stroke fill; text-shadow: 0 5px 0 var(--ink);
}
:is(body.public-page, #landingPage) h1 { -webkit-text-stroke-width: 10px; text-shadow: 0 6px 0 var(--ink); }
/* Highlighted words sit on a tilted sunflower sticker. */
:is(body.public-page, #landingPage) :is(h1, h2) em {
  display: inline-block; padding: .02em .16em .08em; margin-top: .1em;
  border: 4px solid var(--ink); border-radius: .22em; background: var(--sun); box-shadow: 6px 6px 0 var(--ink);
  color: var(--ink); -webkit-text-stroke: 0; text-shadow: none; font-style: normal; font-weight: 800; transform: rotate(-2.5deg);
}
/* The plain keyword line at the top of a slogan h1 reads as a handwritten label, not as lettering. */
:is(body.public-page, #landingPage) h1 :is(.h1-kicker, .game-shelfmark) { -webkit-text-stroke: 0; text-shadow: none; letter-spacing: 0; }
.h1-kicker { display: block; margin-bottom: 20px; color: var(--label-white); font: 700 clamp(17px, 1rem + .25vw, 20px)/1.3 var(--public-hand); }
/* The same topical keyword line above a slogan h2 (search and AI outlines read it; people see a label). */
:is(body.public-page, #landingPage) h2 .h2-kicker {
  display: block; margin-bottom: 12px; color: var(--cream-muted); -webkit-text-stroke: 0; text-shadow: none; letter-spacing: 0;
  font: 700 clamp(16px, .95rem + .2vw, 19px)/1.3 var(--public-hand);
}
#landingPage .home-shelves > h2 .h2-kicker { color: var(--label-white); }
.public-lead { max-width: 48ch; color: var(--label-white); font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); font-weight: 600; line-height: 1.45; }
.public-note, .public-muted { color: var(--public-muted); }
.public-note { font-size: 14px; line-height: 1.5; }

/* ---------- Cream sheets ---------- */
:where(body.public-page, #landingPage) :is(.public-section, .guide-chapter, .legal-main, .calculator-workspace) {
  --public-text: var(--ink); --public-muted: var(--cream-muted); --public-line: var(--ink);
  border: 3px solid var(--ink); border-radius: 28px; background: var(--cream); color: var(--ink); box-shadow: var(--float);
}
:is(body.public-page, #landingPage) :is(.public-section, .guide-chapter, .legal-main, .calculator-workspace) :is(h1, h2, h3) {
  color: var(--ink); -webkit-text-stroke: 0; text-shadow: none;
}
:is(body.public-page, #landingPage) :is(.public-section, .guide-chapter, .legal-main, .calculator-workspace) :is(p, li, td, caption) { color: var(--cream-muted); }
:is(body.public-page, #landingPage) :is(.public-section, .guide-chapter, .legal-main, .calculator-workspace) :is(strong, th, summary) { color: var(--ink); }
:is(body.public-page, #landingPage) :is(.public-section, .guide-chapter, .legal-main, .calculator-workspace) :focus-visible { outline-color: var(--ink); }
.public-section { margin-block: 0 40px; padding: 48px; scroll-margin-top: 24px; }

/* ---------- Header and footer ---------- */
.public-header, .public-main, .public-footer { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
/* Every public page shares one header: logo home, the three sections, and Sign in. */
.public-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 10px; min-height: 96px; }
.public-brand { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; color: var(--label-white); font: 800 26px/1.1 var(--sans); letter-spacing: -.01em; text-decoration: none; -webkit-text-stroke: 6.5px var(--ink); paint-order: stroke fill; }
.public-brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 3px 0 var(--ink)); transition: transform var(--tap) var(--ease); }
.public-header nav { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.public-header :is(nav a, nav [aria-current="page"], .public-signin) {
  display: inline-flex; align-items: center; flex: none; min-height: 44px; padding: 0 16px; border: 3px solid var(--ink); border-radius: 999px;
  background: var(--cream); color: var(--ink); box-shadow: var(--pop-sm); font: 700 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
}
/* The current page is a label, pressed in; a guide marks its game's section; Sign in is the sunflower pill. */
.public-header nav [aria-current="page"] { background: var(--mint); box-shadow: none; transform: translateY(3px); }
.public-header nav a[aria-current="true"] { background: var(--mint); }
.public-header a.public-signin { background: var(--sun); }

/* The footer: a dark sticker shelf with the same links on every page, grouped, and one disclaimer. */
.public-footer {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 32px 48px;
  margin-top: 24px; padding: 44px 48px 32px; border: 3px solid var(--ink); border-bottom: 0; border-radius: 28px 28px 0 0;
  background: var(--chrome); color: var(--label-white); font-size: 15px;
}
.public-footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.public-footer-brand img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 3px 0 #000); }
.public-footer .public-footer-name { margin: 0; color: var(--label-white); font: 800 26px/1.1 var(--sans); letter-spacing: -.01em; }
.public-footer .public-footer-sticker {
  margin: 4px 0 0; padding: 6px 14px; border: 3px solid var(--ink); border-radius: 12px; background: var(--mint); color: var(--ink);
  box-shadow: 0 3px 0 #000; font: 700 18px/1.2 var(--public-hand); transform: rotate(-3deg);
}
.public-footer nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.public-footer nav > div { display: flex; flex-direction: column; align-items: flex-start; }
.public-footer .public-footer-heading { margin: 0 0 4px; color: var(--sun); font: 800 14px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.public-footer nav :is(a, [aria-current="page"]) {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--label-white); font-weight: 600; text-decoration: none;
  transition: transform var(--tap) var(--ease), color var(--tap) var(--ease);
}
.public-footer nav [aria-current="page"] { color: var(--sun); }
@media (hover: hover) {
  .public-footer nav a:hover { color: var(--sun); text-decoration: underline; transform: translateX(calc(3px * var(--motion))); }
}
.public-footer .public-footer-legal { grid-column: 1 / -1; max-width: none; margin: 0; padding-top: 24px; border-top: 2px dashed #fff8ec33; color: #c9c2b4; font-size: 14px; }

/* ---------- Buttons: sticker pills that lift on hover and press down onto their shadow ---------- */
.public-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
:is(body.public-page, #landingPage) :is(.public-button, .public-actions > a, .game-story-links a, .game-archive-row a, .home-game-entry > div > a) {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; min-width: 44px; padding: 0 22px;
  border: 3px solid var(--ink); border-radius: 999px; background: var(--cream); color: var(--ink);
  box-shadow: var(--pop); font: 700 16px/1.1 var(--sans); text-decoration: none;
}
:is(body.public-page, #landingPage) .public-button.public-primary { --depth: 5px; background: var(--tomato); box-shadow: var(--pop-lg); font-weight: 800; font-size: 17px; }
.public-button .public-icon { width: 15px; height: 15px; flex: none; color: currentColor; }
/* Every pill, tab and chip: --depth is its resting shadow, so the press sinks exactly into it.
   Hover lightens the fill whatever its colour; chips and tabs also tilt like a peeled sticker. */
:is(body.public-page, #landingPage) :is(.public-button, .public-actions > a, .game-story-links a, .game-archive-row a, .home-game-entry > div > a, .public-header nav a, .public-signin, .document-tabs a, .guide-contents a) {
  --depth: 4px;
  transition: transform var(--tap) var(--ease), box-shadow var(--tap) var(--ease);
}
:is(body.public-page, #landingPage) :is(.public-header nav a, .public-signin, .document-tabs a, .guide-contents a) { --depth: 3px; }
:is(body.public-page, #landingPage) :is(.document-tabs a, .guide-contents a) { --tilt: -1.5deg; }
@media (hover: hover) {
  :where(body.public-page, #landingPage) a:hover { text-decoration-thickness: 3px; }
  :is(body.public-page, #landingPage) :is(.public-button, .public-actions > a, .game-story-links a, .game-archive-row a, .home-game-entry > div > a, .public-header nav a, .public-signin, .document-tabs a, .guide-contents a):hover {
    background-image: linear-gradient(rgb(255 255 255 / .14), rgb(255 255 255 / .14));
    transform: translateY(calc(-1px * var(--motion))) rotate(calc(var(--tilt, 0deg) * var(--motion)));
    box-shadow: 0 calc(var(--depth) + 1px * var(--motion)) 0 var(--ink); text-decoration: none;
  }
  :is(body.public-page, #landingPage) .public-brand:hover img { transform: translateY(calc(-1px * var(--motion))) rotate(calc(-2deg * var(--motion))); }
}
:is(body.public-page, #landingPage) :is(.public-button, .public-actions > a, .game-story-links a, .game-archive-row a, .home-game-entry > div > a, .public-header nav a, .public-signin, .document-tabs a, .guide-contents a):active { transform: translateY(var(--depth)); box-shadow: 0 0 0 var(--ink); }

/* ---------- Shared content ---------- */
.public-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.public-invitation { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; background: var(--sun) !important; }
.public-invitation h2, .public-invitation .public-actions { margin: 0; }
:is(body.public-page, #landingPage) .public-invitation :is(.public-button, .public-actions > a) { background: var(--ink); color: var(--label-white); }
.public-faq details { border-bottom: 3px dashed var(--cream-line); }
.public-faq details:last-child { border-bottom: 0; }
.public-faq summary { position: relative; display: flex; align-items: center; min-height: 60px; padding: 14px 56px 14px 0; cursor: pointer; font: 700 19px/1.3 var(--sans); list-style: none; }
.public-faq summary::-webkit-details-marker { display: none; }
.public-faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: 38px; height: 38px; margin-top: -19px;
  border: 3px solid var(--ink); border-radius: 50%; background: var(--sun); color: var(--ink); font: 800 22px/1 var(--sans);
  box-shadow: var(--pop-sm); transition: transform var(--tap) var(--ease), box-shadow var(--tap) var(--ease);
}
.public-faq details[open] summary::after { content: '–'; background: var(--mint); }
/* The +/- sticker answers the pointer like a button; it never spins, its glyph already changes. */
@media (hover: hover) {
  .public-faq summary:hover::after { transform: translateY(calc(-1px * var(--motion))); box-shadow: 0 calc(3px + 1px * var(--motion)) 0 var(--ink); }
}
.public-faq summary:active::after { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.public-faq details p { padding-bottom: 6px; }
/* An opened answer settles in from just above; reduced motion (--tap: 0s) shows it at once. */
.public-faq details[open] p { transition: opacity calc(var(--tap) * 2) var(--ease), translate calc(var(--tap) * 2) var(--ease); }
@starting-style { .public-faq details[open] p { opacity: 0; translate: 0 -6px; } }
:is(body.public-page, #landingPage) table { border-collapse: collapse; font-variant-numeric: tabular-nums; }
:is(body.public-page, #landingPage) :is(th, td) { border-bottom: 2px dashed var(--cream-line); }
:is(body.public-page, #landingPage) thead th { border-bottom: 3px solid var(--ink); }

/* ---------- Guides: tabs and chapters on the stage, each chapter a sheet ---------- */
.document-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.document-tabs :is(a, [aria-current="page"]) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 3px solid var(--ink); border-radius: 999px;
  background: var(--cream); color: var(--ink); box-shadow: var(--pop-sm); font: 700 14px/1 var(--sans); text-decoration: none; flex: none; white-space: nowrap;
}
.document-tabs [aria-current="page"] { background: var(--sun); box-shadow: none; transform: translateY(3px); }
.public-guide { max-width: 800px; padding: 32px 0 48px; }
.public-guide ul { margin: 16px 0; padding-left: 24px; }
.public-guide li { margin-block: 8px; }
.public-guide .table-wrap { overflow-x: auto; }
.public-guide table { width: 100%; table-layout: fixed; font-size: 16px; }
.public-guide caption { text-align: left; padding-block: 12px; }
.public-guide :is(th, td) { text-align: left; padding: 14px 8px; }
.public-guide th:nth-child(n+2), .public-guide td { text-align: right; }
.guide-example { margin: 32px 0; }
.guide-example img { display: block; width: 100%; height: auto; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); }
.guide-example figcaption { margin-top: 14px; color: var(--cream-muted); font-size: 14px; }
.public-guide.collector-guide { max-width: 1180px; padding: 32px 0 48px; }
.collector-guide .guide-opening { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: center; gap: 40px; padding-block: 40px 40px; }
.collector-guide .guide-opening h1 { max-width: 20ch; margin-bottom: 32px; font-size: clamp(2.75rem, 1.4rem + 4.4vw, 5.75rem); line-height: 1.02; }
.collector-guide .guide-opening .public-lead { max-width: 54ch; }
/* Date and byline as a small cream sticker; legal pages use it for "last updated". */
:is(body.public-page, #landingPage) .guide-meta {
  display: inline-block; margin: 4px 0 0; padding: 6px 12px; border: 3px solid var(--ink); border-radius: 12px; background: var(--cream);
  color: var(--ink); box-shadow: var(--pop-sm); font-size: 14px; font-weight: 700; transform: rotate(-1.5deg);
}
/* The byline link gets a 44px tap area without making the sticker taller. */
:is(body.public-page, #landingPage) .guide-meta a { display: inline-block; padding-block: 12px; margin-block: -12px; }
/* A small fan of real catalogue cards beside a guide's title. Decorative: the guide text names them. */
.guide-opening-art { position: relative; aspect-ratio: 1 / 1; min-width: 0; }
.guide-opening-art img {
  position: absolute; top: 12%; left: 30%; width: 44%; height: auto; aspect-ratio: 63 / 88; object-fit: contain;
  border: 3px solid var(--ink); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink); transition: transform .2s var(--ease);
}
.guide-opening-art img:nth-of-type(1) { transform: translateX(-46%) rotate(-14deg); }
.guide-opening-art img:nth-of-type(2) { transform: translateX(46%) rotate(12deg); }
.guide-opening-art img:nth-of-type(3) { z-index: 1; transform: translateY(-4%) rotate(-2deg); }
@media (hover: hover) {
  .guide-opening-art:hover img:nth-of-type(1) { transform: translateX(calc(-46% - 14% * var(--motion))) rotate(calc(-14deg - 4deg * var(--motion))); }
  .guide-opening-art:hover img:nth-of-type(2) { transform: translateX(calc(46% + 14% * var(--motion))) rotate(calc(12deg + 4deg * var(--motion))); }
}
.guide-opening-note {
  position: absolute; z-index: 2; left: 4%; bottom: 4%; padding: 6px 14px; border: 3px solid var(--ink); border-radius: 12px;
  background: var(--blush); color: var(--ink); box-shadow: var(--pop); font: 700 20px/1.2 var(--public-hand); transform: rotate(-5deg);
}
.collector-guide .guide-contents { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; padding: 0; border: 0; }
.public-nav-label { flex-basis: 100%; color: var(--public-muted); font-size: 14px; font-weight: 600; }
.collector-guide .guide-contents a {
  display: inline-flex; align-items: center; flex: none; min-height: 44px; padding: 0 16px; border: 3px solid var(--ink); border-radius: 999px;
  background: var(--cream); color: var(--ink); box-shadow: var(--pop-sm); font: 700 14px/1 var(--sans); text-decoration: none; white-space: nowrap;
}
.collector-guide .guide-contents a:nth-of-type(4n+1) { background: var(--sun); }
.collector-guide .guide-contents a:nth-of-type(4n+2) { background: var(--mint); }
.collector-guide .guide-contents a:nth-of-type(4n+3) { background: var(--sky); }
.collector-guide .guide-contents a:nth-of-type(4n+4) { background: var(--lilac); }
.guide-chapter { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: 48px; margin-bottom: 32px; padding: 44px 48px; scroll-margin-top: 24px; }
.collector-guide .guide-chapter h2 { margin: 0; max-width: 16ch; font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); line-height: 1.08; }
.guide-chapter-body { min-width: 0; }
.guide-chapter-body > :last-child { margin-bottom: 0; }
.collector-guide .guide-callout { margin-block: 24px; padding: 18px 22px; border: 3px solid var(--ink); border-radius: 18px; background: var(--sun); box-shadow: var(--pop-sm); }
.collector-guide .guide-callout :is(p, li) { color: var(--ink); }
.collector-guide .guide-callout strong { display: block; margin-bottom: 8px; }
.collector-guide th { color: var(--cream-muted); }
.guide-card-sequence { margin: 32px 0; }
.guide-card-sequence > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 480px; }
.guide-card-sequence img { display: block; width: 100%; height: auto; aspect-ratio: 63 / 88; object-fit: contain; border: 3px solid var(--ink); border-radius: 10px; box-shadow: 4px 4px 0 var(--ink); }
.guide-card-sequence figcaption { margin-top: 14px; color: var(--cream-muted); font-size: 14px; }
/* Two cards side by side, e.g. one card in two languages. */
.guide-card-pair > div { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 330px; }

/* Breadcrumb trail above a subpage's title, on the stage; the same items as its BreadcrumbList. */
.public-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 0 0 12px; padding: 0; list-style: none; }
.public-breadcrumb ol li { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--label-white); font: 700 15px/1.2 var(--sans); }
.public-breadcrumb ol li + li::before { content: '/' / ''; color: var(--sun); font-weight: 800; }
.public-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--label-white); text-decoration: underline; text-decoration-color: var(--sun); }
.public-breadcrumb [aria-current="page"] { color: var(--public-muted); }
/* Text for screen readers and plain-text readers only (e.g. the ": " after an h1 keyword line). */
:is(.visually-hidden, .game-shelfmark > .visually-hidden) {
  position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; box-shadow: none;
}

@media (max-width: 1100px) {
  .public-columns { gap: 32px; }
}
@media (max-width: 850px) {
  .collector-guide .guide-opening { grid-template-columns: 1fr; gap: 8px; }
  .guide-opening-art { width: min(100%, 360px); aspect-ratio: 1.45 / 1; margin-inline: auto; }
  .guide-opening-art img { top: 6%; left: 35%; width: 30%; }
  .guide-chapter { grid-template-columns: 1fr; gap: 20px; }
  .collector-guide .guide-chapter h2 { max-width: 26ch; }
}
@media (max-width: 700px) {
  .public-header, .public-main, .public-footer { width: calc(100% - 32px); }
  /* Phones: logo and Sign in share the first row; the sections are one swipeable row of pills. */
  .public-header { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; gap: 6px 12px; padding-block: 14px 0; }
  .public-brand { font-size: 22px; }
  .public-brand img { width: 40px; height: 40px; }
  .public-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 8px; }
  .public-header :is(nav a, nav [aria-current="page"], .public-signin) { padding-inline: 13px; font-size: 14px; }
  :is(.public-header nav, .document-tabs, .collector-guide .guide-contents) {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: -16px; padding: 4px 16px 8px; scroll-padding-inline: 16px;
  }
  :is(.public-header nav, .document-tabs, .collector-guide .guide-contents)::-webkit-scrollbar { display: none; }
  .collector-guide .guide-contents .public-nav-label { flex: none; align-self: center; flex-basis: auto; }
  :is(body.public-page, #landingPage) :is(h1, h2) { -webkit-text-stroke-width: 6px; text-shadow: 0 4px 0 var(--ink); }
  :is(body.public-page, #landingPage) h1 { -webkit-text-stroke-width: 7.5px; }
  :is(body.public-page, #landingPage) :is(h1, h2) em { border-width: 3px; box-shadow: 4px 4px 0 var(--ink); }
  .public-section { margin-bottom: 32px; padding: 28px 20px; border-radius: 22px !important; box-shadow: 5px 5px 0 var(--ink) !important; }
  .public-columns { grid-template-columns: 1fr; gap: 24px; }
  .public-invitation { display: block; }
  .public-invitation .public-actions { margin-top: 24px; }
  .public-invitation h2 + p { margin-top: 12px; }
  .public-faq summary { font-size: 17px; }
  .public-footer { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px 32px; border-radius: 22px 22px 0 0; }
  .public-footer-brand { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .public-footer-brand img { width: 44px; height: 44px; }
  .public-footer .public-footer-name { font-size: 22px; }
  .public-footer nav { grid-template-columns: 1fr; gap: 14px; }
  .public-footer nav > div { flex-direction: row; flex-wrap: wrap; column-gap: 20px; }
  .public-footer .public-footer-heading { flex-basis: 100%; }
  .public-guide.collector-guide { padding-top: 24px; }
  .document-tabs { gap: 8px; }
  .collector-guide .guide-opening { padding-block: 32px; }
  .collector-guide .guide-opening h1 { font-size: clamp(2.5rem, 10vw, 4rem); max-width: 16ch; }
  .collector-guide .guide-contents { gap: 8px; }
  .guide-chapter { margin-bottom: 24px; padding: 26px 20px; border-radius: 22px !important; box-shadow: 5px 5px 0 var(--ink) !important; }
  .public-guide table { font-size: 15px; }
  .public-guide :is(th, td) { padding-inline: 4px; }
}
