:root {
  --bg: #fdf6ee;
  --card: #ffffff;
  --text: #2a1818;
  --muted: #6e5555;
  --accent: #b8292f;
  --accent-dark: #8f1d22;
  --gold: #d9a441;
  --gold-soft: #faf1dc;
  --border: #eadcd2;
  --warm: #2f7d4f;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .08);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--accent);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus { left: 16px; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow-container { max-width: 780px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 16px;
}
h1 { font-size: 48px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
}
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; flex-shrink: 0; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
}
.nav-link:hover { color: var(--accent); text-decoration: none; }

.hero-stage {
  position: relative;
  padding: 48px 0 64px;
  background: radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 46%),
              radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 48%),
              var(--bg);
  overflow: hidden;
}
.hero-z { position: relative; z-index: 2; }
.snow-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.flake {
  position: absolute;
  top: -16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--gold) 55%, var(--card));
  opacity: .55;
  animation: snowFall 12s linear infinite;
}
.f1 { left: 6%; animation-duration: 11s; animation-delay: 0s; }
.f2 { left: 15%; width: 6px; height: 6px; animation-duration: 14s; animation-delay: -3s; }
.f3 { left: 24%; animation-duration: 10s; animation-delay: -6s; }
.f4 { left: 33%; width: 10px; height: 10px; animation-duration: 15s; animation-delay: -2s; }
.f5 { left: 42%; width: 6px; height: 6px; animation-duration: 12s; animation-delay: -8s; }
.f6 { left: 52%; animation-duration: 13s; animation-delay: -4s; }
.f7 { left: 61%; width: 6px; height: 6px; animation-duration: 11s; animation-delay: -7s; }
.f8 { left: 70%; width: 10px; height: 10px; animation-duration: 16s; animation-delay: -1s; }
.f9 { left: 78%; animation-duration: 10s; animation-delay: -5s; }
.f10 { left: 86%; width: 6px; height: 6px; animation-duration: 14s; animation-delay: -9s; }
.f11 { left: 93%; animation-duration: 12s; animation-delay: -2s; }
.f12 { left: 48%; width: 8px; height: 8px; animation-duration: 15s; animation-delay: -10s; }

@keyframes snowFall {
  0% { transform: translateY(-16px) translateX(0); opacity: 0; }
  15% { opacity: .6; }
  85% { opacity: .5; }
  100% { transform: translateY(820px) translateX(28px); opacity: 0; }
}

.progress-track {
  height: 8px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--border) 65%, transparent);
  overflow: hidden;
  margin-bottom: 24px;
}
.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width .4s cubic-bezier(.22, 1, .36, 1);
}
.hero-intro { text-align: center; max-width: 720px; margin: 0 auto 24px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  padding: 4px 12px;
  border-radius: var(--radius);
  margin: 0 0 12px;
}
.hero-lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 auto;
  max-width: 64ch;
}


.booklet-shell {
  --bk-bg: var(--card);
  --bk-border: var(--border);
  --door-bg: var(--bg);
  --door-border: var(--border);
  --door-filled: var(--gold-soft);
  --door-text: var(--text);
  --seal-bg: var(--accent);
  --seal-fg: var(--card);
  position: relative;
  background: var(--bk-bg);
  border: 2px solid var(--bk-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px;
  transition: background .3s ease, border-color .3s ease;
}
.booklet-shell::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  border-radius: var(--radius);
  pointer-events: none;
}
.booklet-shell[data-style="fireside"] {
  --bk-bg: linear-gradient(180deg, var(--card), var(--gold-soft));
  --bk-border: var(--accent);
  --door-bg: var(--bg);
  --door-border: color-mix(in srgb, var(--accent) 32%, var(--gold));
  --door-filled: var(--gold-soft);
  --door-text: var(--text);
  --seal-bg: var(--accent);
  --seal-fg: var(--card);
}
.booklet-shell[data-style="evergreen"] {
  --bk-bg: var(--card);
  --bk-border: var(--warm);
  --door-bg: var(--bg);
  --door-border: color-mix(in srgb, var(--warm) 35%, var(--border));
  --door-filled: var(--gold-soft);
  --door-text: var(--text);
  --seal-bg: var(--warm);
  --seal-fg: var(--card);
}
.booklet-shell[data-style="starlight"] {
  --bk-bg: linear-gradient(155deg, var(--text), var(--accent-dark));
  --bk-border: var(--gold);
  --door-bg: color-mix(in srgb, var(--text) 78%, var(--card));
  --door-border: color-mix(in srgb, var(--gold) 60%, transparent);
  --door-filled: color-mix(in srgb, var(--accent) 45%, var(--text));
  --door-text: var(--card);
  --seal-bg: var(--gold);
  --seal-fg: var(--text);
  color: var(--card);
}
.booklet-shell[data-style="starlight"] .booklet-title { color: var(--card); }
.booklet-shell[data-style="starlight"] .booklet-sub,
.booklet-shell[data-style="starlight"] .pass-hint,
.booklet-shell[data-style="starlight"] .saved-label { color: var(--border); }
.booklet-shell[data-style="starlight"] .creator-panel,
.booklet-shell[data-style="starlight"] .active-panel,
.booklet-shell[data-style="starlight"] .drawer-card {
  background: var(--accent-dark);
  border-color: var(--muted);
  color: var(--card);
}
.booklet-shell[data-style="starlight"] label,
.booklet-shell[data-style="starlight"] .field-label,
.booklet-shell[data-style="starlight"] .drawer-title { color: var(--card); }

