/* scavenger-hunt: this tool's own look, loaded only on its page (tools.css is shared and kept under 5 KB gz) */
/* the form's own buttons: NOT .chqt-actions, which the engine takes (the first one) for Share, Save and the email box */
.chqt-sh-go { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chqt-hunt-set { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.chqt-hunt { border: 2px solid var(--chqt-ink); border-radius: 12px; padding: 12px; background: #fff; color: var(--chqt-ink); }
.chqt-hunt.is-done { border-color: var(--chqt-accent); box-shadow: 0 0 0 3px var(--chqt-accent); }
.chqt-hunt-h { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; margin: 0 0 6px; color: var(--chqt-muted); }
.chqt-hunt-h b { color: var(--chqt-ink); letter-spacing: .06em; }
.chqt-hunt-name { margin: 0 0 8px; font-size: 15px; }
.chqt-hunt-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
.chqt-hunt-item { width: 100%; min-height: 44px; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid var(--chqt-line); border-radius: 8px; background: #fff; color: var(--chqt-ink); font-size: 16px; text-align: left; cursor: pointer; }
.chqt-hunt-item[aria-pressed="true"] { background: var(--chqt-accent); color: var(--chqt-accent-ink, var(--chqt-ink)); }
.chqt-hunt-box { flex: none; width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 4px; }
.chqt-hunt-item[aria-pressed="true"] .chqt-hunt-box::after { content: "✓"; display: block; font-size: 14px; line-height: 14px; text-align: center; }
.chqt-hunt-e { font-size: 22px; line-height: 1; }
.chqt-hunt-w { font-size: 14px; line-height: 1.2; }
.chqt-hunt-count { margin: 8px 0 0; font-weight: 700; text-align: center; }
@media print {
  .chqt-print-root.chqt-print-hunt { columns: auto; font: 12pt system-ui, sans-serif; }
  .chqt-print-hunt .chqt-hunt { break-after: page; page-break-after: always; border: 2px solid #000; box-shadow: none; }
  .chqt-print-hunt .chqt-hunt-list { grid-template-columns: repeat(2, 1fr); }
  .chqt-print-hunt .chqt-hunt-item { border: 1px solid #000; background: #fff; min-height: 1.4cm; }
  .chqt-print-hunt .chqt-hunt-count { display: none; }
}
/* the hunt is rendered in the page before any script: nothing to reserve room for (the lights page too, TM66c) */
.chqt[data-tool="scavenger-hunt"] .chqt-result, .chqt[data-tool="christmas-lights-scavenger-hunt"] .chqt-result { min-height: 0; }
/* the lights page on a phone: its H1 says what it is, so the lede gives way to the answer (live it sat at 875 px of 664) */
@media (max-width: 460px) {
  .chqt[data-tool="christmas-lights-scavenger-hunt"] .chqt-lede { display: none; }
  /* "For" and "Sheets": read out, not shown — the buttons say Pictures / Words / Challenges and Same / Different finds */
  .chqt[data-tool="christmas-lights-scavenger-hunt"] fieldset legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
