/* Layout: book column; story sections -> one New Testament passage (text once) -> numbered Old Testament connections beneath it. */
:root {
  --paper: #fbfbf9; --ink: #1f2328; --muted: #5e6670; --rule: #dcdcd6; --rubric: #9e1f2e; --panel: #f2f2ee; --card: #ffffff;
  --f-quote: #1d4f91; --f-quote-bg: #e6eef9; --f-unmarked: #4b5aa8; --f-unmarked-bg: #eceefa;
  --f-allusion: #7a5a00; --f-allusion-bg: #f7efd6; --f-echo: #4e6b52; --f-echo-bg: #e7f0e8;
  --c-ink: #9e1f2e; --c-bg: #fbeeee; --c-line: #e6b9bd; --c-card: #fffafa; --hl: #fbefc4;
  --display: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --body: "Source Serif 4", "Georgia", "Times New Roman", serif;
  --ui: "Inter", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --c-ink: #f0a3a8; --c-bg: #2b1c1e; --c-line: #5a3337; --c-card: #211b1c; --hl: #4a3f1c;
  --paper: #17191c; --ink: #e7e4dd; --muted: #9ea4ab; --rule: #33373c; --rubric: #e98a90; --panel: #1f2226; --card: #1c1f22;
  --f-quote: #9cc0f2; --f-quote-bg: #1c2a3d; --f-unmarked: #b3bbf0; --f-unmarked-bg: #24273d;
  --f-allusion: #e6c46a; --f-allusion-bg: #33291a; --f-echo: #9fc7a4; --f-echo-bg: #1d2b20; color-scheme: dark;
} }
:root[data-theme="dark"] {
  --c-ink: #f0a3a8; --c-bg: #2b1c1e; --c-line: #5a3337; --c-card: #211b1c; --hl: #4a3f1c;
  --paper: #17191c; --ink: #e7e4dd; --muted: #9ea4ab; --rule: #33373c; --rubric: #e98a90; --panel: #1f2226; --card: #1c1f22;
  --f-quote: #9cc0f2; --f-quote-bg: #1c2a3d; --f-unmarked: #b3bbf0; --f-unmarked-bg: #24273d;
  --f-allusion: #e6c46a; --f-allusion-bg: #33291a; --f-echo: #9fc7a4; --f-echo-bg: #1d2b20; color-scheme: dark;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.book { max-width: 42rem; margin: 0 auto; padding-block: 3rem 5rem; }
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { color: var(--rubric); text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--rubric); outline-offset: 2px; border-radius: 2px; }

.title-page { text-align: center; padding-block: 2.5rem 2.75rem; border-bottom: 1px solid var(--rule); }
.kicker { font-family: var(--ui); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rubric); margin: 0 0 1rem; }
.title-page h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 7.5vw, 3.8rem); line-height: 1.04; margin: 0; }
.title-page .sub { font-style: italic; color: var(--muted); margin: 1.1rem auto 0; max-width: 32rem; }
.glance { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: center; list-style: none; padding: 0; margin: 1.75rem 0 0; font-family: var(--ui); font-size: .8rem; color: var(--muted); }
.glance .num { font-family: var(--display); font-size: 1.5rem; color: var(--ink); margin-right: .25rem; font-variant-numeric: tabular-nums; }

