:root {
  --bg: #FBF6EC;
  --card: #FFFFFF;
  --ink: #2B2318;
  --ink-soft: #6B5D49;
  --gold: #B98A2E;
  --gold-deep: #8F6716;
  --gold-soft: #F3E6C8;
  --line: #E9DFC9;
  --danger-bg: #FDECEC;
  --danger-ink: #8C2B2B;
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* Deliberately no text-size-adjust lock. An older reader who set their phone to large
   text must actually get large text: this app is voice first and the people who need it
   most are the people who cannot read small type. */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  min-height: 100dvh;
  padding-bottom: 84px;
}

/* header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 6px;
  max-width: 680px; margin: 0 auto;
}
.wordmark { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: .3px; }
.wordmark b { color: var(--gold); font-style: italic; }
.mark { width: 26px; height: 26px; color: var(--gold); }
.ver-toggle {
  border: 1px solid var(--line); background: var(--card); color: var(--gold-deep);
  font: 600 13px var(--font-body); padding: 7px 12px; border-radius: 999px; cursor: pointer;
}

/* views */
.view { display: none; max-width: 680px; margin: 0 auto; padding: 8px 18px 24px; }
.view.active { display: block; }

.hero { text-align: center; padding: 22px 6px 14px; }
.hero.small { padding: 10px 6px 8px; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.15; }
.hero.small h1 { font-size: 28px; }
.hero .sub { color: var(--ink-soft); margin-top: 8px; font-size: 15.5px; }

/* mood chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 6px 0 16px; }
.chips button {
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: 600 14px var(--font-body); padding: 8px 14px; border-radius: 999px; cursor: pointer;
  transition: background .15s;
}
.chips button:hover { background: var(--gold-soft); }

/* talk box */
.talkbox { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: 0 6px 24px rgba(120, 90, 30, .07); }
.talkbox textarea {
  width: 100%; border: 0; outline: none; resize: vertical;
  font: 400 17px/1.5 var(--font-body); color: var(--ink); background: transparent;
}
.talkbox-actions { display: flex; gap: 10px; margin-top: 10px; }
.mic {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--gold); color: var(--gold-deep); background: var(--card);
  font: 700 15px var(--font-body); padding: 12px 16px; border-radius: 999px; cursor: pointer;
}
.mic svg { width: 18px; height: 18px; }
.mic.listening { background: var(--gold); color: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(185,138,46,.45);} 50% { box-shadow: 0 0 0 10px rgba(185,138,46,0);} }
.send {
  flex: 1; border: 0; background: linear-gradient(160deg, #C79A3B, var(--gold-deep));
  color: #fff; font: 700 16px var(--font-body); padding: 12px 16px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(143,103,22,.3);
}
.send:disabled { opacity: .6; cursor: wait; }

/* send a prayer entry */
.send-someone {
  display: block; margin-top: 14px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; color: var(--ink);
}
.send-someone:hover { background: var(--gold-soft); }
.send-someone strong { display: block; color: var(--gold-deep); margin-bottom: 2px; }
.send-someone span { color: var(--ink-soft); font-size: 14.5px; }

/* crisis + limit */
.crisis { margin-top: 14px; background: var(--danger-bg); color: var(--danger-ink); border-radius: var(--radius); padding: 14px 16px; font-size: 15.5px; }
.crisis a { color: var(--danger-ink); font-weight: 700; }
.limit { margin-top: 14px; background: var(--gold-soft); border-radius: var(--radius); padding: 14px 16px; color: var(--gold-deep); font-weight: 600; }

/* answer */
.answer { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.answer-head {
  display: flex; align-items: center; gap: 12px;
  font: 800 13px var(--font-body); letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: -2px;
}
.answer-head::before, .answer-head::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.answer > .card { animation: cardIn .55s ease both; }
.answer > .card:nth-of-type(2) { animation-delay: .12s; }
.answer > .card:nth-of-type(3) { animation-delay: .24s; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px); }
  60% { box-shadow: 0 0 0 3px rgba(199,154,59,.35), 0 6px 24px rgba(120,90,30,.06); }
  to { opacity: 1; transform: none; }
}
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 6px 24px rgba(120,90,30,.06); }
.card h3 { font-family: var(--font-display); font-size: 21px; color: var(--gold-deep); margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.card .speak {
  border: 1px solid var(--line); background: var(--bg); border-radius: 999px;
  font: 600 12.5px var(--font-body); color: var(--ink-soft); padding: 5px 11px; cursor: pointer;
}
.prayer-text { font-family: var(--font-display); font-size: 20px; line-height: 1.5; font-style: italic; }
.verse-block { border-left: 3px solid var(--gold); padding: 4px 0 4px 14px; margin-top: 12px; }
.verse-ref { font: 700 14px var(--font-body); color: var(--gold-deep); letter-spacing: .3px; }
.verse-text { font-family: var(--font-display); font-size: 19px; margin: 4px 0 6px; }
.verse-why { color: var(--ink-soft); font-size: 14.5px; }
.verse-actions { margin-top: 8px; display: flex; gap: 8px; }
.verse-actions button, .row-btn {
  border: 1px solid var(--line); background: var(--bg); border-radius: 999px;
  font: 600 13px var(--font-body); color: var(--gold-deep); padding: 6px 12px; cursor: pointer;
}
.explain-box { margin-top: 10px; background: var(--gold-soft); border-radius: 12px; padding: 12px 14px; font-size: 15.5px; }
.explain-box p + p { margin-top: 8px; }
.explain-box .lbl { font-weight: 700; color: var(--gold-deep); }
.answer-foot { display: flex; gap: 10px; }
.answer-foot button { flex: 1; }

.loading { text-align: center; color: var(--ink-soft); padding: 26px 0; font-style: italic; }
.hidden { display: none !important; }

/* read tab */
.book-group h2 { font-family: var(--font-display); font-size: 20px; color: var(--gold-deep); margin: 18px 0 8px; }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.book-grid button {
  border: 1px solid var(--line); background: var(--card); border-radius: 12px;
  padding: 10px 8px; font: 600 14.5px var(--font-body); color: var(--ink); cursor: pointer; text-align: left;
}
.book-grid button:hover { background: var(--gold-soft); }
.ch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; margin-top: 12px; }
.ch-grid button { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 10px 0; font: 600 15px var(--font-body); cursor: pointer; }
.ch-grid button:hover { background: var(--gold-soft); }
.crumb { display: flex; align-items: center; gap: 8px; margin: 6px 0 4px; flex-wrap: wrap; }
.reader { margin-top: 10px; }
.reader p.v { font-family: var(--font-display); font-size: 20px; line-height: 1.6; margin: 0 0 10px; cursor: pointer; border-radius: 8px; padding: 2px 6px; }
.reader p.v:hover { background: var(--gold-soft); }
.reader sup { color: var(--gold); font: 700 12px var(--font-body); margin-right: 6px; }
.reader-nav { display: flex; justify-content: space-between; margin: 16px 0; }

