/* Daily Readings Bible reader (after theme 3.54.16; Dennis approved Preview 1 on 2026-10-24 at 11:04 UTC, thread "Read the Bible on
   Daily Readings"). The preview's ".rd" rules as approved, for the native <dialog id="drBible" class="egw-rd"> that
   inc/daily-readings/bible-reader.php prints at the end of the Daily Readings page. Loaded on that template only.
   The dialog sits outside the page's .egw-kit, so only the kit's tokens reach it (egw-kit: --page, --ink, --line, --btn ...); every
   class is rd-* so no site rule touches it. The reader's own options (serif font, Sepia, the six selection colours) are the Ephesus
   Bible's, carried over as they are (outside R15's palette, asked 24 Oct). Centred sheet (R53), full screen at 640px and below; the
   page behind is locked on <html> (R40, html.egw-rd-lock). */

.egw-rd {
  --rd-sheet: #FFFFFF; --rd-bar: #F7F7F5; --rd-ok-tint: rgba(21,112,56,.10);
  --rd-shadow: 0 30px 80px -20px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.08);
  --rd-scrim: rgba(26,26,26,.46);
  --rd-hl-yellow: rgba(251,191,36,.22); --rd-hl-green: rgba(74,222,128,.22); --rd-hl-blue: rgba(96,165,250,.22); --rd-hl-pink: rgba(251,113,133,.22); --rd-hl-purple: rgba(167,139,250,.22); --rd-hl-orange: rgba(251,146,60,.22); --rd-hl-none: rgba(0,0,0,.07);
  --rd-sw-yellow: #FBBF24; --rd-sw-green: #4ADE80; --rd-sw-blue: #60A5FA; --rd-sw-pink: #FB7185; --rd-sw-purple: #A78BFA; --rd-sw-orange: #FB923C;
  --rd-serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --rd-size: 19px; --rd-font: var(--rd-serif); --rd-align: left;
  --rd-gutter: clamp(16px, 4vw, 48px);
}
/* the site's dark theme, while the reader's own Display mode is not chosen */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .egw-rd:not([data-mode]) {
    --rd-sheet: #2E2D29; --rd-bar: #282723; --rd-ok-tint: rgba(129,201,149,.14);
    --rd-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 2px 8px rgba(0,0,0,.3); --rd-scrim: rgba(0,0,0,.62);
    --rd-hl-yellow: rgba(251,191,36,.16); --rd-hl-green: rgba(74,222,128,.15); --rd-hl-blue: rgba(96,165,250,.18); --rd-hl-pink: rgba(251,113,133,.16); --rd-hl-purple: rgba(167,139,250,.18); --rd-hl-orange: rgba(251,146,60,.16); --rd-hl-none: rgba(255,255,255,.09);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] .egw-rd:not([data-mode]) {
  --rd-sheet: #2E2D29; --rd-bar: #282723; --rd-ok-tint: rgba(129,201,149,.14);
  --rd-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 2px 8px rgba(0,0,0,.3); --rd-scrim: rgba(0,0,0,.62);
  --rd-hl-yellow: rgba(251,191,36,.16); --rd-hl-green: rgba(74,222,128,.15); --rd-hl-blue: rgba(96,165,250,.18); --rd-hl-pink: rgba(251,113,133,.16); --rd-hl-purple: rgba(167,139,250,.18); --rd-hl-orange: rgba(251,146,60,.16); --rd-hl-none: rgba(255,255,255,.09);
  color-scheme: dark;
}
/* the reader's own Display mode (Ephesus Bible: Light, Dark, Sepia) overrides the site theme inside the reader only */
.egw-rd[data-mode="light"] { --rd-sheet: #FFFFFF; --rd-bar: #F7F7F5; --page: #FFFFFF; --well: #EBEBE9; --card: #EEEEEC; --ink: #1A1A1A; --ink-2: #525252; --muted: #656564; --line: #EBEBEB; --line-strong: #DBDBDA; --btn: #000000; --btn-fg: #FFFFFF; --ok: #157038; --rd-ok-tint: rgba(21,112,56,.10); --tint-1: rgba(17,17,17,.045); --rd-hl-yellow: rgba(251,191,36,.22); --rd-hl-green: rgba(74,222,128,.22); --rd-hl-blue: rgba(96,165,250,.22); --rd-hl-pink: rgba(251,113,133,.22); --rd-hl-purple: rgba(167,139,250,.22); --rd-hl-orange: rgba(251,146,60,.22); --rd-hl-none: rgba(0,0,0,.07); color-scheme: light; }
.egw-rd[data-mode="dark"] { --rd-sheet: #2E2D29; --rd-bar: #282723; --page: #403F3A; --well: #232220; --card: #282723; --ink: #F8F8F6; --ink-2: #C6C3B9; --muted: #B2AFA5; --line: rgba(248,248,246,.12); --line-strong: rgba(248,248,246,.22); --btn: #F8F8F6; --btn-fg: #26251F; --ok: #81C995; --rd-ok-tint: rgba(129,201,149,.14); --tint-1: rgba(255,255,255,.06); --rd-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 2px 8px rgba(0,0,0,.3); --rd-hl-yellow: rgba(251,191,36,.16); --rd-hl-green: rgba(74,222,128,.15); --rd-hl-blue: rgba(96,165,250,.18); --rd-hl-pink: rgba(251,113,133,.16); --rd-hl-purple: rgba(167,139,250,.18); --rd-hl-orange: rgba(251,146,60,.16); --rd-hl-none: rgba(255,255,255,.09); color-scheme: dark; }
.egw-rd[data-mode="sepia"] { --rd-sheet: #F4ECD8; --rd-bar: #EDE3CB; --page: #F4ECD8; --well: #E6DABE; --card: #EADFC5; --ink: #3E3428; --ink-2: #5C4F3E; --muted: #6B5D4A; --line: rgba(62,52,40,.12); --line-strong: rgba(62,52,40,.22); --btn: #3E3428; --btn-fg: #F4ECD8; --ok: #2F6B3A; --rd-ok-tint: rgba(47,107,58,.12); --tint-1: rgba(62,52,40,.06); --rd-hl-yellow: rgba(180,140,60,.2); --rd-hl-green: rgba(60,160,80,.17); --rd-hl-blue: rgba(70,130,200,.17); --rd-hl-pink: rgba(200,90,100,.17); --rd-hl-purple: rgba(130,100,200,.17); --rd-hl-orange: rgba(200,120,50,.17); --rd-hl-none: rgba(62,52,40,.08); color-scheme: light; }

/* R40: the page behind is locked on <html> while the reader is open (clip after hidden keeps the kit's sideways clip, R42) */
html.egw-rd-lock { overflow: hidden; overflow: clip; }

/* ---------- the dialog ---------- */
.egw-rd { border: 0; padding: 0; margin: auto; background: var(--rd-sheet); color: var(--ink); border-radius: var(--r-xl, 28px); box-shadow: var(--rd-shadow);
  width: min(800px, calc(100vw - 2 * var(--rd-gutter))); height: min(90vh, 940px); max-width: none; max-height: calc(100dvh - 32px); overflow: hidden;
  display: flex; flex-direction: column; position: fixed; font-family: var(--font); font-size: var(--t-base, 1rem); line-height: 1.6; -webkit-font-smoothing: antialiased; text-align: left; }
.egw-rd:not([open]) { display: none; }
.egw-rd *, .egw-rd *::before, .egw-rd *::after { box-sizing: border-box; }
.egw-rd button, .egw-rd input { font: inherit; color: inherit; letter-spacing: normal; text-transform: none; box-shadow: none; }
.egw-rd :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.egw-rd::backdrop { background: rgba(26,26,26,.46); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .egw-rd::backdrop { background: rgba(0,0,0,.62); } }
:root[data-theme="dark"] .egw-rd::backdrop { background: rgba(0,0,0,.62); }
.egw-rd[open] { animation: rdIn .55s var(--ease-out, cubic-bezier(.16,1,.3,1)); }
.egw-rd[open]::backdrop { animation: rdFadeIn .35s ease-out; }
.egw-rd.is-closing { animation: rdOut .22s ease-in forwards; }
.egw-rd.is-closing::backdrop { animation: rdFadeOut .22s ease-in forwards; }
@keyframes rdIn { from { clip-path: inset(6% 5% round 28px); opacity: 0; } to { clip-path: inset(0 round 28px); opacity: 1; } }
@keyframes rdOut { to { clip-path: inset(4% 3% round 28px); opacity: 0; } }
@keyframes rdFadeIn { from { opacity: 0; } }
@keyframes rdFadeOut { to { opacity: 0; } }

.egw-rd .rd-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.egw-rd .rd-micro { font-size: var(--t-micro, .66rem); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.egw-rd .rd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.egw-rd .rd-seg { display: inline-flex; background: var(--well); border-radius: var(--r-pill, 999px); padding: 3px; gap: 2px; }
.egw-rd .rd-seg button { border: 0; background: transparent; border-radius: var(--r-pill, 999px); padding: 6px 12px; font-size: var(--t-xs, .75rem); font-weight: 600; color: var(--ink-2); cursor: pointer; min-height: 32px; transition: background .2s, color .2s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.egw-rd .rd-seg button[aria-pressed="true"] { background: var(--btn); color: var(--btn-fg); }

.egw-rd .rd-head { background: var(--rd-bar); border-bottom: 1px solid var(--line); padding: var(--s-4, 16px) var(--s-5, 24px) 0; position: relative; flex: none; z-index: 3; }
.egw-rd .rd-bar { display: flex; align-items: center; gap: var(--s-3, 12px); min-height: 44px; }
.egw-rd .rd-bar > .rd-micro { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.egw-rd .rd-tools { display: flex; gap: var(--s-2, 8px); flex: none; }
.egw-rd .rd-ib { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--rd-sheet); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .15s, color .15s, border-color .15s; padding: 0; margin: 0; }
.egw-rd .rd-ib:hover { background: var(--tint-1); }
.egw-rd .rd-ib[aria-expanded="true"], .egw-rd .rd-ib[aria-pressed="true"] { background: var(--btn); color: var(--btn-fg); border-color: var(--btn); }
.egw-rd .rd-aa { font-size: .95rem; font-weight: 600; letter-spacing: -.02em; }
.egw-rd .rd-aa-s { font-size: .8rem; }
.egw-rd .rd-aa-l { font-size: 1.15rem; }
.egw-rd .rd-sn { font-family: var(--rd-serif); font-size: 1rem; line-height: 1; letter-spacing: .02em; }
.egw-rd .rd-ib.rd-wide { width: auto; border-radius: var(--r-pill, 999px); padding: 0 var(--s-4, 16px) 0 var(--s-3, 12px); display: inline-flex; gap: 6px; font-size: var(--t-sm, .875rem); font-weight: 600; }
.egw-rd .rd-tabs { display: flex; gap: var(--s-1, 4px); margin-top: var(--s-3, 12px); flex-wrap: wrap; }
.egw-rd .rd-tabs[hidden] { display: none; }
.egw-rd .rd-tab { border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; gap: var(--s-2, 8px); padding: var(--s-2, 8px) var(--s-3, 12px) var(--s-3, 12px); min-height: 44px; font-size: var(--t-sm, .875rem); font-weight: 500; color: var(--ink-2); position: relative; border-radius: var(--r-sm, 10px) var(--r-sm, 10px) 0 0; margin: 0; }
.egw-rd .rd-tab:hover { color: var(--ink); background: var(--tint-1); }
.egw-rd .rd-tab .rd-tn { font-variant-numeric: tabular-nums; font-size: var(--t-xs, .75rem); color: var(--muted); font-weight: 600; }
.egw-rd .rd-tab[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.egw-rd .rd-tab[aria-selected="true"]::after { content: ""; position: absolute; left: var(--s-3, 12px); right: var(--s-3, 12px); bottom: -1px; height: 2px; background: var(--ink); border-radius: 2px; }
.egw-rd .rd-tab .rd-dot { width: 16px; height: 16px; border-radius: 50%; display: none; place-items: center; background: var(--ok); color: var(--rd-bar); }
.egw-rd .rd-tab .rd-dot .rd-i { width: 11px; height: 11px; stroke-width: 2.6; }
.egw-rd .rd-tab.is-done .rd-dot { display: grid; }
.egw-rd .rd-tab.is-done .rd-tn { display: none; }
.egw-rd .rd-head.is-solo { padding-bottom: var(--s-3, 12px); }
.egw-rd .rd-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.egw-rd .rd-prog i { display: block; height: 100%; width: 0; background: var(--ink); opacity: .35; }

/* search with the Ephesus Bible's scopes */
.egw-rd .rd-find { display: grid; gap: var(--s-2, 8px); padding: var(--s-3, 12px) 0; }
.egw-rd .rd-find[hidden] { display: none; }
.egw-rd .rd-find-in { display: flex; align-items: center; gap: var(--s-2, 8px); background: var(--rd-sheet); border: 1px solid var(--line-strong); border-radius: var(--r-pill, 999px); padding: 0 var(--s-2, 8px) 0 var(--s-4, 16px); min-height: 48px; margin: 0; }
.egw-rd .rd-find-in:focus-within { border-color: var(--ink); }
.egw-rd .rd-find-in input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: var(--t-base, 1rem); min-height: 44px; padding: 0; margin: 0; -webkit-appearance: none; appearance: none; }
.egw-rd .rd-find-in .rd-i { color: var(--muted); }
.egw-rd .rd-find .rd-seg { align-self: start; flex-wrap: wrap; }
.egw-rd .rd-results { position: absolute; left: var(--s-5, 24px); right: var(--s-5, 24px); top: 100%; margin-top: 8px; background: var(--rd-sheet); border: 1px solid var(--line-strong); border-radius: var(--r-lg, 20px); box-shadow: var(--rd-shadow); max-height: min(52vh, 440px); overflow: auto; padding: var(--s-2, 8px); z-index: 6; }
.egw-rd .rd-results[hidden] { display: none; }
.egw-rd .rd-results p { margin: 0; padding: var(--s-3, 12px); font-size: var(--t-sm, .875rem); color: var(--ink-2); }
.egw-rd .rd-results .rd-btn { margin: var(--s-2, 8px) var(--s-3, 12px) var(--s-3, 12px); min-height: 44px; }
.egw-rd .rd-hit { display: grid; gap: 2px; width: 100%; text-align: left; border: 0; background: transparent; border-radius: var(--r-md, 14px); padding: var(--s-3, 12px); cursor: pointer; font-size: var(--t-sm, .875rem); line-height: 1.5; margin: 0; }
.egw-rd .rd-hit:hover, .egw-rd .rd-hit:focus-visible { background: var(--tint-1); }
.egw-rd .rd-hit b { font-size: var(--t-xs, .75rem); font-weight: 700; letter-spacing: .04em; }
.egw-rd .rd-hit mark { background: var(--rd-hl-yellow); color: inherit; border-radius: 3px; padding: 0 1px; }

.egw-rd .rd-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; outline: none; position: relative; }
.egw-rd .rd-col { max-width: 66ch; margin: 0 auto; padding: var(--s-7, 48px) var(--s-5, 24px) var(--s-8, 64px); }
.egw-rd .rd-title { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4, 16px); flex-wrap: wrap; margin-bottom: var(--s-5, 24px); }
.egw-rd .rd-h { margin: 0; font-size: var(--t-h2, clamp(1.9rem, 3.6vw, 2.8rem)); font-weight: 400; letter-spacing: -.02em; line-height: 1.06; text-wrap: balance; color: var(--ink); font-family: var(--font); }
.egw-rd .rd-goto { border: 0; background: transparent; padding: 0 var(--s-2, 8px) 0 0; margin: 0; cursor: pointer; display: inline-flex; align-items: center; gap: var(--s-2, 8px); border-radius: var(--r-sm, 10px); text-align: left; font-size: inherit !important; font-weight: inherit; letter-spacing: inherit; line-height: inherit; }
.egw-rd .rd-goto .rd-i { width: 20px; height: 20px; color: var(--muted); transition: rotate .25s var(--ease-out, ease-out); }
.egw-rd .rd-goto[aria-expanded="true"] .rd-i { rotate: 180deg; }
.egw-rd .rd-goto:hover .rd-i { color: var(--ink); }
.egw-rd .rd-anch { position: relative; }
.egw-rd .rd-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 var(--s-3, 12px) 0 var(--s-4, 16px); border-radius: var(--r-pill, 999px); border: 1px solid var(--line-strong); background: var(--rd-sheet); font-size: var(--t-sm, .875rem); font-weight: 600; cursor: pointer; margin: 0; }
.egw-rd .rd-chip:hover { background: var(--tint-1); }
.egw-rd .rd-chip .rd-i { width: 14px; height: 14px; transition: rotate .25s var(--ease-out, ease-out); }
.egw-rd .rd-chip[aria-expanded="true"] .rd-i { rotate: 180deg; }

.egw-rd .rd-pop { position: absolute; top: calc(100% + 8px); right: 0; z-index: 7; background: var(--rd-sheet); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r-lg, 20px); box-shadow: var(--rd-shadow); padding: var(--s-2, 8px); min-width: 300px; max-width: calc(100vw - 48px); max-height: min(64vh, 560px); overflow: auto; animation: rdPopIn .22s var(--ease-out, ease-out); text-align: left; font-size: var(--t-base, 1rem); letter-spacing: normal; font-weight: 400; line-height: 1.6; }
.egw-rd .rd-pop.rd-pop-left { right: auto; left: 0; }
.egw-rd .rd-pop[hidden] { display: none; }
@keyframes rdPopIn { from { opacity: 0; clip-path: inset(0 0 30% 0 round 20px); } to { opacity: 1; clip-path: inset(0 round 20px); } }
.egw-rd .rd-pop .rd-micro { display: block; padding: var(--s-3, 12px) var(--s-3, 12px) var(--s-1, 4px); }
.egw-rd .rd-opt { display: flex; align-items: center; gap: var(--s-3, 12px); width: 100%; text-align: left; border: 0; background: transparent; border-radius: var(--r-md, 14px); padding: var(--s-2, 8px) var(--s-3, 12px); min-height: 48px; cursor: pointer; margin: 0; }
.egw-rd .rd-opt:hover:not(:disabled) { background: var(--tint-1); }
.egw-rd .rd-opt:disabled { cursor: default; opacity: .55; }
.egw-rd .rd-opt b { font-size: var(--t-xs, .75rem); font-weight: 700; min-width: 48px; letter-spacing: .04em; }
.egw-rd .rd-opt span { display: grid; font-size: var(--t-sm, .875rem); line-height: 1.3; flex: 1; }
.egw-rd .rd-opt small { color: var(--muted); font-size: var(--t-xs, .75rem); }
.egw-rd .rd-opt .rd-tag { display: inline; font-size: var(--t-micro, .66rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-strong); border-radius: var(--r-pill, 999px); padding: 2px 7px; color: var(--ink-2); flex: none; }
.egw-rd .rd-opt[aria-checked="true"] { background: var(--btn); color: var(--btn-fg); }
.egw-rd .rd-opt[aria-checked="true"] small, .egw-rd .rd-opt[aria-checked="true"] .rd-tag { color: inherit; opacity: .85; border-color: currentColor; }
.egw-rd .rd-pop-note { font-size: var(--t-xs, .75rem); color: var(--muted); padding: var(--s-2, 8px) var(--s-3, 12px); margin: 0; max-width: 320px; }
.egw-rd .rd-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 4px; padding: var(--s-1, 4px) var(--s-2, 8px) var(--s-2, 8px); width: min(320px, calc(100vw - 64px)); }
.egw-rd .rd-vgrid button { min-height: 44px; border: 0; border-radius: var(--r-sm, 10px); background: var(--tint-1); cursor: pointer; font-variant-numeric: tabular-nums; font-size: var(--t-sm, .875rem); font-weight: 600; margin: 0; padding: 0; }
.egw-rd .rd-vgrid button:hover { background: var(--btn); color: var(--btn-fg); }

