/* ==========================================================================
   Holy Bible - site stylesheet
   One design system: Oxford navy, oxblood, warm paper. Editorial serif for
   headings and Scripture, compact sans-serif for controls. Bootstrap supplies
   the grid, forms and buttons; everything here layers on top of it.

   Sections
     1. Tokens and base
     2. Buttons and forms
     3. Header: utility bar, main navigation, mega menus
     4. Footer and toast
     5. Shared page introductions
     6. Home
     7. Reader
     8. Testament index
     9. Search and saved library
    10. Translation guide, comparison, parallel verse
    11. Errors, privacy, account pages
    12. Responsive
    13. Reduced motion and print
   ========================================================================== */

/* ----- 1. Tokens and base ----- */

:root {
  --ink: #252836;
  --ink-soft: #505466;
  --muted: #747787;
  --line: #d9d2d0;
  --line-strong: #c8bdbc;
  --surface: #fffdfa;
  --surface-alt: #f2eceb;
  --page: #f8f4f2;
  --brand: #20395f;
  --brand-dark: #142842;
  --brand-soft: #e3e8f0;
  --accent: #8b3348;
  --gold: #a14458;
  --gold-light: #e5c1ca;
  --shadow-sm: 0 10px 30px rgba(28, 35, 55, .055);
  --shadow-md: 0 22px 60px rgba(20, 30, 49, .12);
  --content-max: 82.5rem;
  --display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --reader: "Literata", Charter, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --band: #eee9e8;
  --band-line: #ddd3d2;
  --band-rule: #d9cecd;
  --card: #fff;
  --quote-paper: #fbf5f4;
  --row-alt: #fbf8f7;
  --row-hover: #eee4e7;
  --target-bg: #eee3e6;
  --target-line: #cca2ad;
  --selection: #e6cad0;
  --nav-glow: rgba(161, 68, 88, .045);
  --brass: #dcb63c;
  --brass-ink: #142842;
  --link: #20395f;
  --link-strong: #142842;
  /* Verse highlight colours (named tokens saved on VerseNote.HighlightColor) */
  --hl-yellow: #f7eab6;
  --hl-green: #dcebd9;
  --hl-blue: #dce9ee;
  --hl-pink: #efdcd9;
  --diff-left: #f1d9e0;
  --diff-right: #dce5f1;
  color-scheme: light;
}

/* Warm dark reading. Applied by the head script from the saved preference or the device. */
:root[data-theme="dark"] {
  --ink: #ebe6df;
  --ink-soft: #cdc6bd;
  --muted: #9e978f;
  --line: #3a373d;
  --line-strong: #4b474f;
  --surface: #232127;
  --surface-alt: #2b282e;
  --page: #1a191d;
  --brand: #20395f;
  --brand-dark: #142842;
  --brand-soft: #27334b;
  --accent: #e0a2b1;
  --gold: #d48a9d;
  --gold-light: #e5c1ca;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-md: 0 22px 60px rgba(0, 0, 0, .5);
  --hl-yellow: #4f4520;
  --hl-green: #2a4230;
  --hl-blue: #253a44;
  --hl-pink: #4a2f36;
  --diff-left: #57303c;
  --diff-right: #2f3d55;
  --band: #201f24;
  --band-line: #333037;
  --band-rule: #3a373d;
  --card: #2a282e;
  --quote-paper: #262329;
  --row-alt: #26242a;
  --row-hover: #322e35;
  --target-bg: #3b2f35;
  --target-line: #7a5561;
  --selection: #5a3a45;
  --nav-glow: rgba(212, 138, 157, .06);
  --link: #d7b3bd;
  --link-strong: #eed4da;
  color-scheme: dark;
}

html {
  min-height: 100%;
  overflow-y: scroll;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, var(--nav-glow), transparent 28rem),
    var(--page);
  font-family: var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

/* Cross-document page transitions (a short fade where the browser supports them). */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 120ms ease-out both view-fade-out;
}

::view-transition-new(root) {
  animation: 180ms ease-in both view-fade-in;
}

@keyframes view-fade-out { to { opacity: 0; } }
@keyframes view-fade-in { from { opacity: 0; } }