/* journal */
.j-entry { margin-bottom: 12px; }
.j-date { font: 700 13px var(--font-body); color: var(--gold-deep); letter-spacing: .4px; text-transform: uppercase; }
.j-msg { font-style: italic; color: var(--ink-soft); margin: 4px 0 8px; }
.j-del { float: right; }
.empty { text-align: center; color: var(--ink-soft); padding: 30px 10px; }

/* bottom tabs */
.tabs {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: space-around;
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  padding: 6px 0 calc(8px + env(safe-area-inset-bottom)); backdrop-filter: blur(8px);
}
.tabs button {
  border: 0; background: none; color: var(--ink-soft); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font: 600 12px var(--font-body); padding: 4px 18px;
}
.tabs button svg { width: 24px; height: 24px; }
.tabs button.active { color: var(--gold-deep); }

/* sheet */
.sheet { position: fixed; inset: 0; background: rgba(43,35,24,.45); display: flex; align-items: flex-end; z-index: 30; }
.sheet-card {
  background: var(--card); width: 100%; max-width: 680px; margin: 0 auto;
  border-radius: 22px 22px 0 0; padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
  max-height: 78dvh; overflow-y: auto; position: relative;
}
.sheet-close { position: absolute; top: 12px; right: 14px; border: 0; background: var(--bg); border-radius: 50%; width: 32px; height: 32px; cursor: pointer; color: var(--ink-soft); font-size: 14px; }