section.part { padding-block: 2.25rem; border-bottom: 1px solid var(--rule); }
section.part h2 { font-family: var(--display); font-weight: 600; font-size: 1.65rem; margin: 0 0 .75rem; }
section.part p { margin: 0 0 .85rem; }
.legend { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.legend li { display: grid; grid-template-columns: 9.5rem 1fr; gap: .2rem 1rem; align-items: baseline; }
@media (max-width: 520px) { .legend li { grid-template-columns: 1fr; } }
.legend span:last-child { min-width: 0; }
.small { font-size: .9rem; color: var(--muted); }

.contents ol { list-style: none; padding: 0; margin: 0; }
.contents a { display: flex; align-items: baseline; gap: .5rem; padding: .3rem 0; text-decoration: none; }
.contents .tt { flex: none; }
.contents .dots { flex: 1; border-bottom: 1px dotted var(--rule); transform: translateY(-.3em); min-width: 1rem; }
.contents .tc { font-family: var(--ui); font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.tag { display: inline-block; font-family: var(--ui); font-size: .68rem; font-weight: 600; letter-spacing: .04em; padding: .16rem .5rem; border-radius: 4px; white-space: nowrap; }
.tag.f-formal-quotation { color: var(--f-quote); background: var(--f-quote-bg); }
.tag.f-unmarked-quotation { color: var(--f-unmarked); background: var(--f-unmarked-bg); }
.tag.f-allusion { color: var(--f-allusion); background: var(--f-allusion-bg); }
.tag.f-echo { color: var(--f-echo); background: var(--f-echo-bg); }

.chap-mark { font-family: var(--ui); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--rubric); text-align: center; margin: 4rem 0 0; }
.unit { padding-top: 2.5rem; }
.unit-head { text-align: center; margin-bottom: 1.25rem; }
.unit-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 5.5vw, 2.5rem); line-height: 1.1; margin: 0; text-wrap: balance; }
.unit-head p { font-family: var(--ui); font-size: .78rem; color: var(--muted); margin: .35rem 0 0; }

.passage { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.p-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; }
.p-head h3 { font-family: var(--body); font-size: 1.15rem; font-weight: 600; margin: 0; }
.count { font-family: var(--ui); font-size: .72rem; color: var(--muted); }
.nt .vt { margin: .4rem 0 0; font-size: 1.05rem; }
.vt { margin: 0; }
.vt sup { font-family: var(--ui); font-size: .62em; color: var(--rubric); margin-right: .15em; font-weight: 600; }
.muted { color: var(--muted); font-style: italic; font-size: .93rem; }

ol.assoc { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .75rem; counter-reset: a; }
li.a { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; min-width: 0; }
li.a summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .6rem; padding: .7rem 2.4rem .7rem 1rem; position: relative; border-radius: 8px; }
li.a summary::-webkit-details-marker { display: none; }
li.a summary:hover { background: var(--panel); }
li.a summary:focus-visible { outline: 2px solid var(--rubric); outline-offset: 2px; }
li.a details[open] summary { border-bottom: 1px dotted var(--rule); border-radius: 8px 8px 0 0; }
.chev { position: absolute; right: 1rem; top: 50%; width: .5rem; height: .5rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
details[open] > summary > .chev { transform: translateY(-30%) rotate(-135deg); }
@media (prefers-reduced-motion: reduce) { .chev { transition: none; } }
/* story-text markers */
.verse sup { font-family: var(--ui); font-size: .62em; color: var(--rubric); margin-right: .15em; font-weight: 600; }
.mks { white-space: nowrap; margin-left: .2rem; }
.mk { display: inline-block; font-family: var(--ui); font-size: .62rem; font-weight: 600; line-height: 1; padding: .2rem .32rem; border-radius: 3px; text-decoration: none; margin-left: .15rem; vertical-align: .18em; border: 1.5px solid transparent; }
.mk.f-formal-quotation { color: var(--f-quote); background: var(--f-quote-bg); }
.mk.f-unmarked-quotation { color: var(--f-unmarked); background: var(--f-unmarked-bg); }
.mk.f-allusion { color: var(--f-allusion); background: var(--f-allusion-bg); }
.mk.f-echo { color: var(--f-echo); background: var(--f-echo-bg); }
.mk.mk-c { border-color: var(--rubric); }
a.mk:hover { filter: brightness(.92); }
a.mk:focus-visible { outline: 2px solid var(--rubric); outline-offset: 1px; }
.mk.static { vertical-align: .1em; margin: 0 .3rem 0 0; }
.legend li > span:first-child { white-space: nowrap; }
.legend li { grid-template-columns: 12rem 1fr; }
@media (max-width: 520px) { .legend li { grid-template-columns: 1fr; } }

/* Christ emphasis */
.c-pill { font-family: var(--ui); font-size: .68rem; font-weight: 600; color: var(--c-ink); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 999px; padding: .1rem .5rem; white-space: nowrap; }
li.a.is-christ { border-color: var(--c-line); background: var(--c-card); }
.christ { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 6px; padding: .6rem .8rem; }
.christ p { margin: 0; }
.c-head { font-family: var(--ui); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink); }
.c-kind { font-weight: 600; margin-top: .15rem !important; }
.christ .basis, .christ-key .basis { font-family: var(--ui); font-size: .74rem; color: var(--muted); margin-top: .15rem !important; }
.christ-key { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 8px; padding: .8rem 1rem; margin-top: .5rem; }
.christ-key p { margin: .2rem 0 0; font-size: .95rem; }
.c-count { color: var(--c-ink); font-weight: 600; }