main {
  flex: 1 0 auto;
  min-width: 0;
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

h1,
h2,
h3,
.reader-title {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.025em;
}

a {
  color: var(--link);
  text-underline-offset: .16em;
}

a:hover {
  color: var(--accent);
}

::selection {
  color: var(--ink);
  background: var(--selection);
}

:focus-visible {
  outline: 3px solid rgba(161, 68, 88, .72);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 3000;
  padding: .65rem 1rem;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 3px;
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.muted {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 .65rem;
  color: var(--gold);
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ----- 2. Buttons and forms ----- */

.btn {
  min-height: 2.65rem;
  padding: .56rem 1rem;
  border-radius: 3px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.btn-sm {
  min-height: 2.25rem;
  padding: .4rem .72rem;
  font-size: .78rem;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
  background: var(--brand);
  border-color: var(--link);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-outline-secondary {
  color: var(--ink-soft);
  background: transparent;
  border-color: var(--line-strong);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  color: var(--link-strong);
  background: var(--surface-alt);
  border-color: var(--link);
}

.form-control,
.form-select {
  min-height: 2.65rem;
  color: var(--ink);
  background-color: var(--card);
  border-color: var(--line-strong);
  border-radius: 3px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(161, 68, 88, .15);
}

/* ----- 3. Header: utility bar, main navigation, mega menus ----- */

.site-header {
  position: relative;
  z-index: 100;
}

.utility-nav {
  min-height: 2.15rem;
  color: var(--ink-soft);
  background: var(--band);
  border-bottom: 1px solid var(--band-line);
}

.utility-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-nav__service {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-self: start;
  gap: .35rem 0;
  min-width: 0;
  color: inherit;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .015em;
}

.utility-nav__service span,
.utility-nav__service a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: inherit;
  white-space: nowrap;
  text-decoration: none;
}

.utility-nav__service span:first-child::before {
  content: "";
  display: inline-block;
  width: .35rem;
  height: .35rem;
  margin-right: .45rem;
  background: var(--gold);
  border-radius: 50%;
  vertical-align: .08rem;
}

.utility-nav__service a:hover,
.utility-nav__service a:focus,
.utility-nav__service a[aria-current="page"] {
  color: var(--link-strong);
  text-decoration: underline;
}

.utility-nav__links {
  justify-self: end;
  gap: .1rem;
  margin-left: 0 !important;
}

.utility-nav .nav-link,
.utility-nav .nav-link-button {
  min-height: auto;
  padding: .25rem .5rem;
  color: var(--ink-soft);
  border-radius: 2px;
  font-size: .72rem;
  font-weight: 500;
}

.utility-nav .nav-link:hover,
.utility-nav .nav-link:focus,
.utility-nav .nav-link.active,
.utility-nav .nav-link-button:hover,
.utility-nav .nav-link-button:focus {
  color: var(--link-strong);
  background: rgba(255, 255, 255, .55);
  text-decoration: none;
}

[data-theme="dark"] .utility-nav .nav-link:hover,
[data-theme="dark"] .utility-nav .nav-link:focus,
[data-theme="dark"] .utility-nav .nav-link.active,
[data-theme="dark"] .utility-nav .nav-link-button:hover,
[data-theme="dark"] .utility-nav .nav-link-button:focus {
  background: rgba(255, 255, 255, .08);
}

.utility-nav .nav-item {
  display: inline-flex;
  align-items: center;
}

.utility-nav__service > :not(:last-child)::after,
.utility-nav .nav-item:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 1.15rem;
  flex-shrink: 0;
  margin: 0 .42rem;
  background: var(--band-rule);
}

.utility-nav__service > :not(:last-child)::after {
  margin: 0 .75rem;
}

.nav-logout {
  margin: 0;
}

/* Theme toggle: the moon shows in light mode, the sun in dark. */
.theme-toggle__light,
[data-theme="dark"] .theme-toggle__dark {
  display: none;
}

[data-theme="dark"] .theme-toggle__light {
  display: inline;
}

.utility-nav .theme-toggle {
  font-size: .85rem;
}

.nav-link-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.site-nav {
  min-height: 4.75rem;
  padding: .65rem 0;
  background: var(--brand);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 5px 20px rgba(15, 29, 50, .09);
}

.site-nav .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: #fff;
}

.site-nav .navbar-brand:hover,
.site-nav .navbar-brand:focus {
  color: #fff;
}

.brand-mark {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid rgba(229, 193, 202, .82);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  color: #fff;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -.01em;
}

.brand-copy small {
  margin-top: .28rem;
  color: rgba(255, 255, 255, .62);
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-nav .navbar-nav {
  align-items: center;
  gap: .08rem;
}

.site-nav .nav-item {
  display: flex;
  align-items: center;
}

.site-nav .nav-link {
  min-height: auto;
  padding: .55rem .72rem;
  color: rgba(255, 255, 255, .88);
  border-radius: 2px;
  font-size: .8rem;
  font-weight: 620;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.site-nav .nav-link.active {
  box-shadow: inset 0 -1px var(--gold-light);
}

.site-nav .nav-link .bi-search {
  margin-right: .18rem;
  font-size: .75rem;
}

/* Continue-reading call to action. Direct values so it can be recoloured in one place. */
.site-nav .nav-continue {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-left: .45rem;
  padding: .58rem .82rem;
  color: var(--brass-ink);
  background: #c9a227;
}

.site-nav .nav-continue:hover,
.site-nav .nav-continue:focus,
.site-nav .nav-continue.active {
  color: var(--brass-ink);
  background: var(--brass);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, .3);
  border-radius: 2px;
}

/* Testament mega menus */

.main-nav .container {
  position: relative;
}

.nav-item--mega {
  position: static;
}

.nav-mega__toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.nav-mega__toggle .bi {
  font-size: .72rem;
  transition: transform .16s ease;
}

.nav-item--mega:hover .nav-mega__toggle .bi,
.nav-item--mega:focus-within .nav-mega__toggle .bi,
.nav-item--mega.is-open .nav-mega__toggle .bi {
  transform: rotate(180deg);
}

.nav-item--mega:hover .nav-mega__toggle,
.nav-item--mega:focus-within .nav-mega__toggle,
.nav-item--mega.is-open .nav-mega__toggle {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.nav-mega__dropdown {
  position: absolute;
  top: calc(100% + .65rem);
  right: 0;
  left: 0;
  z-index: 60;
  display: none;
  gap: 1rem;
  max-height: min(70vh, 640px);
  overflow: auto;
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 4px 4px;
  box-shadow: var(--shadow-md);
}

.nav-mega__dropdown--ot {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nav-mega__dropdown--nt {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nav-item--mega:hover .nav-mega__dropdown,
.nav-item--mega:focus-within .nav-mega__dropdown,
.nav-item--mega.is-open .nav-mega__dropdown {
  display: grid;
}

.nav-mega__view-all {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .72rem .85rem;
  color: var(--link-strong);
  background: var(--surface-alt);
  border-radius: 4px;
  font-size: .84rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-mega__group {
  min-width: 0;
}

.nav-mega__group-name {
  display: block;
  padding: .3rem .5rem;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06rem;
  text-transform: uppercase;
}

.nav-mega__booklist {
  display: grid;
  gap: .1rem;
}

.nav-mega__book-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-width: 0;
  padding: .32rem .5rem;
  color: var(--ink-soft);
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 400;
  text-decoration: none;
}

.nav-mega__book-link small {
  color: var(--muted);
  font-size: .68rem;
}

.nav-mega__view-all:hover,
.nav-mega__view-all:focus,
.nav-mega__book-link:hover,
.nav-mega__book-link:focus {
  color: var(--link-strong);
  background: var(--brand-soft);
}

/* ----- 4. Footer and toast ----- */

.site-footer {
  flex: 0 0 auto;
  padding: 2.2rem 0;
  color: rgba(255, 255, 255, .7);
  background: var(--brand);
  font-size: .8rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.3rem 3rem;
  align-items: start;
}

.site-footer__brand {
  color: #fff;
  font-family: var(--display);
  font-size: 1.15rem;
}

.site-footer__grid p {
  max-width: 31rem;
  margin: .35rem 0 0;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem 1.1rem;
}

.site-footer__links a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a:focus {
  color: #fff;
  text-decoration: underline;
}

.site-footer__fine {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .7rem;
}

.site-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2500;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: .75rem 1rem;
  color: #fff;
  background: var(--brand-dark);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 3px;
  box-shadow: var(--shadow-md);
  font-size: .82rem;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transform: translateY(.75rem);
  transition: opacity .18s ease, transform .18s ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- 5. Shared page introductions ----- */

.page-intro {
  max-width: none;
  margin-bottom: 1.5rem;
}

.page-intro .eyebrow {
  margin-bottom: .42rem;
}

.page-intro h1 {
  margin: 0 0 .45rem;
  font-size: clamp(2.15rem, 5vw, 3.2rem);
}

.page-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-family: var(--reader);
  font-size: 1rem;
  line-height: 1.65;
}

/* ----- 6. Home ----- */

/* One photograph runs behind the main navigation, the hero and the facts row. The height is
   measured by site.js (bottom of .home-facts); the fallback keeps it sensible without JS.
   Each section keeps a translucent version of its own colour over the picture. */
body.home-page {
  position: relative;
}

body.home-page::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: var(--home-image-height, 42rem);
  background: #20395f;
  pointer-events: none;
}

/* The photograph itself: full height of the band, natural proportions, centred. On screens
   wider than the scaled picture its edges fade into the navy behind. */
body.home-page::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  width: calc(var(--home-image-height, 42rem) * var(--home-image-ratio, 3));
  height: var(--home-image-height, 42rem);
  transform: translateX(-50%);
  background: url("/images/home-crusader.jpg") center / 100% 100% no-repeat;
  background-image: image-set(url("/images/home-crusader.webp") type("image/webp"), url("/images/home-crusader.jpg") type("image/jpeg"));
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
  pointer-events: none;
}

body.home-page main,
body.home-page .site-footer {
  position: relative;
  z-index: 1;
}

body.home-page .site-nav {
  background: rgba(20, 40, 66, .92);
  border-bottom-color: rgba(255, 255, 255, .14);
  backdrop-filter: blur(2px);
}

body.home-page .home-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(229, 193, 202, .12), transparent 27rem),
    linear-gradient(145deg, rgba(20, 40, 66, .78) 0%, rgba(32, 57, 95, .6) 60%, rgba(48, 79, 123, .46) 100%);
}

body.home-page .home-hero h1,
body.home-page .home-hero .eyebrow,
body.home-page .home-hero__text-link {
  text-shadow: 0 1px 12px rgba(10, 20, 38, .55);
}

body.home-page .daily-reading {
  background: rgba(251, 245, 244, .93);
}

[data-theme="dark"] body.home-page .daily-reading {
  background: rgba(38, 35, 41, .92);
}

body.home-page .home-hero::after {
  display: none;
}

body.home-page .home-facts {
  background: rgba(238, 233, 232, .84);
  border-bottom-color: rgba(255, 255, 255, .5);
  backdrop-filter: blur(3px);
}

body.home-page .home-facts span + span {
  border-left-color: rgba(120, 100, 96, .25);
}

[data-theme="dark"] body.home-page .site-nav {
  background: rgba(14, 22, 36, .94);
}

[data-theme="dark"] body.home-page .home-hero {
  background: linear-gradient(145deg, rgba(10, 16, 28, .86) 0%, rgba(20, 35, 60, .78) 60%, rgba(30, 48, 78, .7) 100%);
}

[data-theme="dark"] body.home-page .home-facts {
  background: rgba(32, 31, 36, .86);
  border-bottom-color: rgba(255, 255, 255, .1);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.75rem, 5vw, 4.25rem);
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(229, 193, 202, .18), transparent 27rem),
    linear-gradient(145deg, #142842 0%, #20395f 60%, #304f7b 100%);
}

.home-hero::after {
  content: "\201C";
  position: absolute;
  right: 3vw;
  bottom: -8rem;
  color: rgba(255, 255, 255, .025);
  font-family: var(--display);
  font-size: 36rem;
  line-height: 1;
  pointer-events: none;
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.home-hero__panel .eyebrow {
  color: var(--brass);
}

.home-hero h1 {
  max-width: 24ch;
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.hero-search {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0;
  max-width: 43rem;
  padding: .32rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 20px 48px rgba(10, 22, 40, .25);
}

.hero-search > .bi {
  align-self: center;
  margin-left: .75rem;
  color: #747787;
}

.hero-search .form-control {
  min-width: 0;
  color: #252836;
  background: #fff;
  border: 0;
  box-shadow: none;
}

.hero-search .btn {
  color: #fff;
  background: var(--brand);
  border-color: var(--link);
}

.home-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem 1.25rem;
  margin-top: 1rem;
}

.home-hero__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #142842;
  background: #f8f4f2;
  border-color: #f8f4f2;
}