/* voice overlay */
.voice-overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(251,246,236,.98);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 24px; text-align: center;
}
.orb { position: relative; width: 150px; height: 150px; margin-bottom: 8px; }
.orb .core {
  position: absolute; inset: 30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #E9C36A, #B98A2E);
  box-shadow: 0 0 46px rgba(233,195,106,.75);
  animation: orbPulse 1.5s ease-in-out infinite;
}
.orb .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(185,138,46,.55);
  animation: ripple 2.1s ease-out infinite;
}
.orb .ring:nth-child(2) { animation-delay: .7s; }
.orb .ring:nth-child(3) { animation-delay: 1.4s; }
@keyframes orbPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes ripple { from { transform: scale(.68); opacity: .9; } to { transform: scale(1.65); opacity: 0; } }
.voice-overlay .send { flex: 0 0 auto; }
.voice-stop {
  flex: 0 0 auto; width: 88px; height: 88px; border-radius: 50%;
  border: 3px solid var(--gold); background: var(--card); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(120,90,30,.25);
}
.voice-stop:active { transform: scale(.94); }
.stop-square { width: 32px; height: 32px; border-radius: 7px; background: #B3372F; }
.voice-stop-label { font: 700 15px var(--font-body); color: var(--ink-soft); margin-top: -6px; }
.voice-title { font-family: var(--font-display); font-size: 30px; font-weight: 600; }
.voice-hint { color: var(--ink-soft); font-size: 15.5px; max-width: 300px; }

/* processing state */
.thinking { text-align: center; padding: 34px 0 26px; }
.thinking .mini-orb {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #E9C36A, #B98A2E);
  box-shadow: 0 0 30px rgba(233,195,106,.6);
  animation: orbPulse 1.4s ease-in-out infinite;
}
.thinking .msg { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--gold-deep); transition: opacity .4s; }

/* onboarding */
.onboard { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 24px; }
.onboard-card { max-width: 420px; width: 100%; text-align: center; }
.onboard-mark { width: 54px; height: 54px; color: var(--gold); margin-bottom: 10px; }
.onboard-card h2 { font-family: var(--font-display); font-size: 32px; margin-bottom: 10px; }
.onboard-card p { color: var(--ink-soft); margin-bottom: 22px; }
.onboard-card label { display: block; font: 700 13px var(--font-body); color: var(--gold-deep); letter-spacing: .4px; text-transform: uppercase; margin-bottom: 8px; }
.onboard-card input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; font: 400 17px var(--font-body); background: var(--card); color: var(--ink); outline: none; text-align: center; margin-bottom: 14px; }
.onboard-card .send { width: 100%; }
.ob-skip { border: 0; background: none; color: var(--ink-soft); font: 600 14px var(--font-body); margin-top: 12px; cursor: pointer; text-decoration: underline; }

@media (min-width: 700px) {
  .hero h1 { font-size: 40px; }
}