/* filters */
.filters { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--paper); display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); margin-top: 1rem; }
@media (max-width: 640px) { .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .filters::-webkit-scrollbar { display: none; } .fb { white-space: nowrap; flex: none; } }
.f-lbl { font-family: var(--ui); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: .2rem; }
.fb { font-family: var(--ui); font-size: .75rem; font-weight: 600; color: var(--ink); background: transparent; border: 1px solid var(--rule); border-radius: 999px; padding: .32rem .7rem; cursor: pointer; }
.fb .fn { color: var(--muted); font-weight: 500; margin-left: .15rem; font-variant-numeric: tabular-nums; }
.fb:hover { border-color: var(--muted); }
.fb:focus-visible { outline: 2px solid var(--rubric); outline-offset: 2px; }
.fb[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fb[aria-pressed="true"] .fn { color: inherit; opacity: .75; }
.fb-c { color: var(--c-ink); border-color: var(--c-line); }
.fb-c[aria-pressed="true"] { background: var(--rubric); border-color: var(--rubric); color: var(--paper); }
.f-status { font-family: var(--ui); font-size: .75rem; color: var(--muted); margin: .5rem 0 0; min-height: 1em; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
.a-body { padding: .75rem 1rem 1rem; display: grid; gap: .5rem; }
.toggle-all { font-family: var(--ui); font-size: .75rem; font-weight: 600; background: var(--panel); color: var(--ink); border: 1px solid var(--rule); border-radius: 999px; padding: .45rem .9rem; cursor: pointer; }
.toggle-all:hover { color: var(--rubric); }
.toggle-all:focus-visible { outline: 2px solid var(--rubric); outline-offset: 2px; }
.fab.toggle-all { padding: .55rem .9rem; }
.fab.key-btn { width: 2.3rem; padding: .55rem 0; text-align: center; font-size: .85rem; }

/* verse highlight: the verse whose connections are open */
.verse.hl { background: var(--hl); box-shadow: 0 0 0 .15rem var(--hl); border-radius: 3px; }

/* the key, reachable from anywhere */
dialog.key { border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); color: var(--ink); padding: 1.1rem 1.25rem 1.25rem; max-width: min(28rem, calc(100vw - 32px)); width: 100%; box-shadow: 0 10px 40px rgb(0 0 0 / .25); }
dialog.key::backdrop { background: rgb(0 0 0 / .35); }
.key h2 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; margin: 0 0 .6rem; }
.key h3 { font-family: var(--ui); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rubric); margin: .9rem 0 .4rem; }
.key ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: .92rem; }
.key li { display: flex; align-items: baseline; gap: .5rem; }
.key .mk.static { flex: none; min-width: 2rem; text-align: center; }
.key .k-note { font-size: .85rem; line-height: 1.45; color: var(--muted); margin: .55rem 0 0; }
.key .k-close { position: absolute; top: .6rem; right: .6rem; font-family: var(--ui); font-size: .75rem; font-weight: 600; background: var(--panel); color: var(--ink); border: 1px solid var(--rule); border-radius: 999px; padding: .35rem .75rem; cursor: pointer; }
.key .k-close:focus-visible { outline: 2px solid var(--rubric); outline-offset: 2px; }
.legend .dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; border: 1.5px solid var(--muted); margin-right: .35rem; vertical-align: .05em; }
.legend .dot.full { background: var(--muted); } .legend .dot.half { background: linear-gradient(90deg, var(--muted) 50%, transparent 50%); }
.key .dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; border: 1.5px solid var(--muted); flex: none; }
.key .dot.full { background: var(--muted); } .key .dot.half { background: linear-gradient(90deg, var(--muted) 50%, transparent 50%); }
.key .vtab-demo { font-family: var(--ui); font-size: .72rem; font-weight: 600; border: 2px solid var(--rubric); border-radius: 6px; padding: .2rem .5rem; flex: none; }
.ot-refs { font-weight: 600; font-size: 1rem; }
.inv { font-family: var(--ui); font-size: .7rem; color: var(--muted); }
.meta { font-family: var(--ui); font-size: .74rem; color: var(--muted); margin: 0; display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.meta .conf::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; margin-right: .35rem; vertical-align: .05em; border: 1.5px solid var(--muted); }
.meta .conf.c-high::before { background: var(--muted); }
.meta .conf.c-medium::before { background: linear-gradient(90deg, var(--muted) 50%, transparent 50%); }