.home-hero__text-link {
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  font-weight: 650;
}

.home-hero__text-link:hover {
  color: #fff;
}

.daily-reading {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.35rem);
  color: var(--ink);
  background: var(--quote-paper);
  border: 1px solid rgba(229, 193, 202, .76);
  border-radius: 2px;
  box-shadow: 0 30px 70px rgba(10, 20, 38, .25);
}

.daily-reading::before {
  content: "";
  position: absolute;
  inset: .5rem;
  border: 1px solid rgba(161, 68, 88, .2);
  pointer-events: none;
}

.daily-reading__label {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.35rem;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.daily-reading__label span {
  width: 1.5rem;
  height: 1px;
  background: var(--gold);
}

.daily-reading blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  line-height: 1.48;
}

.daily-reading footer {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  margin-top: 1.35rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-size: .76rem;
  font-weight: 700;
}

.daily-reading footer a {
  text-decoration: none;
}

.daily-reading footer span {
  color: var(--muted);
}

.daily-reading__links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  margin-top: 1rem;
}

.daily-reading__links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .74rem;
  font-weight: 700;
  text-decoration: none;
}

.home-facts {
  color: var(--ink-soft);
  background: var(--band);
  border-bottom: 1px solid var(--band-line);
}

.home-facts .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.home-facts span {
  padding: 1.05rem;
  text-align: center;
  font-size: .72rem;
  letter-spacing: .025em;
}

.home-facts span + span {
  border-left: 1px solid var(--band-rule);
}

.home-facts strong {
  margin-right: .22rem;
  color: var(--link-strong);
  font-family: var(--display);
  font-size: 1rem;
}

.home-section,
.home-study .container {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.65rem;
}

.section-heading .eyebrow {
  margin-bottom: .35rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading > p {
  max-width: 31rem;
  margin: 0;
  color: var(--muted);
  font-family: var(--reader);
  line-height: 1.55;
}

.testament-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.testament-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.15rem;
  align-items: center;
  min-height: 10rem;
  padding: 1.5rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.testament-card:hover,
.testament-card:focus {
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testament-card__number {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.25rem;
}

.testament-card__body {
  display: grid;
}

.testament-card__body small {
  margin-bottom: .25rem;
  color: var(--gold);
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.testament-card__body strong {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 500;
}

.testament-card__body > span {
  margin-top: .3rem;
  color: var(--muted);
  font-size: .8rem;
}

.testament-card > .bi {
  color: var(--gold);
}

.home-study {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  background: var(--band);
  border-top: 1px solid var(--band-line);
}

.home-study .container {
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.study-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.study-card {
  padding: 1.4rem;
  background: var(--surface);
  border-top: 2px solid var(--gold);
}

.study-card__icon {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 1rem;
  place-items: center;
  color: var(--link);
  background: var(--brand-soft);
  border-radius: 50%;
}

.study-card h3 {
  margin: 0 0 .55rem;
  font-size: 1.3rem;
}

.study-card p {
  min-height: 4.3rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.6;
}

.study-card a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 750;
  text-decoration: none;
}

/* ----- 7. Reader ----- */

.reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2200;
  height: 3px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
}

.reader {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 4.25rem) 1rem 0;
}

.reader-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.reader-head .eyebrow {
  margin-bottom: .25rem;
}

.reader-title {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
}

.reader-chapter {
  color: var(--gold);
}

.translation-switch {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .35rem;
}

.translation-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .35rem .68rem;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .035em;
  text-decoration: none;
}

.translation-pill:hover,
.translation-pill:focus {
  color: var(--link-strong);
  background: var(--brand-soft);
}

.translation-pill--active {
  color: #fff;
  background: var(--brand);
  border-color: var(--link);
}

.translation-pill--compare {
  gap: .3rem;
  color: var(--link);
  border-color: #98a9c2;
}

.reader-preferences {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .18rem;
  margin-bottom: .25rem;
}

.reader-preferences > span {
  margin-right: .35rem;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.reader-preferences button,
.reader-preferences a.reader-preferences__text {
  display: inline-grid;
  min-width: 2rem;
  height: 2rem;
  place-items: center;
  padding: 0 .38rem;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--reader);
  font-size: .75rem;
  text-decoration: none;
}

.reader-preferences button:hover,
.reader-preferences button:focus,
.reader-preferences button[aria-pressed="true"],
.reader-preferences a.reader-preferences__text:hover {
  color: var(--link-strong);
  background: var(--surface-alt);
  border-color: var(--line);
}

.reader-preferences .reader-preferences__text {
  grid-auto-flow: column;
  gap: .35rem;
  padding: 0 .6rem;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .02em;
  white-space: nowrap;
}

.reader-preferences__gap {
  flex: 1 1 auto;
}

.reader-hint {
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .76rem;
}

.chapter-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin: .8rem 0 1.15rem;
  padding: .55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.chapter-nav__arrow {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-width: 6.5rem;
  padding: .4rem .6rem;
  color: var(--ink-soft);
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.chapter-nav__arrow--next {
  justify-content: flex-end;
}

.chapter-nav__arrow:hover,
.chapter-nav__arrow:focus {
  color: var(--link-strong);
  background: var(--brand-soft);
}

.chapter-nav__pickers {
  display: inline-flex;
  gap: .45rem;
}

.chapter-nav__select {
  width: auto;
  min-height: 2.25rem;
  padding-top: .3rem;
  padding-bottom: .3rem;
  font-size: .78rem;
}

.chapter-nav__select--chapter {
  min-width: 4.4rem;
}

.verses {
  --reader-scale: 1;
  max-width: none;
  margin: 2.2rem auto 1.8rem;
  font-family: var(--reader);
  font-size: calc(1.125rem * var(--reader-scale));
  line-height: 1.88;
  font-variant-numeric: oldstyle-nums;
}

.reader--comfortable .verses {
  max-width: 72rem;
}

.verse {
  position: relative;
  display: grid;
  grid-template-columns: 2.9rem minmax(0, 1fr);
  column-gap: .35rem;
  margin: 0 0 0 -.4rem;
  padding: .2rem .5rem .2rem .4rem;
  border-radius: 2px;
  scroll-margin-top: 1rem;
  cursor: pointer;
  transition: background-color .12s ease, box-shadow .12s ease;
}

.verse:hover {
  background: rgba(32, 57, 95, .05);
}

[data-theme="dark"] .verse:hover {
  background: rgba(255, 255, 255, .04);
}

.verse:focus-visible {
  outline-offset: 0;
}

.vgutter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .15rem;
  padding-top: .2em;
  user-select: none;
}

.verse .vnum {
  color: var(--gold);
  font-family: var(--sans);
  font-size: .58em;
  font-weight: 750;
  line-height: 1.6;
}

.vmarks {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .1rem;
  color: var(--muted);
  font-size: .55em;
  line-height: 1.2;
}

.vmarks .bi {
  display: none;
}

.verse.is-bookmarked .vmark-bookmark,
.verse.has-note .vmark-note {
  display: inline;
}

.verse.is-bookmarked .vmark-bookmark {
  color: var(--link);
}

.verse .vtext {
  min-width: 0;
}

.verse:target {
  background: var(--target-bg);
  outline: 1px solid var(--target-line);
}

.verse.hl-yellow { background: var(--hl-yellow); }
.verse.hl-green  { background: var(--hl-green); }
.verse.hl-blue   { background: var(--hl-blue); }
.verse.hl-pink   { background: var(--hl-pink); }

.verse.is-selected,
.verse.is-selected:hover {
  box-shadow: inset 3px 0 0 var(--brand), inset 0 0 0 1px var(--brand-soft);
  background: var(--brand-soft);
}

.verse.is-selected.hl-yellow { background: color-mix(in srgb, var(--hl-yellow) 60%, var(--brand-soft)); }
.verse.is-selected.hl-green  { background: color-mix(in srgb, var(--hl-green) 60%, var(--brand-soft)); }
.verse.is-selected.hl-blue   { background: color-mix(in srgb, var(--hl-blue) 60%, var(--brand-soft)); }
.verse.is-selected.hl-pink   { background: color-mix(in srgb, var(--hl-pink) 60%, var(--brand-soft)); }

/* Strong's words (King James, when "Original words" is on). */
.reader--strongs .w {
  cursor: pointer;
  border-bottom: 1px dotted var(--target-line);
  text-decoration: none;
}

