/* Christmas Scavenger Hunt — Frost Grey-Green & Deep Spruce theme (12 unique hexes) */
@font-face {
  font-family: Brico;
  src: url(/_a/bricolage-700.4c373ce3c1.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Hanken;
  src: url(/_a/hanken-400.787b3fdd0b.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Hanken;
  src: url(/_a/hanken-600.58f23b7ae3.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  --ground: #eef3f0;
  --surface: #fbfdfc;
  --raised: #e1eae5;
  --white: #ffffff;
  --ink: #13261f;
  --ink2: #3d5249;
  --line: #c5d3cb;
  --pine: #14432f;
  --pine-dark: #0d2f20;
  --pine2: #1f6a4e;
  --berry: #b3202f;
  --focus: #1d62b5;
  --w: 1180px;
  --r: 10px;
  --font: Hanken, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --head: Brico, Hanken, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  overflow-x: clip;
}
::selection { background: var(--pine2); color: var(--white); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
a { color: var(--pine2); text-underline-offset: .18em; }
img, svg { max-width: 100%; }
.sh-wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.sh-skip {
  position: absolute; left: -999px; top: 0;
  background: var(--pine); color: var(--white);
  padding: 8px 12px; z-index: 50;
}
.sh-skip:focus { left: 8px; top: 8px; }
.sh-vh {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(30px, 5.5vw, 46px); letter-spacing: -.025em; }
h2 { font-size: clamp(23px, 3.4vw, 30px); }
h3 { font-size: 21px; }
h4 { font-size: 17px; margin: 0 0 6px; }

/* Header & Navigation */
.sh-top { background: var(--ground); border-bottom: 1px solid var(--line); }
.sh-top-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap;
}
.sh-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 19px/1 var(--head); color: var(--ink); text-decoration: none;
  flex-shrink: 0;
}
.sh-top-actions { display: none; align-items: center; gap: 8px; }
.sh-menu-btn {
  font: 600 15px/1 var(--font); min-height: 40px; padding: 0 12px;
  border-radius: var(--r); border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.sh-nav { display: flex; align-items: center; gap: 6px; }
.sh-nav a:not(.sh-btn) {
  color: var(--ink); text-decoration: none;
  padding: 8px 10px; border-radius: 8px; font-size: 15px; font-weight: 600;
}
.sh-nav a[aria-current="page"] { background: var(--raised); }
@media (hover: hover) and (pointer: fine) {
  .sh-nav a:not(.sh-btn):hover { background: var(--raised); }
}
@media (max-width: 880px) {
  .sh-top-actions { display: inline-flex; }
  .sh-desktop-cta { display: none !important; }
  .sh-nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    padding-top: 8px; border-top: 1px solid var(--line); gap: 4px;
  }
  .sh-nav.open { display: flex; }
  .sh-nav a:not(.sh-btn) { padding: 10px 12px; }
}
.sh-crumbs { padding-top: 14px; padding-bottom: 0; font-size: 14px; color: var(--ink2); }
.sh-crumbs a { color: var(--ink2); }

/* Buttons & Form Controls */
.sh-btn {
  font: 600 16px/1 var(--font); min-height: 44px; padding: 0 18px;
  border-radius: var(--r); border: 2px solid var(--pine);
  background: transparent; color: var(--pine);
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .12s cubic-bezier(.23,1,.32,1), background-color .12s;
}
.sh-btn:active { transform: scale(.97); }
.sh-btn.sh-pri { background: var(--pine); color: var(--white); }
.sh-btn:disabled { opacity: .5; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .sh-btn:hover { background: var(--raised); }
  .sh-btn.sh-pri:hover { background: var(--pine-dark); }
}
.sh-navcta { min-height: 40px; padding: 0 14px; font-size: 15px; }
.sh-link {
  background: none; border: 0; padding: 0; font: inherit; font-weight: 600;
  color: var(--pine2); text-decoration: underline; text-underline-offset: .18em; cursor: pointer;
}
.sh-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; min-width: 0; }
.sh-lab { font-weight: 600; font-size: 15px; }
.sh-in {
  font: inherit; width: 100%; min-height: 44px; padding: 9px 12px;
  border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--surface); color: var(--ink);
}
textarea.sh-in { resize: vertical; }
.sh-small { font-size: 14px; color: var(--ink2); }
.sh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.sh-status { min-height: 1.5em; margin: 6px 0 0; font-size: 15px; color: var(--ink2); }
.sh-status[data-bad="1"] { color: var(--berry); font-weight: 600; }
.sh-check { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 44px; }
.sh-check input, .sh-mini input { width: 20px; height: 20px; accent-color: var(--pine2); }

