/* Najprv Boh style (keep/design/2026-10-29-styl-najprv-boh): Apple-like, warm neutrals, one burgundy accent.
   Dark is warm charcoal, never pure black. Dark is the default until theme.js applies the saved choice. */
:root {
  --bg: #181514; --page: #181514; --s1: #25211F; --s2: rgba(245,240,235,.10); --raise: #2F2A27; --ink: #F5F0EB; --mut: #A69D96; --line: rgba(245,240,235,.14);
  --hero: #C43A50; --heroInk: #FFFFFF; --heroSoft: rgba(255,255,255,.78);
  --acc: #C43A50; --onAcc: #FFFFFF; --soft: #FF8496; --accInk: #E0697C; --accSoft: rgba(224,105,124,.16); --gold: #E2B654;
  --ring: rgba(235,235,245,.3); --glass: rgba(37,33,31,.82); --glassLine: rgba(255,255,255,.12); --glassShadow: rgba(0,0,0,.4);
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
  --disp: ui-serif, "New York", Newsreader, Georgia, serif;
  --tabH: 90px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #FBF9F6; --page: #FBF9F6; --s1: #F3EEE7; --s2: rgba(120,100,80,.10); --raise: #FFFFFF; --ink: #1C1917; --mut: #6F665E; --line: rgba(80,60,40,.14);
  --hero: #8B1E2F; --heroInk: #FFFFFF; --heroSoft: rgba(255,255,255,.78);
  --acc: #8B1E2F; --onAcc: #FFFFFF; --soft: #8B1E2F; --accInk: #8B1E2F; --accSoft: rgba(139,30,47,.09); --gold: #D4A43A;
  --ring: rgba(80,60,40,.3); --glass: rgba(251,249,246,.84); --glassLine: rgba(0,0,0,.06); --glassShadow: rgba(0,0,0,.08);
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); touch-action: manipulation; }
body { font-family: var(--ui); font-size: 16px; line-height: 1.45; min-height: 100dvh; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: var(--ink); }
:focus-visible { outline: 2px solid var(--soft); outline-offset: 2px; border-radius: 6px; }

#app { max-width: 560px; margin: 0 auto; min-height: 100dvh; padding: calc(env(safe-area-inset-top, 0px) + 14px) 20px calc(var(--tabH) + env(safe-area-inset-bottom, 0px) + 28px); display: flex; flex-direction: column; }
#app.notabs { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 110px); }

/* type */
.big-t { font-family: var(--disp); font-weight: 400; font-size: 36px; line-height: 1.05; margin: 10px 0 2px; }
.sub { font-size: 14px; color: var(--mut); margin: 0 0 20px; }
.sec-t { font-family: var(--disp); font-weight: 400; font-size: 22px; margin: 28px 0 12px; }
.small { font-size: 13px; color: var(--mut); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--s1); color: var(--mut); flex: none; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }

/* hero */
.hero { background: var(--hero); color: var(--heroInk); border-radius: 24px; padding: 20px 20px 18px; position: relative; overflow: hidden; }
.hero .num { position: absolute; right: -2px; top: -26px; font-family: var(--disp); font-style: italic; font-size: 140px; line-height: 1; opacity: .1; pointer-events: none; }
.hero .lab { font-size: 13px; color: var(--heroSoft); margin: 0; position: relative; }
.hero h2 { font-family: var(--disp); font-weight: 400; font-size: 32px; line-height: 1.08; margin: 8px 0 4px; position: relative; text-wrap: balance; }
.hero .m { font-size: 14px; opacity: .78; margin: 0 0 18px; }
.hero .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pill-light { display: inline-flex; align-items: center; gap: 8px; background: var(--heroInk); color: var(--hero); font-weight: 600; font-size: 15px; padding: 11px 22px; border-radius: 99px; }
.pill-light svg { width: 11px; height: 11px; fill: currentColor; }
.prog { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--heroSoft); }
.prog i { width: 64px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); overflow: hidden; display: block; }
.prog i b { display: block; height: 100%; background: var(--heroInk); }
.hero .more { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--heroSoft); text-decoration: underline; text-underline-offset: 3px; }

/* lists */
.card { background: var(--s1); border-radius: 18px; padding: 0 16px; }
.row-i { display: flex; align-items: center; gap: 14px; padding: 14px 0; min-height: 56px; width: 100%; text-align: left; }
.row-i + .row-i { border-top: 1px solid var(--line); }
.row-i .t { flex: 1; min-width: 0; }
.row-i .t small { display: block; font-size: 13px; color: var(--mut); margin-top: 1px; }
.row-i .d { font-size: 13px; color: var(--mut); font-variant-numeric: tabular-nums; flex: none; }
.row-i .chev { width: 8px; height: 14px; stroke: var(--mut); stroke-width: 1.8; fill: none; flex: none; opacity: .7; }
.chk { width: 24px; height: 24px; border-radius: 50%; border: 1.6px solid var(--mut); flex: none; display: grid; place-items: center; opacity: .75; }
.chk.on { background: var(--acc); border-color: var(--acc); opacity: 1; }
.chk.on::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--onAcc); border-bottom: 2px solid var(--onAcc); transform: translateY(-1px) rotate(-45deg); }
.done-t { text-decoration: line-through; text-decoration-color: var(--mut); color: var(--mut); }
.link { color: var(--soft); font-weight: 600; font-size: 15px; padding: 14px 4px; display: inline-block; }
.area-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding: 16px 2px 0; border-top: 1px solid var(--line); font-size: 15px; width: 100%; text-align: left; }
.area-row small { display: block; font-size: 12px; color: var(--mut); }
.area-row .ch { color: var(--soft); font-weight: 600; font-size: 14px; }

/* buttons */
.btn { display: block; width: 100%; text-align: center; background: var(--acc); color: var(--onAcc); font-weight: 600; font-size: 16px; padding: 15px; border-radius: 16px; }
.btn.ghost { background: var(--s1); color: var(--ink); }
.btn.inline { display: inline-block; width: auto; padding: 12px 22px; border-radius: 99px; font-size: 15px; }
.btn[disabled] { opacity: .45; }
.note { background: var(--s1); border-radius: 18px; padding: 16px; font-size: 14px; color: var(--mut); margin-top: 16px; }
.note b { color: var(--ink); font-weight: 600; }
.note .btn { margin-top: 12px; }

/* segmented */

/* onboarding */
.q { font-family: var(--disp); font-weight: 400; font-size: 32px; line-height: 1.1; margin: 18px 0 6px; text-wrap: balance; }
.q2 { font-size: 14px; color: var(--mut); margin: 26px 4px 10px; }
.opt { display: flex; align-items: center; gap: 14px; padding: 15px 0; width: 100%; text-align: left; font-size: 16px; }
.opt + .opt { border-top: 1px solid var(--line); }
.opt span { flex: 1; min-width: 0; }
.opt small { display: block; font-size: 13px; color: var(--mut); margin-top: 2px; }
.rd { width: 24px; height: 24px; border-radius: 50%; border: 1.6px solid var(--mut); flex: none; display: grid; place-items: center; opacity: .6; }
.rd.on { border-color: var(--acc); opacity: 1; }
.rd.on::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--acc); }
.foot-btn { margin-top: auto; padding-top: 28px; }

/* reader */
/* TestFlight build 11 (fb11 #2, "Krok 1 z 2" sat off centre): three columns, the two sides equal, so the title is
   centred on the screen whatever the back label says and also when Aa is hidden (its column stays, empty). */
.rtop { position: fixed; top: 0; left: 0; right: 0; z-index: 5; background: var(--bg); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; max-width: 560px; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 10px) 20px 10px; border-bottom: 1px solid transparent; }
.rtop-sp { height: 40px; flex: none; }
.rtop.scrolled { border-bottom-color: var(--line); }
.rtop .back { grid-column: 1; justify-self: start; color: var(--soft); font-size: 16px; display: flex; align-items: center; gap: 4px; min-width: 64px; }
.rtop .back svg { width: 10px; height: 17px; stroke: currentColor; stroke-width: 2.2; fill: none; }
.rtop b { grid-column: 2; font-family: var(--disp); font-weight: 400; font-size: 21px; text-align: center; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rtop .aa { grid-column: 3; justify-self: end; color: var(--soft); font-weight: 500; min-width: 64px; text-align: right; }
/* Long reading in a plain sans like the iPhone (Jakub 2026-11-01 picked D, Inter): easiest to read. */
.text { font-family: var(--ui); font-size: calc(var(--fs, 21px) - 3px); line-height: 1.7; letter-spacing: .005em; margin-top: 18px; }
.text p { margin: 0 0 14px; }
.text sup { font-family: var(--ui); font-size: 12px; font-weight: 600; color: var(--mut); opacity: .75; margin: 0 4px 0 2px; vertical-align: 5px; line-height: 0; }
.text .h { font-family: var(--ui); font-size: 14px; font-weight: 600; color: var(--soft); margin: 22px 0 6px; }
.text .h:first-child { margin-top: 0; }
.text .seg-t { font-family: var(--ui); font-size: 13px; color: var(--mut); margin: 26px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.text .seg-t:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.rbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; max-width: 560px; margin: 0 auto; background: var(--bg); display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 20px calc(env(safe-area-inset-bottom, 0px) + 14px); border-top: 1px solid var(--line); }
.rbar .pg { flex: 1; font-size: 13px; color: var(--mut); }
.rbar .pg i { display: block; height: 4px; border-radius: 2px; background: var(--s2); margin-top: 6px; overflow: hidden; }
.rbar .pg i b { display: block; height: 100%; background: var(--acc); }
.rbar .btn { width: auto; padding: 13px 24px; border-radius: 99px; font-size: 15px; }
.fs-pop { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.fs-pop button { background: var(--s1); border-radius: 10px; padding: 8px 14px; font-size: 14px; }

/* bible browser */
.tbar { font-size: 13px; color: var(--mut); margin: 22px 4px 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; }
.grid a { background: var(--s1); border-radius: 12px; text-align: center; padding: 13px 0; font-variant-numeric: tabular-nums; font-size: 15px; }
.grid a.cur { background: var(--hero); color: var(--heroInk); }
.cnav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.cnav a { background: var(--s1); border-radius: 99px; padding: 11px 18px; font-size: 14px; }

/* novena */
.nov { background: var(--hero); color: var(--heroInk); border-radius: 22px; padding: 18px; display: block; width: 100%; text-align: left; }
.nov .lab { font-size: 13px; color: var(--heroSoft); margin: 0; }
.nov h3 { font-family: var(--disp); font-weight: 400; font-size: 25px; margin: 4px 0 2px; }
.nov q { display: block; font-family: var(--disp); font-style: italic; font-size: 17px; color: var(--heroSoft); margin: 6px 0 14px; quotes: none; }
.days { display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; }
.days i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); }
.days i.f { background: var(--gold); }

/* prayer text */
.ptext { font-family: var(--ui); font-size: calc(var(--fs, 21px) - 3px); line-height: 1.7; letter-spacing: .005em; margin-top: 18px; white-space: pre-line; }
.ptext p { margin: 0 0 14px; }
.refrain { font-family: var(--disp); font-style: italic; font-size: 20px; color: var(--soft); margin: 4px 0 18px; }

/* rosary */
.r-head { text-align: center; margin-top: 18px; }
.r-head .small { display: block; }
.r-head h2 { font-family: var(--disp); font-weight: 400; font-size: 26px; margin: 6px 0 0; text-wrap: balance; }
.r-myst { font-family: var(--disp); font-style: italic; color: var(--soft); font-size: 19px; text-align: center; margin: 8px 0 0; }
.beads { display: flex; justify-content: center; gap: 8px; margin: 22px 0 6px; flex-wrap: wrap; }
.beads i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--mut); opacity: .7; }
.beads i.f { background: var(--acc); border-color: var(--acc); opacity: 1; }
.tapzone { display: block; width: 100%; background: var(--s1); border-radius: 22px; padding: 18px; margin-top: 16px; text-align: left; }
.tapzone .ptext { margin-top: 0; }
.r-steps { display: flex; gap: 3px; margin: 14px 0 0; }
.r-steps i { flex: 1; height: 3px; border-radius: 2px; background: var(--s2); }
.r-steps i.f { background: var(--acc); }

/* forms */
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 13px; color: var(--mut); margin: 0 4px 6px; }
.field input, .field textarea, .field select { width: 100%; background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; }
.pw { position: relative; }
.pw input { padding-right: 50px; }
.pw .eye { position: absolute; right: 6px; bottom: 6px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--mut); border-radius: 10px; }
.pw .eye[aria-pressed="true"] { color: var(--ink); }
.field textarea { min-height: 220px; resize: vertical; line-height: 1.5; }
.danger { color: var(--soft); font-size: 14px; padding: 12px 4px; }

/* tab bar: a floating glass pill */
.tabs { position: fixed; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 10; pointer-events: none; }
.tabs nav { pointer-events: auto; width: min(380px, calc(100% - 24px)); margin: 0 auto; height: 64px; border-radius: 32px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; padding: 0 6px; gap: 2px; background: var(--glass); border: .5px solid var(--glassLine); box-shadow: 0 8px 30px var(--glassShadow); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); }
/* Tab bar like the prototype (Jakub 2026-11-01): gray icons, soft burgundy pill on the active tab. */
.tabs a { height: 52px; border-radius: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 500; color: var(--mut); }
.tabs a.on { background: var(--accSoft); color: var(--accInk); font-weight: 600; }
.tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
/* Praying hands for Modlitby (Phosphor Icons, regular), drawn as a filled outline. */
.tabs svg.solid { width: 24px; height: 24px; fill: currentColor; stroke: none; }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabH) + env(safe-area-inset-bottom, 0px) + 16px); transform: translateX(-50%); background: var(--ink); color: var(--bg); font-size: 14px; padding: 10px 18px; border-radius: 99px; z-index: 20; }
.empty { color: var(--mut); text-align: center; padding: 40px 10px; }
/* A page you arrive at fades its content in. Never .view itself: a transform there made the fixed header and
   bottom bar jump for a moment (owner 2026-11-03), and the chrome (header, step bars, buttons) stays put. */