/* verse groups (busy sections) */
li.vg { border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); min-width: 0; }
li.vg > details > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; padding: .65rem 2.4rem .65rem 1rem; position: relative; border-radius: 8px; }
li.vg > details > summary::-webkit-details-marker { display: none; }
li.vg > details > summary:hover { background: var(--panel); }
li.vg > details > summary:focus-visible { outline: 2px solid var(--rubric); outline-offset: 2px; }
li.vg > details[open] > summary { border-bottom: 1px solid var(--rule); border-radius: 8px 8px 0 0; }
.vg-title { font-family: var(--ui); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.vg-mks { display: inline-flex; gap: .15rem; }
.vg-count { font-family: var(--ui); font-size: .72rem; color: var(--muted); }
ol.assoc.nested { margin: 0; gap: .55rem; }

/* compact verse tabs (busy sections) */
.vtabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 0; }
.vtab { font-family: var(--ui); font-size: .78rem; font-weight: 600; color: var(--ink); background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: .45rem 1.9rem .45rem .75rem; position: relative; cursor: pointer; }
.vtab:hover { background: var(--panel); }
.vtab:focus-visible { outline: 2px solid var(--rubric); outline-offset: 2px; }
.vtab .chev { right: .7rem; width: .4rem; height: .4rem; }
.vtab[aria-expanded="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.vtab[aria-expanded="true"] .chev { border-color: var(--paper); transform: translateY(-30%) rotate(-135deg); }
.vtab.vtab-c { border: 2px solid var(--rubric); padding: calc(.45rem - 1px) calc(1.9rem - 1px) calc(.45rem - 1px) calc(.75rem - 1px); }
.vtab.vtab-c[aria-expanded="true"] { border-color: var(--rubric); box-shadow: 0 0 0 2px var(--c-bg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vpanel { margin-top: .75rem; padding: .75rem; border: 1px solid var(--rule); border-radius: 8px; background: var(--panel); }
.vp-title { font-family: var(--ui); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .55rem; }
.christ { margin: 0; font-size: .93rem; }
.christ .cm { color: var(--rubric); margin-right: .3rem; }
.christ .basis { display: block; font-family: var(--ui); font-size: .72rem; color: var(--muted); }
.note { margin: 0; font-size: .95rem; }
.ot { padding-left: .9rem; border-left: 2px solid var(--rule); font-size: .93rem; }
.ot h4 { font-family: var(--body); font-size: .85rem; font-style: italic; font-weight: 600; color: var(--muted); margin: 0 0 .1rem; }
.idby { font-family: var(--ui); font-size: .68rem; color: var(--muted); margin: 0; }

.colophon { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--rule); text-align: center; font-size: .85rem; color: var(--muted); }
.colophon p { margin: 0 0 .6rem; }
.colophon .colo-gap { margin-top: 1.4rem; }
.fabs { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; gap: .4rem; z-index: 6; }
.fab { cursor: pointer;
  font-family: var(--ui); font-size: .75rem; font-weight: 600; text-decoration: none; background: var(--panel); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 999px; padding: .55rem .9rem; box-shadow: 0 2px 10px rgb(0 0 0 / .08); }
/* ---- site additions: navigation, picker, text size, copy link, home page ---- */
html { font-size: calc(100% * var(--scale, 1)); }
:root { --navh: 3.1rem; }

.topnav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 8; background: var(--paper); border-bottom: 1px solid var(--rule);
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); }
.topnav-in { max-width: 42rem; margin: 0 auto; height: var(--navh); display: flex; align-items: center; gap: .5rem; }
.nav-btn { font-family: var(--ui); font-size: .78rem; font-weight: 600; color: var(--ink); background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: .4rem .6rem; cursor: pointer; text-decoration: none; white-space: nowrap; line-height: 1.2; }
.nav-btn:hover { background: var(--panel); }
.nav-btn:focus-visible { outline: 2px solid var(--rubric); outline-offset: 2px; }
.nav-btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.nav-home { font-family: var(--display); font-size: 1.05rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.here { flex: 1; min-width: 0; font-family: var(--ui); font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.here b { color: var(--ink); font-weight: 600; }
.nav-group { display: flex; gap: .3rem; }
@media (max-width: 560px) { .nav-home .long { display: none; } .here { font-size: .72rem; } .nav-btn { padding: .38rem .5rem; } }
.filters { top: calc(env(safe-area-inset-top, 0px) + var(--navh)); }

/* book and chapter picker */
dialog.picker { border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); color: var(--ink); padding: 1.1rem 1.25rem 1.25rem; max-width: min(34rem, calc(100vw - 32px)); width: 100%; max-height: min(80vh, 40rem); box-shadow: 0 10px 40px rgb(0 0 0 / .25); }
dialog.picker::backdrop { background: rgb(0 0 0 / .35); }
.picker h2 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; margin: 0 0 .75rem; }
.books { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.book-row { display: grid; grid-template-columns: 8.5rem 1fr; gap: .5rem; align-items: start; }
@media (max-width: 480px) { .book-row { grid-template-columns: 1fr; gap: .25rem; } }
.book-name { font-weight: 600; padding-top: .2rem; }
.book-row.off .book-name { color: var(--muted); font-weight: 400; }
.chaps { display: flex; flex-wrap: wrap; gap: .3rem; }
.chap { font-family: var(--ui); font-size: .78rem; font-weight: 600; min-width: 2.2rem; text-align: center; padding: .35rem .4rem; border: 1px solid var(--rule); border-radius: 6px; text-decoration: none; background: var(--card); }
.chap:hover { background: var(--panel); }
.chap[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.soon { font-family: var(--ui); font-size: .72rem; color: var(--muted); padding-top: .3rem; }
.picker .k-close { position: absolute; top: .6rem; right: .6rem; font-family: var(--ui); font-size: .75rem; font-weight: 600; background: var(--panel); color: var(--ink); border: 1px solid var(--rule); border-radius: 999px; padding: .35rem .75rem; cursor: pointer; }

/* chapter page heading */
.chapter-title { text-align: center; padding-block: 2.25rem 1rem; }
.chapter-title h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 7vw, 3.4rem); line-height: 1.05; margin: 0; }
.chapter-title p { font-family: var(--ui); font-size: .8rem; color: var(--muted); margin: .4rem 0 0; }
.chap-pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.chap-pager a { font-family: var(--ui); font-size: .85rem; font-weight: 600; text-decoration: none; }
.chap-pager a span { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); }
.chap-pager .next { text-align: right; margin-left: auto; }

