/* Layout concept: an app first and a brochure second. One calm column of sections, each a plain title and one job:
   today's verse beside the player, then Listen, Playlists, Learn, Spoken, Give, About. Scripture is set in a book serif
   (Charis SIL); everything you operate is in a clean sans (Manrope). Indigo is the brand, saffron means play,
   hibiscus appears only on Give. */
:root {
  --bg: #F4F5F9;
  --surface: #FFFFFF;
  --surface2: #ECEEF6;
  --fg: #141836;
  --muted: #555B7E;
  --line: #DADDEB;
  --indigo: #1A2266;
  --indigo-2: #2B3590;
  --sun: #FFC21A;
  --sun-hi: #FFD24D;
  --sun-ink: #1B1440;
  --give: #C81D52;
  --give-hi: #E0306A;
  --accent-text: #1A2266;
  --ok: #1D7A4C;
  --f-scripture: 'Charis SIL', 'Gentium Plus', 'Noto Serif', Georgia, serif;
  --f-ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: var(--f-scripture);
  --f-body: var(--f-ui);
  --f-verse: var(--f-scripture);
  --lyric-scale: 1;
  --r: 14px;
  --r-lg: 20px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1030; --surface: #141A45; --surface2: #1C2357; --fg: #EEF0FF; --muted: #A9AFDD; --line: #2A3270;
    --indigo: #9EA8FF; --indigo-2: #C2C8FF; --accent-text: #FFD24D; --give: #E0306A; --give-hi: #F04C7D; --ok: #6FD7A0; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1030; --surface: #141A45; --surface2: #1C2357; --fg: #EEF0FF; --muted: #A9AFDD; --line: #2A3270;
  --indigo: #9EA8FF; --indigo-2: #C2C8FF; --accent-text: #FFD24D; --give: #E0306A; --give-hi: #F04C7D; --ok: #6FD7A0; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--f-ui); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, blockquote, figure, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img, canvas { max-width: 100%; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.i-pause { display: none; }
.is-playing .i-play { display: none; }
.is-playing .i-pause { display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; font: 600 15px/1 var(--f-ui); text-decoration: none; padding: 12px 20px; transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-play { background: var(--sun); color: var(--sun-ink); }
.btn-play:hover { background: var(--sun-hi); }
.btn-give { background: var(--give); color: #fff; }
.btn-give:hover { background: var(--give-hi); }
.btn-quiet { background: var(--surface); border-color: var(--line); color: var(--fg); }
.btn-quiet:hover { border-color: var(--indigo); }
.btn-dark { background: var(--indigo); color: #fff; }
.link-btn { border: 0; background: none; padding: 0; font-weight: 600; color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--fg); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo { width: 36px; height: 36px; flex: none; }
.brand-name { font: 700 19px/1 var(--f-scripture); color: var(--accent-text); letter-spacing: -.01em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--muted); padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--fg); background: var(--surface2); }
.bar-act { display: flex; align-items: center; gap: 10px; }

/* Section rhythm */
section { padding-block: 64px; }
.sec-title { font: 700 clamp(28px, 4vw, 38px)/1.15 var(--f-scripture); color: var(--fg); letter-spacing: -.01em; text-wrap: balance; }
.sec-sub { margin-top: 8px; color: var(--muted); max-width: 60ch; font-size: 17px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Today */
.today { padding-block: 40px 28px; }
.today-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.today-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.daily { border-left: 4px solid var(--sun); padding: 4px 0 4px 20px; }
.daily p { font: 400 clamp(23px, 3.6vw, 40px)/1.32 var(--f-scripture); color: var(--fg); text-wrap: balance; }
.daily cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--muted); }
.today-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.streak { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; }
.streak-days { display: flex; gap: 6px; flex: none; }
.streak-days span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--surface2); color: var(--muted); }
.streak-days span.on { background: var(--sun); color: var(--sun-ink); }
.streak-days span.is-today { outline: 2px solid var(--indigo); outline-offset: 1px; }
.streak p { font-size: 14.5px; color: var(--muted); }
.streak p b { color: var(--fg); }

.stage { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; justify-self: center; display: grid; place-items: center; border-radius: 28px; background: radial-gradient(90% 90% at 50% 35%, #2B3590 0%, #141B58 70%); overflow: hidden; color: #fff; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-play { position: relative; z-index: 2; width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--sun); color: var(--sun-ink); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); transition: transform .15s; }
.stage-play:hover { transform: scale(1.04); }
.stage-meta { position: absolute; left: 0; right: 0; bottom: 5%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; pointer-events: none; padding-inline: 16px; }
.stage-ref { font: 700 24px/1.15 var(--f-scripture); }
.stage-sub { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.seekbar { position: absolute; left: 6%; right: 6%; top: 6%; z-index: 3; display: flex; align-items: center; gap: 8px; background: rgba(10, 13, 46, .55); padding: 6px 8px; border-radius: 999px; }
.seekbar[hidden] { display: none; }
.seekbar input { flex: 1; min-width: 0; accent-color: var(--sun); }
.seek-time { font-size: 12px; font-variant-numeric: tabular-nums; min-width: 32px; text-align: center; }
.seek-skip { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 11.5px; font-weight: 700; flex: none; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.facts b { color: var(--fg); font-variant-numeric: tabular-nums; }

/* Listen */
.studio { background: var(--surface); border-block: 1px solid var(--line); }
.studio-grid { display: grid; grid-template-columns: 380px 1fr; gap: 28px; margin-top: 24px; align-items: start; }
.controls { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.row-2 { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.book-select { flex: 1 1 160px; }
.book-select, .sp-field select { min-width: 0; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface2); font-weight: 600; }
.all-ch { flex: 0 1 auto; }
.all-ch summary { list-style: none; cursor: pointer; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; background: var(--surface); white-space: nowrap; }
.all-ch summary::-webkit-details-marker { display: none; }
.all-ch[open] { flex-basis: 100%; }
.all-ch[open] summary { margin-bottom: 8px; display: inline-block; }
.numgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; max-height: 240px; overflow-y: auto; padding: 2px; }
.num { height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; position: relative; }
.num.has-rec::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--give); }
.num[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: var(--surface); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips[hidden] { display: none; }
.chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: var(--surface); }
.genres { display: flex; flex-wrap: wrap; gap: 6px; }
.genre { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.genre b { font-weight: 600; }
.genre .eq { display: none; gap: 2px; align-items: flex-end; height: 12px; }
.genre .eq i { width: 3px; background: currentColor; border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.genre .eq i:nth-child(2) { animation-delay: .2s; } .genre .eq i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 12px; } }
.is-playing .genre[aria-pressed="true"] .eq { display: flex; }
.genre .sung { width: 7px; height: 7px; border-radius: 50%; background: var(--give); font-size: 0; overflow: hidden; }
.genre[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: var(--surface); }
.genre[aria-pressed="true"] .sung { background: var(--sun); }
.seg { display: inline-flex; padding: 3px; background: var(--surface2); border-radius: 999px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.seg-sm button { padding: 7px 13px; font-size: 14px; }
.more-bibles summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.more-bibles summary::-webkit-details-marker { display: none; }
.more-bibles summary::after { content: "Change"; margin-left: auto; font-weight: 600; font-size: 14px; color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.current-bible { font-weight: 600; }
.tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; margin-top: 10px; }
.tab { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); text-align: left; }
.tab span { font-weight: 700; font-size: 14.5px; }
.tab small { color: var(--muted); font-size: 12px; }
.tab[aria-pressed="true"] { border-color: var(--indigo); box-shadow: inset 0 0 0 1px var(--indigo); }

.lyrics { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; max-height: min(78vh, 720px); min-width: 0; position: sticky; top: 84px; }
.lyrics-head { padding: 16px 18px 12px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.lyrics-title h3 { font: 700 26px/1.15 var(--f-scripture); color: var(--accent-text); }
.lyrics-title p { color: var(--muted); font-size: 14px; }
.lyrics-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.tool { min-width: 36px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 13.5px; }
.tool[aria-pressed="true"] { background: var(--indigo); color: var(--surface); border-color: var(--indigo); }
.recbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 18px; border-bottom: 1px solid var(--line); }
.recbar-tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--give); }
.recbar-vers { display: flex; flex-wrap: wrap; gap: 6px; }
.recbar small { flex-basis: 100%; color: var(--muted); font-size: 12.5px; }
.lyrics-note { padding: 8px 18px; font-size: 13.5px; background: color-mix(in srgb, var(--sun) 22%, var(--surface)); }
.verses { overflow-y: auto; padding: 8px; flex: 1; position: relative; overscroll-behavior: contain; min-height: 160px; scroll-padding-block: 16px; }
.verse { display: grid; grid-template-columns: 2em 1fr; gap: 4px; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 12px; font: 400 calc(19px * var(--lyric-scale))/1.55 var(--f-scripture); color: var(--fg); }
.verse .vn { font: 700 .62em var(--f-ui); color: var(--muted); padding-top: .55em; font-variant-numeric: tabular-nums; }
.verse:hover { background: var(--surface2); }
.verse.is-active { background: var(--sun); color: var(--sun-ink); }
.verse.is-active .vn { color: var(--sun-ink); }
.verse.is-done { color: var(--muted); }
.vt[dir="rtl"] { font-family: 'Noto Serif Hebrew', var(--f-scripture); text-align: right; line-height: 1.75; }
.vt[dir="rtl"][lang="ar"] { font-family: 'Noto Naskh Arabic', var(--f-scripture); line-height: 2; }
.verses-msg { padding: 28px 18px; text-align: center; color: var(--muted); }
.lyrics-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 10px 18px; border-top: 1px solid var(--line); }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; color: var(--muted); }
.switch input { width: 17px; height: 17px; accent-color: var(--indigo); }