/* verse of the day card (opened from the morning notification) */
.votd-card { border: 1.5px solid var(--gold); background: var(--gold-soft); border-radius: var(--radius); padding: 16px 18px; margin: 4px 0 16px; animation: cardIn .5s ease both; }
.votd-head { font: 700 13px var(--font-body); color: var(--gold-deep); letter-spacing: .6px; text-transform: uppercase; margin-bottom: 8px; }
.votd-card .verse-text { margin-top: 4px; }
.votd-row { display: flex; gap: 10px; margin-top: 14px; }
.votd-row .send { flex: 1; }
.votd-head { border: 0; background: none; cursor: pointer; width: 100%; text-align: left; padding: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.votd-ref-inline { color: var(--ink); font-weight: 700; text-transform: none; letter-spacing: 0; }
.votd-toggle { margin-left: auto; color: var(--gold-deep); font-weight: 600; text-transform: none; letter-spacing: 0; }
.votd-body { margin-top: 10px; }

/* games */
.streak-bar { display: flex; align-items: center; gap: 12px; background: var(--gold-soft); border: 1px solid var(--gold); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; }
.streak-num { font: 700 24px var(--font-body); color: var(--gold-deep); flex: 0 0 auto; }
.streak-txt { font: 400 15px var(--font-body); color: var(--ink-soft); }
.game-card { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 10px; cursor: pointer; font: inherit; color: inherit; }
.game-card:hover { background: var(--gold-soft); }
.game-icon { font-size: 26px; flex: 0 0 auto; }
.game-meta { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.game-meta strong { font: 700 17px var(--font-body); color: var(--ink); }
.game-meta span { font: 400 14px var(--font-body); color: var(--ink-soft); }
.game-go { color: var(--gold-deep); font-size: 20px; flex: 0 0 auto; }
.g-progress { display: flex; justify-content: space-between; align-items: center; font: 700 13px var(--font-body); color: var(--gold-deep); letter-spacing: .4px; text-transform: uppercase; margin-bottom: 10px; }
.g-score { color: var(--ink-soft); }
.g-question { font: 500 20px/1.45 var(--font-display); color: var(--ink); }
.g-choices { display: grid; gap: 10px; margin-top: 12px; }
.g-choice { text-align: left; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; font: 600 16px var(--font-body); color: var(--ink); cursor: pointer; }
.g-choice:hover:not(:disabled) { border-color: var(--gold); background: var(--gold-soft); }
.g-choice:disabled { cursor: default; opacity: .75; }
.g-correct { border-color: #2E7D4F !important; background: #EAF5EE !important; color: #1B5E36 !important; opacity: 1 !important; }
.g-wrong { border-color: #B3423A !important; background: #FAECEA !important; color: #8C2F28 !important; opacity: 1 !important; }
.g-note { border-radius: var(--radius); padding: 16px; margin-top: 14px; animation: cardIn .4s ease both; }
.g-note.ok { background: #EAF5EE; border: 1px solid #9CCBAF; }
.g-note.no { background: #FAECEA; border: 1px solid #E0AFA9; }
.g-note strong { display: block; font: 700 14px var(--font-body); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 6px; }
.g-note p { font: 400 15px/1.5 var(--font-body); color: var(--ink); margin-bottom: 12px; }
.g-note .send { width: 100%; }
.scram-line { min-height: 62px; border: 1.5px dashed var(--line); border-radius: 12px; padding: 8px; margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.scram-line.scram-ok { border-color: #2E7D4F; background: #EAF5EE; }
.scram-line.scram-no { border-color: #B3423A; background: #FAECEA; }
.scram-bank { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.scram-word { background: var(--card); border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; font: 600 15px var(--font-body); color: var(--ink); cursor: pointer; }
.scram-word:hover:not(:disabled) { border-color: var(--gold); background: var(--gold-soft); }
.scram-word:disabled { opacity: .28; cursor: default; }
.scram-word.placed { border-color: var(--gold); background: var(--gold-soft); }
.score-card { text-align: center; }
.score-big { font: 700 46px var(--font-display); color: var(--gold-deep); margin-bottom: 6px; }
.score-streak { font: 700 15px var(--font-body); color: var(--gold-deep); margin: 10px 0 14px; }
.score-card .send { width: 100%; margin-bottom: 8px; }
.score-card .row-btn { width: 100%; }


/* the hint that replaced the mood chips */
.start-hint { color: var(--ink-soft); font-size: 1rem; margin: 0 0 10px; }

/* the install ask, shown only AFTER an answer has been given */
.install-invite { border: 1px solid var(--gold); background: var(--gold-soft); }
.install-invite h3 { margin-bottom: 6px; }
.install-invite .send { width: 100%; margin-top: 10px; }
.install-invite .row-btn { width: 100%; margin-top: 8px; }

/* ---------- "I cannot find words" ---------- */
.guided-entry {
  display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left;
  background: var(--card); border: 1.5px solid var(--gold); border-radius: var(--radius);
  padding: 15px 18px; margin: 12px 0 4px; cursor: pointer; font: inherit; color: inherit;
}
.guided-entry:hover { background: var(--gold-soft); }
.ge-title { font: 700 17px var(--font-body); color: var(--gold-deep); }
.ge-sub { font: 400 14.5px var(--font-body); color: var(--ink-soft); }

.guided-pick {
  position: fixed; inset: 0; z-index: 90; background: rgba(43,35,24,.55);
  display: flex; align-items: flex-end; justify-content: center;
}
.guided-pick.hidden, .guided-play.hidden, .gx-end.hidden { display: none; }
.gp-card {
  background: var(--bg); border-radius: 22px 22px 0 0; padding: 26px 22px 30px;
  width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto;
  animation: gpUp .28s ease both;
}
@keyframes gpUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.gp-card h2 { font: 600 27px var(--font-display); margin-bottom: 6px; }
.gp-lede { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 18px; }
.gp-item {
  display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 15px 17px; margin-bottom: 10px; cursor: pointer; font: inherit; color: inherit;
}
.gp-item:hover { border-color: var(--gold); background: var(--gold-soft); }
.gp-item strong { font: 700 16.5px var(--font-body); color: var(--ink); }
.gp-item span { font: 400 14px var(--font-body); color: var(--ink-soft); }

/* the player is deliberately dark and almost empty */
body.guided-on { overflow: hidden; }
.guided-play {
  position: fixed; inset: 0; z-index: 95; background: #14100A; color: #F3E6C8;
  display: flex; flex-direction: column; align-items: center;
  padding: calc(22px + env(safe-area-inset-top)) 24px calc(30px + env(safe-area-inset-bottom));
}
.gx-stop {
  align-self: flex-end; background: none; border: 1px solid rgba(233,195,106,.4);
  color: #E9C36A; font: 600 14px var(--font-body); padding: 9px 18px; border-radius: 999px;
  cursor: pointer; min-height: 44px;
}
.gx-meta {
  font: 700 11.5px var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: rgba(233,195,106,.6); margin-top: 8px; text-align: center;
}
.gx-stage {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; width: 100%; max-width: 560px;
}
.gx-ring {
  position: absolute; width: 240px; height: 240px; border-radius: 50%;
  border: 1.5px solid rgba(233,195,106,.30); opacity: 0; pointer-events: none;
}
.gx-ring.breathe { animation: gxBreath var(--breath, 4200ms) ease-in-out forwards; }
@keyframes gxBreath {
  0%   { transform: scale(.62); opacity: 0; }
  28%  { opacity: .85; }
  70%  { opacity: .6; }
  100% { transform: scale(1.5); opacity: 0; }
}
.gx-line {
  position: relative; font: 500 clamp(26px, 6.4vw, 38px)/1.34 var(--font-display);
  text-align: center; color: #FBF6EC; text-wrap: balance; margin: 0;
}
.gx-line.in { animation: gxIn .7s ease both; }
@keyframes gxIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.gx-cue {
  position: relative; margin-top: 20px; font: 600 12.5px var(--font-body);
  letter-spacing: .18em; text-transform: uppercase; color: rgba(233,195,106,.72);
}
.gx-dots { display: flex; gap: 7px; margin-bottom: 6px; }
.gx-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(233,195,106,.22); transition: background .3s; }
.gx-dot.on { background: #E9C36A; }
.gx-end { text-align: center; width: 100%; max-width: 380px; }
.gx-endq { font: 500 21px/1.4 var(--font-display); color: #FBF6EC; margin-bottom: 16px; }
.gx-end .send { width: 100%; margin-bottom: 9px; }
.gx-end .row-btn { width: 100%; color: #E9C36A; border-color: rgba(233,195,106,.4); }
@media (prefers-reduced-motion: reduce) {
  .gx-ring.breathe, .gx-line.in, .gp-card { animation: none; }
  .gx-ring.breathe { opacity: .5; }
}
/* the secondary button inherits a cream background from .row-btn, which puts light gold
   on near-white inside the dark player. Force it back onto the dark ground. */
.gx-end .row-btn {
  background: transparent; border: 1.5px solid rgba(233,195,106,.45);
  color: #E9C36A; min-height: 48px;
}
.gx-end .row-btn:hover { background: rgba(233,195,106,.12); }

/* ---------- lament shape ---------- */
/* Quieter than a normal answer on purpose: no gold banner, more air, slower to read. */
.answer.is-lament .answer-head {
  background: none; border: 1px solid var(--line); color: var(--ink-soft);
  box-shadow: none; animation: none; letter-spacing: .14em;
}
.answer.is-lament .card { animation: none; box-shadow: none; }
.answer.is-lament .card p { font-size: 1.06rem; line-height: 1.78; }
.answer.is-lament .prayer-text { font-style: italic; }
.answer.is-lament .verse-text { line-height: 1.8; }
.lament-honest {
  margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--line);
  color: var(--ink-soft); font-size: .97rem; line-height: 1.7;
}
.quiet-listen {
  margin-top: 14px; background: none; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-soft); font: 600 .85rem var(--font-body); padding: 8px 16px;
  cursor: pointer; min-height: 40px;
}
.quiet-listen:hover { border-color: var(--gold); color: var(--gold-deep); }

/* pray-for-someone-else sheet */
.in-lbl { display: block; font: 700 12px var(--font-body); letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-deep); margin: 14px 0 6px; }
#interSheet input, #interSheet textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px;
  font: 400 1rem var(--font-body); background: var(--bg); color: var(--ink); outline: none;
}
#interSheet input:focus, #interSheet textarea:focus { border-color: var(--gold); }
#interSheet .send { width: 100%; margin-top: 18px; }
#interSheet .ob-skip { width: 100%; margin-top: 8px; }
.quiet-link {
  display: block; text-align: center; color: var(--ink-soft); font-size: .93rem;
  text-decoration: underline; text-underline-offset: 3px; margin: 16px 0 4px; padding: 8px;
}
.quiet-link:hover { color: var(--gold-deep); }

/* ---------- Bible search + text size ---------- */
.read-tools { display: flex; gap: 10px; align-items: center; margin: 4px 0 12px; }
.search-row { display: flex; gap: 8px; flex: 1; min-width: 0; }
.search-row input {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font: 400 16px var(--font-body); background: var(--card); color: var(--ink);
}
.search-row input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.search-go {
  border: 0; border-radius: 12px; padding: 12px 16px; cursor: pointer; white-space: nowrap;
  background: linear-gradient(160deg, var(--gold-light, #E9C36A), var(--gold));
  color: #2B2318; font: 700 15px var(--font-body); min-height: 46px;
}
.text-size { display: flex; gap: 6px; flex: none; }
.text-size button {
  width: 46px; min-height: 46px; border: 1px solid var(--line); background: var(--card);
  border-radius: 12px; cursor: pointer; color: var(--ink); font-family: var(--font-body); font-weight: 700;
}
.text-size button:hover { background: var(--gold-soft); }
#textSmaller span { font-size: 13px; }
#textBigger span { font-size: 20px; }

/* the reader scales from one place, so search results scale with the chapter */
.reader, .sr-list { font-size: calc(1em * var(--read-scale, 1)); }
.reader p.v { font-size: calc(20px * var(--read-scale, 1)); }

.sr-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 2px 0 10px; }
.sr-head .count { color: var(--ink-soft); font-size: 14.5px; }
.sr-list { margin-top: 4px; }
.sr-hit {
  display: block; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 13px 15px; margin-bottom: 8px; cursor: pointer; color: var(--ink);
}
.sr-hit:hover { background: var(--gold-soft); border-color: var(--gold); }
.sr-hit .ref { font: 700 13.5px var(--font-body); color: var(--gold-deep); margin-bottom: 3px; }
.sr-hit .txt { font-family: var(--font-display); font-size: 17.5px; line-height: 1.45; }
.sr-hit mark { background: var(--gold-soft); color: inherit; font-weight: 600; border-radius: 3px; padding: 0 2px; }
.sr-progress { color: var(--ink-soft); font-size: 14.5px; margin: 10px 0; display: flex; align-items: center; gap: 10px; }
.sr-progress button { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 6px 12px; cursor: pointer; font: 600 14px var(--font-body); color: var(--ink); }
/* the verse you came from, so you can see where you landed */
.reader p.v.landed { background: var(--gold-soft); box-shadow: inset 3px 0 0 var(--gold); }
.sr-note { color: var(--ink-soft); font-size: 15px; margin: 0 0 12px; }

/* ---------- offline ---------- */
.offline-bar {
  background: var(--gold-soft); border: 1px solid var(--gold);
  border-radius: 12px; padding: 12px 15px; margin: 4px 0 12px; font-size: 15.5px;
}
.offline-bar strong { display: block; color: var(--gold-deep); }
.keep-row {
  display: flex; align-items: center; gap: 14px; justify-content: space-between;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 15px; margin: 0 0 14px;
}
.keep-txt { min-width: 0; }
.keep-txt strong { display: block; font-size: 15.5px; }
.keep-txt span { display: block; color: var(--ink-soft); font-size: 14px; line-height: 1.4; }
.keep-btn {
  flex: none; border: 1.5px solid var(--gold); background: var(--card); color: var(--gold-deep);
  border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer;
  font: 700 14.5px var(--font-body);
}
.keep-btn:hover { background: var(--gold-soft); }
.keep-btn[disabled] { opacity: .6; cursor: default; }
.keep-row.saved { border-color: var(--gold); background: var(--gold-soft); }
.keep-progress { margin: -6px 0 14px; display: flex; align-items: center; gap: 12px; }
.keep-progress .bar { flex: 1; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.keep-progress .bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .2s; }
.keep-progress span { font: 600 13.5px var(--font-body); color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
