/* ==========================================================================
   Andhra Kraisthava Keerthanalu — UECF.NET web book
   Pure CSS3, mobile-first, no frameworks.
   Sections:
     1. Legacy Telugu web fonts
     2. Design tokens (light + dark)
     3. Base & accessibility
     4. Header / navigation / breadcrumb
     5. Landing page
     6. Contents & first-line index
     7. Chapter reading view
     8. Search overlay & keypad
     9. Footer & floating controls
    10. Print
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Legacy Telugu web fonts
   The source hymnal is typeset in a non-Unicode "Priyaanka" typeface.  The
   embedded PostScript font was rebuilt as a TrueType webfont in which every
   glyph is a complete akshara cluster mapped to a Private-Use codepoint, so
   the printed page is reproduced exactly while remaining real, selectable,
   reflowable text.
   ------------------------------------------------------------------------- */
@font-face {
  font-family: "AKK Telugu";
  src: url("../fonts/akk-telugu.woff") format("woff"),
       url("../fonts/akk-telugu.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AKK Telugu";
  src: url("../fonts/akk-telugu-bold.woff") format("woff"),
       url("../fonts/akk-telugu-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* -------------------------------------------------------------------------
   2. Design tokens
   ------------------------------------------------------------------------- */
:root {
  --navy:        #101B31;
  --navy-2:      #1b294a;
  --gold:        #c8952f;
  --gold-soft:   #e7c574;

  --bg:          #ffffff;
  --bg-soft:     #f5f6f9;
  --bg-card:     #ffffff;
  --ink:         #16202f;
  --ink-soft:    #4d5a6d;
  --ink-faint:   #7a869a;
  --rule:        #dfe3ea;
  --link:        #14407c;
  --link-hover:  #0b2c5a;
  --mark:        #ffe38a;

  --header-h:    64px;
  --wrap:        1180px;
  --measure:     44rem;

  /* accent chips (chapter numbers, hymn numbers, primary buttons) flip in dark */
  --accent-bg:   var(--navy);
  --accent-fg:   #ffffff;
  --accent-brd:  var(--navy);

  --reader-scale: 1;             /* driven by the A+ / A− controls */
  --radius:      10px;
  --shadow-sm:   0 1px 2px rgba(16, 27, 49, .08), 0 2px 8px rgba(16, 27, 49, .06);
  --shadow-md:   0 6px 24px rgba(16, 27, 49, .14);

  /* UI text may mix English with real Unicode Telugu, so the stack names the
     Telugu system faces shipped with Windows, macOS/iOS, Android and Linux. */
  --sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui,
          "Noto Sans Telugu", "Noto Sans Telugu UI", "Nirmala UI", Gautami,
          "Telugu Sangam MN", "Telugu MN", "Pothana2000", "Lohit Telugu", sans-serif;
  --serif: Georgia, "Times New Roman", "Nimbus Roman",
           "Noto Serif Telugu", "Gautami", serif;
}

html[data-theme="dark"] {
  --bg:         #0b1220;
  --bg-soft:    #111b2e;
  --bg-card:    #131f36;
  --ink:        #e6ecf6;
  --ink-soft:   #b3c0d4;
  --ink-faint:  #8d9cb5;
  --rule:       #26344f;
  --link:       #8fc0ff;
  --link-hover: #b9d8ff;
  --mark:       #6b551a;
  --navy:       #0b1220;
  --navy-2:     #16243f;
  --accent-bg:  #c8952f;
  --accent-fg:  #14203a;
  --accent-brd: #c8952f;
  --shadow-sm:  0 1px 2px rgba(0, 0, 0, .5);
  --shadow-md:  0 8px 28px rgba(0, 0, 0, .55);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --bg:         #0b1220;
    --bg-soft:    #111b2e;
    --bg-card:    #131f36;
    --ink:        #e6ecf6;
    --ink-soft:   #b3c0d4;
    --ink-faint:  #8d9cb5;
    --rule:       #26344f;
    --link:       #8fc0ff;
    --link-hover: #b9d8ff;
    --mark:       #6b551a;
    --navy:       #0b1220;
    --navy-2:     #16243f;
    --accent-bg:  #c8952f;
    --accent-fg:  #14203a;
    --accent-brd: #c8952f;
    --shadow-sm:  0 1px 2px rgba(0, 0, 0, .5);
    --shadow-md:  0 8px 28px rgba(0, 0, 0, .55);
  }
}

/* -------------------------------------------------------------------------
   3. Base & accessibility
   ------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }

a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 18px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: #17202f; padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Reading progress bar */
.progress {
  position: fixed; inset-block-start: 0; inset-inline: 0; height: 3px;
  background: transparent; z-index: 120; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width .12s linear;
}

/* Telugu text set in the book's own typeface.
   The weight is stated explicitly: these spans often sit inside <h1>/<h3>,
   and an inherited bold would silently swap in the wrong physical font. */
.t, .tb {
  font-family: "AKK Telugu", serif;
  font-feature-settings: normal;
  font-synthesis: none;
  letter-spacing: 0;
}
.t  { font-weight: 400; }
.tb { font-weight: 700; }
.lat { font-family: var(--serif); font-weight: 400; font-style: normal; }
.lat.b { font-weight: 700; }
.lat.i { font-style: italic; }

/* -------------------------------------------------------------------------
   4. Header / navigation / breadcrumb
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  color: #f2f5fa;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07), var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; gap: 12px; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-mark {
  font-weight: 800; letter-spacing: .06em; font-size: 15px;
  border: 2px solid var(--gold); color: var(--gold-soft);
  padding: 4px 7px; border-radius: 6px; flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 13.5px; font-weight: 700; }
.brand-text small { font-size: 11px; color: #a9b7cd; }

.site-nav { display: none; margin-inline-start: auto; gap: 4px; }
.site-nav a {
  color: #dbe4f1; text-decoration: none; padding: 8px 11px; border-radius: 6px;
  font-size: 14px; white-space: nowrap;
}
.site-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.site-nav a.current { background: rgba(200, 149, 47, .22); color: #fff; }

.header-tools { margin-inline-start: auto; display: flex; gap: 6px; }
.site-nav.open ~ .header-tools { margin-inline-start: 0; }

.icon-btn {
  background: rgba(255, 255, 255, .08); color: inherit;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px; padding: 7px 10px; cursor: pointer;
  font: inherit; font-size: 15px; line-height: 1;
}
.icon-btn:hover { background: rgba(255, 255, 255, .18); }
.menu-btn { display: inline-block; }

@media (min-width: 900px) {
  .menu-btn { display: none; }
  .site-nav { display: flex; }
  .header-tools { margin-inline-start: 8px; }
}
@media (max-width: 899px) {
  .site-nav {
    display: none; position: absolute; inset-inline: 0; top: var(--header-h);
    background: var(--navy-2); flex-direction: column; padding: 8px;
    box-shadow: var(--shadow-md);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
}

.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--rule); font-size: 13.5px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 9px 0; }
.breadcrumb li + li::before { content: "›"; color: var(--ink-faint); margin-inline-end: 6px; }
.breadcrumb li[aria-current] { color: var(--ink-soft); }

/* -------------------------------------------------------------------------
   5. Landing page
   ------------------------------------------------------------------------- */
.hero { display: grid; gap: 26px; padding: 30px 0 10px; }
@media (min-width: 820px) { .hero { grid-template-columns: 300px 1fr; gap: 40px; align-items: start; } }

.hero-cover img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md);
  border: 1px solid var(--rule); background: var(--bg-card);
}
.eyebrow {
  margin: 0 0 6px; text-transform: uppercase; letter-spacing: .1em;
  font-size: 11.5px; font-weight: 700; color: var(--gold);
}
.hero h1 { margin: 0 0 6px; line-height: 1.15; display: flex; flex-direction: column; gap: 4px; }
.hero-te { font-size: clamp(30px, 6vw, 46px); }
.hero-en { font-size: clamp(15px, 2.4vw, 19px); color: var(--ink-soft); font-weight: 600; font-family: var(--sans); }
.hero-sub { font-size: clamp(19px, 3vw, 26px); margin: 0 0 16px; color: var(--gold); }
.hero-desc { max-width: var(--measure); color: var(--ink-soft); }

