:root {
  color-scheme: light;
  --bg: #f3eee7;
  --surface: #fffdf9;
  --surface-2: #ebe5dc;
  --surface-3: #e5ddd1;
  --ink: #233029;
  --muted: #70766e;
  --soft-muted: #92978f;
  --forest: #2f493b;
  --forest-2: #3d5a49;
  --sage: #dce4d9;
  --sage-2: #c9d6c4;
  --gold: #a47b50;
  --gold-soft: #e8d8c3;
  --rose: #8d5d55;
  --border: rgba(35, 48, 41, 0.105);
  --hairline: rgba(35, 48, 41, 0.07);
  --shadow: 0 22px 70px rgba(55, 48, 39, 0.09);
  --shadow-soft: 0 10px 35px rgba(55, 48, 39, 0.055);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

body.dark {
  color-scheme: dark;
  --bg: #171d19;
  --surface: #202923;
  --surface-2: #28332b;
  --surface-3: #303a32;
  --ink: #f2eee6;
  --muted: #afb6ad;
  --soft-muted: #899187;
  --forest: #a9bea9;
  --forest-2: #bdcfbc;
  --sage: #2d3b31;
  --sage-2: #39483d;
  --gold: #d2ae80;
  --gold-soft: #43372b;
  --rose: #d3a49b;
  --border: rgba(255,255,255,.10);
  --hairline: rgba(255,255,255,.065);
  --shadow: 0 22px 70px rgba(0,0,0,.22);
  --shadow-soft: 0 10px 35px rgba(0,0,0,.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -12%, rgba(255,255,255,.85), transparent 30%),
    var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
body.dark { background: radial-gradient(circle at 50% -10%, rgba(106,134,113,.10), transparent 31%), var(--bg); }
button, input, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button, input, textarea { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--forest) 35%, transparent); outline-offset: 2px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.app-shell { width: min(100%, 760px); margin: 0 auto; padding: 0 18px calc(118px + env(safe-area-inset-bottom)); }
.topbar {
  height: calc(79px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 30;
  background: linear-gradient(to bottom, var(--bg) 76%, color-mix(in srgb, var(--bg) 78%, transparent) 88%, transparent);
  backdrop-filter: blur(8px);
}
.brand-button { background: none; border: 0; display: flex; align-items: center; gap: 10px; padding: 0; color: var(--ink); cursor: pointer; text-align: left; }
.brand-mark, .brand-mini { position: relative; display: inline-grid; place-items: center; overflow: hidden; background: var(--forest); }
.brand-mark { width: 38px; height: 38px; border-radius: 13px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.brand-mark::before, .brand-mini::before { content: ""; position: absolute; width: 16px; height: 16px; border: 1.5px solid #efe8dd; border-radius: 50%; top: 7px; }
.brand-mark span, .brand-mini span { position: absolute; width: 1.5px; height: 15px; background: #efe8dd; bottom: 5px; border-radius: 2px; }
.brand-copy strong { display: block; font-family: ui-serif, Georgia, serif; font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1; }
.brand-copy small { display: block; margin-top: 4px; color: var(--soft-muted); font-size: 8px; font-weight: 800; letter-spacing: .17em; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .round-action { border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.icon-button { width: 40px; height: 40px; border-radius: 14px; box-shadow: var(--shadow-soft); }
.icon-button svg, .round-action svg { width: 18px; height: 18px; }
.streak-pill { height: 40px; display: flex; align-items: center; gap: 5px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--muted); box-shadow: var(--shadow-soft); cursor: pointer; }
.streak-pill strong { color: var(--ink); font-size: 13px; }
.streak-pill span:last-child { font-size: 10px; font-weight: 700; }
.flame-dot { width: 8px; height: 11px; margin-right: 1px; background: var(--gold); border-radius: 75% 35% 70% 35%; transform: rotate(35deg); }

.view { display: none; animation: viewIn .3s var(--ease); }
.view.active { display: block; }
@keyframes viewIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.eyebrow { color: var(--forest); font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.welcome-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 6px 3px 18px; }
.welcome-line p { margin: 5px 0 0; color: var(--muted); font-family: ui-serif, Georgia, serif; font-size: 18px; }
.day-chip { color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); background: color-mix(in srgb, var(--gold-soft) 44%, transparent); border-radius: 999px; padding: 7px 10px; font-size: 9px; font-weight: 850; letter-spacing: .11em; white-space: nowrap; }

.hero-card { position: relative; overflow: hidden; min-height: 445px; border-radius: var(--radius-xl); background: linear-gradient(145deg, #284436 0%, #375545 58%, #496554 100%); color: #f6f2eb; padding: 24px; box-shadow: 0 24px 65px rgba(39,66,52,.22); }
body.dark .hero-card { background: linear-gradient(145deg, #263f33, #345143 60%, #405d4d); }
.hero-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,34,26,.57), transparent 58%); }
.orbit { position: absolute; border: 1px solid rgba(243,236,224,.18); border-radius: 50%; }
.orbit-a { width: 440px; height: 440px; right: -225px; top: -230px; }
.orbit-b { width: 300px; height: 300px; right: -155px; top: -155px; }
.hero-sun { position: absolute; width: 72px; height: 72px; right: 40px; top: 64px; border-radius: 50%; background: #d7bd91; box-shadow: 0 0 90px rgba(220,195,152,.30); }
.hero-topline { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pill-label { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); border-radius: 999px; padding: 7px 10px; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.hero-actions { display: flex; gap: 8px; }
.round-action { width: 39px; height: 39px; border-radius: 13px; color: #f6f2eb; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); box-shadow: none; }
.round-action.active { background: #f2eadb; color: #2f493b; }
.round-action.active svg { fill: currentColor; }
.hero-copy { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 42px; }
.category-label { color: #d7bd91; text-transform: uppercase; font-size: 10px; font-weight: 850; letter-spacing: .18em; }
h1, h2, blockquote { font-family: ui-serif, Georgia, "Times New Roman", serif; }
.hero-copy h1 { margin: 10px 0 10px; max-width: 560px; font-size: clamp(44px, 10.5vw, 68px); line-height: .93; letter-spacing: -.048em; font-weight: 520; }
.hero-copy p { max-width: 510px; margin: 0; color: rgba(246,242,235,.75); font-size: 15px; line-height: 1.55; }
.journey-progress { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.12); }
.journey-progress span { display: block; height: 100%; border-radius: inherit; background: #d7bd91; transition: width .45s var(--ease); }

.content-card { margin-top: 14px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-soft); }
.card-kicker { display: flex; align-items: center; gap: 9px; color: var(--forest); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.card-kicker .translation-badge { margin-left: auto; color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); border-radius: 7px; padding: 4px 6px; font-size: 8px; }
.small-icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--sage); color: var(--forest); flex: 0 0 auto; }
.small-icon svg { width: 17px; height: 17px; }
.small-icon.warm { background: var(--gold-soft); color: var(--gold); }
.scripture-card blockquote { margin: 22px 0 15px; font-size: clamp(25px, 6.4vw, 34px); line-height: 1.25; letter-spacing: -.025em; font-weight: 500; }
.verse-reference { margin: 0; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.section-title-row h2 { margin: 5px 0 0; font-size: 27px; letter-spacing: -.025em; font-weight: 520; }
.reading-time, .saved-label, .answered-count { color: var(--soft-muted); font-size: 10px; font-weight: 700; white-space: nowrap; }
.prose { margin-top: 22px; }
.prose p { margin: 0; color: var(--muted); line-height: 1.82; font-size: 15px; }
.prose p + p { margin-top: 15px; }

.stillness-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-top: 14px; padding: 18px; border-radius: var(--radius-lg); background: var(--forest); color: #f4eee6; box-shadow: 0 16px 45px rgba(39,66,52,.16); }
.stillness-ring { --p: 0deg; width: 62px; height: 62px; border-radius: 50%; position: relative; display: grid; place-items: center; background: conic-gradient(#d7bd91 var(--p), rgba(255,255,255,.14) 0); }
.stillness-ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--forest); }
.stillness-ring span { position: relative; z-index: 1; font-size: 12px; font-weight: 850; }
.stillness-copy .eyebrow { color: #d7bd91; }
.stillness-copy h2 { margin: 4px 0 3px; font-size: 21px; font-weight: 520; }
.stillness-copy p { margin: 0; color: rgba(244,238,230,.7); font-size: 11px; line-height: 1.4; }
.stillness-button { border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.09); color: #f4eee6; padding: 10px 12px; border-radius: 12px; font-size: 11px; font-weight: 800; cursor: pointer; }
.stillness-card.running .stillness-ring { animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: scale(.93); } 50% { transform: scale(1.04); } }

.prompt-card, .prayer-card { display: flex; gap: 14px; align-items: flex-start; }
.prompt-card h2 { margin: 6px 0 0; font-size: 25px; line-height: 1.2; letter-spacing: -.025em; font-weight: 520; }
.prayer-card p { margin: 8px 0 0; color: var(--muted); line-height: 1.75; }
.journal-prompt textarea, .prayer-compose textarea { margin-top: 18px; }
textarea, input { border: 1px solid var(--border); outline: none; background: color-mix(in srgb, var(--bg) 78%, var(--surface)); }
textarea { width: 100%; border-radius: 17px; padding: 16px; resize: vertical; line-height: 1.65; }
textarea::placeholder, input::placeholder { color: var(--soft-muted); }
textarea:focus, input:focus { border-color: color-mix(in srgb, var(--forest) 45%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sage) 56%, transparent); }
.primary-button, .secondary-button { width: 100%; border: 0; border-radius: 17px; cursor: pointer; font-weight: 830; }
.primary-button { min-height: 56px; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 18px; background: var(--forest); color: #fffaf3; box-shadow: 0 14px 30px color-mix(in srgb, var(--forest) 19%, transparent); }
.primary-button.completed { background: var(--sage); color: var(--forest); box-shadow: none; }
.button-icon { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; }
.button-icon svg { width: 14px; height: 14px; }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--soft-muted); font-size: 10px; margin: 13px 0 0; }
.privacy-note svg { width: 13px; height: 13px; }
.secondary-button { min-height: 48px; margin-top: 12px; background: var(--sage); color: var(--forest); }

.page-heading { padding: 13px 3px 22px; }
.page-heading h1 { margin: 9px 0 11px; max-width: 650px; font-size: clamp(41px, 9.6vw, 61px); line-height: .98; letter-spacing: -.045em; font-weight: 520; }
.page-heading p { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.62; }
.path-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 42%); gap: 10px; overflow-x: auto; padding: 2px 1px 16px; scrollbar-width: none; }
.path-strip::-webkit-scrollbar, .filter-row::-webkit-scrollbar { display: none; }
.path-card { min-height: 130px; border: 1px solid var(--border); border-radius: 21px; padding: 17px; display: flex; flex-direction: column; background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; box-shadow: var(--shadow-soft); }
.path-card:nth-child(2n) { background: var(--forest); color: #f6f1e9; border-color: transparent; }
.path-card span { color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.path-card strong { margin-top: auto; font-family: ui-serif, Georgia, serif; font-size: 24px; font-weight: 520; line-height: 1.05; }
.path-card small { margin-top: 6px; color: currentColor; opacity: .62; font-size: 10px; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--border); background: var(--surface); border-radius: 17px; box-shadow: var(--shadow-soft); }
.search-box svg { color: var(--soft-muted); width: 18px; height: 18px; }
.search-box input { width: 100%; border: 0; box-shadow: none !important; background: transparent; padding: 15px 0; }
.filter-row { display: flex; gap: 7px; overflow-x: auto; padding: 13px 0 6px; }
.filter-chip { border: 1px solid var(--border); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 8px 12px; white-space: nowrap; cursor: pointer; font-size: 11px; font-weight: 700; }
.filter-chip.active { background: var(--forest); color: #fffaf3; border-color: transparent; }
.library-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin-top: 7px; }
.devo-card { min-height: 208px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; text-align: left; cursor: pointer; box-shadow: var(--shadow-soft); }
.devo-card:nth-child(4n + 1) { background: color-mix(in srgb, var(--sage) 47%, var(--surface)); }
.devo-card .tag { color: var(--forest); font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.devo-card h3 { margin: 20px 0 8px; font-family: ui-serif, Georgia, serif; font-size: 26px; line-height: 1; letter-spacing: -.025em; font-weight: 520; }
.devo-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.48; }
.devo-card .card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 18px; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .05em; }
.devo-card .saved-mini svg { width: 14px; height: 14px; fill: currentColor; }
.empty-state { grid-column: 1/-1; border: 1px dashed var(--border); background: color-mix(in srgb, var(--surface) 70%, transparent); border-radius: 20px; padding: 30px 20px; color: var(--muted); text-align: center; line-height: 1.55; }

.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.stat-card { min-height: 135px; padding: 17px; border: 1px solid var(--border); border-radius: 21px; background: var(--surface); box-shadow: var(--shadow-soft); }
.feature-stat { grid-column: 1/-1; min-height: 160px; color: #f7f1e9; border: 0; background: linear-gradient(145deg, var(--forest), #44604f); }
.stat-label { display: block; color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.feature-stat .stat-label { color: #d7bd91; }
.stat-card strong { display: block; margin-top: 17px; font-family: ui-serif, Georgia, serif; font-size: 43px; line-height: .9; font-weight: 520; }
.feature-stat strong { font-size: 58px; }
.stat-card strong small { font-size: 20px; font-weight: 500; }
.stat-card p { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.feature-stat p { color: rgba(247,241,233,.68); }
.journal-heading, .prayer-list-heading { margin: 27px 2px 12px; }
.favorite-stat { display: flex; align-items: center; gap: 5px; color: var(--gold); font-size: 11px; font-weight: 800; }
.favorite-stat svg { width: 15px; height: 15px; fill: currentColor; }
.journal-list, .prayer-list { display: grid; gap: 10px; }
.entry-card, .prayer-item { border: 1px solid var(--border); border-radius: 21px; background: var(--surface); padding: 18px; box-shadow: var(--shadow-soft); }
.entry-card time, .prayer-item time { color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.entry-card h3 { margin: 9px 0 7px; font-family: ui-serif, Georgia, serif; font-size: 21px; font-weight: 520; }
.entry-card p, .prayer-item p { margin: 0; color: var(--muted); line-height: 1.62; white-space: pre-wrap; font-size: 13px; }
.prayer-compose label { display: flex; align-items: center; gap: 12px; }
.prayer-compose label strong, .prayer-compose label small { display: block; }
.prayer-compose label small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.prayer-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; }
.prayer-item.answered { opacity: .58; }
.prayer-item.answered p { text-decoration: line-through; }
.prayer-actions { display: flex; gap: 6px; }
.mini-button { width: 35px; height: 35px; border: 1px solid var(--border); background: var(--bg); color: var(--ink); border-radius: 11px; display: grid; place-items: center; cursor: pointer; }
.mini-button svg { width: 15px; height: 15px; }

.manifesto-card { min-height: 235px; position: relative; overflow: hidden; padding: 28px; border-radius: var(--radius-xl); background: var(--forest); color: #f7f1e9; box-shadow: 0 20px 55px rgba(39,66,52,.20); }
.manifesto-mark { position: absolute; width: 210px; height: 210px; right: -75px; top: -85px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.manifesto-mark::after { content: ""; position: absolute; width: 92px; height: 92px; left: 59px; top: 59px; border-radius: 50%; background: #d7bd91; opacity: .88; }
.manifesto-card blockquote { max-width: 440px; margin: 80px 0 10px; font-size: 31px; line-height: 1.1; letter-spacing: -.025em; }
.manifesto-card p { margin: 0; color: #d7bd91; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.settings-group { margin-top: 26px; }
.settings-label { display: block; margin: 0 4px 9px; color: var(--forest); font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.settings-card { overflow: hidden; border: 1px solid var(--border); border-radius: 21px; background: var(--surface); box-shadow: var(--shadow-soft); }
.setting-row { min-height: 70px; display: grid; grid-template-columns: 38px 1fr auto; gap: 11px; align-items: center; padding: 12px 15px; border-bottom: 1px solid var(--hairline); }
.setting-row:last-child { border-bottom: 0; }
.setting-row.nested { grid-template-columns: 38px 1fr auto; min-height: 62px; }
.setting-icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--sage); color: var(--forest); }
.setting-icon svg { width: 17px; height: 17px; }
.brand-mini { width: 36px; height: 36px; border-radius: 12px; }
.brand-mini::before { width: 14px; height: 14px; top: 6px; }
.brand-mini span { height: 13px; bottom: 5px; }
.setting-copy strong, .setting-copy small { display: block; }
.setting-copy strong { font-size: 13px; }
.setting-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.action-row { width: 100%; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer; background: transparent; }
.action-row.danger strong, .action-row.danger .setting-icon { color: var(--rose); }
.chevron { width: 16px; height: 16px; color: var(--soft-muted); }
.switch { position: relative; width: 44px; height: 26px; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { display: block; width: 100%; height: 100%; border-radius: 999px; background: var(--surface-3); transition: .2s var(--ease); cursor: pointer; }
.switch span::after { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; border-radius: 50%; background: var(--surface); box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: .2s var(--ease); }
.switch input:checked + span { background: var(--forest); }
.switch input:checked + span::after { transform: translateX(18px); }
.time-input { width: 92px; border-radius: 11px; padding: 8px; background: var(--bg); }
#reminderTimeRow.disabled { opacity: .45; pointer-events: none; }
.appearance-control { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; padding: 5px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); }
.appearance-control button { border: 0; padding: 10px 7px; border-radius: 11px; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 760; }
.appearance-control button.active { background: var(--sage); color: var(--forest); }
.footer-note { margin: 28px 0 0; color: var(--soft-muted); text-align: center; font-family: ui-serif, Georgia, serif; font-style: italic; font-size: 12px; }

.bottom-nav { position: fixed; z-index: 40; left: 50%; bottom: max(10px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(calc(100% - 24px), 718px); display: grid; grid-template-columns: repeat(6,1fr); padding: 7px; border: 1px solid var(--border); border-radius: 24px; background: color-mix(in srgb, var(--surface) 91%, transparent); backdrop-filter: blur(22px) saturate(1.25); box-shadow: 0 18px 55px rgba(43,39,33,.13); }
.nav-item { min-height: 54px; border: 0; border-radius: 17px; display: grid; place-items: center; align-content: center; gap: 4px; background: transparent; color: var(--soft-muted); cursor: pointer; }
.nav-item svg { width: 19px; height: 19px; stroke-width: 1.85; }
.nav-item small { font-size: 9px; font-weight: 740; }
.nav-item.active { background: var(--sage); color: var(--forest); }

.onboarding, .sheet-backdrop { position: fixed; z-index: 100; inset: 0; display: flex; opacity: 0; pointer-events: none; transition: opacity .28s var(--ease); }
.onboarding { align-items: flex-end; justify-content: center; padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); background: color-mix(in srgb, #14221a 68%, transparent); backdrop-filter: blur(14px); }
.onboarding.show, .sheet-backdrop.show { opacity: 1; pointer-events: auto; }
.onboarding-card { width: min(100%, 520px); padding: 25px; border-radius: 34px; background: var(--surface); box-shadow: 0 30px 100px rgba(0,0,0,.25); transform: translateY(22px); transition: transform .35s var(--ease); }
.onboarding.show .onboarding-card { transform: none; }
.onboarding-art { position: relative; height: 210px; overflow: hidden; border-radius: 25px; margin-bottom: 25px; background: linear-gradient(155deg, #2f493b, #486855); }
.onboarding-sun { position: absolute; width: 88px; height: 88px; right: 52px; top: 38px; border-radius: 50%; background: #d7bd91; box-shadow: 0 0 75px rgba(215,189,145,.28); }
.onboarding-arch { position: absolute; width: 230px; height: 230px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; right: -62px; top: -70px; }
.onboarding-mark { position: absolute; left: 35px; bottom: 28px; width: 42px; height: 62px; border: 2px solid #f2eadf; border-bottom: 0; border-radius: 24px 24px 0 0; }
.onboarding-mark::after { content: ""; position: absolute; width: 2px; height: 34px; background: #f2eadf; left: 18px; bottom: -1px; }
.onboarding-card h1 { margin: 9px 0 12px; font-size: 39px; line-height: .98; letter-spacing: -.04em; font-weight: 520; }
.onboarding-card > p { margin: 0; color: var(--muted); line-height: 1.6; }
.onboarding-features { display: grid; gap: 9px; margin: 20px 0; }
.onboarding-features span { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.onboarding-features svg { width: 16px; height: 16px; color: var(--forest); }
.onboarding-card .primary-button { margin-top: 0; }
.onboarding-card > small { display: block; margin-top: 12px; color: var(--soft-muted); text-align: center; font-size: 9px; }

.sheet-backdrop { align-items: flex-end; justify-content: center; background: rgba(12,18,14,.48); backdrop-filter: blur(8px); }
.sheet { width: min(100%, 620px); max-height: 82vh; overflow-y: auto; padding: 10px 22px calc(26px + env(safe-area-inset-bottom)); border-radius: 30px 30px 0 0; background: var(--surface); transform: translateY(100%); transition: transform .32s var(--ease); }
.sheet-backdrop.show .sheet { transform: none; }
.sheet-handle { width: 38px; height: 4px; margin: 0 auto 18px; border-radius: 4px; background: var(--surface-3); }
.sheet-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.sheet-heading h2 { margin: 6px 0 0; font-size: 33px; font-weight: 520; }
.sheet > p { color: var(--muted); line-height: 1.65; font-size: 13px; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 19px 0; }
.privacy-grid div { padding: 15px; border-radius: 17px; background: var(--bg); }
.privacy-grid strong, .privacy-grid span { display: block; }
.privacy-grid strong { font-size: 11px; }
.privacy-grid span { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.sheet-note { padding: 13px 14px; border-radius: 14px; background: var(--sage); color: var(--forest) !important; }
.toast { position: fixed; z-index: 150; left: 50%; bottom: calc(91px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); max-width: calc(100% - 36px); padding: 10px 14px; border-radius: 999px; background: var(--ink); color: var(--surface); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .22s var(--ease); text-align: center; font-size: 11px; font-weight: 760; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (min-width: 680px) {
  .app-shell { padding-left: 26px; padding-right: 26px; }
  .hero-card { min-height: 470px; padding: 30px; }
  .hero-copy { left: 30px; right: 30px; bottom: 47px; }
  .journey-progress { left: 30px; right: 30px; bottom: 25px; }
  .content-card { padding: 28px; }
  .library-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 390px) {
  .app-shell { padding-left: 13px; padding-right: 13px; }
  .hero-card { min-height: 414px; }
  .hero-copy h1 { font-size: 42px; }
  .stillness-card { grid-template-columns: auto 1fr; }
  .stillness-button { grid-column: 1/-1; }
  .path-strip { grid-auto-columns: 58%; }
  .library-grid { gap: 9px; }
  .devo-card { min-height: 190px; padding: 15px; }
  .devo-card h3 { font-size: 23px; }
  .privacy-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Abide 2.0 — brighter, younger 365-day visual system */
:root {
  --bg: #f7f5ff;
  --surface: #ffffff;
  --surface-2: #eeebff;
  --surface-3: #e5e0fb;
  --ink: #191522;
  --muted: #6d6878;
  --soft-muted: #9a94a8;
  --forest: #6648ee;
  --forest-2: #7a5df4;
  --sage: #eeeaff;
  --sage-2: #ded7ff;
  --gold: #f06d54;
  --gold-soft: #ffe5dd;
  --rose: #dd4e75;
  --border: rgba(46, 35, 79, .105);
  --hairline: rgba(46, 35, 79, .065);
  --shadow: 0 24px 64px rgba(63, 44, 122, .13);
  --shadow-soft: 0 10px 28px rgba(63, 44, 122, .07);
  --radius-xl: 30px;
  --radius-lg: 23px;
  --radius-md: 17px;
}
body.dark {
  --bg: #14111d;
  --surface: #1d1928;
  --surface-2: #272134;
  --surface-3: #322a43;
  --ink: #faf8ff;
  --muted: #c0b9cf;
  --soft-muted: #8f879f;
  --forest: #a995ff;
  --forest-2: #b9a9ff;
  --sage: #2b2340;
  --sage-2: #382d53;
  --gold: #ff9b80;
  --gold-soft: #482a2f;
  --rose: #ff8ca9;
  --border: rgba(255,255,255,.10);
  --hairline: rgba(255,255,255,.06);
  --shadow: 0 24px 68px rgba(0,0,0,.28);
  --shadow-soft: 0 10px 30px rgba(0,0,0,.16);
}
body {
  background:
    radial-gradient(circle at 8% -5%, rgba(164, 136, 255, .20), transparent 28%),
    radial-gradient(circle at 96% 14%, rgba(255, 142, 112, .13), transparent 23%),
    var(--bg);
  letter-spacing: -.006em;
}
body.dark {
  background:
    radial-gradient(circle at 8% -5%, rgba(118, 84, 255, .18), transparent 28%),
    radial-gradient(circle at 96% 14%, rgba(255, 115, 92, .09), transparent 23%),
    var(--bg);
}
h1, h2, blockquote { font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.topbar { background: linear-gradient(to bottom, var(--bg) 72%, color-mix(in srgb, var(--bg) 72%, transparent) 88%, transparent); backdrop-filter: blur(15px) saturate(1.25); }
.brand-mark, .brand-mini { background: linear-gradient(145deg, #6d4df6, #9c6cff 54%, #ff8c70); box-shadow: 0 7px 20px rgba(103,72,238,.24); }
.brand-mark::before, .brand-mini::before { border-color: #fff; }
.brand-mark span, .brand-mini span { background: #fff; }
.brand-copy strong { font-family: inherit; font-size: 20px; font-weight: 850; letter-spacing: -.045em; }
.brand-copy small { color: var(--soft-muted); letter-spacing: .12em; }
.icon-button, .streak-pill { background: color-mix(in srgb, var(--surface) 83%, transparent); backdrop-filter: blur(14px); }
.flame-dot { background: linear-gradient(#ff7d58,#ffb45d); }
.eyebrow { color: var(--forest); letter-spacing: .13em; }
.welcome-line p { font-family: inherit; font-size: 16px; font-weight: 620; letter-spacing: -.02em; }
.day-chip { color: #6445e9; border-color: rgba(104,74,235,.16); background: #ece7ff; font-weight: 900; }
body.dark .day-chip { color: #c1b2ff; background: #2d2444; border-color: rgba(193,178,255,.15); }

.hero-card {
  min-height: 454px;
  background: linear-gradient(145deg, #6344ed 0%, #8a5cf6 54%, #ff8870 130%);
  box-shadow: 0 26px 70px rgba(92,64,212,.28);
}
body.dark .hero-card { background: linear-gradient(145deg, #4c36b9, #7048d0 58%, #bc5d5d 145%); }
.hero-card[data-category="peace"] { background: linear-gradient(145deg,#4f6bf2,#7359ed 58%,#98b9ff 125%); }
.hero-card[data-category="trust"] { background: linear-gradient(145deg,#5740d7,#7658ee 55%,#df83d4 135%); }
.hero-card[data-category="grace"] { background: linear-gradient(145deg,#e85f7f,#f68176 56%,#ffbc7a 130%); }
.hero-card[data-category="purpose"] { background: linear-gradient(145deg,#5946db,#8f5af1 54%,#ff9a6e 138%); }
.hero-card[data-category="hope"] { background: linear-gradient(145deg,#327f97,#39a7a5 58%,#8bdbb7 135%); }
.hero-card[data-category="wisdom"] { background: linear-gradient(145deg,#253d7f,#405eb2 58%,#7e90e9 135%); }
.hero-card[data-category="identity"] { background: linear-gradient(145deg,#a643b8,#d657a1 55%,#ff8a84 135%); }
.hero-card[data-category="relationships"] { background: linear-gradient(145deg,#cf4f78,#ef755f 58%,#ffc06d 135%); }
.hero-card[data-category="courage"] { background: linear-gradient(145deg,#d45443,#ef714e 55%,#ffb153 135%); }
.hero-card[data-category="gratitude"] { background: linear-gradient(145deg,#8a5a1f,#cd7b35 55%,#ffd372 135%); }
.hero-art::after { background: linear-gradient(to top, rgba(27,14,56,.58), transparent 62%); }
.orbit { border-width: 1.5px; border-color: rgba(255,255,255,.19); }
.orbit-a { width: 460px; height: 460px; }
.hero-sun { width: 82px; height: 82px; background: rgba(255,255,255,.88); box-shadow: 0 0 90px rgba(255,255,255,.29); }
.pill-label { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.22); font-weight: 900; }
.round-action { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); backdrop-filter: blur(10px); }
.round-action.active { background: #fff; color: #6545e9; }
.category-label { color: #fff; opacity: .78; font-weight: 900; }
.hero-copy h1 { font-family: inherit; font-size: clamp(42px, 10.6vw, 68px); line-height: .94; font-weight: 880; letter-spacing: -.062em; }
.hero-copy p { color: rgba(255,255,255,.78); font-weight: 540; }
.journey-progress { background: rgba(255,255,255,.18); height: 4px; }
.journey-progress span { background: #fff; }

.content-card { background: color-mix(in srgb, var(--surface) 96%, transparent); border-color: var(--border); box-shadow: var(--shadow-soft); }
.scripture-card { position: relative; overflow: hidden; }
.scripture-card::after { content: "✦"; position: absolute; right: 20px; bottom: 8px; color: color-mix(in srgb, var(--forest) 12%, transparent); font-size: 74px; line-height: 1; pointer-events: none; }
.card-kicker, .verse-reference { color: var(--forest); }
.card-kicker .translation-badge { color: var(--forest); background: var(--sage); border-color: transparent; }
.small-icon { background: var(--sage); color: var(--forest); }
.small-icon.warm { background: var(--gold-soft); color: var(--gold); }
.scripture-card blockquote { position: relative; z-index: 1; font-family: ui-serif, Georgia, serif; font-weight: 530; letter-spacing: -.033em; }
.section-title-row h2, .prompt-card h2, .stillness-copy h2 { font-family: inherit; font-weight: 820; letter-spacing: -.04em; }
.prose p { font-size: 15px; line-height: 1.76; }
.stillness-card { background: linear-gradient(135deg,#171322,#2d2058 58%,#54366f); box-shadow: 0 18px 45px rgba(57,38,103,.23); }
.stillness-copy .eyebrow { color: #c5b7ff; }
.stillness-ring { background: conic-gradient(#a996ff var(--p), rgba(255,255,255,.14) 0); }
.stillness-ring::after { background: #241a45; }
.stillness-button { background: rgba(255,255,255,.12); }
.prompt-card { background: linear-gradient(135deg, color-mix(in srgb, #efeaff 72%, var(--surface)), var(--surface)); }
body.dark .prompt-card { background: linear-gradient(135deg,#29213d,var(--surface)); }
.prayer-card { background: linear-gradient(135deg, color-mix(in srgb, #ffe7df 62%, var(--surface)), var(--surface)); }
body.dark .prayer-card { background: linear-gradient(135deg,#34202c,var(--surface)); }
textarea, input { background: color-mix(in srgb, var(--bg) 70%, var(--surface)); }
textarea:focus, input:focus { border-color: rgba(103,72,238,.45); box-shadow: 0 0 0 4px rgba(103,72,238,.10); }
.primary-button { background: linear-gradient(135deg,#6546ed,#8158f2); color: white; box-shadow: 0 14px 30px rgba(101,70,237,.22); }
.primary-button.completed { background: #dcf8ea; color: #23734c; }
body.dark .primary-button.completed { background: #1d4937; color: #a6efc8; }
.secondary-button { background: #ede8ff; color: #5e43d1; }
body.dark .secondary-button { background: #34294f; color: #c3b5ff; }

.page-heading h1 { font-family: inherit; font-weight: 900; letter-spacing: -.06em; line-height: .94; }
.path-strip { grid-auto-columns: minmax(205px,45%); }
.path-card { min-height: 145px; border: 0; background: linear-gradient(145deg,#efeaff,#f8f6ff); box-shadow: var(--shadow-soft); }
.path-card:nth-child(2n) { background: linear-gradient(145deg,#1e1830,#403169); color:#fff; }
.path-card:nth-child(3n) { background: linear-gradient(145deg,#ffe9df,#fff6ef); color:#362024; }
.path-card:nth-child(5n) { background: linear-gradient(145deg,#dff7ef,#f0fffb); color:#18382e; }
body.dark .path-card { background: linear-gradient(145deg,#282037,#211b2e); color:var(--ink); }
body.dark .path-card:nth-child(2n) { background: linear-gradient(145deg,#443175,#30244f); color:#fff; }
body.dark .path-card:nth-child(3n) { background: linear-gradient(145deg,#482b34,#332029); color:#fff; }
body.dark .path-card:nth-child(5n) { background: linear-gradient(145deg,#203a34,#1b2b29); color:#fff; }
.path-card span { color: currentColor; opacity: .6; }
.path-card strong { font-family: inherit; font-size: 27px; font-weight: 870; letter-spacing: -.045em; }
.search-box { border: 0; box-shadow: var(--shadow-soft); }
.filter-chip { font-weight: 780; }
.filter-chip.active { background: #6546ed; color: #fff; }
.library-grid { gap: 10px; }
.devo-card { min-height: 215px; border: 0; box-shadow: var(--shadow-soft); content-visibility: auto; contain-intrinsic-size: 215px; }
.devo-card:nth-child(6n+1) { background: #eeeaff; }
.devo-card:nth-child(6n+2) { background: #fff0eb; }
.devo-card:nth-child(6n+3) { background: #eaf9f4; }
.devo-card:nth-child(6n+4) { background: #fff8dc; }
.devo-card:nth-child(6n+5) { background: #f5edff; }
body.dark .devo-card:nth-child(n) { background: var(--surface); }
.devo-card .tag { color: #6546ed; letter-spacing: .08em; }
body.dark .devo-card .tag { color: #b7a9ff; }
.devo-card h3 { font-family: inherit; font-size: 25px; font-weight: 850; letter-spacing: -.05em; line-height: 1.02; }
.devo-card .card-footer { color: var(--muted); }

.stats-grid { gap: 10px; }
.stat-card { border: 0; box-shadow: var(--shadow-soft); }
.feature-stat { background: linear-gradient(145deg,#5e43df,#8058ef 54%,#f57973 140%); }
.feature-stat .stat-label { color:#ddd6ff; }
.stat-card strong { font-family: inherit; font-weight: 900; letter-spacing: -.06em; }

.note-compose { position: relative; overflow: hidden; background: linear-gradient(145deg,#fff7bf,#fff1d7); border: 0; box-shadow: 0 16px 38px rgba(135,99,29,.10); }
body.dark .note-compose { background: linear-gradient(145deg,#3a3320,#33291f); }
.note-compose::after { content: ""; position: absolute; right: -55px; top: -70px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.28); }
.note-compose-head { position: relative; z-index: 1; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.note-sticker { display:inline-flex; padding:7px 9px; border-radius:9px; background:#1d1925; color:#fff; font-size:9px; font-weight:900; letter-spacing:.12em; transform:rotate(-1deg); }
body.dark .note-sticker { background:#f5edff; color:#20182e; }
.note-title-input, .prayer-title-input { width:100%; margin-top:16px; border-radius:15px; padding:14px 15px; font-weight:800; }
.note-compose textarea { margin-top:9px; }
.notes-list { display:grid; gap:10px; }
.note-card { position:relative; overflow:hidden; padding:19px; border-radius:22px; background:var(--surface); box-shadow:var(--shadow-soft); content-visibility:auto; }
.note-card:nth-child(3n+1) { border-top:4px solid #ffd75b; }
.note-card:nth-child(3n+2) { border-top:4px solid #9e88ff; }
.note-card:nth-child(3n+3) { border-top:4px solid #ff8f78; }
.note-card-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.note-card time { color:var(--soft-muted); font-size:9px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.note-card h3 { margin:10px 0 7px; font-size:20px; font-weight:850; letter-spacing:-.035em; }
.note-card p { margin:0; color:var(--muted); white-space:pre-wrap; line-height:1.62; font-size:13px; }
.favorite-stat small { color:var(--soft-muted); font-weight:700; }
.reflection-list-heading { margin-top:34px; }
.entry-card { border:0; box-shadow:var(--shadow-soft); }
.entry-card h3 { font-family:inherit; font-weight:820; letter-spacing:-.035em; }

.prayer-heading h1 { background: linear-gradient(100deg,#5d44df,#e65c80 70%); -webkit-background-clip:text; background-clip:text; color:transparent; }
body.dark .prayer-heading h1 { background: linear-gradient(100deg,#b9aaff,#ff9ab2 70%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.prayer-bento { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin:2px 0 14px; }
.prayer-bento > div, .prayer-bento > p { min-height:105px; margin:0; padding:17px; border-radius:22px; box-shadow:var(--shadow-soft); }
.prayer-bento > div { background:#eeeaff; color:#4d36bb; display:flex; flex-direction:column; justify-content:flex-end; }
.prayer-bento > div:nth-child(2) { background:#e4f8ef; color:#24684d; }
body.dark .prayer-bento > div { background:#2c2342; color:#b9aaff; }
body.dark .prayer-bento > div:nth-child(2) { background:#20362f; color:#91ddb9; }
.prayer-bento strong { font-size:38px; line-height:.9; font-weight:900; letter-spacing:-.06em; }
.prayer-bento span { margin-top:8px; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }
.prayer-bento > p { grid-column:1/-1; min-height:122px; display:flex; flex-direction:column; justify-content:flex-end; background:linear-gradient(135deg,#ff7d79,#d65bd4 55%,#7659f1); color:#fff; font-size:25px; font-weight:880; letter-spacing:-.045em; }
.prayer-bento p small { margin-top:8px; font-size:10px; font-weight:750; opacity:.7; letter-spacing:.06em; }
.prayer-compose { border:0; background:linear-gradient(145deg,#fff0eb,#fff8f6); box-shadow:var(--shadow-soft); }
body.dark .prayer-compose { background:linear-gradient(145deg,#342029,#281c28); }
.prayer-compose textarea { margin-top:9px; }
.prayer-item { border:0; box-shadow:var(--shadow-soft); }
.prayer-item h3 { margin:8px 0 6px; font-size:16px; font-weight:850; letter-spacing:-.025em; }
.prayer-item.answered h3, .prayer-item.answered p { text-decoration:line-through; }

.manifesto-card { background:linear-gradient(145deg,#191523,#34215d 55%,#71418c); }
.manifesto-card blockquote { font-family:inherit; font-weight:850; letter-spacing:-.05em; }
.setting-icon { background:var(--sage); color:var(--forest); }
.appearance-control button.active { background:#6546ed; color:#fff; }
.switch input:checked + span { background:#6546ed; }

.bottom-nav { border:1px solid rgba(80,58,140,.12); background:color-mix(in srgb,var(--surface) 82%,transparent); backdrop-filter:blur(24px) saturate(1.4); box-shadow:0 18px 50px rgba(49,34,94,.16); }
.nav-item { transition:transform .18s var(--ease),background .18s var(--ease),color .18s var(--ease); }
.nav-item:active { transform:scale(.96); }
.nav-item.active { background:#6546ed; color:#fff; box-shadow:0 8px 20px rgba(101,70,237,.22); }

.onboarding { background:rgba(24,17,42,.67); }
.onboarding-art { background:linear-gradient(145deg,#6546ed,#9b65f1 55%,#ff8874); }
.onboarding-sun { background:#fff5c8; }
.onboarding-card h1 { font-family:inherit; font-weight:900; letter-spacing:-.06em; }
.sheet-heading h2 { font-family:inherit; font-weight:880; letter-spacing:-.045em; }

@media (max-width: 390px) {
  .hero-copy h1 { font-size: 40px; }
  .path-strip { grid-auto-columns: 64%; }
  .devo-card h3 { font-size: 22px; }
  .prayer-bento > p { font-size:22px; }
}

/* Daily Web Push reminder */
.reminder-detail-row{display:flex;align-items:center;gap:12px;padding:12px 16px 15px 58px;border-top:1px solid var(--line,rgba(46,35,79,.08))}
.reminder-status{flex:1;color:var(--muted,#756f82);font-size:12px;line-height:1.45}
.reminder-test-button{appearance:none;border:0;border-radius:999px;padding:9px 12px;background:rgba(101,70,237,.11);color:#6546ed;font:800 11px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap;cursor:pointer}
.reminder-test-button:disabled{opacity:.5;cursor:default}
.reminder-test-button.hidden{display:none}
body.dark .reminder-test-button{background:rgba(158,136,255,.16);color:#b7a6ff}
@media(max-width:430px){.reminder-detail-row{padding-left:16px;align-items:flex-start}.reminder-test-button{margin-top:1px}}

.creator-row { background: color-mix(in srgb, var(--sage) 34%, transparent); }
.creator-avatar { width: 48px; height: 48px; border-radius: 15px; object-fit: cover; object-position: center; box-shadow: 0 7px 18px rgba(49,34,94,.18); }

.bible-heading { padding-bottom: 18px; }
.bible-reader { padding: 22px; }
.bible-controls { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 10px; }
.bible-controls label { display: grid; gap: 6px; color: var(--soft-muted); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.bible-controls select { min-width: 0; width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: 12px 36px 12px 12px; background: var(--bg); color: var(--ink); font: inherit; font-size: 13px; font-weight: 730; }
.bible-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 28px 2px 17px; border-bottom: 1px solid var(--hairline); }
.bible-title-row h2 { margin: 6px 0 0; font-family: ui-serif, Georgia, serif; font-size: 36px; font-weight: 520; letter-spacing: -.035em; }
.bible-verses { padding: 19px 2px 6px; font-family: ui-serif, Georgia, serif; }
.bible-verses p { display: inline; margin: 0; color: var(--ink); font-size: 19px; line-height: 1.85; }
.bible-verses p::after { content: " "; }
.bible-verses sup { margin-right: 5px; color: var(--gold); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 9px; font-weight: 850; line-height: 0; }
.bible-loading { padding: 35px 0; color: var(--soft-muted); text-align: center; font-family: ui-serif, Georgia, serif; font-style: italic; }
.bible-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.outline-button { min-height: 46px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); color: var(--ink); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.outline-button:disabled { opacity: .35; cursor: default; }
.bible-credit { margin: 13px 0 0; color: var(--soft-muted); text-align: center; font-size: 10px; }
.hidden { display: none !important; }

@media (max-width: 390px) {
  .bottom-nav { width: calc(100% - 12px); padding: 5px; }
  .nav-item { min-width: 0; padding: 8px 2px; }
  .nav-item small { font-size: 8px; }
  .bible-reader { padding: 18px; }
  .bible-controls { grid-template-columns: minmax(0, 1fr) 90px; }
  .bible-verses p { font-size: 18px; }
}


/* Abide 1.3 Bible + Scripture needs */
.bible-controls { grid-template-columns: 126px minmax(0, 1fr) 104px; }
.bible-status { display:grid; gap:8px; }
.bible-status strong { color:var(--ink); }
.bible-status small { display:block; color:var(--muted); line-height:1.5; }
.scripture-needs { margin:0 0 16px; padding:22px; background:linear-gradient(145deg, color-mix(in srgb, var(--sage) 40%, var(--card)), var(--card)); }
.scripture-needs-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.scripture-needs-heading h2 { margin:6px 0 0; font-family:ui-serif,Georgia,serif; font-size:30px; font-weight:540; letter-spacing:-.035em; }
.need-heart { display:grid; place-items:center; width:42px; height:42px; border-radius:14px; background:color-mix(in srgb, var(--gold) 14%, transparent); color:var(--gold); font-size:25px; }
.scripture-needs-intro { margin:12px 0 18px; color:var(--muted); font-size:13px; line-height:1.55; }
.need-chip-grid { display:flex; gap:8px; overflow-x:auto; padding:0 0 8px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.need-chip-grid::-webkit-scrollbar { display:none; }
.need-chip { flex:0 0 auto; border:1px solid var(--border); border-radius:999px; background:var(--bg); color:var(--muted); padding:10px 13px; font:inherit; font-size:11px; font-weight:800; cursor:pointer; white-space:nowrap; }
.need-chip.active { border-color:color-mix(in srgb, var(--gold) 60%, var(--border)); background:color-mix(in srgb, var(--gold) 13%, var(--bg)); color:var(--ink); box-shadow:0 5px 16px rgba(90,67,22,.08); }
.need-results { margin-top:12px; }
.need-results-intro { display:flex; align-items:baseline; gap:9px; margin:0 0 10px; }
.need-results-intro strong { color:var(--ink); font-size:13px; }
.need-results-intro span { color:var(--soft-muted); font-size:11px; line-height:1.45; }
.need-loading { padding:20px 4px; color:var(--soft-muted); font-family:ui-serif,Georgia,serif; font-style:italic; }
.need-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.need-scripture-card { min-width:0; border:1px solid var(--hairline); border-radius:18px; background:var(--bg); padding:15px; box-shadow:0 8px 24px rgba(43,33,75,.04); }
.need-scripture-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.need-reference { color:var(--gold); font-size:11px; font-weight:850; letter-spacing:.03em; }
.need-note { margin:9px 0 10px; color:var(--muted); font-size:11px; line-height:1.45; }
.need-scripture-card blockquote { margin:0; color:var(--ink); font-family:ui-serif,Georgia,serif; font-size:14px; line-height:1.55; }
.need-verse { display:inline; }
.need-verse sup { margin-right:3px; color:var(--gold); font-family:ui-sans-serif,system-ui,sans-serif; font-size:8px; font-weight:850; }
.need-open-button { width:100%; margin-top:13px; border:0; border-radius:12px; background:color-mix(in srgb, var(--forest) 12%, var(--card)); color:var(--forest); padding:10px 11px; font:inherit; font-size:10px; font-weight:850; cursor:pointer; }
.creator-family-card { padding:16px; border-top:1px solid var(--hairline); background:color-mix(in srgb, var(--sage) 24%, transparent); }
.creator-family-photo { width:100%; height:auto; max-height:480px; display:block; border-radius:20px; object-fit:contain; object-position:center; box-shadow:0 14px 32px rgba(49,34,94,.16); background:var(--bg); }
.creator-family-copy { display:grid; gap:6px; padding:15px 2px 2px; }
.creator-family-copy strong { color:var(--ink); font-size:15px; }
.creator-family-copy small { color:var(--muted); font-size:12px; line-height:1.5; }
.facebook-follow-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin-top:7px; padding:0 16px; border-radius:14px; background:#1877f2; color:#fff; text-decoration:none; font-size:12px; font-weight:850; letter-spacing:.01em; box-shadow:0 8px 18px rgba(24,119,242,.22); }
.facebook-follow-button:focus-visible { outline:3px solid color-mix(in srgb, #1877f2 42%, transparent); outline-offset:3px; }
body.dark .creator-family-card { background:rgba(115,154,128,.08); }
body.dark .creator-family-photo { background:rgba(255,255,255,.04); }
@media (max-width:760px) { .need-card-grid { grid-template-columns:1fr; } .need-scripture-card blockquote { font-size:15px; } .bible-controls { grid-template-columns:1fr 1fr; } .bible-version-control { grid-column:1/-1; } }
@media (max-width:390px) { .scripture-needs { padding:18px; } .scripture-needs-heading h2 { font-size:27px; } .need-results-intro { display:grid; gap:3px; } }