.no-conn { font-family: var(--ui); font-size: .75rem; color: var(--muted); margin: .8rem 0 0; font-style: italic; }

/* copy link */
.a-tools { display: flex; justify-content: flex-end; }
.copy-link { font-family: var(--ui); font-size: .7rem; font-weight: 600; color: var(--muted); background: transparent; border: 1px solid var(--rule); border-radius: 999px; padding: .25rem .65rem; cursor: pointer; }
.copy-link:hover { color: var(--ink); border-color: var(--muted); }
.copy-link:focus-visible { outline: 2px solid var(--rubric); outline-offset: 2px; }
.toast { position: fixed; left: 50%; bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 20; font-family: var(--ui); font-size: .8rem; font-weight: 600; background: var(--ink); color: var(--paper); border-radius: 999px; padding: .5rem 1rem; box-shadow: 0 4px 16px rgb(0 0 0 / .2); max-width: calc(100vw - 32px); }
.link-fallback { width: 100%; font-family: var(--ui); font-size: .75rem; padding: .35rem .5rem; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); color: var(--ink); }

/* text size */
.size-group .nav-btn { min-width: 2.1rem; text-align: center; }

/* old-word help */
.gl { border-bottom: 1px dotted var(--muted); cursor: help; }
.gl:hover, .gl:focus-visible { background: var(--hl); outline: none; }
.gl-pop { position: absolute; z-index: 30; max-width: min(18rem, calc(100vw - 32px)); background: var(--ink); color: var(--paper); font-family: var(--ui); font-size: .8rem; line-height: 1.4; padding: .5rem .7rem; border-radius: 8px; box-shadow: 0 6px 20px rgb(0 0 0 / .25); }
.gl-pop b { font-weight: 600; }