/* Scoped Editorial & Reading Layout */
.sh-read { max-width: 68ch; }
.sh-prose p, .sh-prose li { max-width: 68ch; }
.sh-prose p { margin: 0 0 14px; }
.sh-prose ul, .sh-prose ol { margin: 0 0 16px; padding-left: 22px; }
.sh-prose li { margin-bottom: 6px; }
.sh-prose h2 { margin: 0 0 14px; }
.sh-prose h3 { margin: 22px 0 8px; }
.sh-legal-body h2 { margin-top: 28px; margin-bottom: 10px; }
.sh-legal-body code {
  font-size: .9em; background: var(--raised); padding: 1px 6px; border-radius: 5px;
}
.sh-sec { padding-top: 44px; }
.sh-sec-first { padding-top: 12px; }
.sh-tool-lead { padding-top: 48px; padding-bottom: 6px; }
.sh-intro { padding-top: 24px; padding-bottom: 18px; }
.sh-intro h1 { max-width: 24ch; }
.sh-lede {
  font-size: clamp(18px, 2.5vw, 22px); line-height: 1.42;
  max-width: 56ch; margin: 14px 0 0; color: var(--ink2);
}
.sh-more { padding-top: 48px; }
.sh-more ul { padding-left: 20px; }
.sh-inline-cta {
  background: var(--raised); border-left: 3px solid var(--pine);
  border-radius: 0 var(--r) var(--r) 0; padding: 10px 14px;
  margin: 14px 0; font-size: 15px; max-width: 68ch;
}
.sh-lib-preview { padding-top: 4px; padding-bottom: 10px; }
.sh-lib-bar {
  display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--r); padding: 12px 14px; margin-top: 14px;
}
.sh-lib-bar .sh-field { margin: 0; min-width: 210px; }
.sh-lib-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.sh-lib-tabs .sh-btn { min-height: 40px; padding: 0 12px; font-size: 14px; }
.sh-lib-tabs .sh-btn[aria-pressed="true"] { background: var(--pine); color: var(--white); }
.sh-spots[data-age-filter="little"] [data-age-col="kids"],
.sh-spots[data-age-filter="kids"] [data-age-col="little"] { display: none; }
.sh-spots[data-age-filter="little"] .sh-two,
.sh-spots[data-age-filter="kids"] .sh-two { grid-template-columns: 1fr; }

/* Clue samples & library */
.sh-prose ul.sh-clues, ul.sh-clues {
  list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px;
}
.sh-clues li {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--r); padding: 12px 14px; display: grid; gap: 4px;
  margin-bottom: 0;
}
.sh-clues q { quotes: none; font-size: 17px; }
.sh-pt { font-size: 13px; font-weight: 600; color: var(--ink2); }
.sh-pt::before { content: "Points to: "; }
.sh-spots { display: grid; gap: 8px; margin-top: 20px; }
.sh-spot { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); }
.sh-spot summary { cursor: pointer; padding: 12px 16px; font: 700 19px var(--head); min-height: 44px; }
.sh-spot h3 { font-size: 17px; margin: 0 0 6px; }
.sh-spot .sh-two { display: grid; gap: 14px; padding: 4px 16px 16px; }
@media (min-width: 760px) { .sh-spot .sh-two { grid-template-columns: 1fr 1fr; } }
.sh-sample-wrap { padding-top: 52px; }
.sh-sample-wrap > p { max-width: 68ch; }
.sh-pgrid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 18px;
}

