/* PartyForge Kits — Thanksgiving Table Quest kit pages.
   Screen: the sheets sit as paper pages on the peach ground.
   Print: US Letter, one .sheet per page, chrome hidden, ink-friendly
   (white ground, black text, light fills dropped). */

/* ---------- screen chrome ---------- */
.kit-body { background: var(--cream); }
.kit-top { padding: 18px 0 6px; }
.kit-top-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.kit-top-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.kit-intro {
  max-width: 46rem; margin: 14px 0 4px; color: var(--ink-soft); font-size: 1.02rem;
}
.kit-bottom { padding: 8px 0 34px; text-align: center; color: var(--ink-soft); }

/* ---------- the sheet ---------- */
.sheet {
  background: #fff; color: #241811;
  width: min(7.6in, calc(100% - 32px));
  margin: 22px auto 30px;
  padding: 0.5in 0.55in 0.45in;
  border: 2px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--lift-shadow);
  font-size: 12.5pt;
  line-height: 1.5;
}
.sheet-head { border-bottom: 4px solid var(--coral); padding-bottom: 10px; margin-bottom: 16px; }
.sheet-brand {
  font-family: "Lexend", sans-serif; font-weight: 800; font-size: 10pt;
  letter-spacing: .12em; color: var(--coral-ink); margin: 0 0 2px;
}
.sheet-title {
  font-family: "Lexend", sans-serif; font-weight: 800;
  font-size: 28pt; margin: 0; line-height: 1.05; color: #241811;
}
.sheet-sub { margin: 4px 0 0; color: #57453a; font-size: 11.5pt; }
.sheet-id {
  display: flex; gap: 34px; flex-wrap: wrap; margin-top: 12px; font-weight: 700;
}
.sheet-id p { margin: 0; display: flex; align-items: baseline; gap: 8px; }

.write-line {
  display: inline-block; border-bottom: 2px solid #a08b7a; height: 1em; vertical-align: baseline;
}
.write-line-sm { width: 1.4in; }
.write-line-lg { width: 2.2in; }

.kit-section { margin: 0 0 18px; }
.kit-h {
  font-family: "Lexend", sans-serif; font-weight: 800; font-size: 15.5pt;
  margin: 0 0 6px; color: #241811;
}
.kit-step {
  background: var(--coral); border: 2px solid var(--coral-deep); border-radius: 999px;
  font-size: 10.5pt; padding: 2px 10px 3px; margin-right: 8px; vertical-align: 2px;
  white-space: nowrap;
}
.kit-instr { margin: 0 0 12px; color: #3a2a20; }

.sheet-foot {
  border-top: 2px solid var(--line); padding-top: 9px; margin-top: 4px;
  font-size: 9.5pt; color: #776355; text-align: center;
}
.sheet-foot p { margin: 0; }

/* ---------- word search ---------- */
.ws-wrap { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; }
.ws-grid {
  border-collapse: collapse; margin: 2px auto;
  font-family: "Lexend", sans-serif; font-weight: 700;
}
.ws-grid td {
  width: 0.39in; height: 0.39in; text-align: center; vertical-align: middle;
  border: 1.5px solid #cbb3a2; font-size: 13.5pt; color: #241811; padding: 0;
}
.ws-grid td.hit {
  background: #FFE3D6; border-color: var(--coral-deep); color: var(--coral-ink);
}
.ws-bank { flex: 1 1 170px; min-width: 160px; }
.ws-bank h3 {
  font-family: "Lexend", sans-serif; font-size: 12.5pt; margin: 0 0 8px;
}
.ws-bank ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.ws-bank li { padding: 3px 0; font-weight: 700; font-size: 12pt; }
.ws-bank li::before { content: "☆ "; color: var(--coral-deep); }
.key-list { margin: 0; padding-left: 1.4em; }
.key-list li { padding: 3px 0; }

/* ---------- cut-out pieces (chain strips + story cards) ---------- */
.cut-note { font-size: 11pt; color: #57453a; margin: 0 0 10px; }
.strip {
  border: 2px dashed #9c7a63; border-radius: 10px;
  padding: 10px 14px; margin: 0 0 10px;
}
.strip .strip-prompt {
  font-family: "Lexend", sans-serif; font-weight: 700; font-size: 12pt; margin: 0 0 4px;
}
.strip .strip-line {
  display: block; border-bottom: 2px solid #a08b7a; height: 1.5em;
}
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.story-card {
  border: 2px dashed #9c7a63; border-radius: 12px; padding: 12px 14px;
  min-height: 1.55in;
}
.story-card .card-num {
  font-family: "Lexend", sans-serif; font-weight: 800; font-size: 10pt;
  letter-spacing: .1em; color: var(--coral-ink); margin: 0 0 4px;
}
.story-card p { margin: 0; font-size: 12pt; }
.story-card.blank p { color: #776355; }
.scene-box {
  border: 2px solid #cbb3a2; border-radius: 12px; padding: 14px 16px; margin: 0 0 12px;
}
.scene-box h3 { font-family: "Lexend", sans-serif; font-size: 13.5pt; margin: 0 0 4px; }
.scene-box p { margin: 0; }

/* ---------- coloring placemat ---------- */
.color-frame {
  border: 3.5px solid #241811; border-radius: 14px; padding: 14px 16px 8px;
}
.color-frame svg { width: 100%; height: auto; display: block; }
.color-title {
  font-family: "Lexend", sans-serif; font-weight: 800; text-align: center;
  font-size: 24pt; letter-spacing: .14em; margin: 6px 0 2px; color: #241811;
}
.color-sub { text-align: center; margin: 0 0 8px; font-size: 11.5pt; color: #57453a; }

@media (max-width: 640px) {
  .sheet { padding: 26px 20px; font-size: 12pt; }
  .sheet-title { font-size: 24pt; }
  .ws-grid td { width: 0.34in; height: 0.34in; font-size: 11.5pt; }
  .card-grid { grid-template-columns: 1fr; }
  .color-title { font-size: 19pt; }
}

/* ---------- print ---------- */
@page { size: Letter; margin: 0.5in; }

@media print {
  .no-print, .skip-link { display: none !important; }
  body, .kit-body { background: #fff; }
  .sheet {
    width: auto; margin: 0; padding: 0;
    border: none; border-radius: 0; box-shadow: none;
    font-size: 11.8pt;
    break-after: page; page-break-after: always;
  }
  .sheet-head { margin-bottom: 10px; padding-bottom: 7px; }
  .sheet-title { font-size: 25pt; }
  .sheet-id { margin-top: 8px; }
  .kit-section { margin-bottom: 11px; }
  .kit-instr { margin-bottom: 7px; }
  .ws-grid td { width: 0.40in; height: 0.40in; font-size: 13pt; }
  #ws-key td { width: 0.31in; height: 0.31in; font-size: 11pt; }
  .ws-grid td.hit { background: #eee; }  /* ink-light highlight on the key */
  .key-list li { padding: 1px 0; line-height: 1.35; }
  .strip { margin-bottom: 8px; padding: 8px 12px; }
  .story-card { min-height: 1.4in; }
  .color-frame { border-color: #241811; }
  .sheet-foot { padding-top: 6px; }
  .sheet:last-of-type { break-after: auto; page-break-after: auto; }
  .kit-step { background: #fff; }         /* ink-friendly: fills off, borders stay */
  .sheet-head { border-bottom-color: #241811; }
  a { color: inherit; text-decoration: none; }
}