/* Christ index */
.picker-extra { margin: -.25rem 0 .9rem; font-family: var(--ui); font-size: .82rem; font-weight: 600; }
.picker-extra a { color: var(--c-ink); }
.ci-book { margin-top: 2rem; }
.ci-bk { font-family: var(--display); font-weight: 600; font-size: 1.6rem; margin: 0 0 .5rem; padding-bottom: .3rem; border-bottom: 1px solid var(--rule); }
.ci-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ci-item { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 8px; padding: .7rem .9rem; }
.ci-item p { margin: 0; }
.ci-ot { font-weight: 600; }
.ci-kind { font-size: .95rem; }
.ci-meta { font-family: var(--ui); font-size: .74rem; color: var(--muted); margin-top: .3rem !important; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.ci-meta a { font-weight: 600; color: var(--ink); }
.ci-basis.nt { color: var(--c-ink); font-weight: 600; }

/* home page */
.coming { font-size: .9rem; color: var(--muted); }
/* band under the title (user, 2026-11-23) */
.home-about { text-align: center; padding: 1.4rem 1rem 1.5rem; margin: 0; border-bottom: 1px solid var(--rule); background: var(--panel); }
.home-about p { margin: 0; }
.home-about .small { margin-top: .35rem; }
.red-link { font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--rubric); text-decoration: none; border-bottom: 1px solid currentColor; }
.red-link:hover { opacity: .8; }
/* New Testament book tabs (work like the verse tabs) */
.btabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .25rem; }
.btab { font-family: var(--ui); font-size: .78rem; font-weight: 600; color: var(--ink); background: var(--card); border: 1px solid var(--ink); border-radius: 6px; padding: .45rem 1.9rem .45rem .75rem; position: relative; cursor: pointer; }
.btab:hover { background: var(--panel); }
.btab:focus-visible { outline: 2px solid var(--rubric); outline-offset: 2px; }
.btab .chev { right: .7rem; width: .4rem; height: .4rem; }
.btab[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.btab[aria-expanded="true"] .chev { border-color: var(--paper); transform: translateY(-30%) rotate(-135deg); }
.btab.off { color: var(--muted); border-color: var(--rule); background: transparent; padding-right: .75rem; cursor: default; opacity: .7; }
.bpanel { margin: .6rem 0 .4rem; padding: .75rem; border: 1px solid var(--rule); border-radius: 8px; background: var(--panel); }
.bpanel .bp-head { margin: 0 0 .6rem; font-size: .92rem; color: var(--muted); }
.bpanel .bp-head b { color: var(--ink); font-family: var(--display); font-size: 1.15rem; }
.chap.off { color: var(--muted); background: transparent; opacity: .55; cursor: default; }
.chap.off:hover { background: transparent; }
.home-key { margin-bottom: 1.25rem; }
.home-key ul { font-size: 1rem; }

/* King James Bible book pages (kjv-<book>.html), 2026-11-24 */
.kjv-tools { display: flex; justify-content: center; gap: .5rem; margin: 0 0 .75rem; }
.kjv-chaplist { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; margin: 0 0 1.25rem; }
.kc-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 5vw, 2.2rem); text-align: center; margin: 1rem 0 .75rem; }
.k-ps { font-style: italic; text-align: center; color: var(--muted); margin: .5rem 0 .6rem; }
.kjv-text { font-size: 1.08rem; line-height: 1.75; margin: 0 0 .9rem; }
.kjv-text .verse { scroll-margin-top: calc(var(--navh) + 2rem); }
/* Greek Old Testament line (Brenton's English Septuagint), user 2026-11-26 */
.lxx { margin: .45rem 0 .1rem; padding: .35rem .7rem .4rem; background: var(--panel); border-radius: 4px; }
.lxx-h { font-family: var(--ui); font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin: 0 0 .15rem; }
.lxx-n { font-weight: 500; }
.lxx .vt { margin: 0; font-style: normal; }