/* Clue Card (shared across sample set, live preview & print) */
.sh-pcard {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--white); border: 2.5px solid var(--c, var(--pine));
  border-radius: 14px; padding: 16px 18px 24px; color: var(--ink); min-height: 170px;
}
.sh-pcard header {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  border-bottom: 2px solid var(--c, var(--pine)); padding-bottom: 6px;
}
.sh-pcard b { font: 700 20px/1.1 var(--head); color: var(--c, var(--pine)); }
.sh-pcard header span { font: 600 13px var(--font); color: var(--ink2); }
.sh-pcard p { margin: 0; font-size: 17px; line-height: 1.35; }
.sh-pcard small { position: absolute; right: 14px; bottom: 6px; font-size: 12px; color: var(--ink2); opacity: .75; }
.sh-pcard .sh-pic { font-size: 34px; line-height: 1; }
.sh-d-holly { border-color: var(--pine2); outline: 2px dotted var(--berry); outline-offset: -8px; }
.sh-d-candy {
  border-color: var(--c, var(--pine));
  background:
    repeating-linear-gradient(90deg, var(--berry) 0 10px, var(--white) 10px 20px) top/100% 8px no-repeat,
    repeating-linear-gradient(90deg, var(--berry) 0 10px, var(--white) 10px 20px) bottom/100% 8px no-repeat,
    var(--white);
  padding-top: 24px;
}
.sh-d-snow { border-style: dashed; border-color: var(--focus); }

/* FAQ */
.sh-faq { padding-top: 52px; padding-bottom: 60px; }
.sh-faq h2 { margin-bottom: 14px; }
.sh-faq details { border-top: 1.5px solid var(--line); max-width: 68ch; }
.sh-faq details:last-child { border-bottom: 1.5px solid var(--line); }
.sh-faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; min-height: 44px; }
.sh-faq p { margin: 0 0 14px; color: var(--ink); }

/* Setup steps, jump index, callouts & tables */
.sh-prose ol.sh-steps, ol.sh-steps {
  counter-reset: step; list-style: none; margin: 0 0 16px; padding: 0;
  display: grid; gap: 10px; max-width: 68ch;
}
.sh-steps li {
  counter-increment: step; position: relative;
  padding: 12px 14px 12px 52px; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--r); margin-bottom: 0;
}
.sh-steps li::before {
  content: counter(step); position: absolute; left: 12px; top: 12px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--pine); color: var(--white);
  display: grid; place-items: center; font: 700 15px var(--head);
}
.sh-steps strong { font-weight: 600; }
.sh-jump { padding-top: 16px; }
.sh-jump ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.sh-jump a { font-weight: 600; }
.sh-facts {
  border-left: 3px solid var(--pine2); padding: 10px 0 10px 14px;
  background: var(--surface); border-radius: 0 var(--r) var(--r) 0;
  color: var(--ink); margin: 16px 0;
}
.sh-updated { margin: 14px 0 0; font-size: 14px; color: var(--ink2); }

/* Scoped tables */
.sh-tablewrap { overflow-x: auto; margin: 20px 0; max-width: 100%; }
.sh-tablewrap .sh-price, .sh-tablewrap .sh-worked {
  width: 100%; border-collapse: collapse;
  background: var(--surface); border: 1.5px solid var(--line);
}
.sh-tablewrap .sh-price caption {
  caption-side: top; text-align: left; padding: 10px 14px;
  font-size: 14px; color: var(--ink2);
}
.sh-tablewrap th, .sh-tablewrap td {
  padding: 11px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line); font-size: 16px;
}
.sh-tablewrap thead th { font-family: var(--head); font-size: 18px; border-bottom: 2px solid var(--ink); }
.sh-tablewrap tbody th { font-weight: 600; }
@media (max-width: 760px) {
  .sh-tablewrap .sh-price thead { position: absolute; left: -9999px; }
  .sh-tablewrap .sh-price, .sh-tablewrap .sh-price tbody, .sh-tablewrap .sh-price tr,
  .sh-tablewrap .sh-price th, .sh-tablewrap .sh-price td { display: block; }
  .sh-tablewrap .sh-price tr { border-bottom: 3px solid var(--ink); padding: 6px 0; }
  .sh-tablewrap .sh-price td { border: 0; padding: 4px 14px; }
  .sh-tablewrap .sh-price td[data-l]::before { content: attr(data-l) ": "; font-weight: 600; }
  .sh-tablewrap .sh-price tbody th { border: 0; padding: 10px 14px 2px; font-size: 17px; }
}
.sh-404 { padding: 48px 0; }