.booklet-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.booklet-title { font-size: 28px; margin: 0 0 4px; }
.booklet-sub { margin: 0; font-size: 14px; color: var(--muted); }
.pill-count {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.door-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
  perspective: 900px;
}
.door-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 138px;
  padding: 10px 8px 10px;
  background: var(--door-bg);
  color: var(--door-text);
  border: 2px dashed var(--door-border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  overflow: hidden;
  transform-origin: center bottom;
  transition: transform .26s cubic-bezier(.22, 1, .36, 1), border-color .2s ease, box-shadow .2s ease;
}
.door-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 22%, color-mix(in srgb, var(--gold) 36%, transparent) 50%, transparent 78%);
  transform: translateX(-135%);
  transition: transform .65s ease;
  pointer-events: none;
}
.door-btn:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.door-btn:hover::after { transform: translateX(135%); }
.door-btn.is-filled {
  background: linear-gradient(160deg, var(--door-filled), color-mix(in srgb, var(--gold) 14%, var(--door-filled)));
  border-style: solid;
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.door-btn.wrap-gold {
  background: linear-gradient(145deg, var(--gold-soft), color-mix(in srgb, var(--gold) 48%, var(--card)));
  border-color: var(--gold);
  color: var(--text);
}
.door-btn.wrap-frosted {
  background: linear-gradient(145deg, var(--card), color-mix(in srgb, var(--bg) 82%, var(--accent)));
  border-color: var(--accent);
  color: var(--text);
}
.door-btn.wrap-aurora {
  background: linear-gradient(145deg, var(--text), color-mix(in srgb, var(--accent) 55%, var(--text)));
  border-color: var(--gold);
  color: var(--card);
}
.door-btn.is-opened {
  background: var(--card);
  color: var(--text);
  border-style: solid;
  border-color: var(--accent);
}
.gift-svg {
  width: 66px;
  height: 66px;
  display: block;
  overflow: visible;
  transition: transform .25s ease;
}
.gift-lid { transition: transform .3s cubic-bezier(.22, 1, .36, 1); transform-origin: 14px 26px; }
.door-btn:hover .gift-lid { transform: translateY(-3px) rotate(-4deg); }
.door-btn.is-opened .gift-lid { transform: translateY(-9px) rotate(-14deg); }
.door-sticker-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.door-sticker-badge svg { width: 16px; height: 16px; }
.door-tag {
  font-size: 12px;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.door-lock {
  font-size: 12px;
  opacity: .8;
}

.wrap-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.wrap-chip {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.wrap-chip.wrap-gold { background: var(--gold-soft); border-color: var(--gold); }
.wrap-chip.wrap-frosted { background: var(--bg); border-color: var(--accent); }
.wrap-chip.wrap-aurora { background: var(--text); color: var(--card); border-color: var(--gold); }
.wrap-chip.is-selected { box-shadow: 0 0 0 2px var(--accent); border-color: var(--accent); }
.read-actions { margin-top: 12px; }
.link-danger { color: var(--accent); font-size: 14px; }
.fill-back-card { background: var(--gold-soft); border-color: var(--gold); color: var(--text); }
.fill-back-desc { margin: 0 0 16px; font-size: 16px; color: var(--text); }

.confetti-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99;
  animation: confettiPop .85s cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes confettiPop {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .flake, .confetti-dot { animation: none !important; display: none; }
  .door-btn, .door-btn::after { transition: none !important; }
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--text); }

.creator-panel, .active-panel, .drawer-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
}
.creator-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.creator-row-single {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 0;
}
.creator-row-single .creator-name {
  flex: 1 1 260px;
  margin-bottom: 0;
}
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
label, .field-label { font-size: 14px; font-weight: 600; color: var(--text); }
input[type="text"], textarea, select {
  width: 100%;
  min-height: 44px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
}
textarea { min-height: 96px; resize: vertical; }
.style-chips, .creator-actions, .active-actions, .drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.chip {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.chip.is-active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.pass-hint { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.app-toast {
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.drawer-title { margin: 0; font-size: 22px; }
.drawer-badge {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius);
}
.icon-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}
.fill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  margin-top: 4px;
}
.check-inline input { width: 18px; height: 18px; min-height: auto; }
.label-split { display: flex; justify-content: space-between; align-items: center; }
.char-count { font-size: 12px; color: var(--muted); }
.sticker-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.sticker-opt {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.sticker-opt.is-selected { border: 2px solid var(--accent); background: var(--gold-soft); }
.read-body { display: flex; align-items: flex-start; gap: 16px; }
.read-sticker {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.read-from { margin: 0 0 8px; font-weight: 600; font-size: 16px; }
.read-note {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
}
.read-meta { margin: 0; font-size: 14px; color: var(--muted); }
.saved-strip { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.saved-label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.saved-links { display: flex; flex-wrap: wrap; gap: 8px; }
.saved-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}


.section-band { padding: 48px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p { color: var(--muted); margin: 0; }
.section-note { color: var(--muted); margin: 0 0 24px; }

.steps-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--gold-soft);
  padding: 4px 12px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.step-card p { margin: 0; color: var(--muted); font-size: 14px; }

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
.prose { max-width: 70ch; }
.prose h2 { margin-top: 32px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 24px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }

.sidebar-stack { display: flex; flex-direction: column; gap: 24px; }
.side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.side-card-gold { background: var(--gold-soft); border-color: var(--gold); }
.guide-links, .mini-list { list-style: none; padding: 0; margin: 0; }
.guide-links li { margin-bottom: 12px; }
.guide-links li:last-child { margin-bottom: 0; }
.guide-links a {
  display: block;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}
.guide-links a:hover { border-color: var(--accent); text-decoration: none; }
.guide-title { display: block; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.guide-desc { display: block; font-size: 14px; color: var(--muted); }
.mini-list li { font-size: 14px; margin-bottom: 12px; color: var(--text); }
.mini-list li:last-child { margin-bottom: 0; }

.page-hero { padding: 32px 0; border-bottom: 1px solid var(--border); background: var(--card); }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.opener-box {
  margin-top: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.opener-row { display: flex; gap: 12px; margin-top: 8px; }
.opener-err { color: var(--accent); font-size: 14px; font-weight: 600; margin: 8px 0 0; }

.prompts-section { margin-top: 32px; }
.prompts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.prompt-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.prompt-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--gold-soft);
  padding: 4px 8px;
  border-radius: var(--radius);
  align-self: flex-start;
}
.prompt-text { margin: 0; font-size: 16px; }
.btn-copy-prompt {
  align-self: flex-start;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn-copy-prompt:hover { border-color: var(--accent); color: var(--accent); }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
}
.faq-item summary { font-weight: 600; cursor: pointer; font-size: 16px; }
.faq-item p { margin: 12px 0 0; color: var(--muted); }

.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.related-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--text);
}
.related-card:hover { border-color: var(--accent); text-decoration: none; }
.related-title { display: block; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.related-desc { display: block; font-size: 14px; color: var(--muted); }

.engage-bar { margin-bottom: 32px; }
.engage-group { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn-engage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn-engage[data-gf-liked] { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.count-pill {
  padding: 2px 8px;
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: var(--text);
  font-size: 12px;
}
.share-msg { font-size: 14px; color: var(--accent); font-weight: 600; }

.comments-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.comment-form { margin-bottom: 24px; }
.comment-msg { font-size: 14px; color: var(--accent); margin: 8px 0 0; }
.comments-list[data-gf-empty]::before {
  content: "No notes yet — be the first to share how your friend group uses this calendar.";
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.comment-item { padding: 16px 0; border-top: 1px solid var(--border); }
.comment-item[data-gf-owner] { background: var(--gold-soft); padding: 16px; border-radius: var(--radius); border: 1px solid var(--gold); }
.comment-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; margin-bottom: 8px; }
.comment-meta time { color: var(--muted); font-size: 12px; }
.owner-badge { background: var(--accent); color: #ffffff; font-size: 12px; padding: 2px 8px; border-radius: var(--radius); }
.comment-body { margin: 0 0 8px; }
.reply-btn, .link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.comment-replies { margin-left: 24px; margin-top: 12px; }

.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-logo { font-family: var(--font-display); font-size: 22px; color: var(--text); }
.footer-tagline { margin: 8px 0 4px; color: var(--muted); font-size: 14px; }
.footer-disclaimer { margin: 0; color: var(--muted); font-size: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.footer-nav a { font-size: 14px; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 16px; font-size: 12px; color: var(--muted); }
.back-home { margin-top: 32px; }
.not-found { text-align: center; padding: 32px 0; }
.not-found .creator-actions { justify-content: center; margin-top: 24px; }

@media (max-width: 900px) {
  .door-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .site-nav { gap: 16px; }
  .booklet-shell { padding: 16px; }
  .booklet-top { flex-direction: column; }
  .door-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .door-btn { min-height: 96px; padding: 8px 4px; }
  .creator-row, .fill-grid, .steps-grid, .prompts-grid, .related-grid { grid-template-columns: 1fr; }
  .opener-row { flex-direction: column; }
  .creator-actions .btn, .active-actions .btn, .drawer-actions .btn { width: 100%; }
}