.reader--strongs .w:hover,
.reader--strongs .w:focus {
  color: var(--accent);
  background: var(--brand-soft);
  border-bottom-style: solid;
  outline: none;
}

/* Action bar: appears at the foot of the window while verses are selected. */
.verse-actions {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  padding: 0 1rem calc(.75rem + env(safe-area-inset-bottom));
  pointer-events: none;
}

.verse-actions__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: .6rem .75rem .6rem 1rem;
  color: #fff;
  background: var(--brand-dark);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  pointer-events: auto;
}

.verse-actions__ref {
  display: grid;
  min-width: 7rem;
  line-height: 1.2;
}

.verse-actions__ref strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
}

.verse-actions__ref span {
  color: rgba(255, 255, 255, .6);
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.verse-actions__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem;
}

.verse-actions__divider {
  width: 1px;
  height: 1.5rem;
  margin: 0 .35rem;
  background: rgba(255, 255, 255, .18);
}

.va {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.25rem;
  padding: .35rem .6rem;
  color: rgba(255, 255, 255, .88);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: .76rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.va .bi {
  font-size: .95rem;
}

.va:hover,
.va:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
}

.va:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.va-swatches {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin: 0 .3rem;
}

.va-swatch {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  cursor: pointer;
}

.va-swatch:hover,
.va-swatch:focus-visible {
  border-color: #fff;
  transform: scale(1.12);
}

.va-swatch--yellow { background: #f7eab6; }
.va-swatch--green  { background: #dcebd9; }
.va-swatch--blue   { background: #dce9ee; }
.va-swatch--pink   { background: #efdcd9; }

.va-swatch--none {
  display: inline-grid;
  place-items: center;
  color: rgba(255, 255, 255, .8);
  background: transparent;
  font-size: .9rem;
}

.verse-actions__close {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  color: rgba(255, 255, 255, .8);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 3px;
  cursor: pointer;
}

.verse-actions__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

body.has-verse-actions main {
  padding-bottom: 9rem;
}

/* Study drawer: cross references, Strong's entries and note editing. */
.study-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  width: min(30rem, 100vw);
  color: var(--ink);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.study-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.35rem 1rem;
  border-bottom: 1px solid var(--line);
}

.study-drawer__head .eyebrow {
  margin-bottom: .25rem;
}

.study-drawer__head h2 {
  margin: 0;
  font-size: 1.55rem;
}

.study-drawer__close {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  cursor: pointer;
}

.study-drawer__close:hover {
  color: var(--link-strong);
  background: var(--surface-alt);
}

.study-drawer__body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 1.1rem 1.35rem 1.5rem;
}

.study-drawer__quote {
  margin: 0 0 1rem;
  padding: .75rem .9rem;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border-left: 3px solid var(--gold);
  font-family: var(--reader);
  font-size: .95rem;
  line-height: 1.6;
}

.study-drawer__label {
  display: grid;
  gap: .4rem;
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.study-drawer__label textarea {
  font: 400 .95rem/1.55 var(--sans);
  text-transform: none;
  letter-spacing: 0;
}

.study-drawer__actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  margin-top: .9rem;
}

.study-drawer__loading,
.study-drawer__empty {
  color: var(--muted);
  font-size: .9rem;
}

.study-drawer__credit {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.5;
}

.xref-list {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xref-list li {
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}

.xref-list__ref {
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.xref-list__text {
  margin: .25rem 0 .3rem;
  font-family: var(--reader);
  font-size: .92rem;
  line-height: 1.55;
}

.xref-list__all {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 650;
  text-decoration: none;
}

.xref-list__all:hover {
  color: var(--link);
  text-decoration: underline;
}

.strongs-entry__number {
  margin: 0 0 .3rem;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.strongs-entry__lemma {
  margin: 0 0 .35rem;
  font-size: 1.6rem;
}

.strongs-entry__lemma em {
  color: var(--muted);
  font-family: var(--reader);
  font-size: 1rem;
  font-style: italic;
}

.strongs-entry__pron {
  margin: 0 0 .75rem;
  color: var(--muted);
  font-size: .82rem;
}

.strongs-entry__def {
  margin: 0 0 .6rem;
  font-family: var(--reader);
  font-size: 1rem;
  line-height: 1.55;
}

.strongs-entry__kjv,
.strongs-entry__deriv {
  margin: 0 0 .5rem;
  color: var(--ink-soft);
  font-size: .85rem;
  line-height: 1.5;
}

.strongs-entry__link {
  display: inline-block;
  margin-top: .4rem;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

body.has-study-drawer .verse-actions {
  right: min(30rem, 100vw);
}

.reader-license {
  margin: 1.6rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
}

/* ----- 8. Testament index ----- */

.testament-page {
  width: 100%;
  max-width: var(--content-max);
  padding-top: clamp(2.8rem, 6vw, 5rem);
}

.testament-head {
  max-width: none;
  margin-bottom: 2rem;
}

.testament-head h1 {
  margin: 0 0 .5rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.testament-intro {
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-family: var(--reader);
  font-size: 1.05rem;
}

.testament-books {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.testament-book {
  padding: 1.1rem 1.2rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.testament-book__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: .7rem;
}

.testament-book__head > span {
  color: var(--muted);
  font-size: .65rem;
}

.testament-book__name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
}

.testament-book__name a {
  color: var(--link-strong);
  text-decoration: none;
}

.testament-book__name a:hover {
  text-decoration: underline;
}

.chapter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}

.chapter-grid__cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 .3rem;
  color: var(--ink-soft);
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: .72rem;
  font-weight: 500;
  text-decoration: none;
}

.chapter-grid__cell:hover,
.chapter-grid__cell:focus {
  color: #fff;
  background: var(--brand);
  border-color: var(--link);
}

/* ----- 9. Search and saved library ----- */

.search-page,
.marks-page,
.prose-page {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(2.8rem, 6vw, 5rem) 1rem 0;
}

.search-form {
  display: grid;
  gap: .7rem;
  padding: 1.2rem;
  margin: 1rem 0 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
}

.search-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.search-form__query {
  flex: 1;
  min-width: 14rem;
}

.search-form__label,
.search-form__filters label > span {
  color: var(--ink-soft);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.search-form__filters {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr auto;
  gap: .7rem;
  align-items: end;
}

.search-form__filters > label:not(.search-form__check) {
  display: grid;
  gap: .3rem;
}

.search-form__checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: end;
  gap: .3rem 1rem;
  min-height: 2.65rem;
}

.search-form__check {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--muted);
  font-size: .82rem;
  white-space: nowrap;
}

.search-form__hint {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  margin: .15rem 0 0;
  color: var(--muted);
  font-size: .76rem;
}

.search-count {
  margin-bottom: .9rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

.search-results {
  display: grid;
  gap: .65rem;
}

.search-result {
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color .15s ease, background-color .15s ease;
}

.search-result:hover {
  background: var(--surface);
  border-color: var(--line-strong);
}

.search-result__ref {
  display: inline-block;
  margin-bottom: .2rem;
  color: var(--link);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
}

.search-result__ref:hover {
  text-decoration: underline;
}

.search-result__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .35rem .75rem;
}

.search-result__head .search-result__ref {
  margin-right: auto;
}

.search-result__badge,
.search-result__also a {
  display: inline-block;
  margin-left: .3rem;
  padding: .05rem .4rem;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-decoration: none;
  vertical-align: middle;
}

.search-result__also {
  color: var(--muted);
  font-size: .72rem;
}

.search-result__also a:hover {
  color: var(--link-strong);
  border-color: var(--link);
}

.search-result__compare {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
}

.search-result__compare:hover,
.search-result__compare:focus {
  color: var(--link);
  text-decoration: underline;
}

.search-result__text {
  margin: 0;
  font-family: var(--reader);
  font-size: 1.04rem;
  line-height: 1.65;
}

.search-result__text mark {
  padding: 0 .1rem;
  background: var(--hl-yellow);
  border-radius: 2px;
}

.search-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  margin: 1.3rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}

.library-filter {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .55rem;
  align-items: center;
  max-width: 26rem;
  min-height: 2.65rem;
  margin-bottom: 1.8rem;
  padding: 0 .8rem;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
}

.library-filter .bi {
  color: var(--muted);
}

.library-filter input {
  min-width: 0;
  padding: .6rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.library-no-results {
  padding: 1rem;
  color: var(--muted);
  background: var(--surface-alt);
  border-radius: 3px;
}

.marks-book {
  margin-bottom: 1.7rem;
}

.marks-book h2 {
  margin-bottom: .5rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 500;
}

.marks-list {
  display: grid;
  gap: .5rem;
}

.mark-row {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.mark-row__body {
  flex: 1;
  min-width: 0;
}

.mark-row__swatch {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: .25rem;
  border: 1px solid rgba(29, 31, 31, .15);
  border-radius: 3px;
}

.mark-row__text {
  margin: .15rem 0 0;
  font-family: var(--reader);
  font-size: 1rem;
  line-height: 1.55;
}

.mark-row__note {
  margin: .3rem 0 0;
  color: var(--muted);
  font-size: .88rem;
  white-space: pre-wrap;
}

.mark-row__remove {
  flex: 0 0 auto;
}

.mark-row__compare {
  display: inline-block;
  margin-top: .25rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
}

.mark-row__compare:hover,
.mark-row__compare:focus {
  color: var(--link);
  text-decoration: underline;
}

/* ----- 10. Translation guide, comparison, parallel verse ----- */

.translations-page,
.comparison-page,
.parallel-page {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(2.8rem, 6vw, 4.6rem) 1rem 0;
}

.translations-head {
  max-width: none;
  margin-bottom: 1.3rem;
}

.translations-head .eyebrow,
.comparison-head .eyebrow {
  margin-bottom: .3rem;
}

.parallel-head .eyebrow {
  margin-bottom: .25rem;
}

.translations-head h1,
.comparison-head h1,
.parallel-head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  font-weight: 500;
}

.translations-head h1 {
  margin-bottom: .45rem;
}

.comparison-head h1 span,
.parallel-head h1 span {
  color: var(--link);
}

.translations-head > p:last-child {
  margin: 0;
  color: var(--muted);
  font-family: var(--reader);
  line-height: 1.65;
}

.comparison-head p:not(.eyebrow) {
  margin: .35rem 0 0;
  color: var(--muted);
  font-family: var(--reader);
  font-size: .9rem;
  line-height: 1.65;
}

.parallel-head p:not(.eyebrow) {
  margin: .3rem 0 0;
  color: var(--muted);
  font-family: var(--reader);
  font-size: .86rem;
  line-height: 1.65;
}

/* Translation guide */

.translation-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.translation-guide-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 0;
  padding: 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
}

.translation-guide-card header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .15rem .55rem;
}

.translation-guide-card__code {
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  height: 3.4rem;
  color: var(--gold-light);
  background: var(--brand);
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .03rem;
}

.translation-guide-card__year {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
}

.translation-guide-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
}

.translation-guide-card__style {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
}

.translation-guide-card > p {
  margin: 0;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.55;
}

.translation-guide-card__best {
  display: grid;
  gap: .15rem;
  padding: .65rem .75rem;
  background: var(--surface-alt);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  font-size: .82rem;
}

.translation-guide-card__best strong {
  color: var(--link-strong);
  font-size: .7rem;
  letter-spacing: .035rem;
  text-transform: uppercase;
}

.translation-guide-card__facts {
  display: grid;
  gap: .35rem;
  margin: 0;
}

.translation-guide-card__facts > div {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: .5rem;
  padding-top: .35rem;
  border-top: 1px solid var(--line);
  font-size: .75rem;
}

.translation-guide-card__facts dt {
  color: var(--muted);
  font-weight: 700;
}

.translation-guide-card__facts dd {
  margin: 0;
}

.translation-guide-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: auto;
}