@media (prefers-reduced-motion: no-preference) {
  .view.v-in > :not(.rtop):not(.rtop-sp):not(.fs-pop):not(.rbar):not(.foot-btn):not(.top):not(.r-steps) { animation: fade .2s ease-out; }
  /* A new step of a flow: only its own area slides in, forward from the right, back from the left. A text field
     only fades, so its caret never moves while you type. */
  .st-f > :not(.field) { animation: stF .24s cubic-bezier(.2,.7,.3,1); }
  .st-b > :not(.field) { animation: stB .24s cubic-bezier(.2,.7,.3,1); }
  .st-f > .field, .st-b > .field { animation: rIn .24s ease-out; }
}
@keyframes fade { from { opacity: .45; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes stF { from { opacity: .35; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes stB { from { opacity: .35; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

/* progress + daily verse */
.stats { background: var(--s1); border-radius: 18px; padding: 16px; margin-top: 12px; }
.stats .nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats .nums div { display: flex; flex-direction: column; }
.stats .nums b { font-family: var(--disp); font-weight: 400; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.stats .nums span { font-size: 12px; color: var(--mut); margin-top: 4px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.wd { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--mut); }
.wd i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); }
.wd.f i { background: var(--acc); border-color: var(--acc); }
.wd.now { color: var(--ink); font-weight: 600; }
.wd.now i { border-color: var(--soft); }
.wd.f.now i { border-color: var(--acc); }
.vod { margin-top: 28px; padding: 20px; border-radius: 20px; border: 1px solid var(--line); }
.vod .lab { font-size: 13px; color: var(--soft); margin: 0 0 8px; }
.vod .vt { font-family: var(--disp); font-size: 21px; line-height: 1.45; margin: 0; text-wrap: pretty; }
.vod .vr { font-size: 13px; color: var(--mut); margin: 10px 0 0; }
.err { color: var(--soft); font-size: 14px; margin: 0 4px 10px; }
.done-mark { width: 76px; height: 76px; border-radius: 50%; background: var(--hero); margin: 36px auto 4px; position: relative; }
.done-mark::after { content: ""; position: absolute; left: 25px; top: 22px; width: 26px; height: 14px; border-left: 3px solid var(--heroInk); border-bottom: 3px solid var(--heroInk); transform: rotate(-45deg); }
.foot-btn .link { margin-top: 6px; }

/* routine editor */
.sec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sec-row .edit { color: var(--soft); font-weight: 600; font-size: 14px; padding: 8px 0 8px 12px; }
.mv { width: 34px; height: 34px; border-radius: 50%; background: var(--s2); display: grid; place-items: center; flex: none; }
.mv svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.mv[disabled] { opacity: .3; }
.rm { font-size: 13px; color: var(--soft); padding: 6px 0 6px 4px; flex: none; }
.addp { font-size: 13px; color: var(--soft); font-weight: 600; flex: none; }
.fs-pop[hidden] { display: none; }

/* lock setup */
.steps-ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; }
.steps-ol b { font-weight: 600; }
.mono-url { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: var(--ink); background: var(--bg); border-radius: 10px; padding: 10px 12px; margin: 6px 0 8px; word-break: break-all; user-select: all; -webkit-user-select: all; }
.note .btn.ghost { margin-top: 4px; background: var(--s2); }

/* audio player: one compact row */
.aud { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; padding: 6px 4px; }
.aud-b { width: 30px; height: 30px; border-radius: 50%; background: var(--acc); color: var(--onAcc); display: grid; place-items: center; flex: none; }
.aud-b svg { width: 10px; height: 10px; fill: currentColor; }
.aud-p { flex: 1; min-width: 0; display: block; height: 3px; border-radius: 2px; background: var(--s2); overflow: hidden; cursor: pointer; }
.aud-p b { display: block; width: 0; height: 100%; background: var(--acc); }
.aud-t { font-size: 12px; color: var(--mut); font-variant-numeric: tabular-nums; min-width: 32px; text-align: right; }
.aud-r { font-size: 12px; font-weight: 600; color: var(--soft); background: var(--s1); border-radius: 99px; padding: 4px 9px; flex: none; font-variant-numeric: tabular-nums; }

/* lock page: dark, text only */
.lock { flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; max-width: 420px; margin: 0 auto; padding: 24px 8px; }
.lock h1 { font-family: var(--disp); font-weight: 400; font-size: 44px; line-height: 1.1; margin: 0 0 28px; }
.lock blockquote { font-family: var(--disp); font-style: italic; font-size: 21px; line-height: 1.5; color: var(--soft); margin: 0 0 8px; }
.lock cite { display: block; font-style: normal; font-size: 13px; color: var(--mut); margin-bottom: 40px; }
.lock p { font-size: 16px; line-height: 1.55; color: var(--mut); margin: 0; }

/* hidden always wins over display rules (search filters, hidden fields) */
[hidden] { display: none !important; }

/* goal line + last night's intention on Dnes */
.goal { font-size: 14px; color: var(--mut); margin: -14px 0 20px; }
.goal span { color: var(--ink); }
.vod.y { margin-top: 16px; padding: 16px 18px; }
.vod.y .vt { font-size: 19px; }

/* "Čo to znamená pre teba" under the reading */
.bz { background: var(--s1); border-radius: 20px; padding: 18px 18px 6px; margin-top: 26px; font-size: 16px; line-height: 1.55; }
.bz .lab { font-size: 13px; color: var(--soft); margin: 0 0 6px; }
.bz h3 { font-family: var(--disp); font-weight: 400; font-size: 23px; line-height: 1.2; margin: 0 0 10px; text-wrap: balance; }
.bz p { margin: 0 0 12px; }
.bz .krok { padding-top: 12px; border-top: 1px solid var(--line); }
.bz .krok b { font-weight: 600; }
.bz .mod { font-family: var(--disp); font-style: italic; font-size: 18px; color: var(--soft); }

/* reminders: time + switch */
.tm { background: var(--s2); border: 0; border-radius: 10px; padding: 7px 10px; font-size: 15px; font-variant-numeric: tabular-nums; flex: none; }
.tm[disabled] { opacity: .4; }
.sw { width: 46px; height: 28px; border-radius: 14px; background: var(--s2); position: relative; flex: none; transition: background .15s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--mut); transition: transform .15s, background .15s; }
.sw.on { background: var(--acc); }
.sw.on::after { transform: translateX(18px); background: var(--onAcc); }

/* evening talk + grouped prayer lists */
.field textarea.sm { min-height: 150px; }
.grp-t { margin: 14px 4px 6px; }

/* ---------- phase 1: feed, routines, lock, onboarding, Plus ---------- */
.tag { font-style: normal; font-size: 11px; font-weight: 600; color: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; margin-left: 4px; vertical-align: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.chip { background: var(--s1); border: 1px solid var(--line); border-radius: 99px; padding: 10px 15px; font-size: 15px; min-height: 44px; }
.chip.on { background: var(--acc); border-color: var(--acc); color: var(--onAcc); font-weight: 600; }
.tpl { display: flex; flex-direction: column; gap: 10px; }
.tpl-c { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; text-align: left; background: var(--s1); border: 1.5px solid transparent; border-radius: 18px; padding: 15px 16px; width: 100%; }
.tpl-c b { font-weight: 600; font-size: 16px; }
.tpl-c span { font-size: 13px; color: var(--mut); align-self: center; }
.tpl-c small { grid-column: 1 / -1; font-size: 13px; color: var(--mut); line-height: 1.4; }
.tpl-c.on { border-color: var(--acc); }
.onb .r-steps { margin: 6px 0 4px; }
.small-link { font-size: 13px; color: var(--mut); font-weight: 500; margin-top: 18px; }
.lock-list { text-align: left; margin-top: 22px; }

/* silence timer */
.ticho { width: 210px; height: 210px; border-radius: 50%; margin: 30px auto 10px; display: grid; place-items: center; background: var(--s1); border: 1px solid var(--line); }
.ticho span { font-family: var(--disp); font-size: 48px; font-variant-numeric: tabular-nums; }

/* emergency unlock: hold button */
.hold { position: relative; overflow: hidden; display: block; width: 100%; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; padding: 22px; font-weight: 600; font-size: 16px; margin-top: 10px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hold i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: color-mix(in srgb, var(--acc) 22%, transparent); }
.hold span { position: relative; }

/* Plus offer: price per day first, the year picked, lifetime as a quiet link. */
:root { --pCard: var(--s1); --pSoft: rgba(200,75,97,.16); }
:root[data-theme="light"] { --pCard: var(--s1); --pSoft: rgba(122,30,46,.08); }
.plus .top, .plus-top { min-height: 40px; }
.plus-top { display: flex; justify-content: flex-end; padding-top: 6px; }
.plus-x { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--s1); color: var(--mut); }
.plus-x svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.plus-k { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--soft); }
.plus .q.plus-h { margin: 2px 0 6px; font-size: 32px; line-height: 1.08; }
.plus .sub { font-size: 15px; line-height: 1.4; margin-bottom: 14px; }
.plus-f { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plus-f li { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.plus-f i { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--pSoft); color: var(--soft); }
.plus-f svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.plans { display: flex; flex-direction: column; gap: 6px; }
.plan { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 16px; border-radius: 16px; background: var(--pCard); border: 2px solid var(--line); color: var(--ink); transition: border-color .15s, background .15s; }
.plan[aria-pressed="true"] { border-color: var(--acc); background: linear-gradient(var(--pSoft), var(--pSoft)), var(--pCard); }
.plan-n { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; }
.plan-n b { font-size: 17px; font-weight: 600; }
.plan-n em { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 7px; background: var(--acc); color: var(--onAcc); }
.plan-n small, .plan-d small { flex-basis: 100%; font-size: 13px; color: var(--mut); margin-top: 1px; }
.plan-d { text-align: right; flex: none; }
.plan-d b { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.3px; }
.plan-d small { display: block; font-size: 12px; margin: 0; }
.plan-life { align-self: center; font-size: 14px; color: var(--mut); padding: 4px 10px; border-radius: 10px; }
.plan-life[aria-pressed="true"] { color: var(--ink); font-weight: 600; background: var(--pSoft); box-shadow: inset 0 0 0 2px var(--acc); }
.plus-foot { position: sticky; bottom: 0; z-index: 2; background: var(--bg); padding: 12px 0 calc(env(safe-area-inset-bottom, 0px) + 14px); margin-top: auto; }
/* Small phones: the plans would hide under a sticky button, so it scrolls with the page. */
@media (max-height: 740px) { .plus-foot { position: static; } }
#app:has(> .plus) { padding-bottom: 0; }
.plus-foot .btn { border-radius: 99px; font-size: 17px; padding: 16px; }
.plus-note { margin: 6px 0 0; text-align: center; font-size: 13px; color: var(--mut); }
.plus-foot .link { margin-top: 0; padding: 8px 4px; color: var(--ink); font-weight: 500; }

/* the saved list */
.kept { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.kept-it { background: var(--s1); border-radius: 18px; padding: 16px 18px; }
.kept-x { font-family: var(--disp); font-size: 19px; line-height: 1.45; margin: 0; color: var(--ink); }
.kept-ref { font-size: 14px; color: var(--mut); margin: 10px 0 0; }
.kept-ref b { color: var(--ink); font-weight: 600; }
.kept-acts { display: flex; gap: 18px; margin-top: 8px; }
.linkbtn { background: none; border: 0; padding: 8px 0; min-height: 44px; font: 600 15px var(--ui); color: var(--acc); }
.linkbtn.mut { color: var(--mut); font-weight: 500; }

/* ---------- Najprv Boh style 2026-10-29: components ---------- */
/* One background everywhere (owner 2026-10-30): white by day, warm charcoal at night; cards a warm light gray.
   --page stays for screens that read like a page, in case the two ever differ again. */
:root.pg { --bg: var(--page); }
body { font-size: 17px; letter-spacing: -.1px; }
.big-t { font-family: var(--ui); font-weight: 700; font-size: 34px; line-height: 41px; letter-spacing: -.4px; margin: 6px 0 2px; }
.sec-t { font-family: var(--ui); font-weight: 700; font-size: 22px; letter-spacing: -.2px; margin: 28px 4px 8px; }
.q { font-family: var(--ui); font-weight: 700; font-size: 32px; line-height: 38px; letter-spacing: -.4px; }
.sub { font-size: 15px; }
.small { font-size: 14px; }
.hero h2, .nov h3, .bz h3, .r-head h2, .stats .nums b, .ticho span, .lock h1, .fc-t { font-family: var(--ui); font-weight: 700; letter-spacing: -.3px; }
.hero { border-radius: 20px; }
.lock h1 { font-size: 34px; }
.icon-btn { background: var(--s2); color: var(--ink); }
.icon-btn svg { stroke-width: 1.8; }
.card { border-radius: 16px; }
.row-i { padding: 12px 0; min-height: 52px; font-size: 17px; }
.row-i .t small { font-size: 14px; }
.row-i .d { font-size: 15px; }
.row-i + .row-i, .opt + .opt { border-top-width: .5px; }
.chk { border: 2px solid var(--ring); opacity: 1; }
.rd { border: 2px solid var(--ring); opacity: 1; }
.link, .sec-row .edit, .area-row .ch, .rtop .back, .rtop .aa, .addp, .rm, .danger { color: var(--accInk); }
.btn { border-radius: 26px; font-size: 17px; padding: 15px; }
.btn.ghost { background: var(--s1); }
.note { background: var(--s1); border-radius: 16px; }
.sw { width: 51px; height: 31px; border-radius: 16px; background: var(--s2); }
.sw::after { left: 2px; top: 2px; width: 27px; height: 27px; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 1px 1px rgba(0,0,0,.16); }
.sw.on::after { transform: translateX(20px); background: #fff; }
.tm { background: var(--s2); border-radius: 8px; font-size: 17px; padding: 6px 10px; }
.field span { font-size: 14px; }
.field input, .field textarea, .field select { background: var(--s1); border: .5px solid var(--line); border-radius: 12px; font-size: 17px; }
.chip { background: var(--s1); border: .5px solid var(--line); }
.tpl-c { background: var(--s1); border-radius: 16px; }
.tag { color: var(--accInk); background: var(--accSoft); border: 0; border-radius: 6px; padding: 2px 6px; }
.rtop b { font-family: var(--ui); font-weight: 600; font-size: 17px; }
.rtop.scrolled { border-bottom-width: .5px; }
.text .h { color: var(--accInk); }
.text sup { color: var(--mut); }
.grid a { background: var(--s1); border-radius: 12px; }
.grid a.cur { background: var(--acc); color: var(--onAcc); }
.cnav a { background: var(--s1); }
.stats, .vod, .kept-it, .tapzone, .ticho, .hold { background: var(--s1); border-radius: 16px; border: 0; }
.toast { bottom: calc(var(--tabH) + env(safe-area-inset-bottom, 0px) + 12px); }

/* Dnes */
.dn-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.dn-date { font-size: 15px; font-weight: 600; color: var(--accInk); margin: 6px 0 0; }
.dn-top .big-t { margin: 2px 0 0; }
.dn-top .icon-btn { margin-bottom: 2px; }
.ic-tile { flex: none; width: 36px; height: 36px; border-radius: 18px; display: grid; place-items: center; background: var(--accSoft); color: var(--accInk); }
.ic-tile.sq { border-radius: 10px; }
.ic-tile svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dn-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--s1); color: var(--ink); margin-top: 20px; }
.dn-card span { flex: 1; min-width: 0; }
.dn-card b { display: block; font-size: 17px; font-weight: 600; }
.dn-card small { display: block; font-size: 14px; color: var(--mut); margin-top: 1px; }
.dn-card .chev { width: 8px; height: 14px; stroke: var(--ring); stroke-width: 2; fill: none; flex: none; }
.dn-card.st b { font-size: 16px; }
a.dn-card { margin-top: 24px; }
.sec-row .min { font-size: 15px; color: var(--mut); }
.sec-row .sec-t + .min, .sec-row .sec-t + .edit { margin-right: 4px; }
.dn-go { margin-top: 12px; }
.dn-done { margin-top: 12px; text-align: center; font-size: 15px; color: var(--mut); }
.kv { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-size: 17px; }
.kv + .kv { border-top: .5px solid var(--line); }
.kv span:last-child { color: var(--mut); font-variant-numeric: tabular-nums; }
.dn-said { margin-top: 24px; }
/* fb11 #9: last evening's line for today as a row to tick, a round check like the done card; ticked it softens. */
.dn-said { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.dn-said-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ring); position: relative; transition: background .15s, border-color .15s; }
.dn-said.on .dn-said-ic { background: var(--acc); border-color: var(--acc); }
.dn-said.on .dn-said-ic::after { content: ""; position: absolute; left: 8px; top: 7px; width: 11px; height: 6px; border-left: 2.5px solid var(--onAcc); border-bottom: 2.5px solid var(--onAcc); transform: rotate(-45deg); }
.dn-said-t { min-width: 0; }
.dn-said .lab, .dn-said .vt { display: block; }
.dn-said .vt { transition: color .15s; }
.dn-said.on .vt { color: var(--mut); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.dn-said:active .dn-said-ic { border-color: var(--acc); }

/* Bible feed: a passage cut into short parts, one per screen. Warm white by day (Jakub 2026-11-01), warm charcoal at night. */
:root { --fBg: #181514; --fMut: rgba(245,240,235,.62); --fLine: rgba(245,240,235,.14); --fPill: rgba(245,240,235,.10); --fTick: rgba(245,240,235,.20); }
:root[data-theme="light"] { --fBg: #FBF9F6; --fMut: rgba(28,25,23,.62); --fLine: rgba(80,60,40,.14); --fPill: rgba(80,60,40,.08); --fTick: rgba(80,60,40,.16); }
body.feed-on { overflow: hidden; }
.feed { position: fixed; inset: 0; z-index: 1; background: var(--fBg); color: var(--ink); }
.fc-list { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.fc-list::-webkit-scrollbar { display: none; }
.fc { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; position: relative; display: flex; }
/* The verse sits in the middle of the screen; the reference hangs under it and does not move it. */
.fc-in { margin: auto; width: 100%; max-width: 560px; padding: calc(env(safe-area-inset-top, 0px) + 140px) 52px; text-align: center; max-height: 100%; overflow-y: auto; scrollbar-width: none; }
.fc-tx { position: relative; }
.fc-tx .fc-ref { position: absolute; left: 0; right: 0; top: 100%; }
/* Owner 2026-11-07 (arrow on the Biblia screenshot): the verse a bit higher in the Bible tab, where the tab bar takes the bottom. */
.feed:not(.full) .fc-in { padding-top: calc(env(safe-area-inset-top, 0px) + 110px); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 190px); }
.fc-x { font-family: var(--disp); margin: 0; letter-spacing: -.2px; text-wrap: pretty; }
.fc-x.fs1 { font-size: 30px; line-height: 40px; } .fc-x.fs2 { font-size: 27px; line-height: 38px; } .fc-x.fs3 { font-size: 24px; line-height: 34px; } .fc-x.fs4 { font-size: 21px; line-height: 31px; }
.fc-wait { opacity: .5; }
.fc-ref { margin: 26px 0 0; font-size: 15px; font-weight: 600; letter-spacing: 1px; color: var(--accInk); }
.fc-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; max-width: 560px; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 10px; background: linear-gradient(var(--fBg) 78%, transparent); }
.fc-row { display: flex; align-items: center; gap: 6px; }
.fc-fill { flex: 1; }
.fc-tabs { display: flex; flex: none; white-space: nowrap; padding: 3px; border-radius: 20px; border: 1px solid var(--fLine); }
.fc-tabs a { padding: 7px 10px; border-radius: 16px; font-size: 14px; font-weight: 500; color: var(--fMut); }
.fc-tabs a.on { background: var(--acc); color: #fff; font-weight: 600; }
.fc-btn { flex: none; width: 40px; height: 40px; border-radius: 20px; display: grid; place-items: center; border: 1px solid var(--fLine); color: var(--ink); }
.fc-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fc-pill { flex: none; height: 40px; display: flex; align-items: center; gap: 4px; padding: 0 11px; border-radius: 20px; white-space: nowrap; border: 1px solid var(--fLine); font-size: 14px; font-weight: 600; color: var(--ink); }
.fc-pill span { font-weight: 500; color: var(--fMut); }
.fc-pill svg { width: 12px; height: 12px; fill: none; stroke: var(--fMut); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc-prog { margin: 0 auto; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--fPill); border-radius: 99px; padding: 8px 14px; }
.fc-sp { width: 40px; flex: none; }
.fc-story { margin-top: 16px; }
.fc-bars { display: flex; gap: 4px; }
.fc-bars i { flex: 1; height: 3px; border-radius: 2px; background: var(--fTick); }
.fc-bars i.f { background: var(--accInk); }
/* Owner 2026-11-07: at the gate only the bar up top, a bit thicker. */
.feed.gate .fc-bars i { height: 5px; border-radius: 3px; }
.feed.gate .fc-top { padding-top: calc(env(safe-area-inset-top, 0px) + 18px); }
.gate-x { display: block; margin: 0 auto 8px; min-height: 36px; padding: 0 16px; border: 1px solid var(--line, rgba(0,0,0,.12)); border-radius: 999px; background: var(--glass, rgba(255,255,255,.7)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.gate-x[hidden] { display: none; }
.fc-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.fc-meta div { min-width: 0; }
.fc-meta b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-meta small { display: block; font-size: 13px; color: var(--fMut); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-chap { flex: none; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; font-size: 13px; font-weight: 600; background: var(--fPill); color: var(--ink); }
.fc-chap svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.fc-acts { position: absolute; right: max(18px, calc(50% - 262px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 124px); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.feed.full .fc-acts { bottom: calc(env(safe-area-inset-bottom, 0px) + 40px); }
.fc-act { display: flex; padding: 0; color: var(--ink); }
.fc-act[data-act="like"] { color: var(--ink); }
/* The like is bright red like on Instagram and TikTok (Jakub 2026-11-01, his screenshot). */
.fc-act[data-act="like"].on { color: #FF2E55; }
.fc-act.pop svg { animation: likePop .45s cubic-bezier(.2,.9,.3,1.4); }
@keyframes likePop { 0% { transform: scale(1); } 30% { transform: scale(1.35); } 60% { transform: scale(.88); } 100% { transform: scale(1); } }
.fc-act svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.fc-act.on svg { fill: currentColor; }
.fc-act.on[data-act="save"] { color: var(--accInk); }
.fc-end { text-align: center; }
.fc-end .fc-in { padding-right: 40px; }
.fc-t { font-size: 28px; line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
.fc-p { font-size: 17px; line-height: 1.5; color: var(--fMut); margin: 0 0 24px; }
.fc-note { font-size: 14px; color: var(--fMut); margin: 14px 0 0; }
.fc-end .done-mark { margin: 0 auto 18px; background: var(--acc); }

/* sheets: Témy, Kde začať, Vysvetliť */
.sheet { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.35); display: flex; align-items: flex-end; }
.sheet-in { width: 100%; max-width: 560px; margin: 0 auto; max-height: 86dvh; overflow-y: auto; border-radius: 34px 34px 0 0; padding: 8px 16px calc(env(safe-area-inset-bottom, 0px) + 28px); background: var(--bg); }
:root[data-theme="light"] .sheet-in { background: #FFFFFF; }
:root:not([data-theme="light"]) .sheet-in { background: #221E1C; }
.grab { width: 36px; height: 5px; border-radius: 3px; margin: 0 auto; background: var(--ring); }
.sh-head { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 0 4px; }
.sh-head h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.2px; }
.sh-head button { font-size: 17px; font-weight: 600; color: var(--accInk); padding: 6px 0 6px 12px; }
.sh-sub { margin: 6px 4px 0; font-size: 15px; line-height: 20px; color: var(--mut); }
.sheet-in .card { margin-top: 16px; border-radius: 14px; background: var(--raise); }
:root[data-theme="light"] .sheet-in .card { background: var(--s1); }
.sheet-in .bz { margin-top: 14px; background: var(--s1); }
.opt .ck { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accInk); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* chapter reader: "Späť na scrollovanie" */
.kap-k { font-size: 13px; color: var(--mut); margin: 18px 0 0; }
.kap-h { font-family: var(--disp); font-weight: 400; font-size: 44px; line-height: 50px; margin: 2px 0 6px; }
.to-feed { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; justify-content: center; padding: 64px 0 calc(env(safe-area-inset-bottom, 0px) + 28px); background: linear-gradient(transparent, var(--bg) 62%); pointer-events: none; }
.to-feed a { pointer-events: auto; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 24px; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--glass); border: .5px solid var(--glassLine); box-shadow: 0 8px 30px var(--glassShadow); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); }
.to-feed svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#app:has(.to-feed) { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 110px); }

/* grouped settings pages (Zámok, Nastavenia): iOS section headers and footers */
.grp-h { margin: 26px 16px 7px; font-size: 13px; color: var(--mut); }
.grp-h .tag { vertical-align: 0; }
.grp-f { margin: 7px 16px 0; font-size: 13px; line-height: 1.4; color: var(--mut); }
.lk-st { margin: -8px 4px 0; font-size: 15px; font-weight: 600; color: var(--accInk); }
.row-i .v { flex: none; color: var(--mut); font-size: 17px; font-variant-numeric: tabular-nums; }
.row-i .chev { stroke: var(--ring); stroke-width: 2; opacity: 1; }
.kept-ref b { color: var(--accInk); }

/* Loading: gray shapes that breathe, never a spinner (Jakub 2026-11-01). */
.skel { display: flex; flex-direction: column; gap: 12px; padding: 6px 0; }
.skel i { display: block; height: 18px; border-radius: 8px; background: var(--s2); animation: skelPulse 1.2s ease-in-out infinite; }
.skel i:nth-child(2) { animation-delay: .1s; } .skel i:nth-child(3) { animation-delay: .2s; } .skel i:nth-child(4) { animation-delay: .3s; }
@keyframes skelPulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* Double tap on a verse: a big heart pops up and fades. */
.fc { position: relative; }
.fc-burst { position: absolute; left: 50%; top: 46%; width: 92px; height: 92px; margin: -46px 0 0 -46px; rotate: var(--rot, 0deg); pointer-events: none; color: #FF2E55; filter: drop-shadow(0 6px 14px rgba(255,46,85,.35)); animation: fcBurst 1s ease forwards; z-index: 3; }
.fc-burst svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
@keyframes fcBurst { 0% { transform: scale(0); opacity: 0; } 15% { transform: scale(1.25); opacity: 1; } 30% { transform: scale(.92); } 42% { transform: scale(1.05); } 55% { transform: scale(1); opacity: 1; } 100% { transform: translateY(-90px) scale(.9); opacity: 0; } }

/* Profile like Instagram (Jakub 2026-11-01). */
.me-head { display: flex; align-items: center; gap: 18px; margin: 14px 0 10px; }
.me-av { width: 84px; height: 84px; flex: none; border-radius: 50%; padding: 3px; background: var(--acc); }
.me-av span { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg); background: var(--s1); display: grid; place-items: center; font-size: 32px; font-weight: 700; color: var(--accInk); }
.me-nums { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.me-nums b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.me-nums small { font-size: 12px; color: var(--mut); line-height: 1.2; display: block; }
.me-name { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.me-name small { display: block; font-size: 15px; font-weight: 400; color: var(--mut); }
.me-badges { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 4px; }
.me-badges::-webkit-scrollbar { display: none; }
.me-badge { flex: none; width: 96px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 16px; background: var(--s1); text-align: center; opacity: .55; }
.me-badge.got { opacity: 1; }
.me-badge i { font-style: normal; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 700; border: 2px dashed var(--mut); color: var(--mut); }
.me-badge.got i { border: 0; background: var(--acc); color: var(--onAcc); }
.me-badge b { font-size: 13px; } .me-badge small { font-size: 12px; color: var(--mut); }
.me-seg { display: grid; grid-template-columns: 1fr 1fr; margin: 22px 0 10px; border-bottom: 1px solid var(--line); }
.me-seg button { height: 44px; font-size: 15px; font-weight: 600; color: var(--mut); border-bottom: 2px solid transparent; }
.me-seg button.on { color: var(--ink); border-bottom-color: var(--ink); }
.me-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.me-grid a { aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: space-between; padding: 10px 9px; border-radius: 6px; background: var(--s1); overflow: hidden; }
.me-grid span { font-family: var(--disp); font-size: 13px; line-height: 17px; overflow: hidden; }
.me-grid b { font-size: 11px; color: var(--accInk); }
.fc-act[data-act="like"] svg { width: 38px; height: 38px; }

/* Modlitby tab: prayer library (Jakub 2026-11-01). */
.pr-season { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 6px; padding: 18px; border-radius: 20px; background: var(--acc); color: var(--onAcc); text-align: left; }
.pr-season small { font-size: 13px; font-weight: 600; opacity: .85; }
.pr-season b { font-size: 22px; }
.pr-season span { font-size: 15px; opacity: .9; }
.pr-season em { font-style: normal; margin-top: 8px; padding: 6px 12px; border-radius: 14px; background: rgba(255,255,255,.18); font-size: 14px; font-weight: 600; }
.pr-days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pr-day { display: flex; flex-direction: column; gap: 6px; min-height: 128px; padding: 14px; border-radius: 18px; background: var(--s1); }
.pr-day i svg { width: 28px; height: 28px; fill: none; stroke: var(--accInk); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pr-day b { font-size: 16px; line-height: 1.3; } .pr-day small { font-size: 13px; color: var(--mut); }
.pr-tag { flex: none; padding: 4px 10px; border-radius: 12px; background: var(--s2); color: var(--mut); font-size: 12px; font-weight: 600; }
.pr-tag.on { background: var(--acc); color: var(--onAcc); }
.pr-cond { margin: 0; padding: 16px 16px 16px 36px; border-radius: 18px; background: var(--s1); font-size: 15px; line-height: 1.45; }
.pr-cond li + li { margin-top: 8px; }
.pr-modal { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; padding: 24px; animation: prFade .25s ease; }
.pr-pop { width: min(360px, 100%); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 20px 14px; border-radius: 26px; background: var(--raise); text-align: center; animation: prIn .3s ease; }
.pr-pop i { width: 56px; height: 56px; border-radius: 50%; background: var(--accSoft); display: grid; place-items: center; }
.pr-pop i svg { width: 28px; height: 28px; fill: none; stroke: var(--accInk); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* shared prayers (owner 2026-11-26) */
.pr-pop .btn { width: 100%; }
.sh-st { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.sh-st .small { margin: 0 4px; line-height: 1.4; }
.card.rev-c { margin-top: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.rev-d { font-size: 12px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--mut); }
.rev-t { font-size: 18px; }
.rev-x { max-height: 240px; overflow-y: auto; font-size: 16px; }
.rev-a { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.rev-c .field { margin-bottom: 8px; }
.rev-c .field textarea { min-height: 160px; }
.pr-pop small { font-size: 14px; font-weight: 600; color: var(--accInk); }
.pr-pop h2 { margin: 0; font-size: 22px; } .pr-pop p { margin: 0 0 8px; color: var(--mut); font-size: 16px; }
.pr-pop .btn { width: 100%; }
@keyframes prFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes prIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* Onboarding: light or dark (Jakub 2026-11-01). */
.th-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.th-opt { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 10px 16px; border-radius: 20px; background: var(--s1); border: 2.5px solid transparent; }
.th-opt.on { border-color: var(--acc); }
.th-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 100px; height: 190px; border-radius: 18px; border: 1px solid var(--line); }
.th-ph i { display: block; height: 7px; border-radius: 4px; opacity: .8; }
.th-opt b { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.th-opt .rdo { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--mut); }
.th-opt.on .rdo { border: 6px solid var(--acc); }
.th-sys { color: var(--mut); } .th-sys.on { color: var(--accInk); font-weight: 600; }
.stats.wk-only .week { margin-top: 0; padding-top: 0; border-top: 0; }
.tabs svg.solid { margin: -1px 0; }

/* Guide with the angel (Jakub 2026-11-01): it flies to whatever it talks about. */
.tour { position: fixed; inset: 0; z-index: 60; }
.tour-dim { position: absolute; inset: 0; background: rgba(20,14,12,.62); transition: opacity .3s; }
.tour-spot { position: absolute; box-shadow: 0 0 0 3000px rgba(20,14,12,.62); transition: all .45s ease; pointer-events: none; animation: tourPulse 1.6s ease-in-out infinite; }
@keyframes tourPulse { 0%, 100% { outline: 0 solid rgba(255,255,255,0); } 50% { outline: 5px solid rgba(255,255,255,.35); } }
.tour-angel { position: absolute; width: 90px; height: 90px; transition: left .6s cubic-bezier(.4,1.4,.5,1), top .6s cubic-bezier(.4,1.4,.5,1); animation: tourBob 2.6s ease-in-out infinite; }
.tour-angel.flip svg { transform: scaleX(-1); }
.tour-angel svg { width: 100%; height: 100%; }
.tour-angel .ag-wl { transform-origin: 46px 66px; animation: agWl 1.8s ease-in-out infinite; }
.tour-angel .ag-wr { transform-origin: 74px 66px; animation: agWr 1.8s ease-in-out infinite; }
@keyframes tourBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes agWl { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-8deg); } }
@keyframes agWr { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(8deg); } }
.tour-bub { position: absolute; left: 16px; right: 16px; max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 14px; border-radius: 24px; background: var(--raise); color: var(--ink); box-shadow: 0 16px 40px rgba(0,0,0,.25); transition: top .4s ease, bottom .4s ease; }
.tour-bub small { font-size: 13px; font-weight: 600; color: var(--accInk); }
.tour-bub b { font-size: 21px; line-height: 1.25; }
.tour-bub p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--mut); }
.tour-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.tour-row .btn { width: auto; padding: 0 24px; min-height: 48px; }

/* Streak reward with confetti (Jakub 2026-11-01). */
.rw { position: fixed; inset: 0; z-index: 70; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 24px; animation: prFade .25s ease; overflow: hidden; }
.rw-conf i { position: absolute; top: 0; display: block; animation-name: rwFall; animation-timing-function: ease-in; animation-fill-mode: both; }
@keyframes rwFall { 0% { transform: translateY(-40px) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(105vh) rotate(540deg); opacity: 0; } }
.rw-in { position: relative; width: min(380px, 100%); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.rw-badge { width: 148px; height: 148px; border-radius: 50%; background: var(--acc); color: var(--onAcc); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--bg), 0 0 0 10px var(--acc); animation: rwPop .7s cubic-bezier(.2,.9,.3,1.2) both; }
.rw-badge b { font-size: 56px; line-height: 1; } .rw-badge small { font-size: 14px; font-weight: 600; opacity: .9; }
@keyframes rwPop { 0% { transform: scale(.3); opacity: 0; } 55% { transform: scale(1.15); opacity: 1; } 75% { transform: scale(.96); } 100% { transform: scale(1); } }
.rw-in h2 { margin: 14px 0 0; font-size: 28px; line-height: 1.2; }
.rw-in p { margin: 0; color: var(--mut); font-size: 17px; }
.rw-next { width: 100%; margin-top: 12px; padding: 16px; border-radius: 18px; background: var(--s1); text-align: left; }
.rw-next div { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 10px; } .rw-next div span:first-child { font-weight: 600; }
.rw-next i { display: block; height: 8px; border-radius: 4px; background: var(--s2); overflow: hidden; } .rw-next i b { display: block; height: 100%; background: var(--acc); border-radius: 4px; }
.rw-in .btn { width: 100%; margin-top: 16px; }

/* Scripture in a routine as text, with a Scroll button (Jakub 2026-11-01). */
.pis-top { display: flex; justify-content: flex-end; margin-top: 4px; }
.pill-scroll { height: 36px; padding: 0 16px; border-radius: 18px; background: var(--accSoft); color: var(--accInk); font-size: 15px; font-weight: 600; }

/* ---------- W1 2026-11-02: one main thing per screen ---------- */
/* Tap targets at least 44 x 44 (QA 2026-11-02). Small looks stay; the hit area grows around them. */
.rtop .back { min-height: 44px; padding-right: 8px; }
.rtop .aa { min-height: 44px; min-width: 44px; display: grid; place-items: center end; }
.fs-pop button { min-height: 44px; min-width: 52px; }
.chk { position: relative; width: 26px; height: 26px; }
.chk::before { content: ""; position: absolute; inset: -10px; }
.sw { position: relative; }
.sw::before { content: ""; position: absolute; inset: -7px -2px; }
.tm { min-height: 44px; }
.icon-btn { width: 44px; height: 44px; }
.mv { width: 44px; height: 44px; background: none; position: relative; }
.mv::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--s2); }
.mv svg { position: relative; }
.rm, .addp { min-height: 44px; display: inline-flex; align-items: center; padding: 0 2px 0 8px; }
.danger { min-height: 44px; }
.cnav a { min-height: 44px; display: inline-flex; align-items: center; }
.plus-x { width: 44px; height: 44px; }
.plan-life { min-height: 44px; }
.pw .eye { width: 44px; height: 44px; right: 4px; bottom: 4px; }
.sh-head button { min-height: 44px; }
.fc-btn { width: 44px; height: 44px; border-radius: 22px; }
.fc-chap { position: relative; }
.fc-chap::before { content: ""; position: absolute; inset: -6px -2px; }
.fc-act { padding: 6px; margin: -6px; }
.aud-b, .aud-r { position: relative; }
.aud-b::before, .aud-r::before { content: ""; position: absolute; inset: -8px; }
.pill-scroll { height: 44px; border-radius: 22px; }
.link { min-height: 44px; }
.small-link { display: inline-flex; align-items: center; }

/* Dnes */
.dn-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 14px; color: var(--mut); text-align: center; }
.dn-note svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; flex: none; }
.dn-open .dn-go { margin-top: 16px; padding: 17px; font-size: 18px; }
.dn-fin { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 18px; border-radius: 18px; background: var(--s1); }
.dn-fin b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.2px; line-height: 1.25; }
.dn-fin small { display: block; margin-top: 3px; font-size: 15px; color: var(--mut); }
.dn-fin-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--acc); position: relative; }
.dn-fin-ic::after { content: ""; position: absolute; left: 13px; top: 12px; width: 13px; height: 7px; border-left: 2.5px solid var(--onAcc); border-bottom: 2.5px solid var(--onAcc); transform: rotate(-45deg); }
.dn .vod { margin-top: 20px; }

/* Biblia and Uložené before the morning prayer */
.mwait { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 0 12px; min-height: 60dvh; }
.mwait-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accSoft); color: var(--accInk); }
.mwait-ic svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mwait-t { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.35; max-width: 300px; text-wrap: balance; }
.mwait .btn { max-width: 320px; }
.tabs a.lk { opacity: .45; }

/* the finish of a routine */
.fin { text-align: center; }
.fin .done-mark { margin-top: 28px; animation: finPop .55s cubic-bezier(.2,.9,.3,1.25) both; }
@keyframes finPop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
.fin-h { margin-top: 18px; text-align: center; }
.fin-p { text-align: center; margin-bottom: 8px; }
.fin-streak { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 10px; }
.fin-streak b { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fin-streak span { font-size: 16px; color: var(--mut); }
.fin .vod { text-align: left; margin-top: 16px; }
.fin-note { margin-top: 16px; }

/* Modlitby: the season of the year, at the top, one element */
.pr-season { padding: 0; gap: 0; align-items: stretch; overflow: hidden; }
.pr-s-main { display: flex; flex-direction: column; gap: 4px; padding: 18px 44px 16px 18px; position: relative; color: inherit; }
.pr-s-main .chev { position: absolute; right: 18px; top: 50%; margin-top: -7px; width: 8px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .8; }
.pr-s-add { margin: 0 18px 18px; min-height: 44px; border-radius: 22px; background: var(--onAcc); color: var(--acc); font-size: 15px; font-weight: 600; }
.pr-season.in { background: var(--s1); color: var(--ink); }
.pr-season.in small { color: var(--accInk); opacity: 1; }
.pr-season.in span { color: var(--mut); opacity: 1; }
/* "Na dnes": smaller cards (owner 2026-11-02) */
.pr-day { min-height: 0; flex-direction: row; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; }
.pr-day i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accSoft); }
.pr-day i svg { width: 22px; height: 22px; }
.pr-day b { font-size: 15px; line-height: 1.25; display: block; }
.pr-day small { display: block; font-size: 12px; line-height: 1.3; }
.pr-day > b, .pr-day > small { flex: 1; }
.pr-day { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 0; align-content: center; min-height: 60px; padding: 10px 14px; }
.pr-days { grid-template-columns: 1fr; gap: 8px; }
.pr-day i { grid-row: 1 / 3; }
.pr-add { color: var(--accInk); }
.pr-add .t { font-weight: 600; }
.pr-plus { width: 26px; height: 26px; flex: none; border-radius: 50%; position: relative; background: var(--accSoft); }
.pr-plus::before, .pr-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: var(--accInk); }
.pr-plus::after { transform: rotate(90deg); }

