/* The Haunt's book (D322): a year's lights set like a small book — a title page, a day to a chapter, a colophon —
   and printed without the site around it. */
.hb { max-width: 640px; margin: 24px auto 40px; padding: 40px clamp(18px, 6vw, 56px); background: #fbf6ea; color: #1f1a14; font: 17px/1.65 Georgia, "Times New Roman", serif; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); border-radius: 2px; }
.hb-title { text-align: center; padding: 30px 0 46px; border-bottom: 1px solid #c9b996; margin-bottom: 30px; }
.hb-pre { margin: 0; font: 12px/1 Georgia, serif; letter-spacing: .4em; text-transform: uppercase; color: #8a7a5a; }
.hb h1 { margin: 18px 0 4px; font: italic 400 clamp(40px, 9vw, 64px)/1 Georgia, serif; color: #1f1a14; }
.hb-yr { margin: 0 0 18px; font: 22px/1 Georgia, serif; letter-spacing: .3em; color: #8a5a1a; }
.hb-sub { margin: 0 auto; max-width: 30ch; font-style: italic; color: #5a4a32; }
.hb-count { margin: 18px 0 0; font-size: 13px; letter-spacing: .08em; color: #8a7a5a; }
.hb-print { margin: 22px 0 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hb-day { margin: 0 0 30px; break-inside: avoid-page; }
.hb-day h2 { font: 400 15px/1.2 Georgia, serif; letter-spacing: .22em; text-transform: uppercase; color: #8a5a1a; text-align: center; margin: 0 0 14px; }
.hb-n { display: block; font: italic 30px/1 Georgia, serif; letter-spacing: 0; color: #c9b996; margin-bottom: 4px; }
.hb-lights { list-style: none; margin: 0; padding: 0; }
.hb-lights li { margin: 0 0 10px; text-indent: -1.2em; padding-left: 1.2em; overflow-wrap: anywhere; }
.hb-for { font-style: italic; color: #8a7a5a; }
.hb-by { font-size: 13px; color: #8a7a5a; white-space: nowrap; }
.hb-by abbr { font-size: 10px; letter-spacing: .08em; text-decoration: none; border: 1px solid #c9b996; border-radius: 3px; padding: 0 3px; }
.hb-empty { text-align: center; font-style: italic; color: #8a7a5a; }
.hb-colophon { margin-top: 40px; padding-top: 14px; border-top: 1px solid #c9b996; text-align: center; font-size: 12px; color: #8a7a5a; }
@media print {
  @page { margin: 18mm 16mm; }
  html, body { background: #fff !important; }
  /* the book alone: everything else on the page is hidden, the book set at the top of the paper */
  body * { visibility: hidden !important; }
  .hb, .hb * { visibility: visible !important; }
  .hb { position: absolute; left: 0; top: 0; width: 100%; max-width: none; margin: 0; padding: 0; box-shadow: none; background: #fff; }
  .noprint { display: none !important; }
  .hb-title { break-after: page; min-height: 80vh; display: flex; flex-direction: column; justify-content: center; border: 0; }
  a { color: inherit; text-decoration: none; }
}