/* settings: the Ephesus Bible's Display Settings, one panel */
.egw-rd .rd-setp { width: 360px; }
.egw-rd .rd-set { padding: var(--s-2, 8px) var(--s-3, 12px) var(--s-3, 12px); display: grid; gap: var(--s-2, 8px); }
.egw-rd .rd-set + .rd-set { border-top: 1px solid var(--line); }
.egw-rd .rd-set .rd-micro { padding: 0; display: inline; }
.egw-rd .rd-set .rd-seg { display: flex; }
.egw-rd .rd-set .rd-seg button { flex: 1; font-size: var(--t-sm, .875rem); min-height: 40px; padding: 0 6px; }
.egw-rd .rd-set .rd-seg .rd-i { width: 17px; height: 17px; }
.egw-rd .rd-sizes { display: flex; align-items: center; gap: var(--s-3, 12px); }
.egw-rd .rd-sizes .rd-ib { width: 40px; height: 40px; flex: none; }
.egw-rd .rd-sizes .rd-ib:disabled { opacity: .45; cursor: default; }
.egw-rd .rd-set output { min-width: 4ch; text-align: right; font-size: var(--t-sm, .875rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.egw-rd .rd-range { flex: 1; min-width: 0; accent-color: var(--ink); height: 28px; margin: 0; padding: 0; background: transparent; border: 0; }
.egw-rd .rd-set-h { display: flex; justify-content: space-between; align-items: center; }
.egw-rd .rd-swatches { display: flex; gap: var(--s-2, 8px); flex-wrap: wrap; }
.egw-rd .rd-sw { width: 36px; height: 36px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; display: grid; place-items: center; padding: 0; margin: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.egw-rd .rd-sw[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--rd-sheet); }
.egw-rd .rd-sw.rd-sw-none { background: var(--rd-sheet); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--muted); }
.egw-rd .rd-sw.rd-sw-none .rd-i { width: 16px; height: 16px; }
.egw-rd .rd-fontopt { font-family: var(--rd-serif); }
.egw-rd .rd-reset { border: 0; background: transparent; font-size: var(--t-sm, .875rem); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 40px; padding: 0 var(--s-2, 8px); margin: 0; justify-self: start; }

/* the text */
.egw-rd .rd-strong-note { display: flex; align-items: center; gap: var(--s-3, 12px); flex-wrap: wrap; background: var(--well); border-radius: var(--r-md, 14px); padding: var(--s-3, 12px) var(--s-4, 16px); margin-bottom: var(--s-5, 24px); font-size: var(--t-sm, .875rem); color: var(--ink-2); }
.egw-rd .rd-strong-note[hidden] { display: none; }
.egw-rd .rd-strong-note button { border: 0; background: var(--btn); color: var(--btn-fg); border-radius: var(--r-pill, 999px); min-height: 36px; padding: 0 var(--s-4, 16px); font-size: var(--t-sm, .875rem); font-weight: 600; cursor: pointer; margin: 0; }
.egw-rd .rd-tr-note { margin: 0 0 var(--s-5, 24px); font-size: var(--t-sm, .875rem); color: var(--ink-2); background: var(--well); border-radius: var(--r-md, 14px); padding: var(--s-3, 12px) var(--s-4, 16px); }
.egw-rd .rd-text { font-family: var(--rd-font); font-size: var(--rd-size); line-height: 1.85; text-align: var(--rd-align); transition: font-size .2s var(--ease-out, ease-out); color: var(--ink); }
.egw-rd .rd-text.is-sans { line-height: 1.8; }
.egw-rd .rd-text p { margin: 0 0 1.05em; font: inherit; color: inherit; }
.egw-rd .rd-text[dir="rtl"] { font-size: calc(var(--rd-size) * 1.25); line-height: 2.2; }
.egw-rd .rd-v { border-radius: 5px; transition: background .2s; cursor: pointer; -webkit-tap-highlight-color: transparent; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.egw-rd .rd-v:hover { background: var(--tint-1); }
.egw-rd .rd-v.is-sel { background: var(--rd-hl, var(--rd-hl-yellow)); box-shadow: 0 0 0 2px var(--rd-hl, var(--rd-hl-yellow)); }
.egw-rd .rd-v.is-flash, .egw-rd .rd-vt.is-flash { animation: rdFlash 1.6s ease-out; }
@keyframes rdFlash { 0%, 30% { background: var(--rd-hl-yellow); } 100% { background: transparent; } }
.egw-rd .rd-vn { font-family: var(--font); font-size: .6em; font-weight: 700; color: var(--muted); vertical-align: .5em; line-height: 0; margin-right: .3em; font-variant-numeric: tabular-nums; }
.egw-rd .rd-text em { font-style: italic; }
.egw-rd .rd-text.is-lines p { display: grid; grid-template-columns: 2.6ch 1fr; column-gap: .6em; margin-bottom: .5em; }
.egw-rd .rd-text.is-lines .rd-vn { vertical-align: baseline; font-size: .66em; line-height: inherit; text-align: right; padding-top: .3em; margin: 0; }
.egw-rd .rd-text.is-lines .rd-v { display: contents; }
.egw-rd .rd-text.is-lines .rd-vt { border-radius: 5px; transition: background .2s; }
.egw-rd .rd-text.is-lines .rd-v:hover > .rd-vt { background: var(--tint-1); }
.egw-rd .rd-text.is-lines .rd-v.is-sel > .rd-vt { background: var(--rd-hl, var(--rd-hl-yellow)); box-shadow: 0 0 0 2px var(--rd-hl, var(--rd-hl-yellow)); }
.egw-rd .rd-text.is-nonum .rd-vn { display: none; }
.egw-rd .rd-text.is-lines.is-nonum p { grid-template-columns: 1fr; }
.egw-rd .rd-lead-num { float: left; font-family: var(--font); font-size: 3.5em; line-height: .82; font-weight: 300; margin: .06em .14em 0 0; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.egw-rd .rd-text[dir="rtl"] .rd-lead-num { float: right; margin: .06em 0 0 .14em; }
.egw-rd .rd-text.is-lines .rd-lead-num { display: none; }
.egw-rd .rd-text.is-al-center .rd-lead-num, .egw-rd .rd-text.is-al-right .rd-lead-num { float: none; display: block; margin: 0 0 .2em; }
.egw-rd .rd-sg { border: 0; background: transparent; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: .22em; text-decoration-color: var(--ink-2); display: inline; min-height: 0; line-height: inherit; }
.egw-rd .rd-sg:hover { background: var(--tint-1); border-radius: 3px; }

.egw-rd .rd-end { margin-top: var(--s-7, 48px); text-align: center; display: grid; justify-items: center; gap: var(--s-4, 16px); }
.egw-rd .rd-eyebrow { display: flex; align-items: center; gap: var(--s-4, 16px); width: 100%; justify-content: center; }
.egw-rd .rd-eyebrow::before, .egw-rd .rd-eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.egw-rd .rd-end-acts { display: flex; gap: var(--s-3, 12px); flex-wrap: wrap; justify-content: center; }
.egw-rd .rd-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2, 8px); min-height: 52px; padding: 0 var(--s-5, 24px); border-radius: var(--r-pill, 999px); border: 1px solid var(--btn); background: var(--btn); color: var(--btn-fg); font-size: var(--t-base, 1rem); font-weight: 600; cursor: pointer; transition: translate .2s var(--ease-out, ease-out), background .2s, color .2s, border-color .2s; margin: 0; text-decoration: none; }
.egw-rd .rd-btn:hover { translate: 0 -2px; }
.egw-rd .rd-btn:active { translate: 0 0; }
.egw-rd .rd-btn .rd-i { width: 18px; height: 18px; }
.egw-rd .rd-btn.rd-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.egw-rd .rd-btn.rd-ghost:hover { background: var(--tint-1); }
.egw-rd .rd-btn.is-done { background: var(--rd-ok-tint); color: var(--ok); border-color: var(--ok); }
.egw-rd .rd-fin { font-size: var(--t-lead, 1.125rem); margin: 0; max-width: 40ch; color: var(--ink-2); }
.egw-rd .rd-attr { margin: var(--s-7, 48px) auto 0; max-width: none; width: 100%; font-size: var(--t-xs, .75rem); color: var(--muted); text-align: center; } /* 3.54.19: a site-wide p max-width had left it off-centre */
.egw-rd .rd-sk { display: grid; gap: 14px; }
.egw-rd .rd-sk i { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--well) 0 40%, var(--card) 50%, var(--well) 60% 100%); background-size: 300% 100%; animation: rdSh 1.4s linear infinite; }
.egw-rd .rd-sk i:nth-child(4n+2) { width: 92%; } .egw-rd .rd-sk i:nth-child(4n+3) { width: 97%; } .egw-rd .rd-sk i:nth-child(4n) { width: 64%; margin-bottom: 12px; }
@keyframes rdSh { from { background-position: 100% 0; } to { background-position: 0 0; } }
.egw-rd .rd-err { text-align: center; display: grid; justify-items: center; gap: var(--s-4, 16px); padding: var(--s-7, 48px) 0; }
.egw-rd .rd-err-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--well); display: grid; place-items: center; }
.egw-rd .rd-err p { margin: 0; max-width: 42ch; color: var(--ink-2); }
.egw-rd .rd-err strong { color: var(--ink); font-weight: 600; font-size: var(--t-h3, 1.25rem); }