/* onboarding: the main button always on screen (QA 2026-11-02) */
.onb .foot-btn { position: sticky; bottom: 0; z-index: 4; margin-top: auto; padding: 14px 0 calc(env(safe-area-inset-bottom, 0px) + 16px); background: linear-gradient(transparent, var(--bg) 22%); }
#app:has(> .onb) { padding-bottom: 0; }
.onb .foot-btn .link { display: block; text-align: center; padding: 10px 4px; }
.th-sys { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 12px auto 0; padding: 0 14px; font-size: 16px; color: var(--mut); }
.th-sys .rdo { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--mut); }
.th-sys.on { color: var(--ink); font-weight: 600; }
.th-sys.on .rdo { border: 6px solid var(--acc); }

/* silence: a ring that closes, pause and stop */
.tring { position: relative; width: 220px; height: 220px; margin: 26px auto 6px; display: grid; place-items: center; }
.tring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tring circle { fill: none; stroke-width: 7; }
.tr-bg { stroke: var(--s2); }
.tr-fg { stroke: var(--acc); stroke-linecap: round; stroke-dasharray: 653; stroke-dashoffset: 0; transition: stroke-dashoffset .3s linear; }
.tring span { position: relative; font-size: 50px; font-weight: 700; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.tring.on { animation: tBreath 6s ease-in-out infinite; }
@keyframes tBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
.tr-ok { position: relative; width: 72px; height: 72px; border-radius: 50%; background: var(--acc); animation: finPop .55s cubic-bezier(.2,.9,.3,1.25) both; }
.tr-ok::after { content: ""; position: absolute; left: 23px; top: 21px; width: 25px; height: 13px; border-left: 3px solid var(--onAcc); border-bottom: 3px solid var(--onAcc); transform: rotate(-45deg); }
.t-done .tring { animation: tGlow 1.6s ease-out 1; }
@keyframes tGlow { 0% { filter: drop-shadow(0 0 0 transparent); } 40% { filter: drop-shadow(0 0 18px var(--accSoft)); } 100% { filter: drop-shadow(0 0 0 transparent); } }
.t-state { text-align: center; min-height: 22px; margin: 4px 0 0; font-size: 15px; color: var(--mut); }
.rbar .btn.inline { padding: 13px 20px; }

/* Scripture for you as text (owner 2026-11-02: cleaner) */
.pis-h1 { margin-top: 6px; }
.pis-sub { margin-bottom: 14px; }
.pis-seg { margin-bottom: 8px; }
.pis-p { padding: 22px 0 6px; }
.pis-p + .pis-p { border-top: .5px solid var(--line); }
.pis-ref { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .3px; color: var(--accInk); }
.pis-t { margin: 4px 0 0; font-size: 21px; font-weight: 700; letter-spacing: -.2px; line-height: 1.25; }
.pis-x { margin-top: 10px; }
.pis-x p { margin: 0; }

/* page by page: routine Scripture and the gate */
.pager { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px calc(env(safe-area-inset-bottom, 0px) + 14px); background: var(--fBg); color: var(--ink); }
.pg-top { display: flex; align-items: center; gap: 8px; }
.pg-step { flex: 1; text-align: center; font-size: 15px; font-weight: 600; color: var(--mut); }
.pg-sp { width: 44px; flex: none; }
.pg-sw { flex: none; min-height: 44px; padding: 0 14px; border-radius: 22px; background: var(--fPill); font-size: 14px; font-weight: 600; color: var(--ink); }
.pg-bars { margin-top: 12px; }
.pg-meta { min-height: 22px; margin-top: 12px; text-align: center; }
.pg-meta b { font-size: 15px; font-weight: 600; color: var(--fMut); }
.pg-body { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow-y: auto; padding: 8px 18px; text-align: center; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.pg-tx { width: 100%; }
@media (prefers-reduced-motion: no-preference) { .pg-tx { animation: pgIn .26s ease-out; } }
@keyframes pgIn { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pg-bar { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.pg-bar .btn { flex: 1; border-radius: 26px; min-height: 52px; }
.pg-bar .btn.ghost { flex: 0 0 auto; padding: 0 22px; background: var(--fPill); }
.gate-end { width: 100%; max-width: 380px; margin: 0 auto; }
.gate-end .btn { min-height: 52px; }
.tring > span, .tring > i { grid-area: 1 / 1; }
.toast { width: max-content; max-width: calc(100% - 40px); text-align: center; line-height: 1.35; }
.row-i > a.t { align-self: stretch; display: flex; flex-direction: column; justify-content: center; margin: -12px 0; padding: 12px 0; min-height: 44px; }

/* ---------- W2 2026-11-02: the Bible tab ---------- */
/* Psalm headings apart from the verse, a passage's verses marked in the chapter, a missing chapter (B25, B14). */
.text .st { font-style: italic; font-size: calc(var(--fs, 21px) - 6px); color: var(--mut); margin: 0 0 10px; }
.text .st sup { font-style: normal; }
.text p.hl { background: var(--accSoft); box-shadow: 0 0 0 6px var(--accSoft); border-radius: 6px; }
.text.nohl p.hl { background: none; box-shadow: none; }
.fs-pop.fs-float { position: fixed; z-index: 6; right: 16px; top: calc(env(safe-area-inset-top, 0px) + 62px); margin: 0; padding: 8px; border-radius: 16px; background: var(--raise); box-shadow: 0 10px 30px var(--glassShadow); border: .5px solid var(--glassLine); }
.no-text { margin: 22px 4px; font-size: 16px; line-height: 1.5; }
.fc-st { font-family: var(--ui); font-size: 14px; font-style: italic; line-height: 1.4; color: var(--fMut); margin: 0 0 14px; }
/* Text size in the feed: every verse card follows one step (Aa). */
.fc-x.fs1 { font-size: calc(30px * var(--fk, 1)); line-height: calc(40px * var(--fk, 1)); }
.fc-x.fs2 { font-size: calc(27px * var(--fk, 1)); line-height: calc(38px * var(--fk, 1)); }
.fc-x.fs3 { font-size: calc(24px * var(--fk, 1)); line-height: calc(34px * var(--fk, 1)); }
.fc-x.fs4 { font-size: calc(21px * var(--fk, 1)); line-height: calc(31px * var(--fk, 1)); }
/* The top row: tabs, Témy, search, Aa. Every target 44 px. */
.fc-row { gap: 5px; }
.fc-tabs a { position: relative; min-height: 38px; display: flex; align-items: center; padding: 0 10px; }
.fc-tabs a::after { content: ""; position: absolute; inset: -3px 0; }
.fc-pill { height: 44px; border-radius: 22px; padding: 0 14px; }
.fc-ic svg { width: 21px; height: 21px; }
.fc-aa { font-size: 15px; font-weight: 600; color: var(--ink); }
.fc-fs { position: absolute; right: 16px; top: calc(env(safe-area-inset-top, 0px) + 62px); z-index: 4; margin: 0; padding: 6px; gap: 6px; border-radius: 16px; background: var(--raise); box-shadow: 0 10px 30px var(--glassShadow); border: .5px solid var(--glassLine); }
.fc-fs button { background: var(--s1); font-weight: 600; }
/* The text menu (W11): size on top, the page length under it. */
.fc-fs { flex-direction: column; align-items: stretch; justify-content: flex-start; width: 232px; padding: 8px; gap: 8px; }
.fc-fs-r { display: flex; gap: 6px; }
.fc-fs-r button { flex: 1; }
.fc-fs-l { margin: 4px 4px 0; font-size: 13px; font-weight: 600; color: var(--fMut); }
.fc-fs .seg { margin: 0; box-shadow: none; background: var(--s1); }
.fc-fs .seg button { min-width: 0; font-size: 14px; background: none; }
.fc-acts[hidden] { display: none; }
.fc-mt { min-width: 0; }
/* Celá Biblia: the book and chapter is one big button (T7). */
.fc-pick { min-width: 0; min-height: 44px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.fc-meta .fc-pick b { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 700; letter-spacing: -.3px; white-space: nowrap; }
.fc-pick b svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.fc-meta .fc-pick small { max-width: 100%; }
/* The first verse is on its way: gray lines where it will stand (B18). */
.fc-skel .fc-in { padding-left: 40px; padding-right: 40px; }
.skel-c { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.skel-c i { display: block; height: 24px; border-radius: 9px; background: var(--fPill); animation: skelPulse 1.2s ease-in-out infinite; }
.skel-c i:nth-child(1) { width: 92%; } .skel-c i:nth-child(2) { width: 100%; animation-delay: .1s; } .skel-c i:nth-child(3) { width: 84%; animation-delay: .2s; } .skel-c i:nth-child(4) { width: 62%; animation-delay: .3s; }
.skel-c i.r { width: 34%; height: 14px; margin-top: 16px; background: var(--accSoft); }
.view.boot { animation: none; padding-top: 40px; }
/* The heart (T7): only transform and opacity move, so the phone's compositor runs it smoothly. */
.fc-burst { width: 100px; height: 100px; margin: 0; rotate: none; filter: none; animation: none; opacity: 0; will-change: transform, opacity; transform: translate(-50%, -50%) scale(.2); }
.fc-act svg { transform-origin: 50% 50%; }
/* The page after a passage: what it means and what it invites you to (T8). One main button. */
.fc-act-pg .fc-in.act-in { text-align: left; max-width: 520px; padding: calc(env(safe-area-inset-top, 0px) + 78px) 28px calc(env(safe-area-inset-bottom, 0px) + 112px); }
.act-k { margin: 0; font-size: 14px; font-weight: 600; color: var(--accInk); }
.act-sum { margin: 8px 0 0; font-family: var(--disp); font-weight: 400; font-size: 26px; line-height: 34px; letter-spacing: -.2px; text-wrap: pretty; }
.act-b { margin-top: 20px; }
.act-b p { margin: 0; font-size: 17px; line-height: 1.5; }
.act-b .act-lab, .sb-do .act-lab { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--fMut); }
.act-go { margin-top: 24px; }
.act-more { display: block; margin: 6px auto 0; color: var(--fMut); font-weight: 600; }
.act-sk .skel { padding-top: 40px; }
/* Choď s Bohom: the calm end after the action page. */
.sb-in { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px 8px 0; }
.sb-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--accSoft); color: var(--accInk); }
.sb-ic svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sb-h { margin-top: 22px; font-size: 34px; line-height: 40px; }
.sb-p { max-width: 320px; min-height: 52px; font-size: 18px; line-height: 1.5; margin: 10px 0 0; color: var(--ink); }
.sb-do { margin-top: 28px; padding: 16px 18px; border-radius: 18px; background: var(--s1); text-align: left; max-width: 360px; width: 100%; }
.sb-do p { margin: 0; font-size: 17px; line-height: 1.5; }
.sb-close { display: block; text-align: center; color: var(--mut); }
@media (prefers-reduced-motion: no-preference) { .sb-ic { animation: finPop .5s ease-out; } }
/* Book and chapter picker sheet. */
.pk-quick { display: flex; gap: 8px; margin: 16px 0 0; overflow-x: auto; scrollbar-width: none; }
.pk-quick::-webkit-scrollbar { display: none; }
.pk-quick .chip { flex: none; font-weight: 600; white-space: nowrap; }
.pk-q { margin: 14px 0 0; }
.sheet-in .grp .tbar { margin: 18px 4px 0; }
.sheet-in .grp .card { margin-top: 8px; }
.pk-b.on .t { color: var(--accInk); font-weight: 600; }
.pk-more { margin-top: 18px; }
.pk-head .pk-back { display: flex; align-items: center; gap: 6px; padding: 6px 12px 6px 0; color: var(--accInk); font-size: 17px; font-weight: 600; }
.pk-back svg { width: 10px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.pk-t { margin: 12px 4px 0; font-size: 26px; font-weight: 700; letter-spacing: -.3px; }
.pk-grid { margin-top: 14px; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); }
.pk-grid button { min-height: 48px; border-radius: 12px; background: var(--s1); font-size: 16px; font-variant-numeric: tabular-nums; }
.pk-grid button.on { background: var(--acc); color: var(--onAcc); font-weight: 600; }
/* Books page: search by book or by word in the text, with a calm empty state. */
.bq { margin: 14px 0 0; }
.row-go { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 52px; margin-top: 10px; padding: 0 16px; border-radius: 16px; background: var(--accSoft); color: var(--accInk); font-size: 16px; font-weight: 600; text-align: left; }
.row-go span { flex: 1; min-width: 0; }
.row-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
.row-go .chev { width: 8px; height: 14px; stroke-width: 2; }
.ts-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 4px 8px; font-size: 14px; color: var(--mut); }
.ts-r .t b { display: block; font-size: 15px; font-weight: 600; color: var(--accInk); }
.ts-r .t small { font-size: 15px; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.empty-s { margin: 18px 4px; text-align: center; }
/* Rosary: a bead fills in place, a new step fades its text only (B15). */
@media (prefers-reduced-motion: no-preference) { .r-in { animation: rIn .22s ease-out; } .beads i.f { animation: beadIn .22s ease-out; } }
@keyframes rIn { from { opacity: .3; } to { opacity: 1; } }
@keyframes beadIn { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.r-cnt { text-align: center; margin: 0; }
/* Na dnes on Modlitby (owner 2026-11-02): each card offers to pray now (the main button), to add it to your day, or not today. */
.nd-list { display: flex; flex-direction: column; gap: 10px; }
.nd-c { padding: 14px 14px 12px; border-radius: 18px; background: var(--s1); }
.nd-top { display: flex; align-items: center; gap: 12px; }
.nd-top i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accSoft); }
.nd-top i svg { width: 22px; height: 22px; fill: none; stroke: var(--accInk); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nd-t { flex: 1; min-width: 0; }
.nd-t b { display: block; font-size: 16px; line-height: 1.25; }
.nd-t small { display: block; margin-top: 2px; font-size: 13px; color: var(--mut); }
.nd-skip { flex: none; min-height: 44px; min-width: 44px; padding: 0 2px 0 8px; font-size: 14px; color: var(--mut); }
.nd-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 10px; }
.nd-acts .btn.nd-go { width: auto; flex: 1 0 auto; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; border-radius: 22px; white-space: nowrap; }
.nd-add { flex: 1 0 auto; min-height: 44px; padding: 0 4px; text-align: center; font-size: 14px; font-weight: 600; color: var(--accInk); white-space: nowrap; }
/* Picker: the title, quick starts and search stay on top while the books scroll. */
.pk-fix { position: sticky; top: -8px; z-index: 2; margin: 0 -16px; padding: 4px 16px 6px; background: var(--bg); }
.pk-b .ck { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accInk); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* Lock v3 (W4): what stays open in the onboarding, the lock settings, the hold to turn the filter off. */
.op-sug .row-i { min-height: 56px; }
.op-ic { flex: none; width: 36px; height: 36px; border-radius: 18px; display: grid; place-items: center; background: var(--accSoft); }
.op-ic svg { width: 19px; height: 19px; fill: none; stroke: var(--accInk); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.op-st { display: flex; align-items: center; gap: 8px; margin: 14px 4px 0; font-size: 15px; font-weight: 600; color: var(--accInk); }
.op-st .ck { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accInk); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.op-ok { margin-left: auto; flex: none; display: grid; place-items: center; }
.op-ok .ck { width: 20px; height: 20px; fill: none; stroke: var(--accInk); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.onb-dns { margin-top: 18px; }
.op-sec { display: block; margin: 6px auto 0; min-height: 44px; }
.lk-today { margin: 6px 4px 0; font-size: 14px; color: var(--mut); }
.lk-sel { min-height: 44px; appearance: none; -webkit-appearance: none; padding-right: 12px; text-align: right; }
.grp-f.err { color: var(--soft); }
.lk-modal .hold { margin: 8px 0 4px; }
.lk-modal .link { min-height: 44px; }
/* Turning a lock off (W11): the reason is a choice of two cards, no default; the gentle line only for the second. */
.lk-off .pr-pop { gap: 10px; padding-bottom: 12px; }
.lk-off .pr-pop p { margin: 0; line-height: 1.45; }
.dns-steps { align-self: stretch; margin: 0 0 12px; padding: 0 0 0 22px; text-align: left; font-size: 16px; line-height: 1.5; }
.dns-steps li { padding: 3px 0; }
.lo-opts { width: 100%; display: flex; flex-direction: column; gap: 10px; margin: 6px 0 2px; }
.lo-opt { width: 100%; min-height: 56px; padding: 12px 16px; border-radius: 18px; background: var(--s1); border: 1.5px solid var(--line); color: var(--ink); font-size: 17px; font-weight: 600; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background .12s, border-color .12s; }
.lo-opt.on { background: var(--accSoft); border-color: var(--acc); color: var(--accInk); }
.lo-opt:focus-visible { outline: 2px solid var(--soft); outline-offset: 2px; }
/* Build 5: the gentle line opens and closes softly instead of jumping in; the box around it grows with it. While
   closed it is hidden (not read out) and its negative margin takes back the pop-up's gap. */
.lo-gentle { width: 100%; display: grid; grid-template-rows: 0fr; margin-top: -10px; opacity: 0; visibility: hidden; color: var(--mut); font-size: 15px; line-height: 1.45;
  transition: grid-template-rows .22s ease, margin-top .22s ease, opacity .15s ease, visibility 0s linear .22s; }
.lo-gentle > span { min-height: 0; overflow: hidden; }
.lo-gentle.on { grid-template-rows: 1fr; margin-top: 0; opacity: 1; visibility: visible; transition: grid-template-rows .22s ease, margin-top .22s ease, opacity .2s ease .06s, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .lo-gentle, .lo-gentle.on { transition: none; } }
.lk-off .btn, .lk-off .hold { margin-top: 6px; }
.vod .skel { margin: 2px 0; }
.vod .skel + .vt:empty { display: none; }

/* ---------- Sign-in and account screens (2026-11-02): calm, one main button, 44 px targets ---------- */
.auth .q { margin-top: 26px; }
.auth .sub { margin-bottom: 24px; }
.auth form { margin: 0; }
.auth .field input { min-height: 50px; }
.auth .field input[aria-invalid="true"] { border-color: var(--soft); }
.auth .err { margin: -6px 4px 14px; }
.auth .info { color: var(--mut); font-size: 14px; margin: -4px 4px 14px; }
.auth .btn { margin-top: 10px; min-height: 52px; }
.auth .fg { margin: -6px 0 4px; text-align: right; }
.auth .fg .link, .auth .alt .link { padding: 12px 6px; min-height: 44px; font-size: 15px; }
.auth .alt { text-align: center; margin: 20px 0 0; font-size: 15px; color: var(--mut); }
.auth .alt.col { display: flex; flex-direction: column; align-items: center; }
.link.mut { color: var(--mut); font-weight: 500; }
.pw input { padding-right: 54px; }
.pw .eye { right: 3px; bottom: 3px; width: 44px; height: 44px; }
.field.code input { font: 600 28px/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 10px; text-align: center; padding: 12px 8px 12px 18px; font-variant-numeric: tabular-nums; }
/* Apple and Google buttons: their own brand look (Apple: white on dark, black on light; Google: its neutral outline) */
.soc-l { display: grid; gap: 12px; }
.soc { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; border-radius: 26px; font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.soc svg { width: 20px; height: 20px; flex: none; }
.soc.apple svg { width: 22px; height: 22px; margin-top: -2px; }
/* Apple and Google share one quiet outline style per theme, so the red sign-in button stays the main one
   (Apple's "white with outline" / Google's neutral style in light, their dark outline styles in dark). */
.soc.apple, .soc.google { background: #131314; color: #E3E3E3; border: 1px solid #8E918F; }
.soc.apple svg { color: #FFFFFF; }
:root[data-theme="light"] .soc.apple, :root[data-theme="light"] .soc.google { background: #FFFFFF; color: #1F1F1F; border-color: #747775; }
:root[data-theme="light"] .soc.apple svg { color: #000000; }
/* The same soft lift as the red button: a top highlight, a slight gradient and a shadow under it. */
.soc { background-image: linear-gradient(#24201F, #141212); box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 1px 2px rgba(0,0,0,.35), 0 12px 26px -14px rgba(0,0,0,.85); transition: transform .12s ease, box-shadow .12s ease; }
:root[data-theme="light"] .soc { background-image: linear-gradient(#FFFFFF, #F8F4EF); box-shadow: inset 0 1px 0 #FFFFFF, 0 1px 2px rgba(60,40,30,.07), 0 12px 26px -14px rgba(60,40,30,.38); }
.soc:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 4px 12px -8px rgba(0,0,0,.6); }
:root[data-theme="light"] .soc:active { box-shadow: inset 0 1px 0 #FFFFFF, 0 4px 12px -8px rgba(60,40,30,.3); }
.soc.wait, .soc[disabled] { opacity: .55; }
.or { display: flex; align-items: center; gap: 12px; color: var(--mut); font-size: 14px; margin: 22px 0 18px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.row-i .val { max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- QA round 2: every tap target is at least 44 x 44 px in its own box, the look stays the same ---------- */
/* The check circle: a 44 px button, the 26 px circle drawn inside it. */
.chk { width: 44px; height: 44px; margin: -9px; border: 0; border-radius: 0; background: none; opacity: 1; display: grid; place-items: center; }
.chk::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2px solid var(--ring); }
.chk.on { background: none; }
.chk.on::before { background: var(--acc); border-color: var(--acc); }
.chk.on::after { position: relative; }
/* The switch: a 51 x 44 button, the 51 x 31 track drawn inside it. */
.sw, .sw.on { height: 44px; margin: -6.5px 0; border-radius: 0; background: none; }
.sw::before { content: ""; position: absolute; inset: 6.5px 0; border-radius: 16px; background: var(--s2); transition: background .15s; }
.sw.on::before { background: var(--acc); }
.sw::after { top: 8.5px; }
.sw[disabled] { opacity: .45; }
/* Segmented choices (Ráno / Večer, Svetlý / Tmavý, Uložené / Páči sa mi, Celý text / Po častiach). */
/* Feed top: Pre teba / Celá Biblia and Celá kapitola. */
.fc-tabs { padding: 0; border-radius: 23px; }
.fc-tabs a { min-height: 44px; border-radius: 22px; padding: 0 12px; }
.fc-tabs a::after { content: none; }
.fc-chap { height: 44px; border-radius: 22px; padding: 0 14px; }
.fc-chap::before { content: none; }
/* The passage title in the feed is never cut: two lines when it is long (QA2, C-feed-header-title-cut). */
.fc-meta b { white-space: normal; overflow: hidden; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; }
.fin-ms { margin: 0 0 6px; text-align: center; }
/* Web lock page: the Shortcuts set-up opens on a tap (QA2, B11). */
details.adv { margin-top: 18px; }
details.adv > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; border-radius: 16px; background: var(--s1); font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
details.adv > summary::-webkit-details-marker { display: none; }
details.adv > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--mut); border-bottom: 2px solid var(--mut); transform: rotate(45deg); margin-top: -4px; transition: transform .15s; }
details.adv[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
/* The password rule under a new password: two short parts that turn green with a check as you type. */
.pw-hint { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: -6px 4px 14px; font-size: 14px; color: var(--mut); }
.pw-hint span { display: inline-flex; align-items: center; gap: 6px; }
.pw-hint span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.pw-hint span.y { color: var(--accInk); }
.pw-hint span.y::before { width: 9px; height: 5px; border: 0; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; border-radius: 0; transform: translateY(-2px) rotate(-45deg); }
/* ---------- Onboarding v5 (owner 2026-11-02): God first, the morning time, the way out, the rest of the day ---------- */
.onb-hero { display: flex; justify-content: center; margin: 36px 0 8px; }
.onb-vitaj .onb-hero { order: -1; margin: max(56px, 12vh) 0 0; }
.onb-hero i { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--accSoft); color: var(--accInk); }
.onb-hero svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.onb-vitaj .q { margin-top: 18px; text-align: center; }
.onb-vitaj .sub { text-align: center; max-width: 340px; margin-left: auto; margin-right: auto; }
/* "Chceš začať hneď teraz?" centered like the welcome (owner 2026-11-03: it sat on the left). */
.onb-teraz .onb-hero { margin: max(56px, 12vh) 0 0; }
.onb-teraz .q { margin-top: 18px; text-align: center; }
.onb-teraz .sub { text-align: center; max-width: 340px; margin-left: auto; margin-right: auto; }
/* "Plus je zapnuté" centered like the welcome and "teraz" screens (owner 2026-11-03: it sat on the left). */
.plus-done .onb-hero { margin: max(56px, 12vh) 0 0; }
.plus-done .q { margin-top: 18px; text-align: center; }
.plus-done .sub { text-align: center; max-width: 340px; margin-left: auto; margin-right: auto; }
.onb-time { display: flex; justify-content: center; margin: 26px 0 10px; }
.onb-time .tm { font-size: 44px; font-weight: 700; letter-spacing: -.5px; min-height: 76px; min-width: 200px; padding: 6px 22px; border-radius: 20px; text-align: center; background: var(--s1); color: var(--ink); }
.onb-promise { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 16px; border-radius: 18px; background: var(--s1); font-size: 15px; line-height: 1.45; }
.onb-promise i { flex: none; width: 36px; height: 36px; border-radius: 18px; display: grid; place-items: center; background: var(--accSoft); color: var(--accInk); }
.onb-promise svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.onb-how { list-style: none; counter-reset: onb; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.onb-how li { counter-increment: onb; position: relative; padding: 14px 16px 14px 60px; border-radius: 18px; background: var(--s1); }
.onb-how li::before { content: counter(onb); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 15px; display: grid; place-items: center; background: var(--acc); color: var(--onAcc); font-weight: 700; font-size: 15px; }
.onb-how b { display: block; font-size: 16px; line-height: 1.3; }
.onb-how span { display: block; margin-top: 2px; font-size: 14px; color: var(--mut); line-height: 1.4; }
.onb-foot { margin: 14px 4px 0; line-height: 1.45; }
.onb-den .card + .card { margin-top: 12px; }
.auth .top + .q { margin-top: 10px; }

/* Uložené / Páči sa mi (owner 2026-11-02): one pill slides under the tapped label, the labels never carry
   a shadow of their own, nothing is selectable or highlighted by a long press. */

/* Modlitby (owner 2026-11-02): Odporúčané teraz cards with two actions, Moje modlitby by time, the "Kedy?" sheet. */
.rec-top { min-height: 44px; color: inherit; }
a.rec-top .chev { flex: none; width: 8px; height: 14px; fill: none; stroke: var(--ring); stroke-width: 2; }
.rec-c .nd-acts { flex-wrap: nowrap; gap: 8px; }
.rec-c .nd-acts .btn.nd-go { flex: 1 1 auto; }
.rec-c .rec-skip { flex: none; padding: 0 14px; min-width: 88px; font-weight: 600; }
.rec-all .t { font-weight: 600; color: var(--accInk); }
.sec-row .mine-add { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: flex-end; font-size: 16px; }
.mine-g + .mine-g { margin-top: 4px; }
.mine-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mine-h .tbar { margin: 14px 4px 6px; }
.mine-h .mine-ed { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: flex-end; padding: 0 4px; font-size: 14px; font-weight: 600; color: var(--accInk); }
.mine-e { margin: 0 4px 8px; }
.wh-modal { align-items: flex-end; padding: 12px 12px calc(env(safe-area-inset-bottom, 0px) + 12px); }
.wh-pop { width: min(420px, 100%); align-items: stretch; text-align: left; gap: 6px; padding: 22px 16px 10px; }
.wh-pop h2, .wh-pop > p { padding: 0 4px; }
.wh-list { display: flex; flex-direction: column; border-radius: 14px; background: var(--s1); overflow: hidden; }
.wh-o { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px; font-size: 17px; text-align: left; color: var(--ink); }
.wh-o + .wh-o { border-top: 1px solid var(--line); }
.wh-o b { font-weight: 500; }
.wh-o span { color: var(--mut); font-variant-numeric: tabular-nums; }
.wh-own { display: flex; gap: 10px; margin-top: 8px; }
.wh-own input { flex: 1; min-height: 48px; border: 0; border-radius: 12px; background: var(--s1); color: var(--ink); font-size: 17px; padding: 0 14px; }
.wh-own .btn { width: auto; flex: none; min-height: 48px; padding: 0 22px; }
.wh-pop .link { min-height: 44px; text-align: center; }
.dn-fin-s { margin-top: 28px; }
/* The evening can be started early (owner 2026-11-03): its time and one tap, under the done card. */
.dn-early { margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: var(--s1); }
.dn-early b { display: block; font-size: 16px; font-weight: 600; }
.dn-early-go { display: flex; align-items: center; justify-content: center; margin-top: 10px; min-height: 46px; padding: 0 16px; border-radius: 14px; background: var(--s2); color: var(--ink); font-size: 15px; font-weight: 600; }
.kept-bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 4; margin: 0 -20px 18px; padding: 6px 20px 8px; background: var(--bg); }
.kept-bar .seg { margin: 0; }
.kept-bar.stuck { box-shadow: 0 1px 0 var(--line); }
.kept-bar.stuck::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: env(safe-area-inset-top, 0px); background: var(--bg); }
.kept-v .big-t { margin-bottom: 6px; }

/* Zamykanie like Opal (W7, owner 2026-11-02): status card, rules as cards, each on its own page */
.zam .big-t { margin-bottom: 14px; }
.lk-status { background: var(--s1); border-radius: 22px; padding: 20px 18px 18px; display: flex; flex-direction: column; align-items: flex-start; }
.lk-status .lk-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--s2); color: var(--mut); margin-bottom: 12px; }
.lk-status .lk-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lk-status.locked { background: var(--hero); color: var(--heroInk); }
.lk-status.locked .lk-ic { background: rgba(255,255,255,.16); color: var(--heroInk); }
.lk-status h2 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.2px; }
.lk-status p { margin: 6px 0 0; font-size: 15px; line-height: 1.4; color: var(--mut); }
.lk-status.locked p { color: var(--heroSoft); }
.lk-status .lk-tries { font-size: 14px; margin-top: 8px; }
.lk-status .btn { margin-top: 16px; }
.lk-status.locked .btn { background: var(--heroInk); color: var(--hero); }
.lk-status .btn.ghost { background: var(--s2); color: var(--ink); }
.lk-notif { margin-top: 12px; }
.rules { display: flex; flex-direction: column; gap: 10px; }
.rule { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; background: var(--s1); border-radius: 18px; padding: 0 16px 0 0; }
/* Build 5: the emergency unlock is a small button inside Ranný zámok, under its line, not a card of its own. */
.rule-x { flex: 0 0 100%; padding: 0 0 12px 62px; margin-top: -6px; }
.rule-b { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--s2); color: var(--accInk); font-size: 15px; font-weight: 600; -webkit-tap-highlight-color: transparent; touch-action: manipulation; position: relative; }
.rule-b::after { content: ''; position: absolute; inset: -4px 0; }
.lk-auth { margin-bottom: 12px; }
.rule-main { flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 12px; padding: 14px 0 14px 14px; min-height: 64px; }
.rule-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--s2); color: var(--mut); }
.rule-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rule.on .rule-ic { background: var(--accSoft); color: var(--accInk); }
.rule-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rule-t b { font-size: 17px; font-weight: 600; }
.rule-t small { font-size: 14px; color: var(--mut); line-height: 1.35; }
/* W11: what the rule locks is a plain second line (a pill wrapped badly once it says what stays open too). */
.rule-t em { font-style: normal; font-size: 14px; line-height: 1.35; color: var(--mut); margin-top: 2px; }
.rule.on .rule-t em { color: var(--ink); }
.lk-rows { margin-top: 18px; }
.lk-head { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.lk-head .big-t { margin: 0; }
.lk-head .rule-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accSoft); color: var(--accInk); }
.lk-head .rule-ic svg { width: 24px; height: 24px; }
.zam .lk-head + .sub { margin-top: 12px; }
.lk-webline { margin: -8px 4px 16px; font-size: 14px; color: var(--accInk); font-weight: 600; }
.zam .card + .card { margin-top: 12px; }
.row-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin-top: 8px; padding: 0 16px; color: var(--accInk); font-weight: 600; font-size: 16px; }
.row-link .chev { width: 8px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.zam-web .sw, .zam-web .tm { opacity: .6; }
/* W11 Zamykanie: a value row like iOS Settings. The whole row is the control: the value in the accent colour with an
   up and down chevron, the real time input or select invisible over the row (one tap opens the iPhone picker). */
.lk-pick { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lk-pick .v { color: var(--accInk); }
.lk-pick .chev.ud { width: 10px; height: 16px; fill: none; stroke: var(--accInk); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; margin-left: -6px; opacity: 1; }
.lk-pick .lk-in { position: absolute; top: 0; bottom: 0; left: -16px; right: -16px; width: calc(100% + 32px); height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; font-size: 17px; -webkit-appearance: none; appearance: none; background: transparent; color: transparent; cursor: pointer; z-index: 1; }
.lk-pick:active { opacity: .7; }
.lk-pick.off { cursor: default; }
.lk-pick .lk-in[disabled] { pointer-events: none; }
.lk-pick.off .v, .lk-pick.off .chev.ud { color: var(--mut); stroke: var(--mut); }
.lk-pick.off:active { opacity: 1; }
.lk-status .lk-esc { align-self: center; margin-top: 8px; padding: 10px 4px; font-size: 15px; }
.lk-status.locked .lk-esc { color: var(--heroSoft); }
/* W11 round 2 (owner 2026-11-04): the time of a prayer lock big and plain, the switch beside "Zamkne sa o". The whole
   time block is the iPhone's time picker (the input lies invisible over it). Fewer grey boxes: the way out is text. */
.lk-time { background: var(--s1); border-radius: 22px; padding: 4px 18px 16px; }
.lk-time-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-size: 15px; color: var(--mut); }
.lk-big { position: relative; display: flex; align-items: center; gap: 10px; min-height: 72px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lk-big-v { font-size: 60px; line-height: 1; font-weight: 700; letter-spacing: -1.5px; color: var(--accInk); font-variant-numeric: tabular-nums; }
.lk-big .chev.ud { width: 13px; height: 21px; fill: none; stroke: var(--accInk); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lk-big .lk-in { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; font-size: 17px; -webkit-appearance: none; appearance: none; background: transparent; color: transparent; cursor: pointer; z-index: 1; }
.lk-big:active { opacity: .7; }
.lk-big.dis { cursor: default; }
.lk-big.dis:active { opacity: 1; }
.lk-big.dis .lk-in { pointer-events: none; }
.lk-time.off .lk-big-v, .lk-big.dis .lk-big-v { color: var(--mut); }
.lk-time.off .lk-big .chev.ud, .lk-big.dis .chev.ud { stroke: var(--mut); }
.lk-time-cap { margin: 4px 0 0; font-size: 15px; line-height: 1.4; color: var(--mut); }
.lk-note { margin: 0 16px; font-size: 15px; line-height: 1.45; color: var(--mut); }
.lk-note b { color: var(--ink); font-weight: 600; }
.zam .grp-f + .card { margin-top: 22px; }
/* fb11 #3/#5: the line above the pass settings on Cez deň. */
.lk-note.lk-pp { margin-bottom: 10px; }
/* Vlastné: a lock per row, the red minus removes it (iOS edit style), the plus row adds one. */
.lk-addl { color: var(--accInk); gap: 12px; }
.lk-addl .t { font-weight: 600; }
.lk-plus { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accSoft); }
.lk-plus::before, .lk-plus::after { content: ""; position: absolute; left: 6px; top: 10px; width: 10px; height: 2px; border-radius: 1px; background: var(--accInk); }
.lk-plus::after { transform: rotate(90deg); }
.lk-add-b { gap: 8px; padding: 12px 0 14px; }
.lk-add-b .btn { flex: 1; width: auto; }
.lk-add-b .link { padding: 12px 14px; }
/* Own locks (W11 vlastne): the add button under the rules, the name field, the buttons at the end of the page */
.lk-addc { margin-top: 10px; }
.lk-name { cursor: text; }
.lk-name .t { flex: none; }
.lk-name input { flex: 1; min-width: 0; min-height: 44px; text-align: right; border: 0; background: transparent; font: inherit; color: var(--accInk); padding: 0; outline: none; -webkit-appearance: none; appearance: none; }
.lk-name input::placeholder { color: var(--mut); opacity: 1; }
.lk-name.off input { color: var(--mut); }
.lk-own-b { display: flex; flex-direction: column; align-items: stretch; margin-top: 24px; }
.lk-own-b .btn { flex: none; width: 100%; }
.lk-own-b .link { text-align: center; min-height: 44px; }
.lk-del { width: 100%; justify-content: center; margin-top: 20px; }
/* Všetky modlitby and one category (W7): the search stays on top while the list scrolls */
.lib .lib-h { margin-bottom: 8px; }
.lib-search { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 60px); z-index: 4; margin: 0 -20px; padding: 2px 20px 8px; background: var(--bg); }
.lib-search .search { margin: 0 !important; }
.lib .grp .tbar { margin: 20px 4px 8px; }
.lib .grp:first-of-type .tbar { margin-top: 10px; }
.lib-e { margin: 18px 4px; }
.lib .grp > .card { margin-top: 0; }
.lib > .grp:first-of-type { margin-top: 6px; }
/* Profil (W7): who you are, the streak, rewards that fit, the rows */
.me .dn-top { margin-bottom: 4px; }
.me-id { display: flex; align-items: center; gap: 14px; margin: 14px 0 16px; }
.me-id .me-av { width: 64px; height: 64px; padding: 2.5px; background: linear-gradient(140deg, var(--acc), var(--gold)); }
.me-id .me-av span { font-size: 26px; border-width: 2.5px; }
.me-who { min-width: 0; display: flex; flex-direction: column; }
.me-who b { font-size: 22px; font-weight: 700; letter-spacing: -.2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-who small { font-size: 15px; color: var(--mut); }
.me-streak { background: var(--s1); border-radius: 20px; padding: 18px 16px 14px; }
.me-streak .me-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; text-align: left; gap: 10px; }
.me-streak .me-nums b { display: block; font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.me-streak .me-nums .big b { color: var(--accInk); }
.me-streak .me-nums small { display: block; font-size: 13px; color: var(--mut); margin-top: 4px; line-height: 1.2; }
.me-streak .week { margin-top: 16px; }
.me-best { margin: 12px 0 0; font-size: 14px; color: var(--mut); text-align: center; }
.me .me-badges { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; overflow: visible; margin: 0; padding: 0; }
.me .me-badge { width: auto; padding: 10px 2px 8px; gap: 6px; border-radius: 14px; opacity: 1; }
.me .me-badge i { width: 40px; height: 40px; font-size: 15px; border-width: 1.5px; opacity: .5; }
.me .me-badge.got i { opacity: 1; }
.me .me-badge.next i { opacity: 1; border-color: var(--accInk); color: var(--accInk); }
.me .me-badge b { font-size: 12px; font-weight: 600; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.me .me-badge.got b { color: var(--ink); }
.me-rows { margin-top: 24px; }
.me-mine-h { margin-top: 26px; }
.me-mine { margin-top: 6px; }
.set-row { gap: 12px; }
.set-ic { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--accSoft); color: var(--accInk); }
.set-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.set-row + .row-i, .set-row + .set-row { border-top: 0; box-shadow: inset 42px 0 0 var(--s1), inset 0 1px 0 var(--line); }
.set-card { margin-top: 18px; }
.set-copy { margin: 24px 4px 0; }
/* Pokročilé: a quiet link at the very bottom of Nastavenia (owner 2026-11-09: hidden deep). */
.set-adv { margin-top: 0; }
.set-adv a { display: inline-block; min-width: 44px; padding: 13px 0; color: inherit; opacity: .75; }
.danger-t { color: var(--accInk); }
/* Muž / Žena (owner 2026-11-03): two big halves, Nechcem uviesť quiet under them. */
.g-pick { margin: 0 0 6px; }
.g-none { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 4px; color: var(--mut); font-size: 15px; }
.g-none.on { color: var(--ink); font-weight: 600; }
.g-none .ck { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* ---------- W9 sales onboarding (2026-11-03): questions, time calculator, plan, paywall ---------- */
.onb-verse { margin: 18px 4px 0; padding: 0; text-align: center; }
.onb-verse p { margin: 0; font-family: var(--disp); font-size: 19px; line-height: 1.45; color: var(--ink); }
.onb-verse cite { display: block; margin-top: 6px; font-style: normal; font-size: 14px; font-weight: 600; color: var(--accInk); }
.onb-vitaj .onb-verse { margin-top: 22px; }
/* Owner 2026-11-13: the mornings use the same cards and number font as the social minutes, four in a row. */
.onb-n.gm { grid-template-columns: repeat(4, 1fr); }
.onb-n .gm-b { grid-column: auto; }
.onb-nv { display: block; margin: 16px auto 0; min-height: 44px; padding: 8px 18px; font-size: 16px; }
.onb-nv.on { font-weight: 600; }
.onb-k { margin: 2px 0 0; font-size: 15px; color: var(--mut); order: -1; }
/* The calculator result (owner 2026-11-03: cleaner, modern): one big number, three tiles, two bars. */
.onb-vysledok .onb-k { order: 0; margin: 10px 0 0; text-align: center; font-size: 14px; font-weight: 600; color: var(--mut); }
.onb-vysledok h1.q { text-align: center; margin: 14px 0 18px; }
.vys-n { display: block; font-family: var(--disp); font-size: 84px; line-height: 1; font-weight: 600; letter-spacing: -2px; color: var(--accInk); font-variant-numeric: tabular-nums; }
.vys-w { display: block; margin-top: 6px; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.3px; }
/* Owner 2026-11-12: three plain rows instead of tiles that wrapped ("1 277 h / 30 min"). */
.vys-rows { margin-top: 28px; padding: 4px 18px; }
.vys-r { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; font-size: 16px; color: var(--mut); }
.vys-r + .vys-r { border-top: 1px solid var(--line); }
.vys-r b { color: var(--ink); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.onb-calc .row-i .t { color: var(--mut); }
.onb-calc .row-i .d { color: var(--ink); font-weight: 700; font-size: 16px; text-align: right; }
.onb-card { margin: 16px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--accSoft); }
.onb-card b { display: block; font-size: 17px; line-height: 1.35; }
.onb-card span { display: block; margin-top: 4px; font-size: 15px; color: var(--mut); }
.onb-plan .op-ic { width: 26px; height: 26px; }
.onb-plan .op-ic svg { width: 15px; height: 15px; }
.onb-gap { margin: 10px 16px 12px; color: var(--accInk); font-weight: 600; }
.plus-tl { list-style: none; margin: 0 0 16px; padding: 0 0 0 16px; border-left: 2px solid var(--accSoft); display: flex; flex-direction: column; gap: 8px; }
.plus-tl li { position: relative; font-size: 14px; line-height: 1.4; color: var(--mut); }
.plus-tl li::before { content: ""; position: absolute; left: -22px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); }
.plus-tl b { display: block; color: var(--ink); font-size: 15px; }
.plus-tl[hidden] { display: none; }
.plan-d b { font-size: 21px; }
.plus-foot .plus-free { display: block; text-align: center; font-size: 17px; margin-top: 4px; }
.plus-keep { margin: 0; text-align: center; font-size: 13px; color: var(--mut); }
.plus-legal { margin: 8px 0 0; text-align: center; font-size: 12px; color: var(--mut); }
.plus-legal a { color: var(--mut); }
.onb-vysledok .sub, .onb-plan ~ .sub { margin-top: 14px; }
.onb-vysledok .onb-verse { margin-top: 20px; }
/* ---------- W9 (owner 2026-11-03): glass controls, the same glass as the floating tab bar ---------- */
/* Segmented switch (Celý text / Po častiach, Uložené / Páči sa mi, Muž / Žena, the slots of a list): a glass oval,
   one soft burgundy pill slides under the active label. Markup: segHtml() in app.js (--n labels, --i active). */
.seg { --n: 2; --i: 0; position: relative; isolation: isolate; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 0 0 18px; padding: 4px; border-radius: 28px; font-size: 15px; text-align: center;
  background: var(--glass); border: .5px solid var(--glassLine); box-shadow: 0 6px 22px var(--glassShadow); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.seg button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 6px; border-radius: 24px; white-space: nowrap; color: var(--mut); font-weight: 500; background: none; box-shadow: none; transition: color .2s; }
.seg button.on { color: var(--accInk); font-weight: 600; background: none; }
.seg button:active { background: none; }
.seg button:focus { outline: none; }
.seg button:focus-visible { outline: 2px solid var(--soft); outline-offset: -2px; }
.seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n)); border-radius: 24px; background: var(--accSoft); transform: translateX(calc(var(--i) * 100%)); transition: transform .26s cubic-bezier(.3,.7,.2,1), opacity .2s; will-change: transform; pointer-events: none; }
.seg.seg-none .seg-pill { opacity: 0; }
.seg.seg-many { font-size: 13px; }
.seg.seg-many button { padding: 0 2px; }
@media (prefers-reduced-motion: reduce) { .seg-pill, .seg button { transition: none; } }
.pis-seg { margin-bottom: 14px; }
.kept-bar .seg { margin: 0; }
.g-seg { margin: 0; }
.g-seg button { font-size: 16px; }

/* Search field: a glass oval with a magnifier and a clear button (markup: searchField() in app.js). */
.gs { position: relative; display: flex; align-items: center; margin: 6px 0; min-height: 48px; border-radius: 24px; background: var(--glass); border: .5px solid var(--glassLine); box-shadow: 0 4px 18px var(--glassShadow);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); transition: box-shadow .15s, border-color .15s; }
.gs:focus-within { border-color: var(--accInk); box-shadow: 0 0 0 3px var(--accSoft), 0 4px 18px var(--glassShadow); }
.gs-i { position: absolute; left: 16px; top: 14px; width: 20px; height: 20px; fill: none; stroke: var(--mut); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.gs .search { flex: 1; min-width: 0; width: 100%; height: 48px; min-height: 48px; margin: 0 !important; padding: 0 48px 0 44px; border: 0; border-radius: 24px; background: none; font-size: 17px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.gs .search:focus, .gs .search:focus-visible { outline: none; }
.gs .search::placeholder { color: var(--mut); opacity: 1; }
.gs .search::-webkit-search-cancel-button, .gs .search::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.gs-x { position: absolute; right: 0; top: 0; width: 48px; height: 48px; display: grid; place-items: center; color: var(--mut); }
.gs-x svg { width: 20px; height: 20px; }
.gs-x circle { fill: currentColor; opacity: .55; }
.gs-x path { fill: none; stroke: var(--bg); stroke-width: 2.2; stroke-linecap: round; }
.gs .search:placeholder-shown ~ .gs-x { display: none; }
.gs.pk-q { margin: 14px 0 0; }
.gs.bq { margin: 14px 0 0; }

/* The gate's page. */
.gate-in { padding: calc(env(safe-area-inset-top, 0px) + 84px) 28px calc(env(safe-area-inset-bottom, 0px) + 28px); }
.gate-in .btn { min-height: 52px; }
.gate-in .link { min-height: 44px; min-width: 44px; padding: 0 14px; }
.gate-in .fc-p { margin-bottom: 18px; }
/* Owner 2026-11-26: past the choice the Bible goes on; a quiet pointer at the bottom of the card. */
.gate-more { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 0; background: none; color: var(--mut, var(--ink)); opacity: .75; font: inherit; font-size: 15px; cursor: pointer; }
.gate-more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* The gate's minutes (W11): big cards, one tap is the pass. Cream or dark card, the usual length in soft burgundy. */
.gm { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 4px 0 18px; }
.gm-b { grid-column: span 2; display: grid; grid-auto-flow: column; align-items: baseline; justify-content: center; align-content: center; column-gap: 5px; min-height: 92px; padding: 10px 6px; border-radius: 22px; background: var(--raise); border: 1.5px solid var(--line); color: var(--ink); -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform .12s, background .12s, border-color .12s; }
.gm-b.gm-w { grid-column: span 3; }
.gm-b.gm-f { grid-column: span 6; }
/* fb11 #8: the onboarding's social hours in the same cards, two across, a range like "1 až 2" a bit smaller. */
.onb .onb-sc { margin-top: 22px; }
.onb-sc .gm-b { min-height: 76px; }
.onb-sc .gm-b b { font-size: 28px; white-space: nowrap; }
.gm-b b { font-family: var(--disp); font-size: 36px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.gm-b span { font-size: 15px; font-weight: 500; line-height: 1; color: var(--mut); }
.gm-b.on { background: var(--accSoft); border-color: var(--acc); }
.gm-b.on b { color: var(--accInk); }
.gm-b:active { transform: scale(.97); background: var(--accSoft); border-color: var(--acc); }
.gm-b:disabled { opacity: .6; }
.gm-b:focus-visible { outline: 2px solid var(--soft); outline-offset: 2px; }


/* The passes of today as dots: filled = still there, hollow = used. */
/* Owner 2026-11-08 ("toto je ale škaredé", the grey pill with two lines): a quiet line of small text, no box. */
.gate-viz { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 26px auto 0; padding: 0; background: none; width: fit-content; max-width: 100%; }
.gate-viz svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--fMut); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gate-viz.is-0 svg { stroke: var(--fMut); }
.gate-viz b { font-size: 14px; font-weight: 500; color: var(--fMut); text-align: center; }
.gate-viz.is-0 b { color: var(--fMut); }

/* Dušičková oktáva: the two ways, one note under them (TK KBS 2026-11-01); a season offer can be added from its card. */
.pr-note { margin: 8px 4px 0; color: var(--mut); line-height: 1.45; }
.pr-way { margin-top: 10px; }
.pr-way .row-i { align-items: flex-start; }
.rec-c .rec-add { background: var(--s2); width: 100%; margin-top: 8px; min-height: 44px; padding: 0 14px; font-size: 15px; border-radius: 22px; display: flex; align-items: center; justify-content: center; }
.mine-season { margin-bottom: 14px; }
/* The action page has three parts now (owner 2026-11-03): a little tighter, so it fits a 390 x 844 phone. */
.fc-act-pg .fc-in.act-in { padding-top: calc(env(safe-area-inset-top, 0px) + 66px); padding-right: 76px; }
/* What God says and the invitation sit in a box, apart from the Bible quote (owner 2026-11-04). */
.act-box { margin-top: 18px; padding: 16px 18px; border-radius: 20px; background: var(--fPill); border: 1px solid var(--fLine); }
.act-box .act-b:first-child { margin-top: 0; }
/* The box sits in the middle of the screen, the text in it reads from the left (owner 2026-11-04). */
.act-box, .fc-act-pg .act-box .act-b .act-lab { text-align: left; }
.fc-act-pg .act-go { display: block; margin: 20px auto 0; padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--fMut); }
/* The explanation page reads centered like the verses (owner 2026-11-03). */
/* The story top stays on this page now, so the text starts under it; the icons on the right keep their lane. */
.fc-act-pg .fc-in.act-in { text-align: center; padding-top: calc(env(safe-area-inset-top, 0px) + 124px); padding-left: 20px; padding-right: 20px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 176px); margin-left: auto; margin-right: auto; }
/* Here the heart, share and save are one row under the text, so the box can stay centered and wide. */
.fc-act-pg .fc-acts { right: auto; left: 50%; transform: translateX(-50%); flex-direction: row; gap: 40px; bottom: calc(env(safe-area-inset-bottom, 0px) + 112px); }
.fc-act-pg .act-b .act-lab { text-align: center; }
.act-sum { font-size: 24px; line-height: 31px; }
.act-b { margin-top: 14px; }
.act-b p { font-size: 16px; line-height: 1.45; }
.act-go { margin-top: 18px; }
/* Every hold button: the fill is a bar, never the dialog's round icon (QA 2026-11-03, the pink oval in "Vypnúť filter?"). */
.hold > i, .pr-pop .hold > i { display: block; position: absolute; left: 0; top: 0; bottom: 0; height: auto; width: 0; border-radius: 0; background: color-mix(in srgb, var(--acc) 22%, transparent); }
/* The gate's hold (owner 2026-11-03): a small icon with a verse, a different one each time, a pill that fills while held. */
.gh { display: flex; flex-direction: column; align-items: center; text-align: center; }
/* Burgundy lines on cream in both themes, so the drawing reads the same in the dark. */
.gh-ic { margin: 4px 0 18px; width: 128px; height: 128px; border-radius: 30px; overflow: hidden; background: #FBF9F6; box-shadow: 0 8px 24px rgba(0,0,0,.12), 0 0 0 1px var(--line); animation: gh-in .5s ease-out both; }
.gh-ic img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
/* Owner 2026-11-08: no fade from invisible; an animation held back by iOS left the icon blank. */
@keyframes gh-in { from { transform: translateY(6px) scale(.97); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .gh-ic { animation: none; } }
.gh-v { margin: 0 8px 24px; padding: 0; }
.gh-v p { margin: 0; font-family: var(--disp); font-size: 21px; line-height: 1.4; color: var(--ink); text-wrap: balance; }
.gh-v cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; font-weight: 600; color: var(--accInk); }
.gh-p { margin-bottom: 20px; }
.gh-pill { position: relative; overflow: hidden; width: 100%; min-height: 58px; border-radius: 99px; background: var(--fPill); border: 1px solid var(--fLine); color: var(--ink); font-size: 17px; font-weight: 600; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.gh-pill > i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: color-mix(in srgb, var(--acc) 45%, transparent); }
.gh-pill > span { position: relative; font-variant-numeric: tabular-nums; }
.gh-no { margin-top: 12px; min-height: 58px; border-radius: 99px; background: transparent; color: var(--accInk); border: 1.5px solid color-mix(in srgb, var(--accInk) 45%, transparent); font-size: 17px; }
.gh-no + .gate-viz { margin-top: 22px; }
/* Build 6 (owner 2026-11-06, screenshot): the later .btn gradient covered this outline button, so "Nechať tak" was red text on red.
   Owner 2026-11-07: keep it the filled red button it was (the one to tap), only with its text visible. */
.btn.gh-no { color: var(--onAcc); border: 0; }
/* Screen Time like other apps (owner 2026-11-03): explain, then point at the dialog's Continue. */
.onb-cas { text-align: center; }
.onb-cas h1.q, .onb-cas .sub { text-align: center; }
.onb-cas.cas-intro .cas-tiles, .onb-cas.cas-no .cas-tiles { margin-top: auto; }
.cas-tiles { order: -1; display: flex; justify-content: center; margin: max(40px, 9vh) 0 26px; }
.onb-cas .r-steps { order: -2; }
.onb-cas .top { order: -3; }
.cas-tiles { align-items: center; gap: 0; }
.cas-tiles i { width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.cas-tiles svg { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cas-st { background: #5E5CE6; }
.cas-nb { background: var(--acc); }
.cas-link { width: 30px; height: 30px; margin: 0 -6px; z-index: 1; border-radius: 50%; display: grid; place-items: center; background: var(--raise); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.cas-tiles .cas-link svg { width: 16px; height: 16px; stroke: #34C759; stroke-width: 2.6; }
.onb-cas .cas-rows { margin-top: 22px; text-align: left; }
.onb-cas .cas-rows .row-i .t { font-size: 15px; line-height: 1.35; }
.cas-dlg { margin: 28px auto 0; max-width: 320px; text-align: left; padding: 22px 20px 18px; border-radius: 30px; background: var(--s1); }
.cas-dlg b { display: block; font-size: 17px; line-height: 1.3; }
.cas-dlg p { margin: 6px 0 16px; font-size: 14px; line-height: 1.4; color: var(--mut); }
.cas-dlg div { display: flex; gap: 10px; }
.cas-dlg span { flex: 1; text-align: center; padding: 12px 6px; border-radius: 99px; background: var(--s2); font-weight: 600; font-size: 15px; }
.cas-dlg span.no { background: #0A84FF; color: #fff; }
.cas-tap { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; font-size: 20px; font-weight: 700; }
.cas-tap svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-left: -40px; }

/* Plus just bought: the line icon over the heading, the verse under the text (owner 2026-11-04). */
.plus-done .pd-ic { margin: max(48px, 10vh) auto 18px; }
.plus-done .pd-verse { margin-top: 22px; }

/* ---------- Build 5 look (owner 2026-11-04: "more luxury, high end, unslop the design") ----------
   Same colours and the same plain Bible background (locked). What changes: titles set in the serif (New York on the
   iPhone, Newsreader elsewhere) like a printed book, cards with a hairline edge and a soft shadow instead of flat
   blocks, line icons without pink tiles, a calmer tab bar with no pill, a deeper burgundy button with a soft light on
   top, thinner rings, more air between sections. */
:root[data-theme="light"] {
  --s1: #F3EEE7; --raise: #FFFFFF; --line: rgba(80,60,40,.11); --ring: rgba(80,60,40,.24);
  --edge: rgba(80,60,40,.07); --lift: 0 1px 1px rgba(60,40,20,.03), 0 8px 24px -12px rgba(60,40,20,.14);
  --btnTop: #9C2537; --btnBot: #7A1828; --btnGlow: 0 10px 24px -12px rgba(122,24,40,.55);
  --gold: #B8924A;
}
:root {
  --edge: rgba(255,255,255,.05); --lift: 0 1px 0 rgba(255,255,255,.03) inset, 0 10px 28px -14px rgba(0,0,0,.6);
  --btnTop: #CB4458; --btnBot: #AA2F43; --btnGlow: 0 10px 26px -14px rgba(196,58,80,.6);
}

/* Titles: the serif, a little lighter and tighter, like a book page. */
.big-t, .q, .lock h1 { font-family: var(--disp); font-weight: 500; letter-spacing: -.6px; font-variation-settings: "opsz" 60; }
.big-t { font-size: 38px; line-height: 42px; margin: 8px 0 4px; }
.q { font-size: 34px; line-height: 39px; }
.sec-t { font-family: var(--disp); font-weight: 500; font-size: 25px; line-height: 30px; letter-spacing: -.3px; margin: 34px 4px 10px; font-variation-settings: "opsz" 36; }
.dn-date { font-size: 14px; font-weight: 600; letter-spacing: .2px; margin: 8px 0 0; }
.sub { color: var(--mut); line-height: 1.5; }

/* Cards: the same warm grey, with a hairline edge and a soft shadow, rounder. */
.card, .rule, .dn-card, .note, .stats, .vod, .kept-it, .tpl-c, .lk-time, .nd-c, .pr-cond { border-radius: 22px; box-shadow: 0 0 0 .5px var(--edge), var(--lift); }
.card { padding: 0 18px; }
.row-i { min-height: 56px; }
.row-i + .row-i, .opt + .opt { border-top: .5px solid var(--line); }

/* Buttons: deeper burgundy, a soft light on top, a quiet glow under it. */
.btn { min-height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 28px; padding: 14px 22px; font-size: 17px; font-weight: 600; letter-spacing: .1px;
  background: linear-gradient(180deg, var(--btnTop), var(--btnBot)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), var(--btnGlow); transition: transform .12s ease, box-shadow .12s ease, opacity .12s; }
.btn:active { transform: scale(.985); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 4px 12px -8px rgba(122,24,40,.5); }
.btn.ghost { background: var(--s1); color: var(--ink); box-shadow: 0 0 0 .5px var(--edge); }
.btn[disabled] { opacity: .4; box-shadow: none; }
.btn.inline { display: inline-flex; min-height: 44px; }
.lk-status.locked .btn { background: var(--heroInk); box-shadow: none; }

/* Line icons without pink tiles: the icon alone, in burgundy, a touch larger. */
.ic-tile, .rule-ic, .lk-head .rule-ic { background: none !important; width: 30px; height: 30px; color: var(--accInk); }
.ic-tile svg, .rule-ic svg { width: 24px; height: 24px; stroke-width: 1.5; }
.rule:not(.on) .rule-ic { color: var(--mut); }
.lk-head .rule-ic svg { width: 30px; height: 30px; }
.rule-main { gap: 14px; padding: 16px 0 16px 16px; }
.rule-x { padding-left: 60px; }
/* Owner 2026-11-05 ("nie je to moc veľké?"): Núdzové odomknutie is a small text link under the rule's line, not a pill. */
.rule-x { margin-top: -10px; padding-bottom: 14px; }
.rule-b { background: none; box-shadow: none; padding: 0; min-height: 22px; font-size: 13px; font-weight: 600; }
.rule-b::after { inset: -11px -10px; }

/* Rings and switches: thinner, quieter. */
.chk, .rd { border-width: 1.5px; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .3px; border-radius: 99px; padding: 2px 7px; }

/* Tab bar: the same glass as before, no pill behind the active tab; the active one is burgundy with a small dot. */
.tabs a { position: relative; font-size: 10.5px; letter-spacing: .1px; }
.tabs a.on { background: none; }
.tabs a.on::after { content: ''; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--accInk); }
.tabs svg { stroke-width: 1.6; }

/* The Bible feed header: hairline chips, the selected tab a quiet burgundy. */
.seg { box-shadow: inset 0 0 0 .5px var(--line); }
.fc-tabs, .fc-pill, .fc-top .icon-btn, .fc-btn { border-width: .5px; }
.fc-tabs a.on { background: linear-gradient(180deg, var(--btnTop), var(--btnBot)); }
.fc-chap { box-shadow: 0 0 0 .5px var(--fLine); }
.fc-ref { letter-spacing: .6px; }
/* The same for the small icon tiles elsewhere (Modlitby, Plus, Profil, Nastavenia, onboarding promises). */
.pr-day i, .nd-top i, .op-ic, .onb-promise i, .set-ic { background: none !important; color: var(--accInk); }
.pr-day i svg, .nd-top i svg, .op-ic svg, .onb-promise i svg, .set-ic svg { width: 22px; height: 22px; stroke-width: 1.5; }
/* The big round emblems stay, with a fine gold ring instead of a flat pink disc. */
.onb-hero i, .sb-ic, .mwait-ic, .pr-pop > i { background: var(--raise); box-shadow: 0 0 0 .5px var(--gold), 0 0 0 7px color-mix(in srgb, var(--gold) 10%, transparent), var(--lift); }
.plus-f i { background: none; width: 28px; height: 28px; color: var(--accInk); }
.plus-f svg { width: 22px; height: 22px; stroke-width: 1.5; }
.plus-f li { font-weight: 500; }
.plus-k { letter-spacing: .2px; }
.btn.ghost { background: var(--raise); }

/* Build 5 look, pass 2 (owner 2026-11-04: "work on the design in the meantime"). */
/* Dark: the burgundy button deeper, less pink. */
:root:not([data-theme="light"]) { --btnTop: #B83A4F; --btnBot: #93283B; --btnGlow: 0 10px 26px -14px rgba(150,40,60,.7); }
/* Segmented control (Uložené, Páči sa mi and the like): a raised white pill like iOS, not a pink blob. */
.seg-pill { background: var(--raise); box-shadow: 0 0 0 .5px var(--line), 0 3px 8px -2px rgba(60,40,20,.12); }
.seg button.on { color: var(--ink); }
/* The feed's heart, share and save: finer lines. */
.fc-act svg { stroke-width: 1.6; }
/* The way out on the morning lock page: small and centred under the button. */
.small-link { display: flex; justify-content: center; text-align: center; margin-left: auto; margin-right: auto; }
.dn-how { display: block; text-align: center; margin: 10px auto 0; padding: 10px 4px; font-size: 15px; font-weight: 600; }
/* Build 5 calendar: the day that matters, under the greeting on Dnes: its name, under it what it asks. */
.dn-cal { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; margin: 14px 0 0; padding: 12px 16px; border-radius: 22px; background: var(--s1); box-shadow: 0 0 0 .5px var(--edge), var(--lift); color: var(--ink); }
.dn-cal + .dn-cal { margin-top: 8px; }
.dn-cal b { grid-column: 1; font-weight: 600; font-size: 16px; }
.dn-cal span { grid-column: 1; font-size: 14px; color: var(--accInk); font-weight: 500; }
.dn-cal span:empty { display: none; }
.dn-cal .chev { grid-column: 2; grid-row: 1 / span 2; width: 8px; height: 14px; stroke: var(--ring); stroke-width: 2; fill: none; }
.cal-f li { margin-bottom: 8px; }

/* Build 5 look, pass 3 (qa-visual 4, 10, 12, 13; owner 2026-11-05 "pokračuj"; the add-lock disc stays, owner liked it more). */
.nd-top i { width: 24px; height: 24px; }
.pr-pop h2 { font-family: var(--disp); font-weight: 500; font-size: 24px; line-height: 29px; letter-spacing: -.3px; font-variation-settings: "opsz" 36; }
:root:not([data-theme="light"]) .pr-pop .lo-opt:not(.on), :root:not([data-theme="light"]) .pr-pop .hold { background: var(--s2); }
.cela-from { margin-top: 12px; }
/* Build 6 feedback (owner 2026-11-06): one small round button opens Témy, Hľadať, the text size and the page length. */
.fc-menu svg { width: 21px; height: 21px; }
.fc-menu[aria-expanded="true"] { background: var(--s1); }
.fc-mn { display: flex; flex-direction: column; border-radius: 12px; background: var(--s1); overflow: hidden; }
.fc-fs .fc-mi { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; background: none; border-radius: 0; font-size: 16px; font-weight: 500; color: var(--ink); text-align: left; text-decoration: none; }
.fc-mi + .fc-mi { border-top: .5px solid var(--line); }
.fc-mi svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--accInk); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* The gate's reading bar (owner 2026-11-06): the bar of the page on screen fills slowly; until then nothing scrolls. */
.fc-bars i.rd { position: relative; overflow: hidden; }
.fc-bars i.rd s { position: absolute; inset: 0; transform-origin: left center; transform: scaleX(0); background: var(--accInk); animation: readfill linear forwards; }
@keyframes readfill { to { transform: scaleX(1); } }
.fc-list.rdhold { overflow-y: hidden; touch-action: none; }
/* Owner 2026-11-08: the gate pages by itself (the page follows the finger); it never scrolls natively, so iOS cannot get stuck. */
.feed.gate .fc-list { overflow-y: hidden; touch-action: none; scroll-snap-type: none; will-change: transform; }
/* Owner 2026-11-07: a pull before the reading bar is full moves the page a little and "Čítaj" pops up in red. */
.fc-in.rdnudge { animation: rdnudge .45s ease-out; }
@keyframes rdnudge { 30% { transform: translateY(-14px); } 100% { transform: none; } }
.rd-hint { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 30; margin: 0; display: flex; align-items: center; gap: 8px; padding: 11px 18px 11px 14px; border-radius: 16px;
  /* Owner 2026-11-07: it must read as an error, coming up from the bottom: the system red, a warning sign, a shake. */
  background: color-mix(in srgb, #e5484d 16%, var(--bg)); border: 1px solid color-mix(in srgb, #e5484d 45%, transparent); color: color-mix(in srgb, #e5484d 82%, var(--ink));
  font-size: 15px; font-weight: 700; letter-spacing: .2px; box-shadow: 0 10px 28px -12px rgba(229,72,77,.55); white-space: nowrap; opacity: 0; transform: translate(-50%, 140%); pointer-events: none; }
.rd-hint svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.rd-hint.on { animation: rdhint 1.9s cubic-bezier(.2,.8,.2,1); }
@keyframes rdhint { 0% { opacity: 0; transform: translate(-50%, 140%); } 14% { opacity: 1; transform: translate(-50%, 0); } 20% { transform: translate(-54%, 0); } 26% { transform: translate(-46%, 0); } 32% { transform: translate(-52%, 0); } 38%, 78% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 140%); } }
@media (prefers-reduced-motion: reduce) { .fc-in.rdnudge { animation: none; } }
.fc-prog:empty { visibility: hidden; }
/* Deň pokánia (owner 2026-11-06): tick what you will do today. */
.pen-sub { margin: -4px 0 10px; }
.pen-i { gap: 14px; }
.pen-ck { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--ring, var(--line)); transition: background .15s, box-shadow .15s; }
.pen-ck .ck { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.pen-i.on .pen-ck { background: var(--acc); box-shadow: none; }
.pen-i.on .pen-ck .ck { opacity: 1; }
.pen-i + .pen-i { border-top: .5px solid var(--line); }
/* Profile photo (owner 2026-11-06): no story ring; the circle is a button with a small badge to add or change a photo. */
.me-id .me-av { position: relative; padding: 0; background: var(--s1); border-radius: 50%; overflow: visible; cursor: pointer; }
.me-id .me-av span { border: 0; background: var(--s1); font-size: 26px; }
.me-id .me-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.me-cam { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); box-shadow: 0 0 0 2.5px var(--bg); }
.me-cam svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Build 6 (owner's circled screenshot 2026-11-06): no title block, Celá kapitola alone on the right. */
.fc-meta > .fc-chap:only-child { margin-left: auto; }
/* Build 6 (owner 2026-11-06, Opal's "Unblocked"): the check bubble after an unlock. */
.ok-hud { position: fixed; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 90; min-width: 168px; padding: 22px 26px 20px; border-radius: 22px;
  background: color-mix(in srgb, var(--ink) 88%, transparent); color: var(--bg); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); animation: okin .18s ease-out; transition: opacity .3s ease; pointer-events: none; }
.ok-hud.out { opacity: 0; }
.ok-hud-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--bg); color: var(--ink); display: grid; place-items: center; }
.ok-hud-ic svg { width: 24px; height: 24px; }
.ok-hud b { font-size: 20px; font-weight: 600; }
.ok-hud small { font-size: 14px; opacity: .75; }
@keyframes okin { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } }
.ok-hud-ic svg { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* Owner 2026-11-07: the bubble is grey see-through glass, low opacity, like the iPhone's own bubbles. */
.ok-hud { background: rgba(120,120,128,.32); color: var(--ink); border: .5px solid rgba(255,255,255,.18); box-shadow: 0 8px 30px rgba(0,0,0,.12); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%); }
.ok-hud .ok-hud-ic { background: var(--ink); color: var(--bg); }

/* Owner 2026-11-07: the explanation opens in a sheet from the star on the right; no box, a calm page of text. */
.ex-ref { margin: -2px 0 16px; font-size: 14px; font-weight: 600; color: var(--accInk); }
.ex { padding-bottom: 8px; }
.ex-sum { margin: 0 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--fLine); font-family: var(--disp); font-size: 25px; line-height: 1.32; letter-spacing: -.2px; color: var(--ink); text-wrap: pretty; }
.ex-s + .ex-s { margin-top: 22px; }
.ex-s h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--accInk); }
.ex-s p { margin: 0; font-family: var(--disp); font-size: 19px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }

