/* Banaag — screens. Everything here builds on base.css tokens. */

/* ── Light of the day ────────────────────────────────────────────────── */
:root { --sky-sun: rgba(255, 190, 100, 0.5); --sky-a: rgba(255, 214, 150, 0.3); }
:root[data-part="afternoon"] { --sky-sun: rgba(255, 210, 120, 0.42); --sky-a: rgba(255, 230, 170, 0.26); }
:root[data-part="evening"] { --sky-sun: rgba(232, 112, 74, 0.46); --sky-a: rgba(232, 150, 110, 0.26); }
:root[data-part="night"] { --sky-sun: rgba(150, 140, 210, 0.3); --sky-a: rgba(110, 100, 165, 0.2); }
.sky {
  position: absolute; z-index: 0; top: 0; left: 0; right: 0; height: 460px; pointer-events: none; opacity: 0; transition: opacity 0.8s var(--ease-out);
  background: radial-gradient(70% 78% at var(--sun-x, 50%) var(--sun-y, 60%), var(--sky-sun), transparent 72%), linear-gradient(180deg, var(--sky-a), transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent);
}
body.on-today .sky { opacity: 1; }
:root[data-theme="dark"] .sky { filter: saturate(0.9); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sky { opacity: 0; } :root:not([data-theme="light"]) body.on-today .sky { opacity: 0.75; } }
#view-app { position: relative; }
#main { position: relative; z-index: 1; }
.topbar { position: sticky; z-index: 20; }

