/* ==========================================================================
   FestiveHelper - global stylesheet
   Original CSS. No frameworks, no external assets, no tracking.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --green-900: #0b3d2c;
  --green-800: #0f5138;
  --green-700: #146c4b;
  --green-600: #1a8a5f;
  --green-100: #e6f4ec;
  --red-700:   #a3182a;
  --red-600:   #c62033;
  --red-500:   #e03146;
  --red-100:   #fdeaec;
  --gold-600:  #b8860b;
  --gold-500:  #e0a92c;
  --gold-100:  #fbf1da;

  --bg:        #fbfaf7;
  --surface:   #ffffff;
  --surface-2: #f3f5f2;
  --border:    #dfe3dd;
  --text:      #1d2621;
  --text-soft: #4d5a52;
  --text-mute: #6d7b72;

  --accent:      var(--green-700);
  --accent-dark: var(--green-800);
  --accent-soft: var(--green-100);

  --radius-s: 8px;
  --radius:   14px;
  --radius-l: 22px;
  --shadow-s: 0 1px 2px rgba(16, 38, 28, .06), 0 1px 3px rgba(16, 38, 28, .08);
  --shadow:   0 4px 12px rgba(16, 38, 28, .07), 0 12px 28px rgba(16, 38, 28, .06);
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-num: "SFMono-Regular", "Segoe UI Mono", "Roboto Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #101613;
    --surface:   #17201b;
    --surface-2: #1d2822;
    --border:    #2c3a32;
    --text:      #eaf1ec;
    --text-soft: #b9c8bf;
    --text-mute: #93a49a;
    --accent:      #2fa873;
    --accent-dark: #43bd88;
    --accent-soft: #14301f;
    --green-100: #14301f;
    --red-100:   #30181b;
    --gold-100:  #2e2517;
    --shadow-s: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow:   0 6px 20px rgba(0, 0, 0, .35);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 750; letter-spacing: -.015em; }
h1 { font-size: clamp(1.85rem, 1.3rem + 2.4vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.85rem); margin-top: 1.8em; }
h3 { font-size: 1.16rem; margin-top: 1.5em; }
p, ul, ol { margin: 0 0 1.05em; }
p, li, h1, h2, h3, h4, td, th { overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-600); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.4rem 0; }
small { font-size: .84rem; }
code {
  font-family: var(--font-num);
  background: var(--surface-2);
  padding: .1em .35em;
  border-radius: 4px;
  font-size: .9em;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--green-800);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-900);
  color: #fff;
  border-bottom: 3px solid var(--red-600);
}
.site-header a { color: #fff; text-decoration: none; }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 62px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -.02em;
  padding: 6px 0;
}
.brand .brand-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand-name .lite { color: var(--gold-500); }

.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  padding: 9px 13px;
  border-radius: var(--radius-s);
  font: inherit;
  font-size: .92rem;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .18); }
.nav-toggle .bars { display: block; width: 17px; height: 2px; background: #fff; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 2px;
  background: #fff;
}
.nav-toggle .bars::before { top: -5px; }
.nav-toggle .bars::after  { top: 5px; }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link, .nav-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 11px 12px;
  border-radius: var(--radius-s);
  font: inherit;
  font-size: .96rem;
  font-weight: 600;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  text-align: left;
}
.nav-link:hover, .nav-btn:hover, .nav-link[aria-current="page"] { background: rgba(255, 255, 255, .14); color: #fff; }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold-500); }
.nav-btn .caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}
.nav-btn[aria-expanded="true"] .caret { transform: rotate(-135deg); }
.submenu li a { display: block; padding: 10px 14px; border-radius: var(--radius-s); font-size: .94rem; }
.submenu[hidden] { display: none; }

@media (max-width: 859px) {
  .site-nav { display: none; width: 100%; order: 3; }
  .site-nav.is-open { display: block; }
  .header-inner { flex-wrap: wrap; }
  .nav-list { padding: 6px 0 16px; }
  .submenu {
    padding-left: 10px;
    border-left: 2px solid rgba(255, 255, 255, .2);
    margin: 0 0 6px 14px;
  }
  .submenu li a:hover { background: rgba(255, 255, 255, .14); }
}
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .submenu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 250px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 7px;
    z-index: 120;
  }
  .submenu li a { color: var(--text); }
  .submenu li a:hover { background: var(--accent-soft); color: var(--accent-dark); }
}

/* ---------- Page layout ---------- */
main { display: block; min-height: 50vh; }
.page { padding: 26px 0 56px; }
.page-head { max-width: 760px; }
.page-head .lede { font-size: 1.1rem; color: var(--text-soft); margin-bottom: 0; }
.breadcrumbs { font-size: .86rem; color: var(--text-mute); margin: 0 0 14px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--text-mute); }
.breadcrumbs a { color: var(--text-mute); }
.prose { max-width: 760px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }

/* ---------- Cards and grids ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-s);
}
.tool-card-grid {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-s);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); color: inherit; }
.tool-card .ico { font-size: 1.9rem; line-height: 1; }
.tool-card h3 { margin: 4px 0 0; font-size: 1.07rem; color: var(--accent-dark); }
.tool-card p { margin: 0; font-size: .93rem; color: var(--text-soft); }
.tool-card .go { margin-top: auto; padding-top: 10px; font-size: .88rem; font-weight: 700; color: var(--red-600); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1000px 420px at 12% -10%, #17795a 0%, transparent 60%),
    linear-gradient(160deg, var(--green-900) 0%, #0a2f22 100%);
  border-radius: 0 0 var(--radius-l) var(--radius-l);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 40px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero p { color: #d6e7dd; max-width: 58ch; font-size: 1.08rem; }
.hero-snow { position: absolute; inset: 0; z-index: 1; opacity: .45; pointer-events: none; }

/* ---------- Countdown ---------- */
.countdown-panel {
  background: linear-gradient(160deg, var(--green-800), #0a3728);
  color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(20px, 3vw, 30px);
  text-align: center;
  box-shadow: var(--shadow);
}
.countdown-panel .cd-label {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 700;
  margin: 0 0 4px;
}
.countdown-panel .cd-title {
  font-size: clamp(1.25rem, 1rem + 1.4vw, 1.7rem);
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
}
.countdown-panel .cd-date { color: #cfe3d8; font-size: .97rem; margin: 0 0 18px; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 560px; margin: 0 auto; }
.cd-cell {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 12px 4px;
}
.cd-num {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(1.55rem, 1rem + 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.cd-unit {
  display: block;
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #bcd6c8;
  margin-top: 4px;
}
.cd-note { margin: 16px 0 0; font-size: .95rem; color: #cfe3d8; }
.cd-note a { color: var(--gold-500); }
.cd-celebrate { font-size: 1.25rem; font-weight: 800; color: var(--gold-500); margin: 14px 0 0; }
.cd-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  justify-content: center;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
  color: #cfe3d8;
}
.cd-extra b { color: #fff; font-family: var(--font-num); }

/* ---------- Forms ---------- */
fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 18px; }
legend { font-weight: 700; padding: 0 8px; font-size: .95rem; }
label { display: block; font-weight: 650; font-size: .93rem; margin-bottom: 5px; }
.hint { display: block; font-weight: 400; color: var(--text-mute); font-size: .85rem; margin-top: 3px; }
input[type="text"], input[type="number"], input[type="email"],
input[type="time"], input[type="date"], input[type="search"], select, textarea {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
input[type="number"] { font-family: var(--font-num); }
.field { margin-bottom: 16px; }
/* A labelled group of radio buttons inside a larger fieldset. */
.field-group { border: 0; padding: 0; margin: 0 0 16px; }
.field-group > legend { padding: 0; font-weight: 650; font-size: .93rem; margin-bottom: 6px; }
.field-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-weight: 600;
  font-size: .94rem;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}
.radio-row label:hover { border-color: var(--accent); }
.radio-row input { accent-color: var(--green-700); margin: 0; }
.radio-row label:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--red-600);
  color: #fff;
  text-decoration: none;
  transition: background .15s ease, transform .1s ease;
}
.btn:hover { background: var(--red-700); color: #fff; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary { background: var(--green-700); }
.btn--primary:hover { background: var(--green-800); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--accent); color: var(--text); }
.btn--sm { padding: 8px 15px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Tool shell ---------- */
.tool { margin: 22px 0 8px; }
.tool-layout { display: grid; gap: 22px; align-items: start; }
.tool-layout > * { min-width: 0; }
@media (min-width: 900px) {
  .tool-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}
.result-panel { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.result-headline {
  font-family: var(--font-num);
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.5rem);
  font-weight: 750;
  color: var(--accent-dark);
  line-height: 1.15;
  margin: 0 0 2px;
  font-variant-numeric: tabular-nums;
}
.result-sub { color: var(--text-soft); margin: 0 0 14px; font-size: .95rem; }
.result-headline { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.15rem); }
.stat-list { list-style: none; margin: 0; padding: 0; }
.stat-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: .96rem;
}
.stat-list li:last-child { border-bottom: 0; }
.stat-list li > span:first-child { min-width: 0; }
.stat-list .v { font-family: var(--font-num); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; margin-left: auto; }
.stat-list li.is-total { border-top: 2px solid var(--border); border-bottom: 0; margin-top: 4px; padding-top: 12px; font-weight: 750; }
.stat-list li.is-over .v { color: var(--red-600); }
.stat-list li.is-under .v { color: var(--green-700); }

.people-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.person-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.person-row--amount { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; }
.icon-btn {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-s);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--red-600);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  font-family: var(--font);
}
.icon-btn:hover { background: var(--red-100); border-color: var(--red-500); }