.translation-guide-card__source {
  margin-left: auto;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  text-decoration: none;
}

.translation-guide-card__source:hover,
.translation-guide-card__source:focus {
  color: var(--link);
  text-decoration: underline;
}

.translation-guide-note {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-top: 1rem;
  padding: .85rem 1rem;
  color: var(--ink-soft);
  background: var(--brand-soft);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font-size: .84rem;
}

.translation-guide-note .bi {
  color: var(--link);
}

.translation-guide-note p {
  margin: 0;
}

.translations-parallel-cta {
  margin: 1rem 0 0;
  text-align: center;
}

/* Two-translation comparison */

.comparison-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.comparison-controls {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) auto minmax(15rem, 1fr) auto;
  align-items: end;
  gap: .65rem;
  margin: 1.1rem 0 .8rem;
  padding: .9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
}

.comparison-controls label {
  display: grid;
  gap: .3rem;
  min-width: 0;
}

.comparison-controls label > span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .035rem;
  text-transform: uppercase;
}

.comparison-controls .form-select {
  min-width: 0;
  font-size: .88rem;
}

.comparison-swap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: .05rem;
  color: var(--link);
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  text-decoration: none;
}

.comparison-swap:hover,
.comparison-swap:focus {
  color: #fff;
  background: var(--brand);
}

.comparison-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  margin-bottom: .65rem;
  padding: .55rem .7rem;
  color: var(--muted);
  font-size: .8rem;
}

.comparison-options label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
}

.comparison-options [data-copy-comparison] {
  margin-left: auto;
}

.comparison-feedback {
  min-width: 8rem;
  color: var(--link-strong);
  font-weight: 600;
}

.comparison-clear-range {
  color: var(--link);
  font-size: .76rem;
  font-weight: 600;
  text-decoration: none;
}

.comparison-clear-range:hover,
.comparison-clear-range:focus {
  text-decoration: underline;
}

.comparison-table {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
}

.comparison-table__head,
.comparison-row {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) minmax(0, 1fr);
}

.comparison-table__head {
  color: #fff;
  background: var(--brand-dark);
  font-size: .78rem;
}

.comparison-table__head > span {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  padding: .7rem .85rem;
}

.comparison-table__head > span + span {
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.comparison-table__head small {
  color: rgba(255, 255, 255, .72);
  font-size: .68rem;
}

.comparison-row {
  position: relative;
  scroll-margin-top: 1rem;
}

.comparison-row + .comparison-row {
  border-top: 1px solid var(--line);
}

.comparison-row:nth-child(odd) {
  background: var(--row-alt);
}

.comparison-row:hover {
  background: var(--row-hover);
}

.comparison-row:target {
  z-index: 1;
  background: var(--row-hover);
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.comparison-row__number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: .75rem .25rem;
  color: var(--muted);
  background: rgba(32, 57, 95, .045);
  font-size: .72rem;
  font-weight: 700;
}

.comparison-row__number a {
  color: var(--link);
  text-decoration: none;
}

.comparison-row__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 3px;
  font-size: .7rem;
  opacity: 0;
}

.comparison-row__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  color: var(--muted);
  border-radius: 3px;
  font-size: .7rem;
  opacity: 0;
  text-decoration: none;
}

.comparison-row:hover .comparison-row__copy,
.comparison-row:focus-within .comparison-row__copy,
.comparison-row:hover .comparison-row__all,
.comparison-row:focus-within .comparison-row__all {
  opacity: 1;
}

.comparison-row__copy:hover,
.comparison-row__copy:focus,
.comparison-row__all:hover,
.comparison-row__all:focus {
  color: #fff;
  background: var(--brand);
}

.comparison-cell {
  min-width: 0;
  padding: .72rem .9rem .85rem;
  font-family: var(--reader);
  font-size: 1.02rem;
  line-height: 1.72;
}

.comparison-cell + .comparison-cell {
  border-left: 1px solid var(--line);
}

.comparison-diff {
  padding: .06rem .1rem;
  color: inherit;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.show-differences .comparison-diff--left {
  background: var(--diff-left);
  text-decoration: underline;
  text-decoration-color: rgba(145, 55, 45, .36);
  text-underline-offset: .14rem;
}

.show-differences .comparison-diff--right {
  background: var(--diff-right);
  text-decoration: underline;
  text-decoration-color: rgba(43, 105, 54, .38);
  text-underline-offset: .14rem;
}

.comparison-table:not(.show-differences) .comparison-diff {
  padding: 0;
  background: transparent;
}

.comparison-missing {
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: .82rem;
}

/* Every translation, one verse */

.parallel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.parallel-head__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
}

.parallel-jump {
  display: grid;
  grid-template-columns: auto minmax(14rem, 24rem) auto 1fr;
  align-items: center;
  gap: .45rem;
  margin: 1rem 0 .65rem;
  padding: .7rem .8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
  font-size: .78rem;
}

.parallel-jump label {
  color: var(--muted);
  font-weight: 700;
}

.parallel-feedback {
  color: var(--link-strong);
  font-weight: 600;
}