/* ── Shared small pieces ─────────────────────────────────────────────── */
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 11.5px; font-weight: 650; letter-spacing: 0.04em; color: var(--ink-2); background: var(--paper-sunk); }
.panel { background: var(--card); border-radius: var(--r-l); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow-card); }
.panel--quiet { background: transparent; box-shadow: none; border: 1px dashed var(--rule-strong); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.panel__nav { display: flex; gap: 2px; margin-right: -8px; }
.panel__txt { font-family: var(--f-text); font-size: 17px; line-height: 1.5; color: var(--ink-2); margin: 8px 0 16px; }
.panel__empty { font-family: var(--f-text); font-style: italic; color: var(--ink-3); font-size: 17px; padding: 6px 0 4px; }
.muted-i { font-style: italic; color: var(--ink-3); }
.searchbox { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 14px; background: var(--paper-sunk); color: var(--ink-3); transition: box-shadow var(--t-med), background-color var(--t-fast); }
.searchbox:focus-within { background: var(--card); box-shadow: 0 0 0 4px var(--rubric-soft), inset 0 0 0 1px color-mix(in srgb, var(--rubric) 60%, transparent); }
.searchbox input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.searchbox input::-webkit-search-cancel-button { display: none; }
.bar { display: block; height: 4px; border-radius: 4px; background: var(--paper-sunk); overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; background: var(--rubric); border-radius: 4px; transition: width 1s var(--ease-out); }

/* ═════════ AUTH ═════════ */
#view-auth { min-height: 100dvh; }
.auth { max-width: 440px; margin: 0 auto; padding: calc(var(--sat) + 28px) var(--gutter) calc(var(--sab) + 32px); }
.auth__hero { display: grid; place-items: center; margin-bottom: 30px; }
.window { --w: 190px; position: relative; width: var(--w); height: 238px; border-radius: 95px 95px 6px 6px; overflow: hidden; outline: 1px solid color-mix(in srgb, var(--gold) 70%, transparent); outline-offset: 9px; box-shadow: 0 30px 50px -28px rgba(80, 40, 10, 0.5); isolation: isolate; }
.window__sky { position: absolute; inset: 0; background: linear-gradient(180deg, #f8e3b8 0%, #f4bd82 52%, #d9694a 100%); }
:root[data-part="afternoon"] .window__sky { background: linear-gradient(180deg, #f9eec8 0%, #f6d28f 55%, #ec9a5c 100%); }
:root[data-part="evening"] .window__sky { background: linear-gradient(180deg, #e9a48a 0%, #d86f52 52%, #7e3342 100%); }
:root[data-part="night"] .window__sky { background: linear-gradient(180deg, #1f1a30 0%, #43304a 55%, #8a4a45 100%); }
.window__rays { position: absolute; left: 50%; bottom: -50px; width: 520px; height: 520px; margin-left: -260px; background: repeating-conic-gradient(from 0deg, rgba(255, 244, 214, 0.34) 0 6deg, transparent 6deg 18deg); -webkit-mask-image: radial-gradient(circle, #000 4%, transparent 62%); mask-image: radial-gradient(circle, #000 4%, transparent 62%); animation: rotate 90s linear infinite; }
.window__sun { position: absolute; left: 50%; bottom: 52px; width: 76px; height: 76px; margin-left: -38px; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #fffbe8, #ffe3a0 62%, #ffc56a); box-shadow: 0 0 40px 12px rgba(255, 220, 140, 0.7); transform: translateY(70px); opacity: 0; }
:root[data-part="night"] .window__sun { background: radial-gradient(circle at 40% 40%, #fffdf2, #e8e2cf 70%); box-shadow: 0 0 30px 8px rgba(220, 220, 255, 0.35); width: 46px; height: 46px; margin-left: -23px; bottom: 96px; }
#view-auth.is-in .window__sun { animation: sunUp 1.8s 0.25s var(--ease-out) forwards; }
.window__hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 86px; }
.window__hills .h1 { fill: #b5553d; opacity: 0.85; } .window__hills .h2 { fill: #7c3a2c; }
:root[data-part="night"] .window__hills .h1 { fill: #3a2a40; } :root[data-part="night"] .window__hills .h2 { fill: #1d1626; }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes sunUp { to { transform: none; opacity: 1; } }
.auth__head { margin-bottom: 26px; }
.auth__title { margin: 12px 0 14px; font-size: 48px; }
.auth__title em { font-style: italic; font-weight: 400; color: var(--rubric); }
.auth__head .lede { max-width: 32ch; }
.auth__form { background: var(--card); border-radius: var(--r-xl); padding: 18px; box-shadow: var(--shadow-card); }
.auth__form .seg { margin-bottom: 20px; }
.auth__form .btn { margin-top: 18px; }
.auth__fine { margin: 18px 4px 0; color: var(--ink-3); font-size: 13.5px; line-height: 1.55; text-align: center; min-height: 3.1em; }
.auth__install { display: flex; margin: 8px auto 0; color: var(--rubric); }
#view-auth.is-in .auth > * { animation: rise 0.9s var(--ease-out) both; }
#view-auth.is-in .auth > *:nth-child(2) { animation-delay: 0.08s; } #view-auth.is-in .auth > *:nth-child(3) { animation-delay: 0.16s; }
#view-auth.is-in .auth > *:nth-child(4) { animation-delay: 0.24s; } #view-auth.is-in .auth > *:nth-child(5) { animation-delay: 0.3s; }

/* ═════════ TODAY ═════════ */
.today-head { padding-top: 10px; }
.today-head .title-xl { font-size: 42px; }
.votd { position: relative; background: var(--card); border-radius: var(--r-xl); padding: 24px 24px 12px; box-shadow: var(--shadow-card); margin-bottom: 18px; overflow: hidden; }
.votd::before { content: ""; position: absolute; inset: 7px; border-radius: calc(var(--r-xl) - 6px); border: 1px solid color-mix(in srgb, var(--gold) 38%, transparent); pointer-events: none; }
.votd__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.votd__text { font-family: var(--f-display); font-size: clamp(24px, 6.4vw, 29px); line-height: 1.34; font-weight: 420; letter-spacing: -0.012em; font-variation-settings: "opsz" 48; color: var(--ink); text-wrap: pretty; }
.votd__text .initial { float: left; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 3.6em; line-height: 0.8; padding: 0.08em 0.1em 0 0; margin-top: 0.02em; color: var(--rubric); font-variation-settings: "opsz" 144; }
.votd__text.is-reveal .w { opacity: 0; animation: wordIn 0.9s var(--ease-out) both; animation-delay: calc(0.35s + var(--k)); }
.votd__text.is-reveal .initial { animation: initIn 1.1s var(--ease-out) both; }
@keyframes wordIn { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes initIn { from { opacity: 0; transform: scale(0.7); } }
.votd__ref { margin-top: 14px; font-size: 12.5px; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.votd__credit { margin-top: 10px; font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); }
.votd__acts { display: flex; align-items: center; margin: 6px -8px 0 0; }
.votd__sp { flex: 1; }

.rhythm { margin-bottom: 18px; padding: 4px 0 6px; }
.rhythm__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.rhythm__count { font-size: 13px; color: var(--ink-3); } .rhythm__count b { font-family: var(--f-display); font-size: 20px; font-weight: 560; color: var(--ink); margin-right: 3px; }
.rhythm__row { display: flex; align-items: flex-start; justify-content: space-between; }
.beat { display: grid; justify-items: center; gap: 9px; width: 64px; transition: transform 0.5s var(--spring); }
.beat:active { transform: scale(0.9); transition-duration: 0.08s; }
.beat__disc { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow-card); transition: background-color 0.6s, box-shadow 0.6s; }
.beat__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.beat__ring circle { fill: none; } .beat__ring .trk { stroke: var(--rule-strong); stroke-width: 1.6; }
.beat__ring .arc { stroke: var(--rubric); stroke-width: 2.8; stroke-linecap: round; opacity: 0; transition: stroke-dashoffset 1.2s var(--ease-out), opacity 0.2s; }
.beat.is-done .beat__ring .arc { opacity: 1; }
.beat__ico { width: 24px; height: 24px; color: var(--ink-3); transition: color 0.5s; }
.beat__tick { position: absolute; top: -3px; right: -3px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--rubric); color: var(--paper); border: 2px solid var(--paper); transform: scale(0); transition: transform 0.7s var(--spring); }
.beat__tick .ico { width: 12px; height: 12px; stroke-width: 3; }
.beat.is-done .beat__disc { background: var(--rubric-soft); }
.beat.is-done .beat__ico { color: var(--rubric); }
.beat.is-done .beat__tick { transform: scale(1); }
.beat.pop .beat__disc { animation: beatPop 0.9s var(--spring); }
@keyframes beatPop { 0% { transform: scale(0.86); } 100% { transform: none; } }
.beat__label { font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.02em; } .beat.is-done .beat__label { color: var(--ink); }
.rhythm__link { flex: 1; height: 2px; margin: 29px -2px 0; border-radius: 2px; background: var(--rule); position: relative; overflow: hidden; }
.rhythm__link b { position: absolute; inset: 0; background: var(--rubric); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease-out); }
.rhythm__link.is-on b { transform: scaleX(1); }
.rhythm__note { margin-top: 16px; font-family: var(--f-text); font-style: italic; font-size: 17px; color: var(--ink-2); text-align: center; }
.rhythm.shine .rhythm__row { animation: shine 1.4s var(--ease-out); }
@keyframes shine { 0% { filter: none; } 30% { filter: drop-shadow(0 0 14px var(--gold)); } 100% { filter: none; } }
.rhythm.is-complete .rhythm__note { color: var(--rubric); }

.pagecta { display: grid; gap: 8px; width: 100%; text-align: left; padding: 22px 22px 18px; margin-bottom: 8px; border-radius: var(--r-l); position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-pop); transition: transform 0.5s var(--spring); }
.pagecta:active { transform: scale(0.975); transition-duration: 0.08s; }
.pagecta::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 27px, rgba(255, 255, 255, 0.06) 27px 28px); mask-image: linear-gradient(90deg, transparent, #000 80%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 80%); }
.pagecta .eyebrow { color: color-mix(in srgb, var(--flame-a) 80%, var(--on-ink)); }
.pagecta__title { font-family: var(--f-display); font-size: 25px; line-height: 1.2; font-weight: 520; letter-spacing: -0.015em; position: relative; z-index: 1; }
.pagecta.has-entry .pagecta__title { font-family: var(--f-text); font-size: 18px; font-weight: 400; line-height: 1.45; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pagecta__foot { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; opacity: 0.85; position: relative; z-index: 1; }
.pagecta__foot .ico { width: 18px; height: 18px; }
.pagecta__share { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); }

.block { padding: 26px 0 8px; border-top: 1px solid var(--rule); margin-top: 20px; }
.pagecta + .block { margin-top: 22px; }
.block__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.block__num { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-style: italic; font-size: 14px; color: var(--gold-text); border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); margin-top: 2px; }
.block__head .eyebrow { margin-bottom: 3px; }
.block__txt { font-family: var(--f-text); font-size: 17.5px; line-height: 1.5; color: var(--ink-2); }
.block__acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 16px 0 16px; }
.plan { display: flex; gap: 16px; align-items: center; }
.plan__main { min-width: 0; } .plan__line { font-family: var(--f-display); font-size: 19px; font-weight: 520; line-height: 1.25; }
.plan__prompt { margin-top: 14px; padding-left: 16px; border-left: 2px solid var(--gold); font-family: var(--f-text); font-style: italic; font-size: 17.5px; line-height: 1.45; color: var(--ink-2); }
.pring { position: relative; width: 62px; height: 62px; display: grid; place-items: center; align-content: center; flex: none; }
.pring svg { position: absolute; inset: 0; transform: rotate(-90deg); } .pring circle { fill: none; stroke-width: 3; }
.pring .trk { stroke: var(--rule); } .pring .arc { stroke: var(--rubric); stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease-out); }
.pring b { font-family: var(--f-display); font-size: 19px; line-height: 1; font-weight: 560; } .pring small { font-size: 9.5px; color: var(--ink-3); letter-spacing: 0.04em; margin-top: 1px; }
.carry { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow-card); transition: background-color 0.8s; }
.carry.is-lit { background: color-mix(in srgb, var(--card) 80%, var(--flame-a) 14%); }
.carry__flame { width: 34px; flex: none; display: grid; place-items: center; }
.carry__title { font-family: var(--f-display); font-size: 19px; line-height: 1.25; font-weight: 520; }
.lifted { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 12px; border-radius: 99px; background: var(--paper-sunk); font-size: 14px; font-weight: 600; color: var(--ink-2); animation: pillIn 0.6s var(--spring) both; }
.lifted .ico { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.6; }
.thanks__form { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--rule-strong); transition: border-color var(--t-med); }
.thanks__form:focus-within { border-color: var(--rubric); }
.thanks__input { flex: 1; min-width: 0; height: 52px; border: 0; background: none; outline: none; font-family: var(--f-text); font-size: 19px; color: var(--ink); }
.thanks__input::placeholder { color: var(--ink-3); font-style: italic; opacity: 0.75; }
.thanks__add { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); transition: transform 0.5s var(--spring); }
.thanks__add:active { transform: scale(0.86); }
.thanks__list { margin-top: 8px; }
.thanks__item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0 12px; border-bottom: 1px solid var(--rule); font-family: var(--f-text); font-size: 18px; line-height: 1.4; color: var(--ink-2); }
.thanks__item > .ico { color: var(--rubric); margin-top: 5px; } .thanks__item > span { flex: 1; }
.thanks__item .icon-btn { width: 32px; height: 32px; margin: -4px -6px 0 0; color: var(--ink-3); }
.thanks__item.is-new { animation: thanksIn 0.7s var(--ease-out); }
@keyframes thanksIn { from { opacity: 0; transform: translateY(-10px); } }

/* flame (shared by Today, Pray) */
.flame { width: 24px; height: 28px; overflow: visible; }
.flame path { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-linejoin: round; transition: fill 0.6s, stroke 0.6s; }
.flame.is-lit .flame__body { fill: url(#flameGrad); stroke: none; transform-origin: 50% 92%; animation: flicker 2.8s ease-in-out infinite; filter: drop-shadow(0 0 7px color-mix(in srgb, var(--flame-a) 70%, transparent)); }
.flame.is-lit .flame__core { fill: rgba(255, 250, 225, 0.85); stroke: none; transform-origin: 50% 90%; animation: flicker 2.1s -0.6s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { transform: scale(1, 1) rotate(0); } 18% { transform: scale(0.97, 1.05) rotate(-1.6deg); } 40% { transform: scale(1.03, 0.97) rotate(1.2deg); } 62% { transform: scale(0.98, 1.04) rotate(-0.8deg); } 82% { transform: scale(1.02, 0.98) rotate(1.5deg); } }

/* ═════════ READ ═════════ */
.read-head { padding-bottom: 10px; }
.passage-btn { display: inline-flex; align-items: center; gap: 8px; text-align: left; font: inherit; letter-spacing: inherit; }
.passage-ch { font-style: italic; font-weight: 400; color: var(--rubric); }
.passage-btn__chev { width: 22px; height: 22px; margin-top: 6px; color: var(--ink-3); stroke-width: 2; }
.read-tools { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.aa { font-family: var(--f-display); font-size: 17px; font-weight: 560; line-height: 1; } .aa small { font-size: 12px; }
.aa--s { font-size: 14px; } .aa--l { font-size: 22px; }
.reader { padding: 8px 0 8px; }
/* by night the page is candle-lit: a low warm glow behind the chapter */
:root[data-theme="dark"] .reader { background: radial-gradient(92% 340px at 50% -70px, color-mix(in srgb, var(--flame-a) 12%, transparent), transparent 70%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .reader { background: radial-gradient(92% 340px at 50% -70px, color-mix(in srgb, var(--flame-a) 12%, transparent), transparent 70%); } }
.chap-mark { display: flex; align-items: center; gap: 14px; margin: 14px 0 22px; color: var(--ink-3); }
.chap-mark::before, .chap-mark::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--rule-strong)); } .chap-mark::after { transform: scaleX(-1); }
.chap-mark span { font-size: 11px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; }
.chap-mark b { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 54px; line-height: 0.9; color: var(--gold); order: 0; }
.chap-mark span { order: -1; display: none; }
.reader__text { font-family: var(--f-text); font-size: var(--reader-size); line-height: 1.72; font-weight: 400; color: var(--ink); hyphens: auto; -webkit-hyphens: auto; text-wrap: pretty; -webkit-user-select: none; user-select: none; transition: font-size 0.3s var(--ease-out); }
.v { border-radius: 5px; cursor: pointer; padding: 1px 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-color 0.25s; }
.vn { font-family: var(--f-ui); font-size: 0.5em; font-weight: 700; color: var(--rubric); margin-right: 3px; vertical-align: 0.9em; letter-spacing: 0.03em; line-height: 0; }
.v[data-hl="yellow"] { background: var(--hl-yellow); } .v[data-hl="green"] { background: var(--hl-green); } .v[data-hl="blue"] { background: var(--hl-blue); } .v[data-hl="pink"] { background: var(--hl-pink); }
.v.is-sel { background-image: linear-gradient(var(--rubric), var(--rubric)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; background-color: var(--rubric-soft); }
.v.flash { animation: vflash 2.2s var(--ease-out); }
@keyframes vflash { 0%, 30% { background-color: var(--gold-soft); box-shadow: 0 0 0 6px var(--gold-soft); } 100% { box-shadow: 0 0 0 6px transparent; } }
.skeletons { display: grid; gap: 16px; padding-top: 6px; } .skeletons .skel { height: 1.15em; }
.reader__foot { display: flex; align-items: center; gap: 12px; margin: 34px 0 10px; }
.reader__foot .finish { flex: 1; } .reader__foot .finish.pulse { animation: finishPulse 0.8s var(--spring); }
@keyframes finishPulse { 0% { transform: scale(0.94); } 100% { transform: none; } }
.finish.is-done { color: var(--ink-2); } .finish.is-done .ico { color: var(--ok); stroke-width: 2.6; }
.icon-btn.round { width: 52px; height: 52px; border: 1px solid var(--rule-strong); } .icon-btn.round[disabled] { opacity: 0.3; pointer-events: none; }
.read-copy { margin-top: 18px; font-size: 12px; line-height: 1.5; }
.read-progress { position: fixed; z-index: 21; left: 0; right: 0; top: calc(var(--sat) + var(--bar-h)); height: 2px; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: var(--rubric); transform-origin: left; transform: scaleX(0); transition: transform 0.12s linear; }
.selbar { position: fixed; z-index: 35; left: 50%; bottom: calc(var(--tab-h) + var(--sab) + 14px); display: flex; align-items: center; gap: 2px; height: 56px; padding: 0 8px 0 18px; border-radius: 28px; background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-pop); transform: translate(-50%, 30px) scale(0.9); opacity: 0; max-width: calc(100% - 20px); white-space: nowrap; }
.selbar.in { animation: selIn 0.7s var(--spring) forwards; } .selbar.out { animation: selOut 0.26s var(--ease-io) forwards; }
@keyframes selIn { to { transform: translate(-50%, 0) scale(1); opacity: 1; } } @keyframes selOut { from { transform: translate(-50%, 0) scale(1); opacity: 1; } to { transform: translate(-50%, 24px) scale(0.94); opacity: 0; } }
.selbar__label { font-size: 12.5px; font-weight: 650; letter-spacing: 0.02em; margin-right: 10px; opacity: 0.85; }
.selbar__colors { display: flex; gap: 6px; }
.hl { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; transition: transform 0.5s var(--spring); }
.hl i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); display: block; }
.hl.is-on { transform: scale(1.12); } .hl.is-on i { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--on-ink); } .hl:active { transform: scale(0.85); }
.selbar .icon-btn { color: var(--on-ink); width: 40px; height: 40px; } .selbar__sep { width: 1px; height: 22px; background: currentColor; opacity: 0.2; margin: 0 2px; }
:root[data-theme="dark"] .hl i, :root:not([data-theme="light"]) .hl i { background: color-mix(in srgb, var(--c) 100%, #fff 0%); }

/* passage picker */
.sheet--pick .sheet__body { overflow-x: hidden; padding-top: 0; }
.pick { overflow: hidden; margin: 0 calc(var(--gutter) * -1); } .pick__track { display: flex; width: 200%; transition: transform 0.55s var(--ease-ios); } .pick[data-pane="chaps"] .pick__track { transform: translateX(-50%); }
.pick__pane { width: 50%; padding: 4px var(--gutter) 10px; }
.pick__books { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.bookbtn { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; text-align: left; padding: 14px 14px; border-radius: 14px; background: var(--paper-sunk); font-weight: 600; font-size: 15px; transition: transform 0.5s var(--spring), background-color var(--t-fast); }
.bookbtn small { font-weight: 500; font-size: 11.5px; color: var(--ink-3); } .bookbtn:active { transform: scale(0.96); } .bookbtn.is-cur { background: var(--ink); color: var(--on-ink); } .bookbtn.is-cur small { color: inherit; opacity: 0.7; }
.pick__chaps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 14px; }
.chapbtn { aspect-ratio: 1; border-radius: 14px; background: var(--paper-sunk); font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; transition: transform 0.5s var(--spring); } .chapbtn:active { transform: scale(0.9); } .chapbtn.is-cur { background: var(--rubric); color: var(--paper); }
.pick__note { margin-top: 20px; font-size: 14px; line-height: 1.5; color: var(--ink-3); } .pick__note .link { display: inline-flex; padding: 6px 0 0; min-height: 0; }
.pick__pane .title-l { margin-top: 4px; }
.trow__badge { min-width: 62px; height: 34px; padding: 0 10px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-sunk); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; }
.trow.is-cur .trow__badge { background: var(--ink); color: var(--on-ink); } .trow.is-cur > .ico { color: var(--rubric); stroke-width: 2.4; }
.sizer { display: flex; align-items: center; gap: 6px; margin: 10px 0 8px; } .sizer__dots { flex: 1; display: flex; justify-content: space-between; align-items: center; padding: 0 8px; position: relative; }
.sizer__dots::before { content: ""; position: absolute; left: 8px; right: 8px; height: 1px; background: var(--rule-strong); } .sizer__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-sunk); border: 1.5px solid var(--rule-strong); position: relative; transition: all 0.4s var(--spring); } .sizer__dots i.on { background: var(--rubric); border-color: var(--rubric); }
.sizer__preview { font-family: var(--f-text); font-size: var(--reader-size); line-height: 1.6; padding: 16px 0 0; transition: font-size 0.3s var(--ease-out); color: var(--ink-2); }

/* ═════════ REFLECT ═════════ */
.ref-seg { margin-bottom: 20px; }
.meta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.datechip { position: relative; display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px; border-radius: 99px; background: var(--paper-sunk); font-size: 14.5px; font-weight: 600; color: var(--ink); overflow: hidden; }
.datechip input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; font-size: 16px; cursor: pointer; }
.ghost-chip { border-style: dashed; color: var(--ink-3); }
.fmt-blurb { margin: 12px 0 18px; font-size: 13px; letter-spacing: 0.02em; color: var(--ink-3); }
.sec { display: flex; gap: 14px; padding: 18px 0 14px; border-top: 1px solid var(--rule); } .sec:first-child { border-top: 0; padding-top: 4px; }
.sec__letter { width: 34px; flex: none; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 56px; line-height: 0.82; color: var(--rubric); opacity: 0.85; font-variation-settings: "opsz" 144; }
.sec__main { flex: 1; min-width: 0; } .sec__main .eyebrow { display: block; margin-bottom: 4px; color: var(--ink-3); }
.ruled { display: block; width: 100%; border: 0; outline: 0; background: transparent; resize: none; overflow: hidden; padding: 0; min-height: 112px; font-family: var(--f-text); font-size: 19px; line-height: 30px; color: var(--ink); -webkit-user-select: text; user-select: text; caret-color: var(--rubric);
  background-image: repeating-linear-gradient(180deg, transparent 0 29px, var(--rule) 29px 30px); background-attachment: local; border-radius: 0; }
.ruled::placeholder { color: var(--ink-3); font-style: italic; opacity: 0.7; }
.write-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 0; border-top: 1px solid var(--rule); margin-top: 6px; }
.save-state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); min-height: 24px; }
.tick { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: var(--paper); animation: tickIn 0.6s var(--spring); } .tick .ico { width: 11px; height: 11px; stroke-width: 3.2; } .tick--off { background: var(--gold); }
@keyframes tickIn { from { transform: scale(0); } }
.write-foot__acts { display: flex; gap: 2px; margin-right: -8px; }
#favBtn .is-fav { fill: var(--gold); stroke: var(--gold); } #favBtn.pop svg { animation: starPop 0.7s var(--spring); } @keyframes starPop { 0% { transform: scale(0.5) rotate(-30deg); } 100% { transform: none; } }
.arch-count { margin-left: auto; align-self: center; font-size: 13px; color: var(--ink-3); }
.arch-month { margin: 24px 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rubric); }
.arch-row { display: flex; gap: 16px; width: 100%; text-align: left; padding: 14px 0; border-bottom: 1px solid var(--rule); transition: opacity 0.2s; } .arch-row:active { opacity: 0.55; }
.arch-row__date { width: 44px; flex: none; display: grid; justify-items: center; align-content: start; } .arch-row__date small { font-size: 11px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); } .arch-row__date b { font-family: var(--f-display); font-size: 28px; font-weight: 500; line-height: 1.05; }
.arch-row__main { flex: 1; min-width: 0; display: grid; gap: 6px; } .arch-row__meta { display: flex; align-items: center; gap: 8px; } .arch-row__meta .fav .ico { width: 15px; height: 15px; fill: var(--gold); stroke: var(--gold); }
.arch-row__snip { font-family: var(--f-text); font-size: 17px; line-height: 1.4; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ═════════ PRAY ═════════ */
.plist { margin-top: 8px; }
.prow { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 18px 0; border-bottom: 1px solid var(--rule); transition: opacity 0.2s; } .prow:active { opacity: 0.55; }
.prow__mark { width: 30px; flex: none; display: grid; place-items: center; color: var(--gold); align-self: flex-start; margin-top: 3px; } .prow__mark .ico { width: 24px; height: 24px; }
.prow__main { flex: 1; min-width: 0; display: grid; gap: 4px; } .prow__title { font-family: var(--f-display); font-size: 20px; line-height: 1.22; font-weight: 520; letter-spacing: -0.01em; }
.prow__snip { font-family: var(--f-text); font-size: 16.5px; line-height: 1.4; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prow__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); margin-top: 3px; } .prow__meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; } .prow__meta b { color: var(--flame-b); font-weight: 650; }
:root[data-theme="dark"] .prow__meta b { color: var(--flame-a); } @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .prow__meta b { color: var(--flame-a); } }
.prow__chev { color: var(--ink-3); width: 18px; height: 18px; flex: none; } .prow.is-answered .prow__meta { color: var(--gold-text); }
.fab { position: fixed; z-index: 25; right: max(20px, calc(50% - 300px)); bottom: calc(var(--tab-h) + var(--sab) + 18px); height: 54px; padding: 0 22px 0 18px; border-radius: 27px; display: inline-flex; align-items: center; gap: 8px; background: var(--rubric); color: #fff8ee; font-size: 15.5px; font-weight: 650; box-shadow: 0 16px 30px -10px color-mix(in srgb, var(--rubric) 70%, transparent), var(--shadow-pop); transition: transform 0.6s var(--spring), opacity 0.3s; }
:root[data-theme="dark"] .fab { color: #2a1006; } @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fab { color: #2a1006; } }
.fab:active { transform: scale(0.93); } .fab.is-hidden { transform: translateY(110px); } body.kb-open .fab { transform: translateY(120px); }
.pd__title { margin: 10px 0 14px; font-size: 36px; } .pd__tags { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pd__body { font-family: var(--f-text); font-size: 20px; line-height: 1.6; color: var(--ink-2); white-space: pre-wrap; margin-bottom: 8px; }
.candle { display: grid; justify-items: center; gap: 22px; margin: 26px 0 8px; padding: 30px 20px 24px; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.candle__flame { position: relative; width: 66px; height: 78px; display: grid; place-items: center; } .candle__flame .flame { width: 58px; height: 68px; z-index: 1; } .candle__flame .flame path { stroke-width: 1.2; }
.candle__glow { position: absolute; inset: -60px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--flame-a) 45%, transparent), transparent 68%); opacity: 0; transition: opacity 1.2s; pointer-events: none; }
.candle.is-lit .candle__glow { opacity: 1; animation: glow 3.4s ease-in-out infinite; } @keyframes glow { 50% { opacity: 0.7; transform: scale(0.95); } }
.candle.ignite .candle__flame { animation: ignite 1.1s var(--spring); } @keyframes ignite { 0% { transform: scale(0.3) translateY(10px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.candle.ignite::after { content: ""; position: absolute; left: 50%; top: 70px; width: 20px; height: 20px; margin: -10px; border-radius: 50%; border: 2px solid var(--flame-a); animation: ring 1s var(--ease-out) forwards; } @keyframes ring { to { transform: scale(14); opacity: 0; } }
.candle .btn { min-width: 220px; } .btn.is-done { color: var(--ink-2); } .btn.is-done .ico { color: var(--ok); stroke-width: 2.6; } .btn.is-done[disabled] { opacity: 1; }
.strip { margin: 22px 0 6px; } .strip__row { display: flex; justify-content: space-between; margin-bottom: 12px; }
.dd { display: grid; justify-items: center; gap: 6px; } .dd i { width: 14px; height: 14px; border-radius: 50%; background: var(--paper-sunk); border: 1.5px solid var(--rule-strong); transition: all 0.6s var(--spring); } .dd.on i { background: var(--flame-a); border-color: var(--flame-b); box-shadow: 0 0 8px color-mix(in srgb, var(--flame-a) 70%, transparent); } .dd small { font-size: 10px; font-weight: 650; color: var(--ink-3); } .dd.today small { color: var(--rubric); }
.pd__acts { display: flex; gap: 10px; margin-top: 22px; }
.answer { position: relative; margin: 22px 0 8px; padding: 26px 22px 22px; border-radius: var(--r-xl); text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 20%, var(--card)), var(--card)); box-shadow: var(--shadow-card); }
.answer__star { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fffaf0; } .answer__star .ico { width: 24px; height: 24px; } .answer .eyebrow { color: var(--gold-text); }
.answer__txt { margin-top: 10px; font-family: var(--f-text); font-size: 20px; line-height: 1.5; font-style: italic; }
.page .page__right { display: flex; gap: 0; }

/* celebration */
.celebrate { position: fixed; inset: 0; z-index: 120; overflow: hidden; opacity: 0; transition: opacity 0.6s var(--ease-out); color: #2a1409; }
.celebrate.is-open { opacity: 1; } .celebrate.is-out { opacity: 0; }
.celebrate__sky { position: absolute; inset: 0; background: linear-gradient(180deg, #2b1f3d 0%, #7a3b4a 38%, #e58a5a 72%, #f8d79a 100%); transform: translateY(0); }
.celebrate__rays { position: absolute; left: 50%; bottom: -380px; width: 1000px; height: 1000px; margin-left: -500px; background: repeating-conic-gradient(rgba(255, 236, 190, 0.22) 0 5deg, transparent 5deg 15deg); -webkit-mask-image: radial-gradient(circle, #000 8%, transparent 62%); mask-image: radial-gradient(circle, #000 8%, transparent 62%); animation: rotate 70s linear infinite; opacity: 0; transition: opacity 1.4s 0.3s; } .is-open .celebrate__rays { opacity: 1; }
.celebrate__sun { position: absolute; left: 50%; bottom: -70px; width: 190px; height: 190px; margin-left: -95px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fffbe6, #ffe0a0 60%, #ffc060); box-shadow: 0 0 90px 40px rgba(255, 214, 130, 0.6); transform: translateY(160px); }
.is-open .celebrate__sun { transform: none; transition: transform 2.2s 0.15s var(--ease-out); }
.celebrate__sparks i { position: absolute; bottom: -10px; left: var(--x); width: 6px; height: 6px; border-radius: 50%; background: #ffe7a8; box-shadow: 0 0 8px 2px rgba(255, 220, 140, 0.8); opacity: 0; transform: scale(var(--s)); }
.is-open .celebrate__sparks i { animation: rise-spark var(--t) var(--d) ease-out infinite; } @keyframes rise-spark { 0% { opacity: 0; transform: translateY(0) scale(var(--s)); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-78vh) scale(0.2); } }
.celebrate__scroll { position: absolute; inset: 0; overflow-y: auto; padding: calc(var(--sat) + 40px) var(--gutter) calc(var(--sab) + 30px); display: grid; align-items: start; }
.celebrate__card { max-width: 440px; margin: 4vh auto 0; text-align: center; color: #fff6e6; opacity: 0; transform: translateY(16px); transition: all 1s 0.5s var(--ease-out); } .is-open .celebrate__card { opacity: 1; transform: none; }
.celebrate .eyebrow { color: #ffd9a0; } .celebrate__h { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 44px; line-height: 1.05; margin: 12px 0 14px; letter-spacing: -0.02em; }
.celebrate__title { font-family: var(--f-text); font-size: 20px; line-height: 1.4; color: #ffe9c4; margin-bottom: 28px; }
.celebrate .field { text-align: left; } .celebrate .textarea { background: rgba(20, 8, 4, 0.34); color: #fff6e6; border-color: rgba(255, 230, 190, 0.25); min-height: 120px; } .celebrate .textarea:focus { background: rgba(20, 8, 4, 0.5); border-color: #ffd9a0; box-shadow: 0 0 0 4px rgba(255, 217, 160, 0.18); } .celebrate .textarea::placeholder { color: #ffe0b0; }
.celebrate .btn--primary { background: #fff1d6; color: #3a1a0a; } .celebrate .link { color: #ffe9c4; justify-content: center; width: 100%; }
.celebrate__acts { display: grid; gap: 6px; margin-top: 20px; }

/* ═════════ REMEMBER ═════════ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 20px; }
.stat { display: grid; gap: 6px; padding: 4px 6px; text-align: center; } .stat + .stat { border-left: 1px solid var(--rule); }
.stat b { font-family: var(--f-display); font-size: 34px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; } .stat span { font-size: 10.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); line-height: 1.25; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px 4px; }
.cal__dow { text-align: center; font-size: 10.5px; font-weight: 700; color: var(--ink-3); padding-bottom: 4px; }
.cal__d { aspect-ratio: 1; display: grid; place-items: center; position: relative; border-radius: 50%; font-size: 14px; font-weight: 550; color: var(--ink-2); font-variant-numeric: tabular-nums; transition: transform 0.5s var(--spring); }
.cal__d:active { transform: scale(0.88); } .cal__d span { position: relative; z-index: 1; }
.cal__d::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--rubric); opacity: 0; }
.cal__d.l1::before { opacity: 0.14; } .cal__d.l2::before { opacity: 0.3; } .cal__d.l3::before { opacity: 0.55; } .cal__d.l4::before { opacity: 1; }
.cal__d.l3, .cal__d.l4 { color: var(--paper); font-weight: 650; }
.cal__d.is-today { box-shadow: inset 0 0 0 1.5px var(--ink); } .cal__d.is-future { opacity: 0.3; pointer-events: none; }
.cal-key { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 16px; font-size: 11.5px; color: var(--ink-3); } .cal-key i { width: 12px; height: 12px; border-radius: 50%; background: var(--rubric); } .cal-key .l0 { background: var(--paper-sunk); } .cal-key .l1 { opacity: 0.14; } .cal-key .l2 { opacity: 0.3; } .cal-key .l3 { opacity: 0.55; } .cal-key span:first-child { margin-right: 3px; } .cal-key span:last-child { margin-left: 3px; }
.plan-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 0; border-top: 1px solid var(--rule); } .plan-row:first-child { border-top: 0; padding-top: 4px; }
.plan-row__main { flex: 1; min-width: 0; display: block; } .plan-row b { display: block; font-family: var(--f-display); font-weight: 520; font-size: 18px; } .plan-row small { font-size: 13px; color: var(--ink-3); }
.tl li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-top: 1px solid var(--rule); font-family: var(--f-text); font-size: 17.5px; line-height: 1.4; } .tl li:first-child { border-top: 0; padding-top: 0; }
.tl__t { flex: 1; min-width: 0; color: var(--ink-2); } .tl__d { font-family: var(--f-ui); font-size: 12px; color: var(--ink-3); white-space: nowrap; } .tl .icon-btn { width: 30px; height: 30px; margin: -6px -8px -6px 0; color: var(--ink-3); } .tl--all li:first-child { padding-top: 4px; }
.story { position: relative; } .story::before { content: ""; position: absolute; left: 15px; top: 14px; bottom: 14px; width: 1.5px; background: linear-gradient(var(--gold), color-mix(in srgb, var(--gold) 10%, transparent)); }
.story li + li { margin-top: 4px; } .story button { display: flex; gap: 16px; width: 100%; text-align: left; padding: 8px 0; }
.story__dot { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fffaf0; position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--card); } .story__main { display: grid; gap: 2px; min-width: 0; padding-top: 3px; }
.story b { font-family: var(--f-display); font-weight: 520; font-size: 18px; line-height: 1.25; } .story small { font-size: 12.5px; color: var(--gold-text); font-weight: 600; } .story em { font-family: var(--f-text); font-size: 16.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dsec { padding: 14px 0; border-top: 1px solid var(--rule); } .dsec:first-child { border-top: 0; padding-top: 2px; }
.dsec h3 { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rubric); margin-bottom: 8px; }
.dsec__p { font-family: var(--f-text); font-size: 18px; line-height: 1.45; color: var(--ink-2); } .dsec__p + .dsec__p { margin-top: 6px; }
.dsec__btn { display: flex; align-items: baseline; gap: 10px; width: 100%; text-align: left; padding: 6px 0; font-family: var(--f-text); font-size: 18px; line-height: 1.4; color: var(--ink-2); } .dsec__btn span:last-child { flex: 1; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.plansheet { display: grid; gap: 12px; } .pcard { padding: 18px; border-radius: var(--r-l); background: var(--paper-sunk); } .pcard .note { margin: 6px 0 4px; font-size: 14.5px; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; } .pcard__foot small { font-size: 13px; color: var(--ink-3); font-weight: 600; }

/* ═════════ SHARE ═════════ */
.share-head { margin-bottom: 18px; }
.stage { display: grid; place-items: center; padding: 22px 0; margin: 0 calc(var(--gutter) * -1); background: var(--paper-sunk); border-radius: var(--r-l); }
.stage canvas { height: min(54dvh, 500px); width: auto; max-width: calc(100% - 44px); border-radius: 10px; box-shadow: 0 24px 48px -14px rgba(30, 15, 0, 0.5), 0 2px 6px rgba(30, 15, 0, 0.2); transition: aspect-ratio 0.3s; }
.sh-lab { margin: 24px 0 10px; }
.tpls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; }
.tplbtn { display: grid; gap: 8px; justify-items: center; transition: transform 0.5s var(--spring); } .tplbtn:active { transform: scale(0.93); } .tplbtn canvas { width: 100%; height: auto; border-radius: 8px; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--rule-strong); transition: box-shadow 0.3s, transform 0.5s var(--spring); } .tplbtn span { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.tplbtn.is-on canvas { box-shadow: 0 0 0 2.5px var(--rubric); transform: translateY(-3px); } .tplbtn.is-on span { color: var(--ink); }
.share-acts { display: grid; gap: 10px; margin-top: 28px; }
.share-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.share-pager[hidden] { display: none; }
.share-pager button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rule-strong); background: var(--card); color: var(--ink); font-size: 21px; line-height: 1; display: grid; place-items: center; }

/* ═════════ SETTINGS ═════════ */
.acct { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; } .acct__av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); font-family: var(--f-display); font-size: 22px; } .acct b { display: block; font-size: 16px; word-break: break-all; } .acct small { color: var(--ink-3); font-size: 13px; }
.set-lab { margin-bottom: 8px; } .set-menu { margin-top: 20px; } .set-foot { text-align: center; margin-top: 18px; }
.switch { position: relative; width: 52px; height: 32px; border-radius: 16px; background: var(--rule-strong); transition: background-color 0.3s; flex: none; } .switch i { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); transition: transform 0.55s var(--spring); } .switch[aria-checked="true"] { background: var(--ok); } .switch[aria-checked="true"] i { transform: translateX(20px); }
.ios-steps { display: grid; gap: 14px; margin: 18px 0 4px; counter-reset: s; } .ios-steps li { display: flex; align-items: center; gap: 16px; font-size: 16px; line-height: 1.4; } .ios-steps__ic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--paper-sunk); color: var(--rubric); }
.confirm__msg { margin-bottom: 0; }

@media (min-width: 700px) { .window { --w: 220px; height: 270px; border-radius: 110px 110px 6px 6px; } .votd__text { font-size: 31px; } }
@media (max-width: 360px) { .title-xl { font-size: 34px; } .stat b { font-size: 28px; } .beat { width: 56px; } .pick__books { grid-template-columns: 1fr; } }