.egw-rd .rd-foot { flex: none; border-top: 1px solid var(--line); background: var(--rd-bar); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--s-3, 12px); padding: var(--s-3, 12px) var(--s-5, 24px); padding-bottom: max(var(--s-3, 12px), env(safe-area-inset-bottom, 0px)); }
.egw-rd .rd-nav { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 var(--s-3, 12px); border-radius: var(--r-pill, 999px); border: 0; background: transparent; font-size: var(--t-sm, .875rem); font-weight: 600; cursor: pointer; min-width: 0; max-width: 100%; justify-self: start; margin: 0; }
.egw-rd .rd-nav.rd-next { justify-self: end; }
.egw-rd .rd-nav span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.egw-rd .rd-nav:hover:not(:disabled) { background: var(--tint-1); }
.egw-rd .rd-nav:disabled { visibility: hidden; }
.egw-rd .rd-nav .rd-i { width: 16px; height: 16px; transition: translate .3s var(--ease-spring, ease-out); }
.egw-rd .rd-nav.rd-next:hover .rd-i { translate: 3px 0; } .egw-rd .rd-nav.rd-prev:hover .rd-i { translate: -3px 0; }
.egw-rd .rd-eb { display: inline-flex; align-items: center; gap: var(--s-2, 8px); font-size: var(--t-sm, .875rem); font-weight: 600; color: var(--ink); text-decoration: none; min-height: 44px; padding: 0 var(--s-3, 12px); border-radius: var(--r-pill, 999px); min-width: 0; }
.egw-rd .rd-eb:hover { background: var(--tint-1); color: var(--ink); }
.egw-rd .rd-eb .rd-i { width: 15px; height: 15px; }
.egw-rd .rd-eb.is-soon { color: var(--ink-2); cursor: default; }
.egw-rd .rd-eb.is-soon:hover { background: transparent; color: var(--ink-2); }
.egw-rd .rd-pill { font-size: var(--t-micro, .66rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--r-pill, 999px); padding: 4px 9px; background: var(--well); color: var(--ink-2); white-space: nowrap; }