.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; }
.facts > div {
  background: var(--bg-soft); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 8px 14px; min-width: 116px;
}
.facts dt { font-size: 11.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 2px 0 0; font-size: 21px; font-weight: 700; }

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.btn {
  display: inline-block; padding: 11px 18px; border-radius: 999px;
  border: 1.5px solid var(--rule); color: var(--ink); background: var(--bg-card);
  text-decoration: none; font-weight: 600; font-size: 15px;
}
.btn:hover { background: var(--bg-soft); color: var(--link-hover); }
.btn-primary {
  background: var(--accent-bg); color: var(--accent-fg); border-color: var(--accent-brd);
}
.btn-primary:hover { filter: brightness(1.12); color: var(--accent-fg); }
.btn-ghost { border-style: dashed; }

.resume-note {
  margin-top: 14px; padding: 10px 14px; border-inline-start: 4px solid var(--gold);
  background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: 14.5px;
}

.section { padding: 34px 0; border-top: 1px solid var(--rule); }
.section h2 { font-size: clamp(19px, 3vw, 25px); margin: 0 0 18px; }

.toc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .toc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .toc-grid { grid-template-columns: repeat(3, 1fr); } }
.toc-card a {
  display: flex; gap: 12px; align-items: center; height: 100%;
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 13px 15px; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
}
.toc-card a:hover { border-color: var(--gold); transform: translateY(-1px); }
.toc-n {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-bg); color: var(--accent-fg); display: grid; place-items: center;
  font-weight: 700; font-size: 15px;
}
.toc-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.toc-head { font-size: 19px; line-height: 1.3; }
.toc-meta { font-size: 12.5px; color: var(--ink-faint); font-family: var(--sans); }