/* Owner 2026-11-07: Moje modlitby is one card on Modlitby and a page of its own. */
.mine-card { margin: 14px 0 22px; }
.mine-card .row-i b { display: block; font-size: 18px; font-weight: 600; }
.mine-top { align-items: baseline; }
.mine-p { margin: -6px 0 18px; }
.mine-addb { margin: 18px 0 8px; }
/* Owner 2026-11-08: the saint's icon above "Sociálne siete počkajú" (it was an empty space). */
.gate-fig { margin: 0 auto 22px; }
/* Hold buttons (owner 2026-11-09, Opal's "Keep Holding"): the fill grows with a soft light and a few sparks at its
   edge, the button sinks a little while held, runs back when let go early, and pops full when done. One look for
   the gate, lock off, filter off and the emergency unlock (holdBtn in app.js). */
/* Owner 2026-11-09 (after the first look): no red fill. A dark grey with a touch of the burgundy, quiet like before;
   the haptics matter, not the colour. */
:root { --holdTone: color-mix(in srgb, var(--ink) 78%, var(--acc)); }
.hold, .gh-pill { isolation: isolate; transition: transform .28s cubic-bezier(.3,1.5,.5,1), box-shadow .3s ease; }
.hold > span, .gh-pill > span { position: relative; z-index: 2; }
.hold > i, .pr-pop .hold > i, .gh-pill > i { z-index: 1; overflow: visible; background: linear-gradient(90deg, color-mix(in srgb, var(--holdTone) 7%, transparent), color-mix(in srgb, var(--holdTone) 24%, transparent)); }
.hold > i::after, .gh-pill > i::after { content: ''; position: absolute; top: -30%; bottom: -30%; right: -20px; width: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.6), rgba(255,255,255,.22) 50%, rgba(255,255,255,0)); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.hold > i::before, .gh-pill > i::before { content: ''; position: absolute; right: 0; top: 50%; width: 2px; height: 2px; border-radius: 50%; opacity: 0; pointer-events: none;
  box-shadow: 4px -11px 0 0 rgba(255,255,255,.95), 11px 7px 0 .5px rgba(255,255,255,.8), 17px -4px 0 0 rgba(255,255,255,.7), 23px 11px 0 0 rgba(255,255,255,.55), 8px 15px 0 0 rgba(255,255,255,.6), 19px -15px 0 .5px rgba(255,255,255,.5); }