.egw-rd .rd-vbar { position: absolute; left: 50%; bottom: 84px; translate: -50% 0; display: flex; align-items: center; gap: var(--s-1, 4px); background: var(--btn); color: var(--btn-fg); border-radius: var(--r-pill, 999px); padding: 6px; box-shadow: var(--rd-shadow); z-index: 4; max-width: calc(100% - 32px); }
.egw-rd .rd-vbar[hidden] { display: none; }
.egw-rd .rd-vbar b { font-size: var(--t-sm, .875rem); font-weight: 600; padding: 0 var(--s-3, 12px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.egw-rd .rd-vbar button { border: 0; background: transparent; color: inherit; min-height: 40px; padding: 0 var(--s-3, 12px); border-radius: var(--r-pill, 999px); font-size: var(--t-sm, .875rem); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; flex: none; margin: 0; }
.egw-rd .rd-vbar button:hover { background: rgba(127,127,127,.24); }
.egw-rd .rd-vbar .rd-i { width: 16px; height: 16px; }
.egw-rd .rd-vbar .rd-hint { font-size: var(--t-xs, .75rem); opacity: .8; padding: 0 var(--s-2, 8px); white-space: nowrap; }
.egw-rd .rd-vbar .rd-hint[hidden] { display: none; }

/* Strong's entry: a detail panel, centred in the reader (R53) */
.egw-rd .rd-sp-scrim { position: absolute; inset: 0; background: var(--rd-scrim); z-index: 8; display: grid; place-items: center; padding: var(--s-4, 16px); animation: rdFadeIn .2s ease-out; }
.egw-rd .rd-sp-scrim[hidden] { display: none; }
.egw-rd .rd-sp { background: var(--rd-sheet); color: var(--ink); border-radius: var(--r-xl, 28px); box-shadow: var(--rd-shadow); width: min(460px, 100%); max-height: 100%; overflow: auto; padding: var(--s-5, 24px); display: grid; gap: var(--s-3, 12px); position: relative; animation: rdPopIn .25s var(--ease-out, ease-out); }
.egw-rd .rd-sp > .rd-ib { position: absolute; top: var(--s-3, 12px); right: var(--s-3, 12px); }
.egw-rd .rd-sp-num { font-size: var(--t-sm, .875rem); font-weight: 700; letter-spacing: .06em; padding-right: 52px; }
.egw-rd .rd-sp-word { font-size: 2.2rem; line-height: 1.2; font-family: var(--rd-serif); margin: 0; text-align: left; }
.egw-rd .rd-sp-word[dir="rtl"] { text-align: right; }
.egw-rd .rd-sp-tr { margin: 0; color: var(--ink-2); font-size: var(--t-sm, .875rem); }
.egw-rd .rd-sp-def { margin: 0; font-size: var(--t-base, 1rem); line-height: 1.6; white-space: pre-line; }
.egw-rd .rd-sp-parts { margin: 0; display: grid; gap: 0; } /* 3.54.20: a Strong's entry in labelled parts */
.egw-rd .rd-sp-part { display: grid; gap: var(--s-1, 4px); padding: var(--s-3, 12px) 0; border-top: 1px solid var(--line); }
.egw-rd .rd-sp-part dt { margin: 0; }
.egw-rd .rd-sp-part dd { margin: 0; font-size: var(--t-base, 1rem); line-height: 1.6; }
.egw-rd .rd-sp-part dd p { margin: 0; max-width: none; }
.egw-rd .rd-sp-part ol { margin: var(--s-2, 8px) 0 0; padding-left: 1.4em; display: grid; gap: var(--s-1, 4px); }
.egw-rd .rd-sp-part li { display: list-item; list-style-type: decimal; padding-left: .2em; } /* the kit's list reset hid the numbers */
.egw-rd .rd-sp-part li::marker { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .9em; }
.egw-rd .rd-sp-part li.rd-sub { margin-left: 1.2em; list-style-type: "– "; counter-increment: list-item 0; color: var(--ink-2); }
.egw-rd .rd-sp-use { margin: 0; font-size: var(--t-sm, .875rem); color: var(--ink-2); border-top: 1px solid var(--line); padding-top: var(--s-3, 12px); }
.egw-rd .rd-sp .rd-sk { padding-top: var(--s-6, 32px); }
.egw-rd .rd-sp .rd-err { padding: var(--s-5, 24px) 0 0; }
.egw-rd .rd-notice { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom, 0px)); translate: -50% 0; background: var(--btn); color: var(--btn-fg); border-radius: var(--r-pill, 999px); padding: 12px 20px; font-size: var(--t-sm, .875rem); font-weight: 600; box-shadow: var(--rd-shadow); z-index: 20; max-width: calc(100vw - 32px); text-align: center; }
.egw-rd .rd-notice[hidden] { display: none; }