.feature-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--bg-soft); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 16px 18px;
}
.feature h3 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

.updates, .related { margin: 0; padding-inline-start: 20px; color: var(--ink-soft); }
.updates li, .related li { margin-bottom: 8px; }
.updates time { font-weight: 700; color: var(--ink); }

/* -------------------------------------------------------------------------
   6. Contents & first-line index
   ------------------------------------------------------------------------- */
.reading { padding: 24px 0 48px; }
.reading h1 { font-size: clamp(23px, 4vw, 32px); margin: 0 0 8px; }
.lede { color: var(--ink-soft); max-width: var(--measure); }

.toc-section { padding: 16px 0; border-top: 1px solid var(--rule); }
.toc-section h2 { font-size: 20px; margin: 0 0 4px; }
.toc-section h2 a { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; }
.toc-section h2 a:hover .t { color: var(--link); }
.hymn-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.hymn-chips a {
  display: inline-block; min-width: 38px; text-align: center;
  padding: 4px 8px; border: 1px solid var(--rule); border-radius: 6px;
  background: var(--bg-soft); text-decoration: none; font-size: 13.5px; color: var(--ink);
}
.hymn-chips a:hover { background: var(--gold); color: #17202f; border-color: var(--gold); }

.firstlines {
  columns: 1; column-gap: 34px;
  font-size: calc(17px * var(--reader-scale));
}
@media (min-width: 900px) { .firstlines { columns: 2; } }
.idx-entry { margin: 0 0 2px; line-height: 1.85; break-inside: avoid; }

/* -------------------------------------------------------------------------
   7. Chapter reading view
   ------------------------------------------------------------------------- */
.chapter-layout { display: block; }
@media (min-width: 1040px) {
  .chapter-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; align-items: start; }
}

