/* =========================================================================
   Anointed — feature screens: Today · Feed · Plans · Prayer · Ask · Saved ·
   Share · Audio · More · Onboarding · Community
   ========================================================================= */

/* ---------- highlights ---------- */
.hl-copper { --hlc: #e59a5f; } .hl-gold { --hlc: #f1c94b; } .hl-sage { --hlc: #8fc79b; }
.hl-sky { --hlc: #7fb6ea; } .hl-rose { --hlc: #ef9aae; } .hl-lavender { --hlc: #b8a3ea; }
.verse.hl > .body > .scripture, .pd-verses li.hl span, .panel-verse.hl, .saved-card.hl .scripture {
  background: color-mix(in srgb, var(--hlc) 26%, transparent); border-radius: 10px; padding: 2px 8px; margin-left: -8px; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.verse.hl > button.num { border-color: color-mix(in srgb, var(--hlc) 70%, transparent); }
.verse.speaking > .body > .scripture { background: color-mix(in srgb, var(--accent) 14%, transparent); border-radius: 10px; padding: 2px 8px; margin-left: -8px; transition: background var(--med); }
.hl-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin-right: 10px; vertical-align: 1px; }

.verse-tools { margin: 14px 0 6px; display: flex; flex-direction: column; gap: 12px; }
.hl-swatches { display: flex; gap: 10px; align-items: center; }
.hl-swatch { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform var(--med) var(--spring); }
.hl-swatch:hover { transform: scale(1.12); }
.hl-swatch.on { border-color: var(--ink); transform: scale(1.12); }
.hl-clear { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }
.hl-clear svg { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 2; }
.vt-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.vt { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: var(--surface-2); font-size: 13.5px; font-weight: 500; transition: background var(--fast), transform var(--med) var(--spring); }
.vt svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vt:active { transform: scale(0.95); }
.vt.on { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.vt.on svg { fill: currentColor; }
.vt.ai { background: var(--ink); color: var(--canvas); }

/* ---------- streak ---------- */
.streak-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px 7px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--hero-ink); border: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.streak-chip svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; opacity: .6; }
.streak-chip b { font-size: 15px; font-weight: 600; }
.streak-chip span { opacity: .6; }
.streak-chip.lit svg { fill: #f08a3c; stroke: #f5b36c; opacity: 1; filter: drop-shadow(0 0 8px rgba(240,138,60,.7)); }

/* ---------- Today ---------- */
.today-hero { padding-bottom: 28px; }
.today-hero .hero-title { margin: 14px 0 12px; }
.today-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: relative; z-index: 2; }
.week-dots { display: flex; gap: 10px; position: relative; z-index: 2; margin-bottom: 24px; }
.week-dots span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: rgba(255,255,255,.45); }
.week-dots i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); }
.week-dots .done i { background: var(--copper-grad); border-color: transparent; box-shadow: 0 0 14px var(--copper-glow); }
.week-dots .now { color: var(--hero-ink); }
.week-dots .now i { border-color: rgba(255,255,255,.7); }
.votd { position: relative; z-index: 2; padding: 30px 28px 22px; border-radius: var(--r-xl); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); max-width: 780px; }
.votd .eyebrow { color: rgba(255,255,255,.55); }
.votd-text { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.3; letter-spacing: -0.03em; font-weight: 500; margin: 14px 0 16px; color: var(--hero-ink); }
[data-scripture="serif"] .votd-text { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.votd.hl .votd-text { text-shadow: 0 0 40px color-mix(in srgb, var(--hlc) 60%, transparent); }
.votd-ref { display: inline-flex; align-items: center; gap: 6px; color: #f0a46a; font-weight: 600; font-size: 15px; }
.votd-ref svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.votd-actions { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.votd .vt { background: rgba(255,255,255,.1); color: var(--hero-ink); }
.votd .vt.ai { background: var(--hero-ink); color: #111; }
.votd .vt.on { background: rgba(240,138,60,.25); color: #ffc08f; }

.today-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.t-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow-sm); min-width: 0; }
.t-card h3 { font-size: 24px; letter-spacing: -0.035em; font-weight: 500; margin: 8px 0; line-height: 1.15; }
.t-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.t-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; color: var(--muted); }
.t-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.devo { grid-column: span 7; }
.plans-card { grid-column: span 5; }
.note-back, .word-day, .pray-card { grid-column: span 4; }
.feed-cta { grid-column: span 12; }
.devo-title { font-size: 30px !important; }
.devo p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); margin: 10px 0; }
.devo-q, .devo-prayer { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface-2); }
.devo-q p, .devo-prayer p { margin: 6px 0 0; color: var(--ink); }
.devo-prayer { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.devo-prayer p { font-style: italic; }
.devo-loading { display: flex; align-items: center; gap: 14px; padding: 30px 0; }
.plan-row { display: flex; align-items: center; gap: 14px; padding: 12px 6px; border-radius: var(--r-md); transition: background var(--fast); }
.plan-row:hover { background: var(--surface-2); }
.plan-row + .plan-row { border-top: 1px solid var(--line); }
.plan-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.plan-info b { font-weight: 500; }
.plan-info span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-row .go svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; }
.plan-ring { --p: 0; flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 360deg), var(--surface-2) 0); position: relative; }
.plan-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--surface); }
.plan-ring span { position: relative; font-size: 11.5px; font-weight: 600; }
.plan-ring.big { width: 150px; height: 150px; background: conic-gradient(#e08a4a calc(var(--p) * 360deg), rgba(255,255,255,.1) 0); }
.plan-ring.big::before { inset: 12px; background: var(--hero); }
.plan-ring.big span { font-size: 26px; color: var(--hero-ink); letter-spacing: -0.03em; }
.note-back-body { text-align: left; display: block; width: 100%; }
.note-back-body b { font-weight: 500; font-size: 16px; }
.note-back-body p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin: 8px 0 0; }
.word-day { cursor: pointer; position: relative; overflow: hidden; }
.wd-xlit { font-size: 46px; font-weight: 500; letter-spacing: -0.05em; line-height: 1.05; margin-top: 10px; }
.wd-mean { font-size: 22px; color: var(--accent); font-weight: 500; letter-spacing: -0.03em; }
.wd-def { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.wd-orig { display: block; font-family: var(--serif); font-size: 18px; color: var(--muted); margin-top: 12px; }
.pray-card .btn { margin-top: 12px; }
.feed-cta { background: var(--hero); color: var(--hero-ink); border: none; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 32px; }
.feed-cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, var(--copper-glow), transparent 60%); opacity: .5; pointer-events: none; }
.feed-cta h3 { font-size: clamp(30px, 4vw, 46px) !important; position: relative; z-index: 1; }
.feed-cta .eyebrow { color: rgba(255,255,255,.5); position: relative; z-index: 1; }
.feed-cta .btn { align-self: flex-start; position: relative; z-index: 1; }

