:root,:root[data-theme=sepia]{--r-bg:#f4ecd8;--r-text:#433422;--r-num:#b45309;--r-border:#eaddc5;--r-top:#faebd7;--r-input:#fdf6e3;--r-input-text:#433422;--r-hl:#b453091a;--r-hover:#f6efdf;--r-summary:#faebd7;--r-jesus:#991b1b;--r-sec:#785b3c}:root[data-theme=light]{--r-bg:#fff;--r-text:#1e293b;--r-num:#0ea5e9;--r-border:#cbd5e1;--r-top:#f1f5f9;--r-input:#fff;--r-input-text:#0f172a;--r-hl:#0ea5e91a;--r-hover:#f8fafc;--r-summary:#f8fafc;--r-jesus:#be123c;--r-sec:#475569}:root[data-theme=dark]{--r-bg:#1e293bb3;--r-text:#f8fafc;--r-num:#38bdf8;--r-border:#ffffff1f;--r-top:#0f172a80;--r-input:#1e293b;--r-input-text:#f8fafc;--r-hl:#38bdf833;--r-hover:#ffffff0d;--r-summary:#38bdf80d;--r-jesus:#fda4af;--r-sec:#94a3b8}body.reading{background-color:var(--r-bg);color:var(--r-text);--text-primary:var(--r-text);--text-secondary:var(--r-sec)}.reader{text-align:left;max-width:800px;min-height:60vh;margin:0 auto;padding-bottom:4rem}.reader-topbar{background:var(--r-top);border:1px solid var(--r-border);backdrop-filter:blur(10px);border-radius:12px;margin-bottom:1.5rem}.reader-dropdowns{flex-wrap:nowrap;justify-content:space-between;align-items:flex-end;gap:.5rem;width:100%;padding:1rem 1.5rem;display:flex}.dd-wrap{flex:50%;min-width:0;display:flex}.dd{background:var(--r-input);width:100%;color:var(--r-input-text);border:1px solid var(--r-border);cursor:pointer;text-align:left;white-space:nowrap;border-radius:8px;justify-content:space-between;align-items:center;padding:.6rem .5rem;font-size:.9rem;display:flex;overflow:hidden}.dd span{text-overflow:ellipsis;overflow:hidden}.dd svg{opacity:.7;flex-shrink:0;font-size:.8rem}.ch-group{flex:50%;align-items:flex-end;gap:.2rem;min-width:0;display:flex}.ch-group .dd{flex:1;min-width:0}.chev{color:var(--r-text);opacity:.8;align-items:center;padding:.6rem .4rem;font-size:1.2rem;display:flex}.chev:hover{color:var(--r-text);opacity:1}.chev.off{opacity:.3;pointer-events:none}.gear{color:var(--r-text);border:1px solid var(--r-border);cursor:pointer;background:0 0;border-radius:8px;align-self:flex-end;padding:.5rem .55rem;transition:background .2s,border-color .2s;display:flex}.gear[aria-expanded=true]{background:var(--r-hl);border-color:var(--r-num)}.settings{border-top:1px solid var(--r-border);flex-wrap:wrap;align-items:center;gap:1rem;padding:.75rem 1.5rem;display:flex}.settings[hidden]{display:none}.settings-label{opacity:.7;margin-right:.25rem;font-size:.8rem}.swatches,.sizes{align-items:center;gap:.4rem;display:flex}.swatch{cursor:pointer;border-radius:50%;width:28px;height:28px}.sw-light{background:#fff;border:1px solid #cbd5e1}.sw-sepia{background:#f4ecd8;border:1px solid #eaddc5}.sw-dark{background:#1e293b;border:1px solid #334155}:root[data-theme=light] .sw-light{border:2px solid #0ea5e9}:root:not([data-theme]) .sw-sepia,:root[data-theme=sepia] .sw-sepia{border:2px solid #b45309}:root[data-theme=dark] .sw-dark{border:2px solid #38bdf8}.settings-sep{background:var(--r-border);width:1px;height:24px;margin:0 .25rem}.size-btn{color:var(--r-text);border:1px solid var(--r-border);cursor:pointer;background:0 0;border-radius:30px;padding:.3rem .6rem;font-size:.9rem;font-weight:600}.reader-paper{background:var(--r-bg);color:var(--r-text);border:1px solid var(--r-border);min-height:600px;line-height:1.9;font-size:var(--base-font,1.125rem);border-radius:16px;padding:3rem 2.5rem;box-shadow:0 4px 20px #0000000d}.ch-title{font-size:calc(var(--base-font,1.125rem) * .8 + 1.2rem);text-align:center;margin-bottom:2rem}.reader-summary{background:var(--r-summary);border-radius:8px;margin-bottom:1rem;padding:1rem .5rem;font-size:.95em;font-style:italic;line-height:1.7}.reader-title{opacity:.8;margin:.5rem 0 1rem;font-style:italic}.verses{flex-direction:column;gap:.67rem;display:flex}.verse-row{cursor:pointer;border-radius:8px;padding:.4rem .5rem;transition:background .15s,box-shadow .15s;position:relative}.verse-row.hl,.verse-row.sel{background:var(--r-hl)}.verse-row.sel{box-shadow:inset 3px 0 0 var(--r-num)}.vn{color:var(--r-num);-webkit-user-select:none;user-select:none;vertical-align:baseline;margin-right:.5rem;font-size:.65em;font-weight:700;position:relative;top:-.5em}.jesus{color:var(--r-jesus);font-weight:700}.tip{cursor:help;color:var(--r-num);margin:0 2px;font-weight:700;display:inline-block}.nu{border-bottom:1px dotted var(--accent-color)}.notes{border-top:1px solid var(--r-border);opacity:.85;margin-top:3rem;padding-top:1.5rem;font-size:.85em}.notes p{gap:.5rem;margin-bottom:.5rem;display:flex}.notes sup{color:var(--r-num)}.pager{justify-content:space-between;margin-top:2.5rem;display:flex}.pager .cta-button{padding:.8rem 1.5rem;font-size:1rem}.pager .hidden{visibility:hidden}.tipbox{z-index:9999;background:var(--r-input);width:max-content;max-width:280px;color:var(--r-input-text);border:1px solid var(--r-border);pointer-events:none;text-align:left;border-radius:12px;padding:.8rem 1rem;font-size:.9rem;font-style:normal;font-weight:400;line-height:1.5;animation:.2s ease-out fadeInUp;position:absolute;transform:translate(-50%,-100%);box-shadow:0 10px 25px -5px #0006}.tipbox .h{color:var(--accent-color);margin-bottom:.2rem;font-family:serif;font-size:1.1rem;font-weight:700}dialog.picker{background:var(--r-bg);width:90%;max-width:350px;max-height:75vh;color:var(--r-text);border:1px solid var(--r-border);border-radius:16px;margin:auto;padding:0;overflow:hidden;box-shadow:0 25px 50px -12px #00000080}dialog.picker[open]{flex-direction:column;display:flex}dialog.picker::backdrop{backdrop-filter:blur(5px);background:#00000080}.picker-head{border-bottom:1px solid var(--r-border);text-align:center;background:var(--r-top);padding:1.25rem;font-size:1.1rem;font-weight:700}.picker-list{-webkit-overflow-scrolling:touch;overflow-y:auto}.picker-list a{color:var(--r-text);border-bottom:1px solid var(--r-border);text-align:center;padding:1rem 1.5rem;font-size:1.05rem;display:block}.picker-list a:hover{background:var(--r-hover);color:var(--r-text)}.picker-list a.cur{background:var(--r-hl);font-weight:700}.picker-grid{-webkit-overflow-scrolling:touch;grid-template-columns:repeat(auto-fill,minmax(60px,1fr));gap:.75rem;padding:1.25rem;display:grid;overflow-y:auto}.picker-grid a{border:1px solid var(--r-border);text-align:center;color:var(--r-text);border-radius:8px;padding:.8rem 0;font-size:1.05rem}.picker-grid a:hover{background:var(--r-hover);color:var(--r-text)}.picker-grid a.cur{border:2px solid var(--r-num);background:var(--r-hl);font-weight:700}.drawer{z-index:9998;background:var(--r-top);border-top:1px solid var(--r-border);padding:.5rem 1.25rem calc(1rem + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;transition:transform .3s cubic-bezier(.32,.72,0,1);position:fixed;bottom:0;left:0;right:0;transform:translateY(calc(100% + 8px));box-shadow:0 -6px 24px #00000040}body.selecting .drawer{transform:none}.drawer-handle{background:var(--r-border);border-radius:2px;width:36px;height:4px;margin:0 auto .6rem}.drawer-row{align-items:center;gap:.75rem;max-width:800px;margin:0 auto;display:flex}.drawer-ref{color:var(--r-num);flex:1;font-size:.95rem;font-weight:700}.drawer-copy{background:var(--r-hl);color:var(--r-num);border:1.5px solid var(--r-num);cursor:pointer;white-space:nowrap;border-radius:999px;padding:.5rem 1.1rem;font-size:.9rem;font-weight:700;transition:background .2s,color .2s}.drawer-copy.done{background:var(--r-num);color:var(--r-bg)}.drawer-close{color:var(--r-text);opacity:.5;cursor:pointer;background:0 0;border:none;flex-shrink:0;padding:.25rem;font-size:1.1rem;line-height:1}@media (width<=768px){.reader-paper{font-size:calc(var(--base-font,1.125rem) - .15rem);border-radius:0;padding:1.5rem 1rem}.reader-topbar{border-radius:0}.reader-dropdowns{padding:.75rem}}