.alert { border-radius: var(--radius); padding: 13px 16px; font-size: .95rem; margin: 0 0 16px; border: 1px solid; }
.alert p:last-child { margin-bottom: 0; }
.alert--info    { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.alert--warn    { background: var(--gold-100); border-color: var(--gold-500); color: var(--text); }
.alert--error   { background: var(--red-100); border-color: var(--red-500); color: var(--text); }
.alert--success { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.alert[hidden] { display: none; }
.safety-note { display: flex; gap: 12px; align-items: flex-start; }
.safety-note .ico { font-size: 1.4rem; line-height: 1.2; }

/* ---------- Secret Santa reveal ---------- */
.santa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.santa-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.santa-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  text-align: left;
}
.santa-btn:hover { background: var(--accent-soft); }
.santa-btn .tag {
  font-size: .8rem;
  font-weight: 700;
  color: var(--red-600);
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.santa-reveal { padding: 0 16px 15px; margin: 0; }
.santa-reveal[hidden] { display: none; }
.santa-reveal .name { font-size: 1.32rem; font-weight: 800; color: var(--accent-dark); display: block; }
.santa-item.is-open { border-color: var(--accent); box-shadow: var(--shadow-s); }

/* ---------- FAQ ---------- */
.faq { margin-top: 10px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 2px 16px;
  margin-bottom: 10px;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 13px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 0; }
.faq details p:last-child { margin-bottom: 14px; }

/* ---------- Related links ---------- */
.related { margin-top: 36px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.related a {
  display: block;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 650;
  font-size: .95rem;
  color: var(--accent-dark);
}
.related a:hover { border-color: var(--accent); background: var(--accent-soft); }

/* ---------- Ad slots ---------- */
.ad-slot { margin: 26px auto; text-align: center; color: var(--text-mute); font-size: .78rem; }
.ad-slot:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #cfe0d6; margin-top: 50px; padding: 40px 0 26px; font-size: .94rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-500); text-decoration: underline; }
.footer-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.footer-grid h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-500); margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-about p { color: #b9cdc1; margin-bottom: 0; max-width: 34ch; }
.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  color: #a8bdb0;
  font-size: .88rem;
}
.footer-bottom button {
  background: none;
  border: 0;
  padding: 5px 0;
  min-height: 26px;
  color: #fff;
  font: inherit;
  font-size: .88rem;
  cursor: pointer;
  text-decoration: underline;
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  z-index: 200;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .22);
  padding: 18px 20px;
  max-width: 620px;
  margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.05rem; margin: 0 0 6px; }
.cookie-banner p { font-size: .91rem; color: var(--text-soft); margin: 0 0 14px; }
.cookie-banner .btn-row { justify-content: flex-start; }

/* ---------- Misc ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 1.1em; }
table { border-collapse: collapse; width: 100%; font-size: .94rem; min-width: 420px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { background: var(--surface-2); font-weight: 700; }
.badge {
  display: inline-block;
  font-size: .74rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-600);
  border: 1px solid var(--gold-500);
}
.error-page { text-align: center; padding: 50px 0; }
.error-page .code {
  font-family: var(--font-num);
  font-size: clamp(3.4rem, 2rem + 9vw, 7rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin: 0;
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cookie-banner, .ad-slot, .btn-row,
  .related, .faq, .no-print, .breadcrumbs { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .card, .result-panel, .santa-item { border: 1px solid #999; box-shadow: none; }
  .santa-reveal[hidden] { display: block !important; }
}