.side-toc {
  position: sticky; top: calc(var(--header-h) + 12px);
  background: var(--bg-soft); border: 1px solid var(--rule); border-radius: var(--radius);
  margin: 20px 0; padding: 12px 14px; max-height: calc(100vh - var(--header-h) - 40px);
  display: flex; flex-direction: column;
}
.side-toc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.side-toc-head h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0; color: var(--ink-faint); }
.side-toc .icon-btn { background: transparent; border-color: var(--rule); color: var(--ink); }
.side-toc-list {
  list-style: none; margin: 10px 0 0; padding: 0 4px 0 0; overflow-y: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 4px;
}
.side-toc-list[hidden] { display: none; }
.side-toc-list a {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  padding: 5px 2px; border-radius: 6px; text-decoration: none;
  color: var(--ink); background: var(--bg-card); border: 1px solid var(--rule);
  font-size: 13px;
}
.side-toc-list a i { font-style: normal; font-size: 10.5px; color: var(--ink-faint); }
.side-toc-list a:hover { border-color: var(--gold); }
.side-toc-list a.active { background: var(--gold); border-color: var(--gold); color: #17202f; }
.side-toc-list a.active i { color: #3d3212; }

.reader-tools {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 10px 0; margin-bottom: 8px; border-bottom: 1px solid var(--rule);
}
.reader-tools .icon-btn { background: var(--bg-soft); border-color: var(--rule); color: var(--ink); }
.rt-label { font-size: 12.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .05em; }
.rt-time { margin-inline-start: auto; font-size: 13px; color: var(--ink-faint); }

.chapter-h1 { display: flex; flex-direction: column; gap: 2px; margin: 12px 0 2px; }
.chapter-kicker {
  font-size: 12px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold); font-weight: 700; font-family: var(--sans);
}
.chapter-h1 .t { font-size: clamp(22px, 4vw, 30px); }
.chapter-meta { color: var(--ink-faint); font-size: 13.5px; margin: 0 0 18px; }

.book-text {
  font-size: calc(17px * var(--reader-scale));
  max-width: 46rem;
}
.book-text p { margin: 0 0 2px; line-height: 1.95; overflow-wrap: break-word; }
.book-text .t, .book-text .tb { font-size: 1em; }
.book-text .lg { font-size: 1.22em; }
.book-text .xl { font-size: 1.45em; }
.book-text .md { font-size: 1.08em; }
.book-text .sm { font-size: .82em; }
.book-text sup.sup { font-size: .58em; vertical-align: super; line-height: 0; color: var(--ink-soft); }

.pagemark {
  display: flex; align-items: center; gap: 10px;
  margin: 26px 0 12px; color: var(--ink-faint); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .12em;
}
.pagemark::before, .pagemark::after {
  content: ""; height: 1px; background: var(--rule); flex: 1;
}
.pagemark span {
  border: 1px solid var(--rule); border-radius: 999px; padding: 1px 9px;
  background: var(--bg-soft);
}

.hymn { margin: 26px 0 30px; scroll-margin-top: calc(var(--header-h) + 20px); }
.hymn-head {
  display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px;
  padding-bottom: 6px; border-bottom: 2px solid var(--rule);
}
.hymn-no {
  flex: none; font-family: var(--sans); font-weight: 800; font-size: 1.15em;
  background: var(--accent-bg); color: var(--accent-fg);
  border-radius: 8px; padding: 2px 10px; line-height: 1.4;
}
.hymn-title { font-size: 1.16em; overflow-wrap: anywhere; }
.hymn-head .anchor {
  margin-inline-start: auto; text-decoration: none; color: var(--ink-faint);
  opacity: 0; font-size: .8em; font-family: var(--sans);
}
.hymn:hover .anchor, .anchor:focus { opacity: 1; }
.hymn:target .hymn-head { background: linear-gradient(transparent 60%, var(--mark) 60%); }

.ln.meta { color: var(--ink-soft); margin-bottom: 6px; }
.attrib { text-align: right; color: var(--ink-soft); margin: 4px 0 10px; }
.fn {
  font-size: .8em; color: var(--ink-soft); line-height: 1.7; margin: 0;
}
.hymn .fn:first-of-type { margin-top: 10px; padding-top: 8px; border-top: 1px dotted var(--rule); }

mark, .hl {
  background: var(--mark); color: inherit; padding: 0 1px; border-radius: 2px;
}

.pager {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--rule);
}