/* Footer */
.sh-foot { border-top: 1px solid var(--line); background: var(--raised); margin-top: 32px; }
.sh-foot .sh-wrap { padding-top: 28px; padding-bottom: 32px; }
.sh-foot-line { margin: 0 0 12px; font-size: 15px; }
.sh-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sh-foot a { color: var(--ink); font-size: 15px; padding: 6px 0; }

/* Adsterra Native Banner Slot (Zero-Gap Collapse SOP — NEVER display:none on container, NEVER fixed min-height) */
.ad-slot { width: 100%; max-width: 100%; margin: 0; padding: 0; border: 0; min-height: 0; overflow-x: clip; background: transparent; }
.ad-slot__inner { width: 100%; max-width: 100%; padding: 0; border: 0; border-radius: var(--r); background: transparent; color: var(--ink); font: inherit; overflow-x: clip; }
.ad-slot__label { display: none; margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink2); }
.ad-slot__body { display: block; width: 100%; max-width: 100%; overflow-x: hidden; color: inherit; font: inherit; overflow-wrap: anywhere; }
.ad-slot__body img, .ad-slot__body iframe { max-width: 100%; }
.ad-slot[data-ad-state="active"], .ad-slot:has([id^="container-"] > *) { margin: 28px 0; }
.ad-slot[data-ad-state="active"] .ad-slot__inner, .ad-slot:has([id^="container-"] > *) .ad-slot__inner { padding: 16px 20px; background: var(--surface); border: 1.5px solid var(--line); }
.ad-slot[data-ad-state="active"] .ad-slot__label, .ad-slot:has([id^="container-"] > *) .ad-slot__label { display: block; }
@media (max-width: 640px) { .ad-slot[data-ad-state="active"] .ad-slot__inner, .ad-slot:has([id^="container-"] > *) .ad-slot__inner { padding: 14px; } }

/* Print Styles — hides site chrome, renders clean cut-line sheets + Host Answer Key */
#sh-printroot { display: none; }
@media print {
  body { background: var(--white) !important; }
  body > * { display: none !important; }
  .ad-slot { display: none !important; }
  #sh-printroot { display: block !important; }
  body.sh-p-sample #sh-printroot { display: none !important; }
  body.sh-p-sample > main { display: block !important; }
  body.sh-p-sample > main > * { display: none !important; }
  body.sh-p-sample > main > .sh-sample-wrap { display: block !important; max-width: none; padding: 10mm; }
  .sh-sheet {
    width: 100%; height: 100vh; padding: 10mm;
    page-break-after: always; break-after: page;
    position: relative; overflow: hidden; font-size: 11pt;
  }
  .sh-sheet:last-child { page-break-after: auto; break-after: auto; }
  .sh-pg {
    display: grid; grid-template-columns: 1fr 1fr;
    height: calc(100vh - 28mm); border: .3mm dashed var(--ink2);
  }
  .sh-g4 .sh-pg { grid-template-rows: repeat(2, 1fr); }
  .sh-g6 .sh-pg { grid-template-rows: repeat(3, 1fr); }
  .sh-g8 .sh-pg { grid-template-rows: repeat(4, 1fr); }
  .sh-pg .sh-pcard { margin: 3mm; min-height: 0; font-size: inherit; }
  .sh-pg .sh-pcard p { font-size: 14pt; }
  .sh-g8 .sh-pcard p { font-size: 11.5pt; }
  .sh-pnote {
    position: absolute; left: 0; right: 0; bottom: 4mm;
    text-align: center; font-size: 8.5pt; color: var(--ink2); margin: 0;
  }
  .sh-keysheet { height: auto; min-height: 100vh; overflow: visible; }
  .sh-keysheet h2 { font-size: 20pt; margin-bottom: 6pt; }
  .sh-keysheet h3 {
    font-size: 13pt; margin: 8pt 0 4pt;
    border-left: 4mm solid var(--c, var(--pine)); padding-left: 3mm;
  }
  .sh-krow {
    border-left: 1.6mm solid var(--c, var(--pine)); padding-left: 3mm;
    margin: 0 0 3mm; display: grid; gap: 1mm; font-size: 10pt; break-inside: avoid;
  }
  .sh-krow q { quotes: none; font-size: 9pt; }
  .sh-warn { color: var(--berry); }
  .sh-pcard, .sh-krow { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