/* ---------- Feed ---------- */
body.feed-mode .topbar, body.feed-mode #setup-banner { display: none; }
body.feed-mode { overflow: hidden; background: #000; }
body.feed-mode .app { padding: 0 !important; max-width: none !important; }
.feed-wrap { position: fixed; inset: 0; background: #000; z-index: 5; }
.feed { height: 100dvh; overflow-y: scroll; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none; }
.feed::-webkit-scrollbar { display: none; }
.feed-top { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top) + 14px) 18px 14px; background: linear-gradient(rgba(0,0,0,.45), transparent); pointer-events: none; }
.feed-top > * { pointer-events: auto; }
.feed-top .wordmark { color: #fff; font-size: 20px; }
.feed-top .wordmark span { color: rgba(255,255,255,.5); }
.feed-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.feed-tabs button { padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.7); }
.feed-tabs button.on { background: #fff; color: #000; }
.feed-new { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); backdrop-filter: blur(16px); }
.feed-new svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; }
.feed-progress { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 3px; height: 90px; border-radius: 3px; background: rgba(255,255,255,.15); z-index: 10; overflow: hidden; }
.feed-progress i { display: block; width: 100%; height: calc(var(--p, 0) * 100%); background: #fff; transition: height var(--med) var(--ease); }

.fcard { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff; padding: 90px 84px 130px 26px; }
@media (min-width: 761px) { .fcard { padding: 90px max(26px, calc(50vw - 330px)) 110px; } .fcard .rail { right: max(18px, calc(50vw - 380px)); } }
.fc-body { position: relative; z-index: 2; width: 100%; max-width: 620px; }
.fc-verse { font-size: 30px; line-height: 1.28; letter-spacing: -0.035em; font-weight: 500; margin: 0 0 22px; text-wrap: pretty; }
[data-scripture="serif"] .fc-verse { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.fc-verse.size-xl { font-size: clamp(36px, 7vw, 56px); } .fc-verse.size-l { font-size: clamp(30px, 5.6vw, 44px); }
.fc-verse.size-m { font-size: clamp(25px, 4.6vw, 34px); } .fc-verse.size-s { font-size: clamp(21px, 3.8vw, 28px); }
.fc-ref { font-weight: 600; font-size: 16px; opacity: .85; }
.fc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.fc-tags span { padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 12.5px; backdrop-filter: blur(10px); }
.fc-open { position: absolute; left: 26px; bottom: calc(env(safe-area-inset-bottom) + 96px); z-index: 3; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(12px); color: #fff; }
.fc-open svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (min-width: 761px) { .fc-open { left: max(26px, calc(50vw - 330px)); bottom: 40px; } }
.fw2 { display: inline-block; white-space: pre; opacity: 0; filter: blur(10px); transform: translateY(14px); }
.fcard.in .fw2 { animation: fw2 700ms var(--ease) forwards; animation-delay: calc(var(--i) * 28ms); }
@keyframes fw2 { to { opacity: 1; filter: blur(0); transform: none; } }
[data-motion="reduced"] .fw2 { opacity: 1; filter: none; transform: none; animation: none !important; }

.fbg-0 { background: radial-gradient(90% 60% at 80% 10%, rgba(214,118,52,.55), transparent 60%), radial-gradient(80% 60% at 10% 100%, rgba(120,60,30,.5), transparent 60%), #0b0908; }
.fbg-1 { background: linear-gradient(160deg, #1a2744, #0b0f1f 70%); }
.fbg-1::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 50% at 50% 0%, rgba(150,170,255,.3), transparent 70%); }
.fbg-2 { background: linear-gradient(170deg, #f3c28e, #d9794a 55%, #7a3212); }
.fbg-3 { background: radial-gradient(90% 70% at 20% 20%, rgba(143,199,155,.45), transparent 60%), linear-gradient(180deg, #13261b, #0a130d); }
.fbg-4 { background: radial-gradient(80% 60% at 70% 20%, rgba(184,163,234,.45), transparent 60%), linear-gradient(180deg, #1b1430, #0c0916); }
.fbg-5 { background: #f4efe6; color: #1c1712; }
.fbg-5 .fc-tags span, .fbg-5 .fc-open, .fbg-5 .rail-ic { background: rgba(0,0,0,.07); color: #1c1712; }
.fbg-5 .rail-btn { color: #1c1712; }
.fbg-5 .fc-ref { color: #a15a26; }

.rail { position: absolute; right: 14px; bottom: calc(env(safe-area-inset-bottom) + 100px); z-index: 4; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.rail-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font-size: 11.5px; font-weight: 500; }
.rail-ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform var(--med) var(--spring), background var(--fast); }
.rail-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn:active .rail-ic { transform: scale(0.88); }
.rail-btn.on .rail-ic { background: rgba(240,138,60,.3); color: #ffb37a; }
.rail-btn.on .rail-ic svg { fill: currentColor; }
.burst { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%) scale(0); z-index: 5; color: #ff9d5c; pointer-events: none; opacity: 0; }
.burst svg { width: 120px; height: 120px; fill: currentColor; stroke: none; filter: drop-shadow(0 0 30px rgba(255,140,70,.8)); }
.fcard.burst-go .burst { animation: burst 900ms var(--spring); }
@keyframes burst { 0% { transform: translate(-50%,-50%) scale(0); opacity: 0; } 25% { transform: translate(-50%,-50%) scale(1.15); opacity: 1; } 60% { transform: translate(-50%,-50%) scale(.95); opacity: 1; } 100% { transform: translate(-50%,-80%) scale(1); opacity: 0; } }

.fk-note { background: radial-gradient(70% 50% at 20% 10%, rgba(214,118,52,.25), transparent 60%), #111013; }
.fc-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.fc-kicker svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.fc-note-title { font-size: 28px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; margin: 0 0 14px; }
.fc-note { font-size: 20px; line-height: 1.55; color: rgba(255,255,255,.88); margin: 0; }
.fc-note.size-xl, .fc-note.size-l { font-size: 26px; line-height: 1.4; letter-spacing: -0.02em; }
.fc-quote { margin: 20px 0 0; padding: 14px 16px; border-left: 2px solid #e08a4a; background: rgba(255,255,255,.06); border-radius: 0 14px 14px 0; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.75); }
.fc-quote cite { display: block; font-style: normal; font-weight: 600; font-size: 13px; color: #f0a46a; margin-top: 6px; }
.fc-quote mark { background: rgba(240,138,60,.35); color: #fff; border-radius: 4px; padding: 0 3px; }
.fk-word { background: radial-gradient(80% 60% at 50% 0%, rgba(214,118,52,.4), transparent 60%), #0c0b0a; }
.fc-xlit { font-size: clamp(64px, 16vw, 110px); font-weight: 500; letter-spacing: -0.06em; line-height: .95; }
.fc-mean { font-size: clamp(28px, 6vw, 40px); color: #f0a46a; font-weight: 500; letter-spacing: -0.04em; margin-top: 8px; }
.fc-also { font-size: 16px; color: rgba(255,255,255,.6); margin-top: 6px; }
.fc-orig { font-family: var(--serif); font-size: 30px; color: rgba(255,255,255,.5); margin-top: 14px; }
.fc-def { font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.7); margin: 14px 0 0; }
.fk-topic { background: #0b0b0c; }
.fc-giant { position: absolute; left: -2%; bottom: 8%; font-size: 34vw; font-weight: 600; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.07); white-space: nowrap; pointer-events: none; line-height: 1; }
.fc-topic { font-size: clamp(48px, 11vw, 84px); font-weight: 500; letter-spacing: -0.06em; line-height: 1; margin: 0 0 22px; }
.fc-topic .dot { color: #e08a4a; }
.fc-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.fc-list a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.85); }
.fc-list b { font-size: 12.5px; color: #f0a46a; font-weight: 600; }
.fk-post { background: radial-gradient(70% 50% at 80% 10%, rgba(127,182,234,.28), transparent 60%), #0d0f14; }
.fk-empty { background: #0b0b0c; }
.avatar { --h: 24; flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-style: normal; font-weight: 600; font-size: 16px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 70% 62%), hsl(calc(var(--h) + 40) 60% 42%)); }
.avatar.sm { width: 26px; height: 26px; font-size: 12px; }
.avatar.lg { width: 64px; height: 64px; font-size: 26px; }
.avatar.xl { width: 88px; height: 88px; font-size: 36px; margin-bottom: 16px; }

/* ---------- Plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 26px; }
.plan-tile { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform var(--med) var(--spring), box-shadow var(--med); min-height: 200px; }
.plan-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan-tile h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.035em; margin: 0; line-height: 1.1; }
.plan-tile p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.5; flex: 1; }
.plan-tile.active { background: var(--hero); color: var(--hero-ink); border-color: transparent; }
.plan-tile.active p { color: rgba(255,255,255,.55); }
.plan-tile.personal { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.pt-kicker { font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--accent); }
.pt-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pt-foot .go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.pt-progress { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.pt-progress i { display: block; height: 100%; background: var(--copper-grad); }
.plan-hero .hero-side { display: grid; place-items: center; }
.day-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; }
.day-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.day-list .dn { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 13px; font-weight: 600; }
.day-list .dn svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.4; }
.day-list .done .dn { background: var(--copper-grad); }
.day-list .next { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.day-list .dt { flex: 1; min-width: 0; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.day-list .go svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 2; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.back-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.pd-block { margin: 20px 0 30px; }
.pd-verses { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: var(--reading-size); line-height: 1.6; }
[data-scripture="serif"] .pd-verses, [data-scripture="serif"] .pd-card .scripture { font-family: var(--serif); }
.pd-verses li { display: flex; gap: 12px; align-items: baseline; position: relative; }
.pd-verses .num { flex: none; min-width: 30px; height: 26px; border-radius: 999px; font-size: 12px; background: var(--surface-2); }
.pd-noted { position: absolute; right: -2px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pd-card { padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); margin-bottom: 12px; }
.pd-card .ref { font-size: 13px; font-weight: 600; color: var(--accent); }
.pd-card .scripture { margin: 8px 0; }
.pd-card .note-back-body { margin-top: 10px; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); }
.pd-done { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 20px 0 40px; }
.btn.big { padding: 16px 16px 16px 26px; font-size: 16px; }
.celebrate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); animation: fade 200ms; }
.celebrate.out { opacity: 0; transition: opacity 300ms; }
.cel-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 44px; border-radius: 32px; background: var(--hero); color: var(--hero-ink); animation: pop 500ms var(--spring); }
.cel-flame svg { width: 64px; height: 64px; fill: #f08a3c; stroke: #f5b36c; stroke-width: 1.2; filter: drop-shadow(0 0 20px rgba(240,138,60,.8)); }
.cel-card b { font-size: 34px; letter-spacing: -0.04em; font-weight: 500; }
.cel-card span { color: rgba(255,255,255,.6); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Prayer ---------- */
.pray-compose { padding: 20px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.pray-compose textarea { width: 100%; border: none; background: transparent; font: inherit; font-size: 19px; line-height: 1.55; resize: vertical; outline: none; color: var(--ink); min-height: 110px; }
.pray-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.pray-row input { flex: 1; min-width: 200px; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; background: var(--surface-2); font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.prayer-list { display: flex; flex-direction: column; gap: 12px; }
.prayer-card { padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.prayer-card p { font-size: 17px; line-height: 1.6; margin: 10px 0 14px; white-space: pre-wrap; }
.prayer-card.answered { background: color-mix(in srgb, #3fb56b 7%, var(--surface)); }
.pc-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); }
.pc-meta a { color: var(--accent); font-weight: 500; }
.answered-tag { display: inline-flex; align-items: center; gap: 5px; color: #2f8a52; font-weight: 600; }
.answered-tag svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.pc-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.pc-actions button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 500; }
.pc-actions svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pc-actions .danger { color: #c0392b; }

/* ---------- Ask ---------- */
.ask-thread { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.ask-verse { margin: 0 0 6px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface-2); font-size: 16px; line-height: 1.55; }
.ask-verse cite { display: block; font-style: normal; font-weight: 600; font-size: 13px; color: var(--accent); margin-top: 6px; }
.bubble { max-width: 92%; padding: 14px 18px; border-radius: 22px; font-size: 15.5px; line-height: 1.6; }
.bubble.me { align-self: flex-end; background: var(--ink); color: var(--canvas); border-bottom-right-radius: 8px; }
.bubble.ai { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 8px; }
.ask-text p { margin: 0 0 10px; } .ask-text p:last-child { margin: 0; }
.ask-text ul, .ask-text ol { margin: 6px 0 10px; padding-left: 20px; }
.ask-text .ref-link { color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ask-caret { display: inline-block; width: 8px; height: 16px; background: var(--accent); border-radius: 2px; vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
.ask-typing { display: inline-flex; gap: 4px; }
.ask-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.ask-typing i:nth-child(2) { animation-delay: .15s; } .ask-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.ask-prompts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ask-prompts button { padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; transition: background var(--fast); }
.ask-prompts button:hover { background: var(--surface-2); }
.ask-input { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); position: sticky; bottom: 12px; }
.ask-input input { flex: 1; border: none; background: transparent; font: inherit; font-size: 16px; outline: none; color: var(--ink); min-width: 0; }
.round-btn.dark { background: var(--ink); color: var(--canvas); border-color: transparent; }
.ask-foot { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.ask-answer { margin-top: 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface-2); font-size: 15.5px; line-height: 1.6; }
.ask-page .ask-input { position: sticky; bottom: calc(env(safe-area-inset-bottom) + 90px); }

/* ---------- Share image ---------- */
.share-stage { display: grid; place-items: center; padding: 10px 0 16px; }
.share-canvas { width: min(100%, 360px); height: auto; border-radius: 20px; box-shadow: var(--shadow-lg); }
.share-styles { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.share-styles button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 500; }
.share-styles button.on { border-color: var(--ink); }
.sw { width: 22px; height: 22px; border-radius: 50%; }
.sw-night { background: radial-gradient(circle at 70% 30%, #d6763a, #0b0908 70%); } .sw-ivory { background: #f5efe3; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.sw-sunrise { background: linear-gradient(135deg, #f6c58f, #8f3d14); } .sw-sage { background: #dfe6d8; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.sw-ink { background: #f6f6f4; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); } .sw-midnight { background: linear-gradient(180deg, #0e1330, #27183e); }

/* ---------- Audio player ---------- */
.player { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom) + 18px); z-index: 60; width: min(560px, calc(100vw - 24px)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); overflow: hidden; animation: pop 400ms var(--spring); }
.player[hidden] { display: none; }
.pl-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pl-k { font-size: 11px; color: var(--muted); font-weight: 500; }
.pl-t { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-controls { display: flex; gap: 4px; align-items: center; }
.pl-controls button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.pl-controls svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pl-main { background: var(--ink); color: var(--canvas); width: 46px !important; height: 46px !important; }
.pl-main svg { fill: currentColor; }
.pl-rate { font-size: 13px; font-weight: 600; width: auto !important; padding: 0 8px; }
.pl-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.pl-progress i { display: block; height: 100%; background: var(--accent); transition: width var(--med); }
@media (max-width: 760px) { .player { bottom: calc(env(safe-area-inset-bottom) + 84px); } }

/* ---------- More ---------- */
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.more-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform var(--med) var(--spring); }
.more-tile:active { transform: scale(.96); }
.mt-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); margin-bottom: 8px; }
.mt-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.more-tile b { font-weight: 500; font-size: 15px; }
.more-tile span:last-child { font-size: 12px; color: var(--muted); }
.more-foot { display: block; margin: 18px auto 4px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 761px) { .more-grid { grid-template-columns: repeat(4, 1fr); } }
.tabbar .tab-feed svg { stroke-width: 2; }

/* ---------- Onboarding ---------- */
body.onboarding { overflow: hidden; }
.onboarding { position: fixed; inset: 0; z-index: 300; background: #0a0807; color: #f5f1ec; display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top) + 18px) 24px calc(env(safe-area-inset-bottom) + 24px); overflow-y: auto; animation: fade 400ms; }
.onboarding.out { opacity: 0; transform: scale(1.02); transition: opacity 450ms var(--ease), transform 450ms var(--ease); }
.onboarding > * { width: 100%; max-width: 520px; margin-left: auto; margin-right: auto; }
.ob-glow { position: fixed; inset: -30%; background: radial-gradient(40% 35% at 70% 20%, rgba(214,118,52,.5), transparent 70%), radial-gradient(40% 40% at 20% 90%, rgba(120,60,30,.45), transparent 70%); animation: drift 14s ease-in-out infinite alternate; pointer-events: none; z-index: -1; }
@keyframes drift { to { transform: translate(6%, -4%) scale(1.08); } }
.ob-top { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.ob-back, .ob-skip { color: rgba(255,255,255,.6); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; }
.ob-back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.ob-dots { display: flex; gap: 6px; }
.ob-dots i { width: 18px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.15); transition: background var(--med), width var(--med) var(--ease); }
.ob-dots i.on { background: #e08a4a; }
.ob-body { flex: 1; padding: 30px 0 20px; animation: obIn 600ms var(--ease); }
@keyframes obIn { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }
.ob-h { font-size: clamp(38px, 9vw, 54px); font-weight: 500; letter-spacing: -0.055em; line-height: 1.02; margin: 10px 0 14px; }
.ob-p { color: rgba(255,255,255,.6); font-size: 16px; line-height: 1.5; margin: 0 0 22px; }
.ob-p.small { font-size: 13px; margin-top: 18px; }
.ob-input { width: 100%; background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,.2); color: #fff; font: inherit; font-size: 30px; letter-spacing: -0.03em; padding: 12px 0; outline: none; margin-top: 14px; }
.ob-input:focus { border-color: #e08a4a; }
.ob-list { display: flex; flex-direction: column; gap: 10px; }
.ob-list.compact .ob-choice { padding: 13px 18px; }
.ob-choice { position: relative; display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 17px 52px 17px 20px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.08); color: #fff; transition: background var(--fast), border-color var(--fast), transform var(--med) var(--spring); }
.ob-choice:active { transform: scale(.98); }
.oc-t { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.oc-s { font-size: 13.5px; color: rgba(255,255,255,.5); }
.oc-tick { position: absolute; right: 18px; top: 50%; transform: translateY(-50%) scale(.5); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e08a4a; opacity: 0; transition: all var(--med) var(--spring); }
.oc-tick svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.6; }
.ob-choice.on { background: rgba(224,138,74,.14); border-color: #e08a4a; }
.ob-choice.on .oc-tick { opacity: 1; transform: translateY(-50%) scale(1); }
.ob-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-chip { padding: 11px 16px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.1); color: #fff; font-size: 15px; transition: all var(--fast); }
.ob-chip.on { background: #f5f1ec; color: #111; border-color: #f5f1ec; }
.ob-mins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ob-min { display: flex; flex-direction: column; align-items: center; padding: 20px 0; border-radius: 20px; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.08); color: #fff; }
.ob-min b { font-size: 34px; font-weight: 500; letter-spacing: -0.04em; }
.ob-min span { font-size: 13px; color: rgba(255,255,255,.5); }
.ob-min.on { border-color: #e08a4a; background: rgba(224,138,74,.14); }
.ob-remind { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding: 16px 20px; border-radius: 20px; background: rgba(255,255,255,.06); font-size: 16px; }
.ob-remind input { background: transparent; border: none; color: #fff; font: inherit; font-size: 18px; font-weight: 500; color-scheme: dark; }
.ob-foot { display: flex; flex-direction: column; gap: 10px; align-items: stretch; padding-top: 10px; }
.ob-cta { justify-content: space-between; }
.ob-cta:disabled { opacity: .35; pointer-events: none; }
.ob-welcome, .ob-build, .ob-done { flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; }
.ob-logo .wordmark { font-size: clamp(64px, 17vw, 110px); color: #fff; letter-spacing: -0.065em; animation: obIn 1100ms var(--ease); display: block; }
.ob-logo .wordmark span { color: rgba(255,255,255,.4); }
.ob-tag { font-size: 24px; letter-spacing: -0.03em; margin: 12px 0 8px; animation: obIn 1100ms 250ms var(--ease) both; }
.ob-sub { color: rgba(255,255,255,.55); font-size: 16px; line-height: 1.5; margin: 0 0 40px; animation: obIn 1100ms 450ms var(--ease) both; }
.ob-welcome .ob-foot { animation: obIn 1100ms 650ms var(--ease) both; }
.ob-spinner { width: 54px; height: 54px; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); border-top-color: #e08a4a; animation: spin 900ms linear infinite; margin-bottom: 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
.ob-steps { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 14px; }
.ob-steps li { display: flex; gap: 12px; align-items: center; font-size: 16px; color: rgba(255,255,255,.8); opacity: 0; animation: obIn 500ms var(--ease) forwards; animation-delay: calc(var(--i) * 550ms + 200ms); }
.ob-steps svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #e08a4a; fill: none; stroke: #fff; stroke-width: 2.6; }
.ob-plan { padding: 22px; border-radius: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); margin-bottom: 26px; min-height: 120px; }
.ob-plan h3 { font-size: 28px; font-weight: 500; letter-spacing: -0.04em; margin: 6px 0; }
.ob-plan p { color: rgba(255,255,255,.65); margin: 0 0 8px; line-height: 1.5; }
.ob-plan .muted { color: rgba(255,255,255,.45); font-size: 14px; }
.ob-done .btn-ghost { color: rgba(255,255,255,.75); justify-content: center; }

/* ---------- Community ---------- */
.community-auth { display: grid; place-items: center; min-height: 70vh; }
.auth-card { width: min(460px, 100%); display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: center; padding: 36px 28px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.auth-card .display { font-size: clamp(34px, 6vw, 46px); margin: 0; }
.auth-card .btn { width: 100%; justify-content: center; }
.wordmark.big { font-size: 38px; }
.btn .g { width: 20px; height: 20px; background: #fff; border-radius: 50%; padding: 2px; }
.or { width: 100%; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.email-auth, .find { display: flex; gap: 8px; width: 100%; }
.email-auth input, .find input, .profile-form input, .comment-form input { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.email-auth .btn { width: auto; }
.fine { font-size: 12px; color: var(--muted); }
.profile-form { display: flex; flex-direction: column; gap: 14px; width: 100%; text-align: left; }
.profile-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.setup-steps .steps { padding-left: 20px; line-height: 1.7; }
.setup-steps .steps li { margin-bottom: 8px; }
.posts { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.post { padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.post header { display: flex; align-items: center; gap: 12px; }
.post-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.post-who b { font-weight: 600; font-size: 15px; }
.post-who span { font-size: 13px; color: var(--muted); }
.post-more { color: var(--muted); letter-spacing: 1px; padding: 6px; }
.post-title { display: block; font-weight: 600; margin: 14px 0 0; font-size: 16px; }
.post-body { font-size: 16px; line-height: 1.6; margin: 10px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.post-verse { margin: 12px 0 0; padding: 12px 14px; border-left: 2px solid var(--accent); background: var(--surface-2); border-radius: 0 12px 12px 0; font-size: 15px; line-height: 1.55; }
.post-verse a { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--accent); }
.post footer { display: flex; gap: 6px; margin-top: 14px; }
.react { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 500; transition: transform var(--med) var(--spring); }
.react svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.react:active { transform: scale(.92); }
.react.on { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.react.on svg { fill: currentColor; }
.comments { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.comment { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.comment span { display: block; font-size: 12px; color: var(--muted); }
.comment-form { display: flex; gap: 8px; }
.person { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); margin-bottom: 8px; }
.person > a { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.person > a span { font-size: 13px; color: var(--muted); }
.person > div { display: flex; gap: 6px; }
.invite { margin-bottom: 16px; }
.invite-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.invite-row code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); font-size: 13px; }
.me-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.me-card b { font-size: 20px; font-weight: 500; display: block; }
.me-card span { color: var(--muted); font-size: 14px; }
.me-card p { margin: 6px 0 0; }
.btn.danger { color: #c0392b; }
.share-form { display: flex; flex-direction: column; gap: 12px; }
.share-form textarea { width: 100%; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface-2); font: inherit; font-size: 16px; line-height: 1.55; color: var(--ink); outline: none; resize: vertical; }
.person-hero .hero-main { align-items: flex-start; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .today-grid { grid-template-columns: 1fr; gap: 12px; }
  .today-grid > * { grid-column: 1 / -1 !important; }
  .t-card { padding: 20px; border-radius: var(--r-lg); }
  .votd { padding: 22px 20px 18px; border-radius: var(--r-lg); }
  .votd-actions .vt span { display: none; }
  .votd-actions .vt { padding: 11px; }
  .week-dots { gap: 8px; }
  .fcard { padding: 80px 80px 150px 22px; }
  .fc-open { bottom: calc(env(safe-area-inset-bottom) + 96px); }
  .rail { bottom: calc(env(safe-area-inset-bottom) + 96px); right: 10px; }
  .rail-ic { width: 46px; height: 46px; }
  body.feed-mode .tabbar { background: rgba(0,0,0,.6); border-color: rgba(255,255,255,.08); }
  body.feed-mode .tabbar a { color: rgba(255,255,255,.6); }
  body.feed-mode .tabbar a.active { color: #fff; background: rgba(255,255,255,.12); }
  .plan-ring.big { width: 110px; height: 110px; }
  .day-list { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .more-tile { padding: 12px; }
  .more-tile span:last-child { display: none; }
}

.btn .g.apple { background: none; padding: 0; }

/* =========================================================================
   Navigation: sections (Today · Study · Feed · Social) + tabs inside each
   ========================================================================= */
.top-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sections { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 5%, transparent); }
.sections a { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 11px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); transition: background var(--med) var(--ease), color var(--med) var(--ease); }
.sections a svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sections a:hover { color: var(--ink); }
.sections a.active { background: var(--ink); color: var(--canvas); }
#nav[hidden] { display: none; }
.subnav { display: none; }

@media (max-width: 760px) {
  .sections { display: none; }
  .subnav:not([hidden]) {
    display: flex; gap: 4px; position: sticky; top: 72px; z-index: 29; margin: 10px 0 0; padding: 4px; width: fit-content; max-width: 100%;
    overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: var(--glass); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--glass-line); box-shadow: var(--shadow-sm);
  }
  .subnav::-webkit-scrollbar { display: none; }
  .subnav a { flex: none; padding: 9px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: all var(--med) var(--ease); }
  .subnav a.active { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
  .tabbar { grid-template-columns: repeat(4, 1fr) !important; }
  .tabbar a.active svg { stroke-width: 2; }
  body.feed-mode .subnav { display: none; }
}
/* desktop top bar: logo + sections | this section's tabs | actions */
@media (min-width: 761px) {
  .topbar { grid-template-columns: auto minmax(0, 1fr) auto; }
  #nav { justify-self: center; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  #nav::-webkit-scrollbar { display: none; }
  #nav a { flex: none; }
}
@media (max-width: 1560px) { .clock { display: none; } }
@media (max-width: 1500px) { .sections a span { display: none; } .sections a { padding: 0 10px; } }
.today-hero { display: block; }
.today-hero .hero-title { max-width: 900px; }

/* =========================================================================
   Your plan on Today: today's reading, done for today, finished, suggestions
   ========================================================================= */
.plan-ring span small { font-size: 9px; font-weight: 500; color: var(--muted); margin-left: 1px; }
.plan-row.pick-row .plan-ring span { display: flex; flex-direction: column; align-items: center; line-height: 1; gap: 1px; }
.plan-row.pick-row .plan-ring span small { margin: 0; font-size: 8.5px; letter-spacing: 0.02em; }
.plan-ring .pr-check { display: grid; place-items: center; }
.plan-ring .pr-check svg { width: 18px; height: 18px; stroke: var(--accent); stroke-width: 2.4; }
.plan-info .pr-today { color: var(--accent); font-weight: 500; }
.plan-info .pr-done { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 500; }
.plan-info .pr-done svg { width: 13px; height: 13px; stroke-width: 2.6; }
.plan-info .pr-pick { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.pr-cta { flex: none; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--canvas); transition: transform var(--med) var(--spring); }
.plan-row:hover .pr-cta { transform: translateX(2px); }
.plan-row.done-today .plan-ring, .plan-row.finished .plan-ring { background: conic-gradient(var(--accent) calc(var(--p) * 360deg), var(--surface-2) 0); }
.plan-row.finished .plan-ring::before { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.plans-empty { margin: 4px 0 6px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.plans-choose { margin-top: 12px; }
.plan-suggest:empty { display: none; }
.devo-loading { flex-direction: column; align-items: stretch; gap: 14px; padding: 12px 0 6px; }
.devo-loading p { margin: 0; }

/* the end-of-plan celebration */
.celebrate.big .cel-card { padding: 38px 40px 30px; max-width: min(360px, calc(100vw - 40px)); text-align: center; }
.celebrate.big .cel-flame svg { fill: none; stroke: #f5b36c; stroke-width: 2.4; }
.cel-card span { text-align: center; max-width: 280px; }
.cel-card small { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.cel-card small svg { width: 15px; height: 15px; fill: #f08a3c; stroke: #f5b36c; stroke-width: 1.2; }

/* =========================================================================
   Loading skeletons (Today, plans, a plan, a day) — shown only when a screen is slow
   ========================================================================= */
.sk {
  display: block; border-radius: 10px; max-width: 100%;
  background: linear-gradient(100deg, var(--surface-2) 20%, color-mix(in srgb, var(--surface-2) 35%, var(--surface)) 40%, var(--surface-2) 60%);
  background-size: 220% 100%; animation: skShine 1.5s ease-in-out infinite;
}
@keyframes skShine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.sk-stack { display: flex; flex-direction: column; gap: 10px; }
.sk-hero .sk, .sk-votd .sk { background-image: linear-gradient(100deg, rgba(255,255,255,.07) 20%, rgba(255,255,255,.16) 40%, rgba(255,255,255,.07) 60%); background-color: transparent; }
.sk-hero { min-height: 0; }
.sk-hero .today-top { display: flex; justify-content: space-between; align-items: center; }
.sk-dots { display: flex; gap: 10px; margin-bottom: 24px; }
.sk-dots .sk { width: 26px; height: 26px; border-radius: 50%; }
.sk-votd { min-height: 190px; }
.sk-row { pointer-events: none; }
.sk-row .plan-info { gap: 8px; }
.sk-ring { width: 48px; height: 48px; border-radius: 50% !important; flex: none; }
.sk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 22px; }
.sk-tile { display: flex; flex-direction: column; gap: 10px; min-height: 170px; }
.sk-card { margin-top: 16px; }
.sk-block { margin-top: 8px; }
.sk-view { animation: fade 240ms ease both; }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
[data-motion="reduced"] .sk { animation: none; }
/* a day with verses from different places: each keeps its own reference */
.pd-card.passage .scripture + .ref { display: inline-block; margin-top: 14px; }
