.klbb-scripture{--sr-purple:#2e2147;--sr-gold:#c49a43;--sr-soft:#ead8ad;--sr-paper:#fbfaf7;--sr-line:#ddd9cf;--sr-size:1.3rem;color:#182231;background:var(--sr-paper);font-family:Inter,system-ui,sans-serif;width:100%;margin:0}
.klbb-scripture *{box-sizing:border-box}.klbb-scripture [hidden]{display:none!important}.klbb-scripture button,.klbb-scripture input{font:inherit}.klbb-scripture button{cursor:pointer}.klbb-scripture button:disabled{cursor:default;opacity:.35}.klbb-scripture button:focus-visible{outline:2px solid var(--sr-gold);outline-offset:3px}
.klbb-scripture .sr-topbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;min-height:80px;padding:12px clamp(20px,4vw,64px);background:var(--sr-purple);border-bottom:3px solid var(--sr-gold);margin:0;color:#fff}.sr-brand{grid-column:2;display:flex;align-items:center;gap:16px}.sr-brand .section-mark{width:42px;height:42px;fill:none;stroke:#e9b949;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sr-brand .section-title{margin:0;font-family:Georgia,serif;font-size:clamp(24px,2.2vw,32px);font-weight:500;line-height:1.3;color:inherit}
.sr-actions{grid-column:3;display:flex;justify-self:end;gap:8px;white-space:nowrap}.sr-actions button{min-height:43px;min-width:44px;padding:0 12px;border:1px solid #ffffff47;background:#ffffff12;color:#fff;border-radius:0}.sr-actions button:hover{background:#ffffff24}
.sr-shell{display:grid;grid-template-columns:minmax(300px,29.5%) minmax(0,1fr);height:calc(100dvh - 100px);min-height:570px;max-height:1000px}.sr-library{display:flex;flex-direction:column;min-height:0;background:#f2f0ea;border-right:1px solid var(--sr-line);padding:24px 20px}.sr-search-wrap{position:relative;flex-shrink:0}.sr-search-wrap svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;fill:none;stroke:#697383;stroke-width:1.8}.sr-search-wrap input{width:100%;min-height:48px;padding:10px 32px 10px 39px;border:1px solid #cbc7bd;border-radius:0;background:white;color:#182231;font-size:14px}.sr-search-wrap input:focus{outline:3px solid #c49a4340;border-color:var(--sr-gold)}.sr-search-wrap input::-webkit-search-cancel-button{display:none}#sr-clear{position:absolute;right:6px;top:7px;border:0;background:none;color:#697383;width:28px;height:34px;font-size:23px}
.sr-testaments{display:grid;gap:10px;padding:24px 0}.sr-testaments button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:15px 12px;border:1px solid var(--sr-line);background:transparent;text-align:left;color:var(--sr-purple);font-size:15px;font-weight:650}.sr-testaments button span{font-size:24px;color:var(--sr-gold)}.sr-testaments button:hover{border-color:var(--sr-gold);background:#fff}#sr-back{border:0;padding:18px 0 12px;background:none;color:#76678a;font-size:13px}#sr-back:hover{color:#3c2861}#sr-testament-title{margin:4px 0 6px;font:700 14px/1.4 Inter,system-ui,sans-serif;letter-spacing:.05em;text-transform:uppercase;color:#697383}#sr-translator{margin:0 0 12px;color:#697383;font-size:16px;line-height:1.35}.sr-translations{display:flex;flex-wrap:wrap;gap:6px}.sr-translator-single{font-size:16px;line-height:1.35}.klbb-scripture .sr-translation-choice{font:inherit;font-size:14px;line-height:1.3;color:#3c2861;background:transparent;border:1px solid transparent;border-radius:3px;padding:4px 7px;cursor:pointer}.sr-translation-choice:hover,.sr-translation-choice:focus-visible,.sr-translation-choice[aria-pressed="true"]{background:#f5f1fa;border-color:#e9b949;color:#3c2861}.sr-status{font-size:13px;color:#697383;margin:8px 0 12px}.sr-books{min-height:0;overflow-y:auto;scrollbar-color:#bbb7ae transparent;padding:2px 5px 4px 0}.sr-book{border-bottom:1px solid #ddd9cf80}.sr-book summary{display:flex;align-items:center;gap:12px;padding:13px 10px;list-style:none;color:#182231;cursor:pointer;font-size:15px;font-weight:650;line-height:1.4}.sr-book summary::-webkit-details-marker{display:none}.sr-book summary:before{content:'›';flex-shrink:0;color:var(--sr-gold);font-size:24px;line-height:1;transition:transform .15s}.sr-book[open] summary:before{transform:rotate(90deg)}.sr-book summary:hover{background:#ffffff90}.sr-book summary:focus-visible{outline:2px solid var(--sr-gold);outline-offset:-2px}.sr-chapters{display:grid;grid-template-columns:repeat(auto-fill,minmax(37px,1fr));gap:6px;padding:0 10px 14px 34px}.sr-chapters button{border:1px solid #ddd9cf;min-height:37px;padding:6px;background:transparent;color:var(--sr-purple);font-size:14px}.sr-chapters button:hover{background:white;border-color:var(--sr-gold)}.sr-chapters button[aria-current=true]{background:var(--sr-purple);border-color:var(--sr-purple);color:#fff}
.sr-reading{overflow-y:auto;min-width:0;padding:clamp(35px,5vw,70px) clamp(24px,7.5vw,105px) 48px;scrollbar-color:#bbb7ae transparent}.sr-reading-head{display:flex;justify-content:space-between;gap:16px;max-width:860px;margin:auto;padding-bottom:28px;border-bottom:1px solid var(--sr-soft)}.sr-reference{margin:0 0 8px;color:var(--sr-gold);font:800 12px/1.4 Inter,system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase}.sr-reading #sr-title{margin:0;font:500 clamp(23px,2.5vw,31px)/1.3 Georgia,serif;color:var(--sr-purple);outline:none}.sr-verses{max-width:860px;margin:32px auto 0;font:400 var(--sr-size)/1.8 Georgia,'Times New Roman',serif;overflow-wrap:anywhere}.sr-verses p{margin:0 0 .9em}.sr-verses sup{color:var(--sr-gold);font:500 .6em/0 Inter,system-ui,sans-serif;margin-right:.5em;vertical-align:super}.sr-verses .sr-highlight{background:#fff4cf;color:inherit}.sr-verses mark.sr-highlight{padding:0;box-decoration-break:clone;-webkit-box-decoration-break:clone}.sr-verses p[id]{scroll-margin-top:48px}.sr-navigation{display:flex;justify-content:space-between;gap:16px;max-width:860px;margin:40px auto 0}.sr-nav-button{padding:10px 12px;border:1px solid transparent;background:transparent;color:#3c2861;text-decoration:none;font-size:15px}.sr-nav-button:not(:disabled):hover{border-color:#3c2861;background:#f5f1fa}.sr-result{display:block;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--sr-line);padding:14px 8px;color:#182231}.sr-result:hover{background:#fff}.sr-result strong{display:block;color:#8c6b28;font-size:14px;margin-bottom:6px}.sr-result span{display:block;font-size:14px;line-height:1.55}.sr-result mark{background:#f5e2ad;color:inherit}#sr-more-results{flex-shrink:0;margin-top:10px}#sr-close{display:none}
.klbb-scripture.sr-presentation{position:fixed;inset:0;z-index:999999;height:100dvh;background:#091629}.sr-presentation .sr-topbar,.sr-presentation .sr-library{display:none}.sr-presentation .sr-shell{display:block;height:100%;max-height:none;min-height:0}.sr-presentation .sr-reading{height:100%;color:#f8f5ec;background:radial-gradient(circle at top right,#19375f 0,#091629 48%);padding:5vh 8vw}.sr-presentation .sr-reading-head,.sr-presentation .sr-verses,.sr-presentation .sr-navigation{max-width:1120px}.sr-presentation .sr-reading #sr-title{color:#fff;font-size:clamp(32px,4vw,60px)}.sr-presentation .sr-verses{font-size:calc(var(--sr-size) * 1.55);line-height:1.55}.sr-presentation .sr-reference,.sr-presentation .sr-nav-button{color:#ead8ad}.sr-presentation .sr-nav-button:not(:disabled):hover{background:#ffffff12;border-color:#ead8ad}.sr-presentation #sr-close{display:block;flex-shrink:0;width:46px;height:46px;border:1px solid #ffffff59;color:white;background:transparent;font-size:28px}.sr-presentation .sr-highlight{color:#182231}.sr-presentation .sr-reading-head{border-color:#ead8ad52}
@media(max-width:1000px){.klbb-scripture .sr-topbar{grid-template-columns:1fr;gap:12px}.sr-brand,.sr-actions{grid-column:1;justify-self:center}.sr-shell{grid-template-columns:310px minmax(0,1fr)}.sr-reading{padding:35px 28px}}
@media(max-width:760px){.sr-shell{display:block;height:auto;min-height:0;max-height:none}.sr-library{max-height:440px;border-right:0;border-bottom:1px solid var(--sr-line);padding:18px 16px}.sr-books{max-height:270px;flex:1 1 auto}.sr-search-wrap input{font-size:16px}.sr-testaments{grid-template-columns:1fr 1fr;gap:8px;padding:16px 0 4px}.sr-testaments button{font-size:13px;padding:10px}.sr-reading{overflow:visible;padding:32px 20px;min-height:55vh}.sr-reading-head{padding-bottom:20px}.sr-verses{margin-top:24px}.sr-navigation{gap:8px}.sr-nav-button{font-size:14px;padding:10px 6px}.sr-presentation .sr-reading{overflow-y:auto}.sr-presentation .sr-verses{font-size:calc(var(--sr-size) * 1.2)}.sr-presentation .sr-shell{height:100%}}
@media(prefers-reduced-motion:reduce){.klbb-scripture *{scroll-behavior:auto!important;transition:none!important}}

/* Keep the Scripture reader header vertically centered despite the global header reset. */
.klbb-scripture header.sr-topbar{padding-bottom:12px!important}

/* Reading first on phones and tablets; desktop retains its two columns. */
@media(max-width:1100px){.klbb-scripture:not(.sr-presentation) .sr-shell{display:flex;flex-direction:column;height:auto;min-height:0;max-height:none}.klbb-scripture:not(.sr-presentation) .sr-reading{order:1;overflow:visible;min-height:55vh}.klbb-scripture:not(.sr-presentation) .sr-library{order:2;max-height:480px;border-right:0;border-top:1px solid var(--sr-line)}.klbb-scripture:not(.sr-presentation) .sr-books{max-height:300px;overflow-y:auto}}
