:root {
  --cream: #fff8ea;
  --paper: #fffdf7;
  --ink: #26352e;
  --soft: #506157;
  --leaf: #285342;
  --leaf-dk: #193e30;
  --gold: #e8b74f;
  --gold-dk: #765318;
  --sky: #dceef6;
  --sky-dk: #30566b;
  --plum: #624662;
  --line: #d8ceb8;
  --story-type: Literata, Georgia, serif;
  --ui-type: Nunito, system-ui, sans-serif;
}
body { font-family: var(--ui-type); }
h1, h2, h3, .brand, .hero h1, .hero h1 span, .card h3, .page .chap-num {
  color: var(--leaf);
  font-family: var(--story-type);
  font-weight: 600;
  line-height: 1.16;
}
.brand, .book-name, .ribbon, .votd-text, .path b, .book, .verse, .cover strong {
  font-family: var(--story-type);
}
.btn, .pill, .tab, .chap, .tools button, button.action, .action {
  font-family: var(--ui-type);
  font-weight: 700;
}
.btn, .btn.gold, .btn.sky, .btn.white, .tab, .chap {
  box-shadow: 0 2px 6px #193e3017;
}
.btn:hover, .btn.gold:hover, .btn.sky:hover, .btn.white:hover, .btn:active {
  box-shadow: 0 2px 7px #193e3026;
}
.btn.sky { color: var(--sky-dk); }
.btn.gold { background: #f2e7cd; color: var(--ink); }
.hero-card, .page, .card, .votd-card { border: 1px solid var(--line); }
.hero-card { background: var(--cream); }
.hero .path-link {
  display: table;
  margin: 6px auto 12px;
  padding: 8px;
  color: var(--leaf);
  font-size: 18px;
  text-underline-offset: 4px;
}
.hero-card:has(#shepherdReturn:not([hidden])) > .btn { display: none; }
.ribbon { background: #efe8d7; color: var(--ink); }
.votd { background: linear-gradient(var(--sky), var(--cream)); }
.welcome { background: linear-gradient(115deg, #ebf0e8, var(--cream)); }
.path { color: var(--ink); border: 1px solid var(--line); }
.p1, .law, .church { background: #efe4cb; }
.p2, .history, .gospels { background: #eedfd7; }
.p3, .letters { background: var(--sky); }
.p4, .prophets, .revelation { background: #e7e1ec; }
.wisdom { background: #e2ebdf; }
.books .book { color: var(--ink); box-shadow: inset 6px 0 #0001, 0 2px 5px #26352e15; }
.text { font-family: var(--story-type); }
footer, .music-fab { background: var(--leaf); }
.story header { background: var(--leaf); color: var(--cream); }
.story header a:first-child { font: 600 22px/1.25 var(--story-type); }
.story .panel, .story .path-guide, .story .book { color: var(--ink); background: var(--cream); }
.story button:where(:not(.cover):not(.doorway)), .story .action {
  background: var(--leaf);
  color: white;
  border-color: var(--leaf);
  font-family: var(--ui-type);
}
.story button.secondary { background: var(--sky); color: var(--sky-dk); border-color: #bad3de; }
.story #plant { background: var(--gold); color: var(--ink); border-color: #ab802d; }
.story .path-guide li[aria-current] { background: #faf0d7; border-radius: 10px; }
.story .verse { color: var(--ink); line-height: 1.6; }
.story .path-guide h2, .story .path-prayer { font-family: var(--story-type); }