/* -------------------------------------------------------------------------
   8. Search overlay & Telugu keypad
   ------------------------------------------------------------------------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 150; background: rgba(9, 15, 28, .55);
  display: flex; align-items: flex-start; justify-content: center; padding: 8vh 16px 16px;
  backdrop-filter: blur(2px);
}
.search-overlay[hidden] { display: none; }
.search-box {
  width: min(720px, 100%); background: var(--bg-card); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden; border: 1px solid var(--rule);
  display: flex; flex-direction: column; max-height: 82vh;
}
.search-row { display: flex; gap: 8px; padding: 12px; border-bottom: 1px solid var(--rule); }
#search-input {
  flex: 1; font: inherit; font-size: 17px; padding: 10px 12px;
  border: 1px solid var(--rule); border-radius: 8px;
  background: var(--bg); color: var(--ink);
}
.search-row .icon-btn { background: var(--bg-soft); border-color: var(--rule); color: var(--ink); }
.search-hint { padding: 8px 14px; font-size: 13px; color: var(--ink-faint); border-bottom: 1px solid var(--rule); }
.kb-toggle {
  margin-inline-start: 8px; font: inherit; font-size: 12.5px; cursor: pointer;
  background: var(--bg-soft); border: 1px solid var(--rule); color: var(--ink);
  border-radius: 999px; padding: 3px 10px;
}
.keypad {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 10px 14px;
  border-bottom: 1px solid var(--rule); max-height: 30vh; overflow-y: auto;
}
.keypad[hidden] { display: none; }
.keypad button {
  font-family: "AKK Telugu", serif; font-size: 20px; line-height: 1;
  min-width: 40px; padding: 6px 8px; cursor: pointer;
  background: var(--bg-soft); border: 1px solid var(--rule); color: var(--ink);
  border-radius: 6px;
}
.keypad button:hover { background: var(--gold); color: #17202f; }
.keypad button.util { font-family: var(--sans); font-size: 13px; }

.search-results { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.search-results li a {
  display: flex; gap: 10px; align-items: baseline; padding: 9px 11px;
  border-radius: 8px; text-decoration: none; color: inherit;
}
.search-results li a:hover, .search-results li a.sel { background: var(--bg-soft); }
.search-results .rn {
  flex: none; font-weight: 700; font-family: var(--sans); font-size: 13px;
  background: var(--accent-bg); color: var(--accent-fg); border-radius: 6px; padding: 1px 8px;
}
.search-results .rt { font-family: "AKK Telugu", serif; font-size: 18px; min-width: 0; }
.search-results .rp { margin-inline-start: auto; font-size: 12px; color: var(--ink-faint); flex: none; }
.search-empty { padding: 20px 14px; color: var(--ink-faint); font-size: 14.5px; }

/* -------------------------------------------------------------------------
   9. Footer & floating controls
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy); color: #cbd6e6; margin-top: 40px;
  padding: 26px 0; font-size: 14px;
}
.site-footer a { color: #dfe8f6; }
.foot-links { margin: 0 0 8px; }
.tagline { margin: 0 0 6px; color: #9db0cb; font-size: 13px; }
.copyright { margin: 0; color: #8fa3c0; font-size: 13px; }

.to-top {
  position: fixed; inset-inline-end: 16px; inset-block-end: 16px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--accent-bg); color: var(--accent-fg);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 19px; box-shadow: var(--shadow-md);
}
.to-top[hidden] { display: none; }

/* -------------------------------------------------------------------------
   10. Print
   ------------------------------------------------------------------------- */
@media print {
  .site-header, .breadcrumb, .side-toc, .reader-tools, .pager,
  .to-top, .progress, .search-overlay, .site-footer .foot-links { display: none !important; }
  body { font-size: 12pt; }
  .book-text { max-width: none; }
  .hymn { break-inside: avoid-page; }
}