.hold.is-holding, .gh-pill.is-holding { transform: scale(.97); box-shadow: 0 10px 26px -12px rgba(0,0,0,.28); }
.is-holding > i::after { opacity: 1; }
.is-holding > i::before { animation: hold-spark .75s linear infinite; }
@keyframes hold-spark { 0% { transform: translate(-6px, 2px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translate(12px, -7px); opacity: 0; } }
.hold.is-let > i, .gh-pill.is-let > i { transition: width .5s cubic-bezier(.2,.8,.2,1); }
.hold.is-done > i, .gh-pill.is-done > i { width: 100% !important; background: color-mix(in srgb, var(--holdTone) 26%, transparent); }
.hold.is-done, .gh-pill.is-done { animation: hold-pop .4s cubic-bezier(.3,1.6,.5,1); }
@keyframes hold-pop { 0% { transform: scale(.97); } 55% { transform: scale(1.03); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hold.is-holding, .gh-pill.is-holding { transform: none; }
  .is-holding > i::before { animation: none; }
  .hold.is-done, .gh-pill.is-done { animation: none; }
}
/* The hidden switch the web fallback flips for a haptic tick (iOS 18+). Never seen, never tapped. */
.hap-sw { position: fixed; left: -100px; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
/* Owner 2026-11-12: on the web the day's blocking shows first, without a switch, softer. */
.den-off { opacity: .62; }

/* ---------- onboarding, owner 2026-11-13 (map round) ---------- */
/* U5: a year as squares, the days social apps take lit. */
.vys-pic { margin: 4px 0 0; text-align: center; }
.vys-pic .onb-ill { max-width: 250px; }
@keyframes vys-in { from { opacity: 0; transform: scale(.3); } }
.vys-pic p { margin: 8px 0 0; font-size: 13px; color: var(--mut); }
.onb-vysledok .vys-rows { margin-top: 18px; }
/* U9: a sunrise on top, an icon on each card. */
.onb-sunrise { display: block; width: 100%; max-width: 280px; height: auto; margin: 4px auto 8px; }
.sr-sun { fill: var(--gold); }
.sr-ray { stroke: var(--gold); stroke-width: 5; stroke-linecap: round; fill: none; }
.sr-far { fill: color-mix(in srgb, var(--acc) 18%, var(--bg)); }
.sr-near { fill: color-mix(in srgb, var(--acc) 34%, var(--bg)); }
.tpl-c.tpl-i { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 12px; }
.tpl-c.tpl-i .op-ic { grid-row: 1 / span 2; }
.tpl-c.tpl-i small { grid-column: 2 / -1; }
/* A picture above the question on one-decision pages. */
.onb-hero.onb-hero-t { margin: 18px 0 14px; }
.onb-hero-t i { width: 84px; height: 84px; }
.onb-hero-t svg { width: 40px; height: 40px; }
/* Numbered taps: what to do in the iPhone window, the steps in Settings. */
.onb-how2 { list-style: none; margin: 18px 0 0; padding: 4px 16px; }
.q2 + .onb-how2 { margin-top: 0; }
.onb-how2 li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; font-size: 15px; line-height: 1.4; }
.onb-how2 li + li { border-top: 1px solid var(--line); }
.onb-how2 li b { flex: none; width: 26px; height: 26px; border-radius: 13px; display: grid; place-items: center; background: var(--accSoft); color: var(--accInk); font-size: 14px; font-weight: 700; }
.onb-how2 li span { padding-top: 2px; }

/* Map round 2 (owner 2026-11-13): pictures in the sunrise style, picture pages centred in the middle of the screen,
   the main button at the same place on every page, "Pridať vlastné" in the accent colour. */
.onb-ill { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; }
.onb-ill .il-glow { fill: var(--gold); opacity: .14; }
.onb-ill .il-gold { fill: var(--gold); }
.onb-ill .il-gold.o { opacity: .75; }
.onb-ill .il-glass { fill: var(--raise); stroke: var(--line); stroke-width: 2; }
.onb-ill .il-sand { fill: var(--acc); }
.onb-ill .il-stream { stroke: var(--acc); stroke-width: 2.5; stroke-dasharray: 3 5; animation: il-flow .8s linear infinite; }
.onb-ill .il-shine { stroke: #fff; stroke-opacity: .35; stroke-width: 3; stroke-linecap: round; fill: none; }
.onb-ill .il-app { opacity: .6; }
.onb-ill .il-app rect { fill: var(--raise); stroke: var(--line); stroke-width: 1.5; }
.onb-ill .il-app path { fill: var(--mut); }
.onb-ill .il-phone { fill: var(--raise); stroke: var(--line); stroke-width: 2; }
.onb-ill .il-notch, .onb-ill .il-line { fill: var(--line); }
.onb-ill .il-book { fill: var(--accSoft); stroke: var(--accInk); stroke-width: 2.5; stroke-linejoin: round; }
.onb-ill .il-spine { stroke: var(--accInk); stroke-width: 2.5; }
.onb-ill .il-star { fill: var(--gold); }
.onb-ill .il-shield { fill: var(--acc); }
.onb-ill .il-check { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
@keyframes il-flow { to { stroke-dashoffset: -16; } }
@media (prefers-reduced-motion: reduce) { .onb-ill .il-stream { animation: none; } }
.onb-pic > .onb-ill { margin-top: auto; margin-bottom: 6px; }
.onb-pic h1.q, .onb-pic .sub, .onb-pic .onb-foot { text-align: center; }
.onb-pic .sub { max-width: 340px; margin-left: auto; margin-right: auto; }
.onb-pic .card { text-align: left; }
.onb-pic .onb-time { margin-left: auto; margin-right: auto; }
.onb .foot-btn .foot-sp { visibility: hidden; pointer-events: none; }
.op-add { width: 100%; text-align: left; }
.op-add .t { color: var(--accInk); font-weight: 600; }
.op-add .op-ic { color: var(--accInk); }
.op-add .op-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.op-add .chev { stroke: var(--accInk); }
.onb-pic > .vys-pic { margin-top: auto; }

/* Own prayer from a photo or the voice (owner 2026-11-26) */
.cap-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.cap-b { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.cap-b[hidden] { display: none; }
.cap-b svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cap-b.on { background: var(--acc); border-color: var(--acc); color: var(--onAcc); }
.cap-b[disabled] { opacity: .45; }
.cap-st { margin: -2px 4px 12px; }
.cap-match { margin: 0 0 14px; }
.cap-match p { color: var(--ink); font-size: 15px; line-height: 1.45; margin: 0; }
.cap-mb { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cap-mb .btn { margin-top: 0; }

/* toast with an action (Vrátiť späť), rosary choice sheet */
.toast-act { margin: -10px -8px -10px 12px; padding: 10px 8px; min-height: 44px; font-size: 14px; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.wh-o[aria-pressed="true"] b { color: var(--accInk); }
.row-i .t[data-rz] { cursor: pointer; }
.row-i .t[data-rz] small u { text-decoration: underline; text-underline-offset: 2px; color: var(--accInk); }
.wh-o.rz-o { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; padding: 8px 16px; }
.wh-o.rz-o span { font-size: 14px; }

/* Paywall with the App Store (showPaywall and #/plus in app.js): over everything, the same offer as #/plus. */
html.pay-on, html.pay-on body { overflow: hidden; }
.pay { position: fixed; inset: 0; z-index: 90; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.pay-in { max-width: 560px; margin: 0 auto; min-height: 100%; padding: calc(env(safe-area-inset-top, 0px) + 14px) 20px 0; display: flex; flex-direction: column; }
html.pay-on .toast { z-index: 95; bottom: calc(env(safe-area-inset-bottom, 0px) + 170px); }
.plan.ro, .plan-life.ro { cursor: default; }
.plan[disabled], .plan-life[disabled] { opacity: .5; }
p.plan-life { margin: 0; text-align: center; }
.plus-cta[disabled] { opacity: .6; }
a.btn.plus-cta { display: block; text-align: center; text-decoration: none; }
.pay-line { margin: 0 0 10px; padding: 12px 14px; border-radius: 14px; background: var(--s1); font-size: 14px; line-height: 1.4; color: var(--ink); }
.plus-legal button { color: var(--mut); font: inherit; text-decoration: underline; padding: 0; background: none; }
/* Restore, EULA, privacy and the free way are 44 px touch targets; the negative margins keep the foot as tall as before. */
.plus-legal a, .plus-legal button { display: inline-flex; align-items: center; min-height: 44px; margin: -13px 0; vertical-align: middle; }
.plus-foot .plus-free { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: -6px 0; }
.plus-legal.pay-restore { margin: 14px 0 8px; }
.plus-legal button[disabled] { opacity: .5; }
.pay-legal { margin: 4px 0 calc(env(safe-area-inset-bottom, 0px) + 18px); font-size: 11.5px; line-height: 1.45; color: var(--mut); text-align: center; }
.pay-sk { display: inline-block; width: 120px; max-width: 100%; height: 12px; border-radius: 6px; background: var(--s2); vertical-align: middle; animation: skelPulse 1.2s ease-in-out infinite; }
.plan-d .pay-sk { width: 64px; height: 20px; }
.plus-note .pay-sk { width: 220px; }

/* A pop-up message on a screen without the tab bar (and without a bottom button bar) sits low, so it does not cover
   the middle of the list (tester feedback 2026-12-03). */
html:not(.pay-on) body:has(> .tabs[hidden]):not(:has(.rbar, .to-feed, .onb .foot-btn, .plus-foot)) > .toast { bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); }
