:root{color-scheme:light;--navy:#082b5d;--ink:#172338;--muted:#64748b;--line:#e4e9f0;--paper:#fff;--soft:#f4f7fb;--gold:#c79b49;--safe-bottom:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}body{margin:0;background:#f8f9fb;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding-bottom:calc(76px + var(--safe-bottom))}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.topbar{height:62px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100vw - 1000px)/2));position:sticky;top:0;z-index:5}.brand{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:var(--navy);font-weight:750;letter-spacing:-.02em}.brand img{width:34px;height:34px;object-fit:contain}.topbar .brand .pics{color:#febe03}.site-link{font-size:.88rem;color:var(--navy);font-weight:650;text-decoration:none}.app-main{max-width:1000px;min-height:calc(100vh - 138px);margin:0 auto;padding:24px 18px 36px}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-weight:750;color:#906e34;font-size:.72rem;margin:0 0 7px}.page-title{font-size:clamp(1.6rem,5vw,2.3rem);line-height:1.12;letter-spacing:-.04em;color:var(--navy);margin:0 0 10px}.subheading{color:var(--muted);margin:0 0 22px;line-height:1.5}.feature{position:relative;border-radius:20px;overflow:hidden;background:#dce4ee;min-height:290px;display:grid;align-items:end;color:white;box-shadow:0 12px 34px #0b2d561d}.feature:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#071a36e8 0%,#071a3666 45%,transparent 100%);z-index:1}.feature>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.feature-copy{position:relative;z-index:2;padding:22px}.feature .eyebrow{color:#f2d99f}.feature h2{font-size:clamp(1.45rem,5vw,2.15rem);margin:0 0 5px;line-height:1.12}.feature p{margin:0;color:#f3f5fa}.feature-actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}.button{border:0;border-radius:12px;min-height:44px;padding:0 16px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}.button.primary{background:var(--navy);color:white}.feature .button.primary{background:white;color:var(--navy)}.button.ghost{background:#ffffff1e;color:white;border:1px solid #ffffff80}.button.soft{background:#eef2f8;color:var(--navy)}.button.saved{background:#f9e8e9;color:#a22c36}.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:28px 0 14px}.section-head h2{margin:0;color:var(--navy);font-size:1.18rem}.section-heading-link{border:0;background:none;padding:0;color:inherit;font:inherit;text-align:left;cursor:pointer}.section-heading-link:hover{text-decoration:underline;text-underline-offset:3px}.section-heading-link:focus-visible{outline:2px solid #4774ac;outline-offset:4px;border-radius:2px}.text-button{padding:6px 0;border:0;background:none;color:var(--navy);font-weight:700;cursor:pointer}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:white;box-shadow:0 3px 12px #14243a09}.card-open{display:block;padding:0;border:0;background:none;text-align:left;color:inherit;width:100%;cursor:pointer}.card img{width:100%;aspect-ratio:4/3;display:block;object-fit:cover;background:#e8edf4}.card-copy{padding:12px 13px 14px}.card h3{color:var(--navy);font-size:1rem;line-height:1.24;margin:0 0 5px}.card p{color:var(--muted);font-size:.84rem;margin:0}.searchbox{display:flex;gap:10px;margin:18px 0 12px}.searchbox input[type="search"],.searchbox select{height:46px;border:1px solid #cfd7e2;border-radius:12px;background:white;padding:0 13px;color:var(--ink);outline-color:#4774ac}.searchbox input[type="search"]{flex:1;min-width:0}
.clips-filter{display:inline-flex;align-items:center;align-self:flex-start;gap:8px;height:46px;padding:0 13px;border:1px solid #cfd7e2;border-radius:12px;background:white;cursor:pointer}
.clips-filter input{width:16px;height:16px;margin:0;accent-color:#082b5d}
.searchbox select{max-width:190px}.result-count{font-size:.85rem;color:var(--muted);margin:0 0 13px}.detail-top{margin-bottom:14px}.back-button{border:0;background:transparent;padding:8px 0 14px;color:var(--navy);font-weight:700;cursor:pointer}.detail-image{display:block;width:100%;max-height:min(58vh,600px);object-fit:contain;border-radius:16px;background:#e8edf3}.detail-title{font-size:clamp(1.6rem,5vw,2.3rem);color:var(--navy);letter-spacing:-.04em;margin:17px 0 5px}.detail-reference{color:#856632;font-weight:700;margin:0 0 18px}.detail-actions{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 24px}.passage-box{border-top:1px solid var(--line);padding-top:19px}.passage-box h2{font-size:1.08rem;color:var(--navy);margin:0 0 10px}.passage-text{line-height:1.75;color:#273448;white-space:pre-line}.category-tag{font-size:.75rem;background:#edf2f9;color:#37587e;border-radius:999px;padding:5px 9px;display:inline-block;margin-top:10px}.empty{background:white;border:1px dashed #bbc7d6;border-radius:16px;padding:26px;text-align:center;color:var(--muted)}.empty strong{display:block;color:var(--navy);margin-bottom:5px}.tabbar{position:fixed;z-index:10;bottom:0;left:0;right:0;padding:8px 10px calc(7px + var(--safe-bottom));display:flex;justify-content:center;gap:min(16vw,100px);background:#fffffff2;backdrop-filter:blur(16px);border-top:1px solid var(--line)}.tab{min-width:68px;display:flex;align-items:center;flex-direction:column;gap:3px;border:0;background:none;color:#6a7483;font-size:.7rem;font-weight:700;cursor:pointer}.tab span{font-size:1.35rem;line-height:1.2}.tab.active{color:var(--navy)}.toast{position:fixed;z-index:20;left:50%;bottom:calc(82px + var(--safe-bottom));transform:translate(-50%,12px);opacity:0;background:#132c4d;color:white;padding:11px 15px;border-radius:12px;font-size:.88rem;transition:.2s;pointer-events:none;max-width:calc(100vw - 30px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.loading{padding:60px 0;text-align:center;color:var(--muted)}@media(max-width:680px){.app-main{padding:20px 15px 28px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.card-copy{padding:10px}.feature{min-height:310px;border-radius:16px}.feature-copy{padding:18px}.searchbox{flex-direction:column}.searchbox select{max-width:none;width:100%}.detail-actions .button{flex:1}.topbar{height:58px;padding:0 15px}}@media(max-width:390px){.grid{grid-template-columns:1fr}.card img{aspect-ratio:16/10}}

.audio-player{margin:20px 0;padding:20px;border:1px solid #d8dfE7;border-radius:16px;background:#f5f7fa}.audio-player h2{margin:0 0 14px;color:#082b55;font-size:1.25rem}.audio-controls,.audio-settings{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;align-items:center}.audio-settings label{display:flex;align-items:center;gap:10px}.audio-player input[type=range]{accent-color:#082b55;min-height:32px}.audio-progress-label{display:grid;gap:6px;margin-top:16px}.audio-progress-label input{width:100%}.audio-settings select{padding:8px;border:1px solid #c9d2df;border-radius:8px;background:white;font:inherit}.audio-player button:disabled{opacity:.5;cursor:not-allowed}.audio-player button:focus-visible,.audio-player input:focus-visible,.audio-player select:focus-visible{outline:3px solid #b58c2d;outline-offset:3px}#audio-status{margin:12px 0 0;font-size:.9rem;color:#526174}
.settings-button{background:transparent;border:1px solid #082b5d;border-radius:20px;padding:8px 12px;color:#082b5d;font:inherit;cursor:pointer;margin-left:auto;margin-right:12px}
.notification-settings{border:0;border-radius:18px;width:min(92vw,520px);padding:28px;color:#082b5d;max-height:85vh;overflow:auto;box-shadow:0 15px 65px #0003}
.notification-settings::backdrop{background:#082b5d88}.notification-settings h1{margin-top:0}.notification-settings h2{font-size:1.2rem}.settings-close{float:right;background:none;border:0;font-size:22px;color:#082b5d;cursor:pointer}.notification-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0;border-bottom:1px solid #ddd}.notification-row small{display:block;margin-top:6px;color:#536275}.notification-row input{width:24px;height:24px;accent-color:#082b5d;flex-shrink:0}.settings-note{font-size:.87rem;line-height:1.6;color:#536275}#notification-status{line-height:1.5;min-height:3em}

.eyebrow.collection-heading{text-transform:none;letter-spacing:.025em}

.tabbar{gap:clamp(4px,3vw,24px)}.tabbar .tab{flex:1;min-width:0;max-width:120px}
.notification-settings .feature-actions{flex-wrap:wrap}.notification-settings .button:disabled{opacity:.5;cursor:not-allowed}#notification-connection{line-height:1.5;padding:12px;background:#f4f7fb;border-radius:10px}
/* Personal reflections and collections. */
.personal-dialog{box-sizing:border-box;width:min(94vw,620px);max-height:90dvh;overflow:auto;border:1px solid #ccd6df;border-radius:18px;padding:24px;color:#082b55;background:#fffaf1;box-shadow:0 20px 70px #0005}.personal-dialog::backdrop{background:#061b35ad}.personal-dialog h2{font-size:1.5rem}.personal-dialog label,.collection-filter{display:grid;gap:7px;margin:16px 0;font-weight:600}.personal-dialog input:not([type=checkbox]):not([type=range]),.personal-dialog textarea,.personal-dialog select,.collection-filter select{box-sizing:border-box;width:100%;max-width:100%;padding:12px;border:1px solid #b7c5d3;border-radius:9px;background:white;color:#082b55;font:inherit}.personal-dialog textarea{resize:vertical}.personal-dialog input[type=range]{width:100%}.personal-dialog .collection-choice{display:flex;align-items:center;gap:10px;font-weight:400}.collection-choice input{width:20px;height:20px;flex-shrink:0}.personal-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.personal-help{font-size:.88rem;color:#53677d;line-height:1.6}.journal-card{padding:18px 0;border-top:1px solid #d6dce2;margin-top:16px}.journal-text{white-space:pre-wrap;overflow-wrap:anywhere}.journal-card h3{overflow-wrap:anywhere}.form-status{white-space:pre-wrap;overflow-wrap:anywhere}.collection-filter{max-width:460px}.topbar{flex-wrap:wrap}.topbar .brand{margin-right:auto}.journal-box{margin-top:24px}.personal-dialog .section-head{gap:15px}.personal-dialog .section-head h2{margin:0}.personal-dialog button:focus-visible,.personal-dialog input:focus-visible,.personal-dialog textarea:focus-visible{outline:3px solid #d6a413;outline-offset:3px}
@media(max-width:520px){.topbar{height:auto;min-height:62px;padding:10px 12px;gap:6px}.topbar .settings-button{font-size:.78rem;padding:7px 9px;margin:0}.topbar .site-link{font-size:.76rem}.brand{font-size:.95rem}.brand img{width:30px;height:30px}.personal-dialog{padding:18px}.personal-actions .button{font-size:.88rem}}
.button.danger{background:#9f2432;color:#fff;border:1px solid #9f2432}.button.danger:disabled{opacity:.5;cursor:not-allowed}#account-button[hidden]{display:none}
.delete-choice{margin:18px 0;padding:10px 14px;border:1px solid #b7c5d3;border-radius:9px}.delete-choice legend{font-weight:600}.personal-dialog input[type=radio]{width:20px;height:20px;flex-shrink:0;accent-color:#9f2432}

.favorites-screen{width:min(100vw,620px);height:100dvh;max-height:100dvh;margin:0 0 0 auto;border-radius:0;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.favorites-screen form{display:flex;flex-direction:column;min-height:calc(100% - 120px)}.favorite-category-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #d6dce2}.favorite-category-row label{overflow-wrap:anywhere;min-width:0}.favorite-category-row button{flex-shrink:0}.favorite-save{margin-top:auto;width:100%;min-height:48px}

.passage-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.passage-heading h2{margin:0}.passage-heading select{font:inherit;color:#082b55;background:white;border:1px solid #b7c5d3;border-radius:9px;padding:10px 14px;min-height:44px}.passage-heading select:focus-visible{outline:3px solid #d6a413;outline-offset:3px}.passage-translation-name{font-size:.85rem;color:#53677d;margin-top:8px}

.account-success{font-size:2.5rem;color:#286343;margin:12px 0}.account-continue{width:100%;min-height:48px}

.social-signin[hidden]{display:none}.social-signin-buttons{display:grid;gap:12px;margin:20px 0}.social-button{display:flex;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;width:100%;min-height:48px;padding:12px 18px;border-radius:8px;font:600 16px system-ui,sans-serif;cursor:pointer}.social-button svg{width:22px;height:22px;flex-shrink:0}.social-google{color:#1f1f1f;border:1px solid #747775;background:#fff}.social-apple{color:#fff;border:1px solid #000;background:#000}.social-button:focus-visible{outline:3px solid #d6a413;outline-offset:3px}.social-button:disabled{opacity:.65;cursor:wait}.signin-divider{text-align:center;font-size:.9rem;color:#53677d}

.personal-center{justify-content:center}

.app-legal-links{max-width:1000px;margin:0 auto;padding:0 18px 24px;color:#64748b;font-size:.85rem}.app-legal-links .legal-links{display:flex;justify-content:center;gap:24px;flex-wrap:wrap}.app-legal-links a{color:#334e73;text-underline-offset:3px}

/* V51: account-based weekly devotional stats. */
.stats-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:16px;min-width:0}.stats-panel h2{color:var(--navy);font-size:1.18rem;margin:0 0 14px}.stats-streaks{display:grid;grid-template-columns:1fr 1fr;gap:14px}.stats-streak{display:flex;align-items:flex-start;gap:14px}.stats-streak h2{font-size:.94rem;color:#526174;font-weight:500;margin:3px 0 10px}.stats-streak strong{display:block;font-size:clamp(1.6rem,5vw,2.3rem);line-height:1.1;color:var(--navy)}.stats-streak p{font-size:.86rem;color:#64748b;margin:12px 0 0}.stats-icon{width:46px;height:46px;flex-shrink:0;border-radius:50%;background:#eff3f8;padding:10px;color:var(--navy)}.stats-icon.listened{background:#fffae8;color:#febe03}.stats-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.stats-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stats-two p{margin:0;display:flex;align-items:center;gap:10px;color:var(--navy);line-height:1.4}.stats-two p+p{border-left:1px solid var(--line);padding-left:16px}.stats-check{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#f1f4f8;color:#526174;font-weight:700;flex-shrink:0}.stats-check.done.viewed{background:#082b5d;color:white}.stats-check.done.listened{background:#febe03;color:#082b5d}.stats-totals p{display:block;color:#526174;font-size:.95rem}.stats-totals strong{display:block;font-size:2.6rem;color:var(--navy);line-height:1.15;margin-bottom:6px}.stats-history{width:100%;border-collapse:collapse;text-align:center}.stats-history th,.stats-history td{padding:12px 4px;border-bottom:1px solid var(--line)}.stats-history th:first-child{text-align:left}.stats-history thead th{font-weight:500;color:#526174}.stats-history tbody th{font-weight:500;color:var(--navy)}.stats-history small{display:block;color:#64748b;font-size:.72rem;margin-top:4px}.stats-encouragement{color:#082b5d;text-align:center;background:transparent;padding:12px 0;margin:12px 0 24px;line-height:1.6}.stats-chart{display:flex;gap:10px;padding-top:14px}.stats-axis{display:flex;flex-direction:column;justify-content:space-between;height:160px;font-size:.75rem;color:#64748b}.stats-months{flex:1;min-width:0;display:flex;gap:8px;background:repeating-linear-gradient(to top,#e4e9f0 0px,#e4e9f0 1px,transparent 1px,transparent 32px);background-size:100% 160px;background-repeat:no-repeat}.stats-month{flex:1;min-width:0;text-align:center}.stats-bar-pair{height:160px;display:flex;align-items:flex-end;justify-content:center;gap:5px;border-bottom:1px solid #aeb9c7}.stats-bar{width:28%;max-width:32px;border-radius:4px 4px 0 0;position:relative;min-height:1px}.stats-bar.viewed,.stats-legend .viewed{background:#082b5d}.stats-bar.listened,.stats-legend .listened{background:#febe03}.stats-bar span{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);font-size:.7rem;line-height:1.5;color:#082b5d}.stats-month-label{display:block;font-size:.7rem;white-space:nowrap;color:#526174;padding-top:9px}.stats-legend{display:flex;justify-content:center;gap:24px;font-size:.85rem;color:#526174;margin:18px 0 0}.stats-legend span{display:flex;align-items:center;gap:7px}.stats-legend i{display:inline-block;width:13px;height:13px;border-radius:50%}.stats-help{font-size:.88rem;line-height:1.6;color:#526174}.stats-help summary{color:var(--navy);cursor:pointer;font-weight:650}.stats-guest p{color:#526174;line-height:1.6}.stats-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.tab.active,.tab.active svg{color:#082b5d}.tab span svg{display:block}
@media(min-width:681px){.stats-streak{padding:24px}.stats-chart{max-width:760px;margin:auto}.stats-panel{padding:24px}}
@media(max-width:420px){.stats-panel{padding:16px}.stats-streaks{gap:10px}.stats-streak{display:block}.stats-icon{display:block;margin-bottom:10px}.stats-two{gap:10px}.stats-two p+p{padding-left:10px}.stats-two p{font-size:.85rem}.stats-months{gap:4px}.stats-bar-pair{gap:3px}.stats-month-label{font-size:.65rem}}

/* Video thumbnails use the exact ScripturePics logo yellow. */
.card.has-video .card-open{position:relative}
.card.has-video .card-open img{outline:4px solid #febe03;outline-offset:-4px}
.card.has-video .clip-badge{position:absolute;top:10px;right:10px;z-index:2;display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border-radius:999px;background:#febe03;color:#082b5d;font:700 11px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.04em;box-shadow:0 2px 8px #0004}
@media(max-width:680px){.card.has-video .clip-badge{top:8px;right:8px;padding:6px 8px;font-size:10px}}

.clip-repeat{margin:10px 0 14px;text-align:center;font-size:15px}
.clip-repeat small{display:block;margin-top:3px}
.clip-repeat input{accent-color:#082b5d}
.clip-share .button{width:100%}
.clip-share-status:not(:empty){display:block;margin-top:4px}
.clip-share-status input{max-width:100%}