/* phones: the reader fills the screen (R53); the day's chapters shown by number */
@media (max-width: 640px) {
  .egw-rd { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; inset: 0; }
  .egw-rd[open] { animation-name: rdInPhone; }
  @keyframes rdInPhone { from { clip-path: inset(4% 0 0 0); opacity: 0; } to { clip-path: inset(0); opacity: 1; } }
  .egw-rd .rd-head { padding: max(var(--s-3, 12px), env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
  .egw-rd .rd-head.is-solo { padding-bottom: var(--s-3, 12px); }
  .egw-rd .rd-tools { gap: 6px; }
  .egw-rd .rd-tab .rd-tl { display: none; }
  .egw-rd .rd-tab { padding-inline: var(--s-4, 16px); }
  .egw-rd .rd-tab .rd-tn { font-size: var(--t-sm, .875rem); }
  .egw-rd .rd-results { left: var(--s-4, 16px); right: var(--s-4, 16px); }
  .egw-rd .rd-col { padding: var(--s-6, 32px) max(20px, env(safe-area-inset-left, 0px)) var(--s-8, 64px); }
  .egw-rd .rd-title { flex-direction: column; align-items: center; text-align: center; }
  .egw-rd .rd-foot { padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px)); }
  .egw-rd .rd-eb .rd-lbl { display: none; }
  .egw-rd .rd-nav { padding: 0 var(--s-2, 8px); }
  .egw-rd .rd-ib.rd-wide .rd-sl { display: none; }
  .egw-rd .rd-ib.rd-wide { width: 44px; padding: 0; justify-content: center; }
  .egw-rd.is-popopen .rd-vbar { display: none; }
  .egw-rd .rd-pop, .egw-rd .rd-pop.rd-pop-left { position: fixed; left: 16px; right: 16px; top: auto; bottom: max(16px, env(safe-area-inset-bottom, 0px)); min-width: 0; max-width: none; width: auto; max-height: 70dvh; }
  .egw-rd .rd-vgrid { width: auto; }
  .egw-rd .rd-vbar { bottom: 76px; }
  .egw-rd .rd-vbar .rd-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .egw-rd, .egw-rd::backdrop, .egw-rd *, .egw-rd *::before, .egw-rd *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