/* Playlists */
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 24px; }
.pl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pl-card h3 { font: 700 21px/1.2 var(--f-scripture); }
.pl-card p { color: var(--muted); font-size: 14px; }
.pl-card .pl-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.pl-card .pl-count { font-size: 13.5px; color: var(--muted); }
.pl-card.is-current { border-color: var(--indigo); box-shadow: inset 0 0 0 1px var(--indigo); }
.pl-now { margin-top: 14px; font-weight: 600; }

/* Learn */
.learn { background: var(--surface); border-block: 1px solid var(--line); }
.learn-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: start; }
.learn-in .seg { margin-top: 18px; }
.game { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.game-ref { font-weight: 700; color: var(--muted); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.game-text { font: 400 24px/1.7 var(--f-scripture); }
.gap { display: inline-block; min-width: 3.2em; border-bottom: 2px solid var(--indigo); margin: 0 2px; color: var(--indigo); text-align: center; }
.gap.next { border-bottom-color: var(--sun); background: color-mix(in srgb, var(--sun) 25%, transparent); border-radius: 4px 4px 0 0; }
.gap.right { border-bottom-color: var(--ok); color: var(--ok); }
.game-bank { display: flex; flex-wrap: wrap; gap: 8px; }
.word { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font: 400 17px var(--f-scripture); }
.word:disabled { opacity: .3; }
.word.wrong { border-color: var(--give); animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.game-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.game-foot span { margin-right: auto; font-weight: 600; color: var(--ok); }

/* Spoken */
.sp-card { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sp-controls { display: grid; grid-template-columns: 1.4fr 1.4fr .8fr; gap: 12px; }
.sp-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); min-width: 0; }
.sp-field select { text-transform: none; letter-spacing: 0; color: var(--fg); font-size: 15px; width: 100%; }
.sp-player { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sp-play { width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--sun); color: var(--sun-ink); display: grid; place-items: center; flex: none; }
.sp-play .i-pause, .sp-playing .sp-play .i-play { display: none; }
.sp-playing .sp-play .i-pause { display: block; }
.sp-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface2); font-size: 20px; line-height: 1; flex: none; }
.sp-now { flex: 1 1 200px; min-width: 0; }
.sp-now h3 { font: 700 21px/1.2 var(--f-scripture); color: var(--accent-text); }
.sp-now p { font-size: 14px; color: var(--muted); }
.sp-seekrow { display: flex; align-items: center; gap: 10px; }
.sp-seekrow input { flex: 1; min-width: 0; accent-color: var(--indigo); }
.sp-seekrow span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sp-verses { max-height: 400px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; font: 18px/1.6 var(--f-scripture); }
.sp-verses li { display: flex; gap: 10px; padding: 6px 10px; border-radius: 10px; cursor: pointer; }
.sp-verses li:hover { background: var(--surface2); }
.sp-verses li.on { background: var(--sun); color: var(--sun-ink); }
.sp-verses li.sp-none { cursor: default; color: var(--muted); font: 15px var(--f-ui); }
.sp-n { font: 700 12px var(--f-ui); color: var(--muted); min-width: 1.6em; padding-top: .4em; }
.sp-copy { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.sp-copy summary { cursor: pointer; font-weight: 600; color: var(--fg); }
.sp-copy p { margin-top: 8px; overflow-wrap: anywhere; }
.sp-inview .mini { display: none; }

/* Give */
.give-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.give-box .seg { align-self: flex-start; }
.give-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.amounts button { padding: 14px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.amounts button small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 2px; }
.amounts button[aria-pressed="true"] { border-color: var(--give); box-shadow: inset 0 0 0 1px var(--give); }
.give-small { font-size: 13.5px; color: var(--muted); }
.give-note { font-weight: 600; }
.bank { background: var(--surface2); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }
.bank dt { font-weight: 700; margin-bottom: 4px; }
.sponsor { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sp-offer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sp-offer h3 { font: 700 21px/1.2 var(--f-scripture); }
.sp-offer p { color: var(--muted); font-size: 14.5px; }
.sp-offer .price { color: var(--fg); font-weight: 700; }
.help-list { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--muted); padding: 4px 4px 0; }
.help-list b { color: var(--fg); }

/* About */
.about { background: var(--surface); border-top: 1px solid var(--line); }
.about-in { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.about-in > div:first-child { display: flex; flex-direction: column; gap: 14px; max-width: 62ch; }
.about-in > div:first-child p { color: var(--muted); }
.about-in > div:first-child p b { color: var(--fg); }
.src { font-weight: 600; color: var(--indigo); }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; background: var(--bg); }
.faq-list summary { cursor: pointer; font-weight: 600; }
.faq-list p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.foot { padding-block: 28px 100px; color: var(--muted); font-size: 13.5px; }
.foot-in { display: flex; flex-direction: column; gap: 8px; }
.foot b { color: var(--fg); }
.foot-credit { max-width: 90ch; }

/* Mini player */
.mini { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0 max(12px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-right, 0px)); pointer-events: none; }
.mini[hidden] { display: none; }
.mini-in { pointer-events: auto; max-width: 620px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 16px 36px -14px rgba(0,0,0,.45); }
.mini-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--sun); color: var(--sun-ink); display: grid; place-items: center; }
.mini-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; flex: 1; }
.mini-text b { font: 700 16px var(--f-scripture); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-text span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-prog { width: 80px; height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; flex: none; }
.mini-prog i { display: block; height: 100%; width: 0; background: var(--indigo); transition: width .5s linear; }
.mini-count { font-size: 12.5px; color: var(--muted); flex: none; font-variant-numeric: tabular-nums; }
.mini.is-playing .mini-btn .i-play { display: none; }
.mini.is-playing .mini-btn .i-pause { display: block; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 70; background: var(--fg); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; max-width: calc(100vw - 32px); }
.toast[hidden] { display: none; }

/* Bottom tabs, phones only */
.tabbar { display: none; }

/* Verse card maker */
.cardmaker { position: fixed; inset: 0; z-index: 90; background: rgba(8, 10, 32, .6); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)); }
.cardmaker[hidden] { display: none; }
.cm-box { background: var(--surface); border-radius: var(--r-lg); padding: 16px; width: min(440px, 100%); max-height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.cm-head { display: flex; align-items: center; justify-content: space-between; }
.cm-head h3 { font: 700 20px var(--f-scripture); }
#cmCanvas { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.cm-actions { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 980px) {
  .today-in, .studio-grid, .learn-in, .give-grid, .about-in { grid-template-columns: 1fr; }
  .stage { max-width: 360px; }
  .lyrics { position: static; max-height: 70vh; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .bar-act { margin-left: auto; }
  section { padding-block: 44px; }
  .today { padding-top: 24px; }
  .today-actions .btn-lg { padding: 12px 16px; font-size: 15px; }
  .sp-controls { grid-template-columns: 1fr 1fr; }
  .sp-controls .sp-field:first-child { grid-column: 1 / -1; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); padding: 6px max(8px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-right, 0px)); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 4px 0; }
  .tabbar a:active { color: var(--fg); }
  .mini { bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .toast { bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
  .foot { padding-bottom: 160px; }
  .game-text { font-size: 21px; }
  .amounts button { font-size: 16px; padding: 12px 6px; }
}

/* Church mode (carried over from the live site) */
body.church-open { overflow: hidden; }
.church {
  --ch-bg: #070A24; --ch-fg: #FFFFFF; --ch-dim: rgba(255, 255, 255, .34); --ch-hi: var(--sun); --ch-bar: rgba(255, 255, 255, .08);
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  background: radial-gradient(120% 90% at 50% 0%, #17207A 0%, var(--ch-bg) 62%); color: var(--ch-fg);
}
.church[hidden] { display: none; }
.church.is-light { --ch-bg: #FFFFFF; --ch-fg: #0B0F33; --ch-dim: rgba(11, 15, 51, .3); --ch-hi: #1F2A7A; --ch-bar: rgba(11, 15, 51, .07); background: #FFFFFF; }
.ch-top, .ch-bottom { display: flex; align-items: center; gap: 14px; padding: 14px clamp(16px, 3vw, 40px); transition: opacity .4s ease; }
.ch-top { justify-content: space-between; flex-wrap: wrap; }
.church.is-idle .ch-top, .church.is-idle .ch-bottom { opacity: 0; pointer-events: none; }
.church.is-idle { cursor: none; }
.ch-title { display: flex; flex-direction: column; min-width: 0; }
.ch-title b { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; }
.ch-title span { font-size: 14px; color: var(--ch-dim); }
.church.is-light .ch-title span { color: rgba(11, 15, 51, .6); }
.ch-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ch-btn, .ch-sel select { height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ch-dim); background: var(--ch-bar); color: var(--ch-fg); font: 600 14px var(--f-body); cursor: pointer; }
.ch-sel select { padding-right: 10px; }
.ch-sel select option { color: #0B0F33; }
.ch-btn:hover, .ch-sel select:hover { border-color: var(--ch-hi); }
.ch-btn[aria-pressed="true"] { background: var(--ch-hi); color: #0B0F33; border-color: var(--ch-hi); }
.church.is-light .ch-btn[aria-pressed="true"] { color: #fff; }
.ch-exit { background: var(--give); border-color: transparent; color: #fff; }
.ch-verses { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 30vh clamp(20px, 7vw, 120px); scrollbar-width: none; text-align: center; }
.ch-verses::-webkit-scrollbar { display: none; }
.ch-verse {
  display: block; width: 100%; margin: 0 0 .9em; padding: .25em .4em; border: 0; background: none; color: var(--ch-dim); cursor: pointer;
  font-family: var(--f-ui); font-weight: 600; line-height: 1.32; letter-spacing: -.005em;
  font-size: calc(clamp(26px, 4.3vw, 76px) * var(--ch-scale, 1)); transition: color .35s ease, transform .35s ease; text-wrap: balance;
}
.ch-verse .chn { font-size: .45em; vertical-align: .9em; margin-right: .35em; opacity: .7; font-variant-numeric: tabular-nums; }
.ch-verse.is-active { color: var(--ch-fg); transform: scale(1.02); }
.ch-verse.is-active .chn { color: var(--ch-hi); opacity: 1; }
.ch-verse:focus-visible { outline: 3px solid var(--ch-hi); outline-offset: 6px; border-radius: 12px; }
.ch-msg { color: var(--ch-dim); font-size: clamp(20px, 2.6vw, 36px); }
.ch-play { width: 56px; height: 56px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--sun); color: #0B0F33; cursor: pointer; }
.church.is-playing .ch-play .i-play { display: none; }
.church.is-playing .ch-play .i-pause { display: block; }
.ch-prog { flex: 1; height: 8px; border-radius: 99px; background: var(--ch-bar); overflow: hidden; }
.ch-prog i { display: block; height: 100%; width: 0; background: var(--ch-hi); border-radius: 99px; transition: width .5s linear; }
.ch-count { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 56px; text-align: right; }
.ch-keys { font-size: 13px; color: var(--ch-dim); }
@media (max-width: 760px) { .ch-keys { display: none; } .ch-btn, .ch-sel select { height: 36px; padding: 0 11px; font-size: 13px; } .ch-verses { padding-block: 22vh; } }
@media (prefers-reduced-motion: reduce) { .ch-verse { transition: none; } .ch-verse.is-active { transform: none; } }
.ch-verses { position: relative; }   /* verse positions are measured from the top of this list */
@media (max-width: 760px) {
  .ch-top { flex-wrap: nowrap; flex-direction: column; align-items: stretch; gap: 8px; padding-bottom: 6px; }
  .ch-tools { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .ch-tools::-webkit-scrollbar { display: none; }
  .ch-tools > * { flex: none; }
  .ch-exit { order: -1; }
}

.ch-sel select { max-width: 13em; }
#chChapter { max-width: 9.5em; }

/* Church mode visuals: drawn behind everything, never over the words */
.ch-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; filter: blur(14px) saturate(1.15); }
.ch-canvas[hidden] { display: none; }
.church > :not(.ch-canvas) { position: relative; z-index: 1; }
.church:not(.is-light) .ch-verse { text-shadow: 0 2px 18px rgba(4, 6, 26, .65); }
.church.is-light .ch-verse { text-shadow: 0 1px 12px rgba(255, 255, 255, .8); }

/* ===== Round 2: tighter page, brighter accents ===== */
:root { --teal: #0E8C7F; --teal-bg: #E3F5F2; --coral: #E8553E; --coral-bg: #FDECE8; --sun-bg: #FFF4D1; --plum: #7A2E8E; --plum-bg: #F3E8F7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --teal: #5ED6C6; --teal-bg: #12363A; --coral: #FF8C73; --coral-bg: #3A1F24; --sun-bg: #3A3418; --plum: #D9A2EA; --plum-bg: #2E1B3A; } }
:root[data-theme="dark"] { --teal: #5ED6C6; --teal-bg: #12363A; --coral: #FF8C73; --coral-bg: #3A1F24; --sun-bg: #3A3418; --plum: #D9A2EA; --plum-bg: #2E1B3A; }

section { padding-block: 48px; }
.row-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.row-head .sec-sub { margin-top: 0; font-size: 16px; }
.sec-title-sm { font-size: clamp(22px, 3vw, 28px); }

/* Hero */
.hero { padding-block: 32px 24px; }
.hero-in { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 40px; align-items: center; }
.hero .stage { max-width: 400px; }
.hero-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hero-copy h1 { font: 700 clamp(30px, 4.4vw, 48px)/1.1 var(--f-scripture); letter-spacing: -.015em; text-wrap: balance; }
.hero-copy .lede { color: var(--muted); font-size: 17px; max-width: 46ch; }
.daily { border: 0; background: var(--sun-bg); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.daily .daily-k { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.daily .daily-t { font: 400 18px/1.45 var(--f-scripture); color: var(--fg); }
.daily-t cite { font: 700 14px var(--f-ui); color: var(--muted); font-style: normal; white-space: nowrap; }
.daily-act { display: flex; flex-wrap: wrap; gap: 8px; }
.streak { padding: 8px 12px; gap: 10px; background: transparent; border-style: dashed; }
.streak-days span { width: 22px; height: 22px; font-size: 10px; }
.streak p { font-size: 13.5px; }

/* Playlists: one row */
.playlists { padding-block: 8px 28px; }
.pl-now { font-size: 14px; color: var(--muted); }
.pl-row { display: flex; gap: 10px; overflow-x: auto; padding: 14px 2px 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.pl-chip { flex: none; scroll-snap-align: start; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; border: 0; color: #fff; text-align: left; min-width: 0; }
.pl-chip .pi { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; flex: none; }
.pl-chip b { display: block; font-size: 14.5px; white-space: nowrap; }
.pl-chip small { display: block; font-size: 12px; opacity: .85; white-space: nowrap; }
.pl-chip.is-current { outline: 3px solid var(--sun); outline-offset: 2px; }
.pl-chip .i-pause { display: none; }
.pl-chip.is-current .i-play { display: none; }
.pl-chip.is-current .i-pause { display: block; }

/* Sung Bible: play button in the panel */
.studio-grid { margin-top: 20px; }
.now-bar { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.now-play { width: 58px; height: 58px; flex: none; border-radius: 50%; border: 0; background: var(--sun); color: var(--sun-ink); display: grid; place-items: center; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); }
.now-play:hover { background: var(--sun-hi); }
.now-bar .lyrics-title { flex: 1; min-width: 0; }
.now-bar .lyrics-title h3 { font-size: 24px; }
.now-bar .lyrics-title p { font-size: 13.5px; color: var(--muted); }
.now-nav { display: flex; gap: 6px; }
.lyrics-tools { padding: 10px 16px 0; }
.learn-strip { margin-top: 18px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 14px 18px; border-radius: var(--r); border: 0; background: var(--plum-bg); color: var(--fg); font-size: 15px; }
.learn-strip b { color: var(--plum); }
.learn-strip .arrow { font-size: 20px; color: var(--plum); }

/* Spoken accent */
.spoken .sp-play { background: var(--teal); color: #fff; }
.spoken .sp-verses li.on { background: var(--teal-bg); color: var(--fg); box-shadow: inset 3px 0 0 var(--teal); }

/* Vision band */
.vision { background: linear-gradient(120deg, #1A2266 0%, #3B2A8C 55%, #C81D52 130%); color: #fff; padding-block: 44px; }
.vision-in { display: flex; flex-direction: column; gap: 8px; }
.vision-k { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
.vision-t { font: 700 clamp(26px, 4vw, 40px)/1.15 var(--f-scripture); text-wrap: balance; }
.vision-s { max-width: 62ch; opacity: .9; }

/* Give */
.give-box .give-top { display: flex; flex-wrap: wrap; gap: 8px; }
.sponsor { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.sp-offer { border: 0; padding: 16px; gap: 6px; }
.sp-offer h3 { font-size: 18px; }
.sp-offer p { font-size: 13.5px; }
.sp-offer.c-sun { background: var(--sun-bg); } .sp-offer.c-teal { background: var(--teal-bg); } .sp-offer.c-coral { background: var(--coral-bg); } .sp-offer.c-plum { background: var(--plum-bg); }
.sp-offer.c-teal h3 { color: var(--teal); } .sp-offer.c-coral h3 { color: var(--coral); } .sp-offer.c-plum h3 { color: var(--plum); }
.sp-offer .price { font-size: 14px; }
.bank-d summary { cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--indigo); }
.bank-d[open] summary { margin-bottom: 8px; }
.help-list { flex-direction: row; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; }

.about-mini { padding-block: 28px; background: var(--surface); border-top: 1px solid var(--line); }
.about-mini-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.about-mini p { color: var(--muted); max-width: 70ch; }
.foot a { color: inherit; }

/* Learn a verse: its own screen */
.page-sheet { position: fixed; inset: 0; z-index: 80; background: var(--bg); overflow-y: auto; padding-bottom: env(safe-area-inset-bottom, 0px); }
.page-sheet[hidden] { display: none; }
.sheet-bar { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(12px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 12px max(20px, env(safe-area-inset-left, 0px)); background: var(--surface); border-bottom: 1px solid var(--line); }
.sheet-bar h2 { font: 700 22px var(--f-scripture); color: var(--plum); }
.sheet-body { max-width: 760px; margin: 0 auto; padding: 24px max(20px, env(safe-area-inset-right, 0px)) 48px max(20px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 18px; }
.page-sheet .game { background: var(--surface); }
.game-learnt { font-size: 14px; color: var(--muted); }
body.sheet-open { overflow: hidden; }

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 22px; }
  .hero .stage { max-width: 340px; }
  .hero-copy h1 { text-align: center; }
  .hero-copy .lede { text-align: center; margin-inline: auto; }
}
@media (max-width: 760px) {
  section { padding-block: 34px; }
  .hero { padding-top: 18px; }
  .hero .stage { max-width: 300px; }
  .sponsor { grid-template-columns: 1fr; }
  .now-play { width: 52px; height: 52px; }
  .now-bar .lyrics-title h3 { font-size: 21px; }
}
/* About page */
.about-page section:not(.vision) { padding-block: 40px; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.about-cols article { display: flex; flex-direction: column; gap: 10px; max-width: 62ch; }
.about-cols p, .credits p { color: var(--muted); }
.credits { display: flex; flex-direction: column; gap: 10px; max-width: 90ch; }
.about-page .faq-list { margin-top: 16px; max-width: 760px; }
.nav a[aria-current="page"] { color: var(--fg); background: var(--surface2); }
@media (max-width: 760px) { .about-cols { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .hero .stage { max-width: 250px; }
  .hero-copy h1 { font-size: 28px; }
  .hero-copy .lede { font-size: 15px; }
  .hero-copy { gap: 12px; }
}

/* Now playing: the song's name under the big play button */
.stage-meta { bottom: 6%; gap: 6px; }
.np-name { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.np-title { font: 700 clamp(19px, 2.4vw, 25px)/1.15 var(--f-scripture); color: #fff; text-wrap: balance; max-width: 92%; text-shadow: 0 2px 14px rgba(5, 8, 40, .6); }
.np-line { font-size: 12.5px; font-weight: 600; color: var(--sun); letter-spacing: .02em; }
.np-swap .np-title, .np-swap .np-line { animation: np-in .6s cubic-bezier(.2, .8, .2, 1) both; }
.np-swap .np-line { animation-delay: .08s; }
@keyframes np-in { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.np-pill { display: flex; gap: 3px; align-items: flex-end; height: 14px; opacity: 0; transition: opacity .3s; }
.np-pill i { width: 3px; height: 4px; border-radius: 2px; background: var(--sun); }
.is-playing .np-pill { opacity: 1; }
.is-playing .np-pill i { animation: eq 1s ease-in-out infinite; }
.is-playing .np-pill i:nth-child(2) { animation-delay: .2s; } .is-playing .np-pill i:nth-child(3) { animation-delay: .4s; }
/* For you: first in the playlist row */
.pl-foryou { background: linear-gradient(120deg, #FFC21A, #F28C28) !important; color: #1B1440; }
.pl-foryou .pi { background: rgba(27, 20, 64, .14); }
.pl-foryou small { opacity: .8; }

.is-playing .pl-chip:not(.is-current) .i-play { display: block; }
.is-playing .pl-chip:not(.is-current) .i-pause { display: none; }
.daily .daily-k { font-family: var(--f-ui); }
.stage-meta::before { content: ""; position: absolute; inset: -30px 0 -40px; z-index: -1; background: radial-gradient(60% 70% at 50% 60%, rgba(10, 13, 46, .55), transparent 75%); pointer-events: none; }

/* ===== Round 3: blue hero with the vision, finder, sponsorship card, small screens ===== */
.hero { background: radial-gradient(120% 120% at 85% 10%, #2E3AA0 0%, #1A2266 45%, #10164A 100%); color: #fff; padding-block: 40px 36px; }
.hero-in { grid-template-columns: 1fr minmax(260px, 380px); }
.hero .stage { order: 2; max-width: 380px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); background: radial-gradient(90% 90% at 50% 35%, #34409F 0%, #182061 70%); }
.hero-copy { order: 1; gap: 18px; }
.hero-k { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); }
.hero-copy h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; max-width: 18ch; }
.hero-copy .lede { color: rgba(255,255,255,.82); text-align: left; margin-inline: 0; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }

/* the finder */
.finder { position: relative; max-width: 560px; }
.finder-box { display: flex; align-items: center; gap: 8px; background: #fff; color: #141836; border-radius: 999px; padding: 6px 6px 6px 16px; box-shadow: 0 12px 30px -16px rgba(0,0,0,.6); }
.finder-box svg { color: #555B7E; flex: none; }
.finder-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: #141836; padding: 8px 0; }
.finder-box input::placeholder { color: #7A7FA0; }
.finder-browse { flex: none; border: 0; border-radius: 999px; background: #1A2266; color: #fff; font-weight: 700; font-size: 14px; padding: 10px 16px; }
.finder-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); max-height: min(60vh, 420px); overflow-y: auto; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.55); padding: 6px; }
.finder-list[hidden] { display: none; }
.fl-head { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 6px; }
.fl-row { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; text-align: left; border: 0; background: none; padding: 10px; border-radius: 10px; color: var(--fg); }
.fl-row:hover, .fl-row.on { background: var(--surface2); }
.fl-l { font: 700 16px/1.3 var(--f-scripture); min-width: 0; }
.fl-s { font-size: 13px; color: var(--muted); flex: none; display: inline-flex; align-items: center; gap: 6px; }
.fl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); display: inline-block; }

/* today's verse: one quiet line on the blue */
.hero .daily { background: transparent; border: 0; border-top: 1px solid rgba(255,255,255,.18); border-radius: 0; padding: 16px 0 0; gap: 10px; }
.hero .daily .daily-t { color: #fff; font-size: 17px; }
.hero .daily .daily-k { display: inline; font: 700 12px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--sun); margin-right: 6px; }
.hero .daily cite { color: rgba(255,255,255,.7); }
.hero .daily-act { align-items: center; }
.hero .streak { border: 0; padding: 0 0 0 6px; background: transparent; margin-left: auto; }
.hero .streak p { color: rgba(255,255,255,.75); font-size: 12.5px; }
.hero .streak p b { color: #fff; }
.hero .streak-days span { background: rgba(255,255,255,.12); color: rgba(255,255,255,.7); width: 20px; height: 20px; }
.hero .streak-days span.on { background: var(--sun); color: var(--sun-ink); }
.hero .streak-days span.is-today { outline-color: #fff; }

/* playlists sit on the page, not the hero */
.playlists { padding-top: 22px; }

/* Sing-along and Learn by heart in the player */
.tool-sing { background: var(--indigo); color: #fff; border-color: var(--indigo); }

/* Spoken Scripture: search every language */
.sp-more { display: flex; flex-direction: column; gap: 8px; }
.sp-more[hidden] { display: none; }
.sp-more input { padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface2); font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--fg); }
.sp-more-list { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-more-row { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; }
.sp-more-row small { color: var(--muted); font-weight: 500; }
.sp-more-msg { color: var(--muted); font-size: 14px; }

/* giving: currency picker and the sponsorship card */
.cur-pick { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.cur-pick select { padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; max-width: 230px; }
.give-grid { align-items: stretch; }
.sponsor-card { display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: 26px; border-radius: var(--r-lg); text-decoration: none; color: #fff; background: radial-gradient(110% 120% at 100% 0%, #2E3AA0 0%, #1A2266 55%, #10164A 100%); min-width: 0; }
.sponsor-k { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); }
.sponsor-t { font: 700 clamp(24px, 3vw, 32px)/1.15 var(--f-scripture); }
.sponsor-s { color: rgba(255,255,255,.82); max-width: 46ch; }
.sponsor-go { margin-top: 6px; font-weight: 700; color: var(--sun); }
.sponsor-card:hover .sponsor-go { text-decoration: underline; text-underline-offset: 4px; }

/* What we do */
.about-mini { padding-block: 44px; }
.about-mini-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.do-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin-top: 18px; }
.do-list li { color: var(--muted); padding-left: 16px; border-left: 3px solid var(--sun); min-width: 0; }
.do-list b { display: block; color: var(--fg); font: 700 18px/1.3 var(--f-scripture); margin-bottom: 2px; }
.do-foot { margin-top: 18px; color: var(--muted); font-size: 14.5px; }

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero .stage { order: 1; max-width: 320px; }
  .hero-copy { order: 2; }
  .hero-copy h1, .hero-copy .lede { text-align: left; margin-inline: 0; }
  .do-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero { padding-block: 22px 26px; }
  .hero .stage { max-width: 260px; }
  .hero-copy h1 { font-size: clamp(26px, 7.4vw, 34px); }
  .hero .streak { margin-left: 0; width: 100%; padding-left: 0; }
}
/* narrow phones and folding phones' cover screens (down to 280px) */
@media (max-width: 380px) {
  .wrap { padding-left: max(14px, env(safe-area-inset-left, 0px)); padding-right: max(14px, env(safe-area-inset-right, 0px)); }
  .bar-in { gap: 10px; }
  .brand-name { font-size: 16px; }
  .logo { width: 30px; height: 30px; }
  .icon-btn { width: 36px; height: 36px; }
  .hero .stage { max-width: 220px; }
  .stage-play { width: 74px; height: 74px; }
  .np-title { font-size: 17px; }
  .finder-box { padding-left: 12px; }
  .finder-box input { font-size: 15px; }
  .finder-browse { padding: 9px 12px; }
  .amounts { grid-template-columns: 1fr; }
  .tabbar a { font-size: 10.5px; }
  .tabbar svg { width: 20px; height: 20px; }
  .now-bar { flex-wrap: wrap; }
  .lyrics-tools { gap: 5px; }
  .verse { font-size: calc(17px * var(--lyric-scale)); grid-template-columns: 1.6em 1fr; padding: 8px; }
  .sp-controls { grid-template-columns: 1fr; }
  .give-box, .sponsor-card, .sp-card { padding: 16px; }
}
@media (max-width: 330px) {
  .brand-name { display: none; }
  .bar-in { gap: 8px; }
  .give-top { flex-direction: column; align-items: flex-start; }
  .cur-pick { flex-wrap: wrap; max-width: 100%; }
  .cur-pick select { max-width: 100%; min-width: 0; }
  .tabbar a { min-width: 0; font-size: 9.5px; overflow: hidden; }
  .tabbar svg { width: 19px; height: 19px; }
}
.tabbar a { min-width: 0; }
.hero .streak p { font-family: var(--f-ui); }
.hero .daily .daily-k { white-space: nowrap; }

/* Get updates */
.updates { padding-block: 40px; }
.updates-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px 40px; align-items: center; }
.signup { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.signup-row { display: flex; flex-wrap: wrap; gap: 8px; }
.signup-row input { flex: 1 1 160px; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 16px; color: var(--fg); }
.signup-row .btn { flex: none; }
.signup-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.signup-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--indigo); flex: none; }
.signup-consent a { color: var(--indigo); font-weight: 600; }
.signup-msg { font-size: 14px; font-weight: 600; min-height: 1.2em; color: var(--give); }
.signup-msg[data-ok="1"] { color: var(--ok); }
.hp { position: absolute; left: -5000px; }
@media (max-width: 980px) { .updates-in { grid-template-columns: 1fr; } }

/* ===================== Round 4: brand system (Deep Navy, Royal Blue, Warm Gold, Warm Ivory) ===================== */
:root {
  --navy: #151F5C; --royal: #26368C; --gold: #F5BE25; --gold-hi: #FFD04D; --ivory: #F7F4EC; --white: #FFFFFF; --slate: #747B91;
  --bg: #F7F4EC; --surface: #FFFFFF; --surface2: #EFEBE0; --fg: #151F5C; --muted: #747B91; --line: #E3DDCC;
  --indigo: #151F5C; --indigo-2: #26368C; --accent-text: #151F5C;
  --sun: #F5BE25; --sun-hi: #FFD04D; --sun-ink: #151F5C; --sun-bg: #FBF0CF;
  --give: #F5BE25; --give-hi: #FFD04D;
  --f-scripture: 'Source Serif 4', 'Charis SIL', Georgia, serif;
  --f-ui: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: var(--f-scripture); --f-body: var(--f-ui); --f-verse: var(--f-scripture);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0E1440; --surface: #151F5C; --surface2: #1C2870; --fg: #F4F1E8; --muted: #A9AFC8; --line: #26368C;
  --indigo: #C9D0FF; --indigo-2: #E2E6FF; --accent-text: #F5BE25; --sun-bg: #2A2A3A; } }
:root[data-theme="dark"] {
  --bg: #0E1440; --surface: #151F5C; --surface2: #1C2870; --fg: #F4F1E8; --muted: #A9AFC8; --line: #26368C;
  --indigo: #C9D0FF; --indigo-2: #E2E6FF; --accent-text: #F5BE25; --sun-bg: #2A2A3A; }
body { font-family: var(--f-ui); }
.btn-give, .btn-give:hover { background: var(--gold); color: var(--navy); }
.btn-give:hover { background: var(--gold-hi); }
.btn-play { background: var(--gold); color: var(--navy); }
.btn-play:hover { background: var(--gold-hi); }
.btn-dark { background: var(--navy); color: #fff; }
.sec-title, .np-title, .daily-t, .pl-meta b, .fl-l, .lyrics-title h3, .brand-name { font-family: var(--f-scripture); }

/* header: one row from 1024px up */
.bar { background: color-mix(in srgb, var(--surface) 94%, transparent); }
.bar-in { height: 64px; gap: 16px; }
.brand-name { font-weight: 600; font-size: 19px; color: var(--fg); }
.nav { gap: 2px; flex-wrap: nowrap; }
.nav a { white-space: nowrap; font-size: 14.5px; padding: 8px 11px; color: var(--muted); }
.nav a:hover { color: var(--fg); }
@media (max-width: 1200px) { .nav a { padding: 8px 8px; font-size: 14px; } .bar-in { gap: 12px; } }
@media (max-width: 1080px) { .nav a { padding: 8px 6px; font-size: 13.5px; } .brand-name { font-size: 17px; } }

/* hero */
.hero { background: radial-gradient(120% 120% at 85% 0%, var(--royal) 0%, var(--navy) 55%, #0F1748 100%); padding-block: 44px 40px; }
.hero-in { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 48px; align-items: center; }
.hero-k { color: var(--gold); font-family: var(--f-ui); }
.hero-copy h1 { font-family: var(--f-scripture); font-weight: 600; letter-spacing: -.01em; max-width: 16ch; }
.hero-copy .lede { font-family: var(--f-ui); color: rgba(255,255,255,.84); }

/* the player card: ring above, name and scrubber below */
.hero .stage { order: 2; max-width: 400px; width: 100%; aspect-ratio: auto; display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 22px 22px 18px;
  border-radius: 28px; background: linear-gradient(180deg, rgba(38,54,140,.9) 0%, rgba(21,31,92,.95) 100%); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.65); overflow: visible; }
.ring { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.ring canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(245,190,37,.18), transparent 70%); opacity: 0; pointer-events: none; }
.is-playing .ring::before { opacity: 1; animation: ring-pulse 2.4s ease-in-out infinite; }
@keyframes ring-pulse { 0%, 100% { transform: scale(.94); opacity: .55; } 50% { transform: scale(1.06); opacity: 1; } }
.stage-play { background: var(--gold); color: var(--navy); }
.stage-info { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.stage-meta { display: none; }
.np-name { gap: 4px; min-width: 0; max-width: 100%; }
.np-title { font-weight: 600; font-size: clamp(20px, 2vw, 24px); color: #fff; text-shadow: none; max-width: 100%; }
.np-line { font-family: var(--f-ui); color: var(--gold); font-size: 13px; }
.stage-info .np-pill { height: 12px; }
.stage-info .seekbar { position: static; width: 100%; background: transparent; padding: 0; gap: 8px; }
.stage-info .seekbar input { accent-color: var(--gold); }
.stage-info .seek-skip { width: 30px; height: 30px; font-size: 11px; }

/* daily verse: a glass card, then the streak */
.hero .daily { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 16px 18px; gap: 6px; max-width: 560px; }
.hero .daily .daily-k { display: block; font: 700 12px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.hero .daily .daily-t { font: 400 18px/1.45 var(--f-scripture); color: #fff; }
.hero .daily cite { display: block; font: 600 13.5px var(--f-ui); font-style: normal; color: rgba(255,255,255,.7); }
.hero .daily-act { margin-top: 6px; }
.hero .streak { margin: 0; padding: 0; border: 0; background: transparent; width: auto; }
.hero .streak p { font-family: var(--f-ui); }
.hero .streak-days span.on { background: var(--gold); color: var(--navy); }

/* finder */
.finder-browse { background: var(--navy); }
.finder-box input { font-family: var(--f-ui); }
.fl-dot { background: var(--gold); }

/* playlists: editorial cards */
.playlists { padding-block: 36px 24px; }
.pl-head { align-items: center; justify-content: space-between; }
.pl-foryou-slot { display: flex; }
.pl-foryou { border-radius: 999px; padding: 8px 16px 8px 8px; background: var(--gold) !important; color: var(--navy) !important; display: flex; align-items: center; gap: 10px; border: 0; text-align: left; }
.pl-foryou .pi { width: 32px; height: 32px; border-radius: 50%; background: rgba(21,31,92,.12); display: grid; place-items: center; }
.pl-foryou b { display: block; font: 700 14.5px var(--f-ui); }
.pl-foryou small { display: block; font-size: 12px; opacity: .8; }
.pl-grid2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.pl-card2 { position: relative; display: flex; align-items: flex-end; min-height: 150px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; text-align: left; color: #fff; background-size: cover; isolation: isolate; }
.pl-card2 .pl-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(21,31,92,.88), rgba(21,31,92,.15)); }
.pl-card2 .pl-badge { position: absolute; z-index: 1; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.pl-card2 .pl-meta { position: relative; z-index: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pl-card2 .pl-meta b { font: 600 19px/1.2 var(--f-scripture); }
.pl-card2 .pl-meta small { font: 500 12.5px var(--f-ui); opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-card2:hover .pl-shade { background: linear-gradient(to top, rgba(21,31,92,.92), rgba(21,31,92,.25)); }
.pl-card2.is-current { outline: 3px solid var(--gold); outline-offset: 2px; }
.pl-card2 .i-pause, .is-playing .pl-card2:not(.is-current) .i-pause { display: none; }
.pl-card2.is-current .i-play { display: none; }
.pl-card2.is-current .i-pause { display: block; }
.is-playing .pl-card2:not(.is-current) .i-play { display: block; }
/* warm painted scenes, one per playlist */
.art-comfort { background: radial-gradient(40% 30% at 70% 38%, #FFE3A1 0%, rgba(255,227,161,0) 70%), linear-gradient(180deg, #F2B15A 0%, #D9703C 45%, #6E3528 75%, #3B1E20 100%); }
.art-thanks { background: radial-gradient(28% 22% at 30% 30%, #FFF2BF 0%, rgba(255,242,191,0) 70%), linear-gradient(180deg, #F4D27A 0%, #C9B05A 40%, #6E8A3C 70%, #2F4524 100%); }
.art-study { background: repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 6px, rgba(255,255,255,.04) 6px 14px, rgba(0,0,0,.1) 14px 22px), linear-gradient(180deg, #8A5A34 0%, #5B3820 50%, #2A180D 100%); }
.art-family { background: radial-gradient(12% 12% at 25% 40%, rgba(255,214,140,.9), transparent 70%), radial-gradient(9% 9% at 60% 30%, rgba(255,190,110,.8), transparent 70%), radial-gradient(14% 14% at 80% 55%, rgba(255,226,170,.75), transparent 70%), radial-gradient(8% 8% at 45% 62%, rgba(255,200,120,.7), transparent 70%), linear-gradient(180deg, #7A3A1C 0%, #4A2112 60%, #2A120A 100%); }
.art-morning { background: radial-gradient(35% 28% at 50% 70%, #FFF1C9 0%, rgba(255,241,201,0) 75%), linear-gradient(180deg, #F7D9A8 0%, #F0A866 45%, #A8627A 80%, #5A3A64 100%); }
.art-night { background: radial-gradient(6% 6% at 78% 22%, #FFF6D8 0%, #F5E2A6 60%, transparent 70%), radial-gradient(1px 1px at 20% 20%, #fff, transparent), radial-gradient(1px 1px at 40% 35%, #fff, transparent), radial-gradient(1.5px 1.5px at 60% 15%, #fff, transparent), radial-gradient(1px 1px at 30% 50%, #fff, transparent), linear-gradient(180deg, #1B2768 0%, #121B52 60%, #0B1238 100%); }
.art-courage { background: linear-gradient(160deg, transparent 55%, rgba(21,31,92,.55) 55.5%), linear-gradient(20deg, transparent 50%, rgba(30,40,90,.45) 50.5%), radial-gradient(30% 25% at 65% 25%, #FFE2A8 0%, rgba(255,226,168,0) 70%), linear-gradient(180deg, #E8B87A 0%, #B9876A 45%, #5E4A5E 100%); }
.art-sorry { background: radial-gradient(40% 30% at 60% 75%, rgba(255,226,180,.9) 0%, rgba(255,226,180,0) 70%), linear-gradient(180deg, #9FB0C4 0%, #C7B9A8 55%, #E4B98A 100%); }

/* bottom tabs */
.tabbar a { gap: 3px; font: 500 11px var(--f-ui); color: var(--slate); position: relative; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: -6px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); }
:root[data-theme="dark"] .tabbar a[aria-current="page"] { color: var(--gold); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tabbar a[aria-current="page"] { color: var(--gold); } }

/* tablets */
@media (max-width: 980px) {
  .pl-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* phones: headline first, then a compact player, then search, then today's verse */
@media (max-width: 767px) {
  .bar-give { display: none; }
  .bar-act { margin-left: auto; }
  main { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .hero { padding-block: 22px 26px; }
  .hero-in { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-copy { display: contents; }
  .hero-k { order: 1; margin-bottom: -6px; }
  .hero-copy h1 { order: 2; font-size: clamp(27px, 8vw, 34px); max-width: none; }
  .hero-copy .lede { order: 3; font-size: 15px; }
  .hero .stage { order: 4; max-width: none; flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 18px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); max-height: 88px; box-shadow: none; }
  .ring { width: 66px; height: 66px; flex: none; aspect-ratio: auto; }
  .stage-play { width: 40px; height: 40px; box-shadow: none; }
  .stage-play svg { width: 20px; height: 20px; }
  .stage-info { flex: 1; align-items: flex-start; text-align: left; gap: 3px; }
  .np-name { align-items: flex-start; width: 100%; }
  .np-title { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
  .np-line { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
  .stage-info .np-pill { position: absolute; right: 0; top: 2px; }
  .stage-info .seekbar { display: none; }
  .finder { order: 5; max-width: none; }
  .hero .daily { order: 6; max-width: none; }
  .hero .streak { order: 7; }
  .finder-box { padding: 5px 5px 5px 14px; gap: 6px; }
  .finder-box input { font-size: 15px; padding: 8px 0; }
  .finder-browse { padding: 9px 14px; font-size: 13.5px; }
  .finder-list { position: absolute; left: 0; right: 0; max-height: 55vh; }
  .pl-grid2 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)); scroll-padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
  .pl-card2 { scroll-snap-align: start; min-height: 140px; }
  .pl-head { flex-direction: column; align-items: flex-start; }
  .mini { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 380px) {
  .hero .stage { padding: 8px 10px 8px 8px; }
  .ring { width: 58px; height: 58px; }
  .finder-box input { font-size: 14.5px; }
  .finder-browse { padding: 8px 11px; }
  .pl-grid2 { grid-auto-columns: 82%; }
  .hero .daily { padding: 14px; }
}
/* fixes after the breakpoint audit */
.hero-copy { order: 1; }
@media (min-width: 768px) and (max-width: 1023px) {
  .nav { display: none; }
  .bar-act { margin-left: auto; }
  .hero-in { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; }
  .hero .stage { padding: 16px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); padding: 6px max(8px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-right, 0px)); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; text-decoration: none; padding: 4px 0; }
  main { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .mini { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}
.tabbar a { flex: 1 1 0; min-width: 0; }
@media (max-width: 380px) {
  .pl-grid2 { margin-inline: calc(-1 * max(14px, env(safe-area-inset-left, 0px))); padding-inline: max(14px, env(safe-area-inset-left, 0px)); scroll-padding-inline: max(14px, env(safe-area-inset-left, 0px)); }
}

/* ===================== Round 5: pink is back for giving, photo playlists, "Made for you", Learn page ===================== */
:root { --pink: #E4265E; --pink-hi: #F0457A; --give: #E4265E; --give-hi: #F0457A; }
.btn-give, .btn-give:hover { background: var(--pink); color: #fff; }
.btn-give:hover { background: var(--pink-hi); }
.bar-give { box-shadow: 0 6px 16px -8px rgba(228,38,94,.7); }
.tabbar a[data-tab="give"] svg { color: var(--pink); }
.fl-dot { background: var(--pink); }
.hero-k { color: #FF7FA3; }
.hero .daily .daily-k { color: var(--gold); }

/* streak: Monday to Sunday, with days still to come shown faintly */
.streak-days span.is-future { opacity: .45; }
.hero .streak-days span.on { background: var(--pink); color: #fff; }

/* playlist photos (CC0, from StockSnap via Openverse) */
.art-comfort { background: url(assets/pl/comfort.jpg) center/cover; }
.art-thanks { background: url(assets/pl/thanks.jpg) center/cover; }
.art-study { background: url(assets/pl/study.jpg) center/cover; }
.art-family { background: url(assets/pl/family.jpg) center 30%/cover; }
.art-morning { background: url(assets/pl/morning.jpg) center/cover; }
.art-night { background: url(assets/pl/night.jpg) center/cover; }
.art-courage { background: url(assets/pl/courage.jpg) center 60%/cover; }
.art-sorry { background: url(assets/pl/sorry.jpg) center/cover; }
.pl-card2 { min-height: 190px; transition: transform .2s ease, box-shadow .2s ease; }
.pl-card2:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(21,31,92,.6); }
.pl-card2.is-current { outline-color: var(--pink); }
.pl-card2.is-current .pl-badge { background: var(--pink); color: #fff; }

/* "Made for you": a wide feature card above the playlists */
.fy-slot { margin-top: 16px; }
.fy-card { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; grid-template-columns: 132px 1fr auto; align-items: center; gap: 22px; width: 100%;
  padding: 16px 22px 16px 16px; border-radius: 22px; color: #fff !important; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 100% 0%, #E4265E 0%, rgba(228,38,94,0) 55%), linear-gradient(115deg, #151F5C 0%, #26368C 60%, #5B2A86 100%) !important;
  box-shadow: 0 18px 40px -24px rgba(21,31,92,.8); transition: transform .2s ease; }
.fy-card:hover { transform: translateY(-2px); }
.fy-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.fy-card::after { content: ""; position: absolute; right: -40px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; z-index: -1;
  background: repeating-radial-gradient(circle, rgba(255,255,255,.10) 0 2px, transparent 2px 10px); }
.fy-art { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 132px; height: 132px; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); transform: rotate(-3deg); }
.fy-art i { display: block; }
.fy-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fy-k { font: 700 12px var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: #FFB3C8; }
.fy-t { font: 700 clamp(22px, 2.6vw, 30px)/1.1 var(--f-scripture); }
.fy-why { font: 500 14.5px var(--f-ui); color: rgba(255,255,255,.85); }
.fy-list { font: 400 13.5px/1.4 var(--f-ui); color: rgba(255,255,255,.65); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fy-play { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); box-shadow: 0 10px 22px -8px rgba(0,0,0,.55); }
.fy-card .i-pause, .is-playing .fy-card:not(.is-current) .i-pause { display: none; }
.fy-card.is-current .i-play { display: none; }
.fy-card.is-current .i-pause { display: block; }
.is-playing .fy-card:not(.is-current) .i-play { display: block; }
.fy-card.is-current { box-shadow: 0 0 0 3px var(--pink), 0 18px 40px -24px rgba(21,31,92,.8); }
@media (max-width: 640px) {
  .fy-card { grid-template-columns: 84px 1fr; gap: 14px; padding: 14px; }
  .fy-art { width: 84px; height: 84px; border-radius: 10px; }
  .fy-play { position: absolute; right: 12px; top: 12px; width: 42px; height: 42px; }
  .fy-txt { padding-right: 40px; }
  .fy-list { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* Learn a verse: a heading band, the game, and a side panel on wide screens */
.page-sheet .sheet-bar h2 { color: var(--fg); }
.learn-layout { max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "hero hero" "main side"; gap: 22px 28px; align-items: start; }
.learn-hero { grid-area: hero; border-radius: 22px; padding: 28px 30px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 140% at 100% 0%, rgba(228,38,94,.55) 0%, rgba(228,38,94,0) 60%), linear-gradient(120deg, #151F5C, #26368C); }
.learn-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; background: url(assets/pl/sorry.jpg) right center/cover; mix-blend-mode: soft-light; }
.learn-k { font: 700 12px var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.learn-hero h3 { font: 700 clamp(26px, 3.4vw, 38px)/1.12 var(--f-scripture); margin-top: 6px; }
.learn-q { margin-top: 10px; max-width: 54ch; font: italic 400 17px/1.5 var(--f-scripture); color: rgba(255,255,255,.85); }
.learn-q span { font: 600 13px var(--f-ui); font-style: normal; color: #FFB3C8; margin-left: 4px; }
.learn-main { grid-area: main; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.learn-side { grid-area: side; display: flex; flex-direction: column; gap: 16px; }
.ls-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.ls-card h4 { font: 700 16px var(--f-scripture); color: var(--fg); margin-bottom: 8px; }
.ls-progress { display: flex; gap: 16px; align-items: center; }
.ls-progress h4 { margin-bottom: 2px; }
.ls-progress p { font-size: 13.5px; color: var(--muted); }
.ls-ring { position: relative; width: 64px; height: 64px; flex: none; display: grid; place-items: center; }
.ls-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ls-ring circle { fill: none; stroke-width: 4; }
.ls-track { stroke: var(--surface2); }
.ls-fill { stroke: var(--pink); stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
.ls-ring b { font: 700 22px var(--f-scripture); color: var(--fg); }
.ls-steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; }
.ls-steps li { counter-increment: s; position: relative; padding-left: 38px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.ls-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font: 700 13px var(--f-ui); }
.ls-steps b { color: var(--fg); }
.ls-more { display: flex; flex-direction: column; gap: 8px; }
.ls-verse { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.ls-verse:hover, .ls-verse:focus-visible { border-color: var(--pink); }
.ls-verse b { font: 700 12.5px var(--f-ui); color: var(--pink); letter-spacing: .02em; }
.ls-verse span { font: 400 14px/1.4 var(--f-scripture); color: var(--fg); }
@media (max-width: 900px) {
  .learn-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero" "main" "side"; }
  .learn-hero { padding: 22px; }
}
.fy-card .fy-t { font: 700 clamp(22px, 2.6vw, 30px)/1.1 var(--f-scripture); }
.ls-card h4 { margin-top: 0; }
.ls-card > :first-child { margin-top: 0; }
.ls-next .ls-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.game-learnt:empty { display: none; }
@media (max-width: 640px) { .ls-next .ls-more { grid-template-columns: 1fr; } }

/* ===================== Round 6: voice choice on the main card, and a player dock you can seek from anywhere ===================== */
.np-voice { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); margin-top: 10px; }
.np-voice button { border: 0; background: transparent; color: rgba(255,255,255,.8); font: 600 12.5px var(--f-ui); padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.np-voice button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.np-voice button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.mini-in { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px 14px 8px 8px; max-width: 680px; }
.mini-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mini-seek { display: flex; align-items: center; gap: 8px; padding-left: 4px; }
.mini-time { font: 500 12px var(--f-ui); color: var(--muted); font-variant-numeric: tabular-nums; min-width: 34px; text-align: center; }
.mini-skip { position: relative; flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--fg); display: grid; place-items: center; cursor: pointer; }
.mini-skip:hover { background: var(--surface2); }
.mini-skip small { position: absolute; font: 700 8px var(--f-ui); top: 50%; left: 50%; transform: translate(-50%, -38%); }
#miniRange { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 28px; background: transparent; cursor: pointer; --pos: 0%; }
#miniRange::-webkit-slider-runnable-track { height: 5px; border-radius: 99px; background: linear-gradient(to right, var(--pink) var(--pos), var(--line) var(--pos)); }
#miniRange::-moz-range-track { height: 5px; border-radius: 99px; background: linear-gradient(to right, var(--pink) var(--pos), var(--line) var(--pos)); }
#miniRange::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5.5px; border-radius: 50%; background: var(--pink); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
#miniRange::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--pink); border: 2px solid #fff; }
.mini .mini-btn { background: var(--gold); color: var(--navy); }
@media (max-width: 767px) {
  .np-voice { margin-top: 4px; }
  .np-voice button { padding: 3px 9px; font-size: 11.5px; }
  .hero .stage { max-height: none; }
  .mini-in { padding: 6px 10px 4px 6px; gap: 2px; }
  .mini-skip { width: 40px; height: 40px; }
}
.sp-inview .mini:not([hidden]) { display: block; }

/* ===================== Round 7: the streak goes back to gold; one panel to choose Bible, chapter, verse, voice and music ===================== */
.hero .streak-days span.on { background: var(--gold); color: var(--navy); }

.np-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; }
.np-controls .np-voice { margin-top: 0; }
.np-choose { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: #fff; font: 600 12.5px var(--f-ui); padding: 7px 13px; border-radius: 999px; cursor: pointer; }
.np-choose:hover { background: rgba(255,255,255,.14); }
.np-choose:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.picker { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(8,12,40,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.picker[hidden] { display: none; }
.pk-box { width: min(640px, 100%); max-height: min(88dvh, 820px); display: flex; flex-direction: column; background: var(--surface); color: var(--fg); border-radius: 24px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); overflow: hidden; }
.pk-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 12px; }
.pk-k { font: 700 11.5px var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.pk-head h3 { font: 700 23px/1.2 var(--f-scripture); margin-top: 3px; }
.pk-body { padding: 4px 22px 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.pk-f { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pk-f > span { font: 700 12px var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pk-f select { width: 100%; font: 500 15.5px var(--f-ui); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; }
.pk-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.pk-chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; max-height: 168px; overflow-y: auto; padding: 2px; }
.pk-chapters button, .pk-styles button, .pk-seg button { position: relative; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: 600 14px var(--f-ui); border-radius: 10px; cursor: pointer; }
.pk-chapters button { height: 40px; font-variant-numeric: tabular-nums; }
.pk-chapters button .pk-dot { position: absolute; top: 4px; right: 4px; }
.pk-styles { display: flex; flex-wrap: wrap; gap: 6px; }
.pk-styles button { padding: 8px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
.pk-seg { display: inline-flex; gap: 6px; }
.pk-seg button { padding: 9px 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.pk-chapters button[aria-pressed="true"], .pk-styles button[aria-pressed="true"], .pk-seg button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
:root[data-theme="dark"] .pk-chapters button[aria-pressed="true"], :root[data-theme="dark"] .pk-styles button[aria-pressed="true"], :root[data-theme="dark"] .pk-seg button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.pk-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); flex: none; }
.pk-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 22px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--surface); }
.pk-note { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.pk-go { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; font-size: 15px; }
@media (max-width: 640px) {
  .picker { padding: 0; place-items: end stretch; }
  .pk-box { width: 100%; max-height: 92dvh; border-radius: 22px 22px 0 0; }
  .pk-row { grid-template-columns: 1fr 1fr; }
  .pk-foot { flex-direction: column; align-items: stretch; }
  .pk-go { justify-content: center; }
  .np-controls { justify-content: flex-start; margin-top: 4px; gap: 6px; }
  .np-choose { padding: 4px 10px; font-size: 11.5px; }
}

/* ===================== Round 8: choose the Bible inside Browse ===================== */
.fl-bible { position: sticky; top: -6px; z-index: 1; display: flex; align-items: center; gap: 10px; margin: -6px -6px 4px; padding: 10px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.fl-bible span { font: 700 12px var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); flex: none; }
.fl-bible select { flex: 1; min-width: 0; font: 500 15px var(--f-ui); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