.parallel-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: .4rem 0 .7rem;
  font-size: .8rem;
}

.parallel-nav a {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}

.parallel-nav a:hover,
.parallel-nav a:focus {
  text-decoration: underline;
}

.parallel-list {
  display: grid;
  gap: .55rem;
}

.parallel-row {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
}

.parallel-row header {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .8rem;
  background: var(--surface-alt);
  border-right: 1px solid var(--line);
}

.parallel-row header > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  color: var(--gold-light);
  background: var(--brand);
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 800;
}

.parallel-row h2 {
  margin: 0 0 .15rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: .88rem;
  font-weight: 500;
}

.parallel-row header a {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  text-decoration: none;
}

.parallel-row header a:hover,
.parallel-row header a:focus {
  color: var(--link);
  text-decoration: underline;
}

.parallel-row__text,
.parallel-row__missing {
  align-self: center;
  margin: 0;
  padding: .85rem 1rem;
}

.parallel-row__text {
  font-family: var(--reader);
  font-size: 1.02rem;
  line-height: 1.72;
}

.parallel-row__missing {
  color: var(--muted);
  font-size: .82rem;
  font-style: italic;
}

/* ----- 11. Errors, privacy, account pages ----- */

.error-page {
  width: min(42rem, calc(100% - 2rem));
  margin: clamp(3rem, 8vw, 7rem) auto clamp(3rem, 9vw, 7rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
}

.error-page h1 {
  margin: .35rem 0 .8rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
}

.error-page .lede {
  color: var(--muted);
  font-size: 1.08rem;
}

.error-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.4rem;
}

.error-page__reference {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.prose-page section {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.prose-page h2 {
  margin-bottom: .55rem;
  font-size: 1.35rem;
}

.prose-page section p {
  color: var(--ink-soft);
  font-family: var(--reader);
  line-height: 1.7;
}

/* ----- Reading plans and streaks ----- */

.plans-page,
.strongs-page {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(2.8rem, 6vw, 5rem) 1rem 0;
}

.plan-flash {
  margin: 0 0 1.4rem;
  padding: .75rem 1rem;
  color: var(--link-strong);
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 3px;
  font-size: .88rem;
  font-weight: 600;
}

[data-theme="dark"] .plan-flash {
  color: var(--ink);
}

.plan-signin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  margin-bottom: 2rem;
  padding: 1.2rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
}

.plan-signin p {
  flex: 1 1 22rem;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--reader);
  line-height: 1.55;
}

.streak-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
  margin-bottom: 2.4rem;
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
}

.streak-card__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.25rem;
  align-items: end;
}

.streak-stat {
  display: grid;
  line-height: 1.1;
}

.streak-stat strong {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 500;
}

.streak-stat--main strong {
  font-size: 3.6rem;
  color: var(--gold);
}

.streak-stat span {
  margin-top: .2rem;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.streak-stat small {
  margin-top: .5rem;
  color: var(--ink-soft);
  font-size: .8rem;
}

.streak-grid {
  display: grid;
  grid-template-rows: repeat(7, .8rem);
  grid-auto-flow: column;
  grid-auto-columns: .8rem;
  gap: .2rem;
  justify-content: end;
}

.streak-cell {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.streak-cell.is-read {
  background: var(--gold);
  border-color: var(--gold);
}

.streak-cell.is-today {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.plan-section {
  margin-bottom: 2.6rem;
}

.plan-section__title {
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.5rem;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1rem;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 1.3rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
}

.plan-card--active {
  border-top-color: var(--link);
}

.plan-card__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.plan-card__head .eyebrow {
  margin-bottom: .25rem;
}

.plan-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.plan-card h3 a {
  color: inherit;
  text-decoration: none;
}

.plan-card h3 a:hover {
  color: var(--accent);
}

.plan-card__percent {
  color: var(--link);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
}

[data-theme="dark"] .plan-card__percent {
  color: var(--gold-light);
}

.plan-card__summary {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--reader);
  font-size: .95rem;
  line-height: 1.55;
}

.plan-progress {
  height: .4rem;
  overflow: hidden;
  background: var(--surface-alt);
  border-radius: 999px;
}

.plan-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  border-radius: 999px;
}

.plan-today {
  display: grid;
  gap: .3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-today li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
}

.plan-today li .bi {
  color: var(--muted);
}

.plan-today li.is-done .bi {
  color: var(--link);
}

.plan-today li.is-done a {
  color: var(--muted);
  text-decoration: line-through;
}

.plan-today a {
  font-weight: 600;
  text-decoration: none;
}

.plan-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: auto;
}

