/* Search uses the hymnal's existing search box, reading pane, and navigation. */
.scripture_header { display: flex; align-items: center; gap: .65rem; box-sizing: border-box; padding: .15rem .5rem; height: auto; min-height: 2.2rem; }
#scripture_header_title { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bible-translation-pill { display: inline-flex; flex: none; border: 1px solid #737373; border-radius: 999px; overflow: hidden; background: #202020; line-height: 1; }
.bible-translation-pill button { appearance: none; border: 0; border-radius: 0; background: transparent; color: #ddd; font: 700 .75rem/1.15 system-ui, sans-serif; padding: .3rem .65rem; cursor: pointer; }
.bible-translation-pill button + button { border-left: 1px solid #737373; }
.bible-translation-pill button.selected { background: cornflowerblue; color: #fff; }
.bible-translation-pill button:focus-visible { outline: 2px solid #ffdd79; outline-offset: -3px; }
.bible_nav .nav_container[hidden] { display: none !important; }
.bible_nav.bible-search-active > .nav_container { flex: 1 1 50%; width: 50%; min-width: 0; }
.bible-hit-nav { height: 100%; overflow-y: auto; overflow-x: hidden; }
.bible-search-book, .bible-hit-link { display: block; width: 100%; border: 0; border-radius: 0; text-align: left; font: inherit; cursor: pointer; }
.bible-search-book { font-size: .9rem; white-space: normal !important; }
.bible-hit-link { padding-left: .65rem; text-indent: 0; font-variant-numeric: tabular-nums; }
.bible-search-book:focus-visible, .bible-hit-link:focus-visible { outline: 2px solid #ffdd79; outline-offset: -2px; }
.bible-search-results { overflow-anchor: none; position: relative; }
.bible-search-hit { border-left: 3px solid transparent; border-bottom: 1px solid #3c3c3c; padding: .8em .65em 1em; }
.bible-search-hit.current-hit { border-left-color: cornflowerblue; background: #222b38; }
.bible-search-reference { font-size: .65em; line-height: 1.5; margin-bottom: .4em; color: #b5cff6; }
.bible-search-sentence { white-space: pre-wrap; overflow-wrap: anywhere; }
.bible-search-sentence mark { background: #f1d474; color: #171717; border-radius: .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.bible-search-note { display: block; font-size: .6em; color: #bfbfbf; line-height: 1.5; margin-top: .5em; }
.bible-search-message { color: snow; font-size: 1rem; line-height: 1.5; padding: 1rem; }
.bible-search-retry { font: inherit; cursor: pointer; padding: .4em .8em; }
.bible-search-end { height: 100%; pointer-events: none; }