.plan-card__note {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

.plan-card__note--done {
  color: var(--link);
  font-weight: 650;
}

[data-theme="dark"] .plan-card__note--done,
[data-theme="dark"] .plan-today li.is-done .bi {
  color: var(--gold-light);
}

.plan-card__behind {
  margin: 0;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 650;
}

.plan-detail__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.plan-detail__status {
  flex: 1 1 24rem;
}

.plan-detail__status p {
  margin: .6rem 0 0;
  color: var(--ink-soft);
  font-size: .88rem;
}

.plan-days {
  display: grid;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-day {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: .75rem 1rem;
  align-items: center;
  padding: .6rem .9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  scroll-margin-top: 1rem;
}

.plan-day.is-today {
  border-color: var(--link);
  box-shadow: inset 3px 0 0 var(--brand);
}

.plan-day.is-done {
  background: var(--surface-alt);
}

.plan-day.is-missed .plan-day__label strong {
  color: var(--accent);
}

.plan-day__label {
  display: grid;
  line-height: 1.2;
}

.plan-day__label strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
}

.plan-day__label small {
  color: var(--muted);
  font-size: .68rem;
}

.plan-day__chapters {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-day__chapters li {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .9rem;
}

.plan-day__chapters a {
  font-weight: 600;
  text-decoration: none;
}

.plan-day__chapters li.is-done a {
  color: var(--muted);
  text-decoration: line-through;
}

.plan-tick {
  display: inline-flex;
  margin: 0;
}

.plan-tick button {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.plan-tick button:hover,
.plan-day__chapters li.is-done .plan-tick button {
  color: var(--link);
}

[data-theme="dark"] .plan-day__chapters li.is-done .plan-tick button {
  color: var(--gold-light);
}

.plan-day__all {
  margin: 0;
}

/* Strong's page */

.strongs-lemma {
  font-size: 1.1em;
}

.strongs-xlit {
  color: var(--muted);
  font-family: var(--reader);
  font-size: .5em;
  font-style: italic;
  font-weight: 400;
}

.strongs-facts {
  display: grid;
  gap: .6rem;
  max-width: 60rem;
  margin: 0 0 2rem;
}

.strongs-facts > div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: .75rem;
  padding: .6rem 0;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  line-height: 1.55;
}

.strongs-facts dt {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.strongs-facts dd {
  margin: 0;
  font-family: var(--reader);
}

.strongs-list__title {
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

/* Offline page */

.offline-saved {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.offline-saved h2 {
  font-size: 1.15rem;
}

.offline-saved ul {
  columns: 2;
  padding-left: 1.2rem;
  font-size: .9rem;
}

/* Framework account pages (sign-in, register, manage) */

.identity-body {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

/* Account pitch (sign-in / register pages) */

.account-pitch {
  padding: 2.4rem 0 1.9rem;
  color: #f3efe7;
  background: linear-gradient(145deg, #142842 0%, #20395f 100%);
}

.account-pitch .eyebrow {
  color: #dcb63c;
}

.account-pitch h2 {
  max-width: 34rem;
  margin: 0 0 .7rem;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.12;
}

.account-pitch__lead {
  max-width: 40rem;
  margin: 0 0 1.3rem;
  color: rgba(243, 239, 231, .82);
  font-family: var(--reader);
  font-size: 1rem;
  line-height: 1.6;
}

.account-pitch__lead strong {
  color: #fff;
  font-weight: 600;
}

.account-pitch__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem 1.6rem;
  max-width: 56rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.account-pitch__list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  line-height: 1.45;
}

.account-pitch__list .bi {
  flex: 0 0 auto;
  margin-top: .1rem;
  color: #dcb63c;
  font-size: 1rem;
}

.account-pitch__list strong {
  color: #fff;
  font-weight: 650;
}

.account-pitch__fine {
  margin: 0;
  color: rgba(243, 239, 231, .6);
  font-size: .78rem;
}

/* Collections and book introductions */
.library-prologue { margin: 1.5rem 0; padding: 1.3rem; border-left: 3px solid var(--gold); background: var(--surface-alt); }
.library-prologue h2 { font: 500 1.4rem var(--display); }
.library-prologue p { font-family: var(--reader); line-height: 1.8; white-space: pre-line; margin-bottom: 0; }
.source-edition { max-width: 74rem; }
.source-edition li { margin: .65rem 0; color: var(--ink-soft); line-height: 1.7; }
.source-preview { padding: 1.3rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--surface); }
.source-preview summary { cursor: pointer; font-weight: 600; }
.source-preview p { margin-top: 1rem; }
.source-preview img { display: block; width: 100%; max-width: 50rem; height: auto; margin: 1rem auto 0; border: 1px solid var(--line); }
.canon-guide h2 { font: 500 2rem var(--display); }
.canon-start, .canon-distinctions, .canon-section { margin: 2.5rem 0; }
.canon-distinctions dl { max-width: 65rem; }
.canon-distinctions dt { margin-top: 1.1rem; }
.canon-distinctions dd { margin-top: .4rem; line-height: 1.7; color: var(--ink-soft); }
.canon-section h2 > span { font: 500 .85rem var(--sans); color: var(--muted); margin-left: .5rem; }
.canon-entries { list-style-position: inside; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.canon-entries > li { border: 1px solid var(--line); background: var(--surface); border-radius: .5rem; padding: 1.3rem; }
.canon-entries > li::marker { color: var(--muted); font-size: .8rem; }
.canon-entry__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem; margin: .4rem 0 .8rem; }
.canon-entry__heading h3 { font: 500 1.5rem var(--display); margin: 0; }
.library-status { font-size: .72rem; color: var(--ink-soft); background: var(--surface-alt); border: 1px solid var(--line); border-radius: .3rem; padding: .25rem .5rem; }
.canon-entries p { font-size: .88rem; line-height: 1.7; color: var(--ink-soft); }
.canon-entry__links { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; font-size: .85rem; }
@media (max-width: 700px) { .canon-entries { grid-template-columns: 1fr; } }
.explore-page { max-width: var(--content-max); margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
.explore-intro { max-width: 52rem; }
.explore-intro h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.08; }
.explore-jump { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 1.7rem 0; font-size: .9rem; font-weight: 600; }
.explore-jump a { text-decoration: none; }
.collection-context { display: flex; gap: 1rem; padding: 1.5rem; margin: 2rem 0; border: 1px solid var(--line); background: var(--surface-alt); border-radius: .5rem; }
.collection-context > i { font-size: 1.4rem; color: var(--link); }
.collection-context p { margin: .4rem 0 0; max-width: 66rem; color: var(--ink-soft); }
.explore-collection { padding-top: 2.5rem; scroll-margin-top: 2rem; }
.collection-description { max-width: 65rem; color: var(--ink-soft); margin: -1rem 0 1.8rem; line-height: 1.7; }
.explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.explore-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.explore-card { display: flex; flex-direction: column; padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: .6rem; }
.explore-grid--featured .explore-card { border-top: 3px solid var(--gold); padding: 2rem; }
.explore-card__meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-soft); font-size: .75rem; margin-bottom: 1rem; }
.explore-card h3 { font: 500 1.8rem/1.2 var(--display); margin-bottom: .7rem; }
.explore-grid--featured h3 { font-size: 2.5rem; }
.explore-card h3 a { text-decoration: none; }
.explore-card > p { color: var(--ink-soft); line-height: 1.7; font-size: .9rem; }
.explore-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem; margin-top: auto; padding-top: .8rem; font-size: .83rem; }
.explore-card__actions > a:first-child { font-weight: 600; text-decoration: none; }
.home-collections { display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); }
.home-collections p { max-width: 48rem; color: var(--ink-soft); }
.home-collections > a { flex-shrink: 0; }
.book-introduction { max-width: 65rem; }
.explore-back { display: inline-block; margin-bottom: 2.4rem; font-size: .86rem; text-decoration: none; }
.book-introduction__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.book-introduction__sections { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.book-introduction__sections h2 { font: 500 1.8rem var(--display); }
.book-introduction__sections p { color: var(--ink-soft); line-height: 1.8; }
.book-introduction__tools { margin-top: 1.4rem; font-size: .87rem; }
.book-chapters { padding: 1.4rem; border: 1px solid var(--line); background: var(--surface); border-radius: .5rem; }
.book-chapters summary { cursor: pointer; font-weight: 600; }
.book-chapters__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(3rem, 1fr)); gap: .5rem; margin-top: 1.5rem; }
.book-chapters__grid a { padding: .7rem; border: 1px solid var(--line); text-align: center; text-decoration: none; border-radius: .3rem; }
.book-chapters__grid a:hover { background: var(--row-hover); }
.reader-collection-note { display: grid; gap: .6rem; padding: 1rem 1.2rem; margin: 1.3rem 0; border-left: 3px solid var(--gold); background: var(--surface-alt); color: var(--ink-soft); font-size: .84rem; line-height: 1.65; }
.reader-collection-note a { font-weight: 600; text-decoration: none; }
@media (max-width: 900px) {
  .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-collections { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .explore-page { padding: 2rem 1rem 3rem; }
  .explore-grid, .book-introduction__sections { grid-template-columns: 1fr; }
  .explore-grid--featured .explore-card { padding: 1.5rem; }
  .book-introduction__sections { gap: 1.5rem; }
  .collection-context { padding: 1rem; }
}

/* ----- 12. Responsive ----- */

@media (max-width: 1199.98px) {
  /* Collapsed navbar: mega menus become inline collapsible lists. */
  .site-nav .navbar-nav {
    align-items: stretch;
    gap: .2rem;
    padding: 1rem 0 .35rem;
  }

  .site-nav .nav-item {
    align-items: stretch;
    flex-direction: column;
  }

  .site-nav .nav-link {
    padding: .7rem .8rem;
  }

  .site-nav .nav-continue {
    justify-content: center;
    margin: .35rem 0 0;
  }

  .nav-mega__toggle {
    justify-content: space-between;
    width: 100%;
  }

  .nav-mega__dropdown {
    position: static;
    grid-template-columns: 1fr;
    max-height: none;
    margin: .25rem 0 .6rem;
    border-top-width: 1px;
  }

  .nav-item--mega:hover .nav-mega__dropdown,
  .nav-item--mega:focus-within .nav-mega__dropdown {
    display: none;
  }

  .nav-item--mega.is-open .nav-mega__dropdown {
    display: grid;
  }

  .comparison-controls {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .comparison-controls__submit {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

@media (max-width: 900px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .daily-reading {
    max-width: 38rem;
  }

  .study-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .streak-card {
    grid-template-columns: 1fr;
  }

  .streak-grid {
    justify-content: start;
  }

  .plan-day {
    grid-template-columns: 1fr;
  }

  .home-facts .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-facts span:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--band-rule);
  }

  .home-facts span:nth-child(4) {
    border-top: 1px solid var(--band-rule);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: .6rem;
  }

  .study-grid {
    grid-template-columns: 1fr;
  }

  .study-card p {
    min-height: 0;
  }

  .search-form__filters {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .utility-nav__service span {
    display: none;
  }

  .utility-nav__inner {
    gap: .35rem;
    padding-top: .35rem;
    padding-bottom: .35rem;
  }

  .utility-nav__service {
    flex: 1 1 11rem;
  }

  .utility-nav__service a {
    white-space: normal;
  }

  .utility-nav__service > :not(:last-child)::after {
    display: none;
  }

  .utility-nav__links {
    max-width: 100%;
    margin-left: auto !important;
    justify-content: flex-end;
  }

  .site-nav {
    min-height: 4.25rem;
  }

  .brand-mark {
    width: 2.2rem;
    height: 2.2rem;
  }

  .brand-copy strong {
    font-size: 1.18rem;
  }

  .home-hero {
    padding-top: 3.5rem;
  }

  .home-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  body.home-page::after {
    background-image: image-set(url("/images/home-crusader-small.webp") type("image/webp"), url("/images/home-crusader.jpg") type("image/jpeg"));
  }

  .hero-search {
    grid-template-columns: auto 1fr;
  }

  .hero-search .btn {
    grid-column: 1 / -1;
    margin-top: .25rem;
  }

  .testament-cards,
  .testament-books,
  .translation-guide-grid {
    grid-template-columns: 1fr;
  }

  .testament-card {
    min-height: 8.5rem;
  }

  .reader {
    padding-top: 2.5rem;
  }

  .reader-head {
    align-items: start;
    flex-direction: column;
  }

  .translation-switch {
    justify-content: flex-start;
  }

  .reader-preferences {
    justify-content: flex-start;
  }

  .chapter-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .chapter-nav__pickers {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
  }

  .chapter-nav__select {
    min-width: 0;
    width: 100%;
  }

  .chapter-nav__arrow {
    min-width: 0;
  }

  .chapter-nav__arrow--next {
    justify-self: end;
  }

  .verse {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    margin-left: -.35rem;
    padding-right: .35rem;
    padding-left: .35rem;
  }

  .reader-preferences {
    flex-wrap: wrap;
  }

  .reader-preferences__gap {
    flex-basis: 100%;
    height: 0;
  }

  .verse-actions {
    padding: 0 0 env(safe-area-inset-bottom);
  }

  .verse-actions__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .4rem .75rem;
    padding: .55rem .6rem .55rem .85rem;
    border-radius: 6px 6px 0 0;
  }

  .verse-actions__buttons {
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .15rem;
    scrollbar-width: none;
  }

  .verse-actions__buttons::-webkit-scrollbar {
    display: none;
  }

  .va span {
    font-size: .7rem;
  }

  .study-drawer {
    top: auto;
    width: 100vw;
    max-height: 82vh;
    border-left: 0;
    border-top: 1px solid var(--line);
    border-radius: 8px 8px 0 0;
  }

  body.has-study-drawer .verse-actions {
    display: none;
  }

  .search-form__filters {
    grid-template-columns: 1fr;
  }

  .search-form__check {
    min-height: auto;
  }

  .search-result__head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .translation-guide-card__source {
    width: 100%;
    margin-left: 0;
  }

  .comparison-head {
    flex-direction: column;
  }

  .comparison-controls {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .comparison-controls label:last-of-type {
    grid-column: 1 / -1;
  }

  .comparison-swap {
    grid-column: 2;
    grid-row: 1;
  }

  .comparison-options [data-copy-comparison] {
    margin-left: 0;
  }

  .comparison-table__head {
    display: none;
  }

  .comparison-row {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    padding: .25rem 0;
  }

  .comparison-row__number {
    grid-row: 1 / 3;
  }

  .comparison-cell {
    position: relative;
    padding: 1.55rem .75rem .7rem;
  }

  .comparison-cell + .comparison-cell {
    border-top: 1px dashed var(--line);
    border-left: 0;
  }

  .comparison-cell::before {
    content: attr(data-label);
    position: absolute;
    top: .35rem;
    left: .75rem;
    color: var(--link);
    font-family: system-ui, sans-serif;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .04rem;
  }

  .comparison-row__copy,
  .comparison-row__all {
    opacity: .65;
  }

  .parallel-head {
    flex-direction: column;
  }

  .parallel-head__actions {
    justify-content: flex-start;
  }

  .parallel-jump {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .parallel-jump label,
  .parallel-feedback {
    grid-column: 1 / -1;
  }

  .parallel-row {
    grid-template-columns: 1fr;
  }

  .parallel-row header {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 430px) {
  .home-facts .container {
    grid-template-columns: 1fr;
  }

  .home-facts span + span,
  .home-facts span:nth-child(3) {
    border-top: 1px solid var(--band-rule);
    border-left: 0;
  }

  .testament-card {
    grid-template-columns: 1fr auto;
  }

  .testament-card__number {
    display: none;
  }

  .comparison-head,
  .parallel-head {
    gap: .75rem;
  }
}

@media (max-width: 767.98px) {
  .account-pitch {
    padding: 1.8rem 0 1.5rem;
  }

  .account-pitch__list {
    grid-template-columns: 1fr;
    gap: .55rem;
  }
}

/* Ethiopian passage studies retain each work's own sequence and references. */
.ethiopian-study { max-width: 1228px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.ethiopian-study .page-intro { max-width: 850px; }
.study-controls { display: flex; align-items: end; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0 1rem; }
.study-controls label { flex: 1 1 270px; max-width: 420px; font-size: .85rem; font-weight: 600; }
.study-controls select { margin-top: .4rem; }
.study-controls > a { padding-bottom: .65rem; font-size: .85rem; }
.study-method { color: var(--ink-soft); font-size: .9rem; max-width: 900px; margin-bottom: 1.5rem; }
.study-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.study-panel { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 3px; min-width: 0; }
.study-panel > header { padding: 1.3rem 1.6rem; border-bottom: 1px solid var(--line); background: var(--surface-alt); }
.study-panel > header h2 { font-family: var(--display); font-size: 1.5rem; margin: 0; }
.study-panel > header .eyebrow { margin-bottom: .35rem; }
.study-passage { padding: 1.5rem 1.6rem; }
.study-passage + .study-passage { border-top: 1px solid var(--line); }
.study-passage h3 { font-family: var(--display); font-size: 1.5rem; margin-bottom: 1.2rem; }
.study-verse { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: .5rem; margin: 0 0 .9rem; }
.study-verse__text { font-family: var(--reader); font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
.study-verse__number { font-size: .73rem; padding-top: .4rem; font-variant-numeric: tabular-nums; }
.study-missing { color: var(--ink-soft); font-size: .9rem; }
.study-passage__links { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.5rem; display: flex; gap: .8rem; flex-wrap: wrap; font-size: .82rem; }
.study-context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; padding: 2.5rem 0 1rem; }
.study-context h2 { font-family: var(--display); font-size: 1.65rem; }
.study-context p, .study-context li, .study-edition-notes p { color: var(--ink-soft); line-height: 1.8; }
.study-context li { margin-bottom: .8rem; }
.study-edition-notes { border-block: 1px solid var(--line); padding: 1.2rem 0; }
.study-edition-notes summary { font-weight: 600; cursor: pointer; }
.study-edition-notes p { margin-top: 1rem; font-size: .9rem; }
.study-navigation { display: flex; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; padding: 1.5rem 0; font-size: .85rem; }
.study-navigation a { max-width: 32%; }
.study-guide-section { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 3rem; }
.study-reading-list { padding-left: 1.3rem; line-height: 1.8; }
.study-reading-list li { margin-bottom: .55rem; }
.study-guide-followup { margin-top: 1.5rem; line-height: 1.8; }
.study-source-list dt { margin-top: 1.3rem; }
.study-source-list dd { color: var(--ink-soft); line-height: 1.8; margin-top: .5rem; }
.reader-study-links { display: flex; gap: .6rem 1.2rem; flex-wrap: wrap; border-block: 1px solid var(--line); padding: .85rem 0; margin: 1rem 0; font-size: .83rem; }
@media (max-width: 767.98px) {
  .study-panels, .study-context { grid-template-columns: minmax(0, 1fr); }
  .study-panel > header, .study-passage { padding: 1.2rem; }
  .study-controls label { max-width: none; }
  .study-navigation { flex-direction: column; }
  .study-navigation a { max-width: none; }
  .ethiopian-study { padding: 1.5rem 1rem 3rem; }
}

/* ----- 13. Reduced motion and print ----- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .study-controls, .study-navigation, .study-passage__links, .reader-study-links { display: none !important; }
  .study-panels { display: block; }
  .study-panel { border: 0; }
  .study-panel > header { break-after: avoid; }
  .study-verse { break-inside: avoid; }
  .ethiopian-study { padding: 0; }
  .site-header,
  .site-footer,
  .site-toast,
  .reading-progress,
  .reader-preferences,
  .chapter-nav,
  .translation-switch,
  .reader-license,
  .comparison-controls,
  .comparison-chapter-nav,
  .comparison-options,
  .comparison-row__copy,
  .comparison-row__all,
  .comparison-head .btn,
  .parallel-jump,
  .parallel-nav,
  .parallel-head__actions {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .verses {
    font-size: 11pt;
    line-height: 1.55;
  }

  .verse {
    padding-right: 0;
  }

  .verse-actions,
  .study-drawer,
  .reader-hint,
  .vmarks {
    display: none !important;
  }

  .reader--print-selection .verse:not(.is-selected) {
    display: none;
  }

  .verse.is-selected {
    background: none;
    box-shadow: none;
  }

  .reader,
  .comparison-page,
  .parallel-page {
    max-width: none;
    padding: 0;
  }

  .comparison-table,
  .parallel-row {
    box-shadow: none;
  }

  .parallel-row {
    break-inside: avoid;
  }
}
